Jump to content

Recommended Posts

Posted

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

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


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

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)

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
×
×
  • Create New...