heh. i'll see what i can figure out…

On Apr 12, 2013, at 6:34 PM, Jon Stovell <[email protected]> wrote:

> I expect so. It sounds like you are in the classic script hacker's position: 
> it's time to learn some ruby so you can make it do what you want. ;)
> 
> On Friday, April 12, 2013 4:44:45 PM UTC-4, paulw wrote:
> Thanks Jon. That doesn't work. The rubyscript uses this at the beginning:
> $SELECT_APP_PATH = "SelectAppDialog.app/Contents/MacOS/SelectAppDialog"
> 
> It looks like $SELECT_APP_PATH is the path of the file as sent by another 
> aspect of the Dropzone app. I was thinking of just copying the rubyscript to 
> Quicksilver's Actions folder and editing it so that $SELECT_APP_PATH reflects 
> whatever is in the first pane of QS. It seems like it ought to be simple: get 
> applescript to send the path to the RS some way or another?
> 
> Paul
> 
> On Apr 12, 2013, at 1:17 PM, Jon Stovell <[email protected]> wrote:
> 
>> Try this. It assumes that you can simply run the ruby script on the command 
>> line by specifying a file path to operate on. If that isn't true, this won't 
>> work. Of course, it might not work anyway, since I don't have Dropzone or 
>> know anything about how it functions. :)
>> 
>> using terms from application "Quicksilver"
>> 
>> on open files thefiles
>> 
>> set thefiles to thefiles as list --just in case it isn't already a list.
>> 
>> repeat with i from 1 to count thefiles
>> 
>> do shell script "/Applications/Dropzone.app/Contents/Resources/Destination 
>> Scripts/lib/installapp.rb " & posix path of item i of thefiles
>> 
>> end repeat
>> 
>> end open files
>> 
>> end using terms from
>> 
>> 
>> 
>> 
>> On Friday, April 12, 2013 10:16:19 AM UTC-4, paulw wrote:
>> Jon, thanks, I'll look into that option. I'm only a little bit familiar with 
>> Applescript.
>> 
>> On Wednesday, April 10, 2013 8:48:55 AM UTC-6, Jon Stovell wrote:
>> You could pretty easily create an action using AppleScript that simply 
>> passes files from QS's first pane to that ruby script for processing. See 
>> http://qsapp.com/wiki/AppleScripts#Write_your_own
>> 
>> On Wednesday, April 10, 2013 10:41:08 AM UTC-4, paulw wrote:
>> If anyone is familiar with Dropzone, there's an action it includes that 
>> installs apps—it unzips and opens dmg's, installs the app, ejects the dmg 
>> and trashes the dmg and/or zip. Very convenient.
>> 
>> I'd love to be able to use that Dropzone script (it's a ruby script) as a 
>> Quicksilver action. If you have Dropzone, it's located at 
>> /Applications/Dropzone.app/Contents/Resources/Destination 
>> Scripts/lib/installapp.rb
>> 
>> I tried installing it in ~/Library/Application Support/Quicksilver/Actions 
>> but it didn't work. N.B. I know nothing about Ruby.
>> 
>> Any ideas?
>> 
>> -- 
>> 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/Bnvt-LOnsKY/unsubscribe?hl=en.
>> To unsubscribe from this group and all its topics, 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.
>>  
>>  
> 
> 
> -- 
> 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/Bnvt-LOnsKY/unsubscribe?hl=en.
> To unsubscribe from this group and all its topics, 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.
>  
>  

-- 
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