Move button to the next page with his function.

Hello, is the any way to move a button to the another page with his functions?
I can't creat a new button, because I need all the function that contains the button original. I use it now, but it is not ok for to change te page because it has not the paramater location.... :
        var newAddRect=[addRect[0], addRect[1] + delta -1, addRect[2],addRect[3] + delta -1];
        btnAdd.rect = newAddRect;
I saw the propierty: button.page, but is only for read.
I know about the propierty Action of the button, and I know that I could assign the code... but I descarted because it's will generate a recursive code....
Can I use in the button.Action the call a trusted function ?
Thank you!
Regards.

Thank yoy try67 !
I am trying this way, now I am creating a new button, and I am trying to put, all the code of the original button in one function.
And, when I am creating de new button  btn:
var btn = this.addField(name, type, page, newAddRect)
btn.setAcion("MouseUp","myFunction()");
this not works...
the function is in one file in:
C:\Documents and Settings\user\Datos de programa\Adobe\Acrobat\9.0\JavaScripts\myFile.js
and the contains of the function is a simple alert.....
Any idea...¿?
Thank you!
Regards,
Xavi Marín.

Similar Messages

  • How to move floats to the next page?

    Hi All,
    Can anyone help me on this?
    How to move floats to the next page the same position?
    Thanks in advance

    @Learner – you can duplicate the object to the next page and remove the original.
    If the original one is anchored you also have to account for its position, because duplicating an anchored object will move it.
    Here an example for duplicating a selected object to the same page.
    //DuplicateAnchoredObject_SELECTION_SNIPPET.jsx
    //Uwe Laubender
    * @@@BUILDINFO@@@ DuplicateAnchoredObject_SELECTION_SNIPPET.jsx !Version! Fri Apr 12 2013 07:53:31 GMT+0200
    var sel = app.selection[0];
    var x = sel.geometricBounds[1];
    var y = sel.geometricBounds[0];
    //The duplicate() method without an optional argument:
    var dup = sel.duplicate();
    //NOW: the duplicated objects is at the inner border of the page
    //To move it to its original position we need the following:
    var xd = dup.geometricBounds[1];
    var yd = dup.geometricBounds[0];
    dup.move(undefined,[x-xd,y-yd]);
    That snippet can be enhanced for duplicating to a certain page, because the duplicate() methods can take arguments like "Page", "Layer", "Spread" etc. For details see the DOM documentation at:
    http://www.jongware.com/idjshelp.html
    One caution here: to make that work the way you want with facing pages, you have to take into account, that your coordinate system must be changed to "per page" by the property "RulerOrigin" of the ViewPreferences.
    This said, here is a working example for duplicating a selected object to page 3 of the current document:
    //DuplicateAnchoredObject_TO-DIFFERENT-PAGE_SELECTION_SNIPPET.jsx
    //Uwe Laubender
    * @@@BUILDINFO@@@ DuplicateAnchoredObject_TO-DIFFERENT-PAGE_SELECTION_SNIPPET.jsx !Version! Tue May 14 2013 10:11:29 GMT+0200
    var d=app.documents[0];
    var oldRulerOrigin = d.viewPreferences.rulerOrigin;
    var sel = app.selection[0];
    var x = sel.geometricBounds[1];
    var y = sel.geometricBounds[0];
    //In case of facing pages we change the ruler origin:
    d.viewPreferences.rulerOrigin = RulerOrigin.PAGE_ORIGIN;
    //Duplication of selected object:
    var dup = sel.duplicate(d.pages[2]);
    //NOW: the duplicated objects is at the inner border of the page
    //To move it to its original position we need the following:
    var xd = dup.geometricBounds[1];
    var yd = dup.geometricBounds[0];
    dup.move(undefined,[x-xd,y-yd]);
    //Restore the original ruler origin:
    d.viewPreferences.rulerOrigin = oldRulerOrigin;
    Of course, thiese snippets are working also with not anchored objects…
    Uwe

  • HT4400 how do you advance to the next page with focus 40 blue

    how do you advance to the next page with focus 40 blue

    Hello,
    To place your own images for previous and next button you need to use the fill feature. Please check the steps below:
    1. Go SlideShow options and Uncheck Edit Together.
    2. Select the next button and click on Fill to open Fill panel.
    3. Click On Add Image and select the image you want to use. Also select the fitting type as "Scale to Fill" or "scale to Fit "and Position as "Center".
    4. Do the same for previous button.
    Regards
    Vivek

  • How to get text flow onto the next page from template "travel journal"?

    When wanting to create a new document, I chose "Travel journal" between "side layouts" in templates. When it opens, you see one page with pictures and example of text.
    When I start to write my text in the text field, it disappears when I get to the end of the page.
    What do I do to have the text move/flow to the next page automatically?

    The "Travel Journal" template is a page layout document & uses text boxes. There is no default flow to another page. You need to insert a new page & then create a linked text box. You can link existing text boxes or create a new text box linked to an existing one. Click the linking triangle then click to create a new box or click an existing box to link to it.

  • Print next page with SMARTFORMS

    How can I print the next page with transaction SMARTFORMS?
    I connected the second page to the first in the general characteristics of the first, but when i execute the function only the first is print.
    What's the problem?
    How can I print the second page after the first?
    Thank you.
    CV

    hi,
    In the first page specify any condition, such that the condition get satisfied during the first page and result of which a second page is created with respect to the CHECKED CHECK BOX GOTO NEW PAGE.
    Check for the data on the first page, is it sufficing to the first page only in that case you wouldn't get a new page.
    Refer this wiki for more information
    [Page break|https://www.sdn.sap.com/irj/scn/wiki?path=/display/abap/pageBreakin+SMARTFORMS]
    regards
    Sharath

  • In MS Word, it is possible to prevent tables from breaking at page breaks.  So, if a table, when populated with data gets too big for the spae allotted on one page, the table will move in its entirety, to the next page. Can this be done in "Pages"?

    I am trying to figure out ow to prevent tables from breaking along a row when there is a page break in "Pages".  This is done in MS Word by going under Table properties under "Rows".   I have a document with small three row tables and I want to keep the tables together and move to the next page in its entirety when there is a page break.  Help!

    The table that I don't want to break between rows looks like this, except it fits the width of the page:
    quilt name
    picture of quilt      
    source
    Size: XX; Difficulty Level: 3
    I inserted a Inline Text box into the document, copied the table inside the text box, then pasted it through the document (which lists quilting projects).  When the table spans a page break, even when in an inline text box, the picture which is in the right hand column splits, as well as the information pertaining to the particular quilt.
    Jerry - thank you for your help.  I tried to give you a "solved my problem" rating, but I am adjusting to the Mac slowly after 20+ years on a PC.

  • Problems when trying to move a paragraph with a heading to the next page

    When i try to move a paragraph with a heading (generally style 2) to the next page by pressing the enter key, rather than the whole paragraph moving to the top of the next page it moves to pretty well every where but the top. i have attached a video because im sure what i have said doesn't make much sense.
    http://www.youtube.com/watch?v=MrlnsmLIDGk&feature=youtubegdataplayer
    i have talked to an apple technician through apple care and we came to the conclusion after reseting iwork to default settings still with no changes all i could do was completely remove iwork from my computer and try to start over. Or come to the forums to see if there is a work around.

    Hi Jared,
    Without commentary, or other explanation, it's difficult to determine what actions you are taking to produce the results in the video.
    In the first instance, it appears that you have placed the insertion point at the beginning of the line following the header, then pressed and held return. this action pushes that line (and anything below it) down until it crosses the page boundary and jumps to a second page. That's expected behaviour.
    At approximately 0:57, you have deleted the return characters, returning the first and second lines after the header to a position immediately following the header. The insertion point is then moved to the point at the beginning of the header line, and returns are inserted as before. About 1:04, a number of unreadable alert boxes appear. At 1:07, the second line below the heading moves to the second page, followed by the first line, then by the heading itself at about 1:10. Again this is expected behaviour.
    Only after that are there any 'odd' behaviours, and without knowing what actions you are taking to produce those oddities, it's (at least) difficult to say what is causing the results you see.
    Regards,
    Barry

  • Why is it that when I go to Yahoo mail, I can't delete any messages or move to the next page? Stays stuck on page 1..

    Lately, when I log on to my yahoo mail while using firefox, it no longer shows the DELETE option at the top of the email page. So, I cannot delete any emails that I might wish to delete. Also, I cannot get past the first page of my emails. Every time I click on the NEXT PAGE button, it does not move from page 1. This does not happen when I log onto yahoo mail using Internet Explorer. Please advise as to what I can do to correct this. Could it be that I'm not using the latest version of Firefox? I don't know...

    Many site issues can be caused by corrupt cookies or cache. In order to try to fix these problems, the first step is to clear both cookies and the cache.
    Note: ''This will temporarily log you out of all sites you're logged in to.''
    To clear cache and cookies do the following:
    #Go to Firefox > History > Clear recent history or (if no Firefox button is shown) go to Tools > Clear recent history.
    #Under "Time range to clear", select "Everything".
    #Now, click the arrow next to Details to toggle the Details list active.
    #From the details list, check ''Cache'' and ''Cookies'' and uncheck everything else.
    #Now click the ''Clear now'' button.
    Further information can be found in the [[Clear your cache, history and other personal information in Firefox]] article.
    '''Try Firefox Safe Mode''' to see if the problem goes away. Safe Mode is a troubleshooting mode, which disables most add-ons.
    ''(If you're not using it, switch to the Default theme.)''
    * You can open Firefox 4.0+ in Safe Mode by holding the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
    * Or open the Help menu and click on the '''Restart with Add-ons Disabled...''' menu item while Firefox is running.
    ''Once you get the pop-up, just select "'Start in Safe Mode"''
    '''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one. Please follow the [[Troubleshooting extensions and themes]] article for that.
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
    ''When you figure out what's causing your issues, please let us know. It might help other users who have the same problem.''
    Thank you.

  • Hello I shut my iMac down to move it to the next room when I plug it back into the wall, hit the power button nothing happens. I tried holding the power button nothing when't back to the first room plug it in where it was 2 mins ago nothing?

    Hello I shut my iMac down to move it to the next room when I plug it back into the wall, hit the power button nothing happens. I tried holding the power button nothing when't back to the first room plug it in where it was 2 mins ago nothing?

    Do you know which iMac model family you have? There are four families dating back to 1998. Troubleshooting depends on that. This forum covers the first three families made from 1998 to 2005. iMacs newer than that get a separate forum.
    Do you have the system disks that came with the computer? If so, and depending on model, you may be able to start from the CD/DVD and then make the jump to booting normally.
    All computers has a little battery on the logic board that holds date, time, and some important startup parameters when the compuer is taken off wall power for a short time. If your battery was very old and died, then the settings the computer needs to start may have been lost when you unplugged it. For some Mac modles, booting from a CD or DVD gets around this temporarily, but ultimately the battery needs to be replaced. The internal batteries are cheap but can be hard to access on some iMacs like the G4 "desklamp" model

  • Need help with repeating Subforms on the next page

    I have created two different flowable repeating subforms, for example - subform1 and subform2 in a document with an action button for each to add another subform on the next page.  After subform2, I have two buttons - one to add subform1 again or add subform2 on the next page. When I click the button, Livecycle adds the new subform as commanded but the subform is added directly after the previous same subform not on the next page as requested.  I have tried to change the pagination settings but nothing seems to work.  Can anyone help me define how to get the repeating subform to add to the next page and not after the same subform?

    OK, so here's what I would do.
    1. Wrap your subform1 and subform2 in a subform. I'll call it sfMaster.
    2. Change your minimum instance for subform1 and 2 to 0 or uncheck the box, and set the initial count to 1. (That way you get at least one of each when we start.)
    3. have the buttons create a new instance of sfMaster, then remove the instance of the subform you didn't want within that most recent instance.
    So, what the user sees is a new subform1 or 2 each time they hit a button. And they'll appear in whatever order they choose it. The user doesn't have to know that what is actually happening is the creation of a new "master" subform that holds both subform1 and 2.
    To help illustrate what I mean, I've added a pink border around sfMaster and colored subform1 and 2.
    Binding options for Subform2 (Subform1 would be similar)
    What it looks like in action
    If you want to guarantee it appears on the next page, you'll need to add the conditional break from earlier. Keep working with it to get the settings just right. You may even want a docReady() event that creates two sfMaster's and sets one to have Subform1 and the other to have Subform2.

  • Just replaced my iphone 4 with new 4.  restore from icloud is hung on an app I no longer use (password probably expired) how can i get the restore to move on to the next app

    just replaced my iphone 4 with new 4.  restore from icloud is hung on an app I no longer use (password probably expired) how can i get the restore to move on to the next app

    Read another post in the forum about this and it appears this app also installs a profile with a proxy service that you will have to try and delete as well. Check that out.

  • How can I disable the previous button in the first page and the next button in the last page?

    Hi all,
    I have created a new skin for a webhelp by modifying the layout and the buttons. However, I am not able to find a way where in we can
    disable the previous button ini the first page of the webhelp and hte the next page in the last page of the webhelp. If both the next and previous button is visibile in the first and last page, it is sort of misguiding the user.
    I am using Robohelp 9.
    Please advice.
    Thanks,
    Parag

    I think you are mixing Previous and Next in a browse sequence and the Previous and Next that you get in the browser itself.
    In a browse sequence, they are automatically disabled at the start and finish. When in the first topic in the sequence only Next will be enabled, when in the last topic only previous will be enabled.
    Previous and Next in the browser are working on the topics your user has viewed which is not the same thing.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • How to insert into 2 tables from the same page (with one button  link)

    Hi,
    I have the following 2 tables....
    Employees
    emp_id number not null
    name varchar2(30) not null
    email varchar2(50)
    hire_date date
    dept_id number
    PK = emp_id
    FK = dept_id
    Notes
    note_id number not null
    added_on date not null
    added_by varchar2(30) not null
    note varchar2(4000)
    emp_id number not null
    PK = note_id
    FK = emp_id
    I want to do an insert into both tables via the application and also via the same page (with one button link). I have made a form to add an employee with an add button - adding an employee is no problem.
    Now, on the same page, I have added a html text area in another region, where the user can write a note. But how do I get the note to insert into the Notes table when the user clicks the add button?
    In other words, when the user clicks 'add', the employee information should be inserted into the Employees table and the note should be inserted into the Notes table.
    How do I go about doing this?
    Thanks.

    Hi,
    These are my After Submit Processes...
    After Submit
    30     Process Row of NOTES     Automatic Row Processing (DML)     Unconditional
    30     Process Row of EMPLOYEES     Automatic Row Processing (DML)     Unconditional
    40     reset page     Clear Cache for all Items on Pages (PageID,PageID,PageID)     Unconditional
    40     reset page     Clear Cache for all Items on Pages (PageID,PageID,PageID)     Unconditional
    40     reset page     Clear Cache for all Items on Pages (PageID,PageID,PageID)     Unconditional
    40     reset page     Clear Cache for all Items on Pages (PageID,PageID,PageID)     Unconditional
    50     Insert into Tables     PL/SQL anonymous block     Conditional
    My pl/sql code is the same as posted earlier.
    Upon inserting data into the forms and clicking the add button, I get this error...
    ORA-06550: line 1, column 102: PL/SQL: ORA-00904: "NOTES": invalid identifier ORA-06550: line 1, column 7: PL/SQL: SQL Statement ignored
         Error      Unable to process row of table EMPLOYEES.
    Is there something wrong with the pl/sql code or is it something else?

  • My i-tunes Wish List only shows the first page, it used to show all the pages- like the next page button is disconnected?

    My i-tunes Wish List only shows the first page- it used to show all the pages. Its a little like the next page button is disconnected?
    Any ideas?
    thanks
    Simon

    I would say all types. Any kind of document/ file that has multiple pages, I can't get to the next page.

  • I'm writing a report and need a title page, so I want the auto-numbering to start with the second page. So the title page is zero and the next page will read "1"

    I'm writing a report and need a title page, so I want the auto-numbering to start with the second page. So the title page is zero and the next page will read "1" How do I do this?

    Hi H4S,
    Click at the end of the Tile page.
    Menu > Insert > Section Break.
    Click in the second Section. Insert a page number in the Header or Footer.
    Inspector > Layout > Section:
    Regards,
    Ian.

Maybe you are looking for

  • Is it possible to migrate data from a 4.6C system to an ECC 6.0 system?

    Hello all, We have an ECC6.0/Oracle 11g system which runs Finance, Purchasing and Payroll/HR for our own organisation. We also have another 4.6C/Oracle9 system where we run only Payroll for another organisation. This is a separate landscape (Dev / Te

  • My Software No Longer Recognizes My Players

    +? I hope someone can help me wih this. I have a Zen Micro 6 GB, a Zen Stone Plus 2 GB, and a Zen X-Fi 8 GB. I love thema ll and they worked just perfectly. Last week I uninstalled Norton 360 and installed Kaspersky Internet Security 2009 (I am on Wi

  • Convert CMYK+SPOT (only selected bands) to RGB

    Hello, My context: I am dealing with multi-band TIFF files - CMYK + one or more SPOT colors. I am able to read the multi-band TIFF file using JAI and read the number of bands correctly. Also, I can read the value for any band for any pixel. For the S

  • PO - DTW

    2007B DTW Purchase Order I want to upload PO using DTW. Please explain the fields and templates to be filled. can the document series be included ? vijay Edited by: SU Vijay on Oct 16, 2008 10:55 AM

  • How do I get rid of the tuneupmymac ad?

    How do I get rid of the tuneupmymac ad?