On 29 Sep 2018, at 16:10, C Turner wrote:
I'd like to be able to send text to an application that may not yet be
open
by invoking a keystroke.
Example:
So, if I have 行到水窮處,坐看雲起時 saved to clipboard
(from web search, say) how can
I make an automatic "open in Wenlin" (a Chinese translator app) using
one
keystroke?
If I understand what you’re trying to do, there are many ways get an
application to do something with text from Quicksilver.
1. Look for or
[create](http://projects.skurfer.com/QuicksilverPlug-inReference.mdown)
a plug-in that does what you want.
2. If the application provides a service that does what you want,
install Quicksilver’s Services Menu Plugin. It will turn any service
into an action you can select in the second pane.
3. If the application is scriptable, create an [AppleScript
action](https://qsapp.com/wiki/AppleScript_Actions) that takes the text
and tells the application what to do with it.
4. If the application accepts text through a URL scheme, create a
“web search” for it. (The web searches really just replace “***”
with your text, and don’t necessarily have to be used for searching.)
Is there a more generalized instruction like "open with..." that QS
can
recognize? Like what PathFinder has?
Yes, but it works with files and folders, not text. Go to
Quicksilver’s Preferences → General → Actions and make sure
“Open With…” is enabled.
Is it possible to start at the moment of selecting the text (say as I
visit
webpages online) and invoke the sequence above, even faster rather
than
doing a copy first to clipboard?
Yes. Quicksilver can get the selected text (or file or audio track) from
just about any application. By default, ⌘⎋ will open Quicksilver
with the selection from the current application. If Quicksilver is
already active, you can use ⌘G or the Touch Bar button to “grab”
the selection.
You can also create a trigger using the “Current Selection” proxy
object if this is something you want to automate further.
--
Rob McBroom
http://www.skurfer.com/
--
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 https://groups.google.com/group/blacktree-quicksilver.
For more options, visit https://groups.google.com/d/optout.