| OS X - Apps and Games Discussion of applications and games available for Mac OS X. |
| Post Reply | New Thread | Subscribe |
|
|
Thread Tools |
![]() Member Since: Jul 18, 2009
Posts: 1
![]() |
I need a script for AppleScript that makes Safari load a specified web page once every 30 minutes, in separate windows. I've got this so far:
Code:
open_safari_window("http://www.apple.com")
on open_safari_window(my_url)
tell application "Safari"
repeat with i from 1 to 10
# wake up safari
activate
# make a new window
make new document at end of documents
# set the URL of this new window
tell document i
set URL to my_url
end tell
# sleep 1800 seconds (30 minutes)
delay 1800
end repeat
end tell
end open_safari_window
|
| QUOTE Thanks | |
| Post Reply | New Thread | Subscribe |
| Thread Tools | |
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
|
|||||||
Thread |
Thread Starter |
Forum |
Replies |
Last Post |
| Logic Express and Applescript via GUI Scripting | albertaurus | Music, Audio, and Podcasting | 0 | 04-09-2009 01:13 PM |
| What is the big deal people!!! | Bresine | Switcher Hangout | 14 | 09-23-2008 03:41 AM |
| Why do people buy a Mac to run Windows? | Dman77 | Switcher Hangout | 61 | 08-23-2008 02:13 AM |
| Applescript to solve problem | rafikkipotter | OS X - Apps and Games | 0 | 08-17-2008 10:12 AM |
| What do you think about végétarisme? | setta | Schweb's Lounge | 46 | 04-18-2008 07:43 PM |
All times are GMT -4. The time now is 04:25 AM.
Powered by vBulletin