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: Andy Wylie <email@hidden>
- Date: Sun, 15 Dec 2002 18:38:04 +1300
on Sat, 14 Dec 2002 22:43:00 EST email@hidden wrote:
>
Alright! I'm 99% there, thanks to you guys educating me on creator-types,
>
GetSource commands, and raw event calls. The below script WORKS on Mac OS
>
8.5, 8.6, 9.0, 9.1, and 9.2... Except Mac OS 8.1. That's what I'm
>
struggling with now:
>
>
>
set creaType to "MSIE"
>
tell application "Finder" to open application file id creaType
>
tell application "Finder" to set appOfMine to (the name of the first process
>
whose creator type is "MSIE")
>
tell application appOfMine
>
set theSource to +event MSIESORC;
>
display dialog "source = " & theSource
>
end tell
>
>
>
After trying a bunch of Applescripts, it appears that Mac OS 8.1 doesn't have
>
an "open location" command either (i.e. tell application "Finder" to open
>
location "http://www.apple.com") I've got Internet Explorer 5.1 installed
>
on Mac OS 8.1 and it runs, so the browser is definetely there.
>
how about IE's OpenURL
>
>
I'm also finding that Mac OS 8.1 will not run the above script because it
>
doesn't appear to be able to find Internet Explorer by creator type "MSIE".
>
It almost seems like Mac OS 8.1 just never acknowledges IE's existance. I'm
>
not sure what to do about that.
>
try...
tell application "Finder" to set appOfMine to (open application file id
"MSIE")'s name
_____________________________ Andy
_______________________________________________
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.