Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- F9::
- SendInput *a!
- Sleep, 500
- SendInput I
- Sleep, 500
- SendInput n
- return
- from googlevoice import Voice,util
- voice = Voice()
- voice.login('YOUR USERNAME', 'YOUR PASSWORD')
- while True :
- folder = voice.search('is:unread')
- if folder.totalSize <= 0 :
- break
- util.print_(folder.totalSize)
- for message in folder.messages:
- util.print_(message)
- message.mark(1)
- +F9::
- Loop, X
- {
- SendInput *a!
- Sleep, 500
- SendInput I
- Sleep, 2000
- }
- return
- activate application "Google Chrome"
- repeat X times
- tell application "System Events"
- key code 28 using {shift down}
- keystroke "a"
- keystroke "I"
- delay (1)
- end tell
- end repeat
- +F9::
- Loop {
- Sleep, 500
- SendInput *a!
- Sleep, 500
- SendInput I
- Sleep, 500
- SendInput n
- }
- return
- +F9::
- SendInput *a!
- Sleep, 500
- SendInput I
- Sleep, 500
- SendInput e
- return
- activate application "YOUR_BROWSER_NAME"
- repeat x times
- tell application "System Events"
- key code 28 using {shift down}
- keystroke "a"
- key code 34 using {shift down}
- key code 124
- delay (1)
- end tell
- end repeat
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement