Jump to content
Sign in to follow this  
tsherr

Control Clicking on a tab

Recommended Posts

tsherr

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
Ascend4nt

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.