X
X
Xlebulllek2022-02-16 16:08:05
autohotkey
Xlebulllek, 2022-02-16 16:08:05

How do I implement switching between windows in ahk?

In general, I need to make a program that will open windows, write text in them and switch to other windows to write text there.
In short, in simple words, switching between windows, followed by writing text.
In more depth, there are two programs. One of them is running in a sandboxie. Window titles are the same. You need the program to switch between windows. For example, I was in window 1 where the program pressed the button, wrote the text, and it should switch to another window there, press the button and write another text. And it should do it cyclically 140 times. I roughly assume what needs to be done in a cycle, but I don’t understand how to implement switching between windows. In the program, after all, you can make combinations for alt + tab?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Stalker_RED, 2022-02-16
@Stalker_RED

by header https://www.autohotkey.com/docs/commands/WinActiva...
or cycle through https://www.autohotkey.com/boards/viewtopic.php?t=9972

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question