Search found 3040 matches

by jNizM
05 Dec 2022, 09:37
Forum: Ask for Help (v1)
Topic: Get command lines, including parameters, for all running processes
Replies: 8
Views: 1142

Re: Get command lines, including parameters, for all running processes

The interesting thing is that the processes do not appear in the Process tab of Task Manager, which is where I always look to kill processes during testing...they appear in the Details tab, where I never look. For this I recommend always "Process Explorer" from Sysinternals https://learn.microsoft....
by jNizM
03 Dec 2022, 13:46
Forum: Ask for Help (v2)
Topic: DllCall throws an error
Replies: 2
Views: 398

Re: DllCall throws an error

Code: Select all

if (DllCall("crypt32\CryptStringToBinary", "Str", m[3], "UInt", 0, "UInt", e[m[1]][1], "Ptr", p, "UInt*", s, "Ptr", 0, "Ptr", 0))
{
	return p
}
by jNizM
03 Dec 2022, 06:20
Forum: Scripts and Functions (v2)
Topic: Dll ExportViewer
Replies: 6
Views: 1177

Re: Dll ExportViewer

A list of common dll's (like kernel32 / user32 / gdi32 / ...) are on my todo list.
by jNizM
02 Dec 2022, 06:08
Forum: Scripts and Functions (v1)
Topic: DLL Export Viewer
Replies: 59
Views: 16497

Re: DLL Export Viewer

by jNizM
02 Dec 2022, 05:55
Forum: Scripts and Functions (v2)
Topic: Dll ExportViewer
Replies: 6
Views: 1177

Re: Dll ExportViewer

Todo - load common dll's - Fix bugs - Optimize code - Whatever Predefined list of frequently used DLLs Common used DLL's - gdi32, combase, ntdll, kernel32, ole32, shell32, shlwapi, user32 Graphics related DLL's - d3d11, dxgi, gdi32, gdi32full, gdiplus, glue32, opengl32 Crypt / Security ralated DLL'...
by jNizM
02 Dec 2022, 05:55
Forum: Scripts and Functions (v2)
Topic: Dll ExportViewer
Replies: 6
Views: 1177

Dll ExportViewer

Dll Export Viewer Displays a list of all exported functions for the specified Dll files. Source DllExport (GitHub) Download (precompiled executable) https://img.shields.io/github/downloads/jNizM/DllExport/total.svg?style=flat-square&color=95B3D7 Examples https://raw.githubusercontent.com/jNizM/DllE...
by jNizM
02 Dec 2022, 05:02
Forum: Ask for Help (v1)
Topic: Empty the variable Topic is solved
Replies: 1
Views: 197

Re: Empty the variable Topic is solved

https://www.autohotkey.com/docs/commands/VarSetCapacity.htm#Parameters -> RequestedCapacity

For performance reasons, the memory of a variable whose capacity is less than 4096 bytes is not freed by storing an empty string in it (e.g. Var := ""). However, VarSetCapacity(Var, 0) does free it.
by jNizM
02 Dec 2022, 05:00
Forum: Ask for Help (v1)
Topic: Set string to a standard length
Replies: 5
Views: 644

Re: Set sting to a standard length

short example: MyString := "abcdef" StringMinLenght := 10 CharsToAdd := "#" if ((diff := StringMinLenght - StrLen(MyString)) > 0) loop % diff MyString .= CharsToAdd MsgBox % MyString Edit: Rohwedder was faster and his use of Format is also smarter see https://www.autohotkey.com/docs/commands/Format....
by jNizM
01 Dec 2022, 06:07
Forum: Scripts and Functions (v1)
Topic: [Class] ImageButton - 1.5.00.00 - 20201230
Replies: 190
Views: 103767

Re: [Class] ImageButton - 1.5.00.00 - 20201230

As far as I know, it is not currently possible with the class. You have only one start and one finish color here.
@just me would have to adapt the class so that more than 2 colors can be passed. Similar to https://github.com/AHK-just-me/LinearGradient/blob/master/Sources/LinearGradient.ahk
by jNizM
30 Nov 2022, 09:23
Forum: Off-topic Discussion
Topic: Where is the last window size and position of various Microsoft applications stored in Windows?
Replies: 4
Views: 1855

Re: Where is the last window size and position of various Microsoft applications stored in Windows?

Each program stores information about its windows in its own way.

e.g. for Explorer:
HKCU\SOFTWARE\Classes\Local Settings\Software\Microsoft\Windows\Shell\Bags\AllFolders\Shell
by jNizM
28 Nov 2022, 03:02
Forum: Ask for Help (v1)
Topic: WM_MOUSEWHEEL wParam hi-word Topic is solved
Replies: 6
Views: 649

Re: WM_MOUSEWHEEL wParam hi-word Topic is solved

this works

Code: Select all

Gui, +AlwaysOnTop
Gui, Add, Edit, vED
Gui, Show, w200 h100
OnMessage(0x020A, "WM_MOUSEWHEEL")
return

WM_MOUSEWHEEL(wParam, lParam, msg, hwnd)
{
	if (wParam > 0x7FFFFFFF)
		wParam := -(~wParam) - 1
	GuiControl,, ED, % (wParam >> 16) / 120
}
by jNizM
28 Nov 2022, 02:57
Forum: Ask for Help (v1)
Topic: WM_MOUSEWHEEL wParam hi-word Topic is solved
Replies: 6
Views: 649

Re: WM_MOUSEWHEEL wParam hi-word Topic is solved

This is really a bit strange AHK returns 1 and 545.133333 Gui, +AlwaysOnTop Gui, Add, Edit, vED Gui, Show, w200 h100 OnMessage(0x020A, "WM_MOUSEWHEEL") return WM_MOUSEWHEEL(wParam, lParam, msg, hwnd) { GuiControl,, ED, % (wParam >> 16) / 120 } while au3 returns 1 and -1 #include <GUIConstantsEx.au3>...
by jNizM
25 Nov 2022, 03:19
Forum: Ask for Help (v2)
Topic: [2.0-rc1] Usage of stdout in FileAppend?
Replies: 7
Views: 960

Re: [2.0-rc1] Usage of stdout in FileAppend?

BTW: How to link to V2-documentation use the BBCode [docs] in this forum?
Since the "docs" tag is only for ahk_1.1, the only way to do this is to post the complete url

But maybe @joedf can add another forum tag for v2 docs / url shorter (e.g. doc2 or something)
by jNizM
22 Nov 2022, 09:46
Forum: Other Utilities & Resources
Topic: JSON Crack
Replies: 2
Views: 2188

JSON Crack

Seamlessly visualize your JSON data instantly into graphs.
https://jsoncrack.com/

Image
by jNizM
22 Nov 2022, 05:58
Forum: Wish List
Topic: [v2.1+] GUI: Cue banner (placeholder)
Replies: 11
Views: 7206

Re: [v2.1] GUI: Cue banner (placeholder)

What does that mean? Was translated with Deepl. Haven't found the right word for it in English. In german I call it "Erneuerung / Wiederaufnahme eines Wunsches" Why v2.1? It's hardly interesting or useful enough that you couldn't wait until v2.2. I thought because of this: ... so new features will ...
by jNizM
22 Nov 2022, 04:21
Forum: Wish List
Topic: [v2.1+] GUI: Cue banner (placeholder)
Replies: 11
Views: 7206

Re: [v2.1] GUI: Cue banner (placeholder)

renovation / resumption for v2.1
by jNizM
22 Nov 2022, 04:20
Forum: Wish List
Topic: [v2.1+] Menu: Get CheckState
Replies: 1
Views: 1346

Re: [v2.1] Menu: Get CheckState

renovation / resumption for v2.1
by jNizM
18 Nov 2022, 06:11
Forum: Ask for Help (v1)
Topic: microsecond timer
Replies: 9
Views: 870

Re: microsecond timer

You can try something like this (v2). But this is a busy wait and it will waste CPU cycles #Requires AutoHotkey v2.0-beta DllCall("QueryPerformanceFrequency", "Int64*", &f := 0) DllCall("QueryPerformanceCounter", "Int64*", &b := 0) usleep(500) DllCall("QueryPerformanceCounter", "Int64*", &a := 0) Ms...
by jNizM
16 Nov 2022, 05:40
Forum: Ask for Help (v1)
Topic: Buttons with gradient color Topic is solved
Replies: 19
Views: 1786

Re: Buttons with gradient color Topic is solved

Diagonal should be easy. Tested it with GdipCreateLineBrushFromRect GradientMode 2 = Forward diagonal direction from the upper-left corner to the lower-right corner of the display GradientMode 3 = Backward diagonal direction from the upper-right corner to the lower-left corner of the display (https:...
by jNizM
16 Nov 2022, 04:54
Forum: Editors
Topic: Which editors support AutoHotkey v2?
Replies: 7
Views: 4725

Re: Which editors support AutoHotkey v2?

Notepad++ Syntax highlight should be almost complete. AutoCompletion is anything but up to date / finished. But since Notepad++ uses Scintilla and Lexilla, we could integrate it directly into Notepad++ with some work What I found so far (searched for autoit - au3 not included): - https://github.com/...

Go to advanced search