Skip to content

Jaime Rios

  • About
  • Github
  • LinkedIn
  • X

sh

Shell script to get path of application in MacOS

August 10, 2011 by jaimerios

Here is a shell script that finds an application on my hard drive using a nifty call to Finder using AppleScript: #!/bin/sh result=`exec osascript

Categories Tip Tags AppleScript, Bash, sh, Shell Leave a comment

Recent Posts

  • Package management with CMake’s CPM
  • Automate Evernote using AppleScript
  • Unit Tests and CMake
  • clang static analyzer
  • C++ std::erase and rbegin/rend

Recent Comments

  1. Connecting with C++ – Jaime Rios on Working with REST
  2. Connecting with C++ – Jaime Rios on Making a connection using Swift
  3. Jaime on Xcode 3.1, Perforce and Scripts
  4. jaimerios.com » Blog Archive » Haversine formula now on GitHub on Calculating distance between 2 points on Earth using the Haversine formula
  5. iPhone 3G: How to show locations around a fixed point? | Questions on Calculating distance between 2 points on Earth using the Haversine formula
© 2025 Jaime Rios • Built with GeneratePress