Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
help my computer is alive and runnign apps all alone!! is it
#13
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.

Code:
Copy      Help
[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.


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)