Alfred 2 workflow with tools for searching and browsing magiccards.info
Download the workflow and open the file with Alfred 2 to install.
To regenerate the Alfred Workflow from source:
git archive --format=zip --output=~/mtg.alfredworkflow HEAD
This workflow adds four commands to Alfred that interact with magiccards.info. As such, each query allows the same syntax as on that site.
mtg search <query>
Opens magiccards.info in your default browser, with a swearch for <query>
Example: mtg search t:sliver t:legend
will open up this search page
mtg page <query>
Allows you to choose a card from the results of <query>
, opening up its magiccards.info page in the default browser.
Example: mtg page t:legend e:dgm
will return these results:
Upon selecting "Teysa, Envoy of Ghosts", you will be brought to the page for Teysa, Envoy of Ghosts
mtg spoiler <query>
Allows you to choose a card from the results of <query>
, copying the spoiler text of the card to your clipboard.
Example: mtg spoiler sorin
will return these results:
Upon selecting "Sorin, Lord of Innistead", the following text will be copied to your clipboard:
Sorin, Lord of Innistrad (2WB)
Planeswalker - Sorin
+1: Put a 1/1 black Vampire creature token with lifelink onto the battlefield.
-2: You get an emblem with "Creatures you control get +1/+0."
-6: Destroy up to three target creatures and/or other planeswalkers. Return each card put into a graveyard this way to the battlefield under your control.
Loyalty: 3
http://magiccards.info/ddk/en/1.html
mtg image <query>
Allows you to choose a card from the results of <query>
, copying the URL to an image of the card to your clipboard. This is useful for pasting to IRC, Campfire, or other chat programs.
Example: mtg image t:enchant squirrel
will return these results:
Upon selecting "Squirrel Mob", the following text will be copied to your clipboard:
http://magiccards.info/scans/en/od/274.jpg
- magiccards.info for the awesome datas.
- Daniel Shannon for alp.
- Corey Csuhta for brainstorming and brewing.