Code: Select all
m := Menu()
mainmenu := Menu()
submenu1 := Menu()
submenu2 := Menu()
m.Add("urls", mainmenu)
mainmenu.Add("url1", submenu1)
submenu1.Add("This should always populate on the Right Regardless where i open and adjust it itself without setting coordinates", MenuHandler1)
mainmenu.Add("url2", submenu2)
submenu2.Add("https://www.autohotkey.com/", MenuHandler1)
MenuHandler1(item, *) {
Run item
}
#z::m.Show
DllCall("SystemParametersInfo", "uint", 0x001C, "uint", 1, "int", 0, "uint", 0)
i followed this post but it did not work viewtopic.php?style=7&t=95327
Like this even if i open to the corner of the window
instead of