Search found 252 matches

by Peter2
13 Feb 2020, 05:45
Forum: Ask For Help
Topic: Where to place SETTIMER? Topic is solved
Replies: 4
Views: 380

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: 380

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: 380

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: 214

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: 334

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: 214

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: 334

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: 426

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: 1551

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: 216389

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: 517

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: 228

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: 866

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 ...
by Peter2
29 Jul 2019, 03:33
Forum: Ask For Help
Topic: Search duplicates in delimited sting? Topic is solved
Replies: 2
Views: 314

Search duplicates in delimited sting? Topic is solved

For example, I have the string

Code: Select all

red`nblue`ngreen`nred`nblack
The second "red" is a duplicate. Are there exiting functions in AHK to check it?
(Otherwise, an extra loop is not that hard ..)
by Peter2
29 Jul 2019, 03:30
Forum: Ask For Help
Topic: Check string if its a filename?
Replies: 1
Views: 219

Check string if its a filename?

I should check if a string is a path with filename.

Like..

OK:
c:\temp\test.log

Wrong:
c:\temp\test
temp\test.log
c:\\temp\test.log
c:/temp\test.log
c:\temp\test.log txt
... and many others????

Are there some predefined functions in AHK which check (a part) of these possibilities?
by Peter2
29 Jul 2019, 03:25
Forum: Ask For Help
Topic: Runwait with Comspec and WritetoLog
Replies: 6
Views: 866

Re: Runwait with Comspec and WritetoLog

Enclose all the DOS commands in another set of double-quotes:-.... Thanks, but it does not work. Without the output-paraneter ">> d:\mylog.txt" it.. - starts the cmd-window - sets the color - starts the exe with the params - it runs approx. 20 sec and brings some progress-messages to the window - i...
by Peter2
26 Jul 2019, 09:54
Forum: Ask For Help
Topic: Runwait with Comspec and WritetoLog
Replies: 6
Views: 866

Runwait with Comspec and WritetoLog

I have something like this to call my defined EXE with defined parameters in a loop RunWait, %ComSpec% /c color 16 && echo my job is running.... && "%main_exedatei%" "%Config%" Works fine, and waits(!!) fine with the next loop. But when I add an output -option like this RunWait, %ComSpec% /c color 1...
by Peter2
18 Jun 2019, 08:50
Forum: Ask For Help
Topic: GUI - show, submit and recall Topic is solved
Replies: 2
Views: 541

Re: GUI - show, submit and recall Topic is solved

Incredible speed of solution!

Thanks to both :bravo: :beer:

Go to advanced search