Forums Neueste Beiträge
 

automate language change (ACP)

14/05/2009 - 15:06 von Peter | Report spam
Hey,

I am running an old non-Unicode app and like to automate the change to a new
GUI language for my app. This has to be done by the regional and language
settings / language for non unicode programs.
But I'd like to automate it. The user should not run through the Control
Panel and handle the appropriate dialogs. So the user just has to press a
button in the app to change to a new language and to start the necessary
reboot.
To open the language setting dialog, you can use the intl.cpl,0,2 command.
But this command just opens the dialog box that you have to handle now. You
have to select the language and press OK twice to really start the reboot.
To avoid this additional handling by the user, is there a way to send the
new language maybe as a parameter to the intl.cpl command and to accept the
reboot?
Or is there any other way to switch over to another language by a script or
so ?

Thanks for any idea.
Peter
 

Lesen sie die antworten

#1 Michael Bormann
14/05/2009 - 16:26 | Warnen spam
Hallo Peter
Du meintest

Hey,

I am running an old non-Unicode app and like to automate the change
to a new GUI language for my app. This has to be done by the
regional and language settings / language for non unicode programs.
But I'd like to automate it. The user should not run through the
Control Panel and handle the appropriate dialogs. So the user just
has to press a button in the app to change to a new language and to
start the necessary reboot.
To open the language setting dialog, you can use the intl.cpl,0,2
command. But this command just opens the dialog box that you have to
handle now. You have to select the language and press OK twice to
really start the reboot. To avoid this additional handling by the
user, is there a way to send the new language maybe as a parameter
to the intl.cpl command and to accept the reboot?
Or is there any other way to switch over to another language by a
script or so ?



try this
http://www.autoitscript.com/autoit3/

mfg
Michael
Bitte nur in der NewsGroup antworten
www.mbormann.de

Ähnliche fragen