Search found 9383 matches

by just me
12 Apr 2024, 10:26
Forum: Ich brauche Hilfe
Topic: Aktualisierung der Klasse Class_ScrollGUI auf AuotHotkey Version 2
Replies: 5
Views: 103

Re: Aktualisierung der Klasse Class_ScrollGUI auf AuotHotkey Version 2

Ok, ich schaue mal, ob mir dazu etwas Kluges einfällt.
Ich melde mich wieder.
by just me
12 Apr 2024, 01:35
Forum: Ich brauche Hilfe
Topic: Aktualisierung der Klasse Class_ScrollGUI auf AuotHotkey Version 2
Replies: 5
Views: 103

Re: Aktualisierung der Klasse Class_ScrollGUI auf AuotHotkey Version 2

Moin,

ich kann Deine Probleme nicht nachvollziehen. Arbeitest Du mit einem Display mit einer Auflösung ungleich 96 DPI?
by just me
11 Apr 2024, 06:52
Forum: Ich brauche Hilfe
Topic: Aktualisierung der Klasse Class_ScrollGUI auf AuotHotkey Version 2
Replies: 5
Views: 103

Re: Aktualisierung der Klasse Class_ScrollGUI auf AuotHotkey Version 2

Moin Nussbeisser , ich habe noch eine weitgehend umgestellte Version gefunden (die Methode AdjustToChild() fehlt). Du kannst das ja mal ausprobieren: #Requires AutoHotkey v2.0 ; ====================================================================================================================== ; N...
by just me
09 Apr 2024, 15:36
Forum: Bug Reports
Topic: A_Screen{Width,Height,DPI} are wrong when changing the main monitor
Replies: 6
Views: 373

Re: A_Screen{Width,Height,DPI} are wrong when changing the main monitor

A_ScreenDPI
In a system with multiple display monitors, this value is the same for all monitors.
?
by just me
07 Apr 2024, 03:36
Forum: Bug Reports
Topic: SetTitleMatchMode Regex + i) option failing
Replies: 11
Views: 200

Re: SetTitleMatchMode Regex + i) option failing

All is working as documented.

Code: Select all

Msgbox WinExist("i)ahk_class AutoHotkey.*")
This would search for a window title containing "ahk_class AutoHotkey.*". The ahk_ criteria must not be included in regex needles.
by just me
07 Apr 2024, 03:01
Forum: Scripts and Functions (v2)
Topic: Class ToolTipOptions - 2024-03-27
Replies: 18
Views: 3263

Re: Class ToolTipOptions - 2024-03-27

Hi @kunkel321, it's BGR:

Code: Select all

      BGR(Color, Default := "") { ; converts colors to BGR
         ; HTML Colors (BGR) <<<<<
by just me
05 Apr 2024, 02:43
Forum: Ask for Help (v2)
Topic: How to write such OnEvent(Edit change) function
Replies: 5
Views: 144

Re: How to write such OnEvent(Edit change) function

Hi @songdg,

why don't you use a simple ListView to show the values? It would be one control with one event handler.
by just me
03 Apr 2024, 02:51
Forum: Ich brauche Hilfe
Topic: Fehler beim Versuch, den OneNote-Link zu öffnen Topic is solved
Replies: 4
Views: 58

Re: Fehler beim Versuch, den OneNote-Link zu öffnen Topic is solved

Moin, Du benutzt anscheinend AHK 1.1. Das 'Run' Kommando erwartet hier zunächst einmal 'einfachen' Text (ohne Anführungszeihen, die braucht es normalerweise nur, wenn ein Parameter Leerzeichen enthält). Deshalb werden % -Zeichen als Einleitung für Variablenreferenzen ( %MeineVariable% ) behandelt. M...
by just me
01 Apr 2024, 03:18
Forum: Ask for Help (v2)
Topic: How to get the structure data from the pointer returned Topic is solved
Replies: 4
Views: 125

Re: How to get the structure data from the pointer returned Topic is solved

The pointer might point to memory inside the curl dll. Try to load the dll beforehand:

Code: Select all

HCURL := DllCall("LoadLibrary", "Str", "libcurl-x64.dll", "UPtr")
by just me
01 Apr 2024, 03:08
Forum: Ich brauche Hilfe
Topic: Link mit verschiedenen Browsern öffnen Topic is solved
Replies: 41
Views: 737

Re: Link mit verschiedenen Browsern öffnen Topic is solved

Moin, es sieht so aus, dass Deine Firefoxe unterschiedliche Einstellungen haben sollen. Das heißt für mich, Du achtest selbst darauf, dass immer nur eine Instanz läuft, oder die Startparameter - wie z.b. -Profile - erzeugen automatisch verschiedene Instanzen. Dir bleibt deshalb - wie Du ja auch ursp...
by just me
31 Mar 2024, 16:36
Forum: Ask for Help (v2)
Topic: How to set the background color for the Picture control
Replies: 4
Views: 68

Re: How to set the background color for the Picture control

#Requires AutoHotkey v2.0 MyGui := Gui(,"Gui测试") MyGui.Opt("+Resize") MyGui.BackColor := "ddc4b0" MyGui.AddEdit("r9 vedtEdit w325 ReadOnly") picColor0 := MyGui.AddPic("xm w19 h19 vpicColor0 BackgroundGreen") edtXYColor0 := MyGui.AddEdit("r1 w300 vedtXYColor0 yp ReadOnly") MyGui.Show("Center") ^r:: ...
by just me
31 Mar 2024, 03:41
Forum: Ich brauche Hilfe
Topic: Link mit verschiedenen Browsern öffnen Topic is solved
Replies: 41
Views: 737

Re: Link mit verschiedenen Browsern öffnen Topic is solved

Moin Helmut2 , lass doch bitte das Skript mit Run D:\Programme\Firefox_PremiumSize\Firefox_PremiumSize.exe noch mal laufen und schau Dir das geöffnete Browserfenster mit dem 'AutoHotkey Window Spy' (zu finden im Startmenü oder im Kontextmenü des Skripts in der Taskleiste) an. Was steht da zu Title u...
by just me
30 Mar 2024, 12:06
Forum: Ich brauche Hilfe
Topic: File oder Folder ? Topic is solved
Replies: 5
Views: 83

Re: File oder Folder ? Topic is solved

Moin,

auch wenn es Loop, Files, %r%, D noch nicht gab, gab es sowohl FileGetAttrib als auch FileExist(), die ich normalerweise für diese Prüfung verwende.
by just me
29 Mar 2024, 17:48
Forum: Ask for Help (v2)
Topic: GDI+ Gui Pic Issue Topic is solved
Replies: 7
Views: 218

Re: GDI+ Gui Pic Issue Topic is solved

teadrinker wrote:No, it's not necessary in this case:
I know.

TheDewd wrote:
28 Mar 2024, 10:45

Code: Select all

...
; Create picture control
hCanvas := oGui.Add("Picture", "x0 y0 w640 h480 +0xE") ; SS_BITMAP
...
by just me
29 Mar 2024, 04:52
Forum: Ask for Help (v2)
Topic: GDI+ Gui Pic Issue Topic is solved
Replies: 7
Views: 218

Re: GDI+ Gui Pic Issue Topic is solved

Hi TheDewd , if you only want to set one RGB color as a static control's (Text/Pic) background, the following will do it in v2: ; Create picture control hCanvas := oGui.Add("Picture", "x0 y0 w640 h480 +0xE +Background00FF00") ; SS_BITMAP If you want a uni-colored bitmap you can try this code by SKAN...
by just me
28 Mar 2024, 10:08
Forum: Ask for Help
Topic: can't compile with ahk2exe_h but works fine with normal
Replies: 17
Views: 235

Re: can't compile with ahk2exe_h but works fine with normal

Code: Select all

#Include "C:\Users\%A_UserName%\OneDrive\AHKv2\Lib" ; set the dir of library
Look for non-letter characters in the path and think about what you want them to perform.
by just me
27 Mar 2024, 06:40
Forum: Ask for Help (v1)
Topic: Problems with GUI button names
Replies: 14
Views: 189

Re: Problems with GUI button names

Hi @garry,
spaces or more than 63 characters are no problem as long as the resulting "ControlID" is unique for all controls which can use contents as "ID" repectively is not the leading part of the "ID" of another control added before.

Go to advanced search