Hello, so this is my first post in the programming section.
i have some scripting experience from other languages, so i though i would try and make a wow fishbot with autoit.
so far so good, everything is working in the basic bot, but as i wanted to add som extra features i ran into some trubble.
1. how to make second fram close only itself and not whole script when X is pressed?
2. how can i get the hex color from the current mouse pos. on mousemovement ?
(basicallyi want a label(need to use something else?) which allways show the hexcode of the color in the current mouse pos.)
all help appriciated.
Edit: Solved part 1.
for part 2, i have almost got it working right, however i cant get it to update the color on mouse movement, so for now its on hot key.
Edit2: i am using this code to generate a random title for my GUI.
Code:
GUICreate("AMF" & Random(0,9999),200,125)
however, i would like to retrieve that title now, for use later in the script.
i have tried several different approaches but none seems to work for me, so any ideas is much appreciated.
-Kun