I am trying to write a macro for an interface with several tabs to which I need to navigate based on the text on the tab. I can see the tabs in "View System Windows" and I am wondering if there is a way to select a specific tab other than a mousemove or some convoluted series of TAB, Right Arrow, etc....
SkunkWorks
Navigating through a 'tabbed' interface
Moderators: Dorian (MJT support), JRL
-
- Junior Coder
- Posts: 22
- Joined: Mon Sep 12, 2005 1:34 am
- Location: Melbourne - Australia
Really depends on how the application you are addressing has been written. Standard Microsoft and similar tabbed apps, can usually be navigated with CTRL+TAB
If the WindowTitle changes to reflect the the current tab name, you could wrap the navigation in a GetActiveWindow> and Repeat> Untill> loop.
In a worst case scenario, with no WindowTitle or any other means of navigating, you could try using GetWindowText>
Good luck
/Ken
If the WindowTitle changes to reflect the the current tab name, you could wrap the navigation in a GetActiveWindow> and Repeat> Untill> loop.
In a worst case scenario, with no WindowTitle or any other means of navigating, you could try using GetWindowText>
Good luck
/Ken
Macro Scheduler since Version 5.0 - 21/10/1998
It won't. You need to send CTRL+TAB:SkunkWorks wrote:and when I press TAB the 'tab' I need never gets focus.
Press CTRL
Press TAB
Release CTRL
MJT Net Support
[email protected]
[email protected]