"Untitled" may be damaged - Need to choose OK on Open

Hello,
I have a Javascript that will open InDesign documents in a folder and batch save them as inx files. However, some of these documents have either crashed, or have some plug-in issue so that a message opens up when they are first opened that says "Untitled" may be damaged. Do you want to open it anyway? Because this window pops up, the script cannot run. I need to write a line in Javascript that basically says:
If this error window is generated on open, choose "OK"
Any help would be much appreciated.

Hey!
Try this:
app.scriptPreferences.userInteractionLevel = UserInteractionLevels.NEVER_INTERACT;
And at the end of the script don't forget to turn it back on:
app.scriptPreferences.userInteractionLevel = UserInteractionLevels.INTERACT_WITH_ALL;
Hope that helps.
tomaxxi
http://indisnip.wordpress.com/

Similar Messages

  • Open CS4 doc in CS5 = Quit Unexpectedly, failed to recover, Untitled may be damaged

    Hello Gods of Adobe InDesign,
    Please help!
    OSX 10.5.8, CS5 - Updated.
    We have a number of documents in CS4 which are not opening in CS5…  which is getting us very concerned.  So far we have tried resetting InDesign CS5 preferences without luck.  Save the CS4 document as a new file...   without any luck.
    Will try exporting to XML file in the morning…..  If this works….  What is wrong with our CS4 doucments?
    Details of what happens.............
    1) Try to open the CS4 docuemnt..... The application InDesign quit unexpectedly.
    http://i559.photobucket.com/albums/ss37/TonyHeslington/Mac%20-%20Adobe%20-%20In%20Design/I D1.png
    2)  Adobe InDesign automatic recovery failed the last time it tried to open the document “Untitled”  Do you want to recover “Untitled” again?  -  Untitled….?   What’s this?
    http://i559.photobucket.com/albums/ss37/TonyHeslington/Mac%20-%20Adobe%20-%20In%20Design/I D2.png
    3)  Open anyway, why not.
    http://i559.photobucket.com/albums/ss37/TonyHeslington/Mac%20-%20Adobe%20-%20In%20Design/I D3.png
    4)  The application InDesign quit unexpectedly.
    http://i559.photobucket.com/albums/ss37/TonyHeslington/Mac%20-%20Adobe%20-%20In%20Design/I D4.png
    5) CS4 opens no problem.
    http://i559.photobucket.com/albums/ss37/TonyHeslington/Mac%20-%20Adobe%20-%20In%20Design/I D5.png
    Your help is appreciated.
    Tony Heslington

    Yes we use Suitcase Fusion.
    Prior to updaing to CS5 we had an older version of suitcase fusion 12.xxxx
    When we upgraded to CS5 we also upgraded to the current version of Suitcase Fusion 3 & updated it.
    No specific plugins come to mind.
    Tony.

  • I purchase OS X Mountine Lion from my App store online but i canot install in my Macbook Pro,all the time its sayThe product distribution file could not be verified. It may be damaged or was not signed.What i have to do?Please i need help

    I have purchase OS X Mountain Lion from my Mac App store and i pay correctly with my Visa credit card but i canot install to my Macbook...all the timeits saying:The product distribution file could not be verified. It may be damaged or was not signed.
    What i have to do?

    Re-download or contact customer service. Contacting Apple for support and service

  • An output module failed. The file may be damaged or corrupted.

    Whenever I try to render something in After Effects CC 13.1.1, an error message pops up, saying "After Effects error: Rendering error while writing to file '[not going to disclose]' An output module failed. The file may be damaged or corrupted (-1610153464)."
    Screenshot of the error message:
    I tried reinstalling QuickTime (7), repaired it, updated After Effects to the latest version(as I am writing this), checked firewall software, and used other formats such as AVI.
    Adobe Media Encoder (CC 2014-latest version) won't work with me, either.
    I sent the composition to Adobe Media Encoder, and this is what I got, no progress here.
    Screenshot:
    It took a while to connect to the dynamic link server, and failed.
    This is a log of what has happened in Adobe Media Encoder.
    - Source File: C:\Users\Default.BronyGue\Documents\not done\pinkcoverart_AME\tmpAEtoAMEProject-Pink Intro1.aep
    - Output File: C:\Users\Default.BronyGue\Documents\not done\pinkcoverart_AME\Pink Intro.mp4
    - Preset Used: YouTube HD 720p 29.97
    - Video: 1280x720 (1.0), 29.97 fps, Progressive
    - Audio: AAC, 320 kbps, 48 kHz, Stereo
    - Bitrate: VBR, 2 pass, Target 5.00 Mbps, Max 5.00 Mbps
    - Encoding Time: 00:00:12
    06/29/2014 02:29:14 PM : Encoding Failed
    The Operation was interrupted by user
    (no need to worry about the above part)
    - Source File: C:\Users\Default.BronyGue\Documents\not done\moddedchill_AME\tmpAEtoAMEProject-montage1.aep
    - Output File: C:\Users\Default.BronyGue\Videos\chilledup.wmv
    - Preset Used: Custom
    - Video: 1280x720 (1.0), 29.97 fps, Progressive
    - Audio: Windows Media Audio 10 Professional, 96000 Hz, Stereo, 24 bit
    - Bitrate: CBR, 2 pass, Max 10000.00 kbps
    - Encoding Time: 00:01:42
    11/22/2014 12:24:39 AM : Encoding Failed
    The Operation was interrupted by user
    - Source File: C:\Users\Default.BronyGue\Documents\not done\moddedchill_AME\tmpAEtoAMEProject-montage1.aep
    - Output File: C:\Users\Default.BronyGue\Videos\chilledup.mpg
    - Preset Used: Custom
    - Video: 1280x720, 29.97 fps, Progressive, Quality 75
    - Audio: MPEG Audio, 384 kbps, 48 kHz, Stereo, 16 bit
    - Bitrate: VBR, 1 Pass, Min 4.00, Target 15.00, Max 18.50 Mbps
    - Encoding Time: 00:00:11
    11/22/2014 12:52:11 AM : Encoding Failed
    The Operation was interrupted by user
    - Encoding Time: 00:00:51
    11/22/2014 12:53:51 AM : Encoding Failed
    Export Error
    Error compiling movie.
    Unknown error.
    - Encoding Time: 00:00:46
    11/22/2014 08:39:46 AM : Encoding Failed
    Export Error
    Error compiling movie.
    Unknown error.
    - Source File: C:\Users\Default.BronyGue\Documents\not done\moddedchill_AME\tmpAEtoAMEProject-montage4.aep
    - Output File: C:\Users\Default.BronyGue\Documents\not done\moddedchill_AME\montage.mpg
    - Preset Used: Match Source - High bitrate
    - Video:
    - Audio:
    - Bitrate:
    - Encoding Time: 00:00:00
    11/22/2014 10:06:45 AM : Encoding Failed
    Could not read from the source. Please check if it has moved or been deleted.
    I need some help! Any solutions?.
    Computer Specs:
    AMD FX-6300
    8GB 1600MHz DDR3 RAM
    NVIDIA GeForce GTX 650 Ti BOOST
    1TB 7200RPM Hard Drive
    Windows 8.1 Update 1(with latest updates)
    EDIT(11/23/2014 8:31PM PST): For some reason, other projects work for me just fine. I am not sure why it is not working on one project.
    Screenshot of a new project other than this I am rendering at the time of writing this edit:

    Can other projects can output to the same output location? Yes
    Can other projects render with the same render settings (codec, format, etc.)? Yes.
    If you create a new composition and just add a solid layer to it with no effects in the same project does it render? No. I still get the error.
    Can you render that brand new comp with the same render settings, output settings, output location etc.? Yes.
    If so, what effects are present in the offending comp? Twixtor Pro in all the cinematics/clips, Motion Tile and Transform for pan/crop & wiggle, Magic Bullet Looks and Bad TV Warping preset with just Wave Warp & Venetian Blinds for color correction, Gradient Ramp for text, Bad TV Warping preset with everything for effect, Transform for fade in/out, and ReelSmart Motion Blur v4.1.2 for motion blur.
    Also, what scripts are you using? Just the Move Anchor Point script I found from one of Mt. Mograph's videos, Summit 16 - 2.5D Minecraft Steve - After Effects - YouTube.
    Have you ever installed any third-party codec packs? (I've heard of some codec packs causing weird issues like this.) Yes, (not everything I have, just everything I can think of and find) I have K-Lite codec pack, Fraps, x264vfw, and Xvid MPEG-4 codec.

  • Error message" The file may be damaged or corrupted -1610153464/ also unable to open projects in the background 26:: 142

    Hello everyone,
    I hope someone can help me.
    I am using AE CC/Windows 7 on a Dell computer, 32 GB RAM, 64 bit op system, processors: Intel (R) Xeon (R) CPU x5670 @ 2.93 Ghz 2.93 Ghz (2 processors).
    So far I had worked on many projects with no problems and then a few weeks ago the project crashed non stop. The problem was overcome when I got rid of all MP3s and converted them to RAM. Again this was an issue I didn't have in the past and I don't recall changing anything.
    Now it seems it is impossible for me to export/render out a project into a Quick time file or even AVI. If its quick time I get this message: After Effects unable to render error  an output module failed. The file may be damaged or corrupted -1610153464 and if I am trying to export with AVI I get this message: AE unable to open projects in the background 26:: 142)
    This is happening with different projects.
    I read the forums and heard that the problem may be a Bug with quicktime and H.264? I never had a problem with it before but again when I try to export AVI I get this error message:
    AE unable to open projects in the background
    I have a feeling it is quick time related. I have uninstalled and reinstalled QT but still get the problem. It will open old QT files no problem. I tried to download a bug fix update as one post suggested but I think I have the latest which is why it didn't work. 
    This particular project has a couple of quick media H.264 files. Do I need to convert them? Are they the cause for all of this?
    I am sorry I really tried to look for answers in the forums before contacting you here but I cannot find a reason for all this mess, which again only appeared a few weeks ago with no problems for months...if someone can point out an area where I can start looking, I would really appreciate it. Thanks in advance.

    update: I converted all the H.264 footage which were in the project to WMV. And I was able to test export with AVI and it turne dout fine (like 10 seconds). However I still got the Error message: "After Effects unable to render error an output module failed, a filme may be corrupted or damaged.  Error-1610153464 " when I tried to export H.264 QT..
    I don't know what to do now, how can a problem which did not exist suddenly come up. How can I export a QT file? with AVI it will be massive!
    Many thanks
    Amanda

  • I am unable to open Photo on my MacBook Pro after installing ilife 11 from a disc.  The message I get says "you can't open the application iPhoto because it may be damaged or incomplete.  What can I do?!

    I am unable to open iPhoto on my Macbook Pro (OSX 10.9.3)  after installing ilife 11 from a disc.  The message I get is "you can't open the application iPhoto because it may be damaged or incomplete.  What can I do?!  Any help will be greatly appreciated.

    Reinstall it.This time delete the receipts first.
    To re-install iPhoto
    1. Put the iPhoto.app in the trash (Drag it from your Applications Folder to the trash)
    2. Download it from the App Store to reinstall It's on your Purchases List* there.
    For older versions that have been installed from Disk you'll need these additional steps:
    2a: On 10.5:  Go to HD/Library/Receipts and remove any pkg file there with iPhoto in the name.
    2b: On 10.6: Those receipts may be found as follows:  In the Finder use the Go menu and select Go To Folder. In the resulting window type
    /var/db/receipts/
    2c: on 10.7 or later they're at
    /private/var/db/receipts
    A Finder Window will open at that location and you can remove the iPhoto pkg files.
    3. Re-install.
    If you purchased an iLife Disk, then iPhoto is on it.
    If iPhoto was installed on your Mac when you go it then it’s on the System Restore disks that came with your Mac. Insert the first one and opt to ‘Install Bundled Applications Only.
    *Sometimes iPhoto is not visible on the Purchases List. it may be hidden. See this article for details on how to unhide it.
    http://support.apple.com/kb/HT4928
    One question often asked: Will I lose my Photos if I reinstall?
    iPhoto the application and the iPhoto Library are two different parts of the iPhoto programme. So, reinstalling the app should not affect the Library. BUT you should always have a back up before doing this kind of work. Always.
    Important:
    As you're on 10.9.3 you'll need to update iPhoto to v9.5 before opening it. Use Software update.

  • Error encountered while reading TIFF image, Image may be damaged of incompatible. Resave the image w

    I am currently running CS3, windows XP, service pack 2, with recent update, 5.03 installed today.
    I just opened a 500 page document not in sections where 90% of the document is a placed PDF.
    The PDFS were placed using a sample Script that came with Indesign, that instructs the PDF to automatically flow each page after another.
    When scrolling through quickly in the pages pallette, I get the follwing error:-
    "Error encountered while reading TIFF image, Image may be damaged of incompatible. Resave the image with different settings and try again."
    I click OK.
    Then I get the following error.....
    " Could not complete request because of database error. The File "ABC.indd" is damaged (Error Code: 3).
    Click OK....
    Then I get the following error....
    Adobe Indesign is shutting down. A serious error was detected. Please restart Indesign to recover work in any unsaved Indesign documents.
    Then I get the error.......
    Indesign.exe has encountered a problem and needs to close. We are sorry for any inconveneince.
    And I have two buttons to click....
    Debug or Close.....
    If I click Debug, it closes Indesign.
    Within this window there is also a window to gather further information....I click it and it tells me...
    "Indesign.exe....Error Signature AppName: indesign.exe AppVer: 5.0.3.662
    ModName: public.dll ModVer: 5.0.3.662 Offset: 0002e19a"
    To view technical inforamtion about the error report, clikc here....
    "Then it creates an error report and tells me where the report is located along with a scrollable window of 0xc0000005 and heap of zeros."
    The report conatains a whole heap of CHECKSUM ERRORS.
    CAN ANYONE PLEASE HELP??
    I had these errors before updating to 5.03 and the patch hasn't rectified anything!!

    Open the .inx file in CS3 (that's what you have, right?) and save as a new .indd.
    I'd also be tempted to open the tiff in Photoshop and do a save as to re-write it.
    Let us know if it helps.
    Storing files on the network leaves you more open tot he risk of file damage during transfer and save operations.
    Peter

  • IPhoto may be damaged or incomplete

    Hi all,
    I'm trying to finish a project for school (a video) that is due in two days (on Thursday), so I need help really soon. We had video taped everything we needed, I had all of the videos in iPhoto, so I deleted them off of my camera. After installing the new iLife '11, I started editing our video in iMovie, but I had only finished 30 seconds of it when Ihad to go to bed. Then today, when I turned my computer back on, I tried to finish the video but "New Project 2" in iMovie was completely gone. However, "New Project 2" and all of my iPhoto videos and pictures were found when I went to Finder->Search for->Yesterday and Past Week, but I couldn't open any of them. When I tried to start over on the school project, none of my iPhoto videos would show up in iMovie. So, I tried opening iPhoto. When I did this, a message appeared saying "You can't open the application iPhoto because it may be damaged or incomplete.
    Any advice? And thanks in advance for any help you can give me!
    P.S. I have a backup of my iPhoto library on my desktop, if that info is any help. Also, I just got my MacBook in December, so I'm still a bit confused with Apple technology.

    I'm having the same exact problem with my iPhoto! I live, breath and speak apple, from my mac to my ipad, to my itouch, iphone and ipod! I never had 1 complaint until now. I bought my iLife '11 before the mac app store so, just like you, I installed the cd and the first couple of hours after I installed it I was on iPhoto, then i shut down for the night. the next morning Iphoto kept freezing when it opened and had to force quite itself and now the app cant even be clicked on!
    I think your best bet is 1 of 4 options:
    1.) Go to finder and look up iPhoto library recovered photos. Its a folder that should contain any recovered documents that werent damaged. You should be able to import those to iMovie.
    2.) You can go back to finder and search all documents. It seems like a lot of work, but you'll find the videos. The glorious thing about mac is that NOTHING gets deleted unless you press empty trash. I still have all my iPhoto pictures and movies even when iPhoto broke on me. So, if you have patients.. GO FOR IT!!
    3.) Now there's an app store for mac. This means 3 major things
    a.)We waisted $50 on iLife-The app store sells iPhoto for 15 bucks!
    b.)No long wait for the software in the mail!
    c.)No Screwing up with disks and manuals and cds
    -this brings us to your best probable solution-RESINTALL IPHOTO!
    put your old iPhoto in the trash. Only the app should be deleted when you drag it to the trash, not the documents. So if you spend and extra $15 It'll install right into your computer and the videos should come up just fine. I've seen it happen in many cases.
    4.) If you dont trust me, are skeptical about reinstallation or your just plain confused and helpless, theres a plan B... or in this case plan #4! CALL APPLE CARE! Their super sweet and awesome.....and their professionals! They are your fastest, most reliable source. And I'v seen many people in the same situation as you so i bet apple has already gotten a ton of calls from people like you, dealing with the same thing. they should be pro at this by now! (but if you do call, you have to talk to a machine for like 2 min.,but then an apple person comes on.
    Well, good luck with your project! (I also have 1 due thursday so your not alone We'r in this together! haha.) Just don't stress yourself. These things are fixed easy.

  • ID Install -  Can't open the application Adobe InDesign CS6 because it may be damaged or incomplete.

    Trying to install inDesign CS6 on my imac. But everytime I try at end of install I either get a problem with install error, or if it does show up in my applications folder, it has a "no" sign and when clicked I get:
    "You can't open the application Adobe InDesign CS6 because it may be damaged or incomplete."
    Need help, Im a freelance desktop publisher and need this to work!

    After I deleted Adobe File Manager because it was always popping up annoyingly, I got a similar "damaged application - reinstall" message. However, InDesign didn't seem to be affected. Nevertheless, I reinstalled AFM, and fixed the problem, except for the annoying appearances of AFM.
    If it's not present on your system, you can search Google for "download adobe application manager mac" without quotes, to download and install it.
    HTH
    Regards,
    Peter
    Peter Gold
    KnowHow ProServices

  • TS2167 i'm getting an error message.. can't create the file "header.jpg." The disk may be damaged or full, or you may not have suuficient access priveleges.

    I need to publish to a local folder on my desk top and I am getting this error message.
    can’t create the file “header.jpg.” The disk may be damaged or full, or you may not have suuficient access priveleges.
    Please help... I need to copy to a disk... it was working fine until I attached a big project, I tried to delete the project, but still not workng.

    Try the following:
    1 - delete the iWeb preference file, com.apple.iWeb.plist, that resides in your
         User/Home/Library/ Preferences folder.
    2 - delete iWeb's cache file, Cache.db, that is located in your
    User/Home/Library/Caches/com.apple.iWeb folder (Snow Leopard and Earlier).
    3 - launch iWeb and try again.
    NOTE:  In Lion and Mountain Lion the Library folder is now invisible. To make it permanently visible enter the following in the Terminal application window: chflags nohidden ~/Library and hit the Enter button - 10.7: Un-hide the User Library folder.
    OT

  • When ever i'm trying to install an app from the app store i'm getting the following error "We could not complete your purchase - The product distribution file could not be verified. It may be damaged or was not signed", plz help me to rectify this .

    when ever i'm tring to install an app from the app store i'm getting the following error.
    "We could not complete your purchase - The product distribution file could not be verified. It may be damaged or was not signed".
    someone plz help me to overcome this.

    Installing the appropriate combo update may help...
    If you are running v10..7 Lion, install the OS X Lion Update 10.7.4 (Client Combo)
    For 10.6 Snow Leopard >  Mac OS X 10.6.8 Update Combo
    Then restart your Mac. Try the App Store.
    If that doesn't help, try the following..
    Quit the App Store if it's open.
    Open the Finder. From the Finder menu bar top of your screen click Go > Go to Folder
    Type this exactly as you see it here:
    /Library/Preferences/SystemConfiguration
    Click Go
    Move the NetworkInterfaces.plist file from the SystemConfiguration folder to the Trash.
    Relaunch the App Store and try downloading Mountain Lion.
    You may also need to disable anti virus software and turn off the Firewall in System Preferences > Security (or Security & Privacy) > Firewall

  • I keep getting the error message: " You can't open the application "%@" because it may be damage or incomplete" when I try to install a software that I purchased.

    I have a typing software that I bought a while ago. I had installed it on an old pc but I just bought a macbook and I'd like to install it onto the new macbook, as I no longer use the old pc. When I open the installer, I get the error message: " You can't open the application "%@" because it may be damage or incomplete"
    Does anybody know if this is fixable or if I need to just buy a new disk?
    Thanks!!!

    I copy pasted this from the developers website for the minimum requirements of your device: Macintosh® OS X 10.4 – 10.5, PowerPC G4, G5 or Intel Core Duo processor, 800 MHz processor or higher, 256 MB RAM, CD/DVD-ROM drive, 300 MB free hard disk space, Video card with 32 MB of video RAM, 1024 x 768 24-bit color display, Speakers, keyboard & mouse.
    Does a macbook pro meet these requirements?

  • How can i fix my quicktime? it keeps telling me it canot open because it may be damage or incomplet

    My Quicktime player is not working, evry time I try to Open it a pop up acers and it says " it may be damage or incomplet.
    can some one ples hel me

    If you're opening it from /Applications then you'll either need to restore it from a backup, install/extract from the Snow Leopard DVD, or reinstall OS X.
    Meantime, quicktime 7 should work for playing audio/video
    http://support.apple.com/kb/DL923

  • Getting message:"Can't open iPhoto because it may be damaged or incomplete"

    getting message: You can't open the application iPhoto because it may be damaged or incomplete.
    How do I reload the software when the update software" doesn't fix it

    Welcome to the Apple Discussions. First make sure there's only one iPhoto library on your HD by launching iPhoto with the Option key depressed. In the next window there will be listed every library on your HD and any external HDs. If only one then close iPhoto and try the two fixes below in order as needed:
    Fix #1
    Launch iPhoto with the Command+Option keys depressed and follow the instructions to rebuild the library. Select all options.
    Fix #2
    Rebuild the library using iPhoto Library Manager as follows:
    Using iPhoto Library Manager to Rebuild Your iPhoto Library
    1 -Download iPhoto Library Manager and launch.
    2 -Click on the Add Library button, navigate to your User/Pictures folder and select your iPhoto Library folder.
    3 - Now that the library is listed in the left hand pane of iPLM, click on your library and go to the File->Rebuild Library menu option
    4 - In the next window name the new library and select the location you want it to be placed.
    5 - Click on the Create button.
    Note: This creates a new library based on the LIbraryData.xml file in the library and will recover Events, Albums, keywords, titles and comments but not books, calendars or slideshows. The original library will be untouched for further attempts at fixing or in case the rebuilt library is not satisfactory.

  • 'Iphone may be damaged and cannot be activated for service'

    Ive just bought a used iphone4. it arrived having been cleared and reset.
    I connected to itunes and upgraded to the new software. Then it worked for half a day. Then a message came up saying i need ot restore the phone.
    So i plugged it in again and at the end of the uprgrade sequence it comes up with-
    'Problem with the iphone - may be damaged and cannot be activated for service' - please visit apple store.
    Its obviously out of warranty and the apple store is a long way away. Ive only had it a day and im assured its never been jailbroken, dropped or water damaged.
    I know loads of people have had this message come up and people have recommened going to the apple store. But before i make the long trek i just wanted to know if anyone ever came up with a solution to fix this and use the phone again.
    Any help much appreciated. back on sh+tty blackberry!!

    Thanks for the replies guys!
    I cant access the phone it just stays on 'connect to itunes'
    Could someone quickly explain how jailbraking an iphone could cause it problems? I want to email the person I bought this from and tell them why I think they have damaged it by jailbraking it.
    I really appreciate this help bacuase ive shelled out £160 for this paperweight, Thanks.

Maybe you are looking for