Search found 258 matches

by Peter2
19 Aug 2020, 08:09
Forum: Ask For Help
Topic: AHK Main dialogue - displayed variables are truncated Topic is solved
Replies: 3
Views: 361

Re: AHK Main dialogue - displayed variables are truncated Topic is solved

lexikos wrote:
19 Aug 2020, 03:19
.... For instance, DebugVars, ....
really great :bravo: :bravo:
by Peter2
17 Aug 2020, 05:07
Forum: Ask For Help
Topic: Use a REG-file: with "regedit" or with AHK
Replies: 4
Views: 1452

Re: Use a REG-file: with "regedit" or with AHK

Thanks, Bobo

I just learned that I don't need

Code: Select all

Runwait, regedit /s,%a_temp%\my_file.reg
-> this calls always the dialogue.
I just need only

Code: Select all

Runwait, %a_temp%\my_file.reg
For RegWrite I suppose it's fine for single values, but here I have to extract / to loop the content of the reg-file?
by Peter2
17 Aug 2020, 03:46
Forum: Ask For Help
Topic: Use a REG-file: with "regedit" or with AHK
Replies: 4
Views: 1452

Re: Use a REG-file: with "regedit" or with AHK

Thanks for quick reply. An AHK-noob with, so far, 254 postings at the forum? ... Yes. Twice a year I spent 2 days to try to remember things that I have done on a simple level and to try to not mix up with other languages .. :( ...Just out of curiosity, as you are from CH, what's your native/main lan...
by Peter2
17 Aug 2020, 01:29
Forum: Ask For Help
Topic: Use a REG-file: with "regedit" or with AHK
Replies: 4
Views: 1452

Use a REG-file: with "regedit" or with AHK

I have a REG file which I have to read (to fill into) the registry. I would use "RunWait, regedit /s my_settings.reg", or ...

Is there a better solution in AHK?

Peter
by Peter2
14 Aug 2020, 11:00
Forum: Ask For Help
Topic: AHK Main dialogue - displayed variables are truncated Topic is solved
Replies: 3
Views: 361

AHK Main dialogue - displayed variables are truncated Topic is solved

I'm sure it's an old and simple topic, but nevertheless .. The Main dialogue of AHK shows the current values of the variables, and because I often use rather long strings (Network paths; read lines from textfiles) they are often trunc..... (truncated) Can they displayed in their entire length? Thanks!
by Peter2
13 Feb 2020, 05:45
Forum: Ask For Help
Topic: Where to place SETTIMER? Topic is solved
Replies: 4
Views: 424

Re: Where to place SETTIMER? Topic is solved

@boiler
thanks. :bravo:

The reason for "WinWaitClose": Copy & paste from another code without detailed understanding :thumbdown:
by Peter2
13 Feb 2020, 03:07
Forum: Ask For Help
Topic: Where to place SETTIMER? Topic is solved
Replies: 4
Views: 424

Re: Where to place SETTIMER? Topic is solved

@Rohwedder
thanks, but no success.

The problem seem to be that the GUI is waiting for input, and this waiting stops the entire software. And I don't see how to make the GUI waiting and the background running ..
by Peter2
12 Feb 2020, 06:40
Forum: Ask For Help
Topic: Where to place SETTIMER? Topic is solved
Replies: 4
Views: 424

Where to place SETTIMER? Topic is solved

I have this structure of code (maybe 70% trash, but it works at the moment).. #SingleInstance Force #NoEnv SetWorkingDir %A_ScriptDir% SetBatchLines -1 Gosub, mainjob return ;; ********** Mainjob *************************** mainjob: mylist := .. create the content of mylist If mylist <> "" Gosub, fe...
by Peter2
06 Feb 2020, 04:37
Forum: Ask For Help
Topic: Display a GUI on same position where it was closed?
Replies: 2
Views: 239

Re: Display a GUI on same position where it was closed?

OK, so there is no built-in-function.

Thanks for reply!
by Peter2
06 Feb 2020, 03:15
Forum: Ask For Help
Topic: Add "visual separators" to GUI-ListBox?
Replies: 3
Views: 367

Re: Add "visual separators" to GUI-ListBox?

@just me
thanks a lot. I will integrate it.
by Peter2
06 Feb 2020, 03:15
Forum: Ask For Help
Topic: Display a GUI on same position where it was closed?
Replies: 2
Views: 239

Display a GUI on same position where it was closed?

Is there a standard feature / behaviour to display the (one and only) GUI of a code on the same position where it was closed?
by Peter2
28 Jan 2020, 04:12
Forum: Ask For Help
Topic: Add "visual separators" to GUI-ListBox?
Replies: 3
Views: 367

Add "visual separators" to GUI-ListBox?

I have a string, consisting of a row of names, like "Jim`nSue`nJohn`nFrank`nSandra`nAbe`nWill" In GUI, I use a "ListBox" with "Sort" option to display it. I get: Abe Frank Jim John Sandra Sue Will For better visibility, I'm thinking about "visual separator", added every time the first character chan...
by Peter2
10 Jan 2020, 04:32
Forum: Ich brauche Hilfe
Topic: Fenster- bzw. Dialogverwaltung
Replies: 2
Views: 475

Fenster- bzw. Dialogverwaltung

Ich habe ein Programm, dass mit unwahrscheinlich vielen Dialogen / Formularen gleichzeitig arbeitet - auch am Doppelschirm geht alles unter. In Win 10 erscheinen alle Formulare in der Taskleiste, dem Hauptprogramm untergeordnet, und sind dort anwählbar. Diese "Wähl-Funktion" hätte ich gerne in einer...
by Peter2
06 Dec 2019, 04:51
Forum: Ich brauche Hilfe
Topic: Hilfedatei: Gelbe Syntaxbeispiel in einer Datei?
Replies: 2
Views: 1588

Hilfedatei: Gelbe Syntaxbeispiel in einer Datei?

Die meisten Hilfeseiten zu Commands und Functions beginnen ja mit einem gelben Infoblock wie z.B. zu MsgBox: MsgBox, Text MsgBox [, Options, Title, Text, Timeout] Gibt es diese Strings auch in einem Paket? Ich möchte in meinem Editor (Ultra Edit) die Autocomplete-Datei damit abfüllen ... Danke Peter
by Peter2
05 Aug 2019, 08:13
Forum: Suggestions on documentation improvements
Topic: Suggestions on documentation improvements
Replies: 688
Views: 223185

Re: Suggestions on documentation improvements

Please add "WinWait(Close)" links / references to GUI
------------------------
Chapter "GUI" does not tell us about the importance of "WinWaitClose". For me it is totally new that a self-created GUI has to be stopped (Waited) after calling ...

Thanks
by Peter2
02 Aug 2019, 09:10
Forum: Ask For Help
Topic: Call a compiled EXE with different parameters Topic is solved
Replies: 2
Views: 554

Call a compiled EXE with different parameters Topic is solved

I want to create an EXE with this behaviour when calling: "myprog.exe" -->> Message appears: "Please use parameters /b or /g ..." "myporg.exe /g" -->> starts the EXE and calls a GUI "myprog.exe /b" -->> starts the EXE and runs without GUi Where I have to start my investigations? Which topic? "Byref"...
by Peter2
29 Jul 2019, 05:32
Forum: Ask For Help
Topic: Basic understanding, based on example "Sort"
Replies: 1
Views: 248

Basic understanding, based on example "Sort"

(Question on base of 3rd hour on try and error) It seems that the usage of Lisp influences my basic understanding of AHK again and again.. I have a string: teststring = A,B,D,C In Lisp I would use something like if (= (sort teststring) teststring) ..... But in AHK "sort" does not return a value, it ...
by Peter2
29 Jul 2019, 05:19
Forum: Ask For Help
Topic: Runwait with Comspec and WritetoLog
Replies: 6
Views: 955

Re: Runwait with Comspec and WritetoLog

You mentioned c:\mylog.txt . Generally Windows does not allow files to be created in the root directory of c: . Try specifying your file in a suitable directory. My fault - I tried to write the example as simple as possible. I modified the posting above. But the (not-)writing of the log is not the ...

Go to advanced search