Thanks, Jason, for the cool technique. I'll be using it. Rob -- In general, where I want to use this is in using the power of QS in other environments without duplicating the functionality in, say, Applescript.
Use case: - I'm in Preview and the Current Document is an image file that I've probably downloaded from the web. - I want to save it in "~/Documents/Maps/Images/2016-11-20 RPI GPIO pinout.pdf" but I want to rename the file first using the QS interface - I want the clipboard to contain the "file:///Users/petonic/Documents/Maps/2016-11-20 RPI GPIO pinout.pdf.pdf" File url when the script exits - The only interaction I want with the script (instead of multiple invocations of QS, which is what I do now) is to type the name of the script that does all this, then when the QS interface comes up, rename the file, I'm done. On Thursday, November 17, 2016 at 6:03:09 AM UTC-8, Rob McBroom wrote: > > On 16 Nov 2016, at 18:03, Jason Penney wrote: > > Save it as something like `/usr/local/bin/qs_wrap`` `and set it as > executable, then you can do things like: > > `$ echo foo | qs_wrap show large type` > > `$ echo foo | qs_wrap show notification` > > I couldn't get "open URL" to work for some reason, and I don't really know > what else you could do with it, if anything, but there it is. > > We could add support for something like qs -a <action ID> (and a way to > list available action IDs), but I can’t help thinking there are probably > better ways to do most things. > > For example, to open a URL, you could use AppleScript to talk to your > browser instead of QS, or better yet if you’re in Terminal or a script > anyway, just run open <URL>. > > -- > 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.
