Sign in to follow this  
Followers 0
tsherr

Control Clicking on a tab

2 posts in this topic

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

Share this post


Link to post
Share on other sites

#2 ·  Posted (edited)

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

Share this post


Link to post
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
Sign in to follow this  
Followers 0