Jump to content

Jetta

Members
  • Posts

    5
  • Joined

  • Last visited

Everything posted by Jetta

  1. i totally agree with Arnautov. even there is a simpler way, we may need to do similar ways for other tasks.
  2. BrettF, your solution works fine. FYI, I just want to create a script just as the way we do it manually (execute IE, put the url address and press enter). Arnautov, thanks again for your advise.
  3. Arnautov, thanks for providing a solution. but should the following line ControlSend("Internet Explorer", "", "Edit1", "www.cnn.com") be ommited as it will be done by the following codes: Send ( "{F6}") Send ( "{BS}" ) Send ( "www.cnn.com" ) Send ( "{ENTER}" ) Strangely, in few tries, the script will just open my default home page instead of cnn.com. any ideas why?
  4. Many thanks for providing the solution. But, sorry for my stupidity, just curious why I can't code using just the following functions : run, winwait and send/controlsend? thanks.
  5. Hi, I just started to do scripting using AutoIT. I wanted to create simple script which automate opening a web site. The script is able to run IE and stop. It did not continue to open the web site. Below is the script: Run ("C:\Program Files\Internet Explorer\iexplore.exe") WinWaitActive ( "Internet Explorer") ControlSend("Internet Explorer", "", "Edit1", "www.cnn.com") Send ( "{ENTER}" ) Anyone can help me to advise what is wrong with the script? Thanks, Jetta
×
×
  • Create New...