Search found 325 matches

by Peter2
08 Mar 2023, 10:26
Forum: Ich brauche Hilfe
Topic: Mehrere Fenster beobachten und verschieben Topic is solved
Replies: 8
Views: 664

Re: Mehrere Fenster beobachten und verschieben Topic is solved

danke, @just me
das schaut gut aus und für mich auch an sich verständlich. Ich werde mich bis Freitag wieder melden.
by Peter2
08 Mar 2023, 07:44
Forum: Ich brauche Hilfe
Topic: Mehrere Fenster beobachten und verschieben Topic is solved
Replies: 8
Views: 664

Re: Mehrere Fenster beobachten und verschieben Topic is solved

Nein, die kommen aus verschiedenen Programmen
by Peter2
08 Mar 2023, 04:44
Forum: Ich brauche Hilfe
Topic: Mehrere Fenster beobachten und verschieben Topic is solved
Replies: 8
Views: 664

Re: Mehrere Fenster beobachten und verschieben Topic is solved

Danke - gute Frage ...

Es soll nicht ewig festgenagelt werden - nur beim Aufruf durch das Programm. Wenn ich das vorhandene Fenster schiebe soll es schon dort bleiben und nicht zurückspringen.
Erst nach dem Schliessen und dem neuerlichen Aufruf soll die Wunschposition wieder automatisch kommen.
by Peter2
08 Mar 2023, 03:41
Forum: Ich brauche Hilfe
Topic: Mehrere Fenster beobachten und verschieben Topic is solved
Replies: 8
Views: 664

Mehrere Fenster beobachten und verschieben Topic is solved

Ich habe einen (Mini-)Code, der mir das Auftauchen eines Fensters beobachtet und dann an den gewünschten Platz verschiebt. Klappt gut hiermit: #SingleInstance,Force Menu, Tray, Tip, Dialog_move ; 0,0 = links oben linkspos = 1960 tiefpos = 220 Dialogname = Unternehmensprojekt öffnen Loop { WinWait, %...
by Peter2
06 Dec 2022, 09:30
Forum: Ask for Help (v1)
Topic: Refreshing / GuiControl for Dropdownlist Topic is solved
Replies: 5
Views: 554

Re: Refreshing / GuiControl for Dropdownlist Topic is solved

... "Authors of forum posts should specify their script when they create a new post.".. Yes, of course. But I think my code is on a low level which makes more confusion than information. But I think in the meantime I found a way (I hope the right one). I had some confusion with the value of the var...
by Peter2
06 Dec 2022, 08:32
Forum: Ask for Help (v1)
Topic: Refreshing / GuiControl for Dropdownlist Topic is solved
Replies: 5
Views: 554

Re: Refreshing / GuiControl for Dropdownlist Topic is solved

Thansk @mikeyww
this is what I already found.
mikeyww wrote:
06 Dec 2022, 07:28
GuiControl:
...To make the control empty, specify only a pipe character (|). ....
What does "specify" means?
- to set the variable or
- to use "GuiControl"
- or both of it?
by Peter2
06 Dec 2022, 07:13
Forum: Ask for Help (v1)
Topic: Refreshing / GuiControl for Dropdownlist Topic is solved
Replies: 5
Views: 554

Refreshing / GuiControl for Dropdownlist Topic is solved

I'm fizzling around, sometimes it works, sometimes not - I miss the basic understanding .. ---------------- I have a Dropdownlist, filled with values from variable "mylist" with A,b,c, d. A subroutines changes "mylist" - sometimes it contains only a, b; then a,c, d ... After every call of my subrout...
by Peter2
22 Nov 2022, 08:44
Forum: Ask for Help (v1)
Topic: Confusion with UTF-8, Fileread, Fileappend with Tabs
Replies: 3
Views: 314

Re: Confusion with UTF-8, Fileread, Fileappend with Tabs

Thanks to both it was the wrong "parse" command, mentioned by @teatrinker. The topic is described also here: https://www.autohotkey.com/docs/commands/LoopParse.htm ...To use a string as a delimiter rather than a character, first use StrReplace() or StringReplace to replace all occurrences of the str...
by Peter2
21 Nov 2022, 13:09
Forum: Ask for Help (v1)
Topic: Confusion with UTF-8, Fileread, Fileappend with Tabs
Replies: 3
Views: 314

Confusion with UTF-8, Fileread, Fileappend with Tabs

Hi I'm fighting with simple UTF-8 stuff .. I have a UTF-8 logfile (with ä, ü, ..) and want to read it, analyse and write some strings to a file. I use this fragments .. ; read the file FileEncoding, UTF-8 FileRead, data, %Datendatei% ; parse it Loop, parse, data, `n { line := A_LoopField ; do some s...
by Peter2
21 Oct 2022, 08:48
Forum: Ask for Help (v1)
Topic: Find and count strings in a textfile
Replies: 7
Views: 629

Re: Find and count strings in a textfile

Thanks to all!

I used @sofistas code, because I could understand it ;-)

Have a good time!
by Peter2
21 Oct 2022, 02:35
Forum: Ask for Help (v1)
Topic: Find and count strings in a textfile
Replies: 7
Views: 629

Find and count strings in a textfile

I have a logfile like this Error: line 25: string too long Error: line 28: string too long Info: line 33: some blabla Error: line 58: value missing The separator is the colon ":"; the structure is "type: linenumber: error" The job is: count the number of every error message . Error message can not b...
by Peter2
23 Dec 2021, 08:19
Forum: Ask for Help (v1)
Topic: Width of control: fit between left and right margin of window Topic is solved
Replies: 2
Views: 474

Re: Width of control: fit between left and right margin of window Topic is solved

Thanks

GuiSize is the right keyword. This works fine for me:

Code: Select all

; Eventcontrolled (resize)
GuiSize:
    width := A_GuiWidth, height := A_GuiHeight
    GuiControl, Move, ergebnislistbox, % "x" 20 "y" 330 "w" width-40  "h" height-350 ; Uses an expression via "% " prefix.
Return
by Peter2
23 Dec 2021, 07:31
Forum: Ask for Help (v1)
Topic: Width of control: fit between left and right margin of window Topic is solved
Replies: 2
Views: 474

Width of control: fit between left and right margin of window Topic is solved

I have a GUI where the size of the window is resizeable.
Now I want to add a control (listbox) which follows the size of the main window; like "start left 20 pix inside the margin and also end right 20 pix inside the margin"

I suppose this is a standard geature which I have overseen?

Thanks.
by Peter2
30 Sep 2021, 11:05
Forum: Allgemeines
Topic: Laufende Sicherheitswarnungen von Firefox bei Forenlinks
Replies: 4
Views: 3772

Laufende Sicherheitswarnungen von Firefox bei Forenlinks

Ich bin hier eher seltener Gast, vielleicht habe ich was verpasst: Mein aktuelles Firefox 92.0.1 schreit bei zahlreichen Links zum Forum, z.B. hier https://autohotkey.com/board/topic/95834-using-winwait-effectively-or-how-else-should-i-execute-an-action-when-a-pop-up-window-appears/#entry603588 laut...
by Peter2
07 Jun 2021, 07:09
Forum: Ich brauche Hilfe
Topic: Script zum flexiblen serienweisen BAT-Start?
Replies: 4
Views: 742

Re: Script zum flexiblen serienweisen BAT-Start?

@garry
ja, aber eigentlich sollte ich auch ein Mail kriegen.

Das Programm läuft schön, vielen Dank. Als einzige Modifikation habe ich bei runwait den Aufruf unter Quotes gesetzt, weil er sonst über die Leerstellen im Pfad stolpert:

Code: Select all

runwait,%comspec% /k "%c3%"
Danke nochmals!
by Peter2
31 May 2021, 08:56
Forum: Ich brauche Hilfe
Topic: Script zum flexiblen serienweisen BAT-Start?
Replies: 4
Views: 742

Re: Script zum flexiblen serienweisen BAT-Start?

(Habe wieder kein Mail gekriegt ..)

Danke, schaue es mir in den nächsten Tagen an, muss noch was fertigmachen.
by Peter2
26 May 2021, 06:54
Forum: Ich brauche Hilfe
Topic: Script zum flexiblen serienweisen BAT-Start?
Replies: 4
Views: 742

Script zum flexiblen serienweisen BAT-Start?

(es ist wahrscheinlich nicht schwer, es selbst zu machen, aber falls es das schon gibt...) Ich habe eine Serie von BAT-Dateien (a.bat, b.bat, .. k.bat), die auch BAT bleiben sollen. Jedes läuft ein paar Minuten. Die müssen ab und zu in unterschiedlicher Zusammensetzung gestartet werde: einmal a,b, c...
by Peter2
21 Apr 2021, 09:04
Forum: Ich brauche Hilfe
Topic: Inhalt der Combobox laufend erweitern?
Replies: 4
Views: 645

Re: Inhalt der Combobox laufend erweitern?

Zwischenbericht: Ich habe es gemäss deinen Empfehlungen umgebaut; nur steht bei mir das GuiControl oberhalb des INIWrite. Ergebnis: Die Variable ist korrekt (a1|a2), aber in der Liste wird anscheinend alte und jeweils neue Listen zusammengezählt. Muss der alte Comboboxinhalt explizit gelöscht werden...

Go to advanced search