I have a program (.app bundle) that I wrote for OS X Mountain Lion. It performs a task that only I need and it only runs for 10 seconds. Once a day, I click on it (Launchpad->click my app) and 10 seconds later, it is done and it closes. I want it to be in the Dock all day everyday so that I can just click on it when I need it and so my wife can find it when she needs to run it. The problem is that it does not run long enough for me to right click on it, pick Options and then click Keep in Dock. Is there anyway I can add it to the Dock? or am I going to have to modify my app so that the first time it runs it waits a minute to give me a chance to add it to the dock?
I can think of two possible solutions: