Delete all pages in stack

Hi all

I bet I missed this thing in the documentation, but you need some help here. So I have a NavigationPane and battery monitors. On the screens, I have a home to return to the screen button "parent". How can I delete all the pages navigation stack exept the premiera? I don't really want to push the first screen, because like that I have to hide the "back button" on bar and I think that's not good for the memory.

Any suggestions?

Hello

I think you can use the navigateTo for this method (+ signal navigateToTransitionEnded to destroy the pages).

The first page to access. It can be retrieved using navigationPane.at (0)

https://developer.BlackBerry.com/Cascades/reference/bb__cascades__navigationpane.html#function-navig...

BTW cascading if you drag the button back (not the screen itself), it will go straight to the top so separate button maybe isn't necessary.

Tags: BlackBerry Developers

Similar Questions

  • delete all pages whose name does not begin with

    Hello

    can someone tell me how to write the equivalent of the applescript below in ExtendScript please.

    say application "Adobe InDesign CS6.

    say active document to delete (each page whose name is not start by "SRT")

    end say


    Thank you

    Nik

    I think the following should do it (untested):

    var pp = app.activeDocument.pages.everyItem () .getElements (), p;

    While (p = pp.pop ()) if (p.name.substr (0.3)! == "SRT") p.remove ();

  • I have a downloaded .pdf file. When I click on a page (this happens for each page) he follows me to a link open my browser. How should you remove that? I tried to delete all the hyperlinkes but remained! Thank you.

    I have a downloaded .pdf file. When I click on a page (this happens for each page) he follows me to a link open my browser. How shoul delete who? I tried to delete all the hyperlinkes but remained! Thank you.

    After seeing a few screenshots of the file I think I see what's happening now. There is a watermark diagonal URL through the page that is converted to a link automatically by the application. Disable it go to Edition - Preferences - general and uncheck the box that says "create links from URLS".

  • Delete interactive buttons on all pages

    Hello

    I'm new here and I'm from Germany, if I apologize in case for any missunderstandtings.

    The problem:

    I have a PDF file with like 1000 pages. On each page, there are interactive buttons like 'Next', 'previous', 'Contact' and so on...

    Now, I would like to remove the 'Contact' button that, on each page of the document - in one fell swoop. All contact buttons have the same exact settings, they have been reproduced in the entire document. If the button should be the same on each page.

    There must be a way to delete all Contact buttons again--in one fell swoop. So, just like saying "duplicate on pages", I just want to say "delete this button on every page.

    Is there a Javascript code to deal with? Or in any other way?

    Just to say it again: in a hit means both. I don't want to go through each point highest page each touch button and then remove. That would take me ages to 1000 pages. And I have several branch do in...

    THANKS FOR ANY HELP

    With the help of Adobe Acrobat Pro Xl

    Document createt in Xl Pro, not in Indesign.

    Sort the fields in the list in alphabetical order, not page number, then

    they should all appear one after the other. If they have the same name that they

    should even appear under a single item in the list, you can select

    and remove with a single click.

    Wednesday, October 16, 2013 at 12:30, Thunderstruck200 [email protected]

  • Model save Code deletes on all Pages

    I'll try to explain what I can because I work only on the end front of the best site. We have built a site based on a template I created. All the pages have been built based on this model. The site uses a SQL database to propagate a list depending on what you are on the page. This info is a string of code that is located at the top of the HTML (aspx). When I change the main template, it updates all pages and deletes or should I say rewrote all the code before the model info begins. I tried to make one area editable all at the top of the page, but I get an error because it has outside the model begin code. Here is an example of code that is removed after you change the template: (thanks in advance)!

    < % @ Page Language = "VB" AutoEventWireup = "true" CodeFile = "oilpastels - neocolor.aspx.cs" Inherits = "pages_oilpastels_neocolor" % >

    <! DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional / / IN" " http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" >
    "< html xmlns =" http://www.w3.org/1999/xhtml "" > <! - InstanceBegin template="/Templates/site-template.dwt" codeOutsideHTMLIsLocked = "false" - > "
    < head >
    < meta http-equiv = "Content-Type" content = text/html"; Charset = UTF-8 "/ >"
    <!-InstanceBeginEditable name = "doctitle"-->
    < title > Dakota Pastels - Carand'Ache < / title >
    <! - InstanceEndEditable - >
    <!-InstanceBeginEditable name = "head"--> <! - InstanceEndEditable - >
    "" < link href = ".. / includes/dakota.css" rel = "stylesheet" type = "text/css" / >
    < style type = "text/css" >
    <!--
    {body
    left margin: 0px;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
    }
    ->
    < / style > < / head >

    < body >

    I found a solution on another Board. Simply put <%--'comment--%> after the code (lines) I want to keep above! DOCTYPE, prevents remove it during the updating of the Dreamweaver template. Hope this helps someone else.

    See you soon!

  • form using the trial version and it continues to repeat the information to a page (either first or last page) to all pages and deleted the contents entered in

    form using the trial version and he continues to repeat the information of a page (either first or last page) to all pages and remove the content that has been entered into.

    The fields with the same name will be the same content. You must change the names of the fields.

  • How to delete all descriptions of all bookmarks?

    Having descriptions makes for a very large file when you export bookmarks.
    I would like to delete all descriptions in bulk of all my favorites.
    How could do?

    So, is it possible to prevent the addition of the description when bookmarking a page Firefox?

    Try to run the code shown here in the SQLite Manager.

    The last code (query 4) will remove the descriptions.
    You can use the query 3 to see descriptions

    -- Query 3: test compound query
    Select Content
    From moz_items_annos
    Where ID In (
    Select Itm.ID
    From moz_anno_attributes As Atr
    Join moz_items_annos As Itm On Atr.ID = Itm.anno_attribute_id
    Where Atr.Name = 'bookmarkProperties/description'
    And Itm.Content Not In ('', 'Add bookmarks to this folder to see them displayed on the Bookmarks Toolbar')
    )
    
    -- Query 4: update Descriptions to empty string
    Update moz_items_annos
    Set Content = ''
    Where ID In (
    Select Itm.ID
    From moz_anno_attributes As Atr
    Join moz_items_annos As Itm On Atr.ID = Itm.anno_attribute_id
    Where Atr.Name = 'bookmarkProperties/description'
    And Itm.Content Not In ('', 'Add bookmarks to this folder to see them displayed on the Bookmarks Toolbar')
    )
  • Cannot delete all emails in hotmail

    Why hotmail page layout changed, like as it was before.

    I tried to delete all the emails at once, but would not go so had to delete one at a time, and then to remove the last email he just stood there. And I don't like the layout, much prefer the other model previously

    Your message is in the Windows forum.

    You must ask for help about your Hotmail problem to http://windowslivehelp.com/product.aspx?productid=1.

    Good luck...

  • I WISH THAT ALL PAGES TO FIT ON MY SCREEN SO I CAN'T USE THE ARROW LEFT AND ARROW RIGHT! THANK YOU VERY MUCH FOR YOUR HELP!

    MY PAGES HAVE BEEN VERY WELL UNTIL I DOWNLOADED SOMETHING, I DON'T KNOW EXACTLY.   I THOUGHT I TRY TO DELETE WHAT I DOWNLOADED ARRIVE TO WHERE I WAS, BUT I DON'T THINK IT WORKED OR I DELETE ANYTHING!  SO I'M GOING TO STILL USE THE ARROW LEFT AND ARROW RIGHT TO VIEW ALL PAGES.  I WENT TO CONTROL PANEL, DISPLAY, SETTINGS, WENT TO A HIGH NUMBER TO THE PIXEL NUMBER LOW, CE WHICH WAS THE ONLY SOLUTION POSSIBLE, AND ALL GROW.  SO I PUT IT BACK TO THE LOT WHERE HE WAS!  DON'T KNOW WHAT TO DO, SO HERE I AM ASKING FOR HELP!  Thank you!!!  MY email * address email is removed from the privacy *.

    First remove everything you have installed, check if it works.

    In case of failure and then update the display on the computer drivers

  • Help with excel import and delete the page script

    Hello. I will try to make it as simple as possible. I have some data from excel (saved as delimited by tabs) that I need to import in a 5 PDF page. I use the script below to import, and it works fine. All import fields and records the individual (one for each record) PDF. However, I need to extend this functionality by removing some pages before it saves the document by looking at the different boxes. The code below is what I use to import the records.

    // specify the filename of the data file
    var fileName = "/Users/MacMike/Desktop/Test.txt";  // the tab delimited text file containing the data
    var outputDir = "/Users/MacMike/Desktop/Dump/";    // make sure this ends with a '/'
    
    var err = 0;
    var idx = 0;
    while (err == 0) {
        err = this.importTextData(fileName, idx);    // imports the next record
    
        if (err == -1)
            app.alert("Error: Cannot Open File");
        else if (err == -2) 
            app.alert("Error: Cannot Load Data");
        else if (err == 1)
            app.alert("Warning: Missing Data");
        else if (err == 2)
            app.alert("Warning: User Cancelled Row Select");
        else if (err == 3)
            app.alert("Warning: User Cancelled File Select");
        else if (err == 0) {
            this.saveAs(outputDir + this.getField("Full Name (First Last)").value + "-" + this.getField("Event Title").value + ".pdf"); // saves the file
            idx++;
        }
    }
    

    As I said before you import works surprisingly well.

    My PDF consists of 5 pages (info-registration, p1 = Dir-contract = p0, p2 = contract ndarp-brand, p3 = takes-contract, p4 = agreement must be brand). My idea is that on the import of data, the script will look at a few check boxes and determine which contracts to remove on the PDF and then save. I wrote the syntax of which, in my view, what it should look like. I'm not a programmer and know just a little bit. I looked through the documentation and this is what I came with. I don't know how to combine to work. Here's the code I came up with that.

    var dir = this.getField("Associate Director"); // checkbox
    var aldir = this.getField("Alumni Director"); // checkbox
    
    var fac = this.getField("Facilitator"); // checkbox
    var alfac = this.getField("Alumni Facilitator"); // checkbox
    
    var oyb = this.getField("Optimize Your Brain"); //checkbox
    var poyb = this.getField("DVD and Workbook Previously Purchased"); // checkbox
    
    // Below are all the possible training options.
    if (dir.value=="Checked" || aldir.value=="" || fac.value=="" || alfac.value=="" || oyb.value=="" || poyb.value=="") {
        this.deletePages({nStart:3, nEnd:4})
    }
    else if (dir.value=="" || aldir.value=="Checked" || fac.value=="" || alfac.value=="" || oyb.value=="" || poyb.value=="") {
        this.deletePages({nStart:3, nEnd:4})
    }
    
    else if (dir.value=="" || aldir.value=="" || fac.value=="Checked" || alfac.value=="" || oyb.value=="" || poyb.value=="") {
        this.deletePages({nStart:2, nEnd:4})
    }
    else if (dir.value=="" || aldir.value=="" || fac.value=="" || alfac.value=="Checked" || oyb.value=="" || poyb.value=="") {
        this.deletePages({nStart:2, nEnd:4})
    }
    
    else if (dir.value=="" || aldir.value=="" || fac.value=="Checked" || alfac.value=="" || oyb.value=="Checked" || poyb.value=="") {
        this.deletePages({nStart:2, nEnd:2})
    }
    else if (dir.value=="" || aldir.value=="" || fac.value=="" || alfac.value=="Checked" || oyb.value=="Checked" || poyb.value=="") {
        this.deletePages({nStart:2, nEnd:2})
    }
    else if (dir.value=="" || aldir.value=="" || fac.value=="Checked" || alfac.value=="" || oyb.value=="" || poyb.value=="Checked") {
        this.deletePages({nStart:2, nEnd:2})
    }
    else if (dir.value=="" || aldir.value=="" || fac.value=="" || alfac.value=="Checked" || oyb.value=="" || poyb.value=="Checked") {
        this.deletePages({nStart:2, nEnd:2})
    }
    
    else if (dir.value=="Checked" || aldir.value=="" || fac.value=="" || alfac.value=="" || oyb.value=="Checked" || poyb.value=="") {
        this.deletePages(none) // I realize this is incorrect. Just showing that this option results in no deleted pages.
    }
    else if (dir.value=="" || aldir.value=="Checked" || fac.value=="" || alfac.value=="" || oyb.value=="Checked" || poyb.value=="") {
        this.deletePages(none) // I realize this is incorrect. Just showing that this option results in no deleted pages.
    }
    else if (dir.value=="Checked" || aldir.value=="" || fac.value=="" || alfac.value=="" || oyb.value=="" || poyb.value=="Checked") {
        this.deletePages(none) // I realize this is incorrect. Just showing that this option results in no deleted pages.
    }
    else if (dir.value=="" || aldir.value=="Checked" || fac.value=="" || alfac.value=="" || oyb.value=="" || poyb.value=="Checked") {
        this.deletePages(none) // I realize this is incorrect. Just showing that this option results in no deleted pages.
    }
    
    else if (dir.value=="" || aldir.value=="" || fac.value=="" || alfac.value=="" || oyb.value=="Checked" || poyb.value=="") {
        this.deletePages({nStart:1, nEnd:2})
    }
    else (dir.value=="" || aldir.value=="" || fac.value=="" || alfac.value=="" || oyb.value=="" || poyb.value=="Checked") {
        this.deletePages({nStart:1, nEnd:2})
    }
    

    How to combine these two so that I can create a document temp import my data, check the boxes to check off and delete the appropriate pages and save the file and then go to the next record? I got the first part done. It imports large and has the right, but I don't know what to do next. Thanks for any help!

    Or y at - it another way to do this?


    Michael

    Wow. Ok. I had it works beautifully. There was a lot of trial and error. Because the script as it was would have, would open the original PDF, delete the pages needed, then save the file. While it would be to go to the next record is missing pages in PDF and bomb to open. I hunted and searched for a way to do this. I found "this.insertPages" in the documentation. Finally, what worked was so move the "save under" in the service and put it under every variation of check. So now when checking the boxes, he performs the check, removes the mandatory pages, stops, insertions of back in deleted pages from the original file, leave the service and finally goes to the next record.

    Here is my final script:

    // This code looks at an excel (tab delimited) file, imports the records into a PDF form 10 Pages long.
    // Then checks a series of checkboxes and deletes the pages that aren't associated with first page.
    // After it deletes these pages it reinserts the deleted pages so it can do the checks for the next record in the (tab delimited) file.
    
    // variables for importing excel data
    var err = 0;
    var idx = 0;
    var fileName = "/Users/MacMike/Desktop/Test.txt";  // the tab delimited text
    var outputDir = "/Users/MacMike/Desktop/Dump/";    // make sure this ends with a '/'
    
    //Checking a bank of 6 checkboxes and determine which pages need to be deleted, save the file, and the insearch the deleted pages again.
    function seekandDestroy() {
        if (dir.value=="Checked" && aldir.value=="Off" && fac.value=="Off" && alfac.value=="Off" && oyb.value=="Off" && poyb.value=="Off") {
            this.deletePages({nStart:6, nEnd:9})
            this.saveAs(outputDir + this.getField("Full Name (First Last)").value + "-" + this.getField("Event Title").value + ".pdf")
            this.insertPages({nPage:5, cPath:"/Users/MacMike/Desktop/TT Reg & Contracts.pdf", nStart:6, nEnd:9 });
        }
        else if (dir.value=="Off" && aldir.value=="Checked" && fac.value=="Off" && alfac.value=="Off" && oyb.value=="Off" && poyb.value=="Off") {
            this.deletePages({nStart:6, nEnd:9})
            this.saveAs(outputDir + this.getField("Full Name (First Last)").value + "-" + this.getField("Event Title").value + ".pdf")
            this.insertPages({nPage:5, cPath:"/Users/MacMike/Desktop/TT Reg & Contracts.pdf", nStart:6, nEnd:9 });
        }
    
        else if (dir.value=="Off" && aldir.value=="Off" && fac.value=="Checked" && alfac.value=="Off" && oyb.value=="Off" && poyb.value=="Off") {
            this.deletePages({nStart:3, nEnd:9})
            this.saveAs(outputDir + this.getField("Full Name (First Last)").value + "-" + this.getField("Event Title").value + ".pdf")
            this.insertPages({nPage:2, cPath:"/Users/MacMike/Desktop/TT Reg & Contracts.pdf", nStart:3, nEnd:9 });
        }
        else if (dir.value=="Off" && aldir.value=="Off" && fac.value=="Off" && alfac.value=="Checked" && oyb.value=="Off" && poyb.value=="Off") {
            this.deletePages({nStart:3, nEnd:9})
            this.saveAs(outputDir + this.getField("Full Name (First Last)").value + "-" + this.getField("Event Title").value + ".pdf")
            this.insertPages({nPage:2, cPath:"/Users/MacMike/Desktop/TT Reg & Contracts.pdf", nStart:3, nEnd:9 });
        }
    
        else if (dir.value=="Off" && aldir.value=="Off" && fac.value=="Checked" && alfac.value=="Off" && oyb.value=="Checked" && poyb.value=="Off") {
            this.deletePages({nStart:3, nEnd:5})
            this.saveAs(outputDir + this.getField("Full Name (First Last)").value + "-" + this.getField("Event Title").value + ".pdf")
            this.insertPages({nPage:2, cPath:"/Users/MacMike/Desktop/TT Reg & Contracts.pdf", nStart:3, nEnd:5 });
        }
        else if (dir.value=="Off" && aldir.value=="Off" && fac.value=="Off" && alfac.value=="Checked" && oyb.value=="Checked" && poyb.value=="Off") {
            this.deletePages({nStart:3, nEnd:5})
            this.saveAs(outputDir + this.getField("Full Name (First Last)").value + "-" + this.getField("Event Title").value + ".pdf")
            this.insertPages({nPage:2, cPath:"/Users/MacMike/Desktop/TT Reg & Contracts.pdf", nStart:3, nEnd:5 });
        }
        else if (dir.value=="Off" && aldir.value=="Off" && fac.value=="Checked" && alfac.value=="Off" && oyb.value=="Off" && poyb.value=="Checked") {
            this.deletePages({nStart:3, nEnd:5})
            this.saveAs(outputDir + this.getField("Full Name (First Last)").value + "-" + this.getField("Event Title").value + ".pdf")
            this.insertPages({nPage:2, cPath:"/Users/MacMike/Desktop/TT Reg & Contracts.pdf", nStart:3, nEnd:5 });
        }
        else if (dir.value=="Off" && aldir.value=="Off" && fac.value=="Off" && alfac.value=="Checked" && oyb.value=="Off" && poyb.value=="Checked") {
            this.deletePages({nStart:3, nEnd:5})
            this.saveAs(outputDir + this.getField("Full Name (First Last)").value + "-" + this.getField("Event Title").value + ".pdf")
            this.insertPages({nPage:2, cPath:"/Users/MacMike/Desktop/TT Reg & Contracts.pdf", nStart:3, nEnd:5 });
        }
    
        else if (dir.value=="Off" && aldir.value=="Off" && fac.value=="Off" && alfac.value=="Off" && oyb.value=="Checked" && poyb.value=="Off") {
            this.deletePages({nStart:1, nEnd:5})
            this.saveAs(outputDir + this.getField("Full Name (First Last)").value + "-" + this.getField("Event Title").value + ".pdf")
            this.insertPages({nPage:0, cPath:"/Users/MacMike/Desktop/TT Reg & Contracts.pdf", nStart:1, nEnd:5 });
        }
        else if (dir.value=="Off" && aldir.value=="Off" && fac.value=="Off" && alfac.value=="Off" && oyb.value=="Off" && poyb.value=="Checked") {
            this.deletePages({nStart:1, nEnd:5})
            this.saveAs(outputDir + this.getField("Full Name (First Last)").value + "-" + this.getField("Event Title").value + ".pdf")
            this.insertPages({nPage:0, cPath:"/Users/MacMike/Desktop/TT Reg & Contracts.pdf", nStart:1, nEnd:5 });
        }
        else if (dir.value=="Checked" && aldir.value=="Off" && fac.value=="Off" && alfac.value=="Off" && oyb.value=="Checked" && poyb.value=="Off") {
            this.saveAs(outputDir + this.getField("Full Name (First Last)").value + "-" + this.getField("Event Title").value + ".pdf")
        }
        else if (dir.value=="Checked" && aldir.value=="Off" && fac.value=="Off" && alfac.value=="Off" && oyb.value=="Off" && poyb.value=="Checked") {
            this.saveAs(outputDir + this.getField("Full Name (First Last)").value + "-" + this.getField("Event Title").value + ".pdf")
        }
        else if (dir.value=="Off" && aldir.value=="Checked" && fac.value=="Off" && alfac.value=="Off" && oyb.value=="Checked" && poyb.value=="Off") {
            this.saveAs(outputDir + this.getField("Full Name (First Last)").value + "-" + this.getField("Event Title").value + ".pdf")
        }
        else if (dir.value=="Off" && aldir.value=="Checked" && fac.value=="Off" && alfac.value=="Off" && oyb.value=="Off" && poyb.value=="Checked") {
            this.saveAs(outputDir + this.getField("Full Name (First Last)").value + "-" + this.getField("Event Title").value + ".pdf")
        }
    }
    
    // Imports records does the above function then go the next record, all the while doing error reporting.
    while (err == 0) {
        err = this.importTextData(fileName, idx);    // imports the next record
    
        if (err == -1)
            app.alert("Error: Cannot Open File");
        else if (err == -2)
            app.alert("Error: Cannot Load Data");
        else if (err == 1)
            app.alert("Warning: Missing Data");
        else if (err == 2)
            app.alert("Warning: User Cancelled Row Select");
        else if (err == 3)
            app.alert("Warning: User Cancelled File Select");
        else if (err == 0) {
            var dir = this.getField("Associate Director"); // checkbox
            var aldir = this.getField("Alumni Associate Director"); // checkbox
            var fac = this.getField("Facilitator"); // checkbox
            var alfac = this.getField("Alumni Facilitator"); // checkbox
            var oyb = this.getField("Optimize Your Brain Site Coordinator"); //checkbox
            var poyb = this.getField("DVD and Workbook Previously Purchased"); // checkbox
            seekandDestroy(dir, aldir, fac, alfac, oyb, poyb); //performs the above function
            idx++; //goes to next record
        }
    }
    
  • Delete empty pages

    Hi experts,

    I would like to delete a document all empty pages.

    What is the best solution? By storythread or pageitems or something?

    A storythread can contain one or more empty page with same tagname

    Empty page = the current page contains only empty text or frame graphic and not contain static text.

    THX: Károly

    I don't think that there is a single integrated command to perform this task.

    What constitutes an empty page belongs to your logic.

    And you need to encapsulate this logic in a function to delete the pages.

    He must know that page elements belong to spread (or more specifically spread layer) and NOT to the page.

    If you have a story, it is likely you have a framework for this container.

    So, it would not be a bad idea (though according to your use case) to search for items on the page.

    So, you can delete a page if there is no element on a page, or even treat the elements of the page to determine cases like block of empty text, empty graphic block, guides, etc..

    Review for the implementation:

    -> Cover each Board in the document (ISpreadList)

    -> For each page of the spread and make ISpread::GetItemsOnPage

    -> IPageItemTypeUtils of use to determine what type of page element is a UIDRef.

    Page article can be a graphic image, group, text frame, text on path, guide, shape spline, etc..

  • Delete all the radio buttons

    Hi, is anyway to find and remove all the ' Radio buttons ' in my form? Thanks in advance...

    It's much better for you if you write the code yourself. So you know and that you know exactly what you, and if things go wrong, you are much more likely to fix it. Or, if you need to adapt it for example delete all signature fields, you would know how to make this change as well.

    Take a look at these pages of documentation of JavaScript, they illustrate the necessary JS methods:

    Doc.numFields - DC Acrobat SDK Documentation

    Doc.removeField - DC Acrobat SDK Documentation

    Doc.getField - DC Acrobat SDK Documentation

    If you need help with Acrobat JavaScript in general, take a look here: Beginning JavaScript for Adobe Acrobat

    And, just to help you get started, here's how I would implement this feature:

    for (var i=(this.numFields-1); i>=0; i--) {
        var f=this.getField(this.getNthFieldName(i));
        if (f.type == "radiobutton") {
            this.removeField(this.getNthFieldName(i));
        }
    }
    
  • How to delete all text in a block of text itself?


    Hi all

    I have an indd file and have a lot of pages in it. And I want to delete all the text in the specified frames.

    myDoc var = app.documents.item (0);

    var myFrame1 = myDoc.pageItems.itemByID (111076);

    var myDoc.pageItems.itemByID = myFrame2 (111080);

    var myFrame3 = myDoc.pageItems.itemByID (111079); etc.

    what I've done so now I can select the specified words, but not all, and then remove any selected text. its also very good this text can be deleted without selection.

    myFrame1.words [0] .select ();

    Thank you

    Marie rosine

    Hi marie rosine,.

    It is here,

    myFrame1.characters.itemByRange(1,-1).remove ();

    Kind regards

    Cognet

  • Control menu with "All Pages" -?

    I built a site with just the top-level menus. I have pages "invisible", such as a 'Thank you for your contact' page, after someone sent a contact form. This page is not accessible through any menu and is served only after someone submits a form.

    Now I need to ADD submenus, but I can't view the page 'Thank you for your contact' in the submenus, that should be observed when someone sends you a form, and it should NEVER be accessible otherwise, as in a menu.

    If I turned off "Edit together" in the MAIN menu, then select the unwanted submenu and disable "Show the Label" then all THE LABELS around the MENU disappear.  :-(   All I want to do is disable the e-mail response page, in the submenus. Is this possible in Muse?

    Also, is it possible to make the submenus STACK VERTICALLY, instead of horizontally only appear after clicking on one of the submenu items? This current behavior is REALLY AWEFUL.

    (I tried to understand the menus 'manual', but found them VERY confusing! To rebuild all the menu manually would be a unwanted hair ball! - and I sincerely hope that this is NOT the solution to my problem. If this is the case, I need to know HOW to build menus by hand in a way includes some pages 'hidden' in submenus DO NOT.)

    Thanks for any help.

    Looks like you want to use a menu "all pages" and simply exclude a single page. You can do this in the "Page properties" dialog box of the page, or by right-clicking on the page in outline view.

    In addition, it seems that maybe you have organized your pages child such that every child has another child... you really want that they share a parent for the menu looks like right. See this screenshot for an example:

  • Script to extract all pages in A3 landscape mode

    Hello, dear community!

    Can you help me find a model to a following script:

    1. Find and select all the pages in A3 landscape mode in the current PDF document.
    2. Extract selected pages of a PDF document.
    3. Print pages of a PDF document.
    4. Delete selected pages in a PDF document.

    Thank you!

    To get the number of pages in a document, you can use the doc.numPages property: http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.409.html

    To get the size of a page, you can use the doc.getPageBox method: http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.484.html

    To extract pages to a new document, you can use the doc.extractPages method: http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.465.html

    To print some pages, you can use the doc.print method: http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.511.html

    To remove some pages, you can use the doc.deletePages method: http://livedocs.adobe.com/acrobat_sdk/9.1/Acrobat9_1_HTMLHelp/JS_API_AcroJS.88.452.html

    In each link, there is an example of code that should help you get started.

Maybe you are looking for