On Friday, April 12, 2013 12:37:22 AM UTC+2, Daniel wrote:
>
> Out of curiosity, do you have "run tasks and actions in the background" 
> checked? If not, try checking it and run the second line again—it just 
> might work at that point, because QS would then be running the action in a 
> background thread while `qs` communicates with the UI thread, […]
>

Makes sense. I somehow assumed that would be the case and never thought of 
that option to force it. Now it works, fairly. More on that below.
 

> Regarding returning stuff to QS from Pane-1 AppleScripts—check out the 
> scripts "Current Document", "Current Application", etc. from the UI Access 
> plugin […]
>

I couldn't find such scripts. Maybe Patrick or Robert chime in.


What I'm trying to accomplish is a Command Window with Selection 
applescript for Finder

-- http://www.openradar.me/9406282 /10362028 /10561771


*activate* *application* "SystemUIServer"

*activate* *application* "Finder"

*set* selFiles *to* {}

*tell* *application* "Finder" *to* *repeat* *with* i *in* (*get* selection *
as* *alias list*)

*set* *end* *of* selFiles *to* quoted form *of* POSIX path *of* i

*end* *repeat*

*set* text item delimiters *to* " "

*if* selFiles *is* *not* {} *then*

*do shell script* "qs " & selFiles

*else*

*do shell script* "qs ~/Desktop"

*end* *if*

Now this works fine from ASE and QS's first pane, *but* not as a trigger — 
with qs process hanging in the middle and no log at all.

-- 
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to