Search found 9461 matches

by just me
Today, 07:30
Forum: Ask for Help (v2)
Topic: How to use hotkey object functions Topic is solved
Replies: 6
Views: 229

Re: How to use hotkey object functions Topic is solved

A bit more straight:

Code: Select all

#Requires AutoHotkey v2.0
For Key In StrSplit("0123456789")
    Hotkey('^' Key, (HK) => A.B(SubStr(HK, -1)))

Class A {
    Static B(K) {
        ToolTip('+' K '!' K)
    }
}
by just me
Today, 07:10
Forum: Bug Reports
Topic: OnExist reason is always "0" (v2.0.15)
Replies: 7
Views: 372

Re: OnExist reason is always "0" (v2.0.15)

Code: Select all

#Requires AutoHotkey v2.0
OnExit(DoExit)
DoExit(o*) {
	for k, v in o
		MsgBox(v, k)
}
ExitApp 999
by just me
Today, 06:35
Forum: Scripts and Functions (v2)
Topic: CSVtoDict v2
Replies: 6
Views: 900

Re: CSVtoDict v2

@10basetom,

try to change the original CSVtoDict() function to:

Code: Select all

CSVtoDict(file)
{
    array   := Map()
    data 	:= StrSplit(FileRead(file), "`r`n") ; <<<<<<<<<<
    ...
by just me
Today, 03:18
Forum: Bug Reports
Topic: loop parse "CSV" doesn't work for some CSV
Replies: 5
Views: 231

Re: loop parse "CSV" doesn't work for some CSV

Excel is using a single `n to mark line breaks within field contents. This causes problems with Loop Read , because: InputFile ... The file's lines may end in carriage return and linefeed (`r`n), just linefeed (`n), or just carriage return (`r). You better use FileContent := FileRead(...) Loop Parse...
by just me
Today, 02:53
Forum: Bug Reports
Topic: WinWaitClose blocks Timer call
Replies: 2
Views: 86

Re: WinWaitClose blocks Timer call

SetTimer -> Remarks Reliability : A timer might not be able to run at the expected time under the following conditions: ... The timer's function is still running when the timer period expires again. ... The timer has been interrupted by another thread, namely another timed function, hotkey subrouti...
by just me
Yesterday, 12:57
Forum: Ich brauche Hilfe
Topic: aufgeblähtem v2.0 Gui-Skript die Luft ablassen Topic is solved
Replies: 3
Views: 317

Re: aufgeblähtem v2.0 Gui-Skript die Luft ablassen Topic is solved

Moin, dass das "Überschreiben" im Sinne von "Zerstören und neu Erstellen" auch in v1 so nicht funktioniert, kannst Du einfach testen: #Requires AutoHotkey v1.1.33 q::RGB_Guis() RGB_Guis() { Loop 3 { Gui %A_Index%: +AlwaysOnTop -DPIScale -Caption -SysMenu +ToolWindow Gui %A_Index%: Add, Text, cWhite,...
by just me
Yesterday, 05:22
Forum: Wish List
Topic: A_Downloads might be a nice thing to have at some point.
Replies: 9
Views: 778

Re: A_Downloads might be a nice thing to have at some point.

#Requires Autohotkey v2.0 ; ---------------------------------------------------------------------------------------------------------------------- KF := GetKnownFoldersPaths() ; ---------------------------------------------------------------------------------------------------------------------- Ge...
by just me
16 May 2024, 05:22
Forum: Ich brauche Hilfe
Topic: Probleme mit Listview-Aktualisierung
Replies: 4
Views: 439

Re: Probleme mit Listview-Aktualisierung

Moin,

gegen das Zucken kann GuiControl, -Redraw, Liste1 helfen.
LV_Modify() allein funktioniert ja nur, wenn die Anzahl der Zeilen immer gleich bleibt. Wenn das so ist, kannst Du das selbstverständlich auch benutzen.
Dem ListView ist es egal, in welchem Tab er steht, nur das Fenster ist wichtig.
by just me
15 May 2024, 03:03
Forum: Spiele
Topic: PixelSearch Topic is solved
Replies: 22
Views: 1317

Re: PixelSearch Topic is solved

Moin @glnklein,

stelle spielbezogene Fragen künftig bitte ausschließlich im Spieleforum. Ich muss mich dann hinterher nicht darüber ärgern, dass ich versucht habe, eine Spielmanipulation zu unterstützen.
by just me
15 May 2024, 02:56
Forum: Ich brauche Hilfe
Topic: Probleme mit Listview-Aktualisierung
Replies: 4
Views: 439

Re: Probleme mit Listview-Aktualisierung

Moin, gero hat recht. Trotzdem noch ein paar Ergänzungen: Die Beschreibung der ListView-Funktionen findet sich hier: Interne ListView-Funktionen . Alle folgenden ListView-Funktionen arbeiten mit dem Standard-GUI-Fenster des aktuellen Threads (was z.B. mit Gui, 2:Default geändert werden kann). Wenn d...
by just me
14 May 2024, 02:47
Forum: Bug Reports
Topic: Access Is Denied for WinGetProcessName in V2 EXE
Replies: 18
Views: 1525

Re: Access Is Denied for WinGetProcessName in V2 EXE

Another faster workaround, based on SKAN's WTSEnumProcesses() - Returns list of running processes : ; #Requires AutoHotkey v2.0 ; ====================================================================================================================== ; Get the names of all processes in the system. ; R...
by just me
13 May 2024, 02:43
Forum: Ich brauche Hilfe
Topic: Tastenkombination funkt. nicht mehr...
Replies: 2
Views: 170

Re: Tastenkombination funkt. nicht mehr...

Moin,

Du kannst es mal mit #UseHook oder dem $-Präfix probieren. Vielleicht hilft es.
by just me
13 May 2024, 02:29
Forum: Ich brauche Hilfe
Topic: aus eins mach drei ? Topic is solved
Replies: 6
Views: 436

Re: aus eins mach drei ? Topic is solved

Moin, nach dem Aufruf von CombineRgn wird nur noch die 'kombinierte' Region outer benötigt. Die Region inner kann direkt danach gelöscht werden. Die Region outer geht mit dem Aufruf der Funktion SetWindowRgn in den Besitz des Systems/Fensters über ( Quelle ). Damit ist sie anschließend für das Skrip...
by just me
13 May 2024, 02:08
Forum: Ich brauche Hilfe
Topic: Hotstring sehr zeitverzögert
Replies: 3
Views: 124

Re: Hotstring sehr zeitverzögert

Moin, das Skript verhält sich immer gleich, Notepad und vielleicht Win 11 generell verhalten sich anders.
by just me
12 May 2024, 02:32
Forum: Ich brauche Hilfe
Topic: aus eins mach drei ? Topic is solved
Replies: 6
Views: 436

Re: aus eins mach drei ? Topic is solved

glnklein wrote:... , einfach hCircle neu definieren erzeugt ja nun einen 4 kreis
Stimmt, und deshalb musst Du das Fenster mit der ID hCircle vorher mit Destroy entfernen.

Falls Du die Zeit findest, Deinen Blick einmal auf diese Antwort zu richten, geht es um eine Spielsteuerung?
by just me
11 May 2024, 10:25
Forum: Ask for Help (v2)
Topic: Array items not "popping" ?? Topic is solved
Replies: 3
Views: 271

Re: Array items not "popping" ?? Topic is solved

If undoArrL.Length > 1 ; both will be same length, so use either. { undoArrL.pop ; removes and returns last array item. delPosL := undoArrL[undoArrL.Length] ... ... } After this step the contents of delPosL is still included in the array at position undoArrL.Length . The next call of the function w...
by just me
11 May 2024, 08:27
Forum: Spiele
Topic: PixelSearch Topic is solved
Replies: 22
Views: 1317

Re: PixelSearch Topic is solved

Hi Noitalommi_2 , gut. Dann spendiere ich mal eine v1 Version: CenterPixelSearch(ByRef OutputVarX, ByRef OutputVarY, X1, Y1, X2, Y2, Color) { ; 0/1 Width := X2 - X1 Height := Y2 - Y1 CenterX := Ceil(Width / 2) CenterY := Ceil(Height / 2) OutputVarX := "" OutputVarY := "" Found := 0 HDC := DllCall("G...
by just me
11 May 2024, 05:22
Forum: Ask for Help (v1)
Topic: Need Advice on Finding My Missing { bracket
Replies: 10
Views: 832

Re: Need Advice on Finding My Missing { bracket

Also, avoid the One True Brace (OTB, K&R style) because AHK 1.1 ignores such braces where not permitted.
by just me
11 May 2024, 04:18
Forum: Ich brauche Hilfe
Topic: sleep ersetzen ? AHK multiaufgaben Topic is solved
Replies: 2
Views: 278

Re: sleep ersetzen ? AHK multiaufgaben Topic is solved

loop , 10 { DllCall("mouse_event", "UInt", 0x01, "UInt", loopx, "UInt", loopy, uint, 100, int, 100) sleep 1 ; das sleep bremst mir alles aus , noch nicht einmal mehr die maustasten werden angenommen } Moin, das Sleep, 1 pausiert für maximal 16 Millisekunden, wenn der Rechner nicht am Anschlag läuft...

Go to advanced search