Search found 5 matches

by flw
29 Jul 2019, 05:55
Forum: Ask for Help (v1)
Topic: Next iteration in alphabetical list
Replies: 6
Views: 1567

Re: Next iteration in alphabetical list

Thank you for your contributions. I worked some more on my list and can generate msgboxes with the correct order, however I cannotfill the array with the .push in the loops. Can someone show me the bug? Afterwards I should be able to find a given letter ("g") or letter combination ("ab") in the arra...
by flw
29 Jul 2019, 04:25
Forum: Ask for Help (v1)
Topic: Next iteration in alphabetical list
Replies: 6
Views: 1567

Next iteration in alphabetical list

Hi, I would like to find the next iteration of an entry in an alphabetical list. For example, if I have a string ;if RegExMatch(vReferenceOriginal, "(\D+)$", vEndNonDigit) is not 0 vEndNonDigit := "z" the output should be string vEndNonDigitNew := "aa" The list would be: a b c ... z aa ab ac ... az ...
by flw
14 Nov 2017, 09:10
Forum: Ask for Help (v1)
Topic: Define global variables with inputbox, then insert with other macro Topic is solved
Replies: 5
Views: 1566

Re: Define global variables with inputbox, then insert with other macro Topic is solved

Nice, thank you. Here is my final code: variable2 := 1 #1:: ClipSaved := ClipboardAll Clipboard := "" Send, ^c ClipWait, 1 if (!ErrorLevel){ AltCB2 = %Clipboard% variable1 := AltCB2 ;store clipboard into variable1 AltCB2 := ;empty alternative clipboard StringRight, variable2, variable1, 3 ;if new st...
by flw
14 Nov 2017, 07:07
Forum: Ask for Help (v1)
Topic: Define global variables with inputbox, then insert with other macro Topic is solved
Replies: 5
Views: 1566

Re: Define global variables with inputbox, then insert with other macro Topic is solved

Yes, it works. It seems I overcomplicated it in my mind. Very intuitive in hindsight. Thank you. But would it be possible to populate variable1 with the highlighted text if it is empty, before showing the Inputbox for the first time? Example: I start AHK. Variable1 is empty. I select the string "ABC...
by flw
14 Nov 2017, 06:00
Forum: Ask for Help (v1)
Topic: Define global variables with inputbox, then insert with other macro Topic is solved
Replies: 5
Views: 1566

Define global variables with inputbox, then insert with other macro Topic is solved

Hi, recently I started to use autohotkey and it is fantastic. Now I have a new idea and as a beginner would like your input on how to write it correctly: My idea is as follows: ;Test #1:: InputBox, variable1, Reference, Please enter a reference range,,,,,,,,%variable1% ;e.g., "900-000" InputBox, var...

Go to advanced search