Externally reffed-off
Richmond Mathewson
richmondmathewson at gmail.com
Wed Jan 10 07:23:27 EST 2018
And, IF, I were to try to port the thing to Android or iPad/iPhone would
specialfolderpath "do it" over there as well?
Richmond.
On 10/1/2018 2:20 pm, Richmond Mathewson wrote:
> 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 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
>>
>>
>> _______________________________________________
>> use-livecode mailing list
>> 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