This is moving further in the direction of "Applescipt files as quick/dirty/simple/easy/custom/hackable plugins". I seem to remember some issues about this, but I can't find a general one right now -- does anyone know of one?
»Lucas Garron On Wed, Jun 26, 2013 at 6:09 PM, Jon Stovell <[email protected]> wrote: > That's a good idea. One might need to play with the syntax a little, but > the ability to define a list of choices in the third pane would be great. > > > On Wednesday, June 26, 2013 7:56:57 PM UTC-4, David Rees wrote: >> >> I had an applescript idea that I think could be very useful. What if >> applescripts could provide their own third pane items items? >> >> Right now an applescript can indicate a subset of the global catalog by >> indicating the indirect types. But that is filtering against the global >> catalog without any awareness of the first pane object. >> >> Instead, what if we added a "indirect choices" handler that allowed the >> applescript to indicate a list of third pane choices for the user. The >> script could build and return the third pane choices based on the first >> pane object. QS would show them in the third pane, allow the user to pick, >> then call the open handler normally with the items and selected indirect >> items. >> >> For example, a script could allow copying text to a particular header >> inside a word document: >> >> get indirect choices _items_ >> -- cool applescript here that looks at _items_ to build a text list of >> choices >> return { "text list of headers in document" } >> end get indirect choices >> >> >> Or it could be used to handle variations on the action, for example for a >> "copy to server" script: >> >> get indirect choices _items_ >> return { "normal", "force" } >> end get indirect choices >> >> Or the script could filter the third/indirect items to the ones that >> mattered for the first pane object. >> >> get indirect choices _items_ >> return { "only folders/servers/URLs than make sense for _items_" } >> end get indirect choices >> >> >> d >> >> >> > -- > 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. > > > -- 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.
