Skip to content

Instantly share code, notes, and snippets.

@benPesso
Created May 26, 2014 08:21
Show Gist options
  • Save benPesso/8191c3d7dd24416fbc76 to your computer and use it in GitHub Desktop.
Save benPesso/8191c3d7dd24416fbc76 to your computer and use it in GitHub Desktop.
-- Cornerstone executes the script as: /path/to/tool <original> <modified>
-- INSTRUCTIONS:
-- 1. Save this AppleScript somewhere.
-- 2. Click on the "Install Command Line Tools..." item in the BeyondCompare menu.
-- 3. Open Cornerstone's preferences and go to the "General" tab.
-- 4. Click on the drop-down next to "external compare tool" and choose "Other script...".
-- 5. Navigate to where this script was saved and select it.
-- 6. Enjoy!
--
on run argv
do shell script "/usr/local/bin/bcomp \"" & item 1 of argv & "\" \"" & item 2 of argv & "\""
end run
@chyingp
Copy link

chyingp commented Oct 16, 2014

Hi, I did step by step as what you mentioned above, but got the following error message, any help?

An error occurred and the operation could not be completed.

Additional infomation:
Cornerstone: v2.7.10(15,101)-64bit
Beyond Compare:Version 4.0 (build 18847)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment