Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Error windows vista
#1
Hello Gintaras:

-I am using windows Vista Home Premium SP1
(QM version 2.4.3.4)

I get the following error when I click on the "Text" icon ("a hand with a pen") from Quick macros
Error in <open ":292: /441">Acc.__FromPointDPI: cannot load type library.

This is the function where it is

function x y

Same as FromXY, but with many objects works correctly on Win8.1+ in DPI-scaled windows.
Still does not work correctly with many objects, eg almost all Windows controls and window parts, but works in IE, FF, Chrome, many other non-Windows objects.


if _winver>=0x603 and DpiIsWindowScaled(win(x y))
get IUIAutomationElement from point and convert to Acc. It fails with many objects, but works in web browsers.
UIA.CUIAutomation u._create ;<<---At this line
UIA.tagPOINT p.x=x; p.y=y
UIA.IUIAutomationElement e=u.ElementFromPoint(p)
UIA.IUIAutomationLegacyIAccessiblePattern k=e.GetCurrentPattern(UIA.UIA_LegacyIAccessiblePatternId)
a=k.GetIAccessible; elem=0
out a
if(a) ret
err+

this=acc(x y 0)
err end ERR_OBJECTGET


I will try to reinstall, I will notify if I get something different.


Thank you.

Best Regards.
#2
Thank you very much.

Fixed in QM 2.4.3.5. Download: http://www.quickmacros.com


Forum Jump:


Users browsing this thread: 1 Guest(s)