Page 1 of 1
How to make some commands run without using mouseUp
Posted: Sun Aug 25, 2013 11:42 pm
by ECNU4271
Hi all!
Most commands in the tutorial need users to click on the button.
How to make some commands run when turning into a new card, without click anything?
What is this command call?
Thanks!!
Michael
Re: How to make some commands run without using mouseUp
Posted: Sun Aug 25, 2013 11:59 pm
by dunbarx
You are on your way...
Look up "openCard" in the dictionary.
This is just one of the many messages that are sent by the engine as events unfold. Clicking the mouse is an event. There are others. Practice using that message, trapping it in a card script.
After that, think about the possibility of one message sending another. Can you do this with your newfound "openCard" experience? Make a new stack that does absolutely nothing useful except to inform you how one message works with another. For example, can you make a list of all the things the cursor does when it moves around a card with a smattering of objects on it?
Write back...
Craig Newman