topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Monday March 18, 2024, 9:03 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

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

brotherS

  • Master of Good Ideas
  • Honorary Member
  • Joined in 2005
  • **
  • Posts: 2,260
    • View Profile
    • Donate to Member
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!

skrommel

  • Fastest code in the west
  • Developer
  • Joined in 2005
  • ***
  • Posts: 933
    • View Profile
    • 1 Hour Software by skrommel
    • Donate to Member
Re: IDEA: resize fonts in Internet Explorer 6 as easily as in Firefox
« Reply #1 on: September 20, 2005, 02: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!

;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, 03:26 PM by skrommel »

brotherS

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

Also, what do you think about putting info like

;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 :)



skrommel

  • Fastest code in the west
  • Developer
  • Joined in 2005
  • ***
  • Posts: 933
    • View Profile
    • 1 Hour Software by skrommel
    • Donate to Member
Re: IDEA: resize fonts in Internet Explorer 6 as easily as in Firefox
« Reply #3 on: September 20, 2005, 03: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,260
    • View Profile
    • Donate to Member
Re: IDEA: resize fonts in Internet Explorer 6 as easily as in Firefox
« Reply #4 on: September 20, 2005, 03: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 :(

skrommel

  • Fastest code in the west
  • Developer
  • Joined in 2005
  • ***
  • Posts: 933
    • View Profile
    • 1 Hour Software by skrommel
    • Donate to Member
Re: IDEA: resize fonts in Internet Explorer 6 as easily as in Firefox
« Reply #5 on: September 20, 2005, 03: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
  • *
  • default avatar
  • Posts: 23
    • View Profile
    • Donate to Member
Re: IDEA: resize fonts in Internet Explorer 6 as easily as in Firefox
« Reply #6 on: October 27, 2005, 02:17 PM »
Ctrl + mouse wheel?
You could simulate wheel up & down.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: IDEA: resize fonts in Internet Explorer 6 as easily as in Firefox
« Reply #7 on: October 27, 2005, 02:46 PM »
as nowhereman says, ctrl+mousewheel will change font size. it works!