Search found 3040 matches

by jNizM
07 Jan 2023, 11:06
Forum: AutoHotkey Development
Topic: [Idea] Hashing as built-in function
Replies: 6
Views: 1946

Re: [Idea] Hashing as built-in function

As soon as Microsoft implements more hash algorithms, it will be easy to customize and add them. But currently only the following are supported by MS directly:
https://learn.microsoft.com/en-us/windows/win32/seccng/cng-algorithm-identifiers
by jNizM
05 Jan 2023, 05:10
Forum: AutoHotkey Development
Topic: [Idea] Hashing as built-in function
Replies: 6
Views: 1946

Re: [Idea] Hashing as Buildin function

Changelog so far (im still learning): - Changed heap to malloc - Changed std::ifstream to createfile / readfile - Added LONG_OPERATION_INIT and LONG_OPERATION_UPDATE - Added UTF-16 to UTF-8 transcode - Added delete BYTE[] - Changed Algorithm ID to Names Todo: - Hash from buffer (HashBuffer) UTF-16 c...
by jNizM
05 Jan 2023, 01:58
Forum: AutoHotkey Development
Topic: [Idea] Hashing as built-in function
Replies: 6
Views: 1946

Re: [Idea] Hashing as Buildin function

The UX scripts include a HashFile function with similar usage but different algorithms assigned to the numbers, based on a v1 script by Deo. MD4 is missing (CALG_MD4 = 0x00008002) I would want the second parameter to accept algorithm names. I'll try Alternatively, replace "HashString" with "HashBuf...
by jNizM
05 Jan 2023, 01:50
Forum: Allgemeines
Topic: Allen ein gutes neues Jahr
Replies: 3
Views: 1894

Re: Allen ein gutes neues Jahr

Danke euch auch ein frohes Neues.

jNizM
by jNizM
04 Jan 2023, 10:04
Forum: AutoHotkey Development
Topic: [Idea] Hashing as built-in function
Replies: 6
Views: 1946

[Idea] Hashing as built-in function

I've been experimenting a bit with hashing to include it (eventually if desired) as a built-in feature in AHK. Currently it only works with 64-bit AHK. As a non-programmer, it's a little harder to get into C++. I am always open for improvement suggestions or pull requests. What it might look like: H...
by jNizM
19 Dec 2022, 07:54
Forum: Off-topic Discussion
Topic: Test your Forum Posts
Replies: 422
Views: 221542

Re: Test your Forum Posts

Code: Select all

x := "Say `"hello`""
x := 'Say "hello"'
by jNizM
19 Dec 2022, 03:52
Forum: Scripts and Functions (v2)
Topic: [v2] SQLite Database Viewer
Replies: 33
Views: 11701

Re: [v2] SQLite Database Viewer

Do you still maintain this repo?
Also with the updated v2 version by just me (https://www.autohotkey.com/boards/viewtopic.php?f=83&t=95389)
by jNizM
16 Dec 2022, 05:29
Forum: Scripts and Functions (v1)
Topic: Upcoming Ahk2Exe Changes (2024)
Replies: 630
Views: 186525

Re: Upcoming Ahk2Exe Changes (2022)

Only as info / hint:
UPX has released a (two) new version after more than two years.

Homepage: https://upx.github.io/
Github: https://github.com/upx/upx
Download Page: https://github.com/upx/upx/releases
by jNizM
13 Dec 2022, 05:24
Forum: Scripts and Functions (v1)
Topic: v1 -> v2 Script Converter
Replies: 146
Views: 78036

Re: v1 -> v2 Script Converter

Still broken v1 class randomclass { ; stuff something(x) { loop % x if (RegExMatch(a_loopField, "^[cC]([a-fA-F\d]+)$", m)) color := "0x" m1 return color } measure(g, text := "") { DllCall("gdiplus\GdipDrawLine", "UPtr", g, "UPtr", pen , "Float", this.x + this.marginLeft + w , "Float", this.y + this....
by jNizM
13 Dec 2022, 02:36
Forum: Scripts and Functions (v2)
Topic: [FUNCTION] Net_GetInterfaceInfo
Replies: 2
Views: 597

Re: [FUNCTION] NetLib_GetInterfaceInfo

Thanks cyruz
Did something similar with GetAdaptersInfo (viewtopic.php?f=83&t=89720)
by jNizM
09 Dec 2022, 09:49
Forum: Bug Reports
Topic: MonitorGetPrimary() function inconsistent with v1 SysGet MonitorPrimary Topic is solved
Replies: 7
Views: 1213

Re: MonitorGetPrimary() function inconsistent with v1 SysGet MonitorPrimary Topic is solved

swagfag wrote:
09 Dec 2022, 07:54
...

Code: Select all

DllCall("user32\MonitorFromPoint", "Int64", 0, ....
Post edited
by jNizM
09 Dec 2022, 05:05
Forum: Bug Reports
Topic: MonitorGetPrimary() function inconsistent with v1 SysGet MonitorPrimary Topic is solved
Replies: 7
Views: 1213

Re: MonitorGetPrimary() function inconsistent with v1 SysGet MonitorPrimary Topic is solved

Can you try this and say if it returns the right monitor? #Requires AutoHotkey v2.0-beta MsgBox "winapi:`t" GetPrimaryMonitor() "`n`nahk:`t" MonitorGetName(p := MonitorGetPrimary()) "`t [" p "]" GetPrimaryMonitor() ; https://devblogs.microsoft.com/oldnewthing/20070809-00/?p=25643 { static MONITOR_DE...
by jNizM
09 Dec 2022, 02:54
Forum: Scripts and Functions (v1)
Topic: v1 -> v2 Script Converter
Replies: 146
Views: 78036

Re: v1 -> v2 Script Converter

In case it has not been reported yet.
Once an array is translated, it makes an array out of each word/command if the first letter matches the array.

Image
by jNizM
06 Dec 2022, 08:58
Forum: Scripts and Functions (v2)
Topic: Dll ExportViewer
Replies: 6
Views: 1169

Re: Dll ExportViewer

Update (see changelog 2022-12-06)
by jNizM
06 Dec 2022, 02:27
Forum: Ask for Help (v1)
Topic: Class_SQLiteDB library - prevent harm SQL code execution Topic is solved
Replies: 11
Views: 1021

Re: Class_SQLiteDB library - prevent harm SQL code execution Topic is solved

quick and dirty check #SingleInstance, force SQL_BADWORDS := ["ALTER", "ANALYZE", "ATTACH", "COMMIT", "CREATE", "DELETE", "DETACH", "DROP", "EXPLAIN", "INSERT", "PRAGMA" , "REINDEX", "REPLACE", "RETURNING", "ROLLBACK", "SAVEPOINT", "UPDATE", "UPSERT", "VACUUM"] Gui, Add, Edit, xm ym w400 gCheckInput...
by jNizM
05 Dec 2022, 12:34
Forum: Ask for Help (v1)
Topic: Class_SQLiteDB library - prevent harm SQL code execution Topic is solved
Replies: 11
Views: 1021

Re: Class_SQLiteDB library - prevent harm SQL code execution Topic is solved

I do this with a precheck with the ahk InStr() function.
Do a list (array) with forbidden sql commands and loop them with instr
by jNizM
05 Dec 2022, 10:05
Forum: Scripts and Functions (v2)
Topic: Dll ExportViewer
Replies: 6
Views: 1169

Re: Dll ExportViewer

So far I have picked these out. If I have forgotten some or should add another list, please write

List see -> viewtopic.php?p=494118#p494118 (Predefined list of frequently used DLLs)


edit

Go to advanced search