Closing the "Statistics" window in a groovy script when reloading a project
Thread poster: Rossano Rossi

Rossano Rossi  Identity Verified
Local time: 07:32
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?


 

Susan Welsh  Identity Verified
United States
Local time: 01:32
Member (2008)
Russian to English
+ ...
post to Yahoo group Aug 8, 2018

It would be best for you to post this question to the Yahoo group, which has much more traffic from developers than this forum. https://groups.yahoo.com/neo/groups/OmegaT/conversations/messages (I don't know the answer to your question!)

Rossano Rossi
 

Didier Briel  Identity Verified
France
Local time: 07:32
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?


For such technical questions, you can also use the OmegaT development mailing list:
https://sourceforge.net/projects/omegat/lists/omegat-development

Didier


 

Rossano Rossi  Identity Verified
Local time: 07:32
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é]

HTH... See more
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]


[Edited at 2018-08-10 08:59 GMT]
Collapse


 


There is no moderator assigned specifically to this forum.
To report site rules violations or get help, please contact site staff »


Closing the "Statistics" window in a groovy script when reloading a project

Advanced search






SDL MultiTerm 2019
Guarantee a unified, consistent and high-quality translation with terminology software by the industry leaders.

SDL MultiTerm 2019 allows translators to create one central location to store and manage multilingual terminology, and with SDL MultiTerm Extract 2019 you can automatically create term lists from your existing documentation to save time.

More info »
SDL Trados Business Manager Lite
Create customer quotes and invoices from within SDL Trados Studio

SDL 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.

More info »



Forums
  • All of ProZ.com
  • Term search
  • Jobs
  • Forums
  • Multiple search