I have been running this OSD menu for a couple of years (maybe more), and it has worked perfectly. But after a round with Windows update (where I amongst other things figured I'd upgrade to IE7, since it has been on the market long enough to iron out the worst bugs) it suddenly doesen't work as it should. Yes, it appears. The problem is that if there's any other program open, it will hide behind it. In fact I think it's playing hide and seek with me, because if I minimize the active program I can barely get a glimpse of the menu before it disappears behind the next open program. I have to minimize programs all the way down to the desktop to see them! Any idea what this is? Here's the code:
I have simplified and change it before I put it here. It contains functions that are slightly sensitive for my network setup...Code:local function ShowResult (number,text) if number == 1 then Variable = "Something" gir.TriggerEvent ('trigger',18) elseif number == 2 then Variable = "Spomething other" gir.TriggerEvent (''trigger',18) elseif number == 3 then Variable = "Something other again" gir.TriggerEvent (''trigger',18) end end local menu = osd.Classes.Menu:New ({Callback = ShowResult}) menu:Initialize () win.MoveMouse(545, 215, 0, nil) menu:Show (true,"Menu",{ '1', '2', '3', })


Reply With Quote