How to setup a link that is of the type "Go to a page in another document"?

Is there a direct way for a javascript to setup a link that is equivalent to the acrobat link type  you get when you add a link of the type “Go to a page in another document”?
Tools-Advanced Editing-Link tool, make a box
Check: Go to page view, Next (Create go to view dialog opens)
Open second document and go to page
Click “Create go to view dialog” to set up link
Result is a link, when view by link properties, with an action of
Go to a page in another document
File: C:\My Documents\File2.pdf
Page: 43
Zoom level: Custom
I have a java script in a setAction of a link that I think does the job:
l.setAction("var otherDoc = app.openDoc('../Folder2/File2.pdf', this);otherDoc.pageNum = 1 - 1;");
But is there a more direct way that actual sets up a “a link of the type Go to a page in another document” so if it's "advanced edited" its the same as the manual set links?
I would like to setup a set of pdf documents, on the hard disk of a PC or Mac, that can be open with acrobat pro running on the same computer and have the link jump to, and open in a new window, in acrobat pro, to a given page of a second document in the set.
John
Code example in more detail:
/* Insert document level JavaScript to set disclosed = true.
   This will run when the document is opened.*/
this.addScript("setDisclosed", "this.disclosed = true;");
// Search through the document for the word “Acrobat” and create a link around that word.
for (var p = 0; p < this.numPages; p++)
    var numWords = this.getPageNumWords(p);
    for (var i=0; i<numWords; i++)
        var ckWord = this.getPageNthWord(p, i, true);
        if ( ckWord == "Acrobat")
            var q = this.getPageNthWordQuads(p, i);
            // Convert quads in default user space to rotated
            // User space used by Links.
            m = (new Matrix2D).fromRotated(this,p);
            mInv = m.invert()
            r = mInv.transform(q)
            r=r.toString()
            r = r.split(",");
            l = addLink(p, [r[4], r[5], r[2], r[3]]);
            l.borderColor = color.blue
            l.borderWidth = 1
            //l.setAction("this.getURL('http://www.adobe.com/');");
           l.setAction("var otherDoc = app.openDoc('../Folder2/File2.pdf', this);otherDoc.pageNum = 3 - 1;");
Current Systems in use to create documents with links and view them:
Windows XP SP3
Word 2003 SP3
Acrobat 9 pro version 9.4.4
Or just to view them:
Mac OS 10 Lion version 10.7.4
Acrobat 9 pro version 9.5.1
(note I have limited understanding of Mac’s)

If you use buttons instead, it is possible to script adding the actions that you want. It involves creating a properly constructed FDF, saving it, and then importing it into the document. Buttons can be made to appear just like links. For more information, see: http://www.planetpdf.com/developer/article.asp?ContentID=6338

Similar Messages

  • How to setup 9ias so that we can have different profile to cater for 2 DADs

    Dear Sir,
    How to setup 9ias so that we can have different profile to cater for 2 DADs with the same name pointing to different database.
    For example:
    /pls/users --> pointing to database 1
    /pls/users --> pointing to database 2
    I would like to know, how possible is it.
    Reason being we would like to deploy both our live and demo plsql application on same application server without the need to change all the dad path to:
    /pls/users -- pointing to database 1
    /pls/usersdb2 -- pointing to database 2
    In other words, we would like to preserve the same DAD name in both live and demo application to minimise unnecessary changes to application.
    Please advise.
    Thanks.

    Follow the directions here:
    http://support.apple.com/kb/ht2534

  • How do we set "Link That Displays Item In Full Browser Window" property?

    How can we set "Link That Displays Item In Full Browser Window" property? I could not find it. Thanks...

    I assume you're using Portal 3.0 (it always helps to mention which portal version you're using).
    I suggest you search this forum for "new window". You'll find several threads discussing how to implement this feature in Portal 3.0.
    Regards,
    Jerry
    PortalPM

  • How to setup a canon ip2600 printer without the cd?

    how to setup a canon ip2600 printer without the cd?
    Solved!
    Go to Solution.

    Hi Santana,
    The drivers for the PIXMA iP2600 can be downloaded from the Canon USA website.  The following link will take you to the initial download page for your PIXMA iP2600:
    PIXMA iP2600 Drivers and Software page
    Once on the initial download page for your model, please do the following:
    1.  Verify that the operating system detected in the "OPERATING SYSTEM" drop-down menu is correct, and if it is not, please click the drop-down menu to select your operating system.
    2.  Next, please click on the red arrow next to the "DRIVERS" section and click the printer driver file.  When you do, another page will appear giving details of the file you are about to download will appear.  
    3.  Please scroll down on the Details page and agree to the terms of the disclaimer message to continue with the download process by clicking on the "I AGREE - BEGIN DOWNLOAD" button.  After clicking the "I AGREE - BEGIN DOWNLOAD" button, follow the instructions to download and install the driver.  The time for the download process may vary depending on the speed of your Internet connection and the size of the file being downloaded. 
    Hope this helps!
    This didn't answer your question or issue? Find more help at Contact Us.
    Did this answer your question? Please click the Accept as Solution button so that others may find the answer as well.

  • How to add a Link with children in the SuiteLink bar?

    Hello,
    I have developed a code to add a new link in the SuiteLink bar using delegate control that works as expected. Now I want to include a new link
    but with children, I have tried many options in my code but with not luck.
    What I need in the SuiteLink bar is something like:
    My Services   Newsfeed  OneDrive  Sites
        Service 1
        Service 2
        Service 3
    Any idea on how to achieve this?
    Thanks,
    Daniel
    Daniel Villacis

    Hi,
    According to your post, my understanding is that you want to add sublink in the top navigation bar.
    There is an article about this issue, it contains the steps about how to create a link with sublink in the top navigation bar, you can have a look at it.
    http://www.helpmeonsharepoint.com/2012/03/custom-sharepoint-top-menu-and.html
    Thanks,
    Jason
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Jason Guo
    TechNet Community Support

  • IPhone question:  Im trying to update applications on my iphone.  When I do it I'm as for password from a different Apple ID from what I have in Itunes.  How do I change so that both are the same?

    IPhone question:  Im trying to update applications on my iphone.  When I do it I'm as for password from a different Apple ID from what I have in Itunes.  How do I change so that both are the same?

    All apps are tied to the apple id that it was used to purchase or download the app.
    did you use a different id to buy the app?
    you can change id, settings - appstore - apple id - log out and log in with correct id.

  • I am trying to re-install Photoshop CS6. The files have downloaded but I get and error message that the Adobe Support Advisor is required to determine what the installation probIem is. I click on the link that says "get the Support Advisor here only to be

    I am trying to re-install Photoshop CS6. The files have downloaded but I get and error message that the Adobe Support Advisor is required to determine what the installation probIem is. I click on the link that says "get the Support Advisor here only to be told the Support Advisor no longer exists!! A blind loop. I need to have Photoshop CS6 installed...what do I do from here??

    The CC Cleaner Tool assumes the Akamai Download Manager is activated and it has not. It seems to be the missing file that triggers the error message. \in a previous re-install I was prompted to download & install the Akamai Download Manger, but not this time. Is there somewhere on the Adobe website that I can download it??

  • How to build a form that traps all the IP adresses of the systems connected

    HELLO EVERYBODY,
    This is Paritosh Sharma,Actually I wanna know How to build a form that traps all the IP adresses of the systems connected.It's really Urgent

    6i on the web or client server? Webutil is not certified against 6i so if it's web I'm not sure, but I think it's in D2KWUtil for client-server.

  • Can anyone tell me how to setup odbc driver and configure in the setup

    Can anyone tell me how to setup odbc driver and configure in the setup

    You can't switch languages in OS X programs, just in the OS itself. Insert the Leopard OS X disc, and choose your new preferred language when prompted.

  • How to create a form that will allow the applicant to upload their photo

    I have Adobe Acrobat 9 Pro Extended and I know how to create forms that require text input.
    How to create a form that will allow the applicant to upload their photo? I alo wish to know how to upload a photograph so that I can test the form I created.
    Thank you
    Adrian Watts

    test@ORA10G> with x as (
      2    select '234-1111' as customer, to_date('2-Jan-2008','dd-Mon-yyyy') as call_date, 'Order product' as reason from dual union all
      3    select '234-1132', to_date('3-Jan-2008','dd-Mon-yyyy'), 'Request info' from dual union all
      4    select '231-1154', to_date('4-Sep-2007','dd-Mon-yyyy'), 'Request info' from dual union all
      5    select '234-1111', to_date('2-Nov-2007','dd-Mon-yyyy'), 'Order product' from dual union all
      6    select '234-1132', to_date('9-Jan-2008','dd-Mon-yyyy'), 'Request info' from dual union all
      7    select '231-1154', to_date('9-Sep-2007','dd-Mon-yyyy'), 'Request info' from dual union all
      8    select '234-1111', to_date('5-Dec-2007','dd-Mon-yyyy'), 'Order product' from dual union all
      9    select '234-1131', to_date('7-Dec-2007','dd-Mon-yyyy'), 'Request info' from dual union all
    10    select '231-1154', to_date('1-Sep-2007','dd-Mon-yyyy'), 'Request info' from dual union all
    11    select '234-1111', to_date('8-Jan-2008','dd-Mon-yyyy'), 'Order product' from dual union all
    12    select '234-1131', to_date('3-Dec-2007','dd-Mon-yyyy'), 'Request info' from dual union all
    13    select '231-1154', to_date('4-Nov-2007','dd-Mon-yyyy'), 'Forward to Sales' from dual)
    14  --
    15  select customer,max(call_date), reason
    16  from x
    17  where reason = 'Request info'
    18  group by customer, reason;
    CUSTOMER MAX(CALL_ REASON
    231-1154 09-SEP-07 Request info
    234-1131 07-DEC-07 Request info
    234-1132 09-JAN-08 Request info
    test@ORA10G>
    test@ORA10G>pratz

  • How can I add a link in a cell in pages to another document

    Hello I am new to this so be gentle with me
    Can anyone tell me if it is possible to add a link in a (table) cell in pages to another document on my Mac, so when I click on it, it will take me to the document
    Many Thanks
    Charles

    As far as I remember you couldn't do it in PAges 09 and Pages 5 has lost over 90 features that Pages 09 has so I would say no you can't. I can't test it right now. I had a quick look in the help (http://help.apple.com/pages/mac/5.0/?lang=en) and could find that you could link to another document from anywhere let alone a table cell.

  • How to setup adobe to send emails from the application?

    How to setup adobe to send emails from the application?

    Click Edit>Preferences and select the Email Account Preferences
    Click Add Account and select “Add other…” or if you use Gmail or Yahoo mail, select the appropriate choice for it.
    Enter your Email Account info and then click “Advanced Settings” and configure your incoming and outgoing mail settings per your email account in Outlook, Thunderbird or mail service.
    Click OK, and click Add. The new Email Account will now appear in your listed accounts.
    Click the new account and click “Make Default”
    The checkmark will indicate the new account is set as the default Email Account for Reader.

  • OS X Server Wikis - How do i delete people that have left the office?

    OS X Server Wikis - How do i delete people that have left the office?
    Some people participated in the editing of the wiki and they have now left the office. How do i remove them and their documents from the People page?
    Thank you.

    Should be able to do so from the Users pane (select the user then click the "-" below the list of users. That worked for me with all but one out of five users I deleted. No matter what, their Wiki person page remained, so I hid it from view.
    Sorry I couldn't provide more conclusive help.

  • Is there a way to flip the pages in a .pdf so that all of the text is readable (in other words all documents are right side up)?  I have Adobe Acrobat X and am using Windows 8.1.

    Is there a way to flip the pages in a .pdf so that all of the text is readable (in other words all documents are right side up)?  I have Adobe Acrobat X and am using Windows 8.1.

    I have a pdf with over 2,000 pages, many of which are sideways.  I do not want to manually flip each one (few are next to each other).  Is there a way to automate the function so that all sideways or upside down text pages are righted?

  • What are the Jar files required,that for accessing the Type 4 Drivers.

    what are the Jar files required,that for accessing the Type 4 Drivers.
    Regards,

    Well it is Database Specific.
    Howevr there are few 3rd party .jar (Derby) which you can use it for accesing some standard databases.

Maybe you are looking for

  • Time doesn't display when I close phone, record album does.

    When I close my Style, I used to get a thirty second image of the time on the external screen.  Now I get a picture of a record album.  I don't have the music player running, and the clock's options don't lend any clues.  Thanks in advance for any he

  • Creating a Maintenance Iview.

    Dear Experts. I want create Maintenance Iview that I need use for a configuration customer and that I will use for hide o show service in the portal with the value of the fields of this Maintenance Iview . The table have the following fields. Field  

  • Frequently get 'Server not found', have tried all articles solution, what now?

    Frequently get 'server not found' when accessing web sites, no particular websites just randomly all sites, clicking 'try again' always resolves. I am thouroughly sick and tired of this error and no working soloutions! Have tried 'about:config' setti

  • HEIRARCHIAL ALV REPORT

    Iam getting following error to the below report : The type of the database table and work area "T_VBAK" are not unicode convertible. Please any one chech the error and suggest the solution. REPORT  ZHERSEQREPORT                           . TYPE-POOLS

  • Variable with customer exit

    Hello, I have created a query with customer exit variable.this variable calculates cumulative month from the beginning of the year. this variable depends on another regular variable 0PCALMON (single value, mandatory). i also use this variable in the