Background Long IDs

Brian Milby brian at milby7.com
Mon May 7 00:40:20 EDT 2018


I've pushed an initial version to GitHub:
https://github.com/bwmilby/lc-misc/tree/master/ScriptTracker

The code is also there with the stack so it can be viewed online without
downloading the stack.  The code was exported from itself, so you can see
how it constructs the exports.  If you enable the Automatic File Import,
then it will notice changes to the exported files and import them back to
the stack (can't edit itself though).  Don't really know about performance
yet.  Devolution exports 112 files which takes ~450ms on my machine.

Thanks,
Brian

On Sun, May 6, 2018 at 10:46 PM, Brian Milby <brian at milby7.com> wrote:

> Could be where it is being referenced.  From the message box:
> put the long id of background id 1020 of stack "AutoScriptSaver"
> Returns:
> bkgnd id 1020 of stack "/Users/milby/Desktop/AutoScriptSaver.livecode"
> Until after I visit the card, when it changes to:
> group id 1020 of card id 1025 of stack "/Users/milby/Desktop/
> AutoScriptSaver.livecode"
> This was in LC 8.1.9
> The stack uses files(folder, type) so it doesn't work in 8.
>
> On Sun, May 6, 2018 at 9:20 PM, dunbarx via use-livecode <
> use-livecode at lists.runrev.com> wrote:
>
>> Hi.
>>
>> Maybe I am not building this correctly.  I made a new stack of five
>> cards. I
>> placed a BG group on card 3. It has ID 1005.
>>
>> On card 1 in a button script:
>>
>> on mouseUp
>>  put the long id of background ID 1005 of this stack into fld 2
>> end mouseUp
>>
>> In new sessions, whether I visit card 3 or not, I always get "group ID
>> 1005
>> of ...."
>>
>> Never "bkgnd ID 1005 of ..."
>>
>> LC 8.1.7
>>
>> Craig Newman
>>
>>
>>
>> --
>> Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-
>> User-f278306.html
>>
>> _______________________________________________
>> 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