Buongiorno paolo,
Dear Friends, how can I close the answer dialog from script?
I wrote this script to force the user to answer after X time. But
I can
not close the andswe dialog.
Thanks
Paolo
global TempoIniziale,gTEMPOCONTROL
on mouseUp
put the seconds into TempoIniziale
ControlloTempo
answer "You are great" with "OK"
end mouseUp
on ControlloTempo
put the seconds into TEMPO2
-- put TEMPO2 && TempoIniziale & return after message
if (TEMPO2 - TempoIniziale) > 4 then
HOW CAN I CLOSE THE ANSWER DIALOG ??
exit to top
else
send "ControlloTempo" to me in 2 seconds
put the result into gTEMPOCONTROL
end if
end ControlloTempo
******************************************
Paolo Mazza
NEOL SRL
Società partecipata da Università di Padova
via N. Tommaseo 84
35131 - Padova (Italy)
Tel 049- 2050147 - Fax 049-7964386
www.neol.it
add a handler that will close the dialog and "send" it right before
you "Answer XYZ"
This will ONLY work with this technique!
Like:
on mouseUp
put the seconds into TempoIniziale
ControlloTempo
send "close_the_dialog" to me in 2 secs
## or any other time...
answer "You are great" with "OK"
end mouseUp
on close_the_dialog
close stack "Answer Dialog"
end close_the_dialog
...
You will have to integrate this into your scripts.
Regards
Klaus Major
[EMAIL PROTECTED]
http://www.major-k.de
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution