on 04-17-2013 1:41 PM
Is it possible to run the translation toolkit cmdline?
In order to automate the translation process, I'd like to be able to do this in a batch job.
If not, then is there some sort of API which may be used?
-O.Steine
Hi O;
AFAIK, this is still a "GUI" only tool.
Now, you could write a program to control (automate) the translator GUI's processing .... for example in Notepad: Start another application from a PowerBuilder application and then send it keyboard commands:
integer li_rc
OleObject ole_wsh
ole_wsh = CREATE OleObject
li_rc = ole_wsh.ConnectToNewObject ( "WScript.Shell" )
ole_wsh.Run ("Notepad")
ole_wsh.AppActivate("Untitled - Notepad")
Sleep (500)
ole_wsh.SendKeys (''Hello from PB")
Tip: Have a look at the "SendKeys" method in MS's WSH documentation on how to generate specific key codes.
HTH
Regards .. Chris
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Not that I'm aware of.
FWIW, there's another tool than can also be used to implement multilingual capability (enable). You might see if it has a batch mode.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.