This site uses cookies.
Some of these cookies are essential to the operation of the site,
while others help to improve your experience by providing insights into how the site is being used.
For more information, please see the ProZ.com privacy policy.
Closing the "Statistics" window in a groovy script when reloading a project
Thread poster: Rossano Rossi
Rossano Rossi Local time: 08:33 English to Italian + ...
Aug 8, 2018
In ΩT 4.1.4. Is it possible to use in a groovy script the "closeWindowByEvent(java.awt.Window window)" (or any other code) to close the "Statistics" windows when reloading a project? How can I get the correct handle to this window?
Subject:
Comment:
The contents of this post will automatically be included in the ticket generated. Please add any additional comments or explanation (optional)
Susan Welsh United States Local time: 02:33 Russian to English + ...
The contents of this post will automatically be included in the ticket generated. Please add any additional comments or explanation (optional)
Didier Briel France Local time: 08:33 English to French + ...
You can also use the development mailing list
Aug 8, 2018
Rossano Rossi wrote: In ΩT 4.1.4. Is it possible to use in a groovy script the "closeWindowByEvent(java.awt.Window window)" (or any other code) to close the "Statistics" windows when reloading a project? How can I get the correct handle to this window?
The contents of this post will automatically be included in the ticket generated. Please add any additional comments or explanation (optional)
Rossano Rossi Local time: 08:33 English to Italian + ...
TOPIC STARTER
SOLUTION
Aug 10, 2018
Should anyone need it, this is a working solution (from "OmegaT User Support" yahoo group):
In "omegat.prefs"* change ˂project_files_show_on_load˃true˂/project_files_show_on_load\˃ to ˂project_files_show_on_load˃false˂/project_files_show_on_load\˃
[Credit to Briac Pilpré and Dimitry Prihodko]
BTW
project files windows are not visible inside a [Groovy] script. [Credit to Briac Pilpré]
Should anyone need it, this is a working solution (from "OmegaT User Support" yahoo group):
In "omegat.prefs"* change ˂project_files_show_on_load˃true˂/project_files_show_on_load\˃ to ˂project_files_show_on_load˃false˂/project_files_show_on_load\˃
[Credit to Briac Pilpré and Dimitry Prihodko]
BTW
project files windows are not visible inside a [Groovy] script. [Credit to Briac Pilpré]
HTH
*(in my computers C:\Users\name\AppData\Roaming\OmegaT\omegat.prefs [Windows] and \home\name\.omegat\omegat.prefs [Linux])
WARNING: edit the file, do not cut&paste this, since I replaced the closing and opening brackets of the tags ˂˃ with U+02C2 and U+02C3 for proper display [in PROZ HTML]
Create customer quotes and invoices from within Trados Studio
Trados Business Manager Lite helps to simplify and speed up some of the daily tasks, such as invoicing and reporting, associated with running your freelance translation business.
Exclusive discount for ProZ.com users!
Save over 13% when purchasing Wordfast Pro through ProZ.com. Wordfast is the world's #1 provider of platform-independent Translation Memory software. Consistently ranked the most user-friendly and highest value