thanks Aaron and Ron; this is exactly what I had to do in the MS Office script, although I suspect the details will end up being different; that script is very specific to the way Office does things.
which reminded me, office allows you to add any com object to the list it works with, and it's VBA (very close to VBScript), so I just went and added the window-eyes .tlb to it's list, and created the following module within an office VBA code window; it works very well, although it won't autocomplete any VBScript variables you define since they don't come with a type. I'm thinking the notepad++ you mention would have to have the same issue. what if you wrote your script using VBA (specifying variable and function types), and there was a routine which stripped them off to produce the VBScript file when you wanted to run it? I'm going to run with that for now to see if ultimately it makes things easier or not. Chip ----------- Option Explicit Function sharedObjects(name As String) As Object End Function Sub WE_Main() ' window eyes script main body, function, or sub goes within the "WITH" statement below: With WindowEyes.Application End With End Sub ------------ -----Original Message----- From: Aaron Smith [mailto:aa...@gwmicro.com] Sent: Monday, January 18, 2010 9:34 AM To: gw-scripting@gwmicro.com Subject: Re: looking for script editor which will support intellisense for WE? You can activate Notepad++'s "intellisense"-like feature by pressing Control-Space on a context sensitive word. The problem with this feature is that, after the list of suggestions pops up, you have both a cursor and a highlight that navigates with the arrow keys. While the cursor doesn't move as you arrow, it's where Window-Eyes is paying attention to, meaning you just hear the line number repeated as you arrow up and down. You could write a script to resolve this. Watch for OnChildCreate with a ClassName of "ListBoxX" and make the arrow keys read the list. Perhaps that's something I'll work on, time permitting. Aaron On 1/18/2010 8:37 AM, Ron Parker wrote: > On 1/17/2010 11:11 PM, Chip Orange wrote: >> hi all, >> >> I'm getting really spoiled by intellisense at work (in MS Office >> VBA), and was wondering if there's an editor I can use for WE scripts >> which I can get to use intellisense for the WE application object? > > > Notepad++ ( http://notepad-plus.sourceforge.net/uk/site.htm ) is > supposed to have an autocomplete function that can be customized with > your own API list. I haven't tried to use it, so I'm not sure if it > helps you with the arguments like Visual Studio's intellisense does, > but I suspect that it doesn't. > -- To insure that you receive proper support, please include all past correspondence (where applicable), and any relevant information pertinent to your situation when submitting a problem report to the GW Micro Technical Support Team. Aaron Smith GW Micro Phone: 260/489-3671 Fax: 260/489-2608 WWW: http://www.gwmicro.com FTP: ftp://ftp.gwmicro.com Technical Support & Web Development