Open an indd file

Hello,
CAn somebody help me?
I'm trying to open a file with the JavaScript code below, but I get a security error (no access to the file) Please tell me what is wrong...
I was told to use CreateObject, but that doesnt work in JavaScript/Jscript....
Code:
myIndesign = new ActiveXObject("IndesignServer.Application.CS3");
var myDocument = myIndesign.open("E:\test\tagged.indd", false);
Thanks,
Wim

Hi Wim,
Try:
var myDocument = myIndesign.open(File("/E/test/tagged.indd")), false);
Also, you may have problems with new ActiveXObject; use CreateObject instead.
Thanks,
Ole

Similar Messages

  • How to open an .indd file in commands

    does any one know how to open an .indd file in commands from a plugin(without opening from the normal procedure..File -> Open ...)
    in my plugin I tried,
      SDKFileOpenChooser fileChooser;
    fileChooser.AddAllFiles();
    fileChooser.ShowDialog();
         It shows the dialog window to choose a file. but i don't know what to use that file to be apperead in Indesign application.
    If you have any idea please let me know..

    Here's a sample function I use:
    // Create an OpenDocCmd:
            InterfacePtr<ICommand> openDocCmd(CmdUtils::CreateCommand(/*kOpenDocCmdBoss*/ kOpenFileCmdBoss));
            if (openDocCmd == nil)
                break;
            // Get an IOpenFileCmdData Interface for the OpenDocCmd:
            InterfacePtr<IOpenFileCmdData> openFileData(openDocCmd, IID_IOPENFILECMDDATA);
            if (openFileData == nil)
                break;
            // Set the IOpenFileCmdData Interface’s data:
            openFileData->Set(docSpec, uiFlags, openFlags ,IOpenFileCmdData::kNotUseLockFile);
            // Process the OpenDocCmd:
            error = CmdUtils::ProcessCommand(openDocCmd);
            if (error)
                break;
    // Create a layout window for the new doc:
            InterfacePtr<ICommand> newWinCmd(CmdUtils::CreateCommand(kOpenLayoutCmdBoss));
            newWinCmd->SetItemList(UIDList(*openDocCmd->GetItemList()));       
            error = CmdUtils::ProcessCommand(newWinCmd);
    Make sure of error checks!
    OR Search for SDKLayoutHelper Class Reference

  • How do I open an .indd file on a windows 8 OS?

    how do I open an .indd file on a windows 8 OS?

    You would need to purchase and install Adobe InDesign.

  • Problem with opening a indd file in CC 2014.

    When I'm trying to open a 5.5 .indd-file in CC 2014 on my Windows computer, I get this error message: 'Either the file does not exist or you do not have permission to open it or the file is used by another program'. However my collague has no problem with opening the document on his Mac computer. I guess it has something to do with a kind of setting in my CC 2014. Can anyone help me?

    Nothing to do with ID. It really means what it says - your file permissions are hosed and it being an ID file this could include things like fonts or placed images referenced within it.
    Mylenium

  • Cannot open CC, indd files saved in an earlier versions in CS6

    When attempting to open CC files inside of version CS6 that have been saved by students in version CS4 and later, I get the following message" Cannot open "fileName.indd" because it was saved with a newer version of Adobe  InDesign (CS7.0) You must use tht version or later to open the file... How can I open these files? I also get plugin messages.

    That's weird. But I guess they didn't properly Exported the file into an .idml file. Save As is different from File -> Export to idml
    If your student did just File -> Save As, thinking that Save As works just like MS Word that saving it will work with backward compatibility to a lower version of InDesign then probably it won't work.
    However, just ask them to Re-Export the file to .idml and see if you can open it in your InDesign CS6.

  • [AS] Can't open multiple indd files of a chosen folder

    Hi,
    I just can't get the opening of a bunch of indesign files inside a chosen folder with AS.
    I write this :
    --Prompt the user for a folder to be picked including indd files
    set
    b originfolder
    to (choose folder with prompt "Choisissez le dossier contenant les fichiers Indesign")
    --Try to open all the indd files included in the
    tell application "Adobe InDesign CS3" to open every file whose extension ends with ".indd" of folder
    b finalfolder
    end tell
    I am going nuts failing. I heard about a "creating list of files" way but when I try it, error says that it can't convert the files to a string.
    Hope someone can help. Thanks in advance.
    Loic

    Hi Larry,
    You 're right.
    This is the point, it works fine !
    thanks

  • Open multiple .indd files

    Hello,
    usually when I have to ask for opening a single .indd file I use something like this:
    fileToOpen = File.openDialog("Open a document");
    myDocument = app.open(File(fileToOpen.fullName));
    But what if I have to open multiple files at once (eg. selecting them from the Desktop)?
    I read from the Indesign object model that the "open" function of the "application" object can accept an array of files.. am I right?
    Thanks in advance

    @lglmrc – the openDialog() method comes with another argument for opening multiple files. That argument is set to "false" by default.
    Setting it to "true" is the key here:
    var FilesToOpen = File.openDialog("Open one or more documents", true);
    for(var n=0;n<FilesToOpen.length;n++){
        app.open(FilesToOpen[n]);
    Alternatively there is the openDlg() method, that also comes with the second argument.
    See also:
    http://jongware.mit.edu/idcs6js/pc_File.html#openDialog
    File openDialog (prompt: string[, filter: any=null][, multiSelect: bool=false])
    Opens a dialog so the user can select one or more files to open.
    Opens the built-in platform-specific file-browsing dialog in which a user can select an existing file or multiple files, and creates new File objects to represent the selected files.
    • If the user clicks OK, returns a File object for the selected file, or an array of objects if multiple files are selected.
    • If the user cancels, returns null.
    Uwe

  • InDesign CS 5.5 crashes when opening certain .indd file

    Hi guys our designer reported this issue and I believe it is likely an issue with the .indd file.
    File is found below:
    https://docs.google.com/open?id=0B76oDngKUDCFc25lSEhsZF9EVFU
    Windows 7 64 bit InDesign 7.5.2 CS 5.5. From our tests the file opens, but once we clicked on the file, InDesign crashes 'the following program has stopped working...'. Other .indd files seem to open fine, and this also occurs on our other workstation which is a Mac OS X 10.5 (same InDesign version)
    Would appreciate any assistance/recovery options, as the file is inaccessible to us.

    Won't even open here.
    If you can get it to pen, try exporting to .idml. See Remove minor corruption by exporting
    I don't think it will fix it, but it's less expensive than rebuilding or the Markzware recovery service (Bad InDesign or Quark File Recovery Submission Form) so it's worth a try.

  • Incopy crashes when opening large Indd-files

    We are publishers of a magazine. One layouter on Indesign, and two writers on Incopy. What happens frequently is, that after a while, when the Indd-file becomes fairly big, Incopy stalls on opening the file. Sometimes it opens it in text-mode, but we can't switch to layout-mode. But mostly we don't even come that far. Right now, we are unable to open the file at all under Incopy. We have NO idea how to troubleshoot this, and it's seems independent of size, because we can open other large files. But it regularly happens with our magazine, once the file gets filled with graphics. Is there a log-file that would give us a clue what is happening?

    We are having a similar issue. We have 230 some links in inDesign. When our editor opens the file in incopy it spins and then crashes if we wait long enough. We did get a crash report.
    We checked and recreated all the links however incopy still fails to open. File still works fine in indesign. We to have been unable to isolate the source of the problem.
    Process:         Adobe InCopy CS6 [15554]
    Path: /Applications/Adobe InCopy CS6/Adobe InCopy CS6.app/Contents/MacOS/Adobe InCopy CS6
    Identifier: com.adobe.InCopy
    Version: 8.0.1.406 (8010)
    Code Type:       X86 (Native)
    Parent Process: launchd [14102]
    Date/Time: 2013-04-26 10:05:00.418 -0400
    OS Version:      Mac OS X 10.6.8 (10K549)
    Report Version:  6
    Interval Since Last Report:          121909 sec
    Crashes Since Last Report:           10
    Per-App Interval Since Last Report:  34426 sec
    Per-App Crashes Since Last Report:   5
    Anonymous UUID: 6C1B710E-D18A-4F99-9EE5-A824377A122F
    Exception Type: EXC_CRASH (SIGABRT)
    Exception Codes: 0x0000000000000000, 0x0000000000000000
    Crashed Thread: 0  Dispatch queue: com.apple.main-thread

  • When I open an indd file in InDesign CC, first it says file converting, then I get font errors?

    Can someone please help.
    thanks!

    Peter,
    I didnt buy the licenses, I had the person who originally built the document send me the files, however its still not working.  I have the files in a Document Fonts folder in the same file where the indd file is located.
    Should I put the Document Fonts folder in the file labeled fonts within InDesign under program files?
    The file came to me as a zip file and when opening it, it asked if I would like to encrypt the files, when i agreed it said there were errors in encrypting the Document Fonts. I really dont know what else to do?

  • How to open Indesign indd file?

    Hi,
    I have a problem with opening .indd file writes me an error:
    Cannot open the file book.INDD. Adobe InDesign may not support the file format, a plug-in that supports the file format may be missing, or the file may be open in another application.
    Can you help?
    Yesterday I saved the file, and today when I went to open it so I can not do it.
    I have InDesign CS6 / Windows 8.1.
    Please help me.

    I tried open as a copy (copy = move original file to another folder) but still same error.
    Also i tried INDDRecovery but here is error: Bad file signature, file incorrect.
    I cant open in the Notepad because when i try notepad error: file is too large for Notepad.
    I tried in TotalCommander View(Lister): 
      íőŘ Fĺ˝1ďçţt· DOCUMENT p           9    đ                   u               ƒ™  îJ      Ý           '   ±ă=     Ć  
    ŞN     6#  ˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙˙
    In LargeTextFilesReader:
      ��� F�1���t� DOCUMENT p
    �N
    �N
    p
      ��� F�1���t� DOCUMENT p
    �N
    �N
    p
    q
    r
    s
    t
    u
    v

  • Can I write the UID of a textframe into indd file ,and restore the uid when I open the indd file again

    I create a UID list for textframe, and I add Some extra properties the textframe,  now I want store these properties into  INDD file , and expecte to restore these properties from INDD file again when
    I  open the it again . anyone could tell me how to do this ,thanks in advance.

    Why don't you save the properties on the textframes itself by adding a of a persistent interface on the textframes. This way you will be able modify/restore(based on the persisted values) textframes each time the document is opened. Refer to BasicPersistence sample plugin to get an idea on how persistence works in InDesign. Also regarding restoring the UID, i don't quite get the need for it. Every object(well most of them) in InDesign has a unique ID which is called UID, this is allocated automatically and remains the same between document open sessions. I can't see any circumstance where we have a need to apply a particular UID to a particular object.
    Hope this info helps
    Thanks,
    Manan

  • InDesign crashes every time you double click to open an .indd file on Windows system

    InDesign crashes every single time you double click to open an InDesign file and has done so since replacement of the original version of InDesign introduced in the Creative Cloud launch.  Does anyone else have this problem?  I'd say it was unique to my system if I hadn't experienced the issue repeatedly on several different systems now.  You have to relaunch InDesign which then opens the file from recovery, so it saw the file you tried to launch in the first place.  This leads me to believe the problem lies with the file association registry of InDesign inside Windows systems.  I find it unbelievable that this problem still exists and remains unreported and that a solution hasn't been implemented by Adobe to rectify the issue.
    The double click is a fundamental tenant of opening files on a Windows system in the same way a single click is on a Mac.  Does InDesign crash ever time a Mac user clicks to open their files, I think not.
    Anyone got any ideas other than the obvious which is Adobe actually got their figure out and fixed it.
    Cheers,
    Pat Doyle

    Hi Michael,
    I'll give it a go.  Don't really like messing with the registry on Windows boxes.  Yes you can do it, but it can end up being a case of the operation was a success, but the patient died.
    Just was rather hoping someone else had already experienced this problem and posted the registry tweak.  Didn't want spend hours reinventing the wheel.  Not because I'm lazy, but I have so many demands on my time that resolving a minor issue that effects me only seems like it should be pretty low priority.
    The system I'm using is brand new, but the problem seems to have followed me regardless which may indicate that it is seated in my synchronization information somehow.  Really don't know how that could happen as I'm not an Adobe engineer or have the remotest idea where to even start looking.  So I think I'll mark your suggestion as the "Answer" and just learn to live with it.
    Windows eh! Can't live with - can't live without it.  I'm sure Mac can be just as temperamental. Just have to chalk this one up as being just another ghost in the machine.
    Thanks for all the advice you have kindly offered, much appreciated.
    Cheers,
    Pat Doyle

  • Failed to open a .indd file

    Hi, everyone
    I have a problem with some .indd files, these files are on a NAS server. My problem that i can't some files with Indesign CS6. I have an error message that the file is used by another user, but there is no one except me using this file.
    Those file was created with indesign CS3. The weird thing, there is file that work and other doesn't work.
    SO if anyone can help to resolve this problem, it very urgent and important ?
    Thanks in advance
    Best regards

    Je réponds en français, car j'imagine que ce sera plus simple…
    J'ai téléchargé les 2 fichiers, et comme tout le monde, j'ai essayé de les ouvrir. Impossible, que ce soit avec CS4, CS5.5, CS6 et CC. Toujours le même message.
    J'ai essayé de l'exporter en idml avant de l'ouvrir avec le script // blindOpen_and_IDML-Export, sans succès. En dernier recours, j'ai essayé d'importer ce fichier dans un autre doc InDesign. Ça n'a pas fonctionné, mais j'ai noté une chose étrange : en affichant les options d'importation en l'important, la boîte de dialogue qui est apparue est celle que l'on obtient habituellement en important un fichier .txt
    Je suis bien incapable d'expliquer pourquoi ce fichier est considéré comme étant un fichier texte, mais c'est pourtant ce qui se passe.

  • InDesign CC crashes when opening CS6 indd file... help?!

    New computer, Windows 8 64-bit, fresh install of Adobe CC. Installed InDesign CC, tried opening my CS6 book project (has about 19 indd documents in it) and CRASH "Adobe InDesign CC has stopped working". No reports or logs that I can see. I was working with these files with InDesign CS6 on another machine yesterday.
    Been through enough InDesign updates to know that this is definitely not normal.
    Any help here? I can't work until this is sorted out.

    I tried this advice and it is still not helping me. I saved my cs6 files as .idml and it's still crashing like crazy whenever I open. I tried trashing my preferences, still does not help.
    HELP ME, my indesign CC is useless.

Maybe you are looking for