Finding the 'Applications' folder on a Mac

Graham Samuel livfoss at mac.com
Fri Jan 5 06:08:23 EST 2018


Gems indeed! If they always work, I wonder why the mother ship hasn’t incorporated them into the LC Dictionary. Anyway thanks Klaus, and of course thanks Ken Ray.

Graham


> On 4 Jan 2018, at 23:59, Klaus major-k via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> 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
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list