Page 1 of 1

Super Button While Waiting For App

PostPosted: Tue May 26, 2015 6:28 am
by Cuttlas
Hi

As you know you can run an application and wait for it to close. It will cause the whole publication to be useless till the app is closed.
But it would be prefect if I can have some buttons that works while the pub is waiting for an application.
Let's say another thing, It would be perfect if I can run another codes while waiting for an application.


Is this possible?

Re: Super Button While Waiting For App

PostPosted: Tue May 26, 2015 6:55 am
by Gaev
Cuttlas:

But it would be prefect if I can have some buttons that works while the pub is waiting for an application.
Let's say another thing, It would be perfect if I can run another codes while waiting for an application.

Is this possible?

You can build this logic using native NeoBook facilities.

a) use CustomWindow with option of Exclusive and No Border to host your Run command.

If you wish, you may include the Run command in the subroutine that is executed when the Window is opened (see help file for details).
Place "other Buttons that are allowed to be serviced" in this custom Window.

b) In your Run command ...

- do NOT specify Wait

- instead, specify a subroutine to be called upon completion of the application

c) In the specified subroutine ...

CloseCustomWindow "ContainerName"