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.


Reply via email to