Sign in to follow this  
Followers 0
DuncanM

Tabs Question

4 posts in this topic

What is the best way to have AutoIT "click" on a tab in a window? I'm trying to automate the loading of some certificates in Internet Explorer - after selecting Internet Options, a window comes up and you must click the Content tab - rather than hitting the Tab key a million times, I wanted to see if there's a better way to go about selecting that tab. Thanks.

Share this post


Link to post
Share on other sites



What is the best way to have AutoIT "click" on a tab in a window? I'm trying to automate the loading of some certificates in Internet Explorer - after selecting Internet Options, a window comes up and you must click the Content tab - rather than hitting the Tab key a million times, I wanted to see if there's a better way to go about selecting that tab. Thanks.

If you're talking of an external application, take a look at ControlCommand() toward the bottom (last 3 choices I believe).

[center]Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.[/center]

Share this post


Link to post
Share on other sites

You could go straight to it by Run().

Run('RunDll32.exe shell32.dll,Control_RunDLL inetcpl.cpl,,3')

That opens the Content tab on IE6

:)

Share this post


Link to post
Share on other sites

You could go straight to it by Run().

Run('RunDll32.exe shell32.dll,Control_RunDLL inetcpl.cpl,,3')

That opens the Content tab on IE6

:)

Works like a charm, thanks!

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