“Export Mac App Store Purchases to HTML” Macro
Have you ever wanted to search through your Mac App Store purchases, or browse an alphabetical list?
Well, you can't, because the Mac App Store only shows you Reverse Chronological order.
However, with a bit of finesse, you can get a MultiMarkdown file (and HTML file if you have the
multimarkdown tool installed).
In Terminal, with the App Store app NOT running, enter this line:
defaults write com.apple.appstore ShowDebugMenu -bool true
If you aren't sure if you have
If it is not installed, the easiest way to get it is
brew install multimarkdown (assuming, of course, that you use brew) or you can get one of the installers from http://fletcherpenney.net/multimarkdown/download/.
The macro will select the Debug menu and then the “Save page source to disk”:
That saves the HTML of the entire page to
Then another embedded shell script does through that file, cleans it up, parses just the information we want, sorts it, and creates the MultiMarkdown file.
Once that file is created, then an HTML page is generated and opened in Safari (you can change the browser if you want, just edit one line in the script).
You can see an example of the output here:
(the MMD file is http://files.luo.ma/mas-purchases/index.mmd)
Each app is shown with its official icon, and a link to the Mac App Store page.
Export Mac App Store Purchases to HTML.kmmacros (11 KB)
p.s. if you just want the shell script without the macro, you can find it at https://github.com/tjluoma/mas-purchases.sh.