Home | Blog | Software | Reviews and Features | Forum | Help | Donate | About us
topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • September 04, 2015, 01:49:14 PM
  • Proudly celebrating 10 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 7128 times)

brotherS

  • Master of Good Ideas
  • Honorary Member
  • Joined in 2005
  • **
  • Posts: 2,122
    • View Profile
    • Donate to Member
IDEA: resize fonts in Internet Explorer 6 as easily as in Firefox
« on: September 20, 2005, 12:55:19 PM »
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: 886
    • 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:07 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: [Select]
;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
Please stop by my site at  1 Hour Software by skrommel  for downloads and more info.
« Last Edit: September 20, 2005, 03:26:13 PM by skrommel »

brotherS

  • Master of Good Ideas
  • Honorary Member
  • Joined in 2005
  • **
  • Posts: 2,122
    • 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:44 PM »
Couldn't get it to work, I got an
Code: [Select]
" Down" is not a valid key name within a hotkey label.
error  :(

Also, what do you think about putting info like

Code: [Select]
;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: 886
    • 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:59 PM »
 :-[ Sorry, had multiple windows open... Try the version posted now.

Skrommel
Please stop by my site at  1 Hour Software by skrommel  for downloads and more info.

brotherS

  • Master of Good Ideas
  • Honorary Member
  • Joined in 2005
  • **
  • Posts: 2,122
    • 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:58 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: 886
    • 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:43 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
Please stop by my site at  1 Hour Software by skrommel  for downloads and more info.

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:52 PM »
Ctrl + mouse wheel?
You could simulate wheel up & down.

mouser

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