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.

Safari question


Post Reply New Thread Subscribe

 
Thread Tools
Thundermoon1994

 
Thundermoon1994's Avatar
 
Member Since: Dec 26, 2006
Location: Kent, OH
Posts: 495
Thundermoon1994 will become famous soon enough
Mac Specs: 15" MacBook Pro w/ 2.4 GHz C2D, 4 GB RAM, 250 GB

Thundermoon1994 is offline
Is there any way to set Safari to periodically autorefresh? For instance, say you've got a page that you're expecting to be updated and you want to see it as soon as possible. Is it possible to make Safari automatically refresh, say, every minute?

-- Unibody 15.4" MacBook Pro (2.4 GHz Core2Duo Penryn, 250 GB HD, 4 GB RAM, nVidia GeForce 9400M & GeForce 9600M GT w/ 256 MB) --
-- 8 GB iPhone 3G -- 30 GB iPod Video --
QUOTE Thanks
goobimama

 
Member Since: Apr 28, 2006
Posts: 2,542
goobimama is a jewel in the roughgoobimama is a jewel in the rough
Mac Specs: iMac Core Duo 20", iBook G4, iPhone 8GB :)

goobimama is offline
Code:
on idle
-- the applescript only calls attention to itself when the idle period is up

tell application "Safari"
--confirms your browser is the front application
		activate
	end tell
	
	tell application "System Events"
		tell process "Safari"
			keystroke "r" using {command down}
		end tell
	end tell
--sets the idle period in seconds. i.e. safari will refresh every 10 seconds
	return 10
end idle
This applescript refreshes like you said... edit the seconds and such to whatever you want it to be.
QUOTE Thanks
Thundermoon1994

 
Thundermoon1994's Avatar
 
Member Since: Dec 26, 2006
Location: Kent, OH
Posts: 495
Thundermoon1994 will become famous soon enough
Mac Specs: 15" MacBook Pro w/ 2.4 GHz C2D, 4 GB RAM, 250 GB

Thundermoon1994 is offline
Sorry if this is a stupid question, but what do I do with that? LOL

-- Unibody 15.4" MacBook Pro (2.4 GHz Core2Duo Penryn, 250 GB HD, 4 GB RAM, nVidia GeForce 9400M & GeForce 9600M GT w/ 256 MB) --
-- 8 GB iPhone 3G -- 30 GB iPod Video --
QUOTE Thanks
Thundermoon1994

 
Thundermoon1994's Avatar
 
Member Since: Dec 26, 2006
Location: Kent, OH
Posts: 495
Thundermoon1994 will become famous soon enough
Mac Specs: 15" MacBook Pro w/ 2.4 GHz C2D, 4 GB RAM, 250 GB

Thundermoon1994 is offline
Anyone?

-- Unibody 15.4" MacBook Pro (2.4 GHz Core2Duo Penryn, 250 GB HD, 4 GB RAM, nVidia GeForce 9400M & GeForce 9600M GT w/ 256 MB) --
-- 8 GB iPhone 3G -- 30 GB iPod Video --
QUOTE Thanks
goobimama

 
Member Since: Apr 28, 2006
Posts: 2,542
goobimama is a jewel in the roughgoobimama is a jewel in the rough
Mac Specs: iMac Core Duo 20", iBook G4, iPhone 8GB :)

goobimama is offline
Oops! Forgot about you.

Here's how you use applescript.

Open your script editor (Applications > Applescript > Script Editor). If it's not there you might have to install it from the OS X install DVD disc 2.

Paste that stuff in there. Edit those seconds to whatever you want them to be.

Then save it as a script (.SCPT) and run it. I'm not sure if you can run this one independently or from within safari, but I will check and let you know. I don't have my mac at the moment so...
QUOTE Thanks

Post Reply New Thread Subscribe


« Wake from Synergy | No Sound in Logic Express!! »
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
Thread Starter
Forum
Replies
Last Post
Safari Question - Sidebar and bookmarks petenet Switcher Hangout 5 06-26-2009 04:15 PM
Safari Question Mac-4-Me OS X - Apps and Games 3 08-01-2007 02:26 PM
Safari question DV'sG4 OS X - Apps and Games 5 12-05-2006 08:06 PM
Stoopid Safari question howitzer OS X - Apps and Games 3 12-27-2005 11:19 AM
Safari Question MMMII Switcher Hangout 9 11-19-2005 09:26 AM

All times are GMT -4. The time now is 06:50 PM.

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

Welcome to Mac-Forums.com

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?