I get an error of invalid object by using the following page duplication script, no idea why?

var app.documents.item('C:\Users\jdoe\Desktop\Source.indd = myDocument');

var sourcePages = myDocument.pages.item (0);

sourcePages.duplicate (LocationOptions.AFTER, app.layoutWindows [0] .activePage);

I'm looking to duplicate a page of a specific document and place it just after the current active page.

the document is opened?

myDocument var = app.documents.item ('Source.indd');

or

var app.open (File('C:\Users\jdoe\Desktop\Source.indd'));) = myDocument

Tags: InDesign

Similar Questions

  • I get this error message, "could not not use the tool pen because of a program error."  What should I do to fix this?

    Like the above statement, I get this error message, "could not not use the tool pen because of a program error."  What should I do to fix this?   I use PhotoshopCC a lot for work, so if someone could help me quickly, I would be grateful.

    Please read this and acts accordingly (restoration of preferences after making sure all custom presets, actions, patterns, brushes etc. have been registered may be of special interest):

    t http://blogs.Adobe.com/Crawlspace/2012/07/Photoshop-basic-troubleshooting-steps-to-fix-MOS - issues.html

    http://forums.Adobe.com/docs/doc-2325

  • Error when I import classes using the JSP page directive

    Hi all!

    I installed JDeveloper 11 g (11.1.1.3.0)

    My applications are found in the C:\dir (JDEV_USER_DIR = C:\dir)
    I created the application "Appliation1". In it, I created 2 projects (Project1, inside session entity beans and other classes of java;) Project2, inside JSP).
    I want to import classes of Project1 in Project2 using the following directive:
    ----------------------------------------------------------------------------------------
    < % @ page contentType = text/html"; charset = windows-1252 ".
    import="Project1.*"% >
    ----------------------------------------------------------------------------------------
    so in Project2 project properties set the way to classes in Project1.
    When I run JSP, an error has occurred:
    Error (4.9): the Project1 to import cannot be solved.

    Maybe that I am not correctly defined the path to classes

    Thanks in advance.

    Hello
    Try the project properties/project source paths/resources
    or
    Properties/project dependencies

    then restart

    concerning

  • I am trying to reinstall Flash CS4 professional as the script action does not work, but now I get an error: 2 message when I use the original CD to reinstall

    I can't get the original disc work on resettlement.  I get the message

    AdobeColorCommonSetRGB

    Error:

    Error 2.

    I'm teaching a class using this program on Macintoshes running 10.9.5 and action script does not work.  It will work on any program designed by using the 10.8, but if you create an animation on 10.9.5 the action script will not work for buttons

    You must manually remove the color in question profiles... Run the cleanup tool and see if it's to help you get started.

    http://www.Adobe.com/support/contact/cscleanertool.html

    Mylenium

  • I get this error that I have never used the product before. Could not create the required folder: davidzavala/Users / / Library/Application Support/Adobe/Lightroom/develop Presets.

    I don't know where to start to go wrong this problem. I paid for this Lightroom stand-alone version and I can't go beyond this error. I uninstalled the program and reinstalled but the error persists. I am running OS X El Capitan 10.11.2Mid 2010

    It was the answer for me

    Hello

    Please try below steps:

    1. close Lightroom

    2. open Finder and click on go (in the menu bar) and choose go to folder

    3. tap ~/library and click Go

    4. open the Application Support > Adobe

    5 rename the old folder Lightroom in Lightroom

    6. start Lightroom to make sure it loads well

    Kind regards

    Claes

  • Objects appear on the following pages all the

    Hi all

    I took a concept from a brothers of e-Learning template and copied the graphics for my own project. Unfortunately, the graphics is repeated on all subsequent pages of my project. they do the same on the source model. Should what settings I change to stop what is happening?

    BTW, the source model is 184052-direct-slider-Bottom-Captivate-Interaction.

    TIA

    Andrew

    I hope that someone of e-learning that brothers will jump. You can't wait a few people answering questions here (all in their free time, users like you and me) to know the ins and outs of all these models. I've never used one.

    Just a tip: you can check the Panel schedule for these "graphics"? And you are sure you don't post them on the slide master?

  • I GET AN ERROR AFTER EACH UPDATE/MAINTENANCE OF THE GAME, CABAL ONLINE. ERROR MSG: 16-BIT subsystem "ERROR: NTVDM CPU has encountered an invalid statement." Close to terminate the program.

    I GET AN ERROR AFTER EACH UPDATE/MAINTENANCE OF THE GAME, CABAL ONLINE. ERROR MSG: 16-BIT subsystem "ERROR:"NTVDM CPU has met an invalid statement. " Close to terminate the program. "The file may be corrupt is either the update.exe from the game or the command.com in windows system32. This has happened before, and the only thing that I did to get the game back is to perform a system recovery (which im gona not remake). I want to know how to prevent the "update.exe" or command.com to be corrupted every update of the game. I tried to contact the manufacturer of the game, but they do not seem to respond immediately. and their forums are not as useful as I thought it would be. PLEASE HELP ME!

    fl0bot,
    The message you are getting means that there is some corrupt system files that could not be fixed.  If you look in the CBS.log file , it should tell you which files.  When you do that, you can try to replace the corrupt files.  However this seems to happen whenever you update it a game then you will need to contact their support for aid as this can be a problem for them.  Mike - Engineer Support Microsoft Answers
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • When I try to install, I get an error message "invalid serial number." I don't remember how much I'm allowed to install on computers and there may be an upgrade, I need?

    When I try to install, I get an error message "invalid serial number." I don't remember how much I'm allowed to install on computers and there may be an upgrade, I need?

    Hello

    Please see this link for more details: error of incorrect serial number

  • I'm trying to install Office note 8.1 but get this error message immediately after you enter the serial number and authentication code.

    Remark Office OMR

    I've been remark office omr 8.1 installed on 32-bit windows vista (intel pentium DC) for the last year laptop. Now plan to move it to a more recent hardware and the OS.

    I'm trying to install Office note 8.1 on Windows 7 Home Basic 64 bit (on laptop AMD E450 DC base). But am getting this error message immediately after you enter the serial number and authentication code. I tried to install different versions of the .net Framework (from 1.1 to 4), but nothing seems to solve the problem.

    I even tried to install it in mode compatibality. but no luck.

    Here is the error message (between BEGIN and END lines)

    -BEGIN-

    An error occurred instantiating the object of authentication. Please restart your computer, and they run the Setup again.
    Error number = 2147219705

    Error = description

    ------ END--------

    Appreciate any help

    Thank you

    SJ

    Just for the follow-up of this: I have sent comments, and they responded in 20 minutes with:

    Please contact the Support of the note.  I'm sorry that you are experiencing this error, but it seems by the error message that you install note on a Windows 7 computer.  This error is caused by a Microsoft security update that was released in July 2011 for Windows 7 and caused upward to change our software.  Here is access to our Download Center for you to install the version 8.4 of note.  You will use your current serial number, license key and authentication code.
    They then provided a link to their Download Center where I could download 8.4
    E - mailer to * address email is removed from the privacy * and they will answer you. They have great customer service.
  • When I try to connect directly in multiplayer FSX without gamespy, every time I get an error message saying: unable to create the connection to the host.

    When I try to connect directly in multiplayer FSX without gamespy, every time I get an error message saying: unable to create the connection to the host.

    I need help
    Kind regards

    Thank you very much!

    To host successfully a FSX session what follows is the key enabling

    my client (s) to join my host FSX session!

    "Players Maximum (for a shared together plane 2) leave the locations reserved for friends to 0 set."

    6122 6112 UDP port translation FSX multiplayer traffic of my remote 2 wire gateway to my router Linksys Wireless N DMZ to access game FSX host...

    Only a single router in my configuration of the DMZ, the external network to the router,

    in this case, the 2 wires, had defined port forwarding.

    Am now enjoying Gamespy (R.I.P.) FSX free hosting for my MP FSX sessions via direct connection.

    5 high to the author!

  • When I try to send a picture through Windows Live Mail I get an error message telling me to delete the picture, and then try again.

    When I try to send a picture through Windows Live Mail I get an error message telling me to delete the picture, and then try again.

    original title: RECEIVES the MESSAGE of ERROR WHILE SENDING AND RECEIVING PHOTOS

    Hello Jane,.

    The best place to ask your question of Windows Live is inside Windows Live help forums. Experts specialize in all things, Windows Live, and would be delighted to help you with your questions. Please choose a product below to be redirected to the appropriate community:

     

    Windows Live Mail

    Windows Live Hotmail

    Windows Live Messenger

     

    Looking for a different product to Windows Live? Visit the home page Windows Live Help for the complete list of Windows Live forums to www.windowslivehelp.com.

  • I can't use windows update. I get an error when I try to use it.

    I can't use windows update. I get an error when I try to use it. Someone knows how to solve this problem

    Original title: I have a desktop pc with windows xp, I can't use windows update. An error when I try to use it. Someone has any idea how to solve this problem.

    You must be at Service Pack 3 level before you can use Windows updates.

    To determine which service pack is currently installed on your computer, follow these steps:

    1. Click Startand then click run.
    2. Copy and paste, or type the following command, and then click OK:

    winver

    A dialog box displays the version of Windows and the service pack that is currently installed on your computer.

    If you haven't already done so, you will need to install the SP2 and SP3 (SP1 note no longer exists).

    How to obtain the latest Windows XP service pack

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

    SP2 - http://www.microsoft.com/en-us/download/details.aspx?id=28 (for single PCs too)

    For Windows XP Service Pack 2 installation procedure

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

    Steps to take before you install Windows XP Service Pack 3 http://support.microsoft.com/kb/950717

    It is stated in "How to obtain the latest service pack XP" is.

    If you have problems obtaining the service pack from Windows Update, you can download the package of standalone update from the Download Center. This page will say that this installation package is intended for it professionals and developers. However, you can download this file safely. The following file is available for download from the Microsoft Download Center:

    See also: http://support.microsoft.com/kb/2497281

    April 8, 2014, support and updates for Windows XP will be more available. Don't let not your PC not protected.

    http://Windows.Microsoft.com/en-AU/Windows/end-support-help

  • 0 x 80240036 get this error code and don't do the update.

    0 x 80240036 get this error code and don't do the update. Message says "the website has encountered a problem and cannot display the page you are trying to view. The options provided below may help you solve the problem. Ive tried for three days to do the update and I tried at home and at the office, but I get this message.

    I have updated to internet explorer 8, and then it worked.

  • I can't uninstall the old Java version 6 update 29. I get a "error code 1606: could not locate the directory."

    I am running Windows XP SP3, I can't uninstall the old java version 6 update 29, I get a "error code 1606: could not locate the directory... fatal error" How can I remove the old version of java?  I tried to uninstall regedit.exe, javaRa and windows unsuccessfully capability.  I uninstalled java, deleted the program file, but the version 6 29 poster update still in the program directory.  Help, please!

    original title: uninstall older versions of Java
    Hello
     
    Method 1:
    Check out the link and follow the steps.
     
    After uninstalling Java, how to remove its entry in the windows?
     
    Method 2:
     
    See the article and follow the steps.
     
    Error message when you install a program: "Error 1606. Could not access the network location. "All the users\ directory '
     
     
    Method 3:
    Check out the link and follow the steps.

    Download errors: 1305, 2755, 1606, etc..
    http://www.Java.com/en/download/help/error_installshield.XML
    Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click on the number below to view the article in the Microsoft Knowledge Base: 322756 (http://support.microsoft.com/kb/322756/ ) how to back up and restore the registry in Windows
  • Get 800b0100 error when you try to install the update KB905866 (Mail filter spam for x 64 systems) in Vista

    Get 800b0100 error when you try to install the update KB905866 (Mail filter spam for x 64 systems). It keeps failing even though I followed the steps all the recommended (in aid) and installed some other stuff.  Tried several times but nothing helped.  I saw a recommendation to install a Wups2.dll file but do not know if I should do it because the recommendation is for Windows XP and I have Vista Home.

    Hello

    I suggest check the link below and try do a SFC (System File Checker) scan and check if it helps.

    How to use the System File Checker tool to fix the system files missing or corrupted on Windows Vista or Windows 7

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

    I would also say that you reset Windows update components and check if this may help.

    How to reset the Windows Update components?

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

Maybe you are looking for