Re: Open webpage
Re: Open webpage
- Subject: Re: Open webpage
- From: Gary Lists <email@hidden>
- Date: Tue, 01 Jul 2003 14:44:33 -0400
On or about 7/1/03 1:21 PM, Simon Manning wrote:
>
Hi all,
>
>
I am trying to write an extremely simple script but I get the error:
>
"Internet Explorer got an error: Can't make some data into the
>
expected type."
>
>
The script is:
>
>
Tell application "Internet Explorer"
>
Open
>
GetURL "http://monitor.cup.cam.ac.uk/mantis/main_page.php"
>
End tell
Simon,
You want to tell IE to 'activate' not 'open...'
Open usually always takes a direct object. Open what? IE is asking. In the
case of IE, "open" takes an alias list and opens _local_ files from your
drvie.
Just 'activate' and your script works fine.
HTH
--
Gary
MacOS 9.1 / "9 is Fine"
OMM: osa:AS 183 / osa:JS 103 / FM 55 / BB 612 / Smile 188
______________________________________________________________
Please reply directly to the list.
Incoming messages are auto-deleted. (It's anti-spam, that's all.)
_______________________________________________
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.
References: | |
| >Open webpage (From: Simon Manning <email@hidden>) |