08-26-2004, 03:43 PM
You can run iexplore, open web page and wait for window in single statement. To insert this statement, use "Run program" or "Open document" dialog.
To log in, you can use keyboard and mouse. This can be recorded. To create more reliable macro, you can use html element actions. To insert statements, use "Find html element" and "Html element actions" dialogs.
Then find some html element in next page, and so on. Don't forget to specify wait time (eg 15) in "Find html element" dialog. Red text is what you must change.
To log in, you can use keyboard and mouse. This can be recorded. To create more reliable macro, you can use html element actions. To insert statements, use "Find html element" and "Html element actions" dialogs.
[color=blue]int [/color]hwnd
[color=blue]run [/color]"iexplore.exe" "http://www.kligerweiss.net" "" "" 0xA00 "Internet Explorer" hwnd
2
HtmlSetText("[color=red]my name[/color]" "INPUT" "name" "" hwnd 0 0 0x221 1)
HtmlSetText("[color=red]password[/color]" "INPUT" "pass" "" hwnd 0 1 0x221)
HtmlClick("INPUT" "login" "" hwnd 0 2 0x421)
Then find some html element in next page, and so on. Don't forget to specify wait time (eg 15) in "Find html element" dialog. Red text is what you must change.