Search found 9 matches

by carfan
Mon Aug 27, 2007 5:32 am
Forum: Technical / Scripting
Topic: Advice on Windows/Dialog Handling
Replies: 11
Views: 11629

Can someone help me out on the my 2nd last post? Thanks.
by carfan
Mon Aug 20, 2007 8:59 am
Forum: Technical / Scripting
Topic: Advice on Windows/Dialog Handling
Replies: 11
Views: 11629

Why would it go haywire? Your DoOpenWindow subroutine should clear it and then the script can continue as normal. The subroutine will fire whenever such a matching dialog again pops up. So it works every time, not just the first time. System dialogs can be captured by simply pressing CTRL-C on them...
by carfan
Mon Aug 20, 2007 6:10 am
Forum: Technical / Scripting
Topic: Advice on Windows/Dialog Handling
Replies: 11
Views: 11629

Ok, I have explored "View System Windows" and able to find the error dialog "Error" of class "#32770 as caption. It has a static that says "Unable to connect to device". Back to the issue. Code roughly as follows: // Set focus on the application Setfocus>App // Click Fetch Status Button MouseMove>10...
by carfan
Sun Aug 19, 2007 7:09 am
Forum: Technical / Scripting
Topic: Advice on Windows/Dialog Handling
Replies: 11
Views: 11629

If you cannot predict *when* these dialogs appear and therefore need to clear them whenever they appear, use OnEvent to create an event handler. Use a WINDOW_OPEN event handler. See OnEvent in the help and/or search this forum for OnEvent. Thanks for advice. I tried out OnEvent with WINDOW_OPEN. On...
by carfan
Sat Aug 18, 2007 3:07 pm
Forum: Technical / Scripting
Topic: Advice on Windows/Dialog Handling
Replies: 11
Views: 11629

Thanks for the advice so far. To be more precise, the app is connect to a serial device. There can be a number of exceptions after clicking "Fetch Status" in the app Main. (Case 1) In normal case, a "Status" window will appear and give the status report. (Case 2) However, if the serial device is not...
by carfan
Sat Aug 18, 2007 4:14 am
Forum: Technical / Scripting
Topic: Advice on Windows/Dialog Handling
Replies: 11
Views: 11629

Do the error messages pop up in the same locations every time? Are all error message window_titles the same? How many different type of error messages do you expect may appear? 1. same location 2. yes, same dialog title but different message in the dialog. 3. at most 3 different types that may appe...
by carfan
Sat Aug 18, 2007 1:04 am
Forum: Technical / Scripting
Topic: Advice on Windows/Dialog Handling
Replies: 11
Views: 11629

Advice on Windows/Dialog Handling

Can anyone advise how I can best handle the following situation? I am in a window application (APP) main screen and I trigger a particular function. Another windows (providing that function) pops out. Now, if there is any exception(s), one or more error dialogs (with OK button) may appear. These dia...
by carfan
Mon Aug 13, 2007 9:19 am
Forum: General Discussion
Topic: Pointers to Form Entry/Validation Guides/Example
Replies: 1
Views: 4704

Pointers to Form Entry/Validation Guides/Example

Hi, Can any experts here provide some useful links/guides that will help me to read up and learn automation of form data entry/validation? Dealing with extracting data from database and auto inputing into web form via listbox, textbox, checkbox etc. I am using macro scheduler 9.1. Thanks in advance.
by carfan
Mon Aug 13, 2007 3:38 am
Forum: Technical / Scripting
Topic: Finding Text on HTML page - identifying X,Y coordinates
Replies: 13
Views: 42855

Using FireFox instead of IE

How can I get it to work using FireFox instead of IE?
Can I replace InternetExplorer.Application with "Firefox.Application"
Where can I find a name list of "qualified" applications that can be created using CreateObject?
Set IE = CreateObject("InternetExplorer.Application")

Thanks.
Sign up to our newsletter for free automation tips, tricks & discounts