Hi Graham,

I ran into this same problem just yesterday. I too found that the 'resources' path was empty in the standalone even though it contained the path to the app stack when viewed in the IDE. So I'm using the filename of the stack as my source for a self-made 'resources' folder in the standalone.

Phil Davis


On 10/21/16 9:37 AM, Graham Samuel wrote:
I don't understand that Dictionary entry at all. There are no facilities for 
specifying a   resource folder in the Standalone settings. I still don't see 
where the builder puts my (non-mainstack) resources, nor how my script can 
refer to it.

Can't help feeling I'm being stupid...

Graham

Sent from my iPad

On 21 Oct 2016, at 18:13, Bob Sneidar <[email protected]> wrote:

 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 
<[email protected]<mailto:[email protected]>> wrote:

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

Bob S


On Oct 21, 2016, at 09:00 , Graham Samuel 
<[email protected]<mailto:[email protected]><mailto:[email protected]>> 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
[email protected]<mailto:[email protected]>
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

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

--
Phil Davis


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

Reply via email to