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

18920Re: [NTB] Bug still not fixed? Clip fix, maybe.

Expand Messages
  • hsavage
    Feb 1, 2009
      Jeff Scism wrote:
      > Ugly Me wrote:
      >> ----- Original Message -----
      >> From: Jeff Scism
      >> To: notetab@yahoogroups.com
      >> Sent: Sunday, February 01, 2009 11:00 AM
      >> Subject: Re: [NTB] Bug still not fixed? and I FOUND IT!
      >>> There is also a clip made by Jody (miss him...)
      >> Speak for yourself. I think he had a dislike for me.
      >> Then again I was probably as much of a pest to him as I am right now.
      >>> that changes the
      >>> attributes on an entire directory of files.
      >> What I would need is to change the attributes of the files loaded,
      >> not in a directory.
      > They have to be LOADED from somewhere, unless you have them unsaved.


      I don't think this is a bug. I think it's working exactly as designed.

      Notetab recognizes if the file is a Unicode text file or UTF-8 Web page
      and makes it Read-Only, within NoteTab, upon loading.

      This doesn't necessarily mean the disk file is Read-Only also.

      I run into this now and then but until now it wasn't such a problem that it
      required writing a clip.

      I have written a clip now that should check all open files and those that
      are Unicode text files or UTF-8 Web pages should change status to allow
      editing. I haven't a very good way of testing this clip because I seldom
      run into a Unicode or UTF-8 Web page.

      I realize this is not the clips list but I'll insert the clip and CC this
      message to the clips list, which you can put into a clipbar, and the next
      time you have several files loaded you can run the clip on the open files.

      As I said, I can't reliably test it but, it should work.

      H="Change Loaded UniCodeFile Write-ability"
      ^!Set %docindex%=C:\Documents and Settings\User\desktop\emdoc.emd
      ^!SetScreenUpdate 0
      ^!Set %openfilenum%=^$GetDocCount$; %openfileindex%=0
      ^!Inc %openfileindex%
      ^!SetDocIndex ^%openfileindex%
      ; Changes the NoteTab Read-Only status if FileName
      ; is a Unicode text file or UTF-8 Web page
      ^!IfFileUnicode "^$GetDocName(^%openfileindex%)$" NEXT ELSE SKIP
      ^!KeyBoard Shift+Ctrl+R
      ; the next line would help if the disk file were read-only but I doubt
      that it is
      ; ^!SetFileAttr "^$GetDocName(^%openfileindex)$" -r
      ^!If ^%openfileindex% = ^%openfilenum% NEXT ELSE LOOP
      ^!SetDocIndex ^$GetDocIndex(^%docindex%)$

      ºvº SL_day# 032 - created 2009.02.01_23.14.12

      Life is a thirst.
      • Leonard Michaels

      € hrs € hsavage € pobox € com
    • Show all 2 messages in this topic