Zoomy zooming utility

Post your working scripts, libraries and tools for AHK v1.1 and older
User avatar
Bugz000
Posts: 93
Joined: 30 Sep 2013, 10:01

Zoomy zooming utility

18 Apr 2014, 11:33

Hey there

As a celebration on tidbits return home from hospital - i finally release a utility that i've been working on for the past year or two;

back in the day i had a small 19" CRT monitor on which i displayed 2048x1536 desktop resolution - writing was tiny, and i found skype was sometimes impossible to read

so i wrote a small 15-line long zooming utility to help me read as windows zooming utility didn't perform the way i wanted

since then i found out you could increase the font size on skype - so the program was no-longer needed
but i got carried away with the settings page and carried on adding and adding to my clunky old 15 line script until it's a full blown 2000 line+ zooming utility packed with intuitive functions and efficient programming - a collaboration between various people :)

Image


enjoy!

still a few features - PLEASE do suggest more features as this script has gone beyond ridiculous on how much time and effort i've put into it so let's make it truly worth the timewasting :p


22/10/2017
so i've had a lot of interest on this project, it appears a decent zooming utility is in high demand and the only good ones are monthly subscription, and let's just not talk about the built in windows one...
each time i come back to do work to this project it appears i have a line of people waiting for these new features, so i've got v8 with cursor capture, and 8.1 with buggy multi-monitor functionality (works well enough, just needs refining)
if you only have one monitor, use v8 :)
more updates in the pipeline!
many thanks to Linear_spoon for being einstein <3
as always, please suggest new features :)

Changelog:
V1
Birth of zoomy

v2-
added seperate settings utility
added coordinates for bounding boxes rather than text

v3-
included settings utility into program

v4-
added new UI for settings utility

v5-
collision detection
faster performance
settings save
first public release!

v6-
added inverted color and flipping

v7-
removed color effects and improved performance (will re-add later)

V8 (stable)-
added cursor capture support
https://pastebin.com/Kf9MKN5v

v8.1-
added multi monitor support (buggy - works fine if you have two monitors same res and aligned properly, will be fixing this properly but for now it's "functional" :p )
https://pastebin.com/YtJHBMyT

todo:
Relative/absolute coord toggle for output
configurable coords for persistent box
Configurable hotkeys for all functions
stop the settings lines resetting to middle when you adjust values
move persistent box on mouse hover
brightness contrast
persistent box timeout
option to remove title-bar from persistent box, toolwindow?
allow the quickview (alt Z) to be "toggle" or "momentary" (hold-to-use)
fix the multi-monitor
disable AA on zooming (lowered quality) - and add it back in as an option
disable cursor capture and add it back in as an option
Last edited by Bugz000 on 29 Dec 2017, 21:38, edited 5 times in total.
Image
||-------[-HP-ML350E-G8-]-------||-[-32-core-xeon-]-||--[-48gb-ECC-]--||
||----[-Dell-Poweredge-r610-]---||-[-16-core-xeon-]-||--[-16gb-ECC-]--||
||-[-Lenovo-ThinkPad-x201-tab-]-||---[-4-core-i7-]--||-[-8gb-nonECC-]-||
||---------------------------[-shack--img-]---------------------------||
User avatar
tidbit
Posts: 1272
Joined: 29 Sep 2013, 17:15
Location: USA

Re: Zoomy V5 zooming utility - AHKSCRIPT.ORG EXCLUSIVE

18 Apr 2014, 14:19

everything is working great, I think :D. and I'm using unicode64.
Great work. I can now replace my mutilated 1/2 working zooming script I stole from <not telling>.
rawr. fear me.
*poke*
Is it December 21, 2012 yet?
User avatar
Nextron
Posts: 1391
Joined: 01 Oct 2013, 08:23
Location: Netherlands OS: Win10 AHK: Unicode x32

Re: Zoomy V5 zooming utility - AHKSCRIPT.ORG EXCLUSIVE

18 Apr 2014, 19:02

Going to check it out further tomorrow, but your script at least has a better update frequency than Windows magnifier (Using them at the same time is really trippy :P). The settings gui looks impressive, so thus far... wow!

Glancing at the script, I think I spotted some multi monitor provisions? However it doesn't seem to work with negative or maybe non-primary screen cursor coordinates, i.e. it acts like the cursor remains on the main screen.

Also, with default settings, the magnified view doesn't seem to totally reach the bottom and right part of the screen?
User avatar
Bugz000
Posts: 93
Joined: 30 Sep 2013, 10:01

Re: Zoomy V5 zooming utility - AHKSCRIPT.ORG EXCLUSIVE

19 Apr 2014, 09:54

what do you mean bottom right?

Image


multi monitor for now is NOT supported but i shall be adding that functionality at a later date - it'd mean modifying an already very complex algorithm which keeps both the capture rectangle and viewing rectangle ON screen but NEVER touching eachother

thankyou for your feedback :)
Image
||-------[-HP-ML350E-G8-]-------||-[-32-core-xeon-]-||--[-48gb-ECC-]--||
||----[-Dell-Poweredge-r610-]---||-[-16-core-xeon-]-||--[-16gb-ECC-]--||
||-[-Lenovo-ThinkPad-x201-tab-]-||---[-4-core-i7-]--||-[-8gb-nonECC-]-||
||---------------------------[-shack--img-]---------------------------||
User avatar
Nextron
Posts: 1391
Joined: 01 Oct 2013, 08:23
Location: Netherlands OS: Win10 AHK: Unicode x32

Re: Zoomy V5 zooming utility - AHKSCRIPT.ORG EXCLUSIVE

20 Apr 2014, 09:09

You're right, using !z I get the entire range of the screen too. However with #z I seem to be missing the bottom 9px and the right 2px.
Image

It probably has to do with not accounting for the window borders in the gui size, because removing those by commenting out WinSet, Style, +0xC00000, ahk_id %hWnd% under #z results in full visibility.
mrmike
Posts: 1
Joined: 30 Sep 2013, 23:39
Location: Wisconsin, USA

Re: Zoomy V5 zooming utility - AHKSCRIPT.ORG EXCLUSIVE

20 Apr 2014, 12:10

Great script, well done.
Thank you for posting it.
timeFlies
Posts: 146
Joined: 22 Oct 2013, 20:54
Location: Somewhere in the northern hemisphere.

Re: Zoomy V5 zooming utility - AHKSCRIPT.ORG EXCLUSIVE

20 Apr 2014, 22:09

Something HUGE is missing from this AWESOME utility: the zoomed image doesn't show the mouse pointer. Kudos to you if you can add this in, as well as multi-monitor support.
User avatar
Bugz000
Posts: 93
Joined: 30 Sep 2013, 10:01

Re: Zoomy zooming utility

22 Oct 2017, 09:37

bump, v8 added :)
timeFlies wrote:Something HUGE is missing from this AWESOME utility: the zoomed image doesn't show the mouse pointer. Kudos to you if you can add this in, as well as multi-monitor support.
3 years later :p
Image
||-------[-HP-ML350E-G8-]-------||-[-32-core-xeon-]-||--[-48gb-ECC-]--||
||----[-Dell-Poweredge-r610-]---||-[-16-core-xeon-]-||--[-16gb-ECC-]--||
||-[-Lenovo-ThinkPad-x201-tab-]-||---[-4-core-i7-]--||-[-8gb-nonECC-]-||
||---------------------------[-shack--img-]---------------------------||
burque505
Posts: 1731
Joined: 22 Jan 2017, 19:37

Re: Zoomy zooming utility

24 Oct 2017, 13:01

Bugz000, thanks, it works great for me under AHK_L 32-bit. AHK_H reports an error at line 218 of the .ini settings.
Very impressive.
Regards,
burque505
User avatar
Bugz000
Posts: 93
Joined: 30 Sep 2013, 10:01

Re: Zoomy zooming utility

24 Oct 2017, 13:20

burque505 wrote:Bugz000, thanks, it works great for me under AHK_L 32-bit. AHK_H reports an error at line 218 of the .ini settings.
Very impressive.
Regards,
burque505
the ini file is only 11 lines long, this script should only run under AHK_L 32/64 unicode only, glad it works well for you :)
Image
||-------[-HP-ML350E-G8-]-------||-[-32-core-xeon-]-||--[-48gb-ECC-]--||
||----[-Dell-Poweredge-r610-]---||-[-16-core-xeon-]-||--[-16gb-ECC-]--||
||-[-Lenovo-ThinkPad-x201-tab-]-||---[-4-core-i7-]--||-[-8gb-nonECC-]-||
||---------------------------[-shack--img-]---------------------------||
burque505
Posts: 1731
Joined: 22 Jan 2017, 19:37

Re: Zoomy zooming utility

25 Oct 2017, 13:21

:facepalm: Sorry! The error (Error: invalid option. Specifically: h 2) under AHK_K, which of course is not to be used, reports at line 218 of the script, not the .ini :
218: Gui,2: Show,x0 y0 h%ScreenHeight% w%ScreenWidth%, SettingsView
Thanks again, and it does indeed work great.
Regards,
burque505

Return to “Scripts and Functions (v1)”

Who is online

Users browsing this forum: No registered users and 141 guests