The key here appears to be the line "open newMessage".  If I remove it and 
the next line, the action appears under "text".  If I add back the open 
line, the action moves to files & folders

Andrew

On Monday, August 13, 2012 1:23:46 PM UTC-7, Andrew Beers wrote:
>
> Hm.  Ok, perhaps I've just bumped into part of AppleScript I don't 
> understand.  Using your template below, I do see an action appear for the 
> "text" type.  However, if I change this to read:
>
> *using terms from* *application* "Quicksilver"
>
> *on* *process text* TheText
>
>  *tell* *application* "Microsoft Outlook"
>
>  *set* newMessage *to* *make* new *outgoing message* with properties {*
> recipient*:{email:TheText}}
>
>  *open* newMessage
>
>  *get* newMessage
>
>  *end* *tell*
>
> *end* *process text*
>
> *end* *using terms from*
>
> *... *then it appears under "Files & Folders" rather than under "text".
>
> Andrew
>
> On Monday, August 13, 2012 1:01:36 PM UTC-7, Patrick wrote:
>>
>> For me, running AppleScript actions works fine.
>> Make sure your AppleScript action is enabled in the Quicksilver actions 
>> preferences, and that it has this format:
>>
>> *using terms from* *application* "Quicksilver"
>>
>> *on* *process text* TheText
>>
>> *do your things with TheText*
>>
>> *end* *process text*
>>
>> *end* *using terms from*
>> *
>> *
>>
>> On 13 August 2012 20:50, Andrew Beers <[email protected]> wrote:
>>
>>> Where did this one bottom out?  I'm trying to do something similar, but 
>>> having issues.  The proposed workflow is the same: select a contact, arrow 
>>> into a specific email address, and run an action on that email address.
>>>
>>> I've tried going the Automator/Service route (which I've placed in 
>>> ~/Library/Services as a service that accepts text) and the AppleScript 
>>> route (which I place in ~/Library/Application Support/QuickSilver/Actions 
>>> as something that implements "on process text"), but the action never comes 
>>> up as an option when I have an email address selected.
>>>
>>> I'm using build B69 (3932) - is what I'm trying to do here possible?
>>> Andrew
>>>
>>>
>>> On Monday, May 14, 2012 10:50:03 AM UTC-7, Devin Burke wrote:
>>>>
>>>> Sure thing!  There are two of them, one for SMS and one for calling, 
>>>> but they're pretty much identical.  I'm attaching the SMS one.  I have it 
>>>> as a service so I can use it in other apps too, but if a simple 
>>>> AppleScript 
>>>> would work better, that's doable.
>>>>
>>>> I was planning on right-arrowing into the contact for the number, but I 
>>>> was thinking it would be cool to cut out a step by just passing the whole 
>>>> contact into the script.  Of course, that would mean figuring out how to 
>>>> choose the right number, how to act if there are no numbers, etc., so I'm 
>>>> getting ahead of myself.
>>>>
>>>> Since it was for personal use, I don't have any attribution in there, 
>>>> but a lot of the script was from http://mrgeckosmedia.com/**
>>>> support/thread/110 <http://mrgeckosmedia.com/support/thread/110>.
>>>>
>>>>  -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "Quicksilver" group.
>>> To post to this group, send email to [email protected].
>>> To unsubscribe from this group, send email to 
>>> [email protected].
>>> Visit this group at 
>>> http://groups.google.com/group/blacktree-quicksilver?hl=en.
>>>  
>>>  
>>>
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Quicksilver" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
Visit this group at http://groups.google.com/group/blacktree-quicksilver?hl=en.


Reply via email to