help me fix my script

Get help with using AutoHotkey and its commands and hotkeys
rubaboo
Posts: 5
Joined: 02 Jan 2018, 21:18

help me fix my script

21 Apr 2018, 00:49

I cobbled together something (copy/paste from a bunch of scripts I googled up), and, well, it doesn't work. I don't know what I'm doing [wrong] :?
What the script is supposed to do is draw a super-thick (enough to cover the rest of the desktop spannig two displays) semi-transparent border around an active window. Like Ghoster, but a different approach.
Please help me get the script to a working condition. I think it's worth mentioning here that my secondary display is in portrait mode, with the upper edge higher than that of the primary display, which results in negative Y-coordinates of any point on that screen that is above the upper edge of the primary display.

Ideally (but that is beyond my current skill level), it would be awesome if the border only covered the display the window is on, and there was another border around a window that was last active on the other display.

Code: [Select all] [Expand] [Download] GeSHi © Codebox Plus

rubaboo
Posts: 5
Joined: 02 Jan 2018, 21:18

Re: help me fix my script

21 Apr 2018, 13:54

Actually, I was pretty close. I was just missing +LastFound before WinGet in a couple of spots.

This seems to work reasonably well, and with less flickering than Ghoster:

Code: [Select all] [Expand] [Download] GeSHi © Codebox Plus


Return to “Ask For Help”

Who is online

Users browsing this forum: Flipeador, wertbo, Zodie and 33 guests