Search found 6 matches

by tedo
05 Sep 2023, 05:35
Forum: Scripts and Functions (v1)
Topic: [Class] graphicsearch.ahk (ImageSearch strings)
Replies: 34
Views: 14573

Re: [Class] graphicsearch.ahk (ImageSearch strings)

Is there a built in tool to apply color masking to the screenshot before the library tries to find matches? I'm guessing .scan with its screenshot argument set to zero will use whatever is on the clipboard? And if this is so, I could use other tools to apply a color mask. As long as the data on the ...
by tedo
28 Jul 2022, 01:28
Forum: Gaming Help (v1)
Topic: WinActivate terminating or closing game window. Topic is solved
Replies: 5
Views: 1012

Re: WinActivate terminating or closing game window. Topic is solved

I found a work around. I still don't' know why WinActivate is closing/terminating a window. The work around is to make a GUI window and swap to that before going to the next game window. Here is a modified version of thinkRand's script. #SingleInstance, Force SendMode Input SetWorkingDir, %A_ScriptD...
by tedo
24 Jul 2022, 03:23
Forum: Gaming Help (v1)
Topic: WinActivate terminating or closing game window. Topic is solved
Replies: 5
Views: 1012

Re: WinActivate terminating or closing game window. Topic is solved

Thank you thinkRand for writing up that code. I learned new things! Sadly it's still the same problem. I got VSCode and a .ahk debug extension(Mark Wiemer's) so I can see when the problem happens and it's on WinActivate. This works as expected >>> Using WinActivate to swap between the game window an...
by tedo
23 Jul 2022, 16:23
Forum: Gaming Help (v1)
Topic: WinActivate terminating or closing game window. Topic is solved
Replies: 5
Views: 1012

WinActivate terminating or closing game window. Topic is solved

I have a game where I need to open multiple instances of it in order to simultaneously play multiple characters. For some reason WinActivate terminates the deactivated window when it moves from one to activating another. Is there a solution to this where I can use WinActivate? Perhaps someone can ad...
by tedo
12 Dec 2014, 17:02
Forum: Ask for Help (v1)
Topic: Expressions for ControlSend "Keys" parameter
Replies: 2
Views: 1098

Re: Expressions for ControlSend "Keys" parameter

solved...I had the wrong window handle (duh). Sorry, I should have debugged more. Thank you for the help!
by tedo
12 Dec 2014, 13:32
Forum: Ask for Help (v1)
Topic: Expressions for ControlSend "Keys" parameter
Replies: 2
Views: 1098

Expressions for ControlSend "Keys" parameter

I need to dynamically change what "Keys" are sent by ControlSend. It seems controlSend does not support expression for the keys parameter and I can't figure out if there is a way to make it work otherwise. I can dynamically build a string that conforms to ControlSend syntax. Is there a way I can tel...

Go to advanced search