Jump to content
Sign in to follow this  

IE embedded with zoomout

Recommended Posts



I have done a Gui with some button and when one of this if pressed, it sends a command to a serial switcher that change the videoserver input signal. The video server has a html page with the video embedded (like

I found a script in the forum that take a webpage but there are 2 problems:

1- i can't take only the portion that start at 200pixel top and 400pixel left but it takes the whole page and it starts from the top left corner

2- the page is too big and I need to reduce it to 50%.

It's possible?

This is the script that i have found for include a webpage

#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#include <IE.au3>

; Opt("GUIResizeMode", $GUI_DOCKBORDERS)

$GUI = GUICreate("Simple Web Browser", 500, 500, -1, -1, BitOR($WS_SIZEBOX  , $WS_CLIPCHILDREN) , $WS_EX_COMPOSITED)  ;, BitOR($WS_SIZEBOX,$WS_THICKFRAME, $WS_TABSTOP)
$object = _IECreateEmbedded ()
$object_ctrl = GUICtrlCreateObj($object, -2, -2, 500, 500)
_IENavigate($object, "http://www.autoitscript.com/forum/")
$object.document.body.scroll = "no"
$object.document.body.style.border = "0px"

While 1
    $msg = GUIGetMsg()
        Case $msg = $GUI_EVENT_CLOSE



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  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.