Advertisement
Guest User

Menu Opetions

a guest
Aug 11th, 2014
416
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.60 KB | None | 0 0
  1. Menu structure
  2. [begin] (label) indicates the begin of the menu, label is optional.
  3. [end] indicates the end of the menu or submenu, required.
  4. [submenu] (label) inserts a submenu into the menu, must be closed by [end]
  5. [include] {filename} This will continue reading items from the indicated file.
  6. [nop] (label) inserts an inactive item with an optional label
  7. [sep] inserts a separator (same as [nop] with no label)
  8.  
  9. Inserting submenus
  10. [path] (label) {folder} inserts an submenu with a folder from your computer as specified
  11. [path] (label) {folder1|folder2} merges two folders into a single menu
  12. [insertpath] {folder} inserts items from a folder into the current menu
  13. [stylesmenu] (label) {folder} insert a submenu with stylefiles from a folder
  14. [stylesdir] {folder} insert style files from a folder into the current menu
  15. [config] (label) inserts the configuration menu
  16. [workspaces] (label) insert the workspaces menu
  17. [tasks] (label) insert a menu with the current tasks
  18. [icons] (label) insert a menu with the currently minimized tasks
  19. In addition to normal paths like {c:/program files/...}, a number of items may be used to indicate a special shellfolder. See shellfolders.rc for examples.
  20.  
  21. Blackbox commands
  22. [style] (label) {filename} insert an item to apply a new style.
  23. [toggleplugins] (label) show/hide plugins
  24. [aboutplugins] (label) display 'about plugins' info
  25. [aboutstyle] (label) display 'about style' info
  26. [gather] (label) gather windows in current workspace
  27. [reconfig] (label) re-read the configuration files
  28. [restart] (label) reload plugins
  29. [exit] (label) exit blackbox
  30.  
  31.  
  32. Edit commands
  33. [edit] (label) {file} edit the specified 'file'
  34. [editstyle] (label) edit the current style
  35. [editmenu] (label) edit menu.rc
  36. [editlugins] (label) edit plugins.rc
  37. [editextensions] (label) edit extension.rc
  38. [editblackbox] (label) edit blackbox.rc
  39. The 'edit' commands use the 'blackbox.editor', which is specified in extensions.rc. For example:
  40.  
  41. blackbox.editor: bbnote.exe
  42. Shutdown commands
  43. [logoff] (label) logoff (*)
  44. [suspend] (label) suspend the computer (*)
  45. [hibernate] (label) hibernate (*)
  46. [reboot] (label) reboot the computer (*)
  47. [shutdown] (label) shutdown the computer (*)
  48. [lockworkstation] (label) lock workstation
  49. [switchuser] (label) fast user switch
  50. [exitwindows] (label) display standard shutdown dialog
  51. (*) You can add -q(uiet) for no confirmation. For example
  52.  
  53. [logoff -q] (Log Out)
  54. External commands
  55. [run] (label) show the windows 'run' dialog
  56. [exec] (label) {command} run a program (*) or execute a broam.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement