Since 10.7 selecting files from the Finder in QS has been unreliable due to 
a well-known bug <http://www.openradar.me/9406282>.
Its implications for QS have been thoroughly described in this 
wrap-up<http://qsapp.com/wiki/Finder_Selection>
.

With issue #1477 <https://github.com/quicksilver/Quicksilver/issues/1477>now 
closed (thanks for that, btw) I tried the following workaround as 
suggested in rdar://9406282 <http://www.openradar.me/9406282>.

1. Install the Command Line Tool plugin. Enable it in Plugins tab and next 
in Preferences tab.
2. Set the scope of the built-in trigger 'Command Window with Selection' to 
Disable in Finder and Quicksilver, leave the default hotkey ⌘⎋.
3. Create a new trigger with the applescript below (I named it the same as 
in 2.) and enable it only for Finder, set hotkey to ⌘⎋.

-- http://www.openradar.me/9406282 /10362028 /10561771


*activate* *application* "SystemUIServer"

*activate* *application* "Finder"


*tell* *application* "Finder"

*set* SelectedFiles *to* {}

*repeat* *with* SelectedFile *in* (selection *as* *alias list*)

*set* *end* *of* SelectedFiles *to* (quoted form *of* POSIX path *of* 
SelectedFile & space)

*end* *repeat*

*end* *tell*


*if* SelectedFiles *is* *not* {} *then*

*do shell script* "qs " & SelectedFiles

*else*

*do shell script* "qs ~/Desktop"

*end* *if*

This switches from Finder back and forth to a faceless application, makes 
selection into POSIX paths for qs tool to send to QS's first pane.

-- 
You received this message because you are subscribed to the Google Groups 
"Quicksilver" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/blacktree-quicksilver.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to