Finding the 'Applications' folder on a Mac
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.
> 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>
> Klaus Major
> 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:
More information about the use-livecode