We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e26aaf3 + c95b605 commit 7acebe3Copy full SHA for 7acebe3
jarvis.py
@@ -10,6 +10,7 @@
10
import wikipedia # ********* to improve wikipedia searching
11
import webbrowser
12
import random
13
+import pyautogui # used to take ss
14
import psutil # used to track resource utilization in the system
15
import subprocess # used to run other programs
16
import speedtest
@@ -316,6 +317,11 @@ def takeCommand(): # takes microphone inout and returns output
316
317
elif 'open spotify' in query:
318
speak("Opening spotify")
319
webbrowser.open("spotify.com")
320
+
321
+ elif 'screenshot' in query:
322
+ sc = pyautogui.screenshot()
323
+ sc.save('pa_ss.png')
324
+ speak("Screenshot taken successfully.")
325
326
elif "translate" in query:
327
translator = googletrans.Translator()
0 commit comments