Search found 10 matches

by ahkwipper
21 Jul 2018, 06:46
Forum: Ask for Help (v1)
Topic: Making .BMPs from PixelGetColor rectangle scans?
Replies: 3
Views: 833

Re: Making .BMPs from PixelGetColor rectangle scans?

It's not a picture I want to get it's just part of the window, which is probably one huge graphic. I haven't noticed that grabbing 800 pixels is all that slow.
by ahkwipper
20 Jul 2018, 19:24
Forum: Ask for Help (v1)
Topic: Making .BMPs from PixelGetColor rectangle scans?
Replies: 3
Views: 833

Making .BMPs from PixelGetColor rectangle scans?

Hi, I have a simple function to scan a rectangle of pixels on the active window, say its 20x40 pixels. So I push 800 hex numbers into an array in whatever order I like. Handy if I want to scan the same rectangle again a little later to see if the colors have changed significantly. But what I really ...
by ahkwipper
20 Jul 2018, 19:05
Forum: Ask for Help (v1)
Topic: How can I link GUI vVariables with elements of an object
Replies: 6
Views: 1291

Re: How can I link GUI vVariables with elements of an object

Thanks, Speedmaster, Sorry for the lack of reaction. I've been sidetracked by a more urgent programming task but I appreciate your input. I'll have to come back to it later.
by ahkwipper
15 Jul 2018, 07:22
Forum: Ask for Help (v1)
Topic: How can I link GUI vVariables with elements of an object
Replies: 6
Views: 1291

Re: How can I link GUI vVariables with elements of an object

Thanks, Lexicos, that sounds hopeful. I'm not familiar with HWNDVarName but I'll take a look at it.
by ahkwipper
14 Jul 2018, 16:13
Forum: Ask for Help (v1)
Topic: How can I link GUI vVariables with elements of an object
Replies: 6
Views: 1291

Re: How can I link GUI vVariables with elements of an object

Well thanks, for that, gregster, and it all works, but I haven't been using Autohotkey very long and at the moment I'm struggling to see how it helps me with my GUI. In my script, I have all my values placed in an object, myValues, say, by a loop and there are no keys. I have no experience of using ...
by ahkwipper
14 Jul 2018, 12:51
Forum: Ask for Help (v1)
Topic: How can I link GUI vVariables with elements of an object
Replies: 6
Views: 1291

How can I link GUI vVariables with elements of an object

Hi, I have a large number of edit field variables in a GUI and I don’t really want to call them things like Var1, Var2… etc and then have to set Var1, Var2 etc in the rest of the script. I would really like to have an object myVars in the script and link the GUI edits via myVars[1], myVars[2] etc so...
by ahkwipper
03 Jul 2018, 06:54
Forum: Ask for Help (v1)
Topic: Simulating mouse over, mouse hover
Replies: 6
Views: 3716

Re: Simulating mouse over, mouse hover

Thanks swagfag, I have tried moving across the area with code but that doesn't seem to create a colour change in the same way that "physically" moving the cursor does. I can try doing it for longer periods and see if that works. Trouble is it is not necessarily a formal Windows button, just an area ...
by ahkwipper
02 Jul 2018, 18:19
Forum: Ask for Help (v1)
Topic: Simulating mouse over, mouse hover
Replies: 6
Views: 3716

Re: Simulating mouse over, mouse hover

Sigh, I don't know if this is a really difficult question or if there are just too few ahk experts around to point me in the right direction
by ahkwipper
01 Jul 2018, 04:39
Forum: Ask for Help (v1)
Topic: Simulating mouse over, mouse hover
Replies: 6
Views: 3716

Re: Simulating mouse over, mouse hover

Thanks AHKSudent - as I said, I've tried a slow mousemove over X, Y. Not only does it not trigger a colour change in the area of interest, but the cursor does not appear as a steadily moving cursor, it flickers into existence occasionally. That is not a particular issue with the main problem, but I ...
by ahkwipper
30 Jun 2018, 18:06
Forum: Ask for Help (v1)
Topic: Simulating mouse over, mouse hover
Replies: 6
Views: 3716

Simulating mouse over, mouse hover

HI, I have a problem imitating a mouse-over or mouse-hover event with my script. I work on a window of a Windows app downloaded from a remote website to communicate with the website. I want my script to know when a section of the screen becomes clickable. When this happens the section changes colour...

Go to advanced search