Jump to content

Recommended Posts

Posted

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
Posted

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.

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
  • Recently Browsing   0 members

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