Announcement

Collapse
No announcement yet.

How to compare scripts

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    How to compare scripts

    Can anyone suggest a way to compare 2 versions of a script, which will then show the differences.

    I have actinicextras.js for 2014 which has modifications and everything works fine.

    Sellerdeck have given me another version of actinicextras to resolve a problem, which it does, but it in turn damages so much more on the site.

    So what I am after is finding what I have changed, and what Sellerdeck have changed so that they can all be incorporated into the same file.

    Any help would be appreciated.
    Regards

    Jason

    Titan Jewellery (Swift Design)
    Zirconium Rings
    Damascus Steel Rings

    #2
    Google "text file comparison software". There's freeware-a-plenty. This one saves you actually installing anything... https://www.diffchecker.com
    Andy Barrow
    http://www.codepath.biz
    T: 0161 870 6355

    Accredited Sellerdeck development partners since 2004.
    Data import / export and catalog management plug-ins.

    Comment


      #3
      I use WinMerge. I think it was Norman who first recommended it.
      Reusable Snore Earplugs : Sample Earplugs - Wax Earplugs - Women's Earplugs - Children's Earplugs - Music Earplugs - Sleep Masks

      Comment


        #4
        Definitely WinMerge (http://winmerge.org/). It even lets you compare all the files in a pair of folders. Here's my little batch file that compares all the .js, .pl and .pm files in two sets of sub-folders:
        Code:
        set wmdir=C:\Program Files\WinMerge
        if not exist "%wmdir%\WinMergeu.exe" set wmdir=C:\Program Files (x86)\WinMerge
        "%wmdir%\winmergeu.exe" /s /f "*.pl *.pm *.js" "V14.0.2 PFXA Original" "V14.0.1 PBIA Original"
        Note - a bit more complex than it needs to be as I've made sure it will work in some old XP VM's I keep hanging around.

        It has a nice Windows Explorer integration too. Select any two files and right-click gives a WinMerge option.
        Norman - www.drillpine.biz
        Edinburgh, U K / Bitez, Turkey

        Comment


          #5
          Many thanks all. WinMerge worked a treat.
          Regards

          Jason

          Titan Jewellery (Swift Design)
          Zirconium Rings
          Damascus Steel Rings

          Comment

          Working...
          X