Search found 2556 matches
- 11 Feb 2021, 05:07
- Forum: Ask For Help
- Topic: Get all monitor handles
- Replies: 7
- Views: 564
Re: Get all monitor handles
See a working example here -> https://www.autohotkey.com/boards/viewtopic.php?t=4606
- 03 Feb 2021, 03:01
- Forum: Ask For Help
- Topic: A_TickCount not resetting properly Topic is solved
- Replies: 1
- Views: 77
Re: A_TickCount not resetting properly Topic is solved
try with Start := 0
- 03 Feb 2021, 03:00
- Forum: Scripts and Functions
- Topic: CNG (Cryptography API: Next Generation)
- Replies: 85
- Views: 44725
Re: CNG (Cryptography API: Next Generation)
Your example works for me


- 27 Jan 2021, 09:54
- Forum: Allgemeines
- Topic: Deutsches Forum von 2012?
- Replies: 8
- Views: 221
Re: Deutsches Forum von 2012?
@joedf did you or tank disabled the old german (read-only) forum?
- 27 Jan 2021, 08:33
- Forum: Ich brauche Hilfe
- Topic: Zahlen in Editfeld verhindern Topic is solved
- Replies: 18
- Views: 984
Re: Zahlen in Editfeld verhindern Topic is solved
Wieder ein vorzügliches Beispiel, warum uns "just me" noch sehr sehr lange erhalten bleiben sollte. 
\s sollte eigtl der richtige RegEx Ausdruck für das Leerzeichen sein.
https://www.autohotkey.com/docs/misc/RegEx-QuickRef.htm#Common

\s sollte eigtl der richtige RegEx Ausdruck für das Leerzeichen sein.
https://www.autohotkey.com/docs/misc/RegEx-QuickRef.htm#Common
- 27 Jan 2021, 08:30
- Forum: Scripts and Functions
- Topic: AHK - WMI - Snippets
- Replies: 32
- Views: 22340
Re: AHK - WMI - Snippets
Thank you @Tigerlily
- 27 Jan 2021, 08:29
- Forum: Allgemeines
- Topic: Deutsches Forum von 2012?
- Replies: 8
- Views: 221
Re: Deutsches Forum von 2012?
wer wie wo was
- 21 Jan 2021, 05:09
- Forum: Scripts and Functions
- Topic: A collection of small ahk functions
- Replies: 78
- Views: 43495
Re: A collection of small ahk functions
ElfHash (ELF Hash Implementation in AutoHotkey) Source: ElfHash(string) { h := 0 loop, parse, string { h := (h << 4) + (Asc(A_LoopField)) if (x := h & 0xF0000000) h ^= x >> 24 h &= ~x } return Format("{:#x}", h) } Example: MsgBox % ElfHash("The quick brown fox jumps over the lazy dog") Output: 0x42...
- 07 Jan 2021, 09:51
- Forum: Ich brauche Hilfe
- Topic: Ganz-Zahlenformat mit Tausendertrennzeichen
- Replies: 6
- Views: 144
Re: Ganz-Zahlenformat mit Tausendertrennzeichen
Den SubStr würde ich heute perfomanter bauen (zusammen mit meiner aktuellen funktion) GetNumberFormatEx(Value, LocaleName := "!x-sys-default-locale") ; Windows Vista and later { if (Size := DllCall("GetNumberFormatEx", "str", LocaleName, "uint", 0, "str", Value, "ptr", 0, "ptr", 0, "int", 0)) { VarS...
- 04 Jan 2021, 06:32
- Forum: Ask For Help
- Topic: How to encrypt
- Replies: 6
- Views: 230
Re: How to encrypt
1) Crypt.Hash.String() Hashing (e.g. MD5 / SHA1 / SHA2) are one-way functions. You cannot decrypt them (only with brut-force or rainbow tables) 2) Crypt.Eecrypt.String() You can use the "hexraw" parameter to get just letters and numbers (0-9 + A-F) (e.g. MsgBox % Crypt.Encrypt.String("AES", "ECB", "...
- 04 Jan 2021, 06:05
- Forum: Scripts and Functions
- Topic: CNG (Cryptography API: Next Generation)
- Replies: 85
- Views: 44725
Re: CNG (Cryptography API: Next Generation)
updated the class
MsgBox % Crypt.Hash.HMAC("SHA1", "000000000273ef07", "48656c6c6f21deadbeef", "hex") returns now 96b1be00bda9c81cfc4a58f0ad9ff12f5ece03ef
MsgBox % Crypt.Hash.HMAC("SHA1", 0x000000000273ef07, 0x48656c6c6f21deadbeef, "hex") is also possible
MsgBox % Crypt.Hash.HMAC("SHA1", "000000000273ef07", "48656c6c6f21deadbeef", "hex") returns now 96b1be00bda9c81cfc4a58f0ad9ff12f5ece03ef
MsgBox % Crypt.Hash.HMAC("SHA1", 0x000000000273ef07, 0x48656c6c6f21deadbeef, "hex") is also possible
- 04 Jan 2021, 05:31
- Forum: Allgemeines
- Topic: 2020 -> 2021
- Replies: 9
- Views: 336
Re: 2020 -> 2021
Frohes Neues euch allen.
- 04 Jan 2021, 05:28
- Forum: Ich brauche Hilfe
- Topic: UDP nach update auf 1.1.33.02 funktionier nicht mehr
- Replies: 4
- Views: 140
Re: UDP nach update auf 1.1.33.02 funktionier nicht mehr
Ach sieh an. Auch ein CoD4 Spieler 
Hab so eine Abfrage auch schon gemacht mit der aktuellen Version von AHK und kann sagen es funktioniert.
Benutze allerdings die Klasse von Bentschi dafür und nicht manuell Zeile für Zeile

Hab so eine Abfrage auch schon gemacht mit der aktuellen Version von AHK und kann sagen es funktioniert.
Benutze allerdings die Klasse von Bentschi dafür und nicht manuell Zeile für Zeile
- 23 Dec 2020, 05:16
- Forum: Allgemeines
- Topic: 2020 -> 2021
- Replies: 9
- Views: 336
2020 -> 2021
Hallo zusammen, 2020 (der eine oder andere würde das Jahr bestimmt am liebsten aus seinem Gedächtnis streichen) neigt sich so langsam dem Ende. Ich wünsche euch allen schon mal eine schöne Weihnachtszeit inkl. Feiertage und einen guten Rutsch ins 2021, wenn man sich hier nicht mehr liest. :xmas: Vlt...
- 17 Dec 2020, 04:38
- Forum: Ich brauche Hilfe
- Topic: Passwort soll nicht plain im Skript stehen
- Replies: 10
- Views: 197
Re: Passwort soll nicht plain im Skript stehen
Mein Rat: Benutze KeePass (oder Alternativen)
- 16 Dec 2020, 08:28
- Forum: Allgemeines
- Topic: Google blockt Blocker?
- Replies: 3
- Views: 154
Re: Google blockt Blocker?
Wenn möglich, kauf dir ein Raspberry (oder Alternative) und setzt dir ein Pi-Hole oder AdGuard Home auf, füge ein paar Listen hinzu (findest du auf GitHub) und verwende den als DNS-Server.
- 27 Nov 2020, 09:00
- Forum: Scripts and Functions
- Topic: CRC (Cyclic redundancy check)
- Replies: 7
- Views: 1151
Re: CRC (Cyclic redundancy check)
There is no DllCall from Microsoft for CRC16 But use this for CRC32: CRC32(str, enc := "UTF-8") { size := (StrPut(str, enc) - 1) * (len := (enc = "CP1200" || enc = "UTF-16") ? 2 : 1) VarSetCapacity(buf, size, 0) && StrPut(str, &buf, Floor(size / len), enc) crc := DllCall("ntdll\RtlComputeCrc32", "ui...
- 26 Nov 2020, 03:17
- Forum: Ask For Help
- Topic: Process Private Memory Usage Topic is solved
- Replies: 28
- Views: 3276
Re: Process Private Memory Usage Topic is solved
Can you try this function?
https://github.com/jNizM/MemoryInfo/blob/master/src/MemoryInfo.ahk#L78
Or take a look in these 2 tools from Sysinternals:
https://docs.microsoft.com/en-us/sysinternals/downloads/rammap
https://docs.microsoft.com/en-us/sysinternals/downloads/vmmap
https://github.com/jNizM/MemoryInfo/blob/master/src/MemoryInfo.ahk#L78
Or take a look in these 2 tools from Sysinternals:
https://docs.microsoft.com/en-us/sysinternals/downloads/rammap
https://docs.microsoft.com/en-us/sysinternals/downloads/vmmap
- 23 Oct 2020, 07:49
- Forum: Ask For Help
- Topic: AHK allow only to run on specific hdd serial Topic is solved
- Replies: 13
- Views: 352
Re: AHK allow only to run on specific hdd serial Topic is solved
Return true (1) if SN is correct or false (0) if not hddsn(sn) { for objItem in ComObjGet("winmgmts:").ExecQuery("SELECT * FROM Win32_DiskDrive") if (InStr(objItem.SerialNumber, sn)) return true return false } example if (hddsn("50026B77828278E9")) MsgBox % "Success" else MsgBox % "Failure"
- 16 Sep 2020, 06:01
- Forum: Ask For Help
- Topic: Help with Sean's AES Encryption/Decryption
- Replies: 5
- Views: 333
Re: Help with Sean's AES Encryption/Decryption
File Encryption / Decryption will be possible after my vacation in 1 or 2 weeks 
