Re: Newbie scripting question
Re: Newbie scripting question
- Subject: Re: Newbie scripting question
- From: Christopher Stone <email@hidden>
- Date: Mon, 12 Jan 2004 22:40:33 -0600
At 22:45 -0500 01/12/2004, Gary Lists wrought:
You can do all of that more easily like this (using your property/variable
names):
tell application "Internet Explorer"
GetURL target_URL
GetURL target1_URL
GetURL target2_URL
end tell
Now, depending on your browser settings, the window may or may not be
re-used. In my settings for IE, new windows open for each, so I don't have
to create new windows before the next "GetURL" command (or else the window
URL would be replaced with the next one, and so on.)
Internet Explorer's OpenURL event is more flexible. It permits you to
specify the window you send the url to:
Open in new window:
set aUrl to "
http://www.macintouch.com"
tell application "Internet Explorer"
OpenURL aUrl toWindow -0
end tell
Open in front window:
tell application "Internet Explorer"
OpenURL aUrl toWindow -1
end tell
Chris
_______________________________________________
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.