Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Is it possible to assign an owner to a Toolbar started from a key trigger
#2
it's certainly possible if i understand you correctly

a couple examples
#1
toolbar is attached to whatever window is active when Ctrl+F1 is pressed

Trigger CF1     Help - how to add the trigger to the macro
Code:
Copy      Help
int hwnd = win()
mac "ToolBar1" hwnd

#2
this one waits till you left click a window after pressing Ctrl+F1

Trigger CF1     Help - how to add the trigger to the macro
Code:
Copy      Help
OnScreenDisplay "Move mouse to desired window and left click to attach toolbar to it" -1 0 0 "" 0 0 8
wait 0 ML
int hwnd = win(mouse)
mac "ToolBar1" hwnd


Messages In This Thread
RE: Is it possible to assign an owner to a Toolbar started from a key trigger - by Kevin - 12-02-2020, 12:44 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)