### X Northern Captain User Menu

XNC Index: Overview Installation Panels Commands VFS_support Bookmark Extensions User Menu Hot Keys | X Northern Captain has User Menu, which allow store and execute User commands by pressing on menu items or associated hot key. XNC read User menu file (.xnc.mnu) at startup and then activate it and shows contents when 'Menu'[F2] key is pressed. After that user can choose menu item and activate it with mouse or by hot key. User menu file is simple text file where each line define user command, and hot key for it. Format of the user menu string: #Comments begin with this sign Hot_key: Menu Item Name: command Hot_key: Menu Item Name: command %s Hot_key: Menu Item Name: command %s/%s Hot_key: Menu Item Name: command %p(PWName) where: Hot_key - any key which will be associated with command. For example: 'F3', 'x', 'Escape'. command - one or more command(s) separated with spaces. %s - Current file without path. %s/%s - Current file with full path. Command run in opposite panel directory with full path filename of current panel. %p(PWName) - Shows Prompt Window with 'PWName' in Window title, waits input and then execute command with this input. To add/edit User menu file choose in upper menu 'Option' then 'Edit Menu file'.

Author Leonid V. Khramov
leo@pop.convey.ru
St-Petersburg
Russia
1997