Search for and grab any iTunes or Mac App Store app icon
iTunesIcon is a small app that lets you easily search for and pull an icon from any App Store (Mac or iTunes) app.
It will offer a dialog where you can type in the name of the app or search terms and return the icon of the app as a PNG file on your desktop. For example, run it and type “Ulysses” and it will save Ulysses_icon.png to your desktop.
It saves the first result in iTunes search for your terms.
Options can be included in the search terms using a character prefix.
You can define which App Store to search using a
#macsearches the Mac App Store
#ipadsearches the iTunes App Store for an iPad version
#iphonesearches the iTunes App Store for an iPhone version
# can be replaced by
@, which is useful for some command line usage.
To expand the above example, you can search specifically for the Mac version of Ulysses with:
To choose a small (64px), medium (100px) or large (512px) icon, use a tilde (~) followed by “s”, “m”, or “l”. For example, to grab a medium size icon for the iPad version of OmniFocus, I would use:
omnifocus ~m #ipad
It will default to the largest size if you don’t specify.
Source and extending
This gist contains the Ruby source code used within the Automator application. It will run as a CLI, accepting the search string as an argument, or can be integrated into an Alfred or LaunchBar action.
Speaking of iTunesIcon…