ai-screenshooter 1.0.2__tar.gz → 1.2.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {ai_screenshooter-1.0.2 → ai_screenshooter-1.2.0}/PKG-INFO +1 -1
- ai_screenshooter-1.2.0/README.md +8 -0
- {ai_screenshooter-1.0.2 → ai_screenshooter-1.2.0}/ai_screenshooter.egg-info/PKG-INFO +1 -1
- {ai_screenshooter-1.0.2 → ai_screenshooter-1.2.0}/ai_screenshot.py +5 -5
- {ai_screenshooter-1.0.2 → ai_screenshooter-1.2.0}/setup.py +1 -1
- ai_screenshooter-1.0.2/README.md +0 -2
- {ai_screenshooter-1.0.2 → ai_screenshooter-1.2.0}/ai_screenshooter.egg-info/SOURCES.txt +0 -0
- {ai_screenshooter-1.0.2 → ai_screenshooter-1.2.0}/ai_screenshooter.egg-info/dependency_links.txt +0 -0
- {ai_screenshooter-1.0.2 → ai_screenshooter-1.2.0}/ai_screenshooter.egg-info/entry_points.txt +0 -0
- {ai_screenshooter-1.0.2 → ai_screenshooter-1.2.0}/ai_screenshooter.egg-info/requires.txt +0 -0
- {ai_screenshooter-1.0.2 → ai_screenshooter-1.2.0}/ai_screenshooter.egg-info/top_level.txt +0 -0
- {ai_screenshooter-1.0.2 → ai_screenshooter-1.2.0}/setup.cfg +0 -0
|
@@ -56,7 +56,7 @@ def get_active_window_bounds():
|
|
|
56
56
|
|
|
57
57
|
def capture_screenshot():
|
|
58
58
|
global screenshot_list
|
|
59
|
-
screenshot_path = f"
|
|
59
|
+
screenshot_path = f"screenshot_{len(screenshot_list)}.jpg"
|
|
60
60
|
|
|
61
61
|
try:
|
|
62
62
|
print("🔄 Refreshing active window detection...")
|
|
@@ -115,10 +115,10 @@ def send_screenshots():
|
|
|
115
115
|
def on_press(key):
|
|
116
116
|
current_keys.add(key)
|
|
117
117
|
try:
|
|
118
|
-
if key == keyboard.
|
|
118
|
+
if key == keyboard.Key.down and keyboard.Key.esc in current_keys:
|
|
119
119
|
print("📸 Capturing screenshot...")
|
|
120
120
|
capture_screenshot()
|
|
121
|
-
elif key == keyboard.
|
|
121
|
+
elif key == keyboard.Key.up and keyboard.Key.esc in current_keys:
|
|
122
122
|
print("📤 Sending all screenshots...")
|
|
123
123
|
send_screenshots()
|
|
124
124
|
except AttributeError:
|
|
@@ -140,8 +140,8 @@ def main():
|
|
|
140
140
|
API_TOKEN = args.token
|
|
141
141
|
|
|
142
142
|
print("📸 AI Screenshot CLI started.")
|
|
143
|
-
print("✅ Press
|
|
144
|
-
print("✅ Press
|
|
143
|
+
print("✅ Press ESC + C to capture a screenshot.")
|
|
144
|
+
print("✅ Press ESC + V to send all stored screenshots.")
|
|
145
145
|
print("📌 Running... (Press Ctrl + C to exit)")
|
|
146
146
|
|
|
147
147
|
# Listen for hotkeys using pynput
|
ai_screenshooter-1.0.2/README.md
DELETED
|
File without changes
|
{ai_screenshooter-1.0.2 → ai_screenshooter-1.2.0}/ai_screenshooter.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
{ai_screenshooter-1.0.2 → ai_screenshooter-1.2.0}/ai_screenshooter.egg-info/entry_points.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|