Set Magnifier at Windows 10

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
AmDeG 11
Posts: 388
Joined: 28 Nov 2013, 11:42

Set Magnifier at Windows 10

20 Oct 2017, 14:42

I would like to set the magnifier at NumPadAdd so that then by pressing again I can zoom in

but I could not find a way
User avatar
Nextron
Posts: 1391
Joined: 01 Oct 2013, 08:23
Location: Netherlands OS: Win10 AHK: Unicode x32

Re: Set Magnifier at Windows 10

21 Oct 2017, 08:16

If you want to do the reverse as well that exits magnifier once you zoom back to the starting point, you can try this:

Code: Select all

NumpadAdd::Send % (Magnifycount++)||(Magnifycount:=1) ? "#=" : "#="
NumpadSub::Send % (Magnifycount>0)&&(--Magnifycount) ? "#-" : "#{Esc}"
AmDeG 11
Posts: 388
Joined: 28 Nov 2013, 11:42

Re: Set Magnifier at Windows 10

22 Oct 2017, 01:01

it is not exiting for me with this last code

also this is not working for me: (why?)

Code: Select all

NumpadMult::Send #{Esc}
teadrinker
Posts: 4326
Joined: 29 Mar 2015, 09:41
Contact:

Re: Set Magnifier at Windows 10

22 Oct 2017, 03:38

Try this:

Code: Select all

NumpadSub::  Magnify("minus")
NumpadAdd::  Magnify("plus")
NumpadMult:: Magnify("escape")

Magnify(mode)  {
   static WM_SYSCOMMAND := 0x112, SC_CLOSE := 0xF060
   hwnd := WinExist("ahk_class MagUIClass")
   if (mode = "escape")
      SendMessage, WM_SYSCOMMAND, SC_CLOSE,,, ahk_id %hwnd%
   else  {
      if !hwnd
         Run, Magnify.exe /fullscreen
      else if (mode = "plus")
         Send #=
      else
         Send #-
   }
}
AmDeG 11
Posts: 388
Joined: 28 Nov 2013, 11:42

Re: Set Magnifier at Windows 10

22 Oct 2017, 23:41

great!
is it possible to allow that it zooms a bit smaller than 50% : for example 25%?
teadrinker
Posts: 4326
Joined: 29 Mar 2015, 09:41
Contact:

Re: Set Magnifier at Windows 10

22 Oct 2017, 23:53

I'm not sure, think it's not possible. For me zoom values are multiple of 100.
teadrinker
Posts: 4326
Joined: 29 Mar 2015, 09:41
Contact:

Re: Set Magnifier at Windows 10

23 Oct 2017, 00:01

I was wrong, Magnify window has settings, so you could choose zoom interval.
AmDeG 11
Posts: 388
Joined: 28 Nov 2013, 11:42

Re: Set Magnifier at Windows 10

23 Oct 2017, 00:14

sorry I don't get your point
can you set up your great script to increase and decrease by 25% and not by 50%?
teadrinker
Posts: 4326
Joined: 29 Mar 2015, 09:41
Contact:

Re: Set Magnifier at Windows 10

23 Oct 2017, 08:35

No, I meant you may set zoom interval manually in the options window.
AmDeG 11
Posts: 388
Joined: 28 Nov 2013, 11:42

Re: Set Magnifier at Windows 10

23 Oct 2017, 08:51

ok I realized that, thanks so much!

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: jameswrightesq and 406 guests