[Date Prev][Date Next][Subject Prev][Subject Next][ Date Index][ Subject Index]

Re[2]: Edit multiple copies of a file -Reply



04/23/97 10:35am ≫> ≪Has anyone coded their .kbd to put two files in horizontally split windows via a keystroke? I guess you could do it with the window n,n,n,n command, or is their an easier way?≫ Here are some simple programs that will work for XyWrite for Windows. They are coded as type 5 frames hsplit.pgm: MW ah vsplit.pgm MW av Unsplit.pgm MW WF BC d MW=0 XC Translation: hsplit.pgm divides the screen horizontally between two windows. vsplit.pgm divides the screen vertically between two windows. Unsplit restores the screen to a situation where each window is maximized, and all subsequent windows are opened maximized. MW is a function call (Microsoft Windows?) that issues Windows window management functions. It takes optional arguments "ah" (arrange horizontal) and "av" (arrange vertical). To create these, call a blank file to the screen. Issue the command PFUNC MW, and the MW function call appears in the file. Type "av" or "ah", as need be. For the Unsplit program, use PFUNC MW, PFUNC WM, PFUNC BC, d MW=0, PFUNC XC Note: this works ONLY for XyWin, not XyDos. Steve Crutchfield