Vielen Dank, Noitalommi_2.
Das sieht gar nicht mehr so einfach wie früher aus.
Sag mal, Noitalommi_2, kann es sein, daß Möglichkeit 2 die professionellere Lösung ist?
Sieht auf jeden eleganter aus, wie Möglichkeit 1.
Search found 809 matches
- Yesterday, 06:55
- Forum: Ich brauche Hilfe
- Topic: Inhalte eines Edit-Controls abfragen, einfügen, ändern etc mit V2 Topic is solved
- Replies: 3
- Views: 171
- Yesterday, 06:37
- Forum: Ich brauche Hilfe
- Topic: Inhalte eines Edit-Controls abfragen, einfügen, ändern etc mit V2 Topic is solved
- Replies: 3
- Views: 171
Inhalte eines Edit-Controls abfragen, einfügen, ändern etc mit V2 Topic is solved
Hallo. Schöne Grüße von Fanta. Ich versuche mich gerade an der AHK-Version2 und komme mir richtig doof vor. Ich habe Probleme, Inhalte von Steuerelementen abzufragen und zu ändern. In v1 gab es GuiControl, Control etc., die ich nun aber nicht anzuwenden verstehe. Mein fehlerhaftes Beispielskript: #S...
- Yesterday, 04:00
- Forum: Suggestions on Documentation Improvements
- Topic: Example script "Seek.ahk" inside help-file seems incorrect Topic is solved
- Replies: 1
- Views: 207
Example script "Seek.ahk" inside help-file seems incorrect Topic is solved
Example script called Seek_(SearchTheStartMenu).ahk inside help-file seems not working correct. Before changing to v2 it was possible to enter several search words separated by a space. Now it creates an error if you type space char. grafik.png I'm using AHK v2.0.13 on Win10 german language. Sorry, ...
- 29 Mar 2024, 06:39
- Forum: Skripte und Funktionen
- Topic: Konfigurierbares AHK-Menu für Schnellzugriff
- Replies: 7
- Views: 7901
Re: Konfigurierbares AHK-Menu für Schnellzugriff
Das geschwindigkeitserhöhende Prinzip , bei meiner Skriptvorstellung, ist, daß je nach dem, welches Fenster aktiv ist, ein gänzlich anderes Menü angezeigt werden kann. Wenn der Explorer, der Desktop oder der MP3-Player aktiv ist, brauche ich nunmal ganz andere Tools, als wenn mein CAD-Programm geöff...
- 13 Dec 2021, 01:07
- Forum: Ich brauche Hilfe
- Topic: Help with the code
- Replies: 1
- Views: 617
Re: Help with the code
Hallo. Versuche es mal mit sendinput , statt send , was schneller sein soll. Desweiteren könntest Du SetKeyDelay , -1 in die auto-execute section eintragen. Mehrere identische Tastaturanschläge, kannst Du übersichtlich zusammenfassen. SetKeyDelay, -1 *XButton2:: Loop { If !GetKeyState("XButton2", "P...
- 20 Nov 2021, 04:42
- Forum: Notepad++
- Topic: Run script or selection from Notepad++
- Replies: 71
- Views: 57494
Re: Run script or selection from Notepad++
Intensive use of this excellent script prompted me to extend its functionality to the browser and he AHK-Help-File. I realized this by adding and supplementing one line each. With this change I am now able to execute code directly from the ahk-forum. SetTitleMatchMode, 1 WinGetClass, OutputVar, A ; ...
- 04 Nov 2021, 07:39
- Forum: Ich brauche Hilfe
- Topic: Anzahl in einem Ordner ermitteln? Topic is solved
- Replies: 2
- Views: 1110
Re: Anzahl in einem Ordner ermitteln? Topic is solved
Hallo.
Versuche es mal damit
EDIT: Kosmetik
Versuche es mal damit
Code: Select all
FileSelectFolder, OutputVar
Loop, Files, %OutputVar%\*.*, F
Anzahl := A_Index
msgbox % "Anzahl Dateien = " . Anzahl
return
- 14 Jun 2021, 12:21
- Forum: Ich brauche Hilfe
- Topic: Schleife stoppen, wenn sich die Seite verändert Topic is solved
- Replies: 2
- Views: 1019
Re: Schleife stoppen, wenn sich die Seite verändert Topic is solved
FEHLERMELDUNG!! Ich habe offensichtlich den Beitrag oben "abhaken" und als "erledigt" markieren können, obwohl ich noch nicht mal eingeloggt gewesen bin. Sorry, aber ich konnte nicht widerstehen, als ich das grüne Häkchen sah. 🤦♂️😂😂😂 Ich habe dies anschließend mit anderen Beiträgen versucht. Diese ...
- 24 Jan 2021, 16:02
- Forum: Ich brauche Hilfe
- Topic: Script beschleunigen Topic is solved
- Replies: 8
- Views: 879
Re: Script beschleunigen Topic is solved
Hi. Ich vermeide, innerhalb von (großen und schnell zu durchlaufenden) Schleifen, die Zugriffe auf die Festplatte und konnte so erhebliche Leistungssteigerungen und extrem festplattenschonenden Code kreieren. Desweiteren habe ich, auf Verdacht, die InStr()-Abfrage durch SubStr() und einer (=)-Abfrag...
- 22 Aug 2020, 10:23
- Forum: Allgemeines
- Topic: Wie wirklich ist die Wirklichkeit
- Replies: 37
- Views: 15529
Re: Wie wirklich ist die Wirklichkeit
SELBSTZENZUR
- 21 Aug 2020, 17:03
- Forum: Ich brauche Hilfe
- Topic: ListView - Überschriftenname statt Zelleninhalt in Variable Topic is solved
- Replies: 5
- Views: 842
Re: ListView - Überschriftenname statt Zelleninhalt in Variable Topic is solved
Danke für die hilfreichen Expertentips. Als Laie bin ich froh, daß mein Code auswirft, was ich erhoffte. "Integer" und "floating-point" hat für euch sicherlich eine technische Bedeutung, für mich hingegen bedeutet es nur Stress :crazy: Bei der nächsten Überarbeitung meines Codes, werde ich eure Hinw...
- 21 Aug 2020, 12:45
- Forum: Ich brauche Hilfe
- Topic: ListView - Überschriftenname statt Zelleninhalt in Variable Topic is solved
- Replies: 5
- Views: 842
Re: ListView - Überschriftenname statt Zelleninhalt in Variable Topic is solved
Hallo BoBo. Du warst so lange weg - ich habe Dich wirklich vermisst :mrgreen: :mrgreen: LV_GetText war ebenfalls ein Hauptverdächtiger, doch mein Spaghetticode machte es mir unmöglich zu erfahren, warum möglicherweise keine Zeile ausgewählt oder die zugeordnete Variable des LV_GetText leer bleibt. W...
- 21 Aug 2020, 11:40
- Forum: Ich brauche Hilfe
- Topic: ListView - Überschriftenname statt Zelleninhalt in Variable Topic is solved
- Replies: 5
- Views: 842
ListView - Überschriftenname statt Zelleninhalt in Variable Topic is solved
Hallo. Nach wochenlanger Fehlersuche, bitte ich einen Rat. Ich habe mehrere ListViews, aus denen ich aus einer beliebigen Zeile die erste Spalte auslese in eine Variable speichere und diese als Referenznummer für andere ListViews nutze. Manchmal steht aber nicht der Zelleninhalt drin, sondern die Sp...
- 10 Aug 2020, 11:46
- Forum: Ask for Help (v1)
- Topic: Dealing with millions of files ...
- Replies: 4
- Views: 2336
Re: Dealing with millions of files ...
Hi. I'm avoiding FileReadLine and FileAppend inside Loops, because at least FileAppend accesses every time your hard-disc or ssd. And when you have millions of files to check, you can be sure, that for every check at least one access from FileAppend is done to your hard-disc. Use instead following t...
- 22 Jun 2020, 20:50
- Forum: Ask for Help (v1)
- Topic: Drag and drop in listbox
- Replies: 18
- Views: 7333
Re: Drag and drop in listbox
If I had understand you the right way, i can say it is possible by using A_GuiControl , which contains text or the name of the control, you dropped the files on. See this example executing the if-statement and messaging the name of the variable when you drop any file onto the listbox. gui, add, list...
- 26 Apr 2020, 04:01
- Forum: Ich brauche Hilfe
- Topic: Fenster "AlwaysOnTop" Topic is solved
- Replies: 6
- Views: 1633
Re: Fenster "AlwaysOnTop" Topic is solved
Ich möchte nicht erst das alte Fenster ausschalten ... Gut. Wie ist es mit "Ich werde das alte Fenster anschließend ausschalten?" :mrgreen: +^RButton:: MouseGetPos,,, FensterUnterMaus WinSet, AlwaysOnTop, Toggle, ahk_id %FensterUnterMaus% WinSet, AlwaysOnTop, off, ahk_id %pFensterUnterMaus% pFenste...
- 20 Apr 2020, 10:01
- Forum: Ask for Help (v1)
- Topic: Is it possible for hot keys I configure to only be active on one user? My PC is shared
- Replies: 8
- Views: 1300
Re: Is it possible for hot keys I configure to only be active on one user? My PC is shared
How do you know there is something else in the script? :) ... Also, the mentioned A_username could be used with #If , (de-)activating specific hotkeys. The headline talks from "hot keys". So why I should change this into "script"? Your suggestion with #If combined with username is much better than ...
- 20 Apr 2020, 03:42
- Forum: Ask for Help (v1)
- Topic: Is it possible for hot keys I configure to only be active on one user? My PC is shared
- Replies: 8
- Views: 1300
Re: Is it possible for hot keys I configure to only be active on one user? My PC is shared
Hello BNOLI, hello gregster.
Your solutions are not deactivating hotkeys. They are deactivating the whole script.
Your solutions are not deactivating hotkeys. They are deactivating the whole script.
- 19 Apr 2020, 08:53
- Forum: Ask for Help (v1)
- Topic: dfdsfsdf
- Replies: 1
- Views: 450
Re: someone help me create a script with more than two keys
I'm so sorry. I do not understand your task.
Maybe you mean something like that
Maybe you mean something like that
Code: Select all
<!> & 1:: send {LButton}
RAlt & 2:: send q
CTRL & 3:: send 333
^4:: sendinput e
^# & Numpad5: send 5555