Advertisement
Guest User

Kindle自动翻页

a guest
May 26th, 2019
200
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. set theCount to 0
  2. repeat while (theCount < 100)
  3.     set theCount to theCount + 1
  4.     activate application "Kindle"
  5.     tell application "System Events"
  6.         click at {1355, 443}
  7.     end tell
  8.     set msgcount to 60
  9.     repeat while (msgcount ≥ 0)
  10.         set msg to "" & msgcount
  11.         display notification msg with title "EST"
  12.         delay 1
  13.         set msgcount to msgcount - 1
  14.     end repeat
  15.     log theCount
  16. end repeat
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement