// // CLIPEDIT.VDM Christian Ziemski 16.02.2000 // 18.02.2000 // // Opens the text that is in the Windows' clipboard for editing. // Closing VEDIT writes the (modified) text back to the clipboard automagically. // // // Usage: // // For easier access create a shortcut with the command: // // C:\VEDIT\VPW.EXE -X CLIPEDIT.VDM CLIPEDIT.TXT // //============================================================================ // Old version with only Alt-X writing the text to the clipboard upon exiting // Key_Add("Alt-X", "[VISUAL EXIT] BS(1) Clip_Copy_Block(0,EoB_Pos) BQ(OK) exit", OK) BoF Del_Block(0,EoB_Pos) Clip_Ins(BEGIN) Win_Reserved('H',1,BOTTOM+NOBORDER) Win_Switch('H') Win_Color(48) Win_Clear() M(" Alt-X: copy the text back to the clipboard and close VEDIT ") WS(1) return