Anyone here own Word and want to beta it? I don't have any of the docs written, so it would help if you're familiar with the office IDE, but it's not necessary, as I do try to hide most of that, and over time will be hiding more.
What I do basically is a conversion/import from VBS to VBA (meant to be done only once), and then you do all your development in VBA, with a "save as VBS" feature I've added to convert back for running it. I'll add another trivial command for starting a new project in VBA without any conversion. I do the equivalent of the WE object Doug just described with 3 additional "WITH" commands at the start of each function/sub (for the application, speech, and script objects). You have to add types to your variable declarations, and they're stripped off during the "save as VBS" stage. Chip -----Original Message----- From: Jeff Bishop [mailto:[email protected]] Sent: Monday, February 01, 2010 8:57 PM To: [email protected] Subject: RE: VBSEdit Yes Chip, that would be an awesome thing to put out there. -----Original Message----- From: Chip Orange [mailto:[email protected]] Sent: Monday, February 01, 2010 6:55 PM To: [email protected] Subject: RE: VBSEdit It's amazing coincidence sometimes! Really, I've got a full window eyes script IDE working using the Word VBA IDE, all automated so you have everything, even the script object, and it keeps up with variable types, and gives you VBA/VBS context help, and of course an object browser. I was going to release it in the next week. Oh well, this is better just because you don't have to own Word, but I may still release it for those who do own Word. Chip -----Original Message----- From: Doug Geoffray [mailto:[email protected]] Sent: Monday, February 01, 2010 3:06 PM To: [email protected] Subject: Re: VBSEdit This really is cool and I think gives people that feel of an IDE. The only thing you have to do is get used to us using the derived Window-Eyes application object for it to work. Meaning instead of just doing: Speak "hello world" you would have to do something like we.speech.speak "hello world" Which technically is more accurate but more work <grin>. So at the beginning of all your scripts you would just do: Set we CreateObject("WindowEyes.Application") And then use we from there for everything. The ONLY thing you would not have access to using with the we object you just got is the Script object. Script is not derived from Application, it is just given to an embedded script. So if you wanted something from the Script object you would have to just use Script.blah which would of course work fine but VBSEdit wouldn't know anything about it. Also, what is so cool about VBSEdit is that even if you use variables for objects it somehow keeps up. So things like: Set mySpeech = we.Speech mySpeech. Would bring up the autocomplete to what the Speech object has. This is very fast and more accurate then Aaron's FrameWork script. FrameWork can't keep up with variable object names. I think if we clean up the few things that don't speak (like the tooltip that pops up) this really takes the wind out of not being a full IDE, at least for writing the script in the editor. Doug Aaron Smith wrote: > It's pretty simply, really. Just add a reference to the wineyes TLB > (under Tools -> References), then create a WindowEyes.Application object. > > So do something like: > > Set we = CreateObject("WindowEyes.Application") > > Then, if you type w e period, the autocomplete list will pop up > showing all properties and methods of the Application object. The only > thing that doesn't seem to auto speak is the tooltip that pops up when > you start filling in the parameters of a method, for example. But that > could be scripted pretty easily, I beta. > > Aaron > > On 2/1/2010 2:01 PM, Jeff Bishop wrote: >> How did you do that? >> ----- Original Message ----- From: "Aaron Smith" <[email protected]> >> To: <[email protected]> >> Sent: Monday, February 01, 2010 11:57 AM >> Subject: VBSEdit >> >> >>> Greetings, >>> >>> We recently played with an editor called VBSEdit, which is one of >>> the few designated VBScript editors. It's very accessible, and has a >>> built-in Intellisense/Autocomplete-like feature. We even added the >>> Window-Eyes OM to the autocomplete list for grins, and it actually >>> worked pretty well. So if you're interested, check it out: >>> >>> http://www.vbsedit.com/ >>> >>> Aaron >>> >>> -- >>> Aaron Smith >>> Product Support Specialist * Web Development GW Micro, Inc. * 725 >>> Airport North Office Park, Fort Wayne, IN 46825 >>> 260-489-3671 * gwmicro.com >>> >>> 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. >>> >> >
