Jump to content

Alterlife

Members
  • Posts

    6
  • Joined

  • Last visited

Alterlife's Achievements

Seeker

Seeker (1/7)

1

Reputation

  1. Ouch! That's too bad . I did a few google searches for "Chrome COM", "Webkit COM" etc, there's nothing that I can find... I guess this means I'm sticking to automating ie! Thanks for your help!
  2. I would like to know how I can get the equivalent of ie.au3's functionality for chrome... and I'm lost. I've got the classname for the HTML Rendering window, but how do I access the controls created under it by each page? I don't even know where to start, so any thing to get me on my way would be useful.
  3. Success :-) AutoItSetOption("WinTitleMatchMode", 2) $handle = WinGetHandle("[CLASS:Chrome_WindowImpl_0; TITLE:Getting the current chrome url]") If @error Then MsgBox(4096, "Error", "Could not find the correct window") Else ; alert the present url MsgBox(4096, "", ControlgetText($handle, "", "Chrome_AutocompleteEditView1" )) ;n redirect the browser ControlSetText ($handle, "", "Chrome_AutocompleteEditView1", "http://alterlife.org/") ControlSend ($handle, "", "Chrome_AutocompleteEditView1", "{enter}") MsgBox(4096, "Error", "The browser has been redirected to http://alterlife.org/.") EndIf
  4. I have a chrome window open. I need to be able to attach to it and get the current URL being browsed, I also need to be able redirect the browser to another URL. How would I go about doing this?
  5. Wow, that's exactly what I was looking for. Thanks a bunch . Happy New Year.
  6. I'm writing a helper script for myself with autoit to fill in a unit test template. In the process I need to take a screenshot of a selected area. How can I recognize the mouse-drag select operation? I basically need some way to get the coordinates of the selected rectangle.
×
×
  • Create New...