Loading ...
Sorry, an error occurred while loading the content.

14403Re: [Clip] MD5 checksum clip : Resolved

Expand Messages
  • rpdooling
    Nov 15, 2005
    • 0 Attachment
      Dear hrs:

      Cool!

      I tried all three. Works great.

      Thanks.

      rpd

      ps - I've also been using that Fav_Clips download. Nifty.

      --- In ntb-clips@yahoogroups.com, hsavage <hsavage@p...> wrote:
      >
      > thefrank wrote:
      > > yes. it seems that I used Text function and should have used File
      > > function for the correct, and matching, MD5 checksum result.
      > >
      > > I still think it is a good method, especially when used correctly ;)
      > >
      > > what a great list this is. I still get the email digest, but have not
      > > contributed much in the last 3 or 4 years. maybe I remember why
      now...
      > >
      > > regards to all,
      > >
      > > tf
      >
      > tf, rpd, Alan C., Lotta,
      >
      > Although I haven't used the MD5 Checksum either I became curious and
      > wrote a clip to handle most situations.
      >
      > With text files, the file can be loaded in NTP with text selected, or
      > can be searched for, loaded and calculated using the wizard. All 3
      > options available with the clip will return the same MD5 checksum
      > number. With option 1 you needn't select a filename in the second
      entry
      > point.
      >
      > To calculate the checksum with a non-text file the appropriate
      method to
      > use should be the 3rd, (WHOLE_FILE) option.
      >
      > This clip makes it very easy to calculate the checksum for either type
      > file for serious use or familiarization with checksums.
      >
      > The ^!Set %md5%= line may get wrapped in email, I isolated it to
      make it
      > easier to correct if it does get wrapped.
      >
      > Try it, feel free to alter it any way you like.
      >
      > H="GetMD5 ID"
      > ;_Modified-Updated~Created
      > ;_20051114_3:57:08p_hsavage@p...
      > ^!ClearVariables
      > ^!SetWizardTitle CHECKSUM MD5 ID
      > ^!SetWizardLabel Browse And Select File
      > ;
      > ^!Set %md5%=^?[File or Text
      ChecksuM==SELECTED_TEXT|FILE_TEXT|_WHOLE_FILE]
      > ;
      > ^!IfSame 'SELECTED_TEXT' '^%md5%' SELECTED_TEXT
      > ^!SetWizardLabel Browse And Select File
      > ^!Set %filename%=^?[(T=O)GET MD5 CHECKSUM for=C:\]
      > ^!Goto ^%md5%
      > :SELECTED_TEXT
      > ^!SetClipboard ^$GetMD5Text(^$GetSelection$)$
      > ^!Goto END
      > :FILE_TEXT
      > ^!SetClipboard ^$GetMD5Text(^$GetFileText(^%filename%)$)$
      > ^!Goto END
      > :WHOLE_FILE
      > ^!SetClipboard ^$GetMD5File(^%filename%)$
      > :END
      > ^!Info ^%md5^%nl%^$GetClipboard$
      >
      > ºvº
      > 05.11.14
      > hrs > hsavage@p...
      >
    • Show all 8 messages in this topic