Re: Can I script Safari?
Re: Can I script Safari?
- Subject: Re: Can I script Safari?
- From: Andrew Oliver <email@hidden>
- Date: Thu, 13 Mar 2003 10:33:28 -0800
Assuming Safari is your default browser in System preferences, you can:
open location "
http://www.apple.com/"
This uses the standard System addition to use your preferred browser.
If you want to specifically target Safari:
tell application "Safari"
set URL of document 1 to "
http://www.apple.com/"
end tell
Andrew
:)
On 3/13/03 9:55 AM, "Emmanuel" <email@hidden> wrote:
>
I just want to have it open a standard URL.
>
>
Emmanuel
>
_______________________________________________
>
applescript-users mailing list | email@hidden
>
Help/Unsubscribe/Archives:
>
http://www.lists.apple.com/mailman/listinfo/applescript-users
>
Do not post admin requests to the list. They will be ignored.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.