Results 1 to 5 of 5

Thread: Safari question

  1. #1

    Thundermoon1994's Avatar
    Member Since
    Dec 26, 2006
    Location
    Kent, OH
    Posts
    495
    Specs:
    15" MacBook Pro w/ 2.4 GHz C2D, 4 GB RAM, 250 GB
    Safari question
    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 --

  2. #2


    Member Since
    Apr 28, 2006
    Posts
    2,542
    Specs:
    iMac Core Duo 20", iBook G4, iPhone 8GB :)
    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.

  3. #3

    Thundermoon1994's Avatar
    Member Since
    Dec 26, 2006
    Location
    Kent, OH
    Posts
    495
    Specs:
    15" MacBook Pro w/ 2.4 GHz C2D, 4 GB RAM, 250 GB
    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 --

  4. #4

    Thundermoon1994's Avatar
    Member Since
    Dec 26, 2006
    Location
    Kent, OH
    Posts
    495
    Specs:
    15" MacBook Pro w/ 2.4 GHz C2D, 4 GB RAM, 250 GB
    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 --

  5. #5


    Member Since
    Apr 28, 2006
    Posts
    2,542
    Specs:
    iMac Core Duo 20", iBook G4, iPhone 8GB :)
    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...

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Safari Question
    By Gwaredd in forum OS X - Operating System
    Replies: 6
    Last Post: 06-23-2013, 05:37 PM
  2. Safari Question
    By Jackatkc in forum Switcher Hangout
    Replies: 4
    Last Post: 09-07-2007, 12:29 PM
  3. Safari Question
    By Mac-4-Me in forum OS X - Apps and Games
    Replies: 3
    Last Post: 08-01-2007, 02:26 PM
  4. Safari question
    By DV'sG4 in forum OS X - Apps and Games
    Replies: 5
    Last Post: 12-05-2006, 08:06 PM
  5. Safari Question
    By MMMII in forum Switcher Hangout
    Replies: 9
    Last Post: 11-19-2005, 09:26 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •