View Issue Details

IDProjectCategoryView StatusLast Update
0000080VisualDifferGeneralpublic2011-11-30 16:19
Reporterdgarratt Assigned Toadmin  
PrioritynormalSeverityminorReproducibilityN/A
Status closedResolutionno change required 
PlatformMacOSOSXOS VersionLion
Product Version1.2 
Summary0000080: New feature request
DescriptionWould it be possible to add Visual Differ context menu's to the standard OSX Finder so that you can "left click" the 1st file/folder to compare and choose "Select Visual Differ File/Directory Left" and then add a similar option to the right click menu so that it allows you to compare the 2nd file with the one you have selected with left click.

This would speed up a lot of "add hoc" one off comparisons - mainly on a file to file basis.
Steps To Reproducen/a
Additional InformationA similar "windows" :-( utility called Beyond Compare did this very well with extensions to the Explorer menus.
TagsNo tags attached.

Activities

admin

2011-11-25 12:49

administrator   ~0000064

Last edited: 2011-11-25 12:50

You can download an automator script doing what you need from

https://github.com/visualdiffer/scripts/downloads

The instructions (a simple readme) are available at

https://github.com/visualdiffer/scripts

I've tested it on Lion but it should work without problems also on Snow Leopard


I prefer to have a separated Automator script so I don't incurring in Apple MacAppStore rules violations

I will update the wiki at http://wiki.visualdiffer.com to list this script

dgarratt

2011-11-25 15:39

reporter  

2011-11-25_14-38-05.jpg (61,768 bytes)   
2011-11-25_14-38-05.jpg (61,768 bytes)   

dgarratt

2011-11-25 15:40

reporter   ~0000065

I have to admit to being only a humble java developer who has not had any experience with apple scripts. When I tried to load and run your script I get an error message (see image attached.)

Thanks
Dave

admin

2011-11-25 15:45

administrator   ~0000066

Last edited: 2011-11-25 15:46

The script isn't perfect, I suspect for some reason the temp file isn't deleted.

Please verify if on your home folder (/Users/<<Your login name>>/) there is the file visualdiffer_cmp, if it is present delete it and try again.

I suppose the script has a bug

EDIT: Try selecting tow files (or folders) on same window just to be sure it works

dgarratt

2011-11-25 15:49

reporter   ~0000067

Umm, the script ran without error after I deleted the file - but I cannot see any menu's within the finder popup window.

dgarratt

2011-11-25 15:55

reporter  

2011-11-25_14-55-24.jpg (56,908 bytes)   
2011-11-25_14-55-24.jpg (56,908 bytes)   

admin

2011-11-25 15:57

administrator   ~0000068

Last edited: 2011-11-25 15:59

You should see a menu Service like in screenshot

http://visualdiffer.com/mantis/file_download.php?file_id=9&type=bug

Have you installed the script double clicking it?

admin

2011-11-25 15:58

administrator  

dgarratt

2011-11-25 16:03

reporter   ~0000069

I downloaded you file into my downloads folder, double clicked it - which loaded it into the apple script editor and then clicked the run button.

admin

2011-11-25 16:08

administrator   ~0000070

Last edited: 2011-11-25 16:09

Ok I found the problem, under Lion the script is automatically installed but under Snow Leopard it must be copied by hand :(

You must copy "Compare with VisualDiffer.workflow" file inside the directory

/Users/<<your account>>/Library/Services

If the 'Services' directory doesn't exists you can create it

I'm sorry but I have only Lion and I've googled to understard why on SL installations doesn't work

BTW Running from inside Automator doesn't work

dgarratt

2011-11-25 16:30

reporter   ~0000071

Still no luck. I am running Lion but I don't know of any other way to run the script other than from the editor as I've not used applescript before.

One of the files i downloaded was a zip, do I unzip the workflow from that, and if so is that the only file I put in the services folder, in the root or in a subfolder ?

Sorry you are going to have to give me very basic instructions ?

Dave

admin

2011-11-25 16:44

administrator   ~0000072

Last edited: 2011-11-25 16:46

Sure I will give you all info you need.

I write a full todo list only for completeness

1. download zip from https://github.com/visualdiffer/scripts/downloads
2. unzip it and you have the file "Compare with VisualDiffer.workflow"
3. double click on it
4. Lion should ask "file comes from internet" you say continue
5. Lion should ask "install service or open in automator?" you click on install button
6. all done, now in finder under service menu you should see the new item

but if Lion doesn't ask to install you can copu the file manually so

4. with finder go to /Users/<<you account name>>/Library
5. Inside Library folder you should see a folder called Services
6. if the folder Services doesn't exists you can create it
7. copy the file "Compare with VisualDiffer.workflow" inside Service
8. all done, now in finder under service menu you should see the new item

Maybe the Library folder isn't visible from Finder (this is a new behaviour on Lion) so

5. open a Finder window and press Command+Shift+G (or from Finder menu Go -> "Go to Folder..."
6. a dialog appears where you can input the destination folder
7. type ~/Library and press enter

8. Inside Library folder you should see a folder called Services
9. if the folder Services doesn't exists you can create it
10. copy the file "Compare with VisualDiffer.workflow" inside Services folder
11. all done, now in finder under service menu you should see the new item


I hope this time my instructions cover all cases

dgarratt

2011-11-25 16:57

reporter   ~0000073

Success - sorry for being hard work !

Dave

admin

2011-11-25 17:01

administrator   ~0000074

You are welcome :)

Remember you can set a shortcut for services, Open Preference panel and search Service

Issue History

Date Modified Username Field Change
2011-11-24 16:14 dgarratt New Issue
2011-11-24 16:14 dgarratt Status new => assigned
2011-11-24 16:14 dgarratt Assigned To => admin
2011-11-25 12:49 admin Note Added: 0000064
2011-11-25 12:49 admin Note Edited: 0000064
2011-11-25 12:50 admin Note Edited: 0000064
2011-11-25 15:39 dgarratt File Added: 2011-11-25_14-38-05.jpg
2011-11-25 15:40 dgarratt Note Added: 0000065
2011-11-25 15:45 admin Note Added: 0000066
2011-11-25 15:46 admin Note Edited: 0000066
2011-11-25 15:49 dgarratt Note Added: 0000067
2011-11-25 15:55 dgarratt File Added: 2011-11-25_14-55-24.jpg
2011-11-25 15:57 admin Note Added: 0000068
2011-11-25 15:58 admin File Added: Schermata 11-2455891 alle 15.53.00.png
2011-11-25 15:59 admin Note Edited: 0000068
2011-11-25 16:03 dgarratt Note Added: 0000069
2011-11-25 16:08 admin Note Added: 0000070
2011-11-25 16:09 admin Note Edited: 0000070
2011-11-25 16:30 dgarratt Note Added: 0000071
2011-11-25 16:44 admin Note Added: 0000072
2011-11-25 16:46 admin Note Edited: 0000072
2011-11-25 16:57 dgarratt Note Added: 0000073
2011-11-25 17:01 admin Note Added: 0000074
2011-11-30 16:19 admin Status assigned => closed
2011-11-30 16:19 admin Resolution open => no change required