Re: Notification of compilation

2015-02-28 Thread Richard Gaskin
Peter Haworth wrote: > You can use the seSetObjectState message I mentioned in my last post, > look for a value of "edited" in the second parameter to know that a > script needs to be compiled and, as already mentioned, "applied" > after a successful compilation. Earlier dunbarx wrote: > But not

Re: Notification of compilation

2015-02-28 Thread Michael Doub
b To: How To use LiveCode use LiveCode Sent: Sat, Feb 28, 2015 1:28 pm Subject: Notification of compilation Does anyone know if there is way to detect when a specific objects script has be compiled? I am thinking that there must be because the script editor seems to know when a script has b

Re: Notification of compilation

2015-02-28 Thread Mark Schonewille
ode use LiveCode Sent: Sat, Feb 28, 2015 1:28 pm Subject: Notification of compilation Does anyone know if there is way to detect when a specific objects script has be compiled? I am thinking that there must be because the script editor seems to know when a script has been changed outside the edi

Re: Notification of compilation

2015-02-28 Thread Mark Schonewille
Hi Mike, When the script editor comes to front, the resumeStack message is triggered. This runs a resumeStack handler, which compares the content of the script editor with the actual script of the control, card or stack. There is no notification, just a simple "if fld x is not the script of c

Re: Notification of compilation

2015-02-28 Thread Peter Haworth
Hi Michael, I miss this post. You can use the seSetObjectState message I mentioned in my last post, look for a value of "edited" in the second parameter to know that a script needs to be compiled and, as already mentioned, "applied" after a successful compilation. On Sat Feb 28 2015 at 10:27:44 A

Re: Notification of compilation

2015-02-28 Thread Peter Haworth
ply" button would register. > > > Craig Newman > > > > -Original Message- > From: Michael Doub > To: How To use LiveCode use LiveCode > Sent: Sat, Feb 28, 2015 1:28 pm > Subject: Notification of compilation > > > Does anyone know if there

Re: Notification of compilation

2015-02-28 Thread dunbarx
at least the mouse messages in the "Apply" button would register. Craig Newman -Original Message- From: Michael Doub To: How To use LiveCode use LiveCode Sent: Sat, Feb 28, 2015 1:28 pm Subject: Notification of compilation Does anyone know if there is way to detect when

Notification of compilation

2015-02-28 Thread Michael Doub
Does anyone know if there is way to detect when a specific objects script has be compiled? I am thinking that there must be because the script editor seems to know when a script has been changed outside the editor. I have been looking thru the IDE stack and have not found a clue yet. Any i