[Framers] Order of Reference Pages
Rick Quatro
rick at rickquatro.com
Mon Aug 6 08:48:08 PDT 2018
Copy the code below to a text file and save it with a .jsx extension. Go to
File > Script > Catalog and click the Autorun radio button. Add the script
to the list. Select the script and click Run.
Now when you choose View > Reference Pages, it will jump to the TOC
reference page, if it exists.
Rick Quatro
Carmen Publishing Inc.
rick at frameexpert.com
585-729-6746 NEW!
#target framemaker
// Set the notification for after a book is updated.
Notification (Constants.FA_Note_PostFunction, true);
function Notify (note, object, sparam, iparam) {
var page, doc;
// Handle the event triggered after a book is updated.
switch (note) {
case Constants.FA_Note_PostFunction:
// View > Reference Pages.
if (iparam === 836) {
doc = object;
if (doc.ObjectValid () === 1) {
// If there is a TOC Reference Page, go to it.
page = doc.GetNamedRefPage ("TOC");
if (page.ObjectValid () === 1) {
doc.CurrentPage = page;
}
}
}
break;
}
}
-----Original Message-----
From: Framers <framers-bounces+rick=rickquatro.com at lists.frameusers.com> On
Behalf Of Doug
Sent: Monday, August 06, 2018 10:22 AM
To: An email list for people using Adobe FrameMaker software.
<framers at lists.frameusers.com>
Subject: [Framers] Order of Reference Pages
The most-edited reference page in my experience is the TOC/LOP/LOE/LOM/LOT
page, which by default is at the END of the reference pages. So I'm always
having to scroll down if I'm to view/edit the page.
Is there a way to jump directly to the page?
Or better yet, can I re-order the reference pages? I've tried moving this
page to the front/top, and I've been successful once or twice, but I'm not
sure what I did to make that happen. Usually updating the file resets the
order of the reference pages.
Thanks!
Doug
_______________________________________________
This message is from the Framers mailing list
Send messages to framers at lists.frameusers.com Visit the list's homepage at
http://www.frameusers.com Archives located at
http://www.mail-archive.com/framers%40lists.frameusers.com/
Subscribe and unsubscribe at
http://lists.frameusers.com/listinfo.cgi/framers-frameusers.com
Send administrative questions to listadmin at frameusers.com
More information about the Framers
mailing list