Jonathan,

GetObject is a native VBScript function. I'm curious, can you get access to the 
object from a stand-alone script, e.g. one which isn't hosted by Window-Eyes?

Steve


 --
Stephen Clower
Window-Eyes Product Support and App Development
 Ai Squared
725 Airport North Office Park
Fort Wayne, IN 46825
(802) 362-3612
www.aisquared.com<http://www.aisquared.com>
Sent from my phone.


On Oct 7, 2014, at 7:27 AM, "Jonathan C. Cohn" 
<jon.c.c...@gmail.com<mailto:jon.c.c...@gmail.com>> wrote:

I am having issues reproducing a GetObject() command I am using in a JAWS 
script to work in WindowEyes. In JAWS  GetObject(R”eflection.Session”). Note 
that in JAWS this takes just one argument. After invoking this command I can 
act directly with the scriptable objects of the current session. In VBS with 
WindowEyes the GetObject requires two parameters, where the second parameter 
appears to be equivalent to the parameter that JAWS uses.

If I use a null string for the first parameter then Reflection creates a new 
hidden window. If I use the path of the Reflections settings file then I get a 
new session to the host. If I leave the first parameter completely blank, I get 
back an ActiveX error.  What am I missing here?

Thanks in advance for any hints.Best wishes,

Jonathan




Reply via email to