PDA

View Full Version : LUA OSD not working after Windows Update!



Mastiff
December 13th, 2007, 06:11 AM
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:


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',
})
I have simplified and change it before I put it here. It contains functions that are slightly sensitive for my network setup...

Mastiff
December 15th, 2007, 12:22 AM
Nobody? I hoped somebody had an idea what was going on here.

Rob H
December 15th, 2007, 01:36 AM
I tried to look at the latest updates to see if there was anything obvious that might cause this but couldn't see anything.

I do seem to remember a message recently from someone else complaining that their volume OSD wasn't appearing on top either. But that was with Vista.

FWIW my XP is (I think) up to date, and I don't get this issue here.

Mastiff
December 15th, 2007, 01:39 AM
Thanks for answering, Rob! I have Windows 2003 on the affected computer, set up as a workstation (more stable than XP and it runs faster). It has got to be something with focus stealing, but TweakUI doesn't help (you can allow apps to steal focus there).

Mastiff
December 17th, 2007, 12:18 AM
I see the volume OSD, but I don't see my OSD menu. Any idea what the difference is? This is a function I really need! I have to roll back to IE 6, and I'd rather not do that because so many webpages are optimized for IE7 now, and they are quite a bit slower on IE6. Please, please, please!