App quits immediately after startup
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
App quits immediately after startup
on openCard I did some work and put a short delay and then the "quit" command
When I open the stack for development it immediately goes to run mode and quits
How do I open the application for development only
When I open the stack for development it immediately goes to run mode and quits
How do I open the application for development only
Re: App quits immediately after startup
Tick Messages in the Toolbar to prevent that the openCard message is being sent and open the stack.
In general you could use something like:
Robert
In general you could use something like:
Code: Select all
if the environment = "development" then
close this stack
else
quit
end if
Re: App quits immediately after startup
But how do I open the stack in development mode
It always starts up in run mode and executes my script and quits
It always starts up in run mode and executes my script and quits
Re: App quits immediately after startup
Main Menu - Tools - Pointer Tool or you click on the arrow with the small cross in the Tools palette.
Robert
Robert
Re: App quits immediately after startup
can't open stack
create a test stack with this code
on openCard
wait 2000 milliseconds
quit
end openCard
save the stack and exit then try to open it again. It will wait 2secs and shutdown
create a test stack with this code
on openCard
wait 2000 milliseconds
quit
end openCard
save the stack and exit then try to open it again. It will wait 2secs and shutdown
Re: App quits immediately after startup
Start RunRev - Tick Messages - Open your stack.
I pasted your code into a empty stack and it works. The openCard message will not be fired if Messages are disabled.
Robert
I pasted your code into a empty stack and it works. The openCard message will not be fired if Messages are disabled.
Robert
Re: App quits immediately after startup
Thanks
I was trying some old Windows tricks like holding down shift key and other combinations without any luck.
I was trying some old Windows tricks like holding down shift key and other combinations without any luck.