Hi Jonathin:
Chip has covered it pretty well if you mean comparing some .net language
like vb.net or c# to VbScript.
There are allot more powerful features he has not touched on but for the
most part he is spot on when it comes to creating scripts for WindowEyes.
As for properties and methods it is actually a snap using the Properties
Window.
You might just bring up the default Form1.vb file in forms designer by
hitting enter on it.
Then hit f4 and the Properties Window comes up which is a dialog.
There is a list of properties for the Form like Name, BackgroundColor,
ForgroundColor, Size and the like you can arrow up and down having the
default values read to you.
To change the name arrow to the Name property tab and type the new name in
the text box.
To set the form size arrow to the size property and enter something like
1024, 768.
Now close  the property Window, close the designer and hit f5 to run the
project and your new form is displayed.
The Properties Dialog works for all controls from the Form object to any
objects you might drop on it like Buttons, TextBoxes or ListBoxes and so on.
When you select one of these controls from either inside the designer or
from the list of available controls for a form, also in the designer and you
find it by tabbing to it, the appropriate properties for that control are
displayed in the table of properties and you can set them as mentioned above
so you don't have to worry about memorizing properties and the same for
event handlers...
You  simply pick a control as above, still in the Properties Dialog and tab
to the list of events available for that control, hit enter on the event you
want and the event handlers are setup for you automatically and you can type
your code into these handlers.
Now there are other steps but it is really just about that simple.
Setting and wiring up Properties and Event Handlers is a snap and takes only
a few seconds.
I can create a new vb.net Windows project, drop a button on a form, set a
few properties, add an event handler, test the button click event and save
the new project in 2 minutes or less.
So actually setting properties and wiring up event handlers is a very, very
fast thing to do so long as they are .net objects.
Working with the WindowEyes Object Model is diferent since it is a non .net
Platform object and must be accessed using COM Interop.
I think if you have to ask you likely would be better off sticking with
something like vbScript or trying to find help learning Pytho which may be a
really nice choice for external WindowEyes scripts.

Rick USA


_______________________________________________
Any views or opinions presented in this email are solely those of the author 
and do not necessarily represent those of Ai Squared.

For membership options, visit 
http://lists.window-eyes.com/options.cgi/scripting-window-eyes.com/archive%40mail-archive.com.
For subscription options, visit 
http://lists.window-eyes.com/listinfo.cgi/scripting-window-eyes.com
List archives can be found at 
http://lists.window-eyes.com/private.cgi/scripting-window-eyes.com

Reply via email to