Same file in both windows.
- Hi All,
The issue of opening the same file in both windows has come up on the NTB list.
For anyone who would like to open the same file in both windows, here is a
little Clip which allows you to do that hassle free.
(It uses smoke and mirrors but it works just fine)
It actually makes a temporary copy of the file under a different filename
in the left window, makes it read only, then deletes it from the hard
drive.The original document will be open in the right window. When you
close the document in the left window it is gone.
I use it as is but certainly it can be changed several ways to suit your needs.
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 Editor Clipbook Pop Up menu (Right Click in Editor Clipbook Window)
or from the TOOLS|CLIPBOOK Menu.
______[Copy below this line]_______
H="Edit Copy in Second Window"
;Get Name of current document
;Extract path info
;extract filename without path info
;Text to insert in old file name
^!Set %copy%="Original Copy of "
;Build new file name
^!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
;Move cursor to top of file
;Save the new document to the old document name
^!Save AS ^%oldfilename%
;Delete the "Original Copy of " old document disk file
_____[Copy above this line]______