On Jan 6, 2011, at 9:44 AM, Rob McBroom wrote:

> On Jan 5, 2011, at 4:11 PM, sudo wrote:
> 
>> Is it feasible to add an action to iTunes plugin?
>> I want to integrate the script
>> 
>> tell application "iTunes" to play selection with once
>> 
>> posted in the following hint
>> 
>> http://hints.macworld.com/article.php?story=20101109044926101
>> 
>> as an action that could be named 'Play Once'.
> 
> You can put AppleScripts in ~/Library/Application 
> Support/Quicksilver/Actions/. You may need to restart QS before the action 
> shows up. And I have no idea how Quicksilver decides what the actions in that 
> folder apply to. I would assume it couldn't tell and they would apply to 
> everything, but that doesn't seem to be the case.

Such actions are written using the text input hook:
http://web.archive.org/web/20080526084943/docs.blacktree.com/quicksilver/creations/applescript_get_text_from_quicksilver

They only work on text objects in the first pane (that is text you enter after 
hitting . in the first pane, or pasted in, etc.).

Howard

Reply via email to