dumbeau / AutoHotPie

Radial menus in Windows, aka PIE MENYOOS!
MIT License
304 stars 16 forks source link

Pass the location the pie menu was opened as an argument. #151

Closed dumbeau closed 2 months ago

dumbeau commented 2 months ago

Use these keywords in the Run field to pass the location the initial pie menu was opened to a script:

"Your\AHK\Script.ahk" %PieOpenLocX% %PieOpenLocY%
; Script.ahk
Msgbox, Pie menu was opened at %A_Args[1]%, %A_Args[2]%.
exitapp

These coordinates are given in the context of: CoordMode, Mouse, Screen

image Added in v1.0.28