C
C
ColdSpirit2017-05-12 12:29:47
Regular Expressions
ColdSpirit, 2017-05-12 12:29:47

Autohotkey - why doesn't Regexp search work?

I'm trying to get a similar example from the documentation to work, but after running nothing happens. I can't understand why. What's my mistake?

SetTitleMatchMode RegEx
Run, Notepad.exe
Sleep 500
winactivate "^.*Блокнот.*$"
WinWaitActive "^.*Блокнот.*$"
MsgBox Activated

Answer the question

In order to leave comments, you need to log in

1 answer(s)
C
ColdSpirit, 2017-05-12
@ColdSpirit

Found the answer.
1. Cyrillic file encoding must be ANSI.
2. Quotes need to be removed, it doesn't work with quotes

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question