Search found 6208 matches

by just me
Today, 06:26
Forum: Ask For Help
Topic: Name Permutation.
Replies: 22
Views: 465

Re: Name Permutation.

This example is using a label using the global namespace to avoid confusion. I tested with AHK 1.0.48.05. ;Main Name ^2:: FullName := "John Smith David James Captain Cook" Gosub, NamePermutation Return ;Assume there is other functions ^3:: Send, FaceRecognition Return ;Name permutation NamePermutati...
by just me
Today, 04:44
Forum: Ask For Help
Topic: Problem with Dynamic Script Function
Replies: 9
Views: 226

Re: Problem with Dynamic Script Function

Did you try what I suggested? BTW: Your file is created with the attributes/flags FILE_ATTRIBUTE_TEMPORARY 256 (0x100) The file is being used for temporary storage. FILE_FLAG_DELETE_ON_CLOSE 0x04000000 The file is to be deleted immediately after all of its handles are closed, which includes the spec...
by just me
Today, 04:14
Forum: Ask For Help
Topic: Adding timers to a loop
Replies: 5
Views: 126

Re: Adding timers to a loop

Hi, I see no reason why the MsgBox shouldn't show. Maybe it's somewhere in the background? Also, your original request: ;##NEED A ?? SECOND TIMER, IF PCOLOR NOT FOUND THEN SEND CTRL + W AND GOTO "LABEL END" (TO RESTART LOOP AND COUNT -1 LOOP)### Your actual code at line 23 and below: If (Found = Fal...
by just me
Yesterday, 09:57
Forum: Ask For Help
Topic: Change text on GUI button depending on condition
Replies: 3
Views: 91

Re: Change text on GUI button depending on condition

You need to force an expression . Gui, add, button, y+20 w75 h50 gToggleOnOff, % (PauseFlag ? "On" : "Off") ; added single %-sign But that will only work when the button is created. To change the caption afterwards: Gui, add, button, y+20 w75 h50 vToggleButton gToggleOnOff, On ; added vToggleButton ...
by just me
Yesterday, 08:46
Forum: Ask For Help
Topic: GUI - show, submit and recall Topic is solved
Replies: 2
Views: 63

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

  • Create the GUI only once.
  • Use GuiControl to (re)set the controls.
  • Use Gui, Show, ... to (re)show the GUI.
by just me
Yesterday, 05:18
Forum: Ask For Help
Topic: Adding timers to a loop
Replies: 5
Views: 126

Re: Adding timers to a loop

... or check the time within the loop: !a:: inputbox, userinput, Automated Mac Address, How many Mac Addresses in Sequence am I updating?, ,400, 130 If ErrorLevel Return ; Else <<<<< not needed Loop, %userinput% { ;Is web page loaded? sleep, 200 ;##NEED A 45 SECOND TIMER, IF PCOLOR NOT FOUND THEN SE...
by just me
Yesterday, 02:59
Forum: Ich brauche Hilfe
Topic: Eintrag aus einer ComboBox wählen
Replies: 3
Views: 141

Re: Eintrag aus einer ComboBox wählen

Wenn AHK glaubt, dass alles richtig gelaufen ist (ErrorLevel = 0), fällt mir erst einmal auch nichts weiter ein. Wenn man nicht am 'lebenden Control' testen kann, ist das nur 'blinde Raterei'.
by just me
17 Jun 2019, 11:10
Forum: Ask For Help
Topic: WinWaitActive in SetTimer keeps interfearing with the rest of the script
Replies: 4
Views: 150

Re: WinWaitActive in SetTimer keeps interfearing with the rest of the script

WinWaitActive:
Remarks wrote:While the command is in a waiting state, new threads can be launched via hotkey, custom menu item, or timer.
But you can try:

Code: Select all

While !WinActive("YourWindowCriteria")
   Sleep, 10 ; or 50 / 100 / 500 / ...
by just me
17 Jun 2019, 05:38
Forum: Scripts and Functions
Topic: decimal time ('metric time')
Replies: 1
Views: 123

Re: decimal time ('metric time')

#NoEnv Now := A_Now MsgBox, 0, Metric Time, % Now . " -> " MetricTime(Now) ExitApp MetricTime(DateTime) { ; YYYYMMDDHH24MISS time stamp Seconds := DateTime Seconds -= % (Date := SubStr(DateTime, 1, 8)), S Seconds := Round(Seconds * 100000 / 86400) HH := Seconds // 10000 Seconds -= HH * 10000 MM := ...
by just me
17 Jun 2019, 03:33
Forum: Ich brauche Hilfe
Topic: Eintrag aus einer ComboBox wählen
Replies: 3
Views: 141

Re: Eintrag aus einer ComboBox wählen

Damit AHK mit fremden Controls arbeiten kann, müssen die auf bestimmte Nachrichten wie die Microsoft Controls reagieren. Die Klassennamen TcxComboBox und TcxCustomComboBoxInnerEdit sprechen dafür, dass das möglicherweise nicht der Fall ist. Der Klassenname des Originalcontrols lautet schlicht: Combo...
by just me
17 Jun 2019, 03:19
Forum: Ich brauche Hilfe
Topic: LoopRead - nach success weiter lesen
Replies: 3
Views: 146

Re: LoopRead - nach success weiter lesen

Moin!

Code: Select all

	If InStr(A_LoopReadLine, SearchString . A_Index && A_Index)
Was soll das tun? Welcher String soll gesucht werden (bitte ein Beispiel für A_Index = 2)?
by just me
16 Jun 2019, 06:48
Forum: Scripts and Functions
Topic: FrameShadow(): Drop Shadow On Borderless Window, (DWM STYLE)
Replies: 25
Views: 5393

Re: FrameShadow(): Drop Shadow On Borderless Window, (DWM STYLE)

Code: Select all

...
Gui, IGUI2:+HwndIGUI2 ; <<<<< you need to specify the GUI name here
Gui, IGUI2:-Caption +ToolWindow +Lastfound
...
by just me
16 Jun 2019, 05:37
Forum: Ask For Help
Topic: array descriptions - what's differ
Replies: 30
Views: 679

Re: array descriptions - what's differ

Right now I use a command-controlled program called table2text.exe (32-bit) to read the database tables.
If all CSV files are created by the same programm, why do some files include headers and others not? :roll:

(IMHO, you suppress all thoughts not matching your current concept.)
by just me
15 Jun 2019, 11:04
Forum: Ask For Help
Topic: array descriptions - what's differ
Replies: 30
Views: 679

Re: array descriptions - what's differ

Well, once again: > An example. > Suppose a user should send me a message. - OK > When the user clicks on the message icon on the windows desktop. - OK > The AHK program starts another program, which in turn creates a CSV file with user information from the database (without headers). - Which AHK pr...
by just me
15 Jun 2019, 07:58
Forum: Allgemeines
Topic: Wie wirklich ist die Wirklichkeit
Replies: 7
Views: 230

Re: Wie wirklich ist die Wirklichkeit

Ist der Tod ein Übergang in einen Quantenzustand?
Ich hoffe nicht, dass Menschen nach ihrem Tod auch noch "Wellen schlagen"!
Und ich glaube nicht, dass es irgendwo "da draußen" ein Recyclingunternehmen für Seelen gibt.
by just me
15 Jun 2019, 06:20
Forum: Allgemeines
Topic: Wie wirklich ist die Wirklichkeit
Replies: 7
Views: 230

Re: Wie wirklich ist die Wirklichkeit

'Naturgesetze' sind Regelmäßigkeiten, die die Menschen erkannt zu haben glauben. Bei dem Wenigen, das die Menschheit bis heute über unser Universum weiß, ist es recht wahrscheinlich, dass nicht alle unumstößlich sind. Die Begrifflichkeiten 'Gut' und 'Böse' kennt die Natur / das Universum nicht. Ein ...
by just me
15 Jun 2019, 04:54
Forum: Ask For Help
Topic: array descriptions - what's differ
Replies: 30
Views: 679

Re: array descriptions - what's differ

Hi Albireo,

I'm sorry, but the more you explain your goals the more I get confused.

Do you want to write special functions to get special information out of special CSV files? Or shall the functions return an array containg the information of the complete file?
by just me
15 Jun 2019, 04:50
Forum: Ask For Help
Topic: Tabbing between user input fields in Child GUI Topic is solved
Replies: 2
Views: 101

Re: Tabbing between user input fields in Child GUI Topic is solved

The parent GUI controls should not overlap the child GUIs. You might want to try the WS_EX_CONTROLPARENT style. #SingleInstance, Force ; https://docs.microsoft.com/en-us/windows/desktop/winmsg/extended-window-styles WS_EX_CONTROLPARENT := 0x00010000 GuiNumber := 1 Gui, Main:New, +hwndhMain +LastFou...
by just me
15 Jun 2019, 02:40
Forum: Allgemeines
Topic: Wie wirklich ist die Wirklichkeit
Replies: 7
Views: 230

Re: Wie wirklich ist die Wirklichkeit

Frosti wrote:Ist unser Gehirn in Wahrheit ein Quantencomputer? Ich denke dem ist so!
Ich habe den Film nicht angeschaut, aber, wenn dem so ist, kann man auch von Quantencomputern nichts Gutes erwarten.
by just me
14 Jun 2019, 10:13
Forum: Ask For Help
Topic: Problem with Dynamic Script Function
Replies: 9
Views: 226

Re: Problem with Dynamic Script Function

I didn't test it with the Run command, but seemingly File.Close() has some effect. Try ... DllCall("QueryPerformanceCounter", "Int64*", timestamp), scriptpath := scriptdir "\" scriptname " #" scriptno " " pid " " Format("{:x}", timestamp) ".ahk" If (scriptfile := DllCall("CreateFile", "Str", scriptp...

Go to advanced search