Этот ответ работает от предыдущей публикации с помощью блокнота для прокрутки: AutoHotkey - прокрутка двух документов PDF. Если у вас есть документ, заполните окно и непрерывно прокручивайте, это работает Но когда у вас есть два pdf файла, которые показываются по одной странице за раз, он пропускает страницы (то есть 1, 3, 5). Синхронизация пропускает, но все же пропускает. Я хочу видеть полную страницу обоих страниц и прокручивать их по одной.
1 ответ
1
#NoEnv
#SingleInstance Force
Process, Priority, , High
SetWinDelay 0
; Replace "ThisClass" with the ahk_class of your PDF Viewer
GroupAdd, PDF_Group, ahk_class ThisClass
        return      ; end of auto-execute section
#IfWinActive, ahk_group PDF_Group
    PgDn::
    ; If the target window does not receive the keystrokes reliably, 
    ; try increasing the press duration via the second parameter of SetKeyDelay 
    ; as in these examples:
    ; SetKeyDelay, 10, 10
    ; SetKeyDelay, 0, 10
    ; SetKeyDelay, -1, 0
        Send {PgDn}
        GroupActivate PDF_Group  ; activate the next window of this group
        Send {PgDn}
    return
#IfWinActive
Esc:: ExitApp
