Applescript: Application ID only working with default version
<p>I'm working on a script for Photoshop and was using application id "com.adobe.photoshop" to identify when Photoshop is open. Unfortunately this ONLY seems to work for whatever the default version is. I have several machines this needs to go on and they might have 3 or they might have 5 versions.</p>

<p>I'd like it to work with whatever version is currently open.</p>

<p>The only way I can think to do that is to have an initial check of</p>

<p>if application "Photoshop CS6" is running
set Appname to "Photoshop CS6
ect... ect... ect...</p>

<p>for each version, but that's messy and if the version doesn't exist it generates a popup asking for where that is located.</p>

<p>Any ideas? =/</p>