Sync vertical scroll between two windows
Solution 1
I suggest you use AutohotKey for this. You then can try to
- Listen for MouseWheel Event in either Application (Reader, Safari)
- Switch focus to the other application, Send Mousewheel Event
- Switch back
I Hope this is fast enough to appear "seemless"
[EDIT]
Here is the script I have made following this answer :
WheelDown::
SetTitleMatchMode, 2
IfWinActive, SafariTitle ; Replace 'SafariTitle' by the title of the safari windows
{
CoordMode, Mouse, Screen
WinGet, active_id, ID, A
IfWinExist, Adobe
{
Send {WheelDown}
WinActivate ; Automatically uses the window found above.
Send {WheelDown}
Send {WheelDown}
WinActivate, ahk_id %active_id%
}
}
Else
{
Send {WheelDown}
}
return
WheelUp::
SetTitleMatchMode, 2
IfWinActive, SafariTitle ; Replace 'SafariTitle' by the title of the safari windows
{
CoordMode, Mouse, Screen
WinGet, active_id, ID, A
IfWinExist, Adobe
{
Send {WheelUp}
WinActivate ; Automatically uses the window found above.
Send {WheelUp}
Send {WheelUp}
WinActivate, ahk_id %active_id%
}
}
Else
{
Send {WheelUp}
}
return
Solution 2
Notepad++ has the ability to do sync'd vertical scrolling for plain text docs and source code - as do many other 'dev'-type document apps - but as slhck says it would help to know what you are currently using and what type of docs you are trying to view.
Edit: based on your useful feedback - here's a possible solution:
It's pretty straightforward to convert any doc to a PDF so if you get both docs in that format you can use something like DiffPDF to scroll through them both:
http://www.qtrac.eu/diffpdf.html (program description and downloads)
http://soft.rubypdf.com/software/diffpdf (Windows version)
DiffPDF can compare two PDF files. It offers two comparison modes: Text and Appearance.
By default the comparison is of the text on each pair of pages, but comparing the appearance of pages is also supported.
Comments
-
kowalski over 1 year
I need to visually compare two documents of different formats, hence I would like to be able to vertically scroll in two different applications at the same time. I'd prefer to use the mouse wheel to do so. I know Notepad++ has a similar functionality.
Currently I'm viewing the documents in Adobe Reader and Safari.
Do you know a software that would help, under Windows?
-
Ooker over 6 yearsClosely related: Can I mirror / duplicate mouse events on both halves of my screen?
-
-
kowalski over 12 yearsThank you, i should have been more precise. See my comment on the original question. I was thinking of Notepad++ when I asked this, and would like to have the same functionality between two different applications.
-
kowalski over 12 yearsPerfect ! I edit your answer to show the script I have written for this task.
-
kowalski over 12 yearsThanks for the references, I would +1 if I could ! In this case though, I cannot rely on a diff tool, the control can only be human made. I note your references for another task.
-
Cilvic over 12 yearsIs the performance ok?
-
kowalski over 12 yearsYes, not real time but good for the task. Thanks
-
Ooker over 6 years