LoveQuicksilver - Quicksilver Blog

Quicksilver 1.2.0 (400C)

A new prerelease is out, with the following changes:











Remember to change ‘Application Update Type’ to ‘Prerelease Candidates’ in Preferences>Extras.



Feedback welcome.


@LoveQuicksilver

Comments

Launch Center Pro and Quicksilver

Add URLs to a custom Quicksilver bookmark list – all from iOS



Not a Quicksilver iOS app

With more and more Apple-centric computing taking place on iOS devices, it can be frustrating to be deprived of the workflow wizardry of Mac apps such as Quicksilver. URL schemes, however, can bring some Quicksilver-like magic to your touchscreen – with the excellent Launch Center Pro waving the wand, and Dropbox as its lovely assistant.

To illustrate the power of URL schemes, this post will show how to use Launch Center Pro (LCP) to add a link to a file, like a Quicksilver boss.

Quicksilver has the ability to parse an HTML file’s links into their URL and title components. A great way to utilise this feature is to create a bookmark file that can be browsed in Quicksilver, a browser, or a text editor. A script to append a URL in Quicksilver to a bookmark file is here.

Important: make sure the containing folder of the script’s bookmark file path exists in Dropbox (In this script, ‘~/Dropbox/Documents/’). Save the script in:

~/Library/Application Support/Quicksilver/Actions/

Relaunch Quicksilver. Bring a URL into pane 1, ‘Bookmark to favourites’ in pane 2, and a title in pane 3 (press ‘.’ to activate text mode).



Hit enter, and an HTML link will be appended to the end of:

~/Dropbox/Documents/Favourite bookmarks.html

Add the above file to Quicksilver’s Custom Catalog:


A relaunch might be needed for the links to be cataloged

Any bookmark within the file will be added to Quicksilver’s global catalog. A convenient way to bookmark a URL is to use the ‘Current Web Page’ objects from the Chrome and Safari plugins.


No need to have the browser frontmost

Now to recreate the bookmark workflow in LCP. There’s an monumental guide to LCP on the MacStories site. Once the app’s surface has been scratched, create a new action and paste the following (one line) URL into the URL field:

launch://dropbox/append?text=<a href="[[clipboard]]">[prompt:Bookmark name?]</a><br>&path=%2FDocuments&name=Favourite%20bookmarks.html

Important: make sure the LCP action’s bookmark file path is the same as the one in the script’s.

On any site in any app, simply copy its URL to the clipboard, fire up the new action, type in a name and tap ‘Launch’. The URL and its title will be browsable within Quicksilver in a matter of moments (internet permitting).


From left to right, top to bottom


Trigger ‘Favourite bookmarks.html⇥Show Contents’ to quickly browse saved bookmarks only

This is just one way to use URL schemes to compliment the power of Quicksilver. Mobile computing is going to be massive, but ‘traditional’ computing is going to be with us for a long while yet. I predict exciting times for cross-platform cooperation.


@LoveQuicksilver

Comments

Hello New Followers

Question:

Does the following picture look familiar?



If the answer is in {“Yes”, “I don’t care”}, welcome.

If not, welcome.


@LoveQuicksilver

Comments

Quick Airmail

Send an email message or attachment through Quicksilver

On Twitter, Jeff Lambert asked:



Airmail includes AppleScript support, so here’s an Airmail version of the QuickSparrow action from a while back.

A usage guide:


Press ‘.’ in pane 3 to type text


Alternatively, navigate to, or paste, a file in pane 3 for an attachment

Save the script in:

~/Library/Application Support/Quicksilver/Actions/

Important: Open the script in AppleScript Editor.app, and type your preferred email sender address between the quotes after the _sender variable. Relaunch Quicksilver and mail away.


@LoveQuicksilver

Comments

Code Snippets on Quicksilver’s Shelf

Quickly automate repetitive tasks without saving files or triggers



For some reason, the action’s info sticks on text’s default action

Repetitive tasks are the bane of many a computer user’s working day. It’s often worth writing scripts to handle this drudgery, but sometimes the productivity gain seems to be outweighed by the cost of firing up an editor, finding a suitable place for a script file, and making a trigger or abbreviation for it. Make the option of scripting more attractive by using Quicksilver’s ‘Run as AppleScript’ action.

Apple’s iWork suite of apps received substantial updates on April 1st. A welcome (re)addition to Numbers is the ability to set page margins in the print dialog. Unfortunately for me, that means manually typing the correct margins into many existing documents.


Not fun after the 10th time

I typed the following code into Quicksilver:

delay .5
tell application "System Events" to keystroke ¬
"1.2		.9		.27		.37		.21		.71"

(There are two tabs between each value.) I placed it on the Shelf to be added to the global catalog, and I made sure ‘Run as AppleScript’ is the default action when hitting ‘r’ in the second pane.

In Numbers, I select the text in the first page margins field, and in Quicksilver type ‘del’ followed by ⇧R to populate them all. Job done! Trigger ‘Last Command⇥Run’ in the next instance (and before executing any other QS commands) to make the process even quicker! Auto-inception achieved.





@LoveQuicksilver

Comments


This search box is rubbish. Click here to search from Quicksilver instead.