Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Custom jump list (taskbar button/icon menu)
Macro JumpList help
Copy      Help
;Creates custom jump list.
;Works on Windows 7 and later.
;A jump list is the menu that you see when you right click a taskbar button or a pinned taskbar icon, also by a pinned Start Menu icon.
;If you run this in QM, it adds the jump list to the QM taskbar button or pinned icon. If in exe - to your exe's button/icon.

;At first call Begin.
;There are several types of categories in jump lists:
;1. Tasks. It is a predefined category name. To add items, call AddItem for each item, then call AddAsTasks.
;2. Custom categories. To add items, call AddItem for each item, then call AddAsCategory. Repeat this for aech category, if need multiple categories.
;3. Frequent and Recent. They are auto-generated categories. Use AppendKnownCategory.
;Finally call End.


#compile "__JumpList"
JumpList x
;create Tasks
x.AddItem("run me")
x.AddItem("run me with CL" "" "v")
x.AddItem("-") ;;separator
x.AddItem("Macro1668" "qmcl.exe" "M ''Macro1668''" "$qm$\macro.ico" "Runs Macro1668 in QM")
;create custom category Programs
x.AddItem("Notepad" "$system$\notepad.exe")
x.AddItem("Calculator" "$system$\calc.exe")
;create custom category Documents
x.AddItem("QM Help" "$qm$\qm2help.chm" "" "hh.exe")
;Append Frequent and Recent.

Attached Files
.qml   JumpList.qml (Size: 4.56 KB / Downloads: 627)

Forum Jump:

Users browsing this thread: 1 Guest(s)