Search found 804 matches

by divanebaba
13 Dec 2021, 01:07
Forum: Ich brauche Hilfe
Topic: Help with the code
Replies: 1
Views: 606

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...
by divanebaba
20 Nov 2021, 04:42
Forum: Notepad++
Topic: Run script or selection from Notepad++
Replies: 71
Views: 56402

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 ; ...
by divanebaba
04 Nov 2021, 07:39
Forum: Ich brauche Hilfe
Topic: Anzahl in einem Ordner ermitteln? Topic is solved
Replies: 2
Views: 1086

Re: Anzahl in einem Ordner ermitteln? Topic is solved

Hallo.
Versuche es mal damit

Code: Select all

FileSelectFolder, OutputVar
Loop, Files, %OutputVar%\*.*, F
	Anzahl := A_Index
msgbox % "Anzahl Dateien = " . Anzahl
return
EDIT: Kosmetik
by divanebaba
14 Jun 2021, 12:21
Forum: Ich brauche Hilfe
Topic: Schleife stoppen, wenn sich die Seite verändert Topic is solved
Replies: 2
Views: 992

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 ...
by divanebaba
24 Jan 2021, 16:02
Forum: Ich brauche Hilfe
Topic: Script beschleunigen Topic is solved
Replies: 8
Views: 844

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...
by divanebaba
22 Aug 2020, 10:23
Forum: Allgemeines
Topic: Wie wirklich ist die Wirklichkeit
Replies: 37
Views: 15296

Re: Wie wirklich ist die Wirklichkeit

SELBSTZENZUR
by divanebaba
21 Aug 2020, 17:03
Forum: Ich brauche Hilfe
Topic: ListView - Überschriftenname statt Zelleninhalt in Variable Topic is solved
Replies: 5
Views: 810

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...
by divanebaba
21 Aug 2020, 12:45
Forum: Ich brauche Hilfe
Topic: ListView - Überschriftenname statt Zelleninhalt in Variable Topic is solved
Replies: 5
Views: 810

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...
by divanebaba
21 Aug 2020, 11:40
Forum: Ich brauche Hilfe
Topic: ListView - Überschriftenname statt Zelleninhalt in Variable Topic is solved
Replies: 5
Views: 810

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...
by divanebaba
10 Aug 2020, 11:46
Forum: Ask for Help (v1)
Topic: Dealing with millions of files ...
Replies: 4
Views: 2312

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...
by divanebaba
22 Jun 2020, 20:50
Forum: Ask for Help (v1)
Topic: Drag and drop in listbox
Replies: 18
Views: 7275

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...
by divanebaba
26 Apr 2020, 04:01
Forum: Ich brauche Hilfe
Topic: Fenster "AlwaysOnTop" Topic is solved
Replies: 6
Views: 1593

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...
by divanebaba
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: 1252

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 ...
by divanebaba
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: 1252

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. :shock: :mrgreen: :mrgreen:
by divanebaba
19 Apr 2020, 08:53
Forum: Ask for Help (v1)
Topic: dfdsfsdf
Replies: 1
Views: 431

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

Code: Select all

<!> & 1:: send {LButton}
RAlt & 2:: send q
CTRL & 3:: send 333
^4:: sendinput e
^# & Numpad5: send 5555
by divanebaba
19 Apr 2020, 08:29
Forum: Ich brauche Hilfe
Topic: Gui eingabebedingt verändern
Replies: 29
Views: 4063

Re: Gui eingabebedingt verändern

Willkommen im Club ... Ich habe zusätzlich die g-Label und die zugehörige Abfrageroutine ins Spiel gebracht. Ich denke, wer solche Fragen stellt, weiß noch nicht, wie der Hase rennen kann. Die Lösung, ein Control so einzustellen, daß es, wie hier gewünscht ist, von einem Tab übersprungen wird, inte...
by divanebaba
19 Apr 2020, 08:14
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: 1252

Re: Is it possible for hot keys I configure to only be active on one user? My PC is shared

Hello and welcome to the AHK-Forum. For your task, I only know an easy workaround solution. You just need a small Gui then you can work with #IfWinExist That means you always have to start this gui when you log in or you put this gui-program into your personal autostart-folder. #IfWinExist MyUnvisib...
by divanebaba
19 Apr 2020, 07:45
Forum: Ich brauche Hilfe
Topic: Gui eingabebedingt verändern
Replies: 29
Views: 4063

Re: Gui eingabebedingt verändern

Wie kann ich dann erreichen, daß , wenn ich "innerhalb EU" wähle, das Edit-Feld "BIC" deaktiviert wird? Du brauchst dafür doch kein Extra-Control. Füge dem Edit-Feld zuvor, in welches die IBAN eingegeben wird, ein g-Label hinzu und eine Routine, die die ersten beiden Buchstaben des Edit-Feldes abfr...
by divanebaba
15 Apr 2020, 10:30
Forum: Ich brauche Hilfe
Topic: Programmname für ComObjGet Topic is solved
Replies: 4
Views: 1860

Re: Programmname für ComObjGet Topic is solved

Jetzt habe ich ein frisches Win10 und habe mich nochmal an der COM-Erweiterung , genannt Comserver2, für Foobar2000 v1.5.3 versucht. War gar nicht so schwer :( RAlt & f:: Process, Exist, %fooPID% ; Prüft, ob eine Process-ID in der Variablen fooPID vorhanden ist if (ErrorLevel = fooPID) ; Wenn ErrorL...
by divanebaba
20 Feb 2020, 21:50
Forum: Ich brauche Hilfe
Topic: Windows 10: AHK Icon in Taskleiste ersetzen Topic is solved
Replies: 4
Views: 2257

Re: Windows 10: AHK Icon in Taskleiste ersetzen Topic is solved

Hallo.

Um das Standard-AHK-Icon wieder herzustellen, folgenden Code verwenden

Code: Select all

Menu, Tray, Icon, %A_AhkPath%,1,1
Hier die Textstelle im Tutorium.

Go to advanced search