Search found 507 matches

by gwarble
22 Mar 2023, 23:31
Forum: [V1] Scripts and Functions
Topic: How to perfectly fit any image on a fixed size picture control
Replies: 33
Views: 9139

Re: How to perfectly fit any image on a fixed size picture control

oh ok my bad, you quoted my response to better downscaling specifically, which Imagen() solves nicely for me, but if you're after all the specific modes available then that dll or dissecting the GDI+ code and adding options for other interpolation and smoothing modes might be your best bet, good luc...
by gwarble
22 Mar 2023, 16:17
Forum: [V1] Scripts and Functions
Topic: How to perfectly fit any image on a fixed size picture control
Replies: 33
Views: 9139

Re: How to perfectly fit any image on a fixed size picture control

Have you tried Imagen() from Skan yet? Dll shouldn't be required unless I'm missing something

ahk.ahk-20230322141806.png
ahk.ahk-20230322141806.png (16.38 KiB) Viewed 66 times

Code: Select all

Gui, Margin, 0, 0
;pic is 660x100
Gui, Add, Picture, x0 y0  w165 h25, ahk.png
Gui, Add, Picture, x0 y25 w165 h25 hwndhPic
Imagen("ahk.png","ahk_id" . hPic)
Gui, Show
by gwarble
21 Mar 2023, 22:03
Forum: [V1] Scripts and Functions
Topic: EitherMouse 0.8 - Multiple mice, individual settings...
Replies: 372
Views: 179727

Re: EitherMouse 0.8 - Multiple mice, individual settings...

nope, sorry i don't know of anything, EitherMouse and AutoHotkey are windows only
by gwarble
10 Jan 2023, 13:45
Forum: [V1] Scripts and Functions
Topic: EitherMouse 0.8 - Multiple mice, individual settings...
Replies: 372
Views: 179727

Re: EitherMouse 0.8 - Multiple mice, individual settings...

The subkeys are always Mouse1, Mouse2, Mouse3, etc... and under that, the "Cursor" key should be set to 0 for normal, 1 for mirrored. On my touch screen testing, the cursor disappears when using the touch screen, which is not preventable by EitherMouse as far as I know (but never looked into a solut...
by gwarble
09 Jan 2023, 21:16
Forum: [V1] Scripts and Functions
Topic: EitherMouse 0.8 - Multiple mice, individual settings...
Replies: 372
Views: 179727

Re: EitherMouse 0.8 - Multiple mice, individual settings...

When you move the specific mouse while the EitherMouse gui is open, the mouse name in the middle will change (ie "Mouse 2"), look for the entry with that "nick"

"Mirror Cursor" is a binary toggle, set it to 1 to enable.
by gwarble
09 Jan 2023, 19:38
Forum: [V1] Scripts and Functions
Topic: EitherMouse 0.8 - Multiple mice, individual settings...
Replies: 372
Views: 179727

Re: EitherMouse 0.8 - Multiple mice, individual settings...

bigarro: Hmm... does the normal windows "Mouse Properties" scroll speed adjustment apply in Firefox? - If not, EitherMouse might not be the solution (Firefox option maybe?) - If yes, is Firefox running as administrator? - If so, run EitherMouse as administrator also and check - If not, I'm not sure....
by gwarble
31 Oct 2022, 09:43
Forum: [V1] Scripts and Functions
Topic: EitherMouse 0.8 - Multiple mice, individual settings...
Replies: 372
Views: 179727

Re: EitherMouse 0.8 - Multiple mice, individual settings...

Try toggling "ignore zero device" in the advanced settings menu... If so your devices' driver software package might be interfering and blocking the device ID from being detectable by EitherMouse, the workaround setting might help but if both devices are like that it might still not really work the ...
by gwarble
30 Sep 2022, 09:23
Forum: [V1] Scripts and Functions
Topic: TextRender v1.7 - Draw text on screen
Replies: 48
Views: 6756

Re: TextRender v1.7 - Draw text on screen

perfect, that seems to have fixed it in all screen configurations

thank you!
by gwarble
29 Sep 2022, 20:31
Forum: [V1] Scripts and Functions
Topic: TextRender v1.7 - Draw text on screen
Replies: 48
Views: 6756

Re: TextRender v1.7 - Draw text on screen

wow thanks for looking into it so quickly i would say, and without any significant testing beyond plugging the new version into my project, that its partially fixed. New and old versions work fine when 0,0 is the top left most point Old version failed when second monitor was to the right but higher ...
by gwarble
28 Sep 2022, 21:38
Forum: [V1] Scripts and Functions
Topic: TextRender v1.7 - Draw text on screen
Replies: 48
Views: 6756

Re: TextRender v1.7 - Draw text on screen

I guess I would expect if the functionality changes or a bug is fixed then the release number would change therefore the date. I was unfortunate to download between 6/2022 at version 1.8 and the bug fix in 8/2022, never thought to redownload. I almost didn't even when you recommended it because the ...
by gwarble
28 Sep 2022, 19:42
Forum: [V1] Scripts and Functions
Topic: TextRender v1.7 - Draw text on screen
Replies: 48
Views: 6756

Re: TextRender v1.7 - Draw text on screen

sure does, and updating fixed it (even though ver was still 1.8 6/2022) any obvious reason that TextRenderWallpaper would still have similar issues with -X? Edit: I think its a different issue wherein the wallpaper coordinates start 0,0 at the top left even if its negative on the desktop... will tes...
by gwarble
28 Sep 2022, 18:31
Forum: [V1] Scripts and Functions
Topic: TextRender v1.7 - Draw text on screen
Replies: 48
Views: 6756

Re: TextRender v1.7 - Draw text on screen

Hello again, Scratching my head and I can't find anything wrong with the math so I hesitate to suggest there might be a bug in the Y position on a second monitor that is in the negative X range, ie dual monitors with the primary the one on the right is the only place I see this problem... when the p...
by gwarble
10 Sep 2022, 15:33
Forum: [V1] Scripts and Functions
Topic: TextRender v1.7 - Draw text on screen
Replies: 48
Views: 6756

Re: TextRender v1.7 - Draw text on screen

thanks for the quick reply... not a problem to handle script side by just doing the math: Loop, % MonitorCount SysGet, Monitor%A_Index%, Monitor, % A_Index Loop, % MonitorCount RenderTime%A_Index% := TextRender("", "x:" Monitor%A_Index%Left " w:" Monitor%A_Index%Right - Monitor%A_Index%Left " y:" Mo...
by gwarble
08 Sep 2022, 21:03
Forum: [V1] Scripts and Functions
Topic: Hide Mouse Cursor When Inactive
Replies: 1
Views: 352

Re: Hide Mouse Cursor When Inactive

nice job... try this to get a blank cursor in memory with an actual .cur file needed, or use the two lines in your function: BlankCursor(c="") { If c = c = 650,512,515,649,651,513,648,646,643,645,642,644,516,514 Loop, parse, c, `, { ;=== next two lines create a blank cursor in memory without the nee...
by gwarble
08 Sep 2022, 19:41
Forum: [V1] Scripts and Functions
Topic: TextRender v1.7 - Draw text on screen
Replies: 48
Views: 6756

Re: TextRender v1.7 - Draw text on screen

awesome, thanks for sharing (switching from <Graphics> was painless too). starting with: RenderTime := TextRender("", "x:0vw w:100vw y:67vh q:4 c:00000000 justify:right", "q:4 justify:right s:18vh f:(Segoe UI Light)") i'd like to support multiple monitors: SysGet, MonitorCount, MonitorCount Loop, % ...
by gwarble
20 Jul 2022, 20:57
Forum: [V1] Scripts and Functions
Topic: TrayAudioVisualizer
Replies: 9
Views: 1510

Re: TrayAudioVisualizer

Very nice, thanks for sharing
by gwarble
26 Apr 2022, 21:09
Forum: [V1] Scripts and Functions
Topic: EitherMouse 0.8 - Multiple mice, individual settings...
Replies: 372
Views: 179727

Re: EitherMouse 0.8 - Multiple mice, individual settings...

I've done very limited testing on Windows 11 but didn't experience any issues. I think the fact that you are on different hardware is more likely the cause, but I'm not positive. If you have any other mouse software or drivers running that you can disable, the mouse is more likely to register with a...
by gwarble
21 Apr 2022, 21:04
Forum: [V1] Scripts and Functions
Topic: EitherMouse 0.8 - Multiple mice, individual settings...
Replies: 372
Views: 179727

Re: EitherMouse 0.8 - Multiple mice, individual settings...

Dangerdad: thanks, the more users that submit it to different vendors the better, i hope

madscijr: its easier than it seems at first, but if you’re writing your game with ahk i can probably help, if not at least the concepts are the same if you know your language. email me if want
by gwarble
15 Apr 2022, 10:54
Forum: [V1] Scripts and Functions
Topic: EitherMouse 0.8 - Multiple mice, individual settings...
Replies: 372
Views: 179727

Re: EitherMouse 0.8 - Multiple mice, individual settings...

EitherMouse won't help you for that, but if you use the RawInput API that EitherMouse uses within the game it can be done, just not from a seperate process. If you are not the author of the game, then I doubt it will be possible as the game itself needs to be written to understand what two seperate ...
by gwarble
09 Mar 2022, 15:05
Forum: [V1] Scripts and Functions
Topic: ShowMenu() : in center screen.
Replies: 11
Views: 2269

Re: ShowMenu() : in center screen.

Yes, but I'd like to modify the function to replicate this behavior and not have to modify each subroutine... ie my goal is to replace any Menu,,Show with ShowMenu() and not have to remember active windows or anything scriptside. I have also modified my copy to position at the mouse as default rathe...

Go to advanced search