Finding the 'Applications' folder on a Mac

Klaus major-k klaus at major-k.de
Thu Jan 4 17:59:11 EST 2018


Hi Graham,

> Am 04.01.2018 um 23:46 schrieb Graham Samuel via use-livecode <use-livecode at lists.runrev.com>:
> 
> 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?

...
put specialfolderpath("apps") into tApplicationFolder
...

Found this and more gemns here: <http://www.sonsothunder.com/devres/livecode/tips/file010.htm>

> Graham 

Best

Klaus

--
Klaus Major
http://www.major-k.de
klaus at major-k.de





More information about the use-livecode mailing list