SDL Trados Studio
SDL Trados GroupShare
SDL Trados Business Manager
SDL Trados Live
SDL Speech to Text
SDL Managed Translation - Enterprise
Translation Management Connectors
SDL LiveContent S1000D
SDL Contenta S1000D
SDL Tridion Docs
SDL Tridion Sites
SDL Content Assistant
SDL Machine Translation Cloud
SDL Machine Translation Connectors
SDL Machine Translation Edge
Tridion Docs Developers
SDL User Experience
Language Products - GCS Internal Community
SDL Community Internal Group
SDL Access Customer Portal
SDL Professional Services
SDL Training & Certification
Language Technology Partner Group
SDL Academic Partners
SDL Approved Trainers
SDL Enterprise Technology Partners
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 Contenta S1000D
SDL XPP Ideas
Events & Webinars
To SDL Documentation
To SDL Support
What's New in SDL
Detecting language please wait for.......
A problem I had with comparing source and target sentences, especially for longer sentences, was losing my place in the sentence as I switched between looking at the two.
So, I created this script to make two "highlight bars" that you can place over the source and target sentences and move as you gradually work through the sentence.
I am finding it very useful so I wanted to share it.
This is the script
#i::file1 = C:\Users\james\Desktop\Work\yellow-bar.jpg ; insert your filepath herefile2 = C:\Users\james\Desktop\Work\pink-bar.jpg ; insert your filepath hereGui, NewGui, Add, Picture,, %file1%Gui, +LastFound +AlwaysOnTop -border -captionWinSet, Transparent, 100Gui, ShowGui, NewGui, Add, Picture,, %file2%Gui, +LastFound +AlwaysOnTop -border -captionWinSet, Transparent, 100Gui, Show
These are the images I use but you could use any image at all:
To use this script you will need to also use this additional script:
GitHub - Hurstwood/Linux-style-mouse: An AHK (AutoHotKey) script that allows the user to move a window by grabbing it anywhere within the window.
With this, you can move the two highlight bars by holding down Alt and dragging.
Example of use:
To get rid of the highlight boxes, just reload the script.
I added "+Resize" so that you adjust the size of the box to match the length of the sentence clause you are looking at
#i:: CoordMode, Mouse, Screen MouseGetPos, x0, y0 Gui, New Gui, +LastFound…
A couple of enhancements:
- No need of JPG's
- Width, height, and colours are customisable
- Yellow transparent window is placed at the cursor position
- Pink window is placed close to the…
James Plastow Jesús Prieto
I never cease to be amazed at the ingenuity and creativeness of this community! Really nice idea.
- Pink window is placed close to the yellow one
- No icons in the task bar re. the 2 transparent windows
#i:: CoordMode, Mouse, Screen MouseGetPos, x0, y0 Gui, New Gui, +LastFound +AlwaysOnTop +Owner WinSet, Transparent, 50 Gui, +LastFound -Caption Gui, Color, FFFF00 ; yellow Gui, Show, W250 H30 X%x0% Y%y0% Gui, New Gui, +LastFound +AlwaysOnTop +Owner WinSet, Transparent, 50 Gui, +LastFound -Caption Gui, Color, FF00FF ; pink x0+= 100 y0+= 10 Gui, Show, W250 H30 X%x0% Y%y0%return
#i:: CoordMode, Mouse, Screen MouseGetPos, x0, y0 Gui, New Gui, +LastFound +AlwaysOnTop +Owner WinSet, Transparent, 75 Gui, +LastFound -Caption +Resize Gui, Color, FFFF00 ; yellow Gui, Show, W250 H30 X%x0% Y%y0% Gui, New Gui, +LastFound +AlwaysOnTop +Owner WinSet, Transparent, 75 Gui, +LastFound -Caption +Resize Gui, Color, FF00FF ; pink x0+= 100 y0+= 10 Gui, Show, W250 H30 X%x0% Y%y0%return
Yeah, but there is visible little title bar on the top of each window. I’m sure it can be removed, but no time to check now.
This is a way to make variable length highlights without any border.
With this, you can make as many boxes as you like so it essentially gives you a highlighter pen you can use anywhere on the screen.
Additional highlighter colours could be done with additional hotkeys as required.
There is probably a way to "toggle" the code so that one hotkey could be used for both the start and end points but I am not smart enough to figure it out.
CoordMode, Mouse, Screen
F5::global startxposglobal startyposMouseGetPos, startxpos, startyposreturn
F6::MouseGetPos, endxpos, endyposboxw:=endxpos-startxposboxh:=20boxy:=startypos-10Gui, NewGui, +LastFound +AlwaysOnTop +OwnerWinSet, Transparent, 75Gui, +LastFound -Caption -Border ToolWindowGui, Color, FF00FFGui, Show, W%boxw% H%boxh% X%startxpos% Y%boxy%return
I think that dragging the window border seems more natural to me, but I give you and idea re. using only 1 hotkey:
There is a message box with a 4-seconds timer. That's the time you can use to move the mouse to the second point of the highlighter. When timer triggers, actual mouse position is saved as the second point.
If you press ENTER with your keyboard, the script works as well.
If you press CANCEL key or Cancel button, the script is cancelled and no highlighter is drawn.
If you press OK button with the mouse, the result probably won't be the desired one...
CoordMode, Mouse, ScreenF6:: MouseGetPos, startxpos, startypos MsgBox, 33, Set the 2nd point of the highlighter window,Now move horizontally the mouse to the 2nd point of the highlighter window.,4 IfMsgBox, Cancel return MouseGetPos, endxpos, endypos boxw:=endxpos-startxpos boxh:=20 boxy:=startypos-10 Gui, New Gui, +LastFound +AlwaysOnTop +Owner WinSet, Transparent, 75 Gui, +LastFound -Caption -Border ToolWindow Gui, Color, FF00FF Gui, Show, W%boxw% H%boxh% X%startxpos% Y%boxy%return
I replaced the message box with sleep, 1000
I made quite a few improvements
AutoHotKey Highlighter Pen Tool (Software applications) (proz.com)