Hello,
I isolated the issue but it makes no sense. If I add a delay before the
routine it fails. I tried this in both a thread using a sleep and in a non
thread using DelayMBS:
DelayMBS(7.0)
Dim WindowList(-1) as Dictionary = CGWindowMBS.GetWindowListInfo(16,0)
Dim WindowName as string
for each d as Dictionary in WindowList
WindowName = d.Lookup(CGWindowMBS.kCGWindowName, "")
If instr(1,WindowName,"Play") > 0 then MsgBox "I found the window"
next
if I remove the delay it works fine. What could be the problem here?
Thanks
_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
[email protected]
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info