Search found 93 matches

by berban
04 May 2018, 20:00
Forum: Scripts and Functions
Topic: FindClick() - ImageSearch, Clicking, & More [Newest Version]
Replies: 142
Views: 54983

Re: FindClick() - ImageSearch, Clicking, & More [Newest Version]

You're welcome to try it, but personally I doubt it will work. You definitely can go up to 255 but before long you'll be matching everything on the screen. I think people tend to overestimate the usefulness of the "shades of variation" parameter - it's a very simple mathematical operation. By compar...
by berban
03 May 2018, 09:06
Forum: Scripts and Functions
Topic: FindClick() - ImageSearch, Clicking, & More [Newest Version]
Replies: 142
Views: 54983

Re: FindClick() - ImageSearch, Clicking, & More [Newest Version]

Oh... :| that throws a big wrench into the works unfortunately. You can use Gdip to rotate images, although I haven't done this personally so I wouldn't be able to tell you how. Also I'd be worried that the rotation wouldn't result in the exact same image that you see on screen. When you perform a c...
by berban
02 May 2018, 08:54
Forum: Scripts and Functions
Topic: FindClick() - ImageSearch, Clicking, & More [Newest Version]
Replies: 142
Views: 54983

Re: FindClick() - ImageSearch, Clicking, & More [Newest Version]

Hi alesyt0h ! Sure you could do that with a few pretty simple extra steps. You can first create the image with GDI+ then use FindClick with that image once you have it. It would look something like this: ; The image you are looking for will be initially found at (100, 200) relative to the screen and...
by berban
16 Mar 2018, 22:50
Forum: Ask For Help
Topic: [Solved I guess] SetSystemCursor no longer working on Windows 10
Replies: 5
Views: 1261

Re: [Solved I guess] SetSystemCursor no longer working on Windows 10

Hi Lindice, It has actually started working again from time to time for me. I haven't counted exactly the proportion of time it works, but I'd say probably 50% of the time the cursor is successfully changing, especially after I reboot the computer. Unfortunately I don't see any rhyme or reason to it...
by berban
14 Mar 2018, 15:33
Forum: Scripts and Functions
Topic: FindClick() - ImageSearch, Clicking, & More [Newest Version]
Replies: 142
Views: 54983

Re: FindClick() - ImageSearch, Clicking, & More [Newest Version]

My guess is that you changed the escape character? Via #EscapeChar

If that's the case then find where it says

Code: Select all

PauseHotkey = ``
Also

Code: Select all

HotkeyCompactView = ``
... And change `` to `

Or change it to

Code: Select all

PauseHotkey:= "`"
Or just change the hotkey
by berban
05 Mar 2018, 16:46
Forum: Scripts and Functions
Topic: FindClick() - ImageSearch, Clicking, & More [Newest Version]
Replies: 142
Views: 54983

Re: FindClick() - ImageSearch, Clicking, & More [Newest Version]

You’re in luck, there’s a “quick start guide” in the documentation
https://github.com/berban/FindClick/blo ... dClick.pdf
Check out page 4
by berban
18 Feb 2018, 21:33
Forum: Scripts and Functions
Topic: Registry Search utility
Replies: 2
Views: 990

Re: Registry Search utility

Thanks SpecialGuest, yeah I’ve used that method in the past. I remember it not working all the time but I don’t recall exactly why. It’s possible I was doing it wrong. It also requires reopening regedit each time but I guess it’s not really a program you need to multitask with. I’ll take a second lo...
by berban
18 Feb 2018, 16:22
Forum: Scripts and Functions
Topic: Registry Search utility
Replies: 2
Views: 990

Registry Search utility

Some registry search utilities exist, but I wanted to create my own customizeable one because the registry is sensitive and I want to know exactly what the application is doing. Github Link: https://github.com/berban/RegistrySearch Download (includes RegJump.exe): https://github.com/berban/RegistryS...
by berban
02 Jan 2018, 18:30
Forum: Scripts and Functions
Topic: FindClick() - ImageSearch, Clicking, & More [Newest Version]
Replies: 142
Views: 54983

Re: FindClick() - ImageSearch, Clicking, & More [Newest Version]

Hi guys, Sorry for the delayed response. Yes you are right that this is not a built-in feature of the function. You'd have to loop it. ImageList := ["image1.png", "image2.png", "image3.png"] For key, ImageFile in ImageList { If FindClick(ImageFile, Options) ; fill in the options { Break } ; Do other...
by berban
26 Aug 2017, 23:03
Forum: Ask For Help
Topic: [Solved I guess] SetSystemCursor no longer working on Windows 10
Replies: 5
Views: 1261

Re: SetSystemCursor no longer working on Windows 10?

Nope, that code doesn't work for me either :| I was running AHK 1.1.25 and upgraded to 26 just to be safe. On windows, I'm 1 update behind at 15063.502 but either way they're both creator's update.

Guess there's something wrong with my computer then. Thanks for the confirmation! :D
by berban
26 Aug 2017, 19:28
Forum: Ask For Help
Topic: [Solved I guess] SetSystemCursor no longer working on Windows 10
Replies: 5
Views: 1261

[Solved I guess] SetSystemCursor no longer working on Windows 10

I've been using this code https://autohotkey.com/board/topic/32608-changing-the-system-cursor/ for years and it's worked beautifully. But on my windows 10 computer it no longer seems to change the cursor. Here's some other information that might be helpful to someone smarter than me: I regularly use...
by berban
21 Aug 2017, 06:45
Forum: Scripts and Functions
Topic: FindClick() - ImageSearch, Clicking, & More [Newest Version]
Replies: 142
Views: 54983

Re: FindClick() - ImageSearch, Clicking, & More [Newest Version]

Can you post the code you're using mankvl?
by berban
05 May 2017, 23:16
Forum: Scripts and Functions
Topic: FindClick() - ImageSearch, Clicking, & More [Newest Version]
Replies: 142
Views: 54983

Re: FindClick() - ImageSearch, Clicking, & More [Newest Version]

Thanks for noticing guys. I made a few other updates to the documentation. I added some examples of how I use findclick to maybe give you some ideas.

I also uploaded it to GitHub!! yay. Find it here: https://github.com/berban/FindClick
by berban
22 Apr 2017, 18:33
Forum: Scripts and Functions
Topic: FindClick() - ImageSearch, Clicking, & More [Newest Version]
Replies: 142
Views: 54983

Re: FindClick() - ImageSearch, Clicking, & More [Newest Version]

FindClick("%A_Desktop%\CAPTURE.PNG") You gotta treat this as an expression which is the case for any function in AutoHotkey. FindClick(A_Desktop "\CAPTURE.PNG") See https://autohotkey.com/docs/Variables.htm#Expressions for more clarification on the difference between AutoHotkey literal statements (...
by berban
30 Mar 2017, 18:33
Forum: Gaming
Topic: Issues With Double-Tap Hotkey
Replies: 3
Views: 761

Re: Issues With Double-Tap Hotkey

Try something like this: *LShift:: Keys = wasd ; list of keys Loop, Parse, Keys ; check each key in the list If GetKeyState(A_LoopField, "P") { ; check if that key is pressed SendInput {%A_LoopField% up} ; A_LoopField has the current key Sleep, 50 SendInput {%A_LoopField% down} Sleep, 50 SendInput {...
by berban
23 Feb 2017, 23:22
Forum: Scripts and Functions
Topic: FindClick() - ImageSearch, Clicking, & More [Newest Version]
Replies: 142
Views: 54983

Re: FindClick() - ImageSearch, Clicking, & More [Newest Version]

Hey movermeyer, I think you have a simple misunderstanding about how the options parameter is supposed to be used. It's supposed to be like the GUI options where you might have x10 y20 gMyLabel. The important distinction is you shouldn't use commas in between the option name and the value (i.e. You ...
by berban
20 Feb 2017, 08:15
Forum: Scripts and Functions
Topic: FindClick() - ImageSearch, Clicking, & More [Newest Version]
Replies: 142
Views: 54983

Re: FindClick() - ImageSearch, Clicking, & More [Newest Version]

I believe you're just missing a comma in the first example. It should look like this:

Code: Select all

FindClick("d:\tmp\search\tower.png", "stay1", xCoord, yCoord)
by berban
17 Feb 2017, 13:54
Forum: Scripts and Functions
Topic: FindClick() - ImageSearch, Clicking, & More [Newest Version]
Replies: 142
Views: 54983

Re: FindClick() - ImageSearch, Clicking, & More [Newest Version]

I tweaked a couple of lines to keep the problem from happening. The original download link should be updated. Let me know if you are still having problems :)
by berban
16 Feb 2017, 09:19
Forum: Scripts and Functions
Topic: FindClick() - ImageSearch, Clicking, & More [Newest Version]
Replies: 142
Views: 54983

Re: FindClick() - ImageSearch, Clicking, & More [Newest Version]

Thanks Vizzy! I'm on the train right now and don't have time to dive into the code but from first glance I am almost positive it's a bug with the a-m option. That's actually something I've never used myself which makes it more likely to have a bug I never noticed. I'm glad you find the feature helpf...
by berban
14 Feb 2017, 22:03
Forum: Scripts and Functions
Topic: FindClick() - ImageSearch, Clicking, & More [Newest Version]
Replies: 142
Views: 54983

Re: FindClick() - ImageSearch, Clicking, & More [Newest Version]

For instance if I added the option w500,50 I was under the impression that would wait 500ms total, checking every 50ms for a total of 10 checks. However when I add this and run in diagnostic mode I get this: http://imgur.com/6KS1kke Hey Vizzy! That is really strange and definitely not the intended ...

Go to advanced search