New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus • Advice and insight from world-class Apple enthusiasts • Exclusive access to members-only contests, giveaways and deals

Join today!

Start a Discussion

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Apps and Games Discussion of applications and games available for Mac OS X.

Need help by people experienced with AppleScript!

Post Reply New Thread Subscribe

Thread Tools

Member Since: Jul 18, 2009
Posts: 1
Frown is on a distinguished road

Frown is offline
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:


on open_safari_window(my_url)
	tell application "Safari"
		repeat with i from 1 to 10
			# wake up safari
			# 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
But it doesn't let me compile it. Anybody got any tips?
QUOTE Thanks

Post Reply New Thread Subscribe

« Map Mac HD | Virtual PC - Or anything similar ? »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Starter
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 08:41 PM.

Powered by vBulletin
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.

Welcome to

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!

(4 digit year)

Already a member?