SDL Trados Studio
SDL Trados GroupShare
SDL Trados Business Manager
SDL Trados Live
SDL MultiTerm
SDL Passolo
SDL Speech to Text
SDL Managed Translation - Enterprise
SDL MultiTrans
SDL TMS
SDL WorldServer
Translation Management Connectors
SDL LiveContent S1000D
SDL Contenta S1000D
SDL XPP
SDL Tridion Docs
SDL Tridion Sites
SDL Content Assistant
SDL Machine Translation Cloud
SDL Machine Translation Connectors
SDL Machine Translation Edge
Language Developers
Tridion Developers
Tridion Docs Developers
Xopus Developers
Community Help
SDL User Experience
Language Products - GCS Internal Community
SDL Community Internal Group
SDL Access Customer Portal
SDL Professional Services
SDL Training & Certification
Style Guides
Language Technology Partner Group
SDL Academic Partners
SDL Enterprise Technology Partners
XyUser Group
ETUG (European Trados User Group) Public Information
Machine Translation User Group
Nordic SDL Tridion Docs User Group
SDL Tridion UK Meetup
SDL Tridion User Group New England
SDL Tridion West Coast User Group
SDL WorldServer User Group
Tridion Docs Europe & APAC User Group
Tridion User Group Benelux
Tridion User Group Ohio Valley
SDL MultiTerm Ideas
SDL Passolo Ideas
SDL Trados GroupShare Ideas
SDL Trados Studio Ideas
SDL Machine Translation Cloud Ideas
SDL Machine Translation Edge Ideas
SDL Language Cloud TMS Ideas
SDL Language Cloud Terminology Ideas
SDL Language Cloud Online Editor Ideas
SDL Managed Translation - Enterprise Ideas
SDL TMS Ideas
SDL WorldServer Ideas
SDL Tridion Docs Ideas
SDL Tridion Sites Ideas
SDL LiveContent S1000D Ideas
SDL XPP Ideas
Events & Webinars
To SDL Documentation
To SDL Support
What's New in SDL
Detecting language please wait for.......
Inspired by Paul's recent blog post, I've just tried for over an hour to create a script to change the segment status. Specifically, I want to be able to assign the status "Translation Approved" and "Translation Rejected" via keyboard shortcuts while I'm in "Translation" mode in the Editor.
I consulted the AHK documentation and watched a couple of tutorials and found that what I'm trying to do should be easy enough - just two mouse clicks, first on "Change Segment Status", then on the respective status. Figuring out the absolute cursor positions on my screen was also easy using "Active Window Info".
So the script below is supposed to assign "Translation Approved" in the maximized Editor window on a 27'' screen when I press Ctrl + Win key + q. But unfortunately, it doesn't. It clicks on "Change Segment Status", but then it stops without clicking on the status. Can anybody see or guess what I've done wrong here?
Thanks in advance!
Eva
;Studio 2017: Change Segment Status > Translation Approved (find absolute mouse cursor position using "Active Window Info" in AHK's program folder)^#q::click 1346 108click 1346 218ExitApp
Hi Eva,
I'm learning as you are, so had a go despite there being an app for this. I thought I could use the alt keys in the script for this. So, Alt+h+u+t gets me the translated status for example. But I can't get the use of multiple keys to work correctly and always end up with the Alt keys activated in the ribbon and the letters ut in my segment. In fact I've tested this so many times now I can remember the different Alt key shortcuts for them all and this works really well ;-)
Regards
Paul
Paul Filkin said: So, Alt+h+u+t gets me the translated status for example. But I can't get the use of multiple keys to work correctly and always end up with the Alt keys activated in the ribbon and the letters ut in my segment.
So, Alt+h+u+t gets me the translated status for example. But I can't get the use of multiple keys to work correctly and always end up with the Alt keys activated in the ribbon and the letters ut in my segment.
Hi Paul,
I believe the solution to that is adding a KeyWait Ctrl line at the beginning of the script, if Ctrl is to be part of the hotkey, so something like this:
^#q::KeyWait CtrlSend !hSleep 50Sendinput uSleep 50Sendinput tReturn
The explanation for this is in the following thread in the Autohotkey forum, which refers specifically to this issue in Studio: the Alt key not being sent on its own when the Control key is still being held down.
autohotkey.com/.../viewtopic.php
An alternative solution would be using a hotkey that doesn't use Control, then a regular script should work, I think