codeman1 Posted December 2, 2009 Share Posted December 2, 2009 Hey So i need to send STRG(CONTROL) and the "+" Key to the internet-Explorer. To make the font size bigger. I hope you can help me, i tried different version but i didnt have success Big Thanks in advanced! The Script: Run("C:\Program Files\Internet Explorer\iexplore.exe http://xxx.xxx.xxx.xxx/nagios/cgi-bin/status.cgi?hostgroup=all&style=overview&noheader") WinWait("Verbindung herstellen", "") $title = WinGetTitle("Verbindung herstellen", "") WinWait($title) Sleep(1000) WinWait($title) Send("XXX") sleep(1000) Send("{TAB}") sleep(1000) Send("XXX") sleep(2000) Send("{ENTER}") sleep(2000) $title = WinGetTitle("Current Network Status", "") WinMove($title, "", 1600, 0, 1201, 1212) Link to comment Share on other sites More sharing options...
Mat Posted December 2, 2009 Share Posted December 2, 2009 use IE.au3, it will give you a lot more control over what happens when, and will also allow you to do it hidden. Mat AutoIt Project Listing Link to comment Share on other sites More sharing options...
99ojo Posted December 2, 2009 Share Posted December 2, 2009 (edited) Hi, this may help you: #include <IE.au3> start () Func start() Local $starturl = "xxx.xxx.xxx.xxx/nagios/cgi-bin/status.cgi?hostgroup=all&style=overview&noheader" $oIE = _IECreate () _IENavigate($oIE,$starturl) ;MsgBox (0,"", "Send...") send ("{CTRLDOWN}") send ("+", 1) send ("{CTRLUP}") EndFunc ;-)) Stefan P.S: Edit to show intension of Mat. @codeman1: See helpfile _IE* functions for IE controls. Edited December 2, 2009 by 99ojo Link to comment Share on other sites More sharing options...
codeman1 Posted December 2, 2009 Author Share Posted December 2, 2009 hello mat can you help me with the IE.au3 that file has 4000 lines. What feature i need from this script? Link to comment Share on other sites More sharing options...
99ojo Posted December 2, 2009 Share Posted December 2, 2009 See my edited post above. ;-)) Stefan Link to comment Share on other sites More sharing options...
codeman1 Posted December 2, 2009 Author Share Posted December 2, 2009 Thanks Stefan Works perfect! 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