Search found 235 matches

by SpeedMaster
28 Oct 2018, 17:17
Forum: Ask For Help
Topic: RegEx to find word in sentence
Replies: 8
Views: 202

Re: RegEx to find word in sentence

good find, removing the space fixes it .* \K\b.*(?=" str ").*?\b =>> .*\K\b.*(?=" str ").*?\b Still doesn't work for me. :think: Line = bla bla bla Rajat please stay with us MsgBox % magic(Line, "ple") magic(haystack, str) { RegExMatch(haystack, ".*\K\b.*(?=" str ").*?\b", match) return match }
by SpeedMaster
28 Oct 2018, 13:59
Forum: Ask For Help
Topic: RegEx to find word in sentence
Replies: 8
Views: 202

Re: RegEx to find word in sentence

Thank you, but this call doesn't work for me. :(

Code: Select all

Line = bla bla bla Rajat please stay with us
MsgBox % magic(Line, "ple")

magic(haystack, str) {
	RegExMatch(haystack, ".* \K\b.*(?=" str ").*?\b", match)
	return match
}
by SpeedMaster
24 Oct 2018, 17:05
Forum: Forum Issues
Topic: Feedback: phpBB forum interface switch
Replies: 165
Views: 6260

Re: Feedback: phpBB forum interface switch

You can use the style url parameter, like so Digi: https://autohotkey.com/boards/index.php?style=7 SimplicityOld: https://autohotkey.com/boards/index.php?style=17 It works very well, thank you for this valuable information. :D I could add a switcher ? that would be a very good idea. Just a little b...
by SpeedMaster
24 Oct 2018, 15:50
Forum: Forum Issues
Topic: Feedback: phpBB forum interface switch
Replies: 165
Views: 6260

Re: Feedback: phpBB forum interface switch

a Dual Theme is ultimately the best idea,me thinks We have both. The users can pick. All Digi themes are dark. The only problem that remains to be solved is to find a way to switch easily between these two themes. :think: Just like the RPG forum does so well... https://forums.rpgmakerweb.com/index....
by SpeedMaster
24 Oct 2018, 14:41
Forum: Offtopic
Topic: advice for speeding up a very slow PC
Replies: 23
Views: 2315

Re: advice for speeding up a very slow PC

- I have a mini laptop, Windows 7, a few years old, and it's slow even when nothing is running (except for a virus checker and AutoHotkey). Planned Obsolescence :evil: :cry: https://www.express.co.uk/life-style/science-technology/902665/Microsoft-warning-Spectre-Meltdown-download-slow-PC-Windows-10...
by SpeedMaster
24 Oct 2018, 12:56
Forum: Forum Issues
Topic: Feedback: phpBB forum interface switch
Replies: 165
Views: 6260

Re: Feedback: phpBB forum interface switch

CyL0N wrote:
24 Oct 2018, 12:45
,That Dark Them Looks Sooo Good,and a Dual Theme is ultimately the best idea,me thinks
here's another one Dark Github very beautiful. :shock: :bravo:

https://cquanu.github.io/github-dark/

Cheers,
by SpeedMaster
24 Oct 2018, 11:52
Forum: Forum Issues
Topic: Feedback: phpBB forum interface switch
Replies: 165
Views: 6260

Re: Feedback: phpBB forum interface switch

There's nothing wrong with having a dark theme. I think the current theme is a bit old-fashioned and needs to be refreshed. Dark themes are more popular and less painful to the eyes at night (don't forget that forums are consulted in the evening that' s why hackers and players forums have a dark the...
by SpeedMaster
22 Oct 2018, 15:02
Forum: Gaming
Topic: [Game] List of all AHK Games
Replies: 28
Views: 7536

Re: [Game] List of all AHK Games

New Games:

[ 21 Oct 2018] - Snake (by euras)
[ 30 Sep 2018] - Vintage Microsoft BASIC Game : HELLO (by Speedmaster)
[ 28 Sept 2018] - Background power (by Mipha)
[ 03 Sept 2018] - Rock, Paper, Scissors, Lizard, Spock (by mshall)
by SpeedMaster
22 Oct 2018, 14:26
Forum: Ask For Help
Topic: Quotation concatenation to TextBox output? Topic is solved
Replies: 5
Views: 117

Re: Quotation concatenation to TextBox output? Topic is solved

Code: Select all

OutputVar := chr(34) . OutputVar . chr(34)
by SpeedMaster
19 Oct 2018, 17:19
Forum: Tutorials
Topic: Learn Autohotkey
Replies: 11
Views: 5121

Re: Learn Autohotkey

SpeedMaster wrote: Here is another very well done pdf https://riptutorial.com/Download/autohotkey.pdf I actually enjoy how that PDF is structured. Yes the cover and layout looks awesome !! :) but...Appearances are deceiving the content is not what it should be :? You will learn much better by readi...
by SpeedMaster
19 Oct 2018, 03:18
Forum: Tutorials
Topic: Learn Autohotkey
Replies: 11
Views: 5121

Re: Learn Autohotkey

Here is another very well done pdf :shh: 8-)

https://riptutorial.com/Download/autohotkey.pdf

cheers
by SpeedMaster
17 Oct 2018, 19:27
Forum: Ask For Help
Topic: Actually remove needle from haystack? Topic is solved
Replies: 3
Views: 124

Re: Actually remove needle from haystack? Topic is solved

The result is: --------------------------- Found fire Haystack is The red firetruck. --------------------------- What would cause it to result in this: --------------------------- Found fire Haystack is The red truck. --------------------------- ;) :arrow: Regexreplace() #SingleInstance force Hayst...
by SpeedMaster
17 Oct 2018, 02:16
Forum: Ask For Help
Topic: Format built-in variable (A_Index) to always include at least four digits
Replies: 4
Views: 113

Re: Format built-in variable (A_Index) to always include at least four digits

WeThotUWasAToad wrote:
16 Oct 2018, 22:13
Apparently I'm still confused ...

Syntax error... :|

Code: Select all

var := 1 

msgbox,  % Format ("{: 04}", var)      "`n`n expression without any function call"

msgbox,  % format("{: 04}", var)       "`n`n expression with a function call"

return
Cheers
by SpeedMaster
09 Oct 2018, 14:18
Forum: Ask For Help
Topic: Differentiate between "empty" variable, and non-variable? Topic is solved
Replies: 7
Views: 197

Re: Differentiate between "empty" variable, and non-variable? Topic is solved

There is no IsVar() nor IsVariable() function in AutoHotkey. In my opinion there is no way to know if you referred to a variable in the function. :cry: However, there is a way to know if you are referring to an object (even empty object) with isobject() function example: vara:=[] varb:="" ¥(vara, v...
by SpeedMaster
09 Oct 2018, 11:35
Forum: Ask For Help
Topic: Random number generater with exceptions
Replies: 8
Views: 142

Re: Random number generater with exceptions

How can I get the generater to pick one of the known numbers and not an unknown one that is between the known. Maybe something like that. :think: Arr := [1, 4, 7, 9, 12, 15, 19, 20] q::A:=Arr.Clone() w:: if (!A.1) { msgbox, Array is now empty `nPress "Q" then "W" return } MsgBox % A.pop(ShuffleArra...
by SpeedMaster
09 Oct 2018, 09:13
Forum: Ask For Help
Topic: Is there a way to clear function stack, i.e to avoid stack overflow? Topic is solved
Replies: 4
Views: 168

Re: Is there a way to clear function stack, i.e to avoid stack overflow? Topic is solved

Here's how i interpreted Lexikos's solution into my example Yes, the main idea is to have a reachable base case in the function if (i - iLast >= 100) . explanation: https://www.youtube.com/watch?v=vPEJSJMg4jY Curious but it seems that it is not necessary to set a base case in some other languages. ...
by SpeedMaster
07 Oct 2018, 07:20
Forum: Ask For Help
Topic: Is there a way to clear function stack, i.e to avoid stack overflow? Topic is solved
Replies: 4
Views: 168

Re: Is there a way to clear function stack, i.e to avoid stack overflow? Topic is solved

Yes. Return. I tried to solve the code above with return . It works well but 1501, 2001 and 2002 are missing in the log file. :cry: I think I did something wrong somewhere. :crazy: Do you have a better solution (using recursivity) for the previous example? :think: h:=i:=0 loop, { ++i x(h) } x(n) { ...
by SpeedMaster
03 Oct 2018, 02:33
Forum: Scripts and Functions
Topic: Background power v1.30 (I made a incremental game with autohotkey.)
Replies: 17
Views: 918

Re: I made an incremental game using autohotkey

I'm not entirely sure how useful it will be in the garden since the eldervine exists. And eldervine creates a copy of 2 different plants meaning there's many variations of the resulting plant so amalgamplant.name would not work (If I understand this correctly) that's exactly why object-oriented pro...
by SpeedMaster
02 Oct 2018, 17:15
Forum: Scripts and Functions
Topic: Background power v1.30 (I made a incremental game with autohotkey.)
Replies: 17
Views: 918

Re: I made an incremental game using autohotkey

give me advice on what I should do to make it better. Espacially on how to make the code better With more than 3000 lines of code, you probably have more experience in role-playing and programming than I do. I would like to have such knowledge :cry: . I think it's time for you to move forward and l...

Go to advanced search