Finder's open event has properties? Cal?
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