Copying the list on my reply, since others might find this useful.

On Feb 11, 2012, at 12:38 PM, Charlie98 wrote:

> The calculator action is no longer the default action in my
> Quicksilver. In preferences > actions > any type I have moved paste
> ahead of calculate since paste is my most likely action for text. The
> impact of this is that when I type = followed by expression the
> default action is now paste. Even more interesting is that in that
> instance paste does not actually paste.

The problem is that the Paste action is a bit of a slut. ;-)

If you have an action (such as Large Type) that only works with text, you can 
move it higher up than Calculate and things will work as expected. Something 
like “this text” or “5*4” will be recognized as text and give you the Large 
Type action (with Calculate further down the list). Something like “=5*4” will 
be recognized as a formula, but not as text. Since the Large Type action 
applies to text, it won’t appear for formulas, which allows Calculate to become 
the top action.

The Paste action is a bit more versatile, so it’s configured to be available 
for everything in the first pane, whether it’s a formula, text, picture, file, 
etc. So in short, I don’t think you can do what you want. There would have to 
be another action like “Paste Text” that only works with text and then *that* 
could be safely put higher than Calculate, but no such action exists.

Some possible solutions:

  1. Create an AppleScript action called Paste Text and put it in 
`~/Library/Application Support/Quicksilver/Actions`. If the script uses the “on 
process text” clause, I *think* it will only appear when you have text in the 
first pane.

  2. Make a trigger for “Quicksilver Selection → Paste” and scope it to only 
Quicksilver. Then keep Paste low down on the list of actions so it doesn’t show 
up all the time, but you can still access it quickly with the trigger. 
Actually, you can probably pull this off without a trigger. See page 23 of the 
manual.

-- 
Rob McBroom
<http://www.skurfer.com/>

Reply via email to