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: "Maxime Paquette" <email@hidden>
- 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.
is it possible?
Thanks.
Maxime Paquette.
>
>
display dialog "Press enter ..." buttons {"Enter"} default button ,
>
"Enter" with icon note
>
>
>
-- hcir
>
mailto:email@hidden
>
Made with a Mac!
>
>
>
>
> Hi,
>
> Here's what I wnat to do in my script:
>
>
>
> on run
>
> -- here, the script do a couple of things.
>
> ...
>
> ...
>
> -- here, the script pause until the key "Enter" is pressed
>
> -- here, the script continue (after the "enter" key have been
>
> pressed).
>
> end run
>
>
>
> The problem, is that I don't know how to know that the "Enter" key, or
>
> any other key, have been pressed so that I can continue the script.