Sign in to follow this  
Followers 0
Diana (Cda)

Finetuning opening Regional Settings applet?

4 posts in this topic

Thanks to Gary Frost in another message I posted today, as well as the forum message on applets ( http://www.autoitscript.com/forum/index.ph...amp;hl=intl.cpl ), was able to figure out how to open the Regional settings box in AI.

Run("control.exe intl.cpl,,4")

However, no details seem to be given on that page on how to open the box to customize date/time settings, etc., (manually done on this tab via pressing the "Customize" button).

Is there a way to do this, anyone know?

Thanks! :)

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Run("control.exe intl.cpl")
ControlClick("Regional and Language Options", "", "Button2")

Edit - Use Windows Info Tool to get Control ID's etc

Edited by BigDod


Get Beta versions Here Get latest SciTE editor Here AutoIt 1-2-3 by Valuater - A great starting point.

Time you enjoyed wasting is not wasted time ......T.S. Elliot
Suspense is worse than disappointment................Robert Burns
God help the man who won't help himself, because no-one else will...........My Grandmother

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

Run("control.exe intl.cpl")
ControlClick("Regional and Language Options", "", "Button2")

Edit - Use Windows Info Tool to get Control ID's etc

Hi, I didn't know that re the Info Tool. Don't know exactly what you mean by Control ID's unless "Button 2" is the name of the "Customize" button, which the info tool does indeed show(?).

Re the ControlClick command above, did this work for you? It didn't for me. Also, without the complete syntax of:

control.exe intl.cpl,,4)
including the extra comas and the "4", the right tab doesn't open. So what worked for me to open the language options tab in regional settings is as I initially posted:
Run("control.exe intl.cpl,,4")
With or without the extra ControlClick line, it just stays on the Regional Options tab without opening the "Customize" button.

Ami I missing something?

Thanks. :)

Edited by Diana (Cda)

Share this post


Link to post
Share on other sites

Has anyone made this work for them? It doesn't work for me. I only get as far as the main box, as mentioned.

Thank you! :)

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