Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
own right click actions on Quick Launch icons
#1
is it possible to block right click on quick launch icons,
so that own macros can be used ?
it seems that with acc one can identify each single icon.


Handle: 65646
Text: Quick Launch
Class: ToolbarWindow32
Program: Explorer (C:\WINDOWS\Explorer.EXE)
Styles: 0x56018B4D 0x80 (child)
Rectangle: left=59 top=0 width=151 height=24
id: 0
Parent: 65642
pi
#2
Macro Macro253
Trigger: #Rh1 /EXPLORER /FF_Macro253
Code:
Copy      Help
mes _command

Filter function FF_Macro253
Code:
Copy      Help
;/
function# iid FILTER&f

if(!f.hwnd2) ret
if(!wintest(f.hwnd "" "Shell_TrayWnd")) ret
if(!childtest(f.hwnd2 "Quick Launch" "ToolbarWindow32" f.hwnd)) ret

Acc a=acc(mouse); err ret
if(!a.elem) ret ;;not on button
str s=a.Name
mac "Macro253" s
ret -1
#3
thanks !!!
pi


Forum Jump:


Users browsing this thread: 1 Guest(s)