Moving grouped content from one page to another (javascript - InDesign)

Can someone show a simple solution on how to move a group selected items include the text and graphics from one page to another page in the same document using javascript for scripting InDesign 5.5. Thank you!

You cannot determine where the item is placed, it is an operation of both parties. If you want to save & restore the original location, try this:

ypos = app.selection[0].geometricBounds[0];
xpos = app.selection[0].geometricBounds[1];
app.selection[0].move (app.activeDocument.pages[1]);
app.selection[0].move ( [ xpos, ypos] );

This fails on a spread when you try to move something to a page in the left hand to the right hand one or conversely, as by default, InDesign treats spreads as a single unit of basic, no pages - you move your article to the correct spread, but not on the right page, and it seems on the same half of the spread that he was from. If there is a problem, you can experiment with changing the options of rule (by spreading, by page, etc.) and see if it works for you.

Tags: InDesign

Similar Questions

  • Model slightly moving content from one page to another?

    Hi people,

    I use Dreamweaver MX (Yes, I know) on OS x 10.6.8 and I have problems with the content of the navigation in the models of moving slightly to the left and right between pages almost as created.

    See example in http://www.darrylvance.com/design_print.html and note the movement during the passage of the subpages (which are in the same position) back to the print, motion, other pages, etc..

    Top level pages have been created using a template (for navigation) and the subpages of printing have been created using a new model, which is identical to the first, except that there are navigation links added below.

    Another example is http://www.darrylvance.com/art_painting.html where the same model has been used for ALL pages, but the other and on the pages have a similar scale as in the first example.

    I'm assuming that the width of the content of the pages is causing these specific shifts, which are never seen in DW but appear when in the browser.  I rebuilt and rebuilt the offenders of the same correct pages and changed the width of the content, but I still get the same problem.

    I guess that there is some kind of anomaly in the table settings, but for the life of me I can't find.

    Thanks for your help.

    DV

    D M Vance wrote:

    The tutorial that you referenced uses a CSS style, but I'm not (AFAIK)

    No, you're not. Time to start. To maintain your site much easier.

    Linked to the head of your template CSS file contains the HTML code so it doesn't help.

    In your model, change

    ""... / 2011%20darrylvance.com/noline.css "rel ="stylesheet"type ="text/css">" "

    .

    TO

    NoLine.CSS"rel ="stylesheet"type ="text/css">" "

    Save the template and update all the child pages.

    Create a file only empty text named noline.css and insert:

    HTML {}

    Overflow-y: scroll;

    }

    Save inline.css in the directory of your Web site and upload to the server.

  • Why do I get a minimal movement of my design from one page to another?

    I copied the content from one page to another and then changed some text - when I saw I find design moves a few mm of one page to the other - the design is minimal, so it is really obvious. Thank you

    It's ok - it worked

  • How to remove white screen when you navigate from one page to another in Webworks BB?

    Hi all

    I have developed a web application for Blackberry using Blackberry webworks SDK... I created the package using emulator Ripple... In that when you navigate from one page to another page... coming white screen... How to remove this white screen... and instead of the definition of the loading screen in web application... Please me... Thank you very much in advance...

    With respect,

    Marimuthu_P

    normally it is not a white screen to navigate. You can view data-bb-effect as "bland" for the transition to the screen:

    https://github.com/BlackBerry/bbUI.js/wiki/screens

    second thing, is to use the activity indicator for loading (pending content):

    https://github.com/BlackBerry/bbUI.js/wiki/activity-indicator

  • Best way to move data from one page to another within the app

    Hi all as I started to write that and was way to complicated to explain in full without a novel.

    Brief description. I use the query string that begins in the parent (from href in JSON) window must then be moved in the iframe url when moving to other pages to avoid security as a page and iframe is conflicting http and https. and are not accessible... It seems that there must be a better way.

    So my question is what is the best way in a platform open to move data from one page to another?

    You do it this way, it's in the menu.json, but when you work within the iframe and if your loading pages in applications using vairable relative URLS cross they come through.
    Discovered only this framework using the browser and you can se the construction and scope of all URLS used.

    The apps are sandboxed you cannot access aything in the parent frame, this is a feature of derliberate if something you can not do.

    As I said, you have a few methods to your own data storage space.

  • How to navigate from one page to another page.

    I'm trying my hands on Flex by building a sample application.

    After the user connects I want it to be on the home page. So in Flex how to navigate from one page to another on certain conditions?

    A way I thought is to make invisible visible n components, but which does not seem a good idea.

    What approach allows us to reach this goal?

    Please suggest.

    For your scenario, you really have to use the ViewStack (do not use States for this).

    Here is a link:

    http://livedocs.Adobe.com/Flex/3/HTML/Help.HTML?content=navigators_3.html

    And here is a very simple code:


    http://www.Adobe.com/2006/mxml">
     
     
       
         
       

       
         
       

       
         
       

       
         
       

     

    If this post answers your question or assistance, please mark it as such.

  • How to manage the attribute date, passing the parameter from one page to another

    Hi friends,

    I want to spend attribute data from one page to another page-

    I'm passing as below, in the log window jdev I get error below.
    String StatusUpdateDate = row.getAttribute ("StatusUpdateDate");
    params.put ("StatusUpdateDate", StatusUpdateDate)
    Error (121.50): incompatible types. found: java.lang.Object, required: java.lang.String


    Suppose that I'm passing as below, while moving from one page to the other, I am getting error in the application below
    String StatusUpdateDate = row.getAttribute("StatusUpdateDate").toString)
    Date of update of State - Houston-25009: failed to create an object of type: oracle.jbo.domain.Date with value: 26-MAR-2009

    Please you can suggest me how to handle this error.


    Thank you and best regards,
    Vandenplas

    Hello

    Vandenplas

    you're right, this method is to launch error, which is why I got, bcz timstamp is also not implmenting Serializable interface, is there he throwing error at run time

    u just go this way

    another page of request-Destination page Controller-Process-

    Add a new line below the following line

    DATE StatusUpdateDate = (DATE) pageContext.getTransactionTransientValue ("StatusUpdateDate");

    String stringStatusUpdateDate = StatusUpdateDate.toString ();

    and also in your AM CODE

    change your method like this

    public void testselection (String Name, String Email, String product, the string, String StatusUpdateDate)

    hope this will solve the problem

    thanx

    Pratap

  • Navigate from one page to another programmatically

    Hello

    12.1.3 Jdev

    I want to navigate from one page to another on a button click.

    I used the below code 2 and both works fine. I wanted to know what the difference is in the present and what is the best practice.

    #1

            FacesContext context = FacesContext.getCurrentInstance();
            Application app = context.getApplication();
            NavigationHandler handler = app.getNavigationHandler();
            handler.handleNavigation(context, null, "goHome");
    

    #2

            String loginUrl = "/adfAuthentication?success_url=/faces/home.jsf";
            FacesContext ctx = FacesContext.getCurrentInstance();
            HttpServletRequest request = (HttpServletRequest) ctx.getExternalContext().getRequest();
            HttpServletResponse response = (HttpServletResponse) ctx.getExternalContext().getResponse();
            RequestDispatcher dispatcher = request.getRequestDispatcher(loginUrl);
            try {
                dispatcher.forward(request, response);
            } catch (ServletException se) {
                reportUnexpectedLoginError("ServletException", se);
            } catch (IOException ie) {
                reportUnexpectedLoginError("IOException", ie);
            }
            ctx.responseComplete();
    

    See you soon

    AJ

    You can use the actionListener to the button for the action before the navigation and the action itself do navigation.

    Timo

  • How nagivate values from one page to another page as well assured in different modules like po and pon

    How nagivate values from one page to another page as well assured in different modules like po and pon?

    I tried using the session values, hashmap, and Transaction. But none worked.

    Please help me on this.

    Dilip thanks.

    My problem is solved.

    I solved the issue.using the main concepts of java.

    By importing a package into other package and then instantiate the required class.

    Kind regards

    2793235.

  • When I copy something from one page to another, it seems to change text color or background, that I do not understand why he never used to do.

    When I copy something from one page to another, it seems to change text color or background, that I do not understand why he never used to do.

    Whether it's text or only a shape it changes its color to something else when I copy and paste on.

    Do you mean 'page' or 'site '?

    If you copy something from another site, the reason may be, to have different, but all also named colours on each site.

    It would be normal and causes the noticed effect.

  • I wish I could drag and drop items from one page to another of the window of the plan. Is this possible?

    In desiging my site, I want to be able to move items from one page to another by drag-and - drop from the flat screen of architecture. It would also help if the window could have a zoom in and out function to facilitate this.

    I just tried to zoom in the map window and discovered that it works.

  • Error in the runing a page after moving jdev file from one directory to another

    Hi all

    I just moved the home folder from one computer to another jdev

    the old road was like that

    C:/jdevhome/jdev/jdev.


    the news is:


    D:/trainees/ABOUTABITAfaf / jdev/jdevhome/jdev /

    I set up the computer in the new environment: I created with the new path environment variable and reconfigured the run setting by giving the new path to the dbc file

    I tried the link and it works

    When I want to start a page, I have this error

    Error: The specified path was not found

    07/15/06 10:09:18 [SERIOUS]: error instantiating application file:/C:/jdev/jdevhome/jdev/system/oracle.j2ee.10.1.3.41.57/embedded-oc4j/config/apps_media-app.xml: could not get ApplicationConfig for APPS_OA: IO error reading APPS_OA

    07/15/06 10:09:18 [SERIOUS]: can not update a configuration file because instantiation of application is down. Fix instantiation and restart oc4j.

    07/15/06 10:09:19 server initialization error: at least one valid source code or import-shared-library is required pour the shared-library "global.libraries" element in D:/Stagiaires/ABOUTABITAfaf/jdev/jdevhome/jdev/system/oracle.j2ee.10.1.3.41.57/embedded-oc4j/config/server.xml.

    07/15/06 10:09:19 fatal error: outgoing server

    Process has finished with exit code 1.

    I don't know what is causing the problem. It is clear that somewhere, there is always a relative path to change, but I don't know what to change

    Can someone help me please?

    Open the .jpr file in a text editor and find your old path and replace.

    Update the values for: JDEV_INSTALL_URL & PROJECT_URL.

    Another option is to create a dummy project in the new Jdeveloper and copy your folder (the one inside the the myProjects) and replace.

  • Copy layers or pieces of a layer from one page to another, without masters?

    How can I copy layers or pieces of one page to another? I created a master and I want to create a second master who uses much of the same configuration, but I need to go to enter a photo in the background. However, the only quick way to get menus and headers of the first master in the second master is actually the master award, but then I can't move the picture on the back at all. Is there a way I can copy these menus and such in a new master without having that him attributed to the first master?

    In your site map, right click on the mask that you want to use as a second master and choose 'double page'. This will create a new master with all elements of the first master, but can be edited separately from the first menu.

    If I understand what you were trying to do this should work for you.

  • Cyan fails from one page to another on Officejet Pro K8600

    I have an Officejet Pro K8600, installed on XP. A nearly full cyan stopped working in the middle of printing from one page to the other - tried all the patches.  No msg error - says all cartridges are full. Buy HP new cartridge, always did the same thing. I uninstalled and reinstalled this morning. First page of diagnostics showed labour cyan on the first block, broken on the second line. Then would not work again at all. Do I need a new print head? The health of the print head shows that both are OK. Thank you! Very frustrating. It's a good printer!

    The Officejet Pro K8600 has ink cartridges that are separated from the print head Assembly.  The pipes of the unit ink cartridges in the front lower left of the printer internal for the print heads.  With this type of printing mechanism, a print quality problem, for example a missing color, usually resides in the printheads of the unit.

    I'll try to run 3 levels of the print head cleaning utility in the part of the Toolbox of the software for this printer.  Thus, there is a document with steps to help solve a problem of print quality in the K8600.  The document can be accessed here.

    Let me know how it goes.

  • What are the computer causes to jump from one page to another while on internet

    When I go from one page to the other page would go back to page to page without doing me anything

    Hello

    1. what browser do you use?

    If you use Internet explorer, then follow these steps and check if that helps:

    Method 1:

    Try to run Internet explorer mode without modules and check to see if the same problem happens:

    http://Windows.Microsoft.com/en-us/Windows7/Internet-Explorer-Add-ons-frequently-asked-questions

    Method 2:

    Try to optimize Internet explorer and check to see if it helps:

    http://Windows.Microsoft.com/en-us/Windows/help/Internet-Explorer/slow-five-tips-to-boost-performance

    Method 3:

    Try to perform the clean boot and check if it helps:

    http://support.Microsoft.com/kb/929135

    NOTE: When you are finished troubleshooting, make sure that restore you the computer mode normal startup such as suggested in step 7 of the above article.

    It will be useful.

Maybe you are looking for

  • Address book has exploded. Now iCloud does not recognize my Mac Pro, when you try to download the database fixed.

    For the second time in a year, my 'Contacts' times of 500 entires to 20,000. One card has become 5 to 15 each. How? Why? 24 hours later, I have an address book * *.abbu backup file cleaned up and ready for download. My Mac Pro (Mac OS 10.7.5) uses ad

  • Why is the first tab in a window now hidden! ???

    Using Firefox 7.0.1 w / Mac OS 10.6.8 for awhile now, but suddenly I noticed that the first tab in a window becomes hidden. Then on the tab bar, I have only the + add-a-tab tab, then the 2nd added tab and beyond. I can only decipher which is the firs

  • Satellite Pro A120 - clock system is slow

    Hi all, Since a few days on my Satellite Pro A120 Windows XP system clock is slow (the data are correct).Usually I realize it after turning on the laptop, sometimes even when the operating system is woking! I tried all types of virus/malware/spyware

  • How do you know if you run a file exe or vi

    My research skills suck today. I'm building an exe using the path of the application to find some files that must be included.  It works very well in the exe, but when the VI changes all paths are broken due to the path of the application.  But I rem

  • Inspiron 3452 32 GB flash too small

    I recently bought a laptop computer Inspiron 3452. The 32 GB Flash drive was preinstalled with Windows 10. After installing patches and put in place MS OneDrive, there are only 2 GB free on a total of 29 GB available. When Windows 10 build 1510 try t