How to make bookmarks programmatically ?

How to make bookmarks programmatically ?
This question has never be adequately answered as I searched these forums.
I have examined bookmark properties and they are atleast of three implementation styles.
1. The one made on UI have no javascript and no named destination.
2. The one made using this script are
this.bookmarkRoot.createChild("chapter 1: Making a Javascript Bookmark", "this.pageNum=15");
3. There are also some which have no javascript but use a named destination.
I want to make the style 1 programmatically as the style 2 require javascript turned ON, which is a security risk as its now common info that there are hackers who know how to exploit and are unfortunately smarter than adobe's security brains, certainly smarter than simpletons and newbies like us.
I can right click on a type 2 and reset its destination and it becomes type 1.
How to make type 1 bookmark programmatically ... a very reasonable question ? And if you know this, perhaps shed light on how to make type 3 also.
Thanks,
Francis Fukuyama

> You still haven't told us which of the APIs you are working with?  If  you are writing a plugin (or using the Adobe PDFLibrary) then look at  the PDBookmark and PDAction objects.
I did not know that there are more than one APIs available.
Can you name some of the API's that are available ?
I have looked at the plugin guide and read some on how to make a callback and so on and understand that there are many plugins which make their methods available and various layers AS AV PD COS.
I also have some idea how the java based eye text can do some things .. and done a few.
If you consider the UI as an API, then I really prefer to make from the javascript console, bookmarks which dont need javascript for their OPERATION.
Hitherto, the only bookmarks I know how to make from js console need a js code fragment and are not to my requirements.
To this newbie, if you list the options available, the API's out there and what they provide, it would help making the decision.
I am seeing the mechanics of the process in one example that has AVPageViewToViewDest ( )
Francis

Similar Messages

  • How to make bookmarks appear in all user accounts w/out importing and exporting everytime.

    Hello, all. I'm imaging a couple of laptops to be sent out. I want the bookmarks on the admin user account to be applied to the network domain user accounts or roaming profile is you will. Is there a way to this without have to import/export?

    I am trying to do the same thing. I also cant get it to work. I am
    thinking it may have something to do with the concept of ScopedResponse, but
    I am not sure. There is very little documentation and more importantly
    examples of how to make sense of the getOuterResponse() method. Dev2Dev and
    Google are of no help.
    Anyone care to explain this to us?
    Michael.
    "Zhenhao Qi" <[email protected]> wrote in message
    news:3fd4f634$[email protected]..
    >
    Hi All,
    I have a jsp page to display a table. I want to add a "excel download"button
    in this page, once user click this button, it will invoke the microsoftexcel
    and all table content will appear in the excel spreadsheet.
    I tried to set the content: <%@ pagecontentType="application/vnd.ms-excel"%>
    the rest code as following. However, it won't work for me. Does anyone hasany
    experience in doing this?
    <%@ page contentType="application/vnd.ms-excel"%>
    <%@ taglib uri="netui-tags-databinding.tld" prefix="netui-data"%>
    <%@ taglib uri="netui-tags-html.tld" prefix="netui"%>
    <%@ taglib uri="netui-tags-template.tld" prefix="netui-template"%>
    <netui:html>
    <head>
    <title>
    Web Application Page
    </title>
    </head>
    <body>
    <table border="1">
    <tr style="background-color:#3366ff;font-family:arial;">
    <td>Structure</td>
    <td>Compound</td>
    <% // Get the Items from the request stream
    Vector mr_names = (Vector) request.getAttribute("method_result_names");
    for (int f=0;f<mr_names.size();f++) {
    out.println("<td>" + mr_names.get(f) + "</td> ");
    Vector mrs = (Vector)request.getAttribute("method_results");
    for (int g=0; g<mrs.size(); g++)
    out.println("</tr><tr>");
    Vector row1 = (Vector)mrs.get(g);
    for (int f=0;f<mr_names.size()+1;f++) {
    String s = (String)row1.get(f);
    if (f==0) {
    %>
    <td><embed src="structure.jsp?Sample_code=<%=s%>"width="120" height="100"></embed></td>
    >
    <%
    out.println("<td>" + s + "</td> ");
    out.println("</tr>");
    %>
    </table>
    </body>
    </netui:html>
    Thanks!
    Zhenhao

  • How to make bookmark tree open dynamically when moving in the content?

    Intro: When viewing a PDF-file with a bookmark tree, I can unfold(open) nodes in the bookmark tree and make the view window jump to the corresponding destination.
    If the bookmark tree is open (unfolded) I can observe a selection mark moving downwards in the bookmark tree as I move down in the content.
    Question: Is it possible to make the folded bookmark (outline) tree open dynamically as I move down in the content? I would like to see the bookmark tree unfold automatically and move the highlight to the bookmark (outline) node for the bookmark position nearest to (above) the view point in the content window.

    Dave,
    thank you for quick and precise answer.
    Magne

  • How to make bookmarks open on default

    I have large pdfs and I would like the bookmark panel to  be open  and visible when user opens the pdf via link or on Web. How do I set that preference. Thankyou.  I have seen it done on other Websites.

    You can us the following as a document level JavaScript:
    this.pane = 'bookmarks'; // open the bookmarks navigation pane

  • How to make bookmarked webpages available offline? Like in Internet Explorer?

    I wanted to make the webpages I bookmarked available offline. I could do this in the Internet Explorer by simply tweaking some of the bookmarks options. But I'm not able to do it in Firefox. Could please anyone help me? Thanks in advance.

    * Read It Later: https://addons.mozilla.org/firefox/addon/7661
    * ScrapBook: https://addons.mozilla.org/firefox/addon/427

  • How to make bookmark sidebar restore its scrolling position on Firefox start?

    Why does Firefox not restore the bookmark sidebar scrolling position and open bookmark folders to the exact state it had when I closed the browser?
    I admit to having way too many bookmarks, but especially then restoring the scrolling position and open bookmark folders is essential to me.
    Is there any "about:config" setting to adjust this?

    Hello,
    Firefox automatically creates backups of your bookmarks, which can be helpful if your bookmarks are lost or missing. To recover them, follow the instructions below.
    #Use <u>one</u> of these methods to open the Bookmarks Library window:
    #*Click the ''[[Display the Firefox button menu instead of the menu toolbar|Firefox button]]'' to open the menu and click on ''Bookmarks''.
    #*Click the ''Bookmarks'' menu and click on ''Show All Bookmarks''.
    # At the top of the Library window, click the "Import and Backup" menu and select Restore.
    # Click the date of the bookmark backup you want to recover.
    # In the new window that appears, click OK.
    # Your bookmarks from the selected date should now be restored.
    For more information, see the [[Restore bookmarks from backup or move them to another computer]] article. For other solutions, see the [[Recover lost or missing Bookmarks]] article.
    Did this fix your problems? Please report back to us!
    Thank you.

  • Under bookmarks the Organize bookmark option does not appear, new computer Firefox 4.0, and Windows 7, how to make it appear, thanks

    Under bookmarks the Organize bookmark option does not appear, new computer Firefox 4.0, and Windows 7, how to make it appear, thanks

    "Organize Bookmarks" has been renamed to "Show All Bookmarks" in the bookmarks menu.

  • I want to copy bookmarks in my folder.where i can find its and how i make it?

    i want to copy bookmarks in my folder.where i can find its and how i make it?please

    Profile is a folder where your Firefox store all of your information
    * https://support.mozilla.com/en-US/kb/Profiles
    in this link you can find how to backup your profile and restore them

  • What has happened to the orange bookmark box in the top lh corner how do I find and make bookmarks?

    Seems an update has happened - why? Any how the bookmark orange box in the top lh corner of the toolbar has gone missing.
    So how do I now bookmark a website for future use?
    Second how do I display my list of bookmarks?
    Replies in language a 70 year old will understand please.

    Firefox 29 and later versions have the Australis interface that looks different than the user interface in Firefox 28 and older versions.
    *With the Australis interface the orange Firefox menu button has been replaced by the three bar Firefox Menu button at the far right end of the Navigation Toolbar<br>A consequence of this new menu button is that you no longer can hide the Navigation Toolbar
    *There is a star like button to the right end of the search bar on the Navigation Toolbar to bookmark the current web page and a "Show your bookmarks" button next to it to open the Bookmarks in a drop down menu.<br>You can find "Show All Bookmarks" to open the Bookmarks Manager (Library) at the bottom of this drop-down list
    *It is still possible to have the menu bar visible via the right-click context menu on the toolbars to have menus like the Bookmarks menu
    * Click the bookmark star on the Navigation Toolbar once to bookmark the current site (this will highlight the star) to bookmark the current page in the Unsorted folder
    * Click the blue highlighted star to open the "Edit This Bookmark" pop-up dialog and move the bookmark to another folder
    In current Firefox releases the "Bookmark This Page" menu entry in the Bookmarks menu changes to "Edit This Bookmark" once you have bookmarked the page and the star on the Navigation Toolbar is highlighted blue.<br />
    So do not get confused by the missing "Bookmark This Page" in the Bookmarks menu and seeing "Edit This Bookmark" instead if you try to bookmarks a page that is already bookmarked.<br />
    You can make a extra copy of a bookmark by dragging the link to a folder in the bookmarks sidebar or by doing a copy and paste in the Bookmarks Manager (Library).
    You can look at the Classic Theme Restorer extension to restore some functionality that was lost with the arrival of the Australis style in Firefox 29.
    *Classic Theme Restorer: https://addons.mozilla.org/firefox/addon/classicthemerestorer/
    *You can check the settings of the CTR extension via its Options/Preferences button on the "Firefox/Tools > Add-ons > Extensions" page.
    *You can find extra toolbar buttons in the Customize palette (3-bar Firefox menu button > Customize)
    See also:
    *https://support.mozilla.org/kb/how-to-make-new-firefox-look-like-old-firefox
    *https://support.mozilla.org/kb/common-questions-after-updating-to-new-firefox
    *https://support.mozilla.org/kb/learn-more-about-the-design-of-new-firefox
    *http://forums.mozillazine.org/viewtopic.php?f=38&t=2824649

  • How to make the current value default programmatically

    How to make the current value default programmatically

    Open a VI reference to the desired VI and use invoke mode with method: "Make current values default".
    The VI cannot be running, so you need to set it from a different VI. (It also means, it cannot set itself.)
    LabVIEW Champion . Do more with less code and in less time .

  • How do I apply programmatic skins for completely custom drawn components of a Flex library project?

    Hello folks,
    I am looking for best practices advice when (1) creating
    custom components and (2) styling and skinning.
    I already know how to skin a component part of the Flex
    framework. I can make a class extending ProgrammaticSkin and have
    my component skinned using CSS to link the component with the
    reference to my custom class.
    However what about those cases when you are completely
    creating a component from scratch?
    Imagine a "Freehand Drawing Canvas" component that allows the
    user to draw on it and has some buttons to set color styles, line
    styles, etc., or imagine a "Screen Flow Gallery" component that
    displays visual objects in a fashion similar to Cover Flow in the
    Mac.
    In many components I am aware you may reuse other components
    part of the Flex framework but I am trying to picture an scenario
    where you would need to draw everything yourself because there just
    isn't something to base it upon so you will end up drawing it from
    scratch.
    To learn how instead of building one of those components I
    mentioned previously I decided to start with something simple that
    would illustrate this like a LiteButton component that will behave
    just like the Flex mx.controls.Button but will extend UIComponent
    and be completely custom drawn.
    The component will have a default look and will also be
    style-able and skin-able. I will provide styles for users of the
    component to modify and regarding skinning anyone can create a
    custom ProgrammaticSkin adding its own drawing logic and link it to
    the component via CSS with the ClassReference applied to the skin
    selector.
    So far so good and it's clear what I want to achieve. I
    actually know how to do most of the stuff here but I have one
    single problem.
    Here is my question, where should I put my custom drawing
    logic? If I do it in the updateDisplayList inside the class
    extending UIComponent it works, however I thought that it would be
    a better practice to do it using programmatic skins, that way I
    could provide different skin themes for my component set.
    The problem is that I can't make the programmatic work in
    this scenario. I tried instantiating the custom programmatic skin
    during the updateDisplayList of the LiteButton component and adding
    it to my display object via addChild but that didn't do anything. I
    also tried creating a "default.css" stylesheet and tried to use
    ClassReference as I would normally do to skin an already existing
    component (or composite component as well) but that didn't do
    anything either.
    So how do I apply programmatic skins for completely custom
    drawn components of my Flex library project?
    I could do it inside the updateDisplayList of the LiteButton
    class extending UIComponent but again I would like to provide
    different theme sets for my components so it makes sense using
    programmatic skins.

    "jbucaran" <[email protected]> wrote in
    message
    news:[email protected]...
    > Hello folks,
    >
    > I am looking for best practices advice when (1) creating
    custom components
    > and
    > (2) styling and skinning.
    >
    > I already know how to skin a component part of the Flex
    framework. I can
    > make
    > a class extending ProgrammaticSkin and have my component
    skinned using CSS
    > to
    > link the component with the reference to my custom
    class.
    >
    > However what about those cases when you are completely
    creating a
    > component
    > from scratch?
    >
    > Imagine a "Freehand Drawing Canvas" component that
    allows the user to draw
    > on
    > it and has some buttons to set color styles, line
    styles, etc., or imagine
    > a
    > "Screen Flow Gallery" component that displays visual
    objects in a fashion
    > similar to Cover Flow in the Mac.
    >
    > In many components I am aware you may reuse other
    components part of the
    > Flex
    > framework but I am trying to picture an scenario where
    you would need to
    > draw
    > everything yourself because there just isn't something
    to base it upon so
    > you
    > will end up drawing it from scratch.
    This may help with that
    http://livedocs.adobe.com/flex/3/html/help.html?content=skinstyle_3.html
    > To learn how instead of building one of those components
    I mentioned
    > previously I decided to start with something simple that
    would illustrate
    > this
    > like a LiteButton component that will behave just like
    the Flex
    > mx.controls.Button but will extend UIComponent and be
    completely custom
    > drawn.
    >
    > The component will have a default look and will also be
    style-able and
    > skin-able. I will provide styles for users of the
    component to modify and
    > regarding skinning anyone can create a custom
    ProgrammaticSkin adding its
    > own
    > drawing logic and link it to the component via CSS with
    the ClassReference
    > applied to the skin selector.
    >
    > So far so good and it's clear what I want to achieve.
    Actually after
    > playing
    > with the weekend and today I know how to do most of the
    stuff but I have
    > one
    > single problem. So here is my question, where should I
    provide my custom
    > drawing logic? If I do it in the updateDisplayList
    inside the class
    > extending
    > UIComponent it works, however I thought that it would be
    a better practice
    > to
    > do it using programmatic skins, that way I could provide
    different skin
    > themes
    > for my component set.
    These aren't mutually exclusive. When you provide a skin with
    a
    TypeSelector, you have to add it to the display list
    somewhere, and this is
    typically done in updateDisplayList or addChildren. I prefer
    to do it in
    updateDisplayList, because you can then change it if the
    style changes.
    > The problem is that I can't make the programmatic work
    in this scenario. I
    > tried instantiating the custom programmatic skin during
    the
    > updateDisplayList
    > of the LiteButton component and adding it to my display
    object via
    > addChild but
    > that didn't do anything.
    Exactly what did you do?
    > I also tried creating a "default.css" stylesheet and
    > tried to use ClassReference as I would normally do to
    skin an already
    > existing
    > component (or composite component as well) but that
    didn't do anything
    > either.
    I've never had any problem using an approach similar to
    this...but I will
    say that I couldn't see any advantage in creating a
    default.css style sheet,
    since it's not really default in the way that the one that
    comes with Flex
    is. It's much more obvious to anyone using your component
    what's going on
    there if you create a style sheet where they're likely to
    spot it.
    > So how do I apply programmatic skins with the default
    look for custom
    > drawn
    > components?
    It seems like your approach is fine, but maybe you've made a
    mistake in your
    implementation.
    > I could do it inside the updateDisplayList of the
    LiteButton class
    > extending
    > UIComponent but again I would like to provide different
    theme sets for my
    > components so it makes sense using programmatic skins.
    You might want to consider also adding an instance of
    HaloBorder to your
    component. That brings a lot of functionality with it.
    HTH;
    Amy

  • In firefox 4 RC, some addons installed suddenly disappear, but checking the profile, some of the missing addons related files are still here, how to make the addons back?

    I use firefox 4 form beta 9 to RC (zh) now and there are also firefox 3.6 installed in computer. One day when I open Fx 4 RC, some (actually a lot but not all) of the adoons just disappear. When I check on about:addons page, some addons installed do not appear in the list.
    The addons '''REMAINED''' including:
    * addons I already used in Fx 3.6 (like webmail notifie , xmarks)
    * ''addons only can use in Fx 4'' (like Open Web Apps for Firefox).
    The addons '''DISAPPEARED''' including:
    * addons I already used in Fx 3.6 (like yoono)
    * '' addons installed when using Fx 4'' (like updatescanner, Thumbnail Zoom).
    But when I check the profile(by Help > Troubleshooting Information>Open Containing Folder) , some (not sure is it all) of the missing addons related files are still here [lucky], so any one know how to make the missing addons back?
    Some more details:
    * This happened when i use RC for already a few days and keep on even i restart Fx and windows.
    * The bookmarks, history, search engine and even themes and icon setting are still here. [ I only sync bookmarks but not history for both xmarks and firefox sync.]
    * This addons are really '''disappeared''' but not disable only!
    * This number of addons missed, as i remember, at least 30, should be more than that number bacause some of them are installed but in disable mode.
    * I try to install back one of the addons - Stylish, the installed code are still here.
    * It is nearly an impossible mission to install every missing addons again, as it really kill my time.

    Delete the files extensions.* (extensions.rdf, extensions.cache, extensions.ini, extensions.sqlite) and compatibility.ini in the Firefox [[Profiles|profile folder]] to reset the extensions registry. New files will be created when required.
    See "Corrupt extension files": http://kb.mozillazine.org/Unable_to_install_themes_or_extensions
    If you see disabled, not compatible, extensions in "Tools > Add-ons > Extensions" then click the Tools button at the left side of the Search Bar to do a compatibility check.

  • How to make a page that should be inside an iframe load up its parent page?

    Hello all
    Here's my dilema...
    I'm creating a site with page fragments that the user is able to view by having it load into an iframe. So far so good and it's all working perfectly well.
    The problem that I envisage is that, even with no-index robot meta tags, Google et al are almost certain to index these page fragments and proffer them in search results.
    So, my question to you is two-fold:
    1 - how can I make a page fragment load up the parent page should it be selected from a Google search result
    and
    2 - once the parent page is loaded up, how can I then make it load the selected content page into the iframe so that the user sees what (s)he is expecting to see?
    I'm imagining that it will require cookies and scripting, but I'm still at the (very) early stages of learning such stuff, so have no clue whatsoever on how to go about it!
    Any bright ideas / tutorials / sites I can nick code from / complete solutions that I don't have to pay for would be much appreciated.
    Thanks
    Peter

    AFAIK there's no practical way to do what you require.  Sorry.  This is one of the many downsides to Framed sites. It also makes bookmarking and printing pages difficult.  Not to mention user unfriendly from a web accessibility viewpoint.  Re-think your need for Iframes throughout an entire website.   The best websites use one complete page for each topic.  Index, About Us, Contact Us, etc...
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics |  Print | Media Specialists
    www.alt-web.com/
    www.twitter.com/altweb

  • Why can't I make bookmarks in Safari on my iPad air

    In the iPad user guide it says to tap bookmarks to bookmark the current page in safari - no such option appears for me in the bookmarks window. How can I make bookmarks?

    Tap to enlarge.

  • How do I bookmark to a specific page in a another document

    How do I bookmark to a specific page in another document

    When you add a bookmark, it defaults to the current page and view (zoom, scroll). If you want it to link to a location in a different document, after you create the bookmark, select it, right-click, and select Properties and then select the Actions tab. Delete the default action and add a new one of the type "Go to a page view". When you're prompted with the "Create Go to View" dialog, open the other document and go to the page and set the view (zoom, scroll) that you want, and then click the "Set Link" button. When distributing the files, make sure they retain the same folder structure. This is easiest done if all of the PDFs are in the same folder.

Maybe you are looking for

  • Constant Correlation in BPM

    Hi All, I have a requirement to collect 3 different formatted text files (using FCC to XML) which do not relate in any way except that they all need to be collected and need to be sent in a sequence while delivering to the other side. Since there wer

  • Winclient : Supress or Hide Business activity Fields

    Hi  Guys    As per my customer requirement some of the fields in Business activities like Description, category etc should be hide or supress in Winclient . is there any customization setting to do this, what is the procedure to achieve this  . Pls h

  • Cumulative kf with load aggr

    hello BW Experts, What is a cumulative kf with 'load' aggregation behavior regarding the time dimension. scenario: fi-sl line-item extractor, 0balance is cumulative with 'load' aggregational behavior regarding the time dimension. Suggestions apprecia

  • Um is there a old version of adobe dreamweaver mx 2004 for windows xp professional? can i get a free

    um is there a old version of adoobe dreamweaver mx 2004 for windows xp professional? i have an old version of adobe photoshop(which is adobe photoshop cs(8.0) and adobe image ready which was activated by my father, which i dont know the activation co

  • How can I open my books in a Windows computer?

    I just switched over to a Windows computer from a Macbook and now I can't open my iBooks. Any suggestions?