Copy link to clipboard
Copied
I seek a comprehensive list of all Acrobat functions that result in automatically resizing the window, or automatically adjusting the zoom level, of a newly opened document. I do not want window size or initial zoom level to ever change, except when I make manual adjustments. The automatic functions are a major hindrance and time-waster.
To the extent some of these functions might be settable in multiple different locations so that I have to go make sure the setting is set properly in each of the separate locations, I would also appreciate a listing of such duplicative interface toggles.
Cheers!
Copy link to clipboard
Copied
I just heard back from my IT group, they also said NO.
In order for them to approve running unknown software on their machines would require quite a bit of research and testing on thier end, which they do not want to do, and it really is an ADOBE issue to fix.
As users we should not have to apply third party software and customized code to fix what should be a built-in option in the ADOBE program.
Copy link to clipboard
Copied
Sorry to hear that guys.
Hopefully the code can help others.
I totally agree that it's an adobe issue and they should sort this rubbish!
Heres another .ahk that allows window resizing, at least till you switch to another tab or open a pfd.
Again, change dY, dX etc per my other post.
#Requires AutoHotkey v2.0
SetTimer(CheckForNewPDF, 300)
dX := 930
dY := 0
dWidth := 990
dHeight := 1160
SWP_NOZORDER := 0x0004
SWP_NOACTIVATE := 0x0010
lastHwnd := 0
lastTitle := ""
CheckForNewPDF() {
global dX, dY, dWidth, dHeight, SWP_NOZORDER, SWP_NOACTIVATE
global lastHwnd, lastTitle
hwnd := WinActive("A")
if !hwnd || !WinExist("ahk_id " hwnd)
return
if WinGetClass(hwnd) != "AcrobatSDIWindow"
return
title := WinGetTitle(hwnd)
; Check if it's the same window but a new document (title changed)
if (hwnd = lastHwnd && title != lastTitle) || (hwnd != lastHwnd) {
lastHwnd := hwnd
lastTitle := title
; Move the window once on document change
WinGetPos(&x, &y, &w, &h, hwnd)
if (x != dX || y != dY || w != dWidth || h != dHeight) {
; Optional debug:
; ToolTip "New PDF detected: " title
DllCall("SetWindowPos", "ptr", hwnd, "ptr", 0, "int", dX, "int", dY,
"int", dWidth, "int", dHeight, "uint", SWP_NOZORDER | SWP_NOACTIVATE)
}
}
}
Copy link to clipboard
Copied
Hi @steve_8887 @stylish_Zest1786,
I am discussing this internally. I have some follow-up questions:
If it is a laptop or a Desktop, is this issue reproducible if you disconnect external monitors?
~Tariq
Copy link to clipboard
Copied
Hi Tariq,
Great to hear it's being discussed!
Given all the feedback from different people in this thread, I don't think it's a problem with my PC or any particular version of Acrobat.
It's common to many versions, happens on different PCs, and is part of the way Acrobat operates.
Copy link to clipboard
Copied
Newer version that saves window sizes per title:
#Requires AutoHotkey v2.0
#SingleInstance
SetTimer(CheckForPDFTabs, 300)
; Default size/position
dX := 900
dY := 0
dWidth := 1020
dHeight := 1160
SWP_NOZORDER := 0x0004
SWP_NOACTIVATE := 0x0010
pdfWindowStates := Map() ; title => {x, y, w, h}
openTitles := [] ; currently known tab titles
lastTitle := "Adobe Acrobat (64-bit)"
lastGeometry := ""
hwnd := 0
CheckForPDFTabs() {
global pdfWindowStates, openTitles, lastTitle, lastGeometry
global dX, dY, dWidth, dHeight, SWP_NOZORDER, SWP_NOACTIVATE
hwnd := WinExist("ahk_class AcrobatSDIWindow")
if !hwnd
return
title := WinGetTitle(hwnd)
if (title = "")
return
WinGetPos(&x, &y, &w, &h, hwnd)
currentGeometry := Format("{}|{}|{}|{}", x, y, w, h)
; Detect closed tabs (titles that disappeared)
for i, prevTitle in openTitles.Clone() {
if (prevTitle != title) {
if pdfWindowStates.Has(prevTitle) {
pdfWindowStates.Delete(prevTitle)
}
}
}
; Refresh current open tab title
openTitles := [title]
; Detect tab switch
if (title != lastTitle && lastTitle != "") {
if lastGeometry != ""
SaveGeometry(lastTitle, lastGeometry)
}
; Restore window geometry for tab
if (title != lastTitle) {
if pdfWindowStates.Has(title) {
geom := pdfWindowStates[title]
if (x != geom.x || y != geom.y || w != geom.w || h != geom.h) {
DllCall("SetWindowPos", "ptr", hwnd, "ptr", 0,
"int", geom.x, "int", geom.y, "int", geom.w, "int", geom.h,
"uint", SWP_NOZORDER | SWP_NOACTIVATE)
}
} else {
; No memory for this tab → apply default
DllCall("SetWindowPos", "ptr", hwnd, "ptr", 0,
"int", dX, "int", dY, "int", dWidth, "int", dHeight,
"uint", SWP_NOZORDER | SWP_NOACTIVATE)
}
}
; Track if user changed window size manually
if (title != "") {
if (currentGeometry != lastGeometry) {
SaveGeometry(title, currentGeometry)
}
}
lastTitle := title
lastGeometry := currentGeometry
}
SaveGeometry(title, geometryStr) {
global pdfWindowStates
parts := StrSplit(geometryStr, "|")
if (parts.Length = 4) {
pdfWindowStates[title] := {
x: parts[1],
y: parts[2],
w: parts[3],
h: parts[4]
}
}
}
Copy link to clipboard
Copied
Thanks for keeping this issue active Tariq, I and I'm sure, many others appreciate it.
My version of Adobe Acrobat is:
Continous Release | Version 2025.001.20577 | 64-bit
Though the same issue happens with the Acrobat Reader DC as well.
My computer is a laptop with which I normally run a dual 24" monitor setup, though the issue also happens when I am using only the laptop screen and NOT plugged into the docking station.
Here is a link to a spec sheet, this pdf will trigger the resize and relocate that we are all complaining about. Download and save this test file.
https://cdn.automationdirect.com/static/specs/prox5mmpd.pdf
Open your Acrobat and size it to be about 2/3 the display area of your primary monitor then dbl-click to open the test file. It will resize and relocate your Acrobat.
Now if you are running a dual monitor setup place the Acrobat on a different monitor, not the primary, and repeat the test setup above. It will resize and relocate Acrobat back to the Primary display.
To add to the oddness of this behavior on my system if I have Acrobat fully expanded to fit my display, full screen, the resize and relocate does NOT happen though I believe that other users have said the full screen resize and relocate does happen on their systems.
If you read through this discussion carefully other user describe their Acrobat usage setups.
https://community.adobe.com/t5/acrobat-discussions/completely-fully-disable-100-of-any-and-all-auto-...
To sum up, this is the behavior that we would like to have the option to disable.
That the settings contained within a PDF file have the ability to hijack our Acrobat and change it is quite the pain numerous time per day, every day.
Thanks, and I hope that you are able to make progress with this issue.
Steve
Copy link to clipboard
Copied
Appreciate all the detailed information, @steve_8887
I will keep this discussion updated.
Best regards,
Tariq | Adobe Community Team
Find more inspiration, events, and resources on the new Adobe Community
Explore Now