Closing the "Statistics" window in a groovy script when reloading a project
De persoon die dit onderwerp heeft geplaatst: Rossano Rossi
Rossano Rossi
Rossano Rossi  Identity Verified
Local time: 09:39
Engels naar Italiaans
+ ...
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
Susan Welsh  Identity Verified
Verenigde Staten
Local time: 03:39
Russisch naar Engels
+ ...
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
Didier Briel  Identity Verified
Frankrijk
Local time: 09:39
Engels naar Frans
+ ...
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
Rossano Rossi  Identity Verified
Local time: 09:39
Engels naar Italiaans
+ ...
ONDERWERPSTARTER
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


 


We hebben geen speciale moderator aangesteld voor dit forum.
Wanneer u overtredingen van de sitevoorschriften wilt melden of hulp wilt hebben, neem dan contact op met ProZ.com-medewerkers »


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






Trados Business Manager Lite
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.

More info »
Protemos translation business management system
Create your account in minutes, and start working! 3-month trial for agencies, and free for freelancers!

The system lets you keep client/vendor database, with contacts and rates, manage projects and assign jobs to vendors, issue invoices, track payments, store and manage project files, generate business reports on turnover profit per client/manager etc.

More info »