script works only during debugging

Bob Sneidar bobs at twft.com
Thu May 10 17:36:41 EDT 2012


Hmmm... I seem to recall a similar issue. If you are not on the card that contains the "abc" button, then LC will not know about it yet. Try changing your script to refer to the button as button "abc" of card "<thecardname>" and see what happens. 

Bob


On May 10, 2012, at 12:37 PM, Mark Wieder wrote:

> Peter Haworth <pete at ...> writes:
> 
>> 
>> Well, there is one thing worse that that - somethig that works in the IDE
>> but not in a standalone.
> 
> PowerDebug is the only way to debug running standalones interactively.
> 
>> I have a situationlike that right now where a simple "send mouseUp to
>> button "abc" where the sender is on the same card as button "abc".  Works
>> fine in the IDE but fails in a standalone, with the error message "Hint"
>> being the button "abc".
> 
> Could there be an error in the mouseUp handler in the button? What's the error
> code number? The button is named "abc" without spaces or quotes? Can you tell if
> it's the send command or the mouseUp handler that's at fault?
> 
> -- 
> Mark Wieder
> 
> 
> 
> _______________________________________________
> 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