SHARE
TWEET

Untitled

a guest Jun 15th, 2019 57 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. F9::
  2.    SendInput *a!
  3.    Sleep, 500
  4.    SendInput I
  5.    Sleep, 500
  6.    SendInput n
  7. return
  8.      
  9. from googlevoice import Voice,util
  10.  
  11. voice = Voice()
  12. voice.login('YOUR USERNAME', 'YOUR PASSWORD')
  13.  
  14. while True :
  15.     folder = voice.search('is:unread')
  16.     if folder.totalSize <= 0 :
  17.         break
  18.     util.print_(folder.totalSize)
  19.     for message in folder.messages:
  20.         util.print_(message)
  21.         message.mark(1)
  22.      
  23. +F9::
  24. Loop, X
  25.   {
  26.    SendInput *a!
  27.    Sleep, 500
  28.    SendInput I
  29.    Sleep, 2000
  30.   }
  31. return
  32.      
  33. activate application "Google Chrome"
  34. repeat X times
  35.     tell application "System Events"
  36.         key code 28 using {shift down}
  37.         keystroke "a"
  38.         keystroke "I"
  39.         delay (1)
  40.     end tell
  41. end repeat
  42.      
  43. +F9::
  44.  
  45. Loop {
  46.   Sleep, 500
  47.   SendInput *a!
  48.   Sleep, 500
  49.   SendInput I
  50.   Sleep, 500
  51.   SendInput n
  52. }
  53.  
  54. return
  55.      
  56. +F9::
  57.    SendInput *a!
  58.    Sleep, 500
  59.    SendInput I
  60. Sleep, 500
  61. SendInput e
  62. return
  63.      
  64. activate application "YOUR_BROWSER_NAME"
  65. repeat x times
  66. tell application "System Events"
  67.         key code 28 using {shift down}
  68.         keystroke "a"
  69.         key code 34 using {shift down}
  70.         key code 124
  71.         delay (1)
  72.     end tell
  73. end repeat
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top