Find applications starting with a specific string applescript <p>I want to find if an application is installed using <code>AppleScript</code>.</p> <p>The application can have different versions installed in the same PC.</p> <p>Hence, the name of the application is in the format "FooBar vXX.XX"</p> <p>Now, when I tried</p> <pre><code>tell application "Finder" to get application "FooBar" </code></pre> <p>The script launched a pop up, asking the user to find the app manually. Because, I didn't give the full name of the application - which includes the version number.</p> <p>My query is, how can I find the installed application without its full name? This is necessary because I don't know which version is installed.</p> <p>Can I use a regex in this case - How do I use it in this example?</p>