Finally...something Mac OS X Finder does better
Finally...something Mac OS X Finder does better
- Subject: Finally...something Mac OS X Finder does better
- From: John W Baxter <email@hidden>
- Date: Sun, 26 Aug 2001 13:05:14 -0700
Finally, I noticed something which the Mac OS X 10.0.4 Finder does better
than "classic" Finder in scripting terms.
tell application "Finder"
reveal file "some file" of desktop
end tell
Mac OS 9 and before highlights the file...the icon is quite likely behind
one or several windows.
Mac OS X Finder opens a new window on the relevant "Desktop" folder (the
current user's) and highlights the icon in that window. Or just highlights
if the window was already open. Add an activate, and you can actually see
what is revealed.
--John
--
John Baxter email@hidden Port Ludlow, WA, USA