SpecialFolderPath("resources") workaround for Windows

Bob Sneidar bobsneidar at iotecdigital.com
Fri Oct 21 12:13:43 EDT 2016


From the dictionary for SpecialFolderPath:


  *   "resources": In development mode, the current stack's folder. In a standalone, the resources folder where files or folders specified in the Standalone Builder are located.

Since you set this in the standalone builder, create a constant with that path.

Bob S


On Oct 21, 2016, at 09:10 , Bob Sneidar <bobsneidar at iotecdigital.com<mailto:bobsneidar at iotecdigital.com>> wrote:

Isn't the resources path for Windows the path to the mainstack?

Bob S


On Oct 21, 2016, at 09:00 , Graham Samuel <livfoss at mac.com<mailto:livfoss at mac.com><mailto:livfoss at mac.com>> wrote:

In LC 8.1.1, I have just become aware of Bug 18295 - specialFolderPath(“resources”) on Windows standalone doesn’t generate a path at all.

This is a show-stopper for me. Can anyone suggest a workaround which would work for any normal user environment?

TIA

Graham

_______________________________________________
use-livecode mailing list
use-livecode at lists.runrev.com<mailto: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