In some environments it may be useful to run multiple instances of TestTrack. For example, if you need to connect to multiple projects at the same time. On Mac OS X, this is a problem because a user can only run one instance of a particular application at a time. However, there is a workaround.

One way to do this is to run ‘open -n /Applications/TestTrack/TestTrack\ Client.app/’ from the Terminal app. As you can imagine, this can be fairly tedious if you generally don’t work with the Terminal.

To avoid this, you create an AppleScript application that will run this command.

Open the AppleScript Editor in your Mac’s /Application/Utilities folder.

Copy the following into the editor: do shell script “open -n /Applications/TestTrack/TestTrack\\ Client.app/”

It should look something like this:

The next step is not required, but if you want to make sure everything is OK, click the Compile button.  Assuming the copy/paste was successful, it should look like:

Now, you can click the Run button and launch all the instances of TestTrack you need to.  But, let’s go a step further and create an application so you can run this command without opening AppleScript Editor each time.

To do this, click File->Export… from the menu.  You will see a dialog like the following:

In the Export As field, enter a name that you would like your launch application to have. Select a folder where you would like to save the application (I have Desktop selected here, you could choose Applications or your home directory). Then select Application for the FileFormat, as shown below:

Click Save. Voila!  You should now have a launcher application in your selected directly, as shown below:

This is now a full-fledged Mac application. Put in your Dock, find it in Launch Pad, or run it where it is.  You can now launch multiple instances of TestTrack at the same time on OS X.

Important Note: For the TestTrack Client, you will also need to enable TestTrack to run multiple instances from inside the client. Open your TestTrack Client and go to Tools->Local Options. Select “Allow multiple instances of this application” as shown below:

You can do the same thing for other Seapine applications. For example, here is the command needed for a Surround SCM Client launcher:

do shell script “open -n /Applications/Surround\\ SCM/Surround\\ SCM\\ Client.app/”

Share on Technorati . del.icio.us . Digg . Reddit . Slashdot . Facebook . StumbleUpon

Related posts:

  1. Running Multiple TestTrack Clients on Mac OS X
  2. Surround SCM: Mac OS X Launch Shortcut
  3. Macintosh Office Integration
  4. Copy Path (Mac)
  5. More Macintosh Office Integration
No Comments

Tags:

No comments yet.

Leave a comment

WP_Big_City

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

 

Spam Protection by WP-SpamFree