Sign in to follow this  
Followers 0
codeman1

Bigger FontSize at the Internet-Explorer

6 posts in this topic

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)

Share this post


Link to post
Share on other sites



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

Share this post


Link to post
Share on other sites

#3 ·  Posted (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 by 99ojo

Share this post


Link to post
Share on other sites

hello mat

can you help me with the IE.au3 that file has 4000 lines.

What feature i need from this script?

Share this post


Link to post
Share on other sites

See my edited post above.

;-))

Stefan

Share this post


Link to post
Share on other sites

Thanks Stefan

Works perfect! :)

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0