Search found 10 matches

by Banayat
21 Oct 2018, 11:30
Forum: Gaming
Topic: Recognize a circle shape
Replies: 0
Views: 616

Recognize a circle shape

Do you know a way of recognizing circle shapes and let it wait for the next object to be found? If yes, How can I implement to the following with this in mind by using FindText made by feiyue or any other method you come up with: Let's pretend, I need to use feiyue's FindText script: https://autohot...
by Banayat
21 Oct 2018, 11:09
Forum: Ask For Help
Topic: simple question on Loop Parse
Replies: 5
Views: 772

Re: simple question on Loop Parse

Maybe the following can help you get a better idea: Example: Loop, parse, FileContents, `n, `r ; Specifying `n prior to `r allows both Windows and Unix files to be parsed. { MsgBox, 4, , Line number %A_Index% is %A_LoopField%.`n`nContinue? IfMsgBox, No, break } Source: https://autohotkey.com/docs/co...
by Banayat
21 Oct 2018, 07:01
Forum: Scripts and Functions
Topic: GetMouseGesture() - as simple as mouse gestures can get! [updated]
Replies: 14
Views: 5243

Re: GetMouseGesture() - as simple as mouse gestures can get!

I still don't understand your example at all. No matter what gesture I set up everything has been executed :wtf: :lol:
While GetKeyState(LTrim(A_ThisHotkey,"~")
Also, why is that "~" implemented?

Could you please explain more how to create a gesture? :P
by Banayat
21 Oct 2018, 05:01
Forum: Scripts and Functions
Topic: setCursor: A function for using custom cursors with GUIs in AHK2
Replies: 3
Views: 993

Re: setCursor: A function for using custom cursors with GUIs in AHK2

Unsupported parameter default.
Specifically: setCursor(guiOrCont, cursor, options := 'n l r m')
:eh:
by Banayat
19 Oct 2018, 08:03
Forum: Scripts and Functions
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 583
Views: 218392

Re: FindText - Capture screen image into text and then find it Topic is solved

Can anybody give me examples 6-7 which includes tolrence In this video you will find a walk through of this script: https://www.youtube.com/watch?v=aWRAtvJq9ZE OR you simply create yourself an example: 1. Open the script 2. Click "Capture" button 3. Capture anything on the screen by right clicking ...
by Banayat
23 Aug 2018, 20:05
Forum: Ask For Help
Topic: Enable hotkey if specific Browser-URL is accessed
Replies: 6
Views: 1274

Re: Enable hotkey if specific Browser-URL is accessed

The Reason why I am using GroupAdd is that it's more than one window belonging to "#IfWinActive". Whenever I add more to it it does not work. Any Workaround?
by Banayat
20 Aug 2018, 10:49
Forum: Ask For Help
Topic: Enable hotkey if specific Browser-URL is accessed
Replies: 6
Views: 1274

Re: Enable hotkey if specific Browser-URL is accessed

Maybe. I guess it does not interfere with other functions in the first place. No success on putting GetWinText to the end of script.
by Banayat
18 Aug 2018, 08:52
Forum: Ask For Help
Topic: Enable hotkey if specific Browser-URL is accessed
Replies: 6
Views: 1274

Enable hotkey if specific Browser-URL is accessed

Hi, I want to replace a mouse key originally set to webbrowsing backwards with my own function: - enable hotkey if Chrome Browser is active and URL "www.google ..." has been typed into address bar. I got the following code from TLM (Administrator) which I couldn't get to work though. See link below....
by Banayat
18 Aug 2018, 06:36
Forum: Ask For Help
Topic: Do not allow double key being pressed once again
Replies: 3
Views: 657

Re: Do not allow double key being pressed once again

Now I understand what I did wrong at the very beginning. Thank you for your help Rohwedder, it works like a charm :) Now, I wonder why there are two "#MaxThreadsPerHotkey" functions indicated. What if I leave one of it out?
by Banayat
17 Aug 2018, 12:12
Forum: Ask For Help
Topic: Do not allow double key being pressed once again
Replies: 3
Views: 657

Do not allow double key being pressed once again

Hi folks, I am pretty new to all of this. I got a question after hours of trying^^: How can I prevent a mouse key from being pressed more than two times? Also, I got an error message for: "if quickclicks > 0" which says "this variable has not been assigned a value" but quickclicks is declared "1". A...

Go to advanced search