Search found 9467 matches
- 41 minutes ago
- Forum: Scripts and Functions (v2)
- Topic: CSVtoDict v2
- Replies: 12
- Views: 1208
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!
- Yesterday, 12:18
- Forum: Ask for Help (v2)
- Topic: Reopen Last closed window script (v1 -> v2) Topic is solved
- Replies: 8
- Views: 376
Re: Reopen Last closed window script (v1 -> v2) Topic is solved
Code: Select all
ComObjConnect(Window, "Shell_")
- Yesterday, 06:23
- Forum: Bug Reports
- Topic: menu setIcon The obtained icon is incorrect
- Replies: 4
- Views: 281
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...
- Yesterday, 06:16
- Forum: Ask for Help (v2)
- Topic: Reopen Last closed window script (v1 -> v2) Topic is solved
- Replies: 8
- Views: 376
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...
- Yesterday, 03:04
- Forum: Ich brauche Hilfe
- Topic: aufgeblähtem v2.0 Gui-Skript die Luft ablassen Topic is solved
- Replies: 4
- Views: 429
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...
- Yesterday, 02:43
- Forum: Scripts and Functions (v2)
- Topic: CSVtoDict v2
- Replies: 12
- Views: 1208
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 ...
- 19 May 2024, 07:30
- Forum: Ask for Help (v2)
- Topic: How to use hotkey object functions Topic is solved
- Replies: 6
- Views: 249
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)
}
}
- 19 May 2024, 07:10
- Forum: Bug Reports
- Topic: OnExist reason is always "0" (v2.0.15)
- Replies: 7
- Views: 470
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
- 19 May 2024, 06:35
- Forum: Scripts and Functions (v2)
- Topic: CSVtoDict v2
- Replies: 12
- Views: 1208
Re: CSVtoDict v2
@10basetom,
try to change the original CSVtoDict() function to:
try to change the original CSVtoDict() function to:
Code: Select all
CSVtoDict(file)
{
array := Map()
data := StrSplit(FileRead(file), "`r`n") ; <<<<<<<<<<
...
- 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: 162
Re: i got a problem by using PixelGetColor function, please help me
Did you try it with CoordMode "Mouse", "Screen"?
- 19 May 2024, 03:18
- Forum: Bug Reports
- Topic: loop parse "CSV" doesn't work for some CSV
- Replies: 9
- Views: 462
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...
- 19 May 2024, 02:53
- Forum: Bug Reports
- Topic: WinWaitClose blocks Timer call
- Replies: 2
- Views: 116
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...
- 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: 429
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,...
- 18 May 2024, 05:22
- Forum: Wish List
- Topic: A_Downloads might be a nice thing to have at some point.
- Replies: 14
- Views: 1021
Re: A_Downloads might be a nice thing to have at some point.
#Requires Autohotkey v2.0 ; ---------------------------------------------------------------------------------------------------------------------- KF := GetKnownFoldersPaths() ; ---------------------------------------------------------------------------------------------------------------------- Ge...
- 16 May 2024, 05:22
- Forum: Ich brauche Hilfe
- Topic: Probleme mit Listview-Aktualisierung
- Replies: 4
- Views: 452
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.
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.
- 15 May 2024, 03:03
- Forum: Spiele
- Topic: PixelSearch Topic is solved
- Replies: 22
- Views: 1354
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.
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.
- 15 May 2024, 02:56
- Forum: Ich brauche Hilfe
- Topic: Probleme mit Listview-Aktualisierung
- Replies: 4
- Views: 452
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...
- 14 May 2024, 02:47
- Forum: Bug Reports
- Topic: Access Is Denied for WinGetProcessName in V2 EXE
- Replies: 18
- Views: 1569
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...
- 13 May 2024, 02:43
- Forum: Ich brauche Hilfe
- Topic: Tastenkombination funkt. nicht mehr...
- Replies: 2
- Views: 194
- 13 May 2024, 02:29
- Forum: Ich brauche Hilfe
- Topic: aus eins mach drei ? Topic is solved
- Replies: 6
- Views: 452
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...