How do I wait for a VBScript to finish?

Bill Vlahos bvlahos at
Fri Aug 12 15:26:18 EDT 2011

I call a VBScript and need to know when it finishes so that I can restore a window. I can put a long delay but that isn't very elegant and the time delay should be a few seconds but it may take longer on older systems.

I'm doing the same thing with an AppleScript on the Mac but it doesn't seem to have this problem but that could be that it just does it quick enough. 

Is there a way to wait with messages or something like that for running a VBScript or AppleScript?

Bill Vlahos
InfoWallet ( is about keeping your important life information with you, accessible, and secure.

More information about the Use-livecode mailing list