Well, YOUR LiveCode, MY LiveCode, EVERYONE'S LiveCode: YOUR recipe worked.

Thanks a bucket!

Richmond.

On 10/1/2018 2:01 pm, Klaus major-k via use-livecode wrote:
Hi Richmond,

Am 10.01.2018 um 12:57 schrieb Richmond Mathewson via use-livecode 
<use-livecode@lists.runrev.com>:

My "problem" Klaus is that I don't know YOUR LiveCode,
that's why I wrote "Know YOUR Livecode" and not "Know MY Livecode", Sir! :-)

but I do know MY LiveCode.

I have a theory that once one has been working inwith a system for many years
one's methods and mindset become fixed in a way that may not be very useful.
But you know specialfolderpath("resources") and the fact that everything you 
add to
your standalone(s) via the "Copy files..." tab in the standalone builder 
settings can be
found in that sepcialfolderpath in the standalone?

Best, Richmond.

On 10/1/2018 1:32 pm, Klaus major-k via use-livecode wrote:
Am 10.01.2018 um 12:17 schrieb Mike Bonner via use-livecode 
<use-livecode@lists.runrev.com>:

Change it to..
set the defaultfolder to item 1 to -5 of the effective filename of this
stack

and it should work. I don't have an available mac to test though, so
tweakage might be necessary. (not likely though its pretty
straightforward)

You can put it in an if block if you want so that if the environment is
development you use the first method, else you use the second.
Know your Livecode! :-)
...
set the defaultfolder to specialfolderpath("resources")
...

This should however not be neccessary since relative pathnames that work in
the IDE should also work in a standalone and actually do!
Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major-k.de


_______________________________________________
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

_______________________________________________
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