-
-
Notifications
You must be signed in to change notification settings - Fork 631
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GetActiveObject fails when running with uiAccess #2483
Comments
Comment 1 by mdcurran on 2012-06-24 23:39 |
Comment 2 by peter on 2012-06-27 08:21
Traceback (most recent call last): This is a new error, which i receive only in portable version of nvda.
Traceback (most recent call last): So the same error as in installed version. |
Comment 3 by peter on 2012-06-27 10:07 |
Comment 4 by mdcurran on 2012-06-27 19:59 |
Comment 5 by peter on 2012-06-28 07:22 |
Comment 6 by jteh on 2013-01-09 01:19 |
Comment 8 by jteh on 2013-01-09 02:56 |
Comment 9 by jteh on 2013-03-01 03:21 |
Comment 10 by mdcurran on 2013-03-05 00:16 |
Comment 11 by jteh on 2013-03-08 06:25 |
Comment 12 by travisroth on 2013-08-19 16:44 |
Comment 13 by jteh on 2013-08-19 23:24 |
Hi. I'm still getting this issue on 2017.3 NVDA version when trying to use OLE, log follows: ERROR - RPC process 17360 (nvda_slave.exe) (08:22:56.081): |
OK. I'm now getting the OLE object if NVDA is run as administrator. So it works. |
Should this ticket be closed? |
Reported by peter on 2012-06-22 13:18
Hi developers,
I am trying to write a support script for lambda math editor (http://www.veia.it)
The currently opened document in the editor can be accessed through com object and here is my problem (may be that this is a python bug, not nvda bug).
from comtypes.client import GetActiveObject
a=GetActiveObject("Lambda.LambdaObj")
and here the error:
Traceback (most recent call last):
File "", line 1, in
File "comtypes\client__init__.pyo", line 180, in GetActiveObject
File "comtypes__init__.pyo", line 1165, in GetActiveObject
File "_ctypes/callproc.c", line 936, in GetResult
WindowsError: -2147221021 Operation unavailable
I tryed this on nvda python console and it seems that the problem is somewhere in python, because everything perfectly works in other languages. i tryed this in autohotkey:
asdf := ComObjactivate("lambda.lambdaobj")
a:=asdf.getline(2425818,-1,-1)
msgbox %a%
and everything worked which means that comobj instance of running lambda is in the table and is accessible for other applications.
Do you have any idea?
Thank you!
Blocking #2568
The text was updated successfully, but these errors were encountered: