• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: OS X: determine if Explorer is Classic
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: OS X: determine if Explorer is Classic
      • From: Michael Turner <email@hidden>
References: 
 >OS X: determine if Explorer is Classic (From: Michael Turner <email@hidden>)

  • Prev by Date: Re: applescript and graphics programs
  • Next by Date: Re: List Question: Can someone explain this to me?
  • Previous by thread: OS X: determine if Explorer is Classic
  • Next by thread: Re: OS X: determine if Explorer is Classic
  • Index(es):
    • Date
    • Thread