Communities for your favorite technologies. Explore all Collectives
Stack Overflow for Teams is now called Stack Internal. Bring the best of human thought and AI automation together at your work.
Bring the best of human thought and AI automation together at your work. Learn more
Find centralized, trusted content and collaborate around the technologies you use most.
Stack Internal
Knowledge at work
Bring the best of human thought and AI automation together at your work.
Given an application identifier is it possible to get the current path to the app bundle from the OS X terminal?
For example given the id com.apple.terminal it would return /Applications/Utilities/Terminal.app/
com.apple.terminal
/Applications/Utilities/Terminal.app/
osascript -e "POSIX path of (path to application id \"com.apple.terminal\")"
Add a comment
osascript -e 'id of app "/Applications/Google Chrome.app"'
Start asking to get answers
Find the answer to your question by asking.
Explore related questions
See similar questions with these tags.