Re: Safari Scripting Help (Newbie help)
Re: Safari Scripting Help (Newbie help)
- Subject: Re: Safari Scripting Help (Newbie help)
- From: "J. Stewart" <email@hidden>
- Date: Sat, 29 Dec 2007 07:45:13 -0500
On 12/28/07 at 9:48 AM, Mark J. Reed <email@hidden> spake thusly:
The full script is:
open location target_URL
Not quite. That needs to be in a Safari tell block, yes?
No, it will use whatever is set as the system's default browser.
If that's Safari then it opens in Safari.
If you MUST use Safari then this works -
tell application "Safari"
make new document with properties {URL: target_URL}
end tell
--
A truly wise man never plays leapfrog with a Unicorn.
_______________________________________________
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