How to run another instance of an Application by double clicking on its Icon

Joined
Oct 5, 2012
Messages
3
Reaction score
0
Points
1
How can i run another instance of the application while the application is already running, by clicking on the application Icon in /Applications/.
I dont want to run it from /Applications/myapp.app/Contents/MacOS/myapp

Can i link a script file containing statements
(1)open -n /Applications/myapp.app
or
(2)open -n /Applications/myapp.app/Contents/MacOS/myapp

with the application icon click....

i have tried making changes in Info.plist of the application
key-Executable file value-myapp {present at /Applications/myapp.app/Contents/MacOS/myapp}

changes
key-Executable file value-launch.sh {present at /Applications/myapp.app/Contents/MacOS/launch.sh}

As i know an Application Bundle on OS X can only be started once.by simply copying the bundle the same application can be launched twice.


How can i link a apple script with Application Bundle.

Is there any solution for the above problem

Thanks
Ankit
[email protected]
 
Joined
Sep 30, 2007
Messages
9,962
Reaction score
1,235
Points
113
Location
The Republic of Neptune
Your Mac's Specs
2019 iMac 27"; 2020 M1 MacBook Air; macOS up-to-date... always.
It seems to me the simpler thing to do would be to just make an Alias of the program that is embedded in the app and save that in your Applications folder.
 
Joined
Jul 30, 2009
Messages
7,298
Reaction score
302
Points
83
Location
Wisconsin
Your Mac's Specs
Mac Mini (Late 2014) 2.6GHz Intel Core i5 Memory: 8GB 1600MHz DDR3
Um I dunno if using a alias will do what the OP wants. Seems to me that some apps are written with the capability of opening separate windows concurrently, and some aren't. Tricking the latter into doing that would be, well, tricky.
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top