Darkane Posted February 2, 2012 Share Posted February 2, 2012 Hello, i don't understand how i can use the "ControlSend" command i wanted to use it on Firefox and i dont know how :/ i want that the script... While 1 Send("{F5}") Sleep(180000) WEnd ..will only run for firefox and not in the active window i hope somebody can help me Link to comment Share on other sites More sharing options...
chachew Posted February 2, 2012 Share Posted February 2, 2012 Im not too sure about FireFox, because i dont automate it but it should be similar to automating IEYou will have to attach to FF and then send commands to it. (ControlSend) Link to comment Share on other sites More sharing options...
Darkane Posted February 2, 2012 Author Share Posted February 2, 2012 okay, thanks and how i can send commands to it in my script ? i dont really know how controlsend works can u make an example ? :/ Link to comment Share on other sites More sharing options...
chachew Posted February 2, 2012 Share Posted February 2, 2012 F1 will open the help file in AutoIT. This example is straight out of the help docs ControlSend("[CLASS:Notepad]", "", "Edit1", "This is a line of text in the notepad window") Link to comment Share on other sites More sharing options...
Darkane Posted February 2, 2012 Author Share Posted February 2, 2012 so how i would do it im my script if i want do it to firefox ?ControlSend("[CLASS:Firefox]", "", "Edit1", "")While 1Send("{F5}")Sleep(180000)WEnd.. or how ? x: sorry im new on AutoIt Link to comment Share on other sites More sharing options...
Bert Posted February 2, 2012 Share Posted February 2, 2012 You don't use controlsend() with Firefox. You need to use the commands in FF.au3 to do what you need. Understand this is somewhat more advanced scripting so you may want to take AutoIt 1 2 3 (in the example scripts section of the forum) before you make the attempt. The Vollatran project My blog: http://www.vollysinterestingshit.com/ Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now