Page 1 of 1
Preventing multuple instances of my windows app
Posted: Thu May 22, 2014 4:30 pm
by magice
I have figured out how to use $1 to pass the file location from explorer to my app and load the file on openStack, But I have not figured out how to handle a second chosen file. I want the user click the file in explorer and have it replace the first file instead of opening a second instance of my app. Can someone point me in the right direction?
Re: Preventing multuple instances of my windows app
Posted: Thu May 22, 2014 4:34 pm
by Klaus
Hi magice,
check "relaunch" in the dictionary!
Basically you add this (empty) handler to the main stack script
to prevent any other instances of the app:
Code: Select all
on relaunch
## Nothing :-)
end relaunch
Best
Klaus
Re: Preventing multuple instances of my windows app
Posted: Thu May 22, 2014 5:01 pm
by magice
Klaus wrote:Hi magice,
check "relaunch" in the dictionary!
Basically you add this (empty) handler to the main stack script
to prevent any other instances of the app:
Code: Select all
on relaunch
## Nothing :-)
end relaunch
Best
Klaus
Thank you Klaus. Relaunch was what I needed to look up.