Thanks for the tips -- especially moving the mouse.
I did some experimenting and my guess is that because I am trying to get this to work on a Citrix client there are other things happening that is making this difficult.
Search found 36 matches
- 04 Feb 2024, 08:30
- Forum: Ask for Help (v2)
- Topic: Trying to use PixelSearch and PixelGetColor instead of ImageSearch
- Replies: 3
- Views: 245
- 03 Feb 2024, 16:07
- Forum: Ask for Help (v2)
- Topic: Trying to use PixelSearch and PixelGetColor instead of ImageSearch
- Replies: 3
- Views: 245
Trying to use PixelSearch and PixelGetColor instead of ImageSearch
What I am trying to do is find four pixels in a straight line from left to right of certain colors. In this code, I find the first color, black, then get the color to the right and see if it is 0xC3C3C3. I will then do this gain for the other two colors. This code does not find the second color. Als...
- 02 Feb 2024, 21:06
- Forum: Ask for Help (v2)
- Topic: Question regarding using ImageSearch with CoordMode set to "Client"
- Replies: 3
- Views: 246
Re: Question regarding using ImageSearch with CoordMode set to "Client"
Thank you both for your replies. It was a great help.
- 31 Jan 2024, 20:53
- Forum: Ask for Help (v2)
- Topic: Question regarding using ImageSearch with CoordMode set to "Client"
- Replies: 3
- Views: 246
Question regarding using ImageSearch with CoordMode set to "Client"
People say that when using ImageSearch to use "Client" for CoordMode. ImageSearch requires, "The X and Y coordinates of the lower right corner of the rectangle to search." How do I get those coordinates of the client window instead of using random, hard-coded values? CoordMode "Pixel" "Client" try {...
- 15 Oct 2014, 06:18
- Forum: Ask for Help
- Topic: AutoHotkey.dll and C#
- Replies: 12
- Views: 27403
Re: AutoHotkey.dll and C#
Thank you for sharing this and for making it open source.amazingandrew wrote:I needed to use this on a project I was working on. I did a pretty nice wrapper around it and posted it up on github.
https://github.com/amazing-andrew/AutoHotkey.Interop
I gave it a star in GitHub and I encourage others to do so too.
- 12 Dec 2013, 11:15
- Forum: Ask for Help (v1)
- Topic: Array madness. What am I doing wrong?
- Replies: 10
- Views: 5344
Re: Array madness. What am I doing wrong?
Good stuff. Thank you.
- 10 Dec 2013, 07:31
- Forum: Ask for Help (v1)
- Topic: Array madness. What am I doing wrong?
- Replies: 10
- Views: 5344
Re: Array madness. What am I doing wrong?
I'm not sure I understand how %0% can contain both the number of arguments and the last argument.lexikos wrote:...because the variable '0' contains the number of args = the name of the last arg variable.
- 09 Dec 2013, 16:09
- Forum: Ask for Help (v1)
- Topic: Array madness. What am I doing wrong?
- Replies: 10
- Views: 5344
Re: Array madness. What am I doing wrong?
(Now I can understand why you want to hide your source code :D ) LOL MsgBox, % word_array[1] or MsgBox % "Blah " word_array[1] and if (word_array[1] = 1) I'm not sure what you want with %1% if that is meant to parse a command line parameter you might be better off assigning it to a normal variable ...
- 09 Dec 2013, 15:38
- Forum: Ask for Help (v1)
- Topic: Array madness. What am I doing wrong?
- Replies: 10
- Views: 5344
Array madness. What am I doing wrong?
Loop, Read, MyFile.txt { IfInString, A_LoopReadLine, `, { word_array := StrSplit(A_LoopReadLine, ",") MsgBox, %word_array[1]% ; Gives illegal character message. MsgBox, Blah % word_array[1] ; Error of missing ending percent sign. MsgBox, Blah %word_array[1]% ; Gives illegal character message. MsgBo...
- 08 Dec 2013, 22:15
- Forum: Ask for Help (v1)
- Topic: Evaluate each line of an open document without clipboard
- Replies: 9
- Views: 3904
Re: Evaluate each line of an open document without clipboard
OK, I think I'll just use the clipboard.
Thanks.
Thanks.
- 08 Dec 2013, 22:12
- Forum: Ask for Help
- Topic: AutoHotkey.dll and C#
- Replies: 12
- Views: 27403
Re: AutoHotkey.dll and C#
OK, thanks.
- 08 Dec 2013, 09:03
- Forum: Ask for Help
- Topic: AutoHotkey.dll and C#
- Replies: 12
- Views: 27403
AutoHotkey.dll and C#
Is there an example C# program that uses the AutoHotkey.dll? I'm trying to figure out how to use some of the AutoHotkey features in my app but can't figure it out.
Also, will the dll be statically linked into my compiled build or will the end user need to install AutoHotkey?
Thanks!
Also, will the dll be statically linked into my compiled build or will the end user need to install AutoHotkey?
Thanks!
- 07 Dec 2013, 06:17
- Forum: Ask for Help (v1)
- Topic: Evaluate each line of an open document without clipboard
- Replies: 9
- Views: 3904
Re: Evaluate each line of an open document without clipboard
That doesn't work on an open file that needs to have keystrokes sent to it.
- 06 Dec 2013, 20:02
- Forum: Ask for Help (v1)
- Topic: Evaluate each line of an open document without clipboard
- Replies: 9
- Views: 3904
Re: Evaluate each line of an open document without clipboard
That's pretty cool. In this case it will be Visual Studio but I don't know if it provides COM access or not.
- 06 Dec 2013, 19:35
- Forum: Ask for Help (v1)
- Topic: Evaluate each line of an open document without clipboard
- Replies: 9
- Views: 3904
Re: Evaluate each line of an open document without clipboard
Can you please explain technically why that is the case? For example Notepad++ vs Word. How would the script differ?
- 06 Dec 2013, 14:15
- Forum: Ask for Help (v1)
- Topic: Evaluate each line of an open document without clipboard
- Replies: 9
- Views: 3904
Evaluate each line of an open document without clipboard
I have a large text document that must be edited while open. I want to evaluate each line to see if it starts with a collection of certain words. If the line does start with one of the words then I will do some key sends. Is there a way to do this without copying every line, one at a time, to the cl...
- 06 Dec 2013, 07:32
- Forum: Wish List
- Topic: Prevent decompile like IronAHK
- Replies: 45
- Views: 20107
Re: Prevent decompile like IronAHK
I understand. I'm going to try to find some time this weekend to do more testing.lexikos wrote:That you cannot decompile scripts means very little.
- 05 Dec 2013, 06:52
- Forum: Wish List
- Topic: Prevent decompile like IronAHK
- Replies: 45
- Views: 20107
Re: Prevent decompile like IronAHK
It's easy unless you use this:
http://www.autohotkey.com/board/topic/2 ... ntry622493
I cannot decompile scripts compiled with this tool.
http://www.autohotkey.com/board/topic/2 ... ntry622493
I cannot decompile scripts compiled with this tool.
- 04 Dec 2013, 14:02
- Forum: Wish List
- Topic: Prevent decompile like IronAHK
- Replies: 45
- Views: 20107
Re: Prevent decompile like IronAHK
Yeah, if I switch to anything it should probably be c++ with static linking.
- 04 Dec 2013, 12:02
- Forum: Wish List
- Topic: Prevent decompile like IronAHK
- Replies: 45
- Views: 20107
Re: Prevent decompile like IronAHK
Cool, I can script without COM, objects, and arrays.tank wrote:COM and objects/arrays