Finding the 'Applications' folder on a Mac

Mark m.schonewille at economy-x-talk.com
Thu Jan 4 17:54:35 EST 2018


On Mac OS X, user applications are in

"~"& $USER & "/Applications"

Global applications are in

/Applications

On Windows, you use specialfolderpath(38).

My book has an appendix with all folder numbers and names.


Op 04-01-18 om 23:46 schreef Graham Samuel via use-livecode:
> It looks to me that specialFolderPath doesn’t give a way of finding the /Applications folder on a Mac (or presumably the equivalent on a PC). If one is running a standalone which has been placed in the Applications folder, then it is possible to start with specialFolderPath(“engine”) and work back to the Applications directory, but I suspect this is fraught with uncertainty. Has anyone a solution?
>
> Graham




More information about the use-livecode mailing list