ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

DonationCoder.com Software > Post New Requests Here

DONE: Single Application Instance

(1/4) > >>

richardsugg:
I would love to see an application that would prevent more than one instance of an application from opening.  For instance, I use Bibleworks, but it allows multiple instances, which I don't like.  It also opens up other windows that are a part of an instance of the application.  In other words, The single instance application can't go by the window title, but would have to go by the process name.

Thanks!
Richard

mouser:
richard, this is a nice idea that can be reasonably added to a program like our find+run robot and new launch bar program - i will be adding such features in the near future, so that you can tell it that it should bring any currently running instance to the foreground instead of launching a new process.

skrommel:
 :) I seem to remember that my SingleApp tool will do this if you specify the class.

You find the thread here: http://www.donationcoder.com/forum/index.php?topic=1826.0.

Sorry, months since I made that one... But maybe a v2.0 is needed?

Skrommel

wr975:
Until mouser or skrommel come up with some better solution, you could just use a custom Authotkey script to start your application. Just change PROCESSNAME and PATH/APP.EXE.


--- ---process,exist,PROCESSNAME
if errorlevel = 0
    run,PATH/APP.EXE
else
    WinActivate, ahk_pid %errorlevel%

skrommel:
 :) Try this one!

SingleInstance - Only allow one instance of a program to run.

Features:
- User defined programs.
- Option to detect hidden programs.
- Won't close instances started before SingleInstance.

You'll find the downloads and more info at 1 Hour Software by Skrommel.

AutoHotkey doesn't support global messagehooks, so I couldn't catch the programs before they were created, but I hope you can live with the "flicker".

Skrommel

Navigation

[0] Message Index

[#] Next page

Go to full version