Suspend script execution.

Mark Smith mark at maseurope.net
Fri May 25 07:21:15 EDT 2007


Joe, the  'modal' command is what you want, I think.

on mouseUp
   modal stack "someDialog"
   doSomething with the dialogData
   put "someMessage"
end mouseUp

Assuming you have a substack "someDialog", executing the above in a  
btn script should open the dialog, wait for it to be closed, and then  
continue.

Best,

Mark

On 25 May 2007, at 12:12, LunchnMeets at aol.com wrote:

> Hi Everyone,
>
> I’m trying to create my own ask and answer dialog boxes. In order  
> to do that
> I must be able to suspend a script awaiting my custom dialog box  
> input. Then I
> want to continue the same script. I tried using the wait command,  
> but that won
> ’t allow any input while waiting. All suggestions are appreciated.
>
> Joe
>
>
> **************************************
>  See what's free at
> http://www.aol.com.
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your  
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list