Quantcast
Channel: LiveCode Forums
Viewing all articles
Browse latest Browse all 549

Getting Started with LiveCode - Experienced Developers • Re: Message handler called during compile

$
0
0
Is there a function or message handler that is called every time the test button (or build for device) is pressed I can hook into?
Yes, the test button/menu triggers the revIDEDeployAction message. You can hijack it by inserting this handler into front:

CODE:

on revIDEDeployAction     put x into fld "y" of MyCard of MyStack ## Or any code or other handler you want to invoke here   pass revIDEDeployAction ## Releases the message to run its courseend revIDEDeployAction

Statistics: Posted by SWEdeAndy — Sat Nov 02, 2024 4:23 pm



Viewing all articles
Browse latest Browse all 549

Trending Articles