In my standalone app on Windows, I use a custom extension on stack files to save user work. Doubleclicking any of those files will launch my app and load the chosen file. However, once the app is running, doubleclicking another file does not update the command line arguments. ($1 continues to have the path to the file that opened the app, and there does not appear to be an additional $#s created.) In other words, it seems to only work when the app is being launched. (The app is set not to allow multiple instances.)
To attempt to detect additional file open attempts, I use the logic that the user must leave the app to doubleclick a file, therefore I use an
Code: Select all
on Resume
Is there another way to detect when a file is doubleclicked once an app is running?
Thanks,
Tom Bodine