Open indd without warning message

Hi....
currently i am working on a batch job to open indd files from a folder. But those file have character set and image link missing. Once the file is opened, it will pop up the warning windows, and my script can't close the file as well. Finally, it will come up an error because of the warning windows is still open.
Is there any method to disable warning message?
my code is something like:
var myFolder = Folder("C:\\temp_indd");
var myINDD = myFolder.getFiles("*.indd");
for (f = 0; f < myINDD.length; f++) {
    app.open(myINDD[f]);
    do_something();
    myINDD[f].close();
Chris

Set the user interaction level to ignore each and every warning:
// The script does not display any dialogs or alerts.
app.scriptPreferences.userInteractionLevel = UserInteractionLevels.NEVER_INTERACT;
and make sure this gets reset after your script is done -- because otherwise, InDesign will not display any dialogs and alerts at all:
// The script displays all dialogs and alerts.
app.scriptPreferences.userInteractionLevel =
UserInteractionLevels.INTERACT_WITH_ALL;
even though the description says "The script ...", this applies to the entire program, not just 'the script'.

Similar Messages

  • TECO deletes open PR without warning message

    Hi PM experts,
    When you perform technical completion for a PM order, the outstanding purchase requisition will be deleted without any warning message. Is there a SAP standard message that I can activate to prompt there is still open PR for that order?
    Thanks,

    Dear Charlie,
    I as your requirement it may help you.
    go to T code OME0 check wich message is suitable to your condition.there are so many messages thease all realted to different function.
    take care when you doing, better note down and priceed.
    Hope this helps you
    Prem.

  • I tunes won't open. No warning message, just the first terms agreement opens and when i agree itunes stopes running. I just wiped and reinstalled everything including windows. I updated everything fully. Deleted spybot unintalled and reintalled new

    I tunes won't open. No warning message, just the first terms agreement opens and when i agree itunes stopes running. I just wiped and reinstalled everything including windows. I updated everything fully. Deleted spybot unintalled and reintalled the newest and one older version of itunes. still nothing. I tried to delete some files that is hidden as directed by apple. I have been trading emails with customer support but it has been no help at all. I am running Windows XP. Before i wiped my computer I ran itunes with no problem, on this computer, this week.

    WOOOOOOOOOOOO!!!! JUST WANTED TO UPDATE Y'ALL THAT BY SOME STROKE OF HEAVENLY GLORY, ITUNES DECIDED TO WORK AGAIN!!!
    WOOOOOOOOOOOOOO!!!
    How did I do it you ask??
    after all the stuff I updated you about, I tried one last time to install....still didn't work...so once again I wiped my system of everything itunes and apple related
    well today I was trying to watch a video that required me to get the quicktime plug in, and it too me to a page that was a quicktime install + itunes 7.blah blah blah instead of the other way around
    well, don't ask me why, but low and behold
    IT WORKS!!!!
    I HAVE MY ITUNES BACK!!! (JUMPS FOR JOY)
    Just wanted to share my shear elation

  • Illustrator substitutes fonts when opening document without warning.

    Have an annoying issue hopefully somebody can shed light on. When we activate fonts using font management software, work on a file, close the file and then deactivate those fonts, if we open the file again without turning the fonts back on, the file will load without giving a missing font warning and substitute the fonts to myriad. In a few test, the fonts were still open, and no substitution occured, BUT, random blocks of type were inexplicably empty. When the file gets reopened with fonts reactivated or if Ilustrator is restarted, everything behaves normally.
    This was tested on os 10.5.8 on multiple machines using Illust CS4, Suitcase, Universal Type Server and Font Explorer X. Test were made both before and after using Font Nuke to clean font caches to the same effect.
    Anybody have any idea how to prevent this behavior? I don't want Illustrator to substitute fonts without warning me that fonts are missing....ever. If it must, can I have it substitute to wingdings or chinese characters or something that will be a bit more obvious than myriad?

    Yeah, this is very big and money cost problem, happened to me a few times and couldnt find and answer. To try to prevent this  I did this two posible options, but is not perfect...
    1. There is an option under the page setup uncheked by default named "Highlight substitude fonts" so you have to check this option for every document you have and make, what a nightmare, this must be checked by defalut, please adobe team...!
    2. Also yo can try to change the default font following this steps, another nightmare because not always work
    To change the default font for Illustrator CS4
    Choose  File > Open and go to Documents and Settings/User/Application  Data/Adobe/Adobe Illustrator CS4 Settings/New Document Profiles  (Windows) or to Users/User/Library/Application Support/Adobe/Adobe  Illustrator CS4/New Document Profiles (Mac OS).
    Open  one of the default document profile template files (Basic CMYK, Basic  RGB, Mobile and Devices, Print, Video and Film, or Web, depending on  which type of document you intend to use).
    Choose Window > Type > Character Styles.
    Select the Normal Character Style and choose Character Style Options from the palette menu.
    Select Basic Character Formats and choose the desired font from the Font Family menu.
    Click OK, and then choose File > Save and close the file.
    Restart Illustrator
    Give it a try and tell us..

  • Pro Tools won't open and strange Warning message

    I have been using Pro Tools 11.3 successfully for about a month. I just did an OS X update a week or so ago. I also did a Pro Tools update about a week ago (to 11.3.1). I went to open PT and the app opened, but my top menu never came up. It was just the normal Finder menu, but with my Pro Tools interface open where I could see all the tracks, etc. Clicking to desktop and back to PT several times did nothing.
    I closed PT and did a Disk Utility "Repair Permissions". As the repair started up, the progress text gave me the warning below. I'm trying to figure out what it means. If it is a Mac thing or a Pro Tools issue. If someone can help me I would sincerely appreciate it.
    <<<<<< Warning: SUID file "System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/MacOS/ARDAg ent" has been modified and will not be repaired.>>>>>>>>>>
    The repair progress continues with this:
    <<<<<<Group differs on “Library/Printers/InstalledPrinters.plist”; should be 80; group is 0.Permissions differ on “Library/Printers/InstalledPrinters.plist”; should be -rw-rw-rw- ; they are -rw-r--r-- .Repaired “Library/Printers/InstalledPrinters.plist”User differs on “private/var/db/displaypolicyd”; should be 0; user is 244.Group differs on “private/var/db/displaypolicyd”; should be 0; group is 244.Repaired “private/var/db/displaypolicyd”>>>>>>>>>>>>
    I've never seen this message before and wonder it is part of the problem or signals what the problem is. I have downloaded a few free Pro Tools plugins. If anyone can help, I would sincerely appreciate it.
    Thank you,
    Leonard

    Thanks apostol13,
    You need to make SURE the Digidesign Core Audio Manager software, which Logic and iTunes use to "talk" to Digi hardware, is NOT running. if ti IS, turn it off.
    Then PT will start up.
    Cheers

  • JS/AS - Open file without warning dialogs

    I have files with placed raster images that when opened need to be relinked. Relinking them is actually the first procedure of my script however I need illustrator to open the file without throwing me an error dialog asking me to repair the link. I've searched through the documentation but haven't found a param to pass, or a different method to call for opening without dialogs. Applescript has a 'without dialog' option for open but it doesn't work for this dialog, that i've found. And JS doesn't have an options that i can find in the documentation for open();
    Thanks
    /j

    Hi,
    Maybe the app.userInteractionLevel helps you.
    Maybe not :-)
    Regards,
    Tom

  • Generating webservices client without warning messages.

    Hi,
    I am using RAD7.0 and WAS6.1 [Java 5]. While generating web services from .wsdl file auto generated files contains statements without type safety parameters [Java 5 Generics].
    For ex following fragment is from the auto generated file:
    java.util.Map inner0 = new java.util.HashMap();
    inner0.put("create",list0);
    While compiling the files following warning is displayed
    Type Safety: the method put(Object,Object) belongs to the raw type Map. References to generic Map<K,V> should be parameterized.
    Any way it doesn't hinder the development. But I would like to know how to generate the web services client as per standards of Java 5.

    Apparently, a hosed CS5 installation. Its manager is crashing causing a windowserver crash. Uninstall it, using the uninstaller that came with it (that's a WAG), download and install the 10.6.4 COMBO update, repair permissions, and restart. If everything else works without crashing, then reinstall CS5. BTW, update your My Settings file, since your current one's showing 10.5.2, which has nothing to do with SL.

  • PhotoshopElement_10_WWEFDJ.dmg won't open?? Warning message

    I believe my Photoshop Element Trial has downloaded, and is just now extracting, but I got a pop-up warning box that says PhotoshopElement_10_WWEFDJ.dmg won't open. It says it's a disk image and the reason it can't open is "invalid checksum". What does this mean? Is this warning affecting the extraction of my download? And how long should this extraction take?
    Thanks!

    It is possible that it is still extracting your download.  Where did you choose to download the install files too?

  • Disc drive opens randomly without warning

    My disc drive on my touch smart randomly opens and is completely intermittent about it. I contacted tech support about this and got a new drive but that didn't fix the issue and now they want me to reset my computer to factory setting but I don't want to do that. The drive will not stay closed sometimes unless i close it over and over until it stays close. Someone help please!
    Lupe Jr

    CPU temperature is completely fine.
    Try updating the chipset from Intel here: https://downloadcenter.intel.com/Detail_Desc.aspx?agr=Y&ProdId=816&DwnldID=20775&ProductFamily=Softw...
    Also update the Intel Mangement Engine Interface from Lenovo here: http://download.lenovo.com/consumer/mobiles/0wme03w8.exe
    Finally, update Intel HD graphics drivers from Lenovo here: http://download.lenovo.com/consumer/mobiles/0wvg09w8_64.exe
    Also reinstall Energy Management Software here: http://download.lenovo.com/consumer/mobiles/em8.0.2.3.exe
    Lenovo Y470: i7-2670QM | 8 GB DDR3 1333 MHz RAM | Nvidia GeForce GT 550M | 500 GB 7200 RPM Seagate HDD | ASUS PCE-AC56 802.11ac Network Adapter | Windows 7 Professional 64-bit

  • Explorer.exe (?) crashing without warning, closing all open programs

    Hello! I recently got a windows 8.1 computer and have been using it for only a week, but I've been having issues with what I can only assume is explorer.exe.  
    The taskbar will randomly completely disappear, leaving only a blue empty space at the bottom of the screen (possibly getting rid of my desktop background as well), close every program I have open without warning aside from the one I'm using at the time
    (generally google chrome) and doesn't seem to restart itself on its own. I have to ctrl+alt+del to get to the task manager to manually start explorer.exe again, which works without an issue aside from possible lost unsaved progress from the closed
    programs. I don't get any pop up saying windows has encountered any errors, it just does it for maybe no reason.
    I can't think of why it would be doing this because again, I've only been using it for a week. It doesn't happen often, it's done it maybe two or three times but it seems it might not be stopping any time soon. I checked the reliability monitor and
    it doesn't seem to recognise this issue as anything, nothing shows up for this. Any help to resolve this would be much appreciated, or even just finding out why it's doing it. Thank you!

    Please provide us with your Event Viewer administrative logs by following these steps:
    Click Start Menu
    Type eventvwr into Search programs and files (do not hit enter)
    Right click eventvwr.exe and click Run as administrator
    Expand Custom Views
    Click Administrative Events
    Right click Administrative Events
    Save all Events in Custom View As...
    Save them in a folder where you will remember which folder and save as Errors.evtx
    Go to where you saved Errors.evtx
    Right click Errors.evtx -> send to -> compressed (zipped) folder
    Upload the .zip file to Onedrive or a file sharing service and put a link to it in your next post
    If you have updated to win 8.1 and you get the error message "the system cannot find the file specified" it is a known problem.
     The work around is to edit the registry.  If you are not comfortable doing this DONT.  If you are, backup the key before you do
    Press Win+"R" and input regedit
    Navigate to:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\WINEVT\Channels. Delete "Microsoft-Windows-DxpTaskRingtone/Analytic"
    Wanikiya and Dyami--Team Zigzag

  • Warning message on Excel while opening downloaded report

    Hello Everyone,
    I have a BI query. I downloaded the data to Excel. When I downloaded the Excel, it displays mesasge 'Do you want to Open or Save this file' and Type is Microsoft Excel 97-2003. I saved on Desktop. When I try to open the downloaded file, it displays warning message 'The file you are trying to open is in a differnt format than specified by file extension. Verify that the file is not corrupted and is from a trusted source before opening the file. Do you want to open the file now? With Yes, No and Help buttons.
    I looked at the Excel opions and changed the Save options to save the File in Excel 97-2003 worksheet. I am wondering why Excel displays this message and how to get rid of this message?
    Any help is much appreciated.

    The export to excel downloads the file in XML format with a stylesheet to show the data as an excel file.
    I have the same issue with broadcasting. we are broadcasting a query with excel output format and distribution mode of e-mail. If i access the e-mail from my outlook application I can open the file just fine. When I open it from the webmail client, i get the error you have described above. i am not sure why.
    I will monitor this thread for a possible solution.

  • When i open itunes the warning itunes Library.itl appears with the following message. ..."it cannot be read because it was created by a newer version of itunes. after checking software updates we have the lastest version.  What to do?

    when i open itunes the warning itunes Library.itl appears with the following message. ..."it cannot be read because it was created by a newer version of itunes. after checking software updates we have the lastest version.  What to do?

    Perhaps check to see if you're accidentally running two different versions of iTunes. There's some information on troubleshooting that in the Opening iTunes section of the following document:
    Troubleshooting iTunes installation on Mac OS X

  • I get a Warning message when I try to open Lightroom_5_LS11.dmg that it is not recognized

    I have just bought Lightroom 5. I get a Warning message when I try to open <Lightroom_5_LS11.dmg> that it is not recognized. I have 0SX vs 10.8.5. How do I open this?

    Surrpent please try downloading a fresh copy of the Lightroom 5 installation files at Adobe - Lightroom : For Macintosh : Adobe Photoshop Lightroom 5.5.  The update contains the full installer for Lightroom 5.5.

  • I had 9 tabs open on Firefox every day when I start at work. Today, the tabs no longer open. Plus Firefox closed without warning and again the tabs did not re-open.

    I have 9 tabs open on Firefox every morning when I start work. Today the tabs are not there. I re-loaded the tabs and about 10 minutes later, Firefox closed without warning. When I went to open Firefox again, the tabs were gone again. I checked the options box under Tools, and the "show my windows and tabs from last time" is already loaded. Please help!
    == This happened ==
    Just once or twice
    == This morning

    Make sure that you not run Firefox in [[Private Browsing]] mode.
    In Private Browsing mode some menu items are disabled (grayed) and some features like visited links and others are disabled and not working.
    You are in Private Browsing mode if you see "Tools > Stop Private Browsing".
    See [[Private Browsing]] and http://kb.mozillazine.org/Issues_related_to_Private_Browsing
    You enter Private Browsing mode if you select: Tools > Options > Privacy > History: Firefox will: "Never Remember History"
    To see all History settings, choose: Tools > Options > Privacy, choose the setting '''Firefox will: Use custom settings for history'''
    UnCheck: [[ ] "Automatically start Firefox in a private browsing session"
    Another possibility is that there is a problem with the file [http://kb.mozillazine.org/sessionstore.js sessionstore.js] in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Profile Folder]
    Delete the files sessionstore.js and sessionstore.bak and any existing files sessionstore-##.js with a number in the left part of the name like sessionstore-1.js .
    See http://kb.mozillazine.org/Session_Restore

  • Warning message box pops up when opening Flash CC in Flash CS6

    See attached image.
    Is there a way to get rip off the message? I had turn off all warning box under Preferences > Warnings, it still poping up!
    Thx.

    If any Flash CC file is opened Flash CS6, a warning message would appear. Unfortunately, there's no way to disable this alert unless you re-save your file in Flash CS6 once.

Maybe you are looking for