On 26 May 2015, at 11:34, 1.61803 wrote:
Let's say I have a file selected in QS's first pane and select an
applescript in the second pane like the following pseudo
if selection is a docx file
do some applescript stuff that QS cannot (directly) do
else
call QS (default) action on that selection
end if
If it’s an AppleScript action, I’m not sure if you can be this
specific, but in general, if you have an action that only works for one
type, you can drag it to the top of the list, making it the default for
that type. (It won’t show up at all for other types.)
This is just a generic example. Thing is, can I call a QS action from
applescript?
I don’t think so.
On another note, can I run a trigger from an applescript?
Not exactly, but a trigger is really just a way to run a “command”.
When you save a trigger, it saves the command and the shortcut/mouse
action/event that you want to run it.
You can also save a command to a file instead of setting a trigger for
it. If you open that file (which I assume you can do via AppleScript),
it should run.
There are also two Automator thingies for Quicksilver you might find
useful.
And finally, there are droplets, which I forget how to set up, but
basically, it’s a small application that runs a QS action on whatever
you open with it. (The name assumes you’ll drop the file on the app,
but I’m guessing it doesn’t matter how you open a file with it, so
AppleScript is probably an option.)
--
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 http://groups.google.com/group/blacktree-quicksilver.
For more options, visit https://groups.google.com/d/optout.