DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: IDEA: resize fonts in Internet Explorer 6 as easily as in Firefox  (Read 17,315 times)

brotherS

  • Master of Good Ideas
  • Honorary Member
  • Joined in 2005
  • **
  • Posts: 2,261
Hi :)

In Firefox it's possible to just use Ctrl and + to increase or Ctrl and - to decrease the font size. Since I can't always use Firefox instead of IE I would like to have the same Firefox comfort in IE (at least for size changes). I think it would be possible with AutoHotkey since it's possible using the mouse or the menu already - but just not with one or two keys :-/

Looking forward to answers!
Thank you.

skrommel

  • Fastest code in the west
  • Developer
  • Joined in 2005
  • ***
  • Posts: 933
    • Participated in NANY Challenge Twice
    • Coding Snacks
Re: IDEA: resize fonts in Internet Explorer 6 as easily as in Firefox
« Reply #1 on: September 20, 2005, 07:54 PM »
:) The simplest solution is to just send the keys to activate the Fonts menu. Be shure to change the first lines of the script to make it work in your language!

Code
;FontSize.ahk
; Changes the displayed font size in Internet Explorer by pressing Ctrl+ and Ctrl-
;Skrommel @2005

#SingleInstance,Force
SetTitleMatchMode,2
titletext=Internet Explorer   ;text to look for in the caption of the active window
counter=3          ;current menu position=Normal
menulines=5        ;number of menu lines
menukeys=!vn       ;keys to press to activate the Font menu

^+::
IfWinActive,%titletext%,
{
  counter+=1
  If counter>%menulines%
    counter=%menulines%
  Send,%menukeys%{Up %counter%}{Enter}
}
Else
  Send,^+
Return

^-::
IfWinActive,%titletext%,
{
  counter-=1
  If counter<1
    counter=1
  Send,%menukeys%{Up %counter%}{Enter}
}
Else
  Send,^-
Return

To use it, download and install AutoHotkey from www.autohotkey.com. Save the script as FontSize.ahk and doubleclick to run.

For other scripts and tools, check out my home page at Skrommel Software.

Skrommel
« Last Edit: September 20, 2005, 08:26 PM by skrommel »

brotherS

  • Master of Good Ideas
  • Honorary Member
  • Joined in 2005
  • **
  • Posts: 2,261
Re: IDEA: resize fonts in Internet Explorer 6 as easily as in Firefox
« Reply #2 on: September 20, 2005, 08:20 PM »
Couldn't get it to work, I got an
Code
" Down" is not a valid key name within a hotkey label.
error  :(

Also, what do you think about putting info like

Code
;FontSize.ahk
;Changes the displayed font size in Internet Explorer by pressing Ctrl+ and Ctrl-
;Skrommel @2005
at the beginning and end of your scripts? Would be better if users copy it in their biiig AutoHotkey.ini :)


Thank you.

skrommel

  • Fastest code in the west
  • Developer
  • Joined in 2005
  • ***
  • Posts: 933
    • Participated in NANY Challenge Twice
    • Coding Snacks
Re: IDEA: resize fonts in Internet Explorer 6 as easily as in Firefox
« Reply #3 on: September 20, 2005, 08:26 PM »
:-[ Sorry, had multiple windows open... Try the version posted now.

Skrommel

brotherS

  • Master of Good Ideas
  • Honorary Member
  • Joined in 2005
  • **
  • Posts: 2,261
Re: IDEA: resize fonts in Internet Explorer 6 as easily as in Firefox
« Reply #4 on: September 20, 2005, 08:41 PM »
Hmm, I tried to understand what you script actually does (and failed :( )

Should I really be able to just Ctrl and + to enlarge the fonts/view? I tried to customize it to my IE version/language (third menu --> seventh entry there has the 5 size options), but failed again :(
Thank you.

skrommel

  • Fastest code in the west
  • Developer
  • Joined in 2005
  • ***
  • Posts: 933
    • Participated in NANY Challenge Twice
    • Coding Snacks
Re: IDEA: resize fonts in Internet Explorer 6 as easily as in Firefox
« Reply #5 on: September 20, 2005, 08:49 PM »
:) Here's my Maxthon settings:

titletext=Maxthon
counter=3
menulines=5
menukeys=!vn

And for a Norwegian Internet Explorer:

titletext=Internet Explorer
counter=3
menulines=5
menukeys=!vt

Skrommel

NoWhereMan

  • Participant
  • Joined in 2005
  • *
  • Posts: 23
Re: IDEA: resize fonts in Internet Explorer 6 as easily as in Firefox
« Reply #6 on: October 27, 2005, 07:17 PM »
Ctrl + mouse wheel?
You could simulate wheel up & down.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: IDEA: resize fonts in Internet Explorer 6 as easily as in Firefox
« Reply #7 on: October 27, 2005, 07:46 PM »
as nowhereman says, ctrl+mousewheel will change font size. it works!

Original address: https://www.donationcoder.com/forum/index.php?topic=950.0