• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Safari Reload
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Safari Reload


  • Subject: Safari Reload
  • From: Gil Dawson <email@hidden>
  • Date: Wed, 25 Jan 2012 19:14:17 -0800

Anyone know how to tell a Safari document to reload?

This works...

tell application "System Events" to tell process "Safari" to keystroke "r" using {command down}

...but it requires making the window frontmost and the tab visible.   In a particular application I'm writing for a client, it would be nice not to have to do that.

--Gil

MacOS 10.6.8
Safari 5.1.2
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Safari Reload
      • From: Joe <email@hidden>
  • Prev by Date: Re: Formatting Text When Responding to a Dialog Box
  • Next by Date: Re: Safari Reload
  • Previous by thread: RE: Formatting Text When Responding to a Dialog Box
  • Next by thread: Re: Safari Reload
  • Index(es):
    • Date
    • Thread