Search found 3040 matches

by jNizM
22 Jan 2024, 02:01
Forum: AutoHotkey Development
Topic: A more precise sleep()
Replies: 12
Views: 784

Re: A more precise sleep()

We tried something like this years ago: viewtopic.php?style=17&f=6&t=29957

Acquiring high-resolution time stamps (MSDN)
by jNizM
08 Jan 2024, 14:07
Forum: Ich brauche Hilfe
Topic: Abfrage der Network-Adapter
Replies: 9
Views: 485

Re: Abfrage der Network-Adapter

Vielleicht hilft das netsh interface ip show subinterfaces Es zeigt alle Interfaces und den verursachten Traffic an. Musst halt schauen, wie du das mit RegEx / SubStr ordentlich rausfischen kannst. Mit regelmäßigen Abfragen siehst du dann was sich am Traffic ändert und kannst daraus schließen welche...
by jNizM
07 Dec 2023, 02:53
Forum: Tutorials
Topic: A_OSVersion für Windows 10 und 11
Replies: 3
Views: 359

Re: A_OSVersion für Windows 10 und 11

Hier ist noch ne Kleinigkeit die ich hatte #Requires AutoHotkey v2.0 OSInfo := GetOSInfo() Main := Gui() Main.MarginX := 20 Main.MarginY := 20 Main.SetFont("s10", "Segoe UI") Main.AddText("xm ym h24 w100 0x200", "MajorVersion") Main.AddEdit("x+10 yp-1 w150 0x800", OSInfo["MajorVersion"]) Main.AddTex...
by jNizM
09 Oct 2023, 02:47
Forum: Ask for Help (v2)
Topic: Resource Monitor Network traffic destination display in AHK gui?
Replies: 2
Views: 391

Re: Resource Monitor Network traffic destination display in AHK gui?

Since I don't have time to implement that, I'll give you the two WinAPI's. Maybe someone else can implement it.
GetPerTcpConnectionEStats function
GetPerTcp6ConnectionEStats function
by jNizM
07 Oct 2023, 03:50
Forum: Ask for Help (v2)
Topic: Counting files in a folder (exclude shortcuts .lnk) Topic is solved
Replies: 2
Views: 295

Re: Counting files in a folder (exclude shortcuts .lnk) Topic is solved

Code: Select all

Count := 0
Loop Files, A_Desktop "\test\*.*", "F" ; remove the R to not recurse into subfolders
	if (A_LoopFileExt != "lnk")
		Count++
MsgBox(Count " files found.")
by jNizM
05 Oct 2023, 00:35
Forum: Allgemeines
Topic: Deutsche AHK Gemeinde
Replies: 4
Views: 12968

Re: Deutsche AHK Gemeinde

Das ganze Klassen- und Objektsystem in v2 ist mir als nicht Programmierer und Hobby-AHK-Scripter zu kompliziert geworden.
Ich mach nur noch ein paar einfache Sachen so nebenbei wenn ich die Zeit dazu finde.
by jNizM
27 Sep 2023, 00:50
Forum: Ask for Help (v1)
Topic: Check if any app is running as administrator Topic is solved
Replies: 8
Views: 8891

Re: Check if any app is running as administrator Topic is solved

IMTheNachoMan wrote:
24 Sep 2023, 23:20
Do you happen to have an AHK 2.0 version of this? I can't figure out how to get it to work. It works on v1 but I need v2.
v2 -> https://github.com/jNizM/ahk-scripts-v2/blob/main/src/ProcessThreadModule/IsProcessElevated.ahk
by jNizM
04 Sep 2023, 01:14
Forum: Ask for Help (v2)
Topic: Send ZLP directly to Zebra thermal printer without temp file
Replies: 5
Views: 855

Re: Send ZLP directly to Zebra thermal printer without temp file

If the printers are not directly connected to the PC or installed and you can print via IP over port 9100 (RAW), you can also print directly to the printer with the socket class. Example: https://www.autohotkey.com/boards/viewtopic.php?p=339490#p339490 You can also save the raw file directly in a va...
by jNizM
25 Aug 2023, 01:46
Forum: Ask for Help (v1)
Topic: how to get diskdrive serial Topic is solved
Replies: 9
Views: 985

Re: how to get diskdrive serial Topic is solved

Something like this: MsgBox % GetScriptDiskSerialNumber() GetScriptDiskSerialNumber() { static OPEN_EXISTING := 3 static METHOD_BUFFERED := 0 static FILE_ANY_ACCESS := 0 static FILE_DEVICE_MASS_STORAGE := 0x0000002d static IOCTL_STORAGE_BASE := FILE_DEVICE_MASS_STORAGE static IOCTL_STORAGE_GET_DEVIC...
by jNizM
25 Jun 2023, 06:53
Forum: Bug Reports
Topic: winget. Error: (5) Access is denied. Topic is solved
Replies: 4
Views: 1134

Re: winget. Error: (5) Access is denied. Topic is solved

https://i.imgur.com/2Yj5KV6.png *#1 (1452) : [DirCreate] DirCreate(dir := installDir "\.staging\" A_ScriptName) *#1 (1452) : [UnpackFiles] DirCreate(dir := installDir "\.staging\" A_ScriptName) *#1 (473) : [Installation.Prototype.ResolveSourceDir] this.SourceDir := UnpackFiles(this.InstallDir) *#1 ...
by jNizM
18 Apr 2023, 04:16
Forum: Scripts and Functions (v2)
Topic: Master Password
Replies: 8
Views: 1801

Re: Master Password

Added HTML Version (see post #2)
by jNizM
16 Apr 2023, 04:58
Forum: Scripts and Functions (v2)
Topic: Master Password
Replies: 8
Views: 1801

Re: Master Password

That's why there is the "Site Counter" which is appended to the end of the account when generating. I.e. if you have to change the password for a website, then you increase the counter from 1 to 2 or 2 to 3. This way you don't have to change the password for all accounts / websites. You just have to...
by jNizM
14 Apr 2023, 00:50
Forum: Scripts and Functions (v1)
Topic: Upcoming Ahk2Exe Changes (2024)
Replies: 626
Views: 179375

Re: Upcoming Ahk2Exe Changes (2023)

JoeWinograd wrote:
13 Apr 2023, 10:51
jNizM wrote:UPX v4.0.2
Hi jNizM,
That UPX version has been available via the GUI compiler since at least 2-April:
viewtopic.php?p=515559#p515553
Regards, Joe
thx for the tip. didnt read both topics
by jNizM
13 Apr 2023, 11:29
Forum: Ask for Help (v1)
Topic: Alignment codes help?
Replies: 4
Views: 460

Re: Alignment codes help?

Thank you. Tested your version and it comes out a little tighter and more compact...looks nice. Unfortunately what I am trying to determine is... ; Bottom Left ; Bottom Center ; Bottom Right ...to add on to the rest. I worded my request badly and should have been more clear, sorry! no. just remove ...
by jNizM
13 Apr 2023, 00:53
Forum: Scripts and Functions (v2)
Topic: GuiControl_Ex - Extending GuiControls - 2023/04/03 - v2.0.2
Replies: 54
Views: 15732

Re: GuiControl_Ex - Extending GuiControls - 2023/04/03 - v2.0.2

Are there ways to color Gui Edits Text Combo boxes like like https://www.autohotkey.com/boards/viewtopic.php?f=6&t=2197 yes. take a look at this: https://www.autohotkey.com/boards/viewtopic.php?f=92&p=517062#p517062 Especially this section: WindowProc(hwnd, uMsg, wParam, lParam) { ; code... case WM...
by jNizM
11 Apr 2023, 01:44
Forum: Tips and Tricks
Topic: DarkMode (Force or Toggle)
Replies: 7
Views: 3094

Re: DarkMode (Force or Toggle)

Menu was already implemented. But thanks anyway

Go to advanced search