Search found 9453 matches

by just me
01 May 2024, 05:55
Forum: Ich brauche Hilfe
Topic: Wie kann ich eine JSON-Datei rekursiv in AutoHotkey durchlaufen? Topic is solved
Replies: 7
Views: 705

Re: Wie kann ich eine JSON-Datei rekursiv in AutoHotkey durchlaufen? Topic is solved

Es haben sich zwei kleine Flüchtigkeitsfehler im Code eingeschlichen. Ja, das passiert mir immer wieder wenn ich beim posten den Code noch ändere. In diesem Fall habe ich den Funktionen unterschiedliche Namen gegeben, leider nicht überall! Der andere Fehler ist ein Überbleibsel aus meinem v1 Test. ...
by just me
01 May 2024, 05:37
Forum: Scripts and Functions (v2)
Topic: Class ToolTipOptions - 2024-03-27
Replies: 31
Views: 4512

Re: Class ToolTipOptions - 2024-03-27

Hi @Bobak, you didn't create a new topic in "Ask for Help" for your question, so you cannot mark anything as solved. ;) Would you please test the following: ; ====================================================================================================================== ; ToolTipOptions - add...
by just me
30 Apr 2024, 04:34
Forum: Ich brauche Hilfe
Topic: Hilfe bei disable Funktion
Replies: 4
Views: 369

Re: Hilfe bei disable Funktion

Moin, mir musst Du noch etwas detaillierter erklären, was Du 'disablen' willst. In Deinem Beispiel ist der Hotkey F5 standardmäßig 'blockiert', solange seine Routine läuft. Die Variable disabler ist überflüssig, wenn Du nicht über die Ausführungszeit hinaus 'blockieren' willst. Du müsstest etwas tun...
by just me
30 Apr 2024, 02:49
Forum: Scripts and Functions (v2)
Topic: CreateImageButton() - 2024-01-01
Replies: 50
Views: 13029

Re: CreateImageButton() - 2024-01-01

I don't get the error. :roll:
by just me
30 Apr 2024, 02:34
Forum: Ich brauche Hilfe
Topic: Wie kann ich eine JSON-Datei rekursiv in AutoHotkey durchlaufen? Topic is solved
Replies: 7
Views: 705

Re: Wie kann ich eine JSON-Datei rekursiv in AutoHotkey durchlaufen? Topic is solved

Moin, ich bin mir nicht sicher, was genau Du willst, aber hier sind zwei (vielleicht) passende Beispiele (AHK v2): ParseObj1(Obj, Indent := "") { Out := "" For Key, Value In Obj { If IsObject(Value) { Out .= Indent . Key . " = *" . "`r`n" Out .= ParseObj(Value, Indent . " ") } Else Out .= Indent . K...
by just me
29 Apr 2024, 03:06
Forum: Forum Issues
Topic: AHK Docs link Topic is solved
Replies: 1
Views: 323

AHK Docs link Topic is solved

"AutoHotkey v2 Help" loads 2.0.12. It should be 2.0.13.
by just me
27 Apr 2024, 03:31
Forum: Ask for Help (v1)
Topic: The same variable cannot be used for more then one control
Replies: 13
Views: 778

Re: The same variable cannot be used for more then one control

Moin DataLife , I agree with mikeyww . The error will most probably occur when the ShowGui label continues with creating controls after being interrupted by a second call which already created the GUI. In this case my suggestion will also not work. You can try to add Critical at the top of the subro...
by just me
27 Apr 2024, 02:03
Forum: Forum Issues
Topic: Slow forum
Replies: 111
Views: 11850

Re: Slow forum

The forums are (still) rather slow here.
@tank & @joedf
Would you please provide some information about what's causing the problems?
by just me
25 Apr 2024, 06:50
Forum: Forum Issues
Topic: Slow forum
Replies: 111
Views: 11850

Re: Slow forum

Again!
by just me
25 Apr 2024, 04:12
Forum: Scripts and Functions (v2)
Topic: Class ToolTipOptions - 2024-03-27
Replies: 31
Views: 4512

Re: Class ToolTipOptions - 2024-03-27

Bobak wrote:... but it gives a lot of unnecessary blinking.
If you need to update the options of existing ToolTip controls frequently, you should consider whether a ToolTip is the best solution for the task.
by just me
25 Apr 2024, 02:42
Forum: Ask for Help (v1)
Topic: The same variable cannot be used for more then one control
Replies: 13
Views: 778

Re: The same variable cannot be used for more then one control

Moin DataLife , one 'special' AHK v1 option to solve this special problem without using a window ID/HWND: ShowGui: Gui 1:+LastFoundExist IfWinExist { WinActivate return } ;this is a sample gui Gui 1: Add, Radio, vAssociatedVariable1, 1st Sample Radio button Gui 1: Add, Radio, vAssociatedVariable2, 2...
by just me
25 Apr 2024, 02:03
Forum: Ich brauche Hilfe
Topic: Einrichten und Abfragen von Checkboxen
Replies: 5
Views: 329

Re: Einrichten und Abfragen von Checkboxen

Moin, leider lässt sich der Ablauf mit den eingestellten Skriptteilen nicht komplett verfolgen. Aber immerhin: GuiSpeichern: ; Auslesen der Checkboxen und erstellen der neuen Vorschau If (CheckNullenSign = 1) VorschauSign := Format("{:0" . StellenSign . "}", 1) else VorschauSign := "1" If (CheckNull...
by just me
24 Apr 2024, 11:14
Forum: Scripts and Functions (v2)
Topic: Class ToolTipOptions - 2024-03-27
Replies: 31
Views: 4512

Re: Class ToolTipOptions - 2024-03-27

Bobak : How to use: You must call ToolTipOptions.Init() to initialize the subclassing before you can set options. Now you can call any of the other methods to set the options you want to be used by newly created tooltips. You'll find the descriptions within the class code. All changes will be appli...
by just me
23 Apr 2024, 12:00
Forum: Ich brauche Hilfe
Topic: Aktualisierung der Klasse Class_ScrollGUI auf AuotHotkey Version 2 Topic is solved
Replies: 11
Views: 490

Re: Aktualisierung der Klasse Class_ScrollGUI auf AuotHotkey Version 2 Topic is solved

Moin Nussbeisser , die Breite der Scrollbalken ist im System definiert. Ich weiß nicht, ob und wie man die ändern kann. Meine Funktionssammlung habe ich nochmal überarbeitet. Ich habe einige Fehler korrigiert und die Funktionen redaktionell überarbeitet. Die Option 4 für den Parameter Wheels gibt es...
by just me
23 Apr 2024, 06:34
Forum: Ask for Help (v2)
Topic: How to change GUI button text (v2) without destroying/recreating new GUI? Topic is solved
Replies: 2
Views: 143

Re: How to change GUI button text (v2) without destroying/recreating new GUI? Topic is solved

The first parameter of an event function is the Guicontrol object (similar to A_GuiControl in v1). So you can use:

Code: Select all

    ButtonClick(BtnObj, *) {
        BtnObj.Text := "NEW"
    }
to change the button's caption.
by just me
22 Apr 2024, 08:59
Forum: Ich brauche Hilfe
Topic: Aktualisierung der Klasse Class_ScrollGUI auf AuotHotkey Version 2 Topic is solved
Replies: 11
Views: 490

Re: Aktualisierung der Klasse Class_ScrollGUI auf AuotHotkey Version 2 Topic is solved

Moin Nussbeisser , danke fürs Testen und die Rückmeldung. Zu Deinen Fragen: Es ist schwierig, die Werte für das 'zeilenweise' Scrollen in einem Control (hier das Gui-Fenster) zu ermitteln, das keine Zeilen hat. Ich habe jetzt versucht, die Werte für das vertikale und horizontale Scrollen variabel re...
by just me
21 Apr 2024, 04:41
Forum: Ich brauche Hilfe
Topic: Sicherstellen das alle Schritte im Script richtig umgesetzt werden
Replies: 3
Views: 142

Re: Sicherstellen das alle Schritte im Script richtig umgesetzt werden

Moin, wenn man nicht weiß, welche Möglichkeiten das Programm bietet, das als Datenquelle genutzt wird, kann man das nicht beurteilen. Wenn es keine andere Möglichkeit gibt als Mausschubserei und Klicks kannst Du nur schauen, ob sich der Erfolg bzw. Misserfolg Deiner Aktionen an Veränderungen auf dem...
by just me
21 Apr 2024, 04:27
Forum: Ich brauche Hilfe
Topic: Aktualisierung der Klasse Class_ScrollGUI auf AuotHotkey Version 2 Topic is solved
Replies: 11
Views: 490

Re: Aktualisierung der Klasse Class_ScrollGUI auf AuotHotkey Version 2 Topic is solved

Moin Nussbeisser , das hat etwas länger gedauert als ursprünglich gedacht. Ich habe hier mal eine aktualisierte Sammlung von Funktionen als Ersatz für die Klasse. Einige der neuen Eigenschaften von v2 erleichtern das erheblich. Die einzige Funktion, die Du brauchst, ist ScrollGUI_Init() . Die wird a...
by just me
19 Apr 2024, 02:04
Forum: Ich brauche Hilfe
Topic: Einrichten und Abfragen von Checkboxen
Replies: 5
Views: 329

Re: Einrichten und Abfragen von Checkboxen

Moin Meister Lampe , wie immer: Ohne das echte Skript kann man nur raten. Wenn AHK sagt, dass Du die Variable vCheckNullenSign nicht mehrfach verwenden darfst, heißt das: Du versuchst mehrfach, ein und demselben Fenster ein Steuerelement mit der Option vCheckNullenSign hinzuzufügen. Deine Behauptung...

Go to advanced search