Internet Explorer get/set zoom/text size

Get help with using AutoHotkey and its commands and hotkeys
User avatar
jeeswg
Posts: 2649
Joined: 19 Dec 2016, 01:58
Location: UK

Internet Explorer get/set zoom/text size

01 Jan 2017, 17:20

ZOOM:
I've basically got this all working with one query.
I'm able to get and set the zoom via ExecWB, and retrieve the value (e.g. 0 gives 10%, -1 gives 1000%).
And have a workaround method to get the zoom without ExecWB.
But have been unable to get the zoom via ExecWB (when you don't also set the zoom),
because it seems to require a null in one of the parameters,
and if it's possible it would be useful to understand how to do that.

TEXT SIZE:
A bigger problem is getting the text size.
I haven't managed to get this to work:
vTextSize := 0
;vTextSize := 4
oWB.ExecWB(19, 2, vTextSize, 0)

Code: [Select all] [Expand] [Download] GeSHi © Codebox Plus

User avatar
jeeswg
Posts: 2649
Joined: 19 Dec 2016, 01:58
Location: UK

Re: Internet Explorer get/set zoom/text size

18 Aug 2017, 12:04

A script to get the zoom percentage in Internet Explorer.

Code: [Select all] [Expand] [Download] GeSHi © Codebox Plus



A script to set the zoom percentage (and text size) in Internet Explorer.

Code: [Select all] [Expand] [Download] GeSHi © Codebox Plus



A related script:
Internet Explorer get element under cursor (show borders, show text) (any zoom percentage) - AutoHotkey Community
https://autohotkey.com/boards/viewtopic.php?f=6&t=29458

Return to “Ask For Help”

Who is online

Users browsing this forum: Osprey, Yahoo [Bot] and 64 guests