How open Folders and other do other things but didn't know how to
Andrew Pavey
andrew at spelean.com.au
Thu Jul 18 19:17:28 EDT 2013
I don't go for all that black arts stuff in Applescript.
on MAC OS X there is a hidden file in every folder called .DS_Store
(files starting with a period are hidden by the Finder), so to open a
folder as opposed to opening a file or revealing a file I use this:
Calculate %%LOCATION as con(%%FLDR,".DS_Store")
Send Finder event {Reveal Files (%%LOCATION)}
Andrew Pavey
At 8:52 AM +0100 16/7/13, Mike Matthews wrote:
>Hello All,
>
>In Studio there are a few Finder commands, for Mac of course. Even
>worse though, they appear to be for OS9 and not OSX. So you can't
>do a GetInfo anymore.
>
>What I was looking for was a way to open a folder that had a known
>file and full path in it, i.e., reveal in Finder it is called in
>iPhoto and such like. And then how to do the same in Windows.
>
>I know how to run a file, but how to open the GetInfo/Properties
>window, and open a folder window in both OSX and Windows?
>
>Thanks
>
>Mike
>
>
>
>
>Mike Matthews,
> Managing Director, SQLWorks Software Ltd
>
>Tel: +44 (0)1271 850 550
>
>Email: mike.matthews at sqlworks.co.uk
>
>Web: www.sqlworks.co.uk
>
>SQLWorks replaces Sage, ACT!, Opera, Access, SAP
>_____________________________________________________________
>Manage your list subscriptions at http://lists.omnis-dev.com
More information about the omnisdev-en
mailing list