I'm trying to add a custom context menu item that will call TextWrangler's twdiff program, but I can't get it to work. Any help or a working example would be greatly appreciated. Here's what I've been trying for the command (all on one line):
"Macintosh HD:Applications:TextWrangler.app:Contents:Helpers:twdiff" "%item_path%" "%item_path2%"
Adding a diff command (Mac)
- Posts: 4
- Joined: 12 May 2017
- Site Admin
- Posts: 7285
- Joined: 9 Dec 2007
Why are you using ":" as path separator?
- Posts: 4
- Joined: 12 May 2017
I copied and pasted the path out of my Dreamweaver preferences dialog, and that's how it was formatted there. I've tried substituting slashes for colons in the FFS custom context menu command line, but still no joy.
- Site Admin
- Posts: 7285
- Joined: 9 Dec 2007
FreeFileSync expects the native path format. In this case the "Macintosh HD" needs to dropped:
/Applications/TextWrangler.app/Contents/Helpers/twdiff
- Posts: 4
- Joined: 12 May 2017
Tried that with and without the leading slash. Still stumped.
- Posts: 4
- Joined: 12 May 2017
Is there any way to see if there's a logged error message of some sort from FFS when I try to execute that command?
- Site Admin
- Posts: 7285
- Joined: 9 Dec 2007
Just test the command in the macOS Terminal.
- Posts: 2
- Joined: 11 Nov 2018
Attention to the "quotes"!
> these yes "
> these no “
Open with TextWrangler
"/Applications/TextWrangler.app/Contents/Helpers/edit" "%local_path%"
Compare with TextWrangler
"/Applications/TextWrangler.app/Contents/Helpers/twdiff" "%local_path%" "%local_path2%"
Open with TextWrangler
Compare with TextWrangler
> these yes "
> these no “
Open with TextWrangler
"/Applications/TextWrangler.app/Contents/Helpers/edit" "%local_path%"
Compare with TextWrangler
"/Applications/TextWrangler.app/Contents/Helpers/twdiff" "%local_path%" "%local_path2%"
Open with TextWrangler
"/Applications/TextWrangler.app/Contents/Helpers/edit" "%local_path%"
"/Applications/TextWrangler.app/Contents/Helpers/twdiff" "%local_path%" "%local_path2%"
- Posts: 2
- Joined: 11 Nov 2018
Attention to the "quotes"!
> these yes "
> these no “
Open with TextWrangler
"/Applications/TextWrangler.app/Contents/Helpers/edit" "%local_path%"
Compare with TextWrangler
"/Applications/TextWrangler.app/Contents/Helpers/twdiff" "%local_path%" "%local_path2%"
Open with TextWranglerCompare with TextWrangler"/Applications/TextWrangler.app/Contents/Helpers/edit" "%local_path%"
toni, 11 Nov 2018, 14:11"/Applications/TextWrangler.app/Contents/Helpers/twdiff" "%local_path%" "%local_path2%"
I updated from 10.11.6 El Capitan to 10.14.6 Mojave.
Now "Compare" no longer works.
Anyone have a solution?
(FreeFileSync versione 10.18 - 19.11.2019)
(TextWrangler version 5.5.2 (397016)