Mac App Store is accessed using
macappstore URL scheme. Your URL should follow this pattern:
[APP_ID] with your app’s track id.
You can easily get track ID from URL of the application at App Store. For example, URL of Mac App Store page for Jump Desktop is
? is the required ID which in this case is
Lets test it. Replace
524141863 in the
macappstore:// URL given above. Then open the URL from Terminal
This should open Mac App Store desktop application to Jump Desktop page.
Now that we know the required URL scheme and track ID, opening iTunes page in Mac App Store is pretty simple. See the following code snippet.
1 2 3 4 5 6 7 8
You just need to the pass
openURL: message with correctly formed URL to
[NSWorkspace sharedWorkspace] object.