Тема: AHK: Как сделать переключение между окнами в Excel? (Решено)
Как сделать переключение между окнами Excel?
Не могу понять, почему не работает это:
!1::
{
msgbox Перейдем в окно 2.
WinWait, Microsoft Excel - 2.xlsx,
IfWinNotActive, Microsoft Excel - 2.xlsx, , WinActivate, Microsoft Excel - 2.xlsx,
WinWaitActive, Microsoft Excel - 2.xlsx,
msgbox Есть 2!
Sleep, 1000
msgbox Перейдем обратно в 1.
WinWait, Microsoft Excel - 1.xlsx,
IfWinNotActive, Microsoft Excel - 1.xlsx, , WinActivate, Microsoft Excel - 1.xlsx,
WinWaitActive, Microsoft Excel - 1.xlsx,
msgbox Есть 1!
}
return
