Sign in to follow this  
Followers 0
Zer0Velocity

IE Embedded - Zoom

3 posts in this topic

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

Share this post


Link to post
Share on other sites



I'm really stuck at this guys, I'm thinking it could be a gui problem where the createobj isn't resizing inside the gui when key is pressed. Any suggestions, I would be really grateful.

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