change color Topic is solved

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
User avatar
glnklein
Posts: 119
Joined: 23 Oct 2020, 04:26

change color

07 May 2024, 02:38

Image

Hello, you could also create a selection menu like this with AHK, it's to change the color of a Croshair.
It should be able to be opened and closed, similar to a drop-down list, only as colors that you can see and not just as text.

Unfortunately I can't find any approach in the forum that I could continue with
:D verwende AutoHotkey104805 :D ------------------------UPDATE auf ..1.1.33.02 erfolgreich , jetzt kommen neue Probleme :lolno:
User avatar
boiler
Posts: 17319
Joined: 21 Dec 2014, 02:44

Re: change colorrr

07 May 2024, 03:06

Create a simple GUI that is invoked by a hotkey and displays nothing but a Picture control of the color grid image (cropped much tighter than the image you attached), a Button control that is set to Default so that it is selected when Enter is pressed (the button can be outside of the visible extents of the GUI), and perhaps some instructive text. The user would place their mouse pointer over the desired color and press Enter, and the script would use MouseGetPos and PixelGetColor to get the color under the mouse pointer. Then use that color to change the color of your crosshair, however you do that.
User avatar
glnklein
Posts: 119
Joined: 23 Oct 2020, 04:26

Re: change color

07 May 2024, 03:11

There is a small check box where you could see the selected color, but unfortunately it isn't there
:D verwende AutoHotkey104805 :D ------------------------UPDATE auf ..1.1.33.02 erfolgreich , jetzt kommen neue Probleme :lolno:
User avatar
glnklein
Posts: 119
Joined: 23 Oct 2020, 04:26

Re: change color  Topic is solved

07 May 2024, 05:13

I found this, it's perfect for me, thanks for the help


viewtopic.php?t=34092
:D verwende AutoHotkey104805 :D ------------------------UPDATE auf ..1.1.33.02 erfolgreich , jetzt kommen neue Probleme :lolno:

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Bing [Bot], Google [Bot], jjaysreicarnten, peter_ahk, Wala27, Yahoo [Bot] and 136 guests