Jump to content

Finetuning opening Regional Settings applet?


Recommended Posts

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! :)

Link to comment
Share on other sites

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


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

Link to comment
Share on other sites

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)
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...