Search found 120 matches
- 09 Oct 2021, 16:21
- Forum: General Discussion
- Topic: Should I start learning v1.1 or jump straight to v2
- Replies: 16
- Views: 7467
Re: Should I start learning v1.1 or jump straight to v2
from what I got, the whole legacy vs expression mode nonsense that autohotkey v1 has (and literally no other programming language ever had, they use one well definied syntax and no ambigous mixup), that just doesnt exist in v2. v2 is from what I heard how autohotkey should always have been. no legac...
- 26 Sep 2021, 16:26
- Forum: Ich brauche Hilfe
- Topic: Sichtbarkeit von globalen variabeln und deren Änderbarkeit?
- Replies: 14
- Views: 1863
Re: Sichtbarkeit von globalen variabeln und deren Änderbarkeit?
"Unflat" Diese Wort habe ich auch noch nie gehört. Die englischsprachigen Nutzer, ja... Meine Attitüde nennt sich Vernunft. Mag ja Masochisten geben die das Chaos um expesion vs legacy so richtig geil finden. Zu denen gehöre ich allerdings nicht und kann es daher leider auch nicht kommentarlos stehe...
- 30 Aug 2021, 04:14
- Forum: Ich brauche Hilfe
- Topic: Sichtbarkeit von globalen variabeln und deren Änderbarkeit?
- Replies: 14
- Views: 1863
Re: Sichtbarkeit von globalen variabeln und deren Änderbarkeit?
Meine "extremen" Äusserungen von mir basieren nur darauf dass dieser legacy vs expression Mode Mist mit abstand das unnötigste ist, was eine Programmiersprache haben kann. Von sich im laufe der Versionen ändernder Syntax ganz zu schweigen. So langsam habe ich mal eine AHnung wie manches in AHk v1 fu...
- 29 Aug 2021, 16:04
- Forum: Ich brauche Hilfe
- Topic: Sichtbarkeit von globalen variabeln und deren Änderbarkeit?
- Replies: 14
- Views: 1863
Re: Sichtbarkeit von globalen variabeln und deren Änderbarkeit?
habe jetzt mal überall die Zahlen auch wieder als Zahlen, also ohne Anführungszeichen geschrieben. Scheint mal derzeit zu laufen, nur die Farbfunktion liest mir aus der Hexadezimaldarstellung der Pixelfarbe 0x123456 und so noch nicht korrekt die betreffende Farbe ab, irgendwas passt da noch nicht ga...
- 29 Aug 2021, 03:50
- Forum: Ich brauche Hilfe
- Topic: Sichtbarkeit von globalen variabeln und deren Änderbarkeit?
- Replies: 14
- Views: 1863
Re: Sichtbarkeit von globalen variabeln und deren Änderbarkeit?
Hallo, ja, das war vermutklich die lösung meines kleinen Problems. Letztlich will ich wie du auch bspw. in der func() Methode a=a+1 machen, aber bisher hatte such das eingangs deklarierte a trotz Methodenaufruf nicht erhöht. Nun scheint es zu gehen :-) Eine Frage hätte ich noch: Weil ahk ansosnten b...
- 28 Aug 2021, 15:21
- Forum: Ich brauche Hilfe
- Topic: Sichtbarkeit von globalen variabeln und deren Änderbarkeit?
- Replies: 14
- Views: 1863
Re: Sichtbarkeit von globalen variabeln und deren Änderbarkeit?
Von dem was ich gerade so ergoogelt habe, müsste ich da wohl das stichwort global benutzen. Unklar ist mir da nur gerade ob ich global nur vor die anfängliche Deklaration der Variable ganz am Anfang des Skripts oder global vor die stelle in der Methode wo die globale variable überschrieben werden so...
- 28 Aug 2021, 15:16
- Forum: Ich brauche Hilfe
- Topic: Sichtbarkeit von globalen variabeln und deren Änderbarkeit?
- Replies: 14
- Views: 1863
Sichtbarkeit von globalen variabeln und deren Änderbarkeit?
Hallo, ich bin mittlerweile am verzweifeln. ich habe ein, für meine verhältnisse, recht umfangreiches Skript zusammengebastelt. Darin enthalten ist ein Colorcheck, den ich über eine Methode realisiere die ich mir aus einem Forum geklaut hatte. Noormalerweise wird die Funktion aufgerufen, erhält eine...
- 05 Aug 2021, 13:30
- Forum: Ask for Help (v1)
- Topic: legacy vs expression mode with msgbox?
- Replies: 2
- Views: 500
legacy vs expression mode with msgbox?
Hello, I am failing once again at the unique legacy mode vs expression mode stuff that only ahk uses and literally no other programming language. Namely I tried to use lines like this: MsgBox,,,"CurrColorBet=" . CurrColorBet . "CurrZeroBet" . CurrZeroBet,1 I know for a fact that something like varia...
- 31 Jul 2021, 08:05
- Forum: Ask for Help (v1)
- Topic: Formattime minutes counting to 99?
- Replies: 6
- Views: 538
Re: Formattime minutes counting to 99?
FormatTime ? Where is it in your code? But EnvSub sees these integers only as timestamps, if you add a a time unit. If not, it treats them as normal integers. EHm, these dates are obviously in the wanted YYYYMMDDHH24MISS format, so I dont get why envsub won't subtract them as such date stamps? :-/ ...
- 31 Jul 2021, 07:00
- Forum: Ask for Help (v1)
- Topic: Formattime minutes counting to 99?
- Replies: 6
- Views: 538
Re: Formattime minutes counting to 99?
I tried the envsub command with Minutes and it will probably do it already for me that way. Thing is, in the end I wanna check if the time difference is >=50 minutes or if it isnt. so the minute count is already good enough for my purposes. I still don't get though why the minutes in formattime were...
- 30 Jul 2021, 14:38
- Forum: Ask for Help (v1)
- Topic: Formattime minutes counting to 99?
- Replies: 6
- Views: 538
Formattime minutes counting to 99?
Hi, in a test script I used this simple piece of code: b:: Time1:=20040101035512 Time2:=20040101051316 EnvSub,Time2,Time1 MsgBox %Time2% return I would have expected 011804 or 11804 as an output (namely 04 seconds, 18 minutes and 1 hour) but I got 15804 as a result instead. my interpretation of that...
- 27 Jul 2021, 07:46
- Forum: Gaming Help (v1)
- Topic: controlclick in the online casino and its failings
- Replies: 3
- Views: 768
Re: controlclick in the online casino and its failings
but how would I achieve such a more human-like click?
I cant exactly control what controlclick does while performing the click :-/
I cant exactly control what controlclick does while performing the click :-/
- 26 Jul 2021, 15:49
- Forum: Gaming Help (v1)
- Topic: controlclick in the online casino and its failings
- Replies: 3
- Views: 768
controlclick in the online casino and its failings
Hello, I am trying to work with controlclick but I seem to be doing something very wrong or it doesnt work as intended I dont know. the situation: I have this ahk code: #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. ; #Warn ; Enable warnings to assist with de...
- 18 Jul 2021, 12:56
- Forum: Ask for Help (v1)
- Topic: "Function not defined" despite being defined?
- Replies: 17
- Views: 3026
Re: "Function not defined" despite being defined?
funnily your example code also doesnt display the drehen text but actually the "" text. yeah, that was kinda the point so it doesnt do the string somparison proper either :-P oh it does it proper, alright. it properly dereferences the value of the variable stringer , properly treats it as a variabl...
- 13 Jul 2021, 22:10
- Forum: Ask for Help (v1)
- Topic: "Function not defined" despite being defined?
- Replies: 17
- Views: 3026
Re: "Function not defined" despite being defined?
the /* and */ symbols can be used to comment out an entire section, but only if the symbols appear at the beginning of a line (excluding whitespace) Excluding tabs and spaces, /* must appear at the start of the line, while */ can appear only at the start or end of a line. and nether version permits...
- 13 Jul 2021, 22:06
- Forum: Ask for Help (v1)
- Topic: "Function not defined" despite being defined?
- Replies: 17
- Views: 3026
Re: "Function not defined" despite being defined?
by v1 vs v2, do you mean that ahk exclusive nosnense with expression mode and whatever mode that literally no other language uses? no couldnt the creators have gone along how all other languages do stuff and leave all that ambiguity away? they already have and they already have. :arrow: v2 I got th...
- 13 Jul 2021, 21:51
- Forum: Ask for Help (v1)
- Topic: "Function not defined" despite being defined?
- Replies: 17
- Views: 3026
Re: "Function not defined" despite being defined?
You were ascribing the fault of your script to an issue that doesn’t exist. Oh then tell me, almighty Jesus: When I put in "Drehen" as the parameter and there is "Drehen" literally FUCKING lsited as a case, why does the trash thing not find it? or does it want me to place some %? maybe one, maybe 2,...
- 13 Jul 2021, 21:34
- Forum: Ask for Help (v1)
- Topic: "Function not defined" despite being defined?
- Replies: 17
- Views: 3026
Re: "Function not defined" despite being defined?
by v1 vs v2, do you mean that ahk exclusive nosnense with expression mode and whatever mode that literally no other language uses? like in java, strings are ALWAYS written as "Drehen" and variable simply as b (without any quotation marks). but ahk has this weird stuff, where sometimes you have to pl...
- 13 Jul 2021, 18:02
- Forum: Ask for Help (v1)
- Topic: "Function not defined" despite being defined?
- Replies: 17
- Views: 3026
Re: "Function not defined" despite being defined?
Funny thing, i have no idea why it works but I seem to have managed to make it go into the correct case now! :-D but how it went: for unrelated reasons I read this: autohotkey.com/board/topic/149907-when-single-percent-signs-are-used-in-the-script/?p=734261 in there it says that function apparently ...
- 13 Jul 2021, 16:28
- Forum: Ask for Help (v1)
- Topic: "Function not defined" despite being defined?
- Replies: 17
- Views: 3026
Re: "Function not defined" despite being defined?
huh, upon seeing the code posted here, it seems that the clicker function definition is revceived as commented out. Sadly I use notepad++ as the editor which from the language list doesnt seem to know autohotkey as a programming language so no syntax highlughting for me :-/ but /* at the start and *...