Jump to content

Control Clicking on a tab


Recommended Posts

Hi All,

I'm trying to automate SuperAntiSpyware configuration, but when I bring up the Preferences screen, I need to be able to click from tab to tab. It appears that the tabs are not individual items. Do I have to click on a specific position on the screen (which is problematic, since how would I know where the tab will be on every screen since screen sizes differ?) Or is there a way to use ControlClick on a tab as I would on a button?

Thanks,

T

Link to comment
Share on other sites

Either use ControlCommand() to switch tabs (cycle through x number of times using "TabRight" or "TabLeft"), OR use something like _GUICtrlTab_ClickTab(). I believe the latter uses process memory allocation/write techniques, so be sure your program has that access. (Be warned: I think the implementation in the UDF's lacks proper error detection).

*edit: weird paste issue added more characters

Edited by Ascend4nt
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...