Guest User

Untitled

a guest
Apr 26th, 2018
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. -- Number of tab you want to refesh (leftmost == 1)
  2. set tab_number to 1
  3. -- Length of time in seconds to sleep for
  4. set sleep_time to 2
  5.  
  6. repeat
  7. tell application "Safari"
  8. tell window 1
  9. tell tab tab_number
  10. set URL to URL
  11. end tell
  12. end tell
  13. end tell
  14. delay sleep_time
  15. end repeat
Add Comment
Please, Sign In to add comment