Applescript action -- third pane not appearing

18 views
Skip to first unread message

fffred

unread,
Jun 13, 2013, 7:56:23 PM6/13/13
to blacktree-...@googlegroups.com
Hi,

I have been trying to make a very simple applescript that concatenates the strings in panes 1 an 3, then run it as shell script.

using terms from application "Quicksilver"
    on process text command
with args              
       
do shell script (command & args)
       
return result
   
end process text

    on
get argument count
       
return 2
   
end get argument count

    on
get direct types
       
return {"NSStringPboardType"}
   
end get direct types

    on
get indirect types
       
return {"NSStringPboardType"}
   
end get indirect types
end using terms

The "get argument count" handler should allow for a third pane to appear, but it does not. I'm using 1.0.0 (4000).

Any ideas why?

Thanks


Patrick Robertson

unread,
Jun 13, 2013, 11:57:49 PM6/13/13
to blacktree-...@googlegroups.com
Are you sure you're placing the script in ~/Library/Application Support/Quicksilver/Actions?

3rd pane AppleScripts only work for AppleScript action. Once you've placed the file there you will need to restart Quicksilver

--
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 blacktree-quicks...@googlegroups.com.
To post to this group, send email to blacktree-...@googlegroups.com.
Visit this group at http://groups.google.com/group/blacktree-quicksilver.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Frédéric Perez

unread,
Jun 14, 2013, 3:30:33 AM6/14/13
to blacktree-...@googlegroups.com
Yes I did put the file in that directory. I also restarted Quicksilver and it did not work. Does it work for you?

Thanks for your help


2013/6/13 Patrick Robertson <robertso...@gmail.com>

--
You received this message because you are subscribed to a topic in the Google Groups "Quicksilver" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/blacktree-quicksilver/L6e7Dz2G7hY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to blacktree-quicks...@googlegroups.com.

Patrick Robertson

unread,
Jun 14, 2013, 3:54:37 AM6/14/13
to blacktree-...@googlegroups.com
I've just tried to compile the script, and it looks like you have a typo in it.

The last line should be:

"end using terms form"

I changed this and can confirm the script works for me

Frédéric Perez

unread,
Jun 14, 2013, 7:04:27 PM6/14/13
to blacktree-...@googlegroups.com
In fact I did not have the typo in my file. So that was not the reason.

I found that it did work after I opened the file in Applescript editor, then save it again. Apparently it does not work by writing the script in another text editor.


2013/6/14 Patrick Robertson <robertso...@gmail.com>
Reply all
Reply to author
Forward
0 new messages