Mark Wieder wrote:
On 4/23/19 11:25 AM, Richard Gaskin via use-livecode wrote:
Bob Sneidar wrote:

 > NVM I just read further. Preferences is not one I can use for Windows.

The bad news is that, as you've discovered, Windows has no "Preferences" folder per se.

The good news is that it does have a commonly-used place for that sort of thing, and that LC's specialFolderPath function allows passing in OS constants for all sorts of things.

In your case try specialFolderPath(26)

Others are documented here, where Ken Ray took the time to explore as many as he could find on Mac and Windows at the time:

http://www.sonsothunder.com/devres/livecode/tips/file010.htm


Some reason why specialFolderPath("preferences") on Windows doesn't just return the value for specialFolderPath(26)? Yeah... I know... it would be a synonym and we can't have those, but sheesh...

It seems a philosophical problem: though a folder exists for the same purpose, it isn't "Preferences".

I'm with you, though: ease of use > literal linguistic purity.

--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 ____________________________________________________________________
 ambassa...@fourthworld.com                http://www.FourthWorld.com

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to