Zer0Velocity Posted March 11, 2011 Posted March 11, 2011 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
Zer0Velocity Posted March 11, 2011 Author Posted March 11, 2011 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.
JohnOne Posted March 11, 2011 Posted March 11, 2011 I think the zoom thing is coded in the browser rather than the IE object itself, so I'm doubtful this is going to work. But note that I'm far from correct 100% of the time. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now