// // DEL_TOOLS_KEYS.VDM Ch.Ziemski 14.07.2001 // // deletes all Key assignments of the {TOOLS} menu // // Requires VEDIT 5.21.1 // #103=Buf_Num Buf_Switch(Buf_Free(EXTRA)) Out_Ins() Key_List() // list the keys into the buffer Out_Ins(CLEAR) BoF while(! AT_EoF){ // Search("[MENU]T", NOERR+ERRBREAK) // search all {TOOLS} menu keys // and {TOOLS} menu hotkey itself // -or- Search("\[MENU\]T.", REGEXP+NOERR+ERRBREAK) // search only all {TOOLS} menu keys // (leave {TOOLS} menu hotkey alone) Reg_Copy_Block(103, Cur_Pos, EoL_Pos) // get the entry Key_Delete(@(103), REVERSE) // and delete it's assignment Line(1, NOERR) } Buf_Empty(OK) Buf_Switch(#103)