Search found 877 matches
- 08 Apr 2019, 16:06
- Forum: Scripts and Functions (v1)
- Topic: FindText - Capture screen image into text and then find it Topic is solved
- Replies: 1091
- Views: 588759
Re: FindText - Capture screen image into text and then find it Topic is solved
Novice may think that the first four parameters are the range parameters of AHK: x1, y1, x2, y2 no: https://autohotkey.com/docs/commands/WinGetPos.htm ... However, the function uses the range parameters of WinAPI: x, y, w, h ... what is the difference from parameters get from WinGetPos, wX, wY, wW,...
- 08 Apr 2019, 10:57
- Forum: Scripts and Functions (v1)
- Topic: FindText - Capture screen image into text and then find it Topic is solved
- Replies: 1091
- Views: 588759
Re: FindText - Capture screen image into text and then find it Topic is solved
update: i have still a problem : updated 19-04-08_20-54: i think i need to use the half ... i test it as soon i have time again: youtu.be/wiOljkG3ERc https://www.youtube.com/watch?v=pXAB58tpmIE (updated) updated 19-04-08_19: CoordMode, Caret,Screen CoordMode, Mouse,Screen CoordMode, Pixel,Screen Coo...
- 08 Apr 2019, 10:45
- Forum: Scripts and Functions (v1)
- Topic: FindText - Capture screen image into text and then find it Topic is solved
- Replies: 1091
- Views: 588759
Re: FindText - Capture screen image into text and then find it Topic is solved
i have problem with this very great script (thanks) if i using: if (ok:=FindText(wX-150, wY-150, wW+150, wH+150, 0, 0, Text)) ; <=== this dont find it what i doing wrong? CoordMode, Caret CoordMode, Mouse CoordMode, Pixel CoordMode, Menu Text:="|<>**50$18.TzzU00jzzc00c00cQ0dW0e20dW0cW0cW0cW0cW0dX0e1...
- 06 Apr 2019, 14:57
- Forum: Off-topic Discussion
- Topic: « What's on your mind? » Topic is solved
- Replies: 4901
- Views: 1425440
Re: « What's on your mind? » Topic is solved
great music improvisation: the piano playing goes something like this: right hand: a struck, left hand D (large), that is, the interval is a perfect fifth, just a short distance away. in the right hand, he then goes a great second deeper and lands afterwards on the f. Therefore, if one until then th...
- 06 Apr 2019, 01:57
- Forum: Ask for Help (v1)
- Topic: Clipboard: 'PasteWait': wait for paste to complete
- Replies: 14
- Views: 8630
Re: Clipboard: 'PasteWait': wait for paste to complete
its in v2 https://hotkeyit.github.io/v2/docs/commands/DynaRun.htm#Parametersfreespacing wrote: ↑05 Apr 2019, 11:36By the way forgot to say that I tried @SL5's version but that it seems to rely an an AHK function called DynaRun().
and you could find in some other scripts. also into the source von AHK_Studio
- 05 Apr 2019, 02:11
- Forum: General Discussion
- Topic: A Github organisation for ahkscript
- Replies: 247
- Views: 191732
Re: A Github organisation for ahkscript
you may add me as welljoedf wrote: ↑10 Dec 2013, 11:26How to become a member
https://github.com/ahkscript
Post your name here to be a member, if you want ...
sl5net
- 05 Apr 2019, 02:07
- Forum: Off-topic Discussion
- Topic: gitignore **/*.bak.ahk
- Replies: 0
- Views: 1161
gitignore **/*.bak.ahk
adked for gitignore
https://stackoverflow.com/questions/55528456/gitignore-specific-filetype-in-all-directory-and-subdirectories
is this wrong? **/*.bak.ahk
https://stackoverflow.com/questions/55528456/gitignore-specific-filetype-in-all-directory-and-subdirectories
is this wrong? **/*.bak.ahk
- 03 Apr 2019, 01:52
- Forum: Ask for Help (v1)
- Topic: #IfWinActive, \.ahk\s*$
- Replies: 4
- Views: 995
Re: #IfWinActive, \.ahk\s*$
update. This update solves the problem that the function may constantly reload if the hotkey is placed in some kind SetTitleMatchMode, RegEx #IfWinActive, \.ahk\b ~^s::reload_if_StrgS() return ;/¯¯¯¯ Reload_if_StrgS ¯¯ 190330180529 ¯¯ 30.03.2019 18:05:29 ¯¯\ reload_if_StrgS(){ if(!A_PriorKey) return...
- 01 Apr 2019, 15:32
- Forum: General Discussion
- Topic: your personal AutoHotkey style guide
- Replies: 104
- Views: 53120
Re: your personal AutoHotkey style guide
update: Sorry I did not read the note on "De Morgan's Rule" yesterday so far I use it anyway the round bracket outside: means 1.1 if (!w || !h) or 1.2 if (!(w && h)) Of course this one is a bit ugly: 1.2 if (!(w && h)) . this almost always has historical reasons (refactoring an old source). in other...
- 01 Apr 2019, 12:38
- Forum: Scripts and Functions (v1)
- Topic: FindText - Capture screen image into text and then find it Topic is solved
- Replies: 1091
- Views: 588759
Re: FindText - Capture screen image into text and then find it Topic is solved
Hi, Thank you for your quick reply. I have no problem when I write the value directly to the function. But I need to use variable because I don't want to change the values at other lines as well. My script has 300++ lines , and it'll be easier for me to just change the value at EmulatorArea:="x,y,h...
- 01 Apr 2019, 09:30
- Forum: Scripts and Functions (v1)
- Topic: FindText - Capture screen image into text and then find it Topic is solved
- Replies: 1091
- Views: 588759
Re: FindText - Capture screen image into text and then find it Topic is solved
Hi feiyue, I am new to autohotkey and I found out about your script a month ago. I have been working on my games in Bluestack, but I have 1 issue. I am unable to pass the parameter of EmulatorArea variable to the function. It gives me this error. I have tried with and without percentage sign. Pleas...
- 31 Mar 2019, 11:17
- Forum: AHK Studio
- Topic: AHK Studio
- Replies: 1179
- Views: 630349
Re: AHK Studio
I updated the studio today with the update function. and I have to say something now! We do not usually do say that explicitly ;) ! maybe we should do that more often. nothing happened, my shortcuts were the same as before (which was my biggest concern), no errors. very well! Thank you for all your ...
- 31 Mar 2019, 07:50
- Forum: Scripts and Functions (v1)
- Topic: Tooltip functions
- Replies: 6
- Views: 2276
Re: Tooltip functions
yes. in the paxis it seems to work well. Are you sure? i have posted it in " "Scripts and Functions" not in "ask for help". what you think? i am not sure ;) ? and why? ... [v1.0.46.16+]: If Period is negative, the timer will run only once. For example, specifying -100 would run the timer 100 ms fro...
- 30 Mar 2019, 23:43
- Forum: Ask for Help (v1)
- Topic: hotkey definition at end of file Topic is solved
- Replies: 11
- Views: 2058
Re: hotkey definition at end of file Topic is solved
i want reload the script each time i save it.i have put this into a include file for all scripts. It is not obvious from the beginning what you are trying to do. Maybe putting the AutoInclude code into a class would help? .... This script auto-reloads when I save it, also when any one of three file...
- 30 Mar 2019, 23:36
- Forum: Ask for Help (v1)
- Topic: #SingleInstance,Force ? not working for me
- Replies: 10
- Views: 4673
- 30 Mar 2019, 23:29
- Forum: Ask for Help (v1)
- Topic: #SingleInstance,Force ? not working for me
- Replies: 10
- Views: 4673
Re: #SingleInstance,Force ? not working for me
Remove the comma and just do: #SingleInstance Force for some reasons it not happens again. so i think #SingleInstance, Force works. hmmm. i try remember #SingleInstance Force If that doesn't do it, you could try this little function that I use: ; Check if this script is already running (from a diff...
- 30 Mar 2019, 13:13
- Forum: Ask for Help (v1)
- Topic: hotkey definition at end of file Topic is solved
- Replies: 11
- Views: 2058
Re: hotkey definition at end of file Topic is solved
Sorry, I can't really follow what you are trying to do. i want reload the script each time i save it. my old solution works by using a interval . i have but this into a include file for all scripts. sometimes we try to solve problems we do currently not really have :crazy: :lolno: :thumbup: works (...
- 30 Mar 2019, 13:05
- Forum: Ask for Help (v1)
- Topic: hotkey definition at end of file Topic is solved
- Replies: 11
- Views: 2058
Re: hotkey definition at end of file Topic is solved
No, that's a different case - that's a one-liner hotkey that calls a normal function and hence after that, an unreachable msgbox. The execution of msgbox here would never be expected behaviour. In the other case, you defined a function in a hotkey. I don't see a connection to gosub - what do you me...
- 30 Mar 2019, 12:58
- Forum: Ask for Help (v1)
- Topic: hotkey definition at end of file Topic is solved
- Replies: 11
- Views: 2058
Re: hotkey definition at end of file Topic is solved
msgbox below ist never triggerd. Yes, if you define a function inside a hotkey, additional code beneath it will never be executed. It is different from normally defined functions, but this behaviour is not spelled out explicitly in the docs . ok. the same effect with: SetTitleMatchMode, RegEx #IfWi...
- 30 Mar 2019, 12:41
- Forum: Ask for Help (v1)
- Topic: hotkey definition at end of file Topic is solved
- Replies: 11
- Views: 2058
Re: hotkey definition at end of file Topic is solved
tied workaround. problem. msgbox below ist never triggerd. ;/¯¯¯¯ Reload_if_StrgS ¯¯ 190330180529 ¯¯ 30.03.2019 18:05:29 ¯¯\ SetTitleMatchMode, RegEx #IfWinActive, \.ahk\b ~^s:: reload_if_StrgS(){ WinGetTitle, at, A ; v1 Style if(instr(at,A_ScriptName)){ tip := A_ScriptName " will be reloaded in a s...