Problem GUI scripting an inDesign dialog box

I've posted this on the inDesign forums, but haven't received any answers.
I'm trying to automate the opening of .indd files with InDesign CS3. Naturally they often come in folders with attached/included linked files, and opening the .indd files results in a dialog box offering to 'Fix Links Automatically'
Trouble is, there's a dialog default button 'Don't Fix', that is selected when sending a return to the inDesign process (that works OK).
I'd like to select the 'Fix Links Automatically' button, but trying to send a click to the button doesn't work. I can get the button to flicker with multiple 'clicks', both by GUI addressing by name and by position, but the button won't respond. Even 20 consecutive clicks turns the button blue, but doesn't work.
I think it's a bug, but is it Adobe InDesigns or Apples?.
Any thoughts anyone?
Regards
Santa

Thanks Budgie
Turns out it's easy to tuen of the dialogs, and re-do links after opening the document.
tell application "Adobe InDesign CS3"
try
activate
set user interaction level of script preferences to never interact
open theItem
delay 5
set myDocument to document 1
tell myDocument to update links
set myFontCheck to (count (every font of document 1 whose status is not installed)) = 0
if not myFontCheck then say "[[rate " & TheSpeechRate & "]]There are fonts missing. " using TheVoice
set myGraphicsCheck to true
set myGraphics to all graphics of myDocument
repeat with myCounter from 1 to count myGraphics
set myGraphic to item myCounter of all graphics of myDocument
set myLink to item link of myGraphic
if status of myLink is not normal then
set myGraphicsCheck to false
if SpeakTheErrors then say "[[rate " & TheSpeechRate & "]]There are linked graphics missing. " using TheVoice
exit repeat
end if
end repeat
end tell

Similar Messages

  • Autofs.service causing problems with gnome's save dialog boxes

    Recently I have been having a problem saving files to disk using the gnome save dialog box when autofs is running. Basically what happens is most of the folders on the right side of the save dialog disappear (see screenshot below) and remaining few become unresponsive when clicked. If I wait a few minutes the folders will eventually appear and work when clicked, but needless to say this is annoying.
    I can "fix" this  problem instantly by simply running systemctl stop autofs.service, but this is not a good solution because I like the convenience of mounting my  NFS shares on demand.

    Recently I have been having a problem saving files to disk using the gnome save dialog box when autofs is running. Basically what happens is most of the folders on the right side of the save dialog disappear (see screenshot below) and remaining few become unresponsive when clicked. If I wait a few minutes the folders will eventually appear and work when clicked, but needless to say this is annoying.
    I can "fix" this  problem instantly by simply running systemctl stop autofs.service, but this is not a good solution because I like the convenience of mounting my  NFS shares on demand.

  • InDesign Dialog Box Preview

    Hi All,
    Anyone know a way of having the preview box checked in all dialog boxes by default?
    Cheers
    Rob

    You can do it.  Open InDesign, but don't open a document.  Even, with no document open, most of the dialogue boxes from the drop-down menus at the top of the screen can be opened.  Once opened, make any setting changes you want - including checking the preview box.  When you hit OK, InDesign will use those settings as your new defaults.  Wish I was that smart to have figured it out, got it from the indesigner somewhere along the way.  http://www.theindesigner.com/blog/

  • Run script from view dialog box

    I built a dialog box that I would like to have in the View area.  Is it possible to have one of the dialog box's button load a script while staying in VIEW panel?

    Hey BG103,
    just use ScriptStart function in your SUD dialog. If you want to work in VIEW after your script started you can start an interaction
    For example you can create a SUD dialog with two buttons: Start Interaction / Stop Interaction and define click events like this:
    Sub ButtonStartInteraction_EventClick(ByRef This)
    call ScriptStart(CurrentScriptPath & "StartInteraction.vbs")
    End Sub
    Sub ButtonStopInteraction_EventClick(ByRef This)
    call InteractionOff()
    End Sub
    StartInteraction.vbs looks like this:
    Call WndShow("VIEW", WndMode)
    Call InteractionOn()
    You can integrate the SUD dialog in VIEW using a View connector in your SUD dialog.
    Regards
    Christian

  • Problem with adobe reader print dialog box

    I am using Acrobat reader application embedded in our product.
    We opens reader using our application .Then opens any PDF document .
    Then try to print that document.
    But print dialogue box does not display well.It looks like corrupted.And the textbox location and label location in dialog box have been changed so can not use print option.
    Please help me getting solution.

    Have you updated your version of Adobe Reader?

  • Indesign CS3(JS) dialog box

    Hi
    The script having simple dialog box is not displaying the dialog box. But the same script is running another machine. The dialog box is displayed. What may be reason for it?
    Thanks
    Suresh

    Interactive mode might simply be off.
    Read
    http://www.adobeforums.com/webx?7@@.3c061d17/11 and check.

  • How can I disable "download error" dialog box when saving a complete web page?

    Sometimes, when I try to save a web page as type: "Web Page, complete", firefox displays download error dialog box stating a file "could not be saved, because the source file could not be read."
    I don't have a problem with firefox couldn't save that file, but I have a problem with firefox displaying that dialog box, because I have to click OK everytime.
    Is there a way to disable that annoying dialog box?

    I modified the host file mainly to block ads. But that's not the problem. It's OK for me for firefox to not saving some parts of a page (ads usually within a frame). It's my intention to NOT saving those files. I just want to save the main content of a webpage.
    But I'm having a problem with firefox displaying the dialog boxes.

  • How to suppress print dialog box from popping up under a condition

    Greetings...
    There may be a better way to accomplish what I'm trying to do, so I'm open to outside-the-box suggestions.
    I have a pretty simple page which lists a set of statuses and descriptions of each. The user can edit these status flags and their descriptions on the page as well. When I view the page in "printer friendly" mode, I see a nice simple report of what the statuses are and their descriptions. Everything works great so far.
    In our work request system built in ApEx, there's a page where someone can view the details of a work request, including the current status. When someone clicks on the help of that item, what I'd love to do is simple show the "printer friendly" version the status page mentioned above in a pop up window. My problem is that the print dialog box automatically shows up when a page is displayed in "printer friendly" mode and I do not want this to happen in this case.
    I see the javascript code in the Printer Friendly page template which causes the print dialog box to show up automatically, but I don't want to remove it in the template just for this one case. This would suppress the print dialog box on all "printer friendly" page views and the users are used to it showing up when they ask to print the page.
    I guess I could create a custom request to pass to the master status page which would pretty much do everything that the "printer friendly" mode is doing, but that seems like a lot of work when I'm so close to using something that is built in.
    Am I not seeing some simple other way of doing it or perhaps asking too much? Any suggestions?
    Shane.

    Hi,
    I think you have to call the FM GET_PRINT_PARAMETERS and pass NO_DIALOG = 'X'.
    Something like:
      CALL FUNCTION 'GET_PRINT_PARAMETERS'
        EXPORTING
          no_dialog      = 'X'
        IMPORTING
          out_parameters = ls_params
          valid          = lv_valid
        EXCEPTIONS
          OTHERS         = 1.
      NEW-PAGE PRINT ON PARAMETERS ls_params NO DIALOG.
    * Display Table
      lr_table->display( ).
    add: Spool numbers can be found in TSP01 or in system field SY-SPONO available in the submitting program...
    Hope it helps,
    Kr,
    m.
    Edited by: Manu D'Haeyer on Sep 28, 2011 10:02 AM

  • Java Dialog Boxes Don't Stay Open and Automatically Close

    Hi I'm having this weird Java prob. Initially I thought it was a net beans problem but I found out all java apps have this problem on my pc.
    Dialog boxes automatically close after some time. Please help me resolve this issue.
    Windows 7 x64
    Asus P8P67 Pro
    Intel Core i5 2500K
    ATI Radeon HD6970
    Path:
    C:\PROGRAM FILES (X86)\NVIDIA CORPORATION\PHYSX\COMMON;C:\PROGRAM FILES (X86)\ATI STREAM\BIN\X86_64;C:\PROGRAM FILES (X86)\ATI STREAM\BIN\X86;%SYSTEMROOT%\SYSTEM32;%SYSTEMROOT%;%SYSTEMROOT%\SYSTEM32\WBEM;%SYSTEMROOT%\SYSTEM32\WINDOWSPOWERSHELL\V1.0\;D:\DRIVERS\ATI.ACE\CORE-STATIC;C:\PROGRAM FILES\INTEL\DMIX;D:\INSTALLED SOFTWARES\JEDIT;C:\PROGRAM FILES (X86)\MICROSOFT SQL SERVER\100\TOOLS\BINN\;C:\PROGRAM FILES\MICROSOFT SQL SERVER\100\TOOLS\BINN\;C:\PROGRAM FILES\MICROSOFT SQL SERVER\100\DTS\BINN\;E:\More Software Setups\Educational Software\Game Programming\Tortoise Mercurial Client for Ogre Source\;E:\More Software Setups\Educational Software\Game Programming\CMake 2.8\bin;E:\More Software Setups\Educational Software\Game Programming\Tortoise SVN for Ogre AL\bin;D:\Installed Softwares\DirectX SDK\Lib\x64;D:\Installed Softwares\DirectX SDK;D:\Installed Softwares\JDK\jdk\bin;C:\Program Files (x86)\Calibre2\;C:\Program Files\MySQL\MySQL Server 5.5\bin;C:\MinGW\bin;C:\tomcat\lib
    Thanking you,
    sidk47

    This is not a common problem and probably not related to the JRE directly. You have something installed on your system that is doing this. I hope for you it is some sort of trigger happy protection software which you can control yourself, but I would consider doing a full spyware, malware and virusscan sweep using a respectable piece of scanning software.
    If you want to believe it is related to Java, then completely uninstall your JRE/JDK, do a ccleaner registry cleanup and then reinstall the JRE/JDK. If the problem persists, it really is not the JRE.

  • Which shortcut can I use to move the highlight in a dialog box to the first field in the dialog box?

    I am working with FrameMaker 10. There used to be a keyboard shortcut  for moving the highlight to the first field in a dialog box. Without  this command I do not know how to move the highlight to the field I want  to modify. I assume the highlight is on a random field when my script  enters the dialog box.

    In iPhoto
    You need to switch Photo Stream on from System Preferences > iCloud not from iPhoto.
    See instructions here >  iCloud - Learn how to set up iCloud on all your devices.

  • Illustrator CS5-symbols dialog box opens every time I try to work in Illustrator and won't cancel.

    I've never had this problem before, but the symbols dialog box just randomly pops up and I hit cancel and it comes right back.  I tried hitting create to see what happens and it just comes right back. I can't close Illustrator I can't do anything else so I end up doing ctrl, alt, delete to end the task. I can't get any work done and I'm pulling my hair out over this.  I have looked all over the web for help and found nothing that touches on this problem.

    Reinstall the program and trash the prefs.
    Mylenium

  • Confirmation Dialog Box Appears Disappears

    Hi,
    I am facing a problem here on Same os win 98 using different versions of Java run time environment.
    The code is supposed to work in this way.
    Applet is initiated by a click. a confirmation dialog box appears askign for input from a user in the form of a Yes or a No. if the user clicks Yes the applet continues otherwise it terminates.
    while using 1.4.1_02 This problem occurs that the Confirmation dialog box appears and then disappears for the jar is being downloaded.
    But using 1.3.1_04 gives no problems and the Confirmation box does not disappear.
    Regards,
    Saurabh

    Hmmm, are you running 10.6.8 or later & installed the Security updates?
    Java was an attack vector for FlashBack.
    Disable Java in your Browser settings, not JavaScript.
    http://support.apple.com/kb/HT5241?viewlocale=en_US
    http://support.google.com/chrome/bin/answer.py?hl=en-GB&answer=142064
    http://support.mozilla.org/en-US/kb/How%20to%20turn%20off%20Java%20applets
    Flashback - Detect and remove the uprising Mac OS X Trojan...
    http://www.mac-and-i.net/2012/04/flashback-detect-and-remove-uprising.html
    In order to avoid detection, the installer will first look for the presence of some antivirus tools and other utilities that might be present on a power user's system, which according to F-Secure include the following:
    /Library/Little Snitch
    /Developer/Applications/Xcode.app/Contents/MacOS/Xcode
    /Applications/VirusBarrier X6.app
    /Applications/iAntiVirus/iAntiVirus.app
    /Applications/avast!.app
    /Applications/ClamXav.app
    /Applications/HTTPScoop.app
    /Applications/Packet Peeper.app
    If these tools are found, then the malware deletes itself in an attempt to prevent detection by those who have the means and capability to do so. Many malware programs use this behavior, as was seen in others such as the Tsunami malware bot.
    http://reviews.cnet.com/8301-13727_7-57410096-263/how-to-remove-the-flashback-ma lware-from-os-x/
    http://x704.net/bbs/viewtopic.php?f=8&t=5844&p=70660#p70660
    The most current flashback removal instructions are F-Secure's Trojan-Downloader:OSX/Flashback.K.
    https://www.securelist.com/en/blog/208193454/Flashfake_Removal_Tool_and_online_c hecking_site
    More bad news...
    https://www.securelist.com/en/blog/208193467/SabPub_Mac_OS_X_Backdoor_Java_Explo its_Targeted_Attacks_and_Possible_APT_link

  • Problem with Indesign CS3 missing save as dialog box

    I am having problems saving documents with Indesign CS3. I have upgraded it to the latest version, repaired permissions, shut down a restarted to no avail. This is Indesign CS3 running on a Macbook under Leopard 10.5.2. You can select save and it appears to save a file. However, if you select "save as", the dialog box to select a location never comes up. Nothing seems to happen. I can't figure it out, and it happens to any file. I have created test files and the same thing happens.
    Help!!!

    Trash preferences before re-installing. Also, try this weird procedure: open the equivalent dialog in one of the other Suite products on the same computer (assuming they're there). That's been known to solve the problem on Windows machines.
    Dave

  • Having a dialog box problem in InDesign CC

    The dialog boxes on my just downloaded version of InDesign CC look like Windows dialog boxes, not Mac ones (although Save and Save As do appear as normal OSX design). Obviously I am on a Mac and don't want a partial Mac version of InDesign. My previous versions, including most recently CS6, have not had this problem. Suggestions?

    Hi there. I don't have anything to help you but I am curious about something you have done that I was told was not possible. I am VERY new to this forum and I wanted to upload an image to one of my posts. However, I couldn't see a way of doing it.
    Thankfully, someone pointed out to me that I had to use Workspaces and gave me a link to the instructions. So in my post, there is only a link, and the reader has to click on it, wait for Workspaces to load etc. I found this very annoying and weird given than most forums allow users to upload simple files.
    I came across your post and you have managed to include the actual images in your post! This is great. It is instant feedback for those who are trying to help you.
    So please, can you tell me how you achieved this without having to go through Workspaces?
    I would love to know.
    Thanks in advance.

  • File Format options not appearing in the Save As dialog box - InDesign CC

    So i was working with a legacy file (an .eps from illustrator4) that i placed into InDesign CC, and when i went to export as a jpg, the option to choose a different file format from the bottom of the dialog box was gone. Did i hit some crazy shortcut to remove the options, or is this a bug that occurs when working with certain legacy files? I've restarted InDesign, rebooted my laptop, deleted my Adobe preferences, reset my adobe warning dialogs, and I still cant export or save as any other file format because the option doesnt appear. And it doesnt matter if i create a new file or open an existing one. Please help. See the pic below. No option for file format on the bottom of the dialog box.

    Thank you very much!
    Reinstalling worked, but i'd still kinda like to know what caused this problem & if this will continue to happen. To me, reinstalling is pretty much like having to reboot anytime you go to IT -- they dont know what the problem is, they just know how to fix/stop it.

Maybe you are looking for

  • Unconfirmed Sales Order

    Hi, When we activate Credit check, upon saving of the order, if credit limit exceeds, the order is blocked and Credit Team can view the orders blocked. In our case, there are some Orders that are still for confirmation (not yet final), hence, should

  • Write XML to local computer...

    Hi! I want to download 6 or 7 xml files from XDB in one turn. As i know, javaapplet has no permission to write onto the local machine. Questions: A) is there an easy way, to download more files with one click. B) how can i set permission and security

  • My G5 is running so slowly now and is in urgent need of an upgrade. I'm running 10.5.8 - is Mavericks out of the question?

    I've had a look at the mavericks spec and it looks like I can't upgrade directly to that. Any one know what I can upgrade to - if anything? My mac has 3.5GB and is running OSX 10.5.8. Thanks for your help.

  • Unbreakable Linux Network

    Sorry if this post is redundant or trivial. We have Oracle 11.2 on Unbreakable 5.4 x_64. My question is this. Is it possible to fetch patches for the DB through the Unbreakable Linux Network channels. Links so I can RTFM are most welcome.

  • Exchange Rates in SAP

    Hi, Please could someone let me know where I can find Exchange rates in SAP, I mean which table I could find them. Thanks Ram.