These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Initially selected file in sliding row view; plus UVSAR's script

lucidity
Registered: Mar 7 2011
Posts: 2
Answered

I've figured out how to set the order of the PDFs in sliding row view using the Index property, but Acrobat wants to initially select a file far on the right side of the view because the file begins with A. I want to have the initial selection as a different file. I don't want to automatically open the file, just have it selected and centered in the sliding row view. Is there a way to do this?
 
Also, I tried using UVSAR's script on the linked page, but it doesn't quite do what I want, and now I can't get it turned off. Does anyone know how to stop the portfolio opening a file automatically?
 
http://uvsar.blogspot.com/2010/03/setting-default-document-when-pdf.php
 
Thanks in advance for any help you can give a newbie :)

My Product Information:
Acrobat Pro 9.2, Windows
UVSAR
Expert
Registered: Oct 29 2008
Posts: 1357
Accepted Answer
If you've run this.collection.initialView = "Hidden" and want to go back to the normal navigator view, run

this.collection.initialView = "Custom"

in your JS console.

Setting a value for initialDoc and keeping the initialView set to "Custom" will indeed scroll your navigator to that point in the sequence. You can even use it to open subfolders within the navigator.
lucidity
Registered: Mar 7 2011
Posts: 2
Thank you thank you! That worked perfectly! :)

I fiddled around and tried this.collection.initialView = "Visible" but obviously that wasn't the right code.