I will try to write something simple here.
*using terms from* *application* "Quicksilver"
*on* *process text* sampleSelectedText
*set* theString *to* "{>>@vg " & sampleSelectedText & "<<}"
-- This is what I used to have before.
*set* OldClipboard *to* *the clipboard*
*set the clipboard to* {*text*:(theString *as* *string*), *Unicode text*:
theString}
doKeyCombination("v", "x")
*set the clipboard to* OldClipboard
-- Since this doesn't work, I now simply do the following.
-- set the clipboard to theString
-- delay 0.2
*end* *process text*
*end* *using terms from*
This used to work, but it seems as if I now cannot paste the selected text
because Quicksilver takes the focus away from originating application. I
don't know when this happened but it seems as if it was after Mavericks. Is
there a quick or obvious solution I am missing? I googled trying to find a
solution and I found that some other people have this problem too.
http://macbiblioblog.blogspot.com/2012/09/accordance-automation.html
On Wednesday, February 19, 2014 4:11:05 PM UTC-7, Jon Stovell wrote:
>
> Can you post an example of a script that is giving you trouble?
>
--
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.