Invoke your background stack by a key combination
Malte Brill
revolution at derbrill.de
Mon Feb 20 05:50:30 EST 2006
Hi Paul,
I would write a keyboard listener script. This might get you started:
A stack with a field and a button:
In the buttons script:
on mouseUp
if the flag of me is empty then set the flag of me to false
set the flag of me to not the flag of me
if the flag of me then
put empty into fld "myField"
startlisten
end if
end mouseUp
on startlisten
if the keysDown is not empty then
put the keysdown&cr after fld 1
end if
if the flag of me then send "startlisten" to me in 50 millisecs
end startlisten
This will also work if the stack is in background.
Hope that helps,
Malte
--
ArcadeEngine - prepare to WOW your audience within minutes
http://www.runrev.com/section/revselect/arcadeengine
http://www.derbrill.com/arcadeengine/forum
More information about the use-livecode
mailing list