[CS4][AS] Detect problems when opening document

Hi,
Can anyone please help me?
I'm trying to write a applescript that opens a indesign file, prints the document, and closes the file again.
Everything works fine but when a file is opend, and there are some missing plugings, assignments, fonts, images, .... the script stops.
How can I  detect if a error appears when opening a file? The file then has to be ignored...
How can I detect if anything is missing before printing the file?
Thanks
the script:
tell application "Adobe InDesign CS4"
set myDocument to open inInputFile
print active document using "HighresPreset" without print dialog
close active document saving no
end tell

Hi:
Sometimes you may want your script to proceed even if there are errors opening it. In that case, you can use the Preferences Suite -> Script Preference for user interaction level:
tell application "Adobe InDesign CS4"
   tell script preferences
      return user interaction level -- see what it's set to currently
      --set user interaction level to never interact -- change it
   end tell
end tell

Similar Messages

  • Error when opening document with ECL control: INVALID_DATA

    Hi Gurus,
    I've tried to search the net for this problem but could not find anything and I'm stuck now.
    Description:
    we're using ECL to view attached documents (to POs etc.) which are stored through ArchiveLink on the content repository.
    when we try to open this document, time-to-time we get following error:
    Error when opening document with ECL control: INVALID_DATA
    Message no. SDV004
    by time-to-time I mean that when we try to open same attachment again it opens successfully (sometimes we need to re-open it 3-4 times to get it)
    what we've tried is to enlarge timeout for HTTP protocol (tx SMICM, from former 30 to actual 60) but only effect we got is that we're waiting for the error longer time
    It will be really great if anybody of you guys can give me an advice where the problem can be or where should I look and what to check
    Thanks,
    David

    Hi Christoph,
    thanks for tip, unfortunately this was already flagged, currently settings are:
    for Display Settings:
    yes - include ECL control
    use HTML control
    empty - maximum viewer wait time
    (do you think that setting some value for this could help)
    yes - deactivate generic object services in viewer
    no - doc display as dialog box
    yes - deactivate data provider cache
    Storage Settings:
    yes - always copy document class from document type
    yes - permit multiple assignment
    Thanks,
    David

  • How to solve the problem when opening program illustrator cs6 ERROR: 16 It is WINDOWS 8.1 / 64 BIT help please

    how to solve the problem when opening program illustrator cs6
    ERROR: 16
    It is WINDOWS 8.1 / 64 BIT
    help please

    Thanks, Jeff! The file Adobe Setup Error.log contains the following information:
    02/14/14 07:20:26:474 | [INFO] |  | OOBE | DE |  |  |  | 8860 | DEVersion: 5.0.0.0
    02/14/14 07:20:26:475 | [INFO] |  | OOBE | DE |  |  |  | 8860 | Loading library from C:\Program Files (x86)\Common Files\Adobe\OOBE\PDApp\DECore\DE5\Setup.dll
    [    8860] Fri Feb 14 07:20:26 2014  INFO
    ::START TIMER:: [Total Timer]
    CHECK: Single instance running
    CHECK : Credentials
    Load Deployment File
    CHECK : Another Native OS installer already running
    Create Required Folders
    Assuming uninstall mode
    Lookup for master payload
    [    8860] Fri Feb 14 07:20:26 2014 ERROR
    DW040: The product "{893B3B44-0A1E-404B-8FE8-0A74509102A9}" is not installed. Cannot proceed with the uninstall
    [    8860] Fri Feb 14 07:20:26 2014  INFO
    :: END TIMER :: [Total Timer] took 6.90443 milliseconds (0.00690443 seconds) DTR = 579.338 KBPS (0.56576 MBPS)
    -------------------------------------- Summary --------------------------------------
    - 0 fatal error(s), 1 error(s), 0 warning(s)
    ERROR: DW040: The product "{893B3B44-0A1E-404B-8FE8-0A74509102A9}" is not installed. Cannot proceed with the uninstall
    Please search the above error/warning string(s) to find when the error occurred.
    These errors resulted in installer Exit Code mentioned below.
    Exit Code: 33 - The product is not installed, cannot uninstall.
    Please see specific errors and warnings for troubleshooting. For example, ERROR: DW040 ...

  • InDesign CS6 (8.1) hangs when opening documents, intermittent

    InDesign CS6 (8.1) hangs when opening documents, intermittent, and a document that hangs InDesign, after restarting InDesign, will open fine. I found the following track, Re: InDesign CS5.5 Not Responding  for instructions to "force a hang into a crash" and am posting the crash logs to  pastebin.com
    This is the sample process report OPI_Sample9MAY15 - Pastebin.com
    This is the corresponding InDesign Crash log OPI_InDesignCrashLog9MAY15 - Pastebin.com
    I am hoping that someone might be able to read the logs and tell me what is causing InDesign to hang
    For more background information we are using Mac OS X 10.10.3, Within indesign we are using an editorial management software called "NewsEngin GPS" that utilizes Rohohiko's ADIP ToolAssistant plugin and an advertising management plugin "Pagelink" from Mactive/NewsCycle Solutions. These are the only 3 third party vendors that are being used and of course all claim that their products separately are stable under Mac OS 10.10 and InDesign CS6 v8.1.

    Did you try to export the INDD file to IDML, open that and work with the new files?

  • Strange problem when opening word doc situated in WLS virtual dir

    Hi all,
    we have a strange problem when opening word doc
    situated in C:\Oracle\Middleware\as_1\forms\webutil
    we put some word docs there and tried to open from forms using for example web.show_document('http://wp0606:9001/forms/webutil/mug00103.doc', '_blank');
    no problem using FF, however in IE8 the word doc is shown in its binary format, this also happens when we try to open the doc in IE8
    however when we google and search for instance for a test.doc and then click on this url a file save dialog is shown
    that's why we believe that this might be due to a configuration issue of WLS
    any help would be greatly appreciated
    Kr
    Martin

    I think you have 2 ways to go here. Figure out what html is from wherever weblogic gets it, meaning you have to delve into the docs, snoop
    around in directories and find what it must be sending (This is going to be unavoidable if you are going to change what weblogic is doing.
    Sooner or later you have to try to figure out where it gets this stuff from)
    or
    you can experimentally snoop on your url with a tool like wget or curl. These are fundamental web tools.
    The latter is always a useful thing to be able to do. (you need to formulate a query to get the content-type).
    Whoever managed to get weblogic to serve any files in the first place probably can figure this out.

  • Problem when opening "Mail"

    Dear members of the Apple Community,
    After transferring my files and my profile on my new Macbook pro, I keep encountering a problem when opening "Mail". Each time I try, the app asks me to choose a mail account to add, but I already added the ones I normally use. I can either create/add this new account or click the "cancel" button. I cannot use the program (the main functions are not available). But if I try to add a new account, Mail does not upload the new messages for my existing accounts and if I click "cancel", the application simply close itself. What could I do?
    Thanks a lot to your help.

    It might be worth running Disk Utilities and then Repair Disk Permissions to see if that resolves the problem.
    Chris

  • SAP DMS : Error when opening document with ECL control: INVALID_DATA

    We are receiving following error while try to view .FAX file through SAP Document viewer
    "2D viewer - Unable to opend Document"
    "Error when opening document with ECL control: INVALID_DATA"
    Appreciate your quick effort.
    Thanks,
    Sam.

    Yes, We have checked in both ways, I have also followed other threads on the same issue
    But not able to find the solution for the issue. We are facing the issue when we are using files scannned by Kodak Scanner i1420 in tiff format.
    But If I will attach any other tiff files from directory then It can viewed through SAP Document Viewer.
    I appreaciate your help in this regards.
    Thanks,
    Sam,

  • I have a problem when opening a profile on Facebook. when I open the main page and facebook all ok but when I try to open your Firefox profile my block! what the problem ????? before me it was happening but now when I installed Firefox 4

    I have a problem when opening a profile on Facebook. when I open the main page and facebook all ok but when I try to open your Firefox profile my block! what the problem ????? before me it was happening but now when I installed Firefox 4

    WiFi signals get stronger the closer the machine is to the router and the less interference/blocking of the signal like via walls with metal in them or of thick concrete.
    Since the signal emanates outwards in a sphere, your supposed to place the wireless router in a central location in the building so it covers all areas.
    The power of the router also has a affect, if your router is old or something not that powerful like a Airport Express, it doesn't have the ability to filter out other signals or enough punch to get through walls etc. or cover a large area as effectively.
    If you buy/have a powerful router of newer make and have issues where there is metal in the walls or thick concrete, then you can buy something like OpenMesh and by using Ethernet cables from the back of the router, extend the WiFi signal into other rooms and areas past the blockage.
    https://www.open-mesh.com/

  • I have a problem when opening author book samples in iPad they dont open at the first page,

    i have a problem when opening author book samples in iPad they dont open at the first page, they open further in, can you explain what i need to do to correct this , Ron Ritter

    Book? I thought you said sample?
    Not sure how that is possible, sorry.
    How many users out of the total downloaded are having this issue?

  • Pesky error when opening document

    I have a document (actually several, based on each other) that somehow ended up with a message that comes up every time I open it.  Sorry that I don't know what the exact wording would be in English (I have the Japanese version of CS2), but it's something like: Cannot create composite font "^1". (I think "composite font" is the right term, but I'm not sure - it's the only logical translation of the Japanese word that actually seems to be a real term in English.)  I click OK and the document opens fine, but I'd like to clean up whatever is amiss.  There is no complaint about any fonts in the Search Fonts dialog, and I don't even know what a composite font is (all the Google hits seem to be related to PDF, but I don't think I have ever even used this document to make a PDF, and the error happens when I open the .indd file), so I don't know where to look for what to get rid of in the document so that the error does not appear.  Any guidance?

    Thanks for the response.  I'm not having any other problems with the document that I am aware of, and I had been ignoring this error for a couple years, but it was starting to bug me.  So at your suggestion I decided to try the INX trick.  But that had even more dramatic results.  I had no trouble exporting the INX file, but when I tried to open it while another document happened to be open, I got the following message (again, all quotes from messages are translated from Japanese by me, so the English might not match exactly):
    Adobe InDesign is shutting down.  A serious error has been detected.  If there are unsaved documents, restart InDesign and restore your work.
    When I clicked OK on that message, another popped up on top of it:
    Application Error: The command "0x4f79d17c" referenced memory "0x00000014".  The memory could not become "read".  To shutdown the program, click OK.
    (Yes, I know that sentence makes no sense, but that's what the Japanese said.)  Even after a reboot it happened again, but the other document had also appeared (because of the recovery mode).  So I opened ID just so I could close the other document, closed and reopened ID with nothing else open, and tried opening the INX file again.  This time I got the original error about the composite font even on the INX file.  Hmph!
    So unless you have another idea, I guess this ghost will haunt me permanently...

  • Error When Opening Document

    I receive the following error when opening a Web Intelligence Document, no matter the user.
    C​a​n​n​o​t​ ​i​n​i​t​i​a​l​i​z​e​ ​R​e​p​o​r​t​ ​E​n​g​i​n​e​ ​s​e​r​v​e​r​.​ ​(​E​r​r​o​r​:​ ​R​W​I​ ​0​0​2​2​6​)​ ​(​E​r​r​o​r​:​ ​I​N​F​ ​)
    I also cannot run any reports. Anyone have an idea? I cannot seem to find any information in the knowledgebase on that error.

    Phasenjager,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Visit http://support.novell.com and search the knowledgebase and/or check all
    the other self support options and support programs available.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://forums.novell.com)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://forums.novell.com/faq.php
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://forums.novell.com/

  • ID crashing when opening document in 5.0, converted from 5.5

    I have 6 documents which I got as IDML-files.
    They are originally made in 5.5 - I'm using 5.0. Working on a mac (OSX 10.6.8)
    When opening a document ID freezes. Then I make a forced close down - and start ID again. And then the document is opened and I can work on it.
    This happens with 5 of the documents - the 6th opens without problems.
    Any suggestions on what to do?

    See
    Troubleshooting 101: Replace, or "trash" your InDesign preferences.
    Also, we can debug your hangs.
    Run Activity Monitor and select InDesign.
    Choose Sample Process. Save the file and upload to http://pastebin.com/.
    Then go to View >Send Signal: Abort (SIGABRT) and force the program to crash.
    You'll get a crash report.  Also upload that to pastebin.
    Post the pastebin link here. We'll look at it and tell you what ID is doing when it hangs.

  • Microsoft Word Hangs When Opening Document From SharePoint 2010 Document Library

    I am running into an issue where Word hangs when opening certain files from a document library.  When the issue occurs, Word opens and hangs at the Downloading <Doc URL> stage.  I have tried disabling the SharePoint plugins in IE and that
    makes no difference.  I can download a local copy of the file and open in just fine.  The file in questions exists in a separate document library where it can be opened just fine (The file was copied to the library where the issue is occurring by
    a Workflow).  The issue also has only occurred on .docx files and not .doc, however, not all docx files are having the issue.
    Does anyone have any thoughts on what might be causing this?
    Thanks.

    Hi,
    According to your post, my understanding is that when you opened a certain files from a document library, it hanged at the downloading stage.
    I tried to reproduce the issue, after coping by a workflow, the .docx files opened well in my environment.
    Did the issue occur in other documents libraries? You can copy the files to a new documents library by workflow, then check whether it works.
    For more details we also can check the SharePoint ULS logs.
    C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\LOGS
    Have you check your IE settings (Tools->options->connections->LAN settings->uncheck Automatically detect settings).
    Please also use fidder tools to detect the process. You can download it by the following link.
    http://fiddler2.com/
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • Problem with Open document SSO using websphere.

    Hi All,
    I have a issue,
    We configured AD SSO using websphere and its working fine but when we try to login to the open document SSO using websphere it prompting for login credentials.
    Is there any steps needed for configure open document SSO using websphere.
    We made all the changes in web.xml file for the Open Document ,same as in Infoview web.xml file.
    When we launch the Open Document, it prompts for the login screen, we get username and passwd fields we do not get the authentication drop down,if we give the AD credentials , we get "Enterprise Authentication error" .We feel the default authentication mode is taken as "Enterprise".
    We have made changes in the web.xml for open document to have authentication.dafault as "secWinAD", also ,for test purpose we made the authentication. visible as "true" but the changes were not taken, we have redeployed the war files.
    Any one please help on this.
    Environment Details-
    BOBJ XI R3.1 SP2
    Web Sphere 6.1.0.25  .
    Thank you in advance.
    Thanks & Regards,
    Bill.

    The same settings in the infoviewapp web.xml must be applied on the opendocument web.xml. Also you must be on XI 3.1 FP1 or higher. There is currently an Edge issue being investigated.
    Regards,
    Tim

  • I have problem when opening a pdf page, my mouse control is hijacked to that tab when im on other tab, i cant scroll or use the middle rollling button, i have to click at the pdf tab then my control over the mouse middle button is restored.

    I think I have this problem even on earlier version. The thing is I set open link in new tab and not switch over to the opened tab. My habit is to open a pdf page in the background and let it load first. What happen is that when the pdf page finished loading ( i do not set to download it), it hijacks my middle mouse button control. When i scroll down or scroll up on my original tab, it wont scroll on the tab, but insttead it scrolls on the pdf tab. I have to click on the pdf tab, then i can use the scrolling function on other tabs back. As for when i opened several pdf tabs, it seems i have to click on the tab that just finished loading, that means several times until they all finish loading. It has been getting on my nerve lately. And all pdf trouble i search from google led to unable to open pdf, firefox hang or crash when opening a pdf and the likes.

    core-el, i don't see the advantage of that or i can't figure out how i'm supposed to use it. for starters, i have to click the mouse in order to get "add bookmark here" to open, which is no different than clicking on the star in the location bar, or right-clicking on the page. there are also options in the bookmarks toolbar, but they all require clicking the mouse & holding down the right button, etc.
    my goal is to use keystrokes only. typing on the keyboard, using both hands, using the space bar & my left pinky finger to tab over are all painless routines for me. as soon as i have to take my fingers off the keyboard & use the mouse, the pain begins.
    as i said, in older versions of firefox, all i had to do to bookmark a page was click ctrl>d, then tab over & arrow down, when appropriate, to find the folder & add the bookmark. for me, as a touch-typist whose speed is between 60 & 80 wpm, this is lightning fast.
    if i have this wrong, please correct me. i just see it as more mouse clicks that don't save me time or pain.

Maybe you are looking for