Re: OS X: determine if Explorer is Classic
Re: OS X: determine if Explorer is Classic
- Subject: Re: OS X: determine if Explorer is Classic
- From: Paul Berkowitz <email@hidden>
- Date: Fri, 14 Jun 2002 08:20:03 -0700
On 6/14/02 6:33 AM, "Michael Turner" <email@hidden> wrote:
>
Is it possible for AS to determine if Internet Explorer is running in
>
Classic vs OS X natively? What I would like to do is use that
>
distinction to determine one of 2 html pages to launch.
>
>
Detecting OS version isn't the issue, the trouble is that Internet
>
Explorer could be running in either mode, and I need to provide
>
instructions that are dependent on which environment the browser is
>
running in. Any ideas?
>
If you know it's running (otherwise put in an error trap):
tell application "Finder"
set ieProcess to item 1 of (get every application process whose name is
"Internet Explorer")
set appFile to application file of ieProcess
if name of appFile ends with ".app" then
set classicVersion to false
else
set classicVersion to true
end if
end tell
--
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.