Re: [Framers] Order of Reference Pages

2018-08-06 Thread Rick Quatro
Here is a better version that will go to any one of these pages:
TOC/LOP/LOE/LOM/LOT.

#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, regex;

// 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) {
regex = /^(TOC|LOP|LOE|LOM|LOT)$/;
// If there is a one of the Reference Pages above, go to it.
page = doc.FirstRefPageInDoc;
if (page.ObjectValid () === 1) {
if (regex.test (page.Name) === true) {
doc.CurrentPage = page;
return;
}
page = page.PageNext;
}
}
}
break;
}
}

-Original Message-
From: Framers  On
Behalf Of Doug
Sent: Monday, August 06, 2018 10:22 AM
To: An email list for people using Adobe FrameMaker software.

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@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 listad...@frameusers.com

___

This message is from the Framers mailing list

Send messages to framers@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 listad...@frameusers.com


Re: [Framers] Order of Reference Pages

2018-08-06 Thread Rick Quatro
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.
r...@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  On
Behalf Of Doug
Sent: Monday, August 06, 2018 10:22 AM
To: An email list for people using Adobe FrameMaker software.

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@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 listad...@frameusers.com

___

This message is from the Framers mailing list

Send messages to framers@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 listad...@frameusers.com


Re: [Framers] Order of Reference Pages

2018-08-06 Thread Doug
That's not working for me...I made a named destination on the TOC reference
page, and a GoToLink for it, but when I try to execute the link nothing
happens.

On Mon, Aug 6, 2018 at 10:43 AM, David Artman  wrote:

>Perhaps make a list of hyperlinks on the first reference page, in its
>own text box?
>
> Original Message ----
>    Subject: [Framers] Order of Reference Pages
>From: Doug <[1]dbailey4...@gmail.com>
>Date: Mon, August 06, 2018 10:22 am
>To: "An email list for people using Adobe FrameMaker software."
><[2]framers@lists.frameusers.com>
>Is there a way to jump directly to the page?
>
> References
>
>1. mailto:dbailey4...@gmail.com
>2. mailto:framers@lists.frameusers.com
> ___
>
> This message is from the Framers mailing list
>
> Send messages to framers@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 listad...@frameusers.com
>
___

This message is from the Framers mailing list

Send messages to framers@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 listad...@frameusers.com


Re: [Framers] Order of Reference Pages

2018-08-06 Thread David Artman
   Perhaps make a list of hyperlinks on the first reference page, in its
   own text box?

    Original Message 
   Subject: [Framers] Order of Reference Pages
   From: Doug <[1]dbailey4...@gmail.com>
   Date: Mon, August 06, 2018 10:22 am
   To: "An email list for people using Adobe FrameMaker software."
   <[2]framers@lists.frameusers.com>
   Is there a way to jump directly to the page?

References

   1. mailto:dbailey4...@gmail.com
   2. mailto:framers@lists.frameusers.com
___

This message is from the Framers mailing list

Send messages to framers@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 listad...@frameusers.com


[Framers] Order of Reference Pages

2018-08-06 Thread Doug
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@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 listad...@frameusers.com