It probably works with a group because a group can persist even if there are
not cards that the group is attached to. Therefore the object containing the
handler that is deleting the card is not itself getting deleted because it
belongs to a group that still exists after the card is deleted. The
I thank Bob Sneider and Eric Corbett for their suggestions below regarding
"delete this card" not working. However, the problem appears more complex. For
many years on January 1, I have created a new invoice stack for the new year by
deleting the some 2000 cards from the preceding year's stack
You can not delete a control whose script is still running.
Try in the button:
on mouseUp
local tID
put the long I'd of this card into tID
send "deleteMe tID" to me in 1 milliseconds
end mouseUp
Then put the deleteMe handler in the stack.
- e
> On Dec 31, 2014, at 07:36, "stgo
That is because you are deleting the parent object of the object a running
script is on. Try sending in time.
Bob S
> On Dec 31, 2014, at 07:36 , stgoldb...@aol.com wrote:
>
> If I want to delete a card using the message box in LC 5.5.3 (on Mac 10.9.5)
> it works if I type
>
>
> delete thi
If I want to delete a card using the message box in LC 5.5.3 (on Mac 10.9.5) it
works if I type
delete this card
in the message box. However, I get an error message if I try the same thing
from a button on the card or from a script in the stack. This didn't used to
be the case. Any sugge