[AS] "Without display window" is always window display

Hi all

I'm trying to process a batch of files InDesign CS3 and when I use the command "without window display", the script runs as expected, except that it does not display the window that the script runs.  I think I could pick up some speed gains major if I could keep the window in the background, but it seems that the script is not obeying this command.

In truth, this command has never worked for me and I'm starting to wonder if a parameter preferably I maybe locally could be the ACE command substitution.

The script below is an excerpt of my script.  Note that I have a Finder window and am processing all InDesign files in this window.

Any ideas or suggestions?  Thanks in advance!

say application «Adobe InDesign CS3»

put level of user interaction of script preferences to never interact

say application 'Finder '.

set theFolder to window 1

set theNumber to count (items in theFolder whose name ends with ".indd")

end tell

-start process files in the open window

repeat with i from 1 to theNumber

open (item i of theFolder whose name ends with ".indd") without showing window

--do stuff

close document 1 record not

end repeat

end tell

Your problem is that your code passes references to Finder to InDesign. InDesign does not include references to Finder, then it throws their back to the Finder, which then makes the opening - it's as if you have double-clicked on the file.

You place InDesign an alias or a path, like this:

Tell application "Finder".

the value Folder window 1

Try

set uses (each file in the folder whose name ends in ".indd") as alias list

in case of error- happens if there is a single

set uses (each file in the folder whose name ends in ".indd") as alias as a list

try to end

tell the end

Tell application "Adobe InDesign CS3"

set the level of user interaction script Preferences never interact

-start process files in the open window

Repeat with i from 1 to the number of uses

Open (point I use) without display window

-do things

Close document 1 Save any

end repeat

tell the end

--

Shane Stanley [email protected]>

AppleScript Pro Sessions http://scriptingmatters.com/aspro>

Tags: InDesign

Similar Questions

  • I can connect with the Administrators account without starting windows in safe mode in win xp pro sp3

    I can connect with the Administrators account without starting windows in safe mode and if yes, how?

    If I ca not, how can I load the graphics in safe mode drivers as all graphical interfaces are not displayed correctly.

    Thank you, Andre

    If XP Pro using the Welcome screen, press CTRL + ALT + DELETE to bring up the classic login box.  In the connection box, type the administrator user name and password. Boulder computer Maven
    Most Microsoft Valuable Professional

  • Restart the computer without displaying warnings

    Recently, my computer suddenly reboots without displaying any warnings (sometimes) and I had lost my unsaved data. What should I do?

    This type of shutdown usually indicates one of the following conditions:

    (1) system crash (in the old days it would come with a blue screen message but the modern configuration is to restart without showing a 'scary' screen like that)

    (2) a hardware failure (loss of power system, there was a short circuit or some other fault)

    To try to know that if it's a software crashing issue, you can open the report of reliability on the computer.  Press the Windows Logo and W to display the settings panel, type 'reliability' and open history of reliability.  It will show you the recent history of events. If you see a report of incidents at the moment when the reboot happened, which can help identify the cause.  If it was because of a recent driver installation software or other software, you can run the system restore and restore before the problem started.

    If it's a hardware failure, you'll want to contact the manufacturer for repair or replacement.

  • What should I change to keep alive indefinitely without any Windows activity?

    Title of the Moose: kb2492386

    Installed kb2492386 update to XP Pro (version 2002) as well as several IE8, several .NET framework and central management framework.  Since the updates windows times out and require a re-login.  Power options are unchanged: never stop disks, never attend the eve and disabled hibernation.

    What should I change to keep alive indefinitely without any Windows activity?

    Hello

    Follow these steps and check if that helps:

    a. log on to a user administrator account in Windows XP.

    b. click the rectangular 'Start' button in the left corner and open the control panel.

    c. click on "Performance and Maintenance" and select "Power Options".

    d. choose 'Never' lists 'sleep' and 'Putting into hibernation'. Then click on 'OK '.

    Also, see this Microsoft KB article and check if that helps:

    How to solve the problems of hibernation and standby in Windows XP

    http://support.Microsoft.com/kb/907477

  • How to print directly WITHOUT displaying dialog printer?

    We have an EPSON LQ-300 + II. We want than printing directly immediately without displaying the printer dialog box.
     
    Let us invoke the printing from a form of Oracle using a built-in Oracle Forms.
     
    that is, when we say WEB. SHOW_DOCUMENT () printer dialog box is displayed. I want to start printing WITHOUT this dialog box?

    The beginning of printing immediately and to print directly to the printer does not work.

    Any help pls?

     
    OS is XP SP3.
    This will only work for IE.


    CLASSID = "" CLSID:8856F961 - 340A-11 D 0-A96B-00C04FD705A2 ">"

  • I can't open or download whatever this either without a window saying open with cropping up, what can I do to fix this?

    I can't open or download anything that it either without a window saying 'open with' arise, what can I do to fix this? I'm so frustrated.

    I can't open or download anything that it either without a window saying 'open with' arise, what can I do to fix this? I'm so frustrated.

    Use the following method. It works with your particular issue.
    Open with appears whenever I try to open a program
     
    Scroll down to the answer given by Phantom010:
    Download and merge the reg. EXEFIX .
    quote...
    Try this registry fix: EXEFIX

    Unzip the patch and extract it. REG file on your desktop. Right click on the REG file and choose Merge. Note that you must be an administrator to apply this hotfix.

    Reset.
  • I get the error "Server execution failed" after cleaning my hard drive without deleting Windows 7

    * Original title: Server execution failed

    Tried to clean my hard drive without deleting windows 7 and now, that message is what I get for all

    (Moved to repair and recovery)

    You do not have a format to get rid of your data.

    You do a format when you want to do a clean install of the operating system.

    As you all saved, I suggest that you continue on the new facility, then copy your data back.

    An evaluation of the system of pre-boot build 4124 is Dell.

    http://en.community.Dell.com/support-forums/laptop/f/3518/t/19422031

    See you soon.

  • Capture of the camera without displaying on-screen

    Hi all

    I've been playing with this idea for awhile and it seems impossible, but I was wondering if anyone has been able to do.

    I would like to capture from the camera without displaying the viewfinder direct feed on screen. I tried in many ways, like simple do not add the field that contains the camera feed to the screen, the video setting to not be visible etc.. But all of these methods lead to a NullPointerException when getSnapshot() is called, because it is trying to capture what is displayed on the screen.

    Is it possible that this could be possible?

    Thank you

    Luke

    don't think.

  • Why can't my computer without disk Windows 8?

    Why can't restart my computer without disk windows 8?

    Hi Bryan,.

    Thank you for giving us the opportunity to help you with the query.

    I understand the inconvenience caused, now that you have me with you I would take care of that.

    • What happens when you try to restart the computer without disk Windows 8?

    This could be due to incompatible driver of settings\ misfeed.

    Let us try the following steps and check if it helps.

    Step 1: I suggest you run the troubleshooter of power that will tell you if there is something wrong with the power settings.

    Follow these steps to run the troubleshooter of power.

    1. Press the Windows key + X key and select Control Panel
    2. Select Troubleshooting.
    3. Select show all in the upper left corner.
    4. Run troubleshooting power. 

    Step 2: I suggest a reset and restore all the of the default power Plans to return to their default settings. Follow these steps:

    1. press on Windows Key + X.
    2. Select (Admin) command prompt.
    3. at the command prompt, type powercfg - restoredefaultschemesand then press ENTER.
    4. at the command prompt, type exit to exit the command prompt window.
    5. restart the computer and check with the question.

    In addition, make sure that you have the latest drivers installed on your computer.

    You can have Windows automatically download recommended drivers and detailed information for your hardware and devices. It is a good way to ensure that all your hardware and devices work properly.

    It will be useful.

    Let us know the status, we are happy to help you further.

  • Is it possible to install codecs windows without installing windows media player?

    Is it possible to install codecs windows without installing windows media player?

    I N windows version and I really want to install the multimedia package, I want just the codecs, because without them Firefox isn't able to reproduce h.264 html5 video tags.

    I'll apreciate any help, regards.

    (Moved from devices and drivers)

    Hello

    Windows 8/8.1 has a serious lack of Codecs.

    http://www.SnapFiles.com/get/k-Lite-full.html

    For info: During our review, we found that this program offers to install promotional, third party components. Installation of these components is optional, but you should pay attention during installation

    See you soon.

  • Can I restore my OptiPlex 360 settings without reinstalling Windows?

    I have an OptiPlex 360 running Windows 8.1. I'm not the original owner, and the previous owner has left a top Windows password. Is there a way to bypass the password without reinstalling Windows?

    I tried the following:

    • Shift + reboot: all the useful options on this screen requires either a password or a reinstallation of Windows. I don't have an installation or a recovery disk, but I can get one if necessary.
    • F2/F12 during startup: I have not found all the options to restore the factory settings.
    • Installation of Windows 10: I tried to burn the disk Windows 10 for a DVD image file and start from that, but I didn't get the error message "boot device available."

    Factory settings can be restored in the Dell boot menu, or should I ask this at Microsoft Support Forum? Do I need a recovery disk?

    Thanks in advance.

    The OptiPlex 360 has not supplied with Windows 8.1, it had to be a level of detail. You will need to clean Windows Installer, but given the fact that you don't have the Windows 8.1 key detail you can't simply clean reinstall Windows 8.1.

    If you can get the Windows 10 Insider 10130 .iso image file, you can use this upgrade:

    http://dellwindowsreinstallationguide.com/Windows-XPVISTA-%E2%86%92-Windows-10-free-upgrade/

  • Incorporate analysis into a web portal without display headers OBI

    Is it possible to integrate an analysis of Oracle BI 11 in an iframe to a web portal without display headers OBI?

    I tried with GO the URL.

    When I use a URL, as in OBI10 http://obiserver:9704/analytics/saw.dll?Go & path = % 2Fshared % 2FPruebas % 20RGPrueba & NQUser = myuser & NQPassword = mypwd, it displays the header.

    If I use the URL with Action = extraction, http://ora11g.hiberus.local:9704/analytics/saw.dll?Go & path = % 2Fshared % 2FPruebas % 20RGPrueba & NQUser = myuser & NQPassword = mypwd & Action = Extract, it does not display the headers but I can't deepen.

    Any help is very appreciated.

    To resolve this problem, add it '& hideMainBar = true' parameter in the URL.  This will remove the global header (Bug 16971577 - the HELP of THE GO URL BIEE11.1.1.7, GLOBAL header if POSTER)

  • Create a link to download/print for an interactive report without displaying

    Hi all

    Is it possible to display a download / print link area of interactive report, but without displaying the search bar?

    Thank you

    Not sure I understand. Looking for + {message identifier: = 2475831} +?

  • How to save the item without displaying the page

    Hello

    I have the need to save the item without displaying the page.

    thanx

    In your view of yyy Table object create an attribute for BusinessGroupId you like to save it in your table of yyy VO.

    Now when you click on the button save capture this ViewObject and assign to this attribute VO running. I guess that yyytableVO is based EO.

    Extract

    Controller PFR Code
    
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    pageContext.getParameter("Save") != null)
    {
      OAViewObject vo = (OAViewObject)am.findViewObject("yyyTableVO");
      if (vo != null)
      {
         vo.getCurrentRow.setAttribute("BusinessGroupId", value);//value is what you have capture from pageContext.getparameter
    
       }
    
    }
    

    Thank you
    -Anil

  • export in excel without displaying all the lines

    Hello
    I use OBIEE version 10.1.3.4.1.
    I have a "point of view of table" report with thousands of lines.

    I would like to export a report to Excel, without displaying the data. Is possible to program execution as an export in Excel?

    Otherwise I enabled "Page control" by "50 one row per page." Is possible to export to Excel all the line of the report without to see all?

    Thank you

    Sara

    Published by: Sara C. gen-25-2010 6.23

    Hi Sara,.

    you have 2 options:
    1. use ibots for your report in the form of an excel. This would avoid the generation of report.
    2. use "Download to Excel" option. This option downloads all of the content and NOT those shown on the screen.

    I hope this helps.

    see you soon,
    Vineeth

Maybe you are looking for

  • Note games Pavilion: M.2 ssd upgrade

    I bought the hp pavillion gaming notebook 15-ak100neProduct number: RT8S32EA #ABVSerial number: [personal information]and I wanted to ask: does it support .and M.2 SSD whose physical size?Thank you.

  • Logical drive:

    Hello I had installed windows 8 preview and everything works fine accept my logical drive H. I can't launch a cd, or it appears in my computer. Please help me!

  • PLEASE HELP ME UNLOCK MY COMPUTER!

    I let a "FRIEND" use my Acer laptop one night and when I turned it on for the connection, I couldn't! I sign as a guest now and I can't download it, access files (N it is not) and now I get a lil pop up at the bottom right of my computer that tells m

  • HP ENVY PHOENIX 810-400no: block of POWER QUALITY

    Hi I have improved my GTX 770 to a GTX 980 TI and power works well, energy consumption is allmost the same, with 10 to 20 watts more than the GTX 770 and 300 watts of game and all the system maxed out pic is 360 watts... .then my quetsion is, what is

  • "update does not apply to your system" error when installing Windows Easy Transfer for Vista 32 bit

    I downloaded and tried to install this update from my 32-bit Vista system and has received a notice of error "update does not apply to your system.