Re: Stuck trying to use creatorid to control IE with OS 8.1
Re: Stuck trying to use creatorid to control IE with OS 8.1
- Subject: Re: Stuck trying to use creatorid to control IE with OS 8.1
- From: Paul Berkowitz <email@hidden>
- Date: Sun, 15 Dec 2002 14:21:00 -0800
On 12/15/02 1:05 PM, "email@hidden" <email@hidden> wrote:
>
> Have you tried Andy's suggestion of getting the Finder to open it?
>
>
>
> tell application "Finder"
>
> set explorerPath to (application file id "MSIE") as string
>
> open alias explorerPath -- launches IE
>
> end tell
>
>
>
> tell application explorerPath
>
> <<event MSIESORC>>
>
> end tell
>
>
>
>
>
> Does that not work either? Once it's running, the script will always find
>
> it, I'm pretty sure.
>
>
>
So far, this seems to be working. I am VERY appreciative of the advice you
>
guys have been giving me. My only wish with the below script is that IE
>
launch and tries to go to it's own homepage, and spins a couple of cycles
>
before going to the URL that I've put forth. It's not a big deal if there
>
isn't a way around this problem. There's no way to do the "open alias" and
>
pass the URL as a parameter at the same time is there?
>
>
tell application "Finder"
>
set explorerPath to (application file id "MSIE") as string
>
open alias explorerPath -- launches IE
>
end tell
>
>
tell application explorerPath
>
+event WWW!OURL; "http://www.apple.com"
>
set htmlsource to +event MSIESORC;
>
return htmlsource
>
end tell
No, that's the limitation you'll have to put up with if you can't get
<<event GURLGURL>> to work in OS 8.1. But maybe you can get hold of an older
'open location' pre-Standard Additions osax and ship it with your script.
--
Paul Berkowitz
_______________________________________________
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.