• 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
Finder's open event has properties? Cal?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Finder's open event has properties? Cal?


  • Subject: Finder's open event has properties? Cal?
  • From: Paul Berkowitz <email@hidden>
  • Date: Sun, 03 Dec 2000 10:58:05 -0800

This is rather odd. Would anyone like to explain how it works?

tell application "Finder" to open application file id "MSIE" with
properties {visible:false}


opens Internet Explorer (or any app) in the background. It's not invisible
(hidden), just in the background, the same as if you wrote

tell application "Internet Explorer" to launch

but is useful, of course, if you're not sure what an app's name will be on a
user's machine.

It doesn't actually depend on the 'application file id' terminology; it also
works with the full path name:

tell application "Finder" to open alias "PB HM Hard
Disk:Internet:Microsoft Internet 5:Internet Explorer 5 Folder:Internet
Explorer" with properties {visible:false}

But what in the world is the Finder command 'open' - an event - doing with
properties, which belong to objects? Is this one of those useful Finder
coercions or facilitations? I think this is Cal territory. Or does someone
else know?

--
Paul Berkowitz


  • Follow-Ups:
    • Re: Finder's open event has properties? Cal?
      • From: Shane Stanley <email@hidden>
  • Prev by Date: Re: ranting about "as item"
  • Next by Date: Re: Finder's open event has properties? Cal?
  • Previous by thread: Re: ranting about "as item"
  • Next by thread: Re: Finder's open event has properties? Cal?
  • Index(es):
    • Date
    • Thread