i am not at my machine with the actual code to hand but i have several Applescripts that do this using something like "get terms from Quicksilver" which passes the content of the pane to the Applescript so should be entirely possible
On 5 Oct 2011, at 05:05, yoose wrote: > Thank you for the reply Jon, DiffMerge has a command line interface > and provides a shell script wrapper. I wrote a sample Applescript that > will read two file names and feed it to the shell script. Is there a > way for the AppleScript file to read the filenames from the first pane > in quicksilver if I use the Current Selection proxy? > > On Oct 4, 11:44 am, Jon Stovell <[email protected]> wrote: >> FileMerge doesn't make itself available to open files directly from >> the Finder (and therefore not from Quicksilver, either), so you can't >> use Open With... to send a file to FileMerge. The Compare Files >> service it offers is useless, since it does nothing different from >> simply launching the application. >> >> I'm not familiar with DiffMerge. If it offers a service, you may be >> able to use that. If it provides an AppleScript dictionary, you could >> write your own script to send two files to it, and then save that >> script as an action in QS. >> >> On Oct 3, 3:48 am, yoose <[email protected]> wrote: >> >> >> >> >> >> >> >>> Hi, I would like to select two files and use a trigger to open and >>> compare them either in FileMerge or DiffMerge. I brought them into >>> quicksilver and did an open with, but it did not work. I also tried >>> the FileMerge services from finder with two files selected, but all it >>> does is open the FileMerge dialog without the files selected. Any one >>> have any ideas? Thanks.
