• 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
Re: How to reload pages in tabs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to reload pages in tabs


  • Subject: Re: How to reload pages in tabs
  • From: Dave Balderstone <email@hidden>
  • Date: Wed, 29 Sep 2004 09:09:01 -0600


On Sep 29, 2004, at 8:29 AM, Stephen Lanza wrote:

I would like to write an applescript to reload a window in Safari with
multiple tabs defined. I do not see any notation in the dictionary relating
to tabbed pages.


Is this possible? It doesn't look like it is. Thanks.


You have to use GUI Scripting to get at tabs in Safari.

ie:

on new_tab()
	tell application "Safari" to activate
	tell application "System Events"
		tell process "Safari"
			click menu item "New Tab" of menu "File" of menu bar 1
		end tell
	end tell
end new_tab

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >How to reload pages in tabs (From: Stephen Lanza <email@hidden>)

  • Prev by Date: How to reload pages in tabs
  • Next by Date: sort order
  • Previous by thread: How to reload pages in tabs
  • Next by thread: sort order
  • Index(es):
    • Date
    • Thread