Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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?

share|improve this question
    
In this case, I use Adobe Reader and Safari, but a generic solution would be better if possible ;) –  kowalski Aug 23 '11 at 9:22
    
I updated your question to include everything we know so far :) –  slhck Aug 23 '11 at 9:31
    
I hesitated to do so, thanks ! –  kowalski Aug 23 '11 at 9:32
add comment

2 Answers

up vote 2 down vote accepted

I suggest you use AutohotKey for this. You then can try to

  1. Listen for MouseWheel Event in either Application (Reader, Safari)
  2. Switch focus to the other application, Send Mousewheel Event
  3. 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
share|improve this answer
    
Perfect ! I edit your answer to show the script I have written for this task. –  kowalski Aug 23 '11 at 13:28
    
+1 good work @Cilvic –  Linker3000 Aug 23 '11 at 15:26
    
Is the performance ok? –  Cilvic Aug 23 '11 at 15:29
    
Yes, not real time but good for the task. Thanks –  kowalski Aug 23 '11 at 15:49
add comment

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.

share|improve this answer
    
Thank 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 Aug 23 '11 at 9:25
    
Thanks 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. –  kowalski Aug 23 '11 at 13:29
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.