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: email@hidden
- Date: Sun, 15 Dec 2002 16:05:17 -0500
>
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.
>
>
--
>
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.
>
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
_______________________________________________
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.