https://bugs.documentfoundation.org/show_bug.cgi?id=170796
--- Comment #2 from Michael <[email protected]> --- I looked at this bug and read it through carefully: https://bugs.documentfoundation.org/show_bug.cgi?id=168409 However, I am lost. I saw, in Comment 11, this suggestion: The only change to the code in the initial description is changing accessiblecontext = element.RealInterface.AccessibleContext to accessiblecontext = element.RealInterface.getProperty("XAccessible") I'm not sure how I can use this in my code here: 'We get the position of the window because it might not be at the top left of the screen. oWindow = Doc.CurrentController.ComponentWindow oPosw = FindAccessibleRoot(oWindow.AccessibleContext).AccessibleContext.LocationOnScreen I tried changing AccessibleContext to getProperty("XAccessible") as below: oPosw = FindAccessibleRoot(oWindow.getProperty("XAccessible")).getProperty("XAccessible").LocationOnScreen But it fails with this: BASIC runtime error. Property or method not found: getProperty. Is there something else I have to declare? Please forgive me, because I hate to be a bother. This code was written by someone else 13 years ago, so I have no idea of how to change it as Comment 11 suggested. I have the feeling, from other comments in bug Id 168409 that what will work in version 26.2 might not work in earlier versions. I can handle that by having the macro select the code based on the version of LO that's running. In the meantime, I will give up for the day, or maybe go back to the previous version of LO. -- You are receiving this mail because: You are the assignee for the bug.
