Jump to content
Sign in to follow this  
dufran3

ODBC Window

Recommended Posts

dufran3

How do I get to the "system DSN" tab without having to use keys like tabbing and such???

Image

Share this post


Link to post
Share on other sites
lod3n

Some control panels will let you specify the tab in the Control_RunDLL command, but not the ODBC window, it looks like. So you can just do this:

run("rundll32.exe shell32.dll,Control_RunDLL odbccp32.cpl",@SystemDir,@SW_HIDE)
winwait("ODBC Data Source Administrator")
ControlCommand ( "ODBC Data Source Administrator", "", "SysTabControl321" , "tabright")


[font="Fixedsys"][list][*]All of my AutoIt Example Scripts[*]http://saneasylum.com[/list][/font]

Share this post


Link to post
Share on other sites
dufran3

I didn't realize that 'tabright' was a command. Thanks man!

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  

×