Re: Stoping the script until "Enter" is pressed?
Re: Stoping the script until "Enter" is pressed?
- Subject: Re: Stoping the script until "Enter" is pressed?
- From: "Arthur J Knapp" <email@hidden>
- Date: Tue, 13 Feb 2001 14:00:12 -0500
>
From: "Maxime Paquette" <email@hidden>
>
Subject: Re: Stoping the script until "Enter" is pressed?
>
Date: Tue, 13 Feb 2001 11:48:21 -0500
>
Sorry if I didn't explain much on what I wanted, here's some precisions:
>
When the script "pause" it's because the user need to do something
>
manually (that the script can't do because it's never the same thing) and
>
after doing that, the user press "Enter" so that the script continue after
>
the changes made by the user. So I need the user to be able to go to other
>
application and I don't want any dialog box to shows up.
This level of interaction requires something like FaceSpan or Dialog
Director. By themselves, scripts are primarily meant to run from start
to finish.
Some vanilla possiblities come to mind with regards to using the
idle handler, but the capturing of a key stroke is a bit tricky.
Jon's Commands has a "keys pressed" command, and I'm sure other
osaxen do as well.
Is it possible that the change being made by the user can be tested
for completion by your script?
--
{
Arthur J Knapp, of STELLARViSIONs ;
http://www.STELLARViSIONs.com ;
mailto:email@hidden ;
"...well the rain falls down
without my help, I'm afraid
and my lawn gets wet,
though I withheld my consent..."
}