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

Re: [Clip] SetErrorLabel odd behavior

Expand Messages
  • h.paulissen@facburfdcw.unimaas.nl
    Hi dhayes, ... Yes it does... If you use SAVE AS you will need to get rid of the old file...so I made this clip (it will clearify your problem and you can use
    Message 1 of 7 , Jun 29, 2001
    • 0 Attachment
      Hi dhayes,


      >
      > Thanks. I will try the "save as" command as a work around. Looks
      > like a bug in the NTP Clip Interpreter.

      Yes it does...

      If you use SAVE AS you will need to get rid of the old file...so I
      made this clip (it will clearify your problem and you can use rename
      in another way (without error)...

      H=RenameDoc
      ^!Set %Name%=^?{New Name(.txt)=123456|_abcdef}.txt;%1or0%=^?
      {GoTo=Keyboard Version^=1|_Clipversion^=0}
      ^!SetErrorLabel ErrorEncountered
      ^!If "^%1or0%" = "1" Keyboard ELSE RenameDoc
      :Keyboard
      ^!Keyboard ALT+D R #^%Name%# ENTER
      ^!Goto EXIT
      :RenameDoc
      ^!RenameDoc ^%Name%
      ^!Goto EXIT
      :ErrorEncountered
      ^!Sound SystemAsterisk
      ^!Continue Error Occured


      Have a good weekend!

      Hugo
    Your message has been successfully submitted and would be delivered to recipients shortly.