Externally reffed-off

Klaus major-k klaus at major-k.de
Wed Jan 10 07:01:44 EST 2018


Hi Richmond,

> Am 10.01.2018 um 12:57 schrieb Richmond Mathewson via use-livecode <use-livecode at 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 at 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
klaus at major-k.de





More information about the use-livecode mailing list