Can Macro Scheduler detect window state?
Moderators: Dorian (MJT support), JRL
Can Macro Scheduler detect window state?
Can Macro Scheduler detect if a specific window is minimized or maximized?
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
Yes, start Notepad and then run this script:
Code: Select all
GetWindowHandle>Notepad*,hwnd
LibFunc>User32,IsIconic,rI,hwnd
LibFunc>User32,IsZoomed,rZ,hwnd
If>rI=1
MessageModal>Minimized
Else
If>rZ=1
MessageModal>Maximized
Else
MessageModal>Regular
Endif
Endif
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?