Re: Multiple versions of an app


Alex Zavatone
 


OK.  So, here’s how to launch them through an AppleScript.

on run
do shell script "open /Applications/Carl-o-matic-1.app;
open /Applications/Carl-o-matic-2.app;
open /Applications/Carl-o-matic-3.app;
open /Applications/Carl-o-matic-4.app;
open /Applications/Carl-o-matic-5.app;
open /Applications/Carl-o-matic-6.app;
open /Applications/Carl-o-matic-7.app;
open /Applications/Carl-o-matic-8.app;"
end run


Since they all have a different bundle and name, you wouldn’t need the -n argument then.

If you really needed to, you could build the name from a loop and launch them all.  

Cheers,
Alex Zavatone


On Dec 16, 2020, at 2:41 PM, Carl Hoefs <newslists@...> wrote:

On Dec 16, 2020, at 12:16 PM, Alex Zavatone via groups.io <zav@...> wrote:

Duplicate the target 7 times and change the bundle ID for each.

How to do duplicate a target (and rename it)? The Duplicate menu item has been removed.

Is there a reason why you can’t open one copy of the app with a
parameter?

Each app has its own settings and defaults, so I can't just run one 8 times. Each needs its own unique bundle identifier.

-Carl







Join xcode@apple-dev.groups.io to automatically receive all group messages.