novice question re "marked" and customkeys

Bob Sneidar bobs at twft.com
Fri Apr 1 13:59:03 EDT 2011


I think the difference may have been that my button was part of a background group. Also, I locked the screen but did not lock messages. Not sure if that had anything to do with it. Also, I did not go to a card number. I used go next. 

Bob


On Apr 1, 2011, at 10:38 AM, Jim Ault wrote:

>> On Mar 31, 2011, at 10:39 PM, Timothy Miller wrote:
>> 
>>> Bob's experience, quoted below, seems odd. I don't think this is normal LC behavior. Something has gone wrong, it seems. I might have missed a reply to Bob that explains it, but I didn't see one.
>>> 
>>> Did you ever figure it out, Bob?
>>> 
>>> 
>>> on mouseUp
>>> push card
>>> set lockscreen to "true"
>>> set lockmessages to "true"
>>> put the number of cards into tNum
>>> repeat with i = 2 to tNum
>>>    if the shiftkey is down then exit repeat
>>>    set cursor to busy
>>>    go to card i
>>>    put the id of this card & return after tCardId
>>> end repeat
>>> pop card
>>> put tCardId
>>> end mouseUp
>>> 
>>> I tried this in a card button and a background button. It worked fine, either way. No duplicate card IDs.





More information about the use-livecode mailing list