Region and language automation

Advanced programming using WinTask scripting language

Region and language automation

Postby Walt on Mon Jul 20, 2015 7:00 am

Hi,
I try to automatize a change in control panel/Region and language but sometimes this script fails:
Shell("c:\windows\system32\control.exe",1)

UseWindow("EXPLORER.EXE|DirectUIHWND|All Control Panel Items|2",1)
ClickMouse(Left,Down,549,275)
ClickMouse(Left,Up,549,275)

How can I make this code reliable?
Walt
 
Posts: 13
Joined: Fri Dec 24, 2004 10:44 am

Re: Region and language automation

Postby TechSupport on Mon Jul 27, 2015 11:27 am

Hello,

if you use the control panel window, the click on the item you want to modify can change as the control panel view can be displayed with small icons, or by group. You can directly launch control panel loading the regional and language options window by using this line:

Shell("C:\Windows\system32\control.exe"+" intl.cpl",1)

Best regards.
WinTask Tech Support
TechSupport
 
Posts: 805
Joined: Thu Nov 16, 2006 9:58 am


Return to Scripts programming

Who is online

Users browsing this forum: No registered users and 1 guest

cron