Re: another Safari question
Re: another Safari question
- Subject: Re: another Safari question
- From: Bill White <email@hidden>
- Date: Mon, 06 Mar 2006 18:38:46 -0500
- Thread-topic: another Safari question
Title: Re: another Safari question
On 3/6/06 5:13 PM, Bill Planey <email@hidden> wrote:
> I want to be able to program the opening of multiple URLs simultaneously in
> tabs (not in individual pages). How to tell Safari to open a URL within a tab
> rather than as a new window?
This works for me, with Safari set as my default browser:
---
property someURLs : {"http://abc.com", "http://nbc.com", "http://cbs.com"}
tell application "Safari" to activate
tell application "System Events"
tell process "Safari"
repeat with aURL in someURLs
click menu item "New Tab" of menu "File" of menu bar 1
open location aURL
end repeat
end tell
end tell
---
HTH,
Bill
_______________________________________________
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