Search found 5104 matches

by mikeyww
22 Feb 2021, 06:14
Forum: Ask For Help
Topic: StringLower - RegExMatch - RegExReplace Topic is solved
Replies: 8
Views: 95

Re: StringLower - RegExMatch - RegExReplace Topic is solved

Code: Select all

RegExMatch(vInfo, "(\w+)\D+(.+)", part), Test.name := Format("{:L}", part1), Test.tfn := StrReplace(part2, ")")
by mikeyww
21 Feb 2021, 21:39
Forum: Ask For Help
Topic: Is the flow correct ?
Replies: 23
Views: 324

Re: Is the flow correct ?

I added MsgBox lines so that you can report back with the exact sequence of boxes that appear. full_command_line := DllCall("GetCommandLine", "str") if not (A_IsAdmin or RegExMatch(full_command_line, " /restart(?!\S)")) { try { if A_IsCompiled Run *RunAs "%A_ScriptFullPath%" /restart else Run *RunAs...
by mikeyww
21 Feb 2021, 21:11
Forum: Ask For Help
Topic: Double And Long Press in Same Key Without Delay!
Replies: 1
Views: 51

Re: Double And Long Press in Same Key Without Delay!

Some options: https://www.autohotkey.com/boards/viewtopic.php?f=76&t=83785 https://www.autohotkey.com/boards/viewtopic.php?f=76&t=83364&p=364993#p364993 https://www.autohotkey.com/boards/viewtopic.php?f=76&t=51596 Of course, there has to be a certain delay, because the script needs to determine whet...
by mikeyww
21 Feb 2021, 21:04
Forum: Ask For Help
Topic: Using regexmatch for and/or searches.
Replies: 5
Views: 96

Re: Using regexmatch for and/or searches.

Nice one, @swagfag!

@PuzzledGreatly: Well, you didn't say I was supposed to give you what you expect. It was just supposed to work, right? :)
by mikeyww
21 Feb 2021, 20:55
Forum: Ask For Help
Topic: Disable Win + Ctrl + Alt + Shift
Replies: 1
Views: 49

Re: Disable Win + Ctrl + Alt + Shift

Have you already tried the following (I do not have one of these desktops)?

Code: Select all

!+1::Send #^{Left}
by mikeyww
21 Feb 2021, 20:41
Forum: Ask For Help
Topic: Using regexmatch for and/or searches.
Replies: 5
Views: 96

Re: Using regexmatch for and/or searches.

Code: Select all

str := A_Tab "this*that"
If (str ~= "\t.*[[\]\*]|[[\]\*].*\t")
 SoundBeep, 1500, 30
by mikeyww
21 Feb 2021, 20:17
Forum: Ask For Help
Topic: Is the flow correct ?
Replies: 23
Views: 324

Re: Is the flow correct ?

Feel free to post your revised script for feedback.
by mikeyww
21 Feb 2021, 19:46
Forum: Ask For Help
Topic: RegExp - remains only Letters,Numbs & standart symbols
Replies: 3
Views: 121

Re: RegExp - remains only Letters,Numbs & standart symbols

I have no idea whether the problem is solved, or what the desired output is. Feel free to post more details if there are any.
by mikeyww
21 Feb 2021, 18:03
Forum: Ask For Help
Topic: Regex title matching combining title, ahk_class and/or ahk_exe
Replies: 5
Views: 98

Re: Regex title matching combining title, ahk_class and/or ahk_exe

Right (I believe); and your routine looks cool-- easier!
by mikeyww
21 Feb 2021, 17:17
Forum: Gaming
Topic: Help making a simple script
Replies: 1
Views: 58

Re: Help making a simple script

Code: Select all

F3::
WinActivate, windowTitle
Send {Tab down}
Sleep, 2000
Send {Tab up}
Click, 300, 300
Click, down, right
SoundBeep, 1500, 30
KeyWait, LButton, D
Click, up, right
SoundBeep, 1000, 30
Return
by mikeyww
21 Feb 2021, 17:08
Forum: Ask For Help
Topic: Regex title matching combining title, ahk_class and/or ahk_exe
Replies: 5
Views: 98

Re: Regex title matching combining title, ahk_class and/or ahk_exe

I believe that it fails because a WinTitle can have only one specification for each of text, class, process, etc., even if these are regular expressions. Thus, you don't have an easy way to preserve the combinations that you would like. Nonetheless, you could still achieve what you like, such as by ...
by mikeyww
21 Feb 2021, 16:48
Forum: Ask For Help
Topic: Get multiple fields at end of line
Replies: 6
Views: 153

Re: Get multiple fields at end of line

Code: Select all

arr := StrSplit(SubStr(str, 1, (pos := RegExMatch(str, "(.*? ){3}\K.+", rest)) ? pos - 2 : StrLen(str)), " ")
arr.Push(rest)
by mikeyww
21 Feb 2021, 16:03
Forum: Ask For Help
Topic: Program flow and counters (why doesn't this work?) Topic is solved
Replies: 7
Views: 121

Re: Program flow and counters (why doesn't this work?) Topic is solved

Hmm. The flow doesn't necessarily work well, because the timer will repeatedly trigger the routine. Nonetheless, if it works, it works!

Keep in mind that this timer is never disabled, according to the script.
by mikeyww
21 Feb 2021, 15:50
Forum: Ask For Help
Topic: Software that creates software?
Replies: 7
Views: 182

Re: Software that creates software?

But that's what I'm already doing every time I write a script myself...... :)
by mikeyww
21 Feb 2021, 15:38
Forum: Ask For Help
Topic: AHK & CLI & compiled script & BATCH
Replies: 6
Views: 143

Re: AHK & CLI & compiled script & BATCH

In that case, the regular command line will work.
by mikeyww
21 Feb 2021, 15:36
Forum: Ask For Help
Topic: excel copy and paste between 2 workbooks
Replies: 9
Views: 277

Re: excel copy and paste between 2 workbooks

Good to hear. I think that v2 also handles home repairs.

:)
by mikeyww
21 Feb 2021, 15:34
Forum: Ask For Help
Topic: Software that creates software?
Replies: 7
Views: 182

Re: Software that creates software?

Sure. A script can also edit itself.
by mikeyww
21 Feb 2021, 15:33
Forum: Ask For Help
Topic: Sending positioned mouse clicks
Replies: 1
Views: 49

Re: Sending positioned mouse clicks

As noted: 1. Click does not directly accept expressions. 2. I believe that if you specify an x-value, then you must also specify a y-value. 3. In many word processors & text editors, double-clicking serves the purpose of selecting words. I believe that these three factors explain your findings-- not...
by mikeyww
21 Feb 2021, 15:19
Forum: Ask For Help
Topic: Autohotkey not sending text
Replies: 5
Views: 112

Re: Autohotkey not sending text

Code: Select all

F1::
CoordMode, Mouse
MouseGetPos, xpos, ypos
Click, 1709, 965
Sleep, 150
SendInput,
( Join`s
{Text}Thank you for contacting our business.
Please hold while we direct you to an available representative.
)
MouseMove, xpos, ypos
Return

Go to advanced search