Jump to content

IE Embedded - Zoom


Recommended Posts

Hi, I would like to know how I can use zoom with IE embedded.

HotKeySet ("{F5}", "_ZoomIn")
HotKeySet ("{F6}", "_ZoomOut")

$object = _IECreateEmbedded ()
GUICreate("test", @DesktopWidth / 2 , @DesktopHeight / 2 )
$object_ctrl = GUICtrlCreateObj($object, 1,1, @DesktopWidth / 2, @DesktopHeight /2)
GUISetState()

_IENavigate($object, "myurl")

Func _ZoomIn()
    $title = _IEPropertyGet($object, "title")
    ControlSend($title, "", $object, "^{NUMPADADD}")
EndFunc

Func _ZoomOut()
    $title = _IEPropertyGet($object, "title")
    ControlSend($title, "", $object, "^{NUMPADSUB}")
EndFunc
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...