like pass, but without ending the handler
Jim Ault
JimAultWins at yahoo.com
Wed Feb 28 18:50:32 EST 2007
I assume that the app you are interfacing with does not support sockets. If
it did, then receiving a packet via a socket would be able to trigger a Rev
handler (or if blocked, be added to the queue). I use this for async
messaging between Rev apps on the same computer.
Just a thought
Jim Ault
Las Vegas
On 2/28/07 2:29 PM, "Chipp Walters" <chipp at chipp.com> wrote:
> Hey Mark,
>
> I'm actually interfacing with a Python scripting tool already embedded
> in a 3-D application. Plus it's on WinXP as well.
>
> Your wait with messages is probably the ticket. I had thought of
> something similar but discarded as I just don't know if it's
> 'blocking' when it's being called from within a different handler.
> IOW, the original handler must stay in a suspended state until the
> library returns a value and thus 'locks up' the interface. I really
> don't know, guess I need to do some mock-ups. I also need to work out
> the fail-safe and error correction stuff.
>
> I suppose I'll also need "stop it now" button which will exit the
> loop, assuming the interface isn't 'Locked Up.' The button would write
> a file which the library is looking for.
>
> This gives me something to work with. Thanks a bunch :-)
More information about the use-livecode
mailing list