Deleting cards from within themselves.
Bob Sneidar
bobsneidar at iotecdigital.com
Tue Feb 17 14:05:11 EST 2015
That should not be the case. Send in time means execute next idle message plus time. If it doesn’t work with 0 seconds, that means there is something triggering an Idle message before the script is finished. The only other explanation is that the way we all thought send in time worked is not *actually* the way it works.
Bob S
On Feb 17, 2015, at 10:52 , Richmond <richmondmathewson at gmail.com<mailto:richmondmathewson at gmail.com>> wrote:
But, this was, indeed joyous:
on mouseUp
answer "Do you want to delete this card?" with "NO" and "YES"
if it is "YES" then
put the long id of this card into tLID
send "delete tLID" to this stack in 5 milliseconds
go to card "ADDER"
else
---
end if
end mouseUp
Obviously "o milliseconds" was far too short.
Richmond.
More information about the use-livecode
mailing list