Search found 9468 matches

by just me
Today, 07:10
Forum: Ich brauche Hilfe
Topic: WheelUp-, WheelDown-Hotkey wegen defektem Scrollrad - V2 Topic is solved
Replies: 3
Views: 129

Re: WheelUp-, WheelDown-Hotkey wegen defektem Scrollrad - V2 Topic is solved

Moin, in v2 sind auch Hotkeyroutinen Funktionen. Man kann sie für mehrere Hotkeys 'stacken' und mit eigenen statischen Variablen ausstatten. #Requires AutoHotkey v2.0 $WheelDown:: $WheelUp:: { Static PreviousWheel := "" If (PreviousWheel = ThisHotkey) Send("{" . SubStr(ThisHotkey, 2) . "}") Previous...
by just me
Today, 05:06
Forum: Scripts and Functions (v2)
Topic: CSVtoDict v2
Replies: 12
Views: 1259

Re: CSVtoDict v2

Ok, if you want/have to allow any user to edit CSV files using any editor on any system without defining strict rules, good luck! ;)
by just me
Yesterday, 06:23
Forum: Bug Reports
Topic: menu setIcon The obtained icon is incorrect
Replies: 4
Views: 319

Re: menu setIcon The obtained icon is incorrect

IconNumber Type: Integer If omitted, it defaults to 1 (the first icon group). Otherwise, specify the number of the icon group to be used in the file. For example, MyMenu.SetIcon(MenuItemName, "Shell32.dll", 2) would use the default icon from the second icon group. If negative, its absolute value is...
by just me
Yesterday, 06:16
Forum: Ask for Help (v2)
Topic: Reopen Last closed window script (v1 -> v2) Topic is solved
Replies: 8
Views: 397

Re: Reopen Last closed window script (v1 -> v2) Topic is solved

Shell_NavigateComplete2() is used to update the current path after navigating in an existing explorer window. My attempt: #Requires AutoHotkey v2.0 Shell := ComObject("Shell.Application") ExistingWindows := Map("LastClosed", "") CollectExistingWindows() Hook := ShellHook(ShellHookProc) !e:: { If !E...
by just me
Yesterday, 03:04
Forum: Ich brauche Hilfe
Topic: aufgeblähtem v2.0 Gui-Skript die Luft ablassen Topic is solved
Replies: 4
Views: 444

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

Moin, Welchen Nährwert hat eigentlich die Formatfunktion in der nachträglich editierten Zeile? Keinen! Ich hatte da rumgespielt und mich dann entschieden, Format doch nicht zu benutzen. Dabei habe ich aber anscheinend nur die Platzhalter ( {} ) und die letzte Klammer entfernt, den Funktionsnamen abe...
by just me
Yesterday, 02:43
Forum: Scripts and Functions (v2)
Topic: CSVtoDict v2
Replies: 12
Views: 1259

Re: CSVtoDict v2

Users could save data from Excel with multi-line quoted values, so the file can have \n and \r\n line endings. Users could edit the CSV file from a text editor, so the file can have all \n (Linux, Mac) or \r\n (Windows) line endings. I ended up writing my own function based on regex that I'm happy ...
by just me
19 May 2024, 07:30
Forum: Ask for Help (v2)
Topic: How to use hotkey object functions Topic is solved
Replies: 6
Views: 257

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
19 May 2024, 07:10
Forum: Bug Reports
Topic: OnExist reason is always "0" (v2.0.15)
Replies: 7
Views: 483

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
19 May 2024, 06:35
Forum: Scripts and Functions (v2)
Topic: CSVtoDict v2
Replies: 12
Views: 1259

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
19 May 2024, 03:47
Forum: Ask for Help (v2)
Topic: i got a problem by using PixelGetColor function, please help me
Replies: 2
Views: 170

Re: i got a problem by using PixelGetColor function, please help me

Did you try it with CoordMode "Mouse", "Screen"?
by just me
19 May 2024, 03:18
Forum: Bug Reports
Topic: loop parse "CSV" doesn't work for some CSV
Replies: 9
Views: 473

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
19 May 2024, 02:53
Forum: Bug Reports
Topic: WinWaitClose blocks Timer call
Replies: 2
Views: 120

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
18 May 2024, 12:57
Forum: Ich brauche Hilfe
Topic: aufgeblähtem v2.0 Gui-Skript die Luft ablassen Topic is solved
Replies: 4
Views: 444

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
18 May 2024, 05:22
Forum: Wish List
Topic: A_Downloads might be a nice thing to have at some point.
Replies: 15
Views: 1086

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: 457

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: 1364

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: 457

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: 1581

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: 200

Re: Tastenkombination funkt. nicht mehr...

Moin,

Du kannst es mal mit #UseHook oder dem $-Präfix probieren. Vielleicht hilft es.

Go to advanced search