Activate code when a card is entered?

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
TubooBokBok
Posts: 19
Joined: Wed Jun 18, 2014 7:23 pm

Activate code when a card is entered?

Post by TubooBokBok » Fri Jun 20, 2014 3:25 pm

Hello, Is there a way to execute code as soon as a card is entered, so no button needs to be pressed?

Thanks in advance for any help.

Klaus
Posts: 14194
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Activate code when a card is entered?

Post by Klaus » Fri Jun 20, 2014 3:45 pm

Hi TBB,

yes, use an "on opencard" handler in the card script of that card!

And you really should check these stacks to get the basics of Livecode (I may repeat myself :D )
http://www.hyperactivesw.com/revscriptc ... ences.html


Best

Klaus

TubooBokBok
Posts: 19
Joined: Wed Jun 18, 2014 7:23 pm

Re: Activate code when a card is entered?

Post by TubooBokBok » Fri Jun 20, 2014 3:47 pm

Thank you, and yeah I will check them out now.

Post Reply