ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

DonationCoder.com Software > Post New Requests Here

IDEA: resize fonts in Internet Explorer 6 as easily as in Firefox

(1/2) > >>

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

brotherS:
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:
 :-[ Sorry, had multiple windows open... Try the version posted now.

Skrommel

brotherS:
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 :(

Navigation

[0] Message Index

[#] Next page

Go to full version