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

RE: [NTB] Help: Single Document, Multiple Pane, Possible?

Expand Messages
  • Eakin, George
    Hey, that s a smart one! Thanks for sharing the clip. George ... From: Jim Hall [mailto:jehall@jimbow.com] Sent: Thursday, January 25, 2001 06:57 PM To:
    Message 1 of 4 , Jan 26, 2001
      Hey, that's a smart one! Thanks for sharing the clip.


      -----Original Message-----
      From: Jim Hall [mailto:jehall@...]
      Sent: Thursday, January 25, 2001 06:57 PM
      To: notetab@egroups.com
      Subject: Re: [NTB] Help: Single Document, Multiple Pane, Possible?

      At 06:21 AM 1/25/01, you wrote:
      >I was wondering if there was any way to have a single document show
      >up in two (or possible more, although two is all I am really looking
      >for) side by side windows. I did some looking and could really see a
      >way to do it, and figured I ask here.

      The following clip will open a "READ ONLY" copy in the left window and an
      "EDITABLE" copy in the right window, thus making sure that you don't lose
      any info when saving files.

      The Clip below can be copied from this Post to the Windows Clipboard and
      Added to the Current Library using the "Add from Clipboard" Command found
      in the Clipbook Pop Up menu (Right Click in Clipbook Window) or from the

      ______[Copy below this line]_______

      Edit Copy in Second Window

      ;Get Name of current document
      ^!Set %oldfilename%=^$GetDocName$
      ;Extract path info
      ^!Set %path%=^$Getpath(^%oldfilename%)$
      ;extract filename without path info
      ^!Set %filename%=^$GetFileName(^%oldfilename%)$
      ;Text to insert in old file name
      ^!Set %copy%="Original Copy of "
      ;Build new file name
      ^!Set %newfilename%=^%path%
      ^!Append %newfilename%= ^%copy%
      ^!Append %newfilename%= ^%filename%
      ^!Save AS ^%newfilename%
      ;Make original copy read only
      ^!Keyboard Alt+D O
      ;Copy all text from file 1 in window 1
      ^!Toolbar Copy All
      ;Create file 2 and paste file 1 data to it
      ^!Toolbar Paste New
      ;Open second window with file 2 open in it
      ^!Keyboard Shift+Ctrl+W
      ;Move cursor to top of file
      ^!Keyboard Ctrl+Home
      ;Save the new document to the old document name
      ^!Save AS ^%oldfilename%
      ;Delete the "Original Copy of " old document disk file
      ^!DeleteFile ^%newfilename%

      _____[Copy above this line]______

      BTW if you haven't already done so, you might be interested in subscribing
      to some of the other NoteTab lists at the following:

      To Subscribe to or UnSubscribe from any of the following
      Mailing Lists send an empty post to the appropriate list(s):

      The NoteTab Basic List....... NoteTab-Subscribe@...
      The NoteTab Clips List....... NTB-Clips-Subscribe@...
      The NoteTab HTML List........ NTB-HTML-Subscribe@...
      The NoteTab Off-Topic List... NoteTab-OT-Subscribe@...
      NoteTab Announcements List... NTB-announcements-Subscribe@...
      The Mailbag Assistant List... MailBag-Subscribe@...
      The Album Express List....... Album-Express-Subscribe@...



      eGroups Sponsor


      www. .com

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