Select any text on your Mac, click App Store in the PopClip bar, and look it up in the market and platform you chose.
What it does
- Any selected text
- Select it in any app and click App Store in the PopClip bar. Multi-line selections become one query.
- Your market
- Search the storefront of the country you pick, from about 28 in the list.
- Your platform
- iPhone, iPad or Mac results.
- No security warning
- A pure URL action, with no code to sign or approve.
Market and platform
The defaults search the United States store for iPhone apps:
https://apps.apple.com/us/iphone/search?term=<your selection>Switch the market to Poland and the platform to Mac, and the same selection opens:
https://apps.apple.com/pl/mac/search?term=<your selection>Both settings are in PopClip, under Extensions, App Store.
The whole extension
It is one line of YAML. Because it is a pure URL action, with no shell, JavaScript or AppleScript, PopClip installs it without a security warning and it needs no code signing.
url: https://apps.apple.com/{popclip option market}/{popclip option platform}/search?term=***PopClip replaces *** with the selection, trimmed and URL-encoded, and the two options with plain codes such as us and iphone, so there is nothing left to encode.
Use it
Double-click AppStore.popclipext from the repository and click Install Extension. Or open its Config.yaml, select the whole text, and PopClip offers to install it as a snippet.