Scripting Preflight options In Design (CS4)

I'm trying to make a script that will install predefined Preflight options in In Design. This is my script till now :
tell application "Adobe InDesign CS4"
try
make new preflight profile with properties {name:"TEST"}
end try
tell preflight profile "TEST"
set description to "Preflight !!"
tell preflight rule instance "ADBE_MissingModifiedGraphics"
set flag to return as error
end tell
end tell
end tell
This gives the error : Adobe InDesign CS4 got an error: Preflight profile rule does not exist in the profile
Is there a way to avoid that? If i click on a preflight option in In Design it works fine after that. (But offcourse i want that automaticly done)
Jan Geerling

That script doesn't look right. My *guess* is that you need something like<br />this:<br /><br />tell application "Adobe InDesign CS4"<br />    delete preflight profile 2<br />    try<br />        make new preflight profile with properties {name:"TEST"}<br />    end try<br />    tell preflight profile "TEST"<br />        set description to "Preflight !!"<br />        set pri to make preflight rule instance with properties<br />{id:"ADBE_MissingModifiedGraphics"}<br />        set flag of pri to return as error<br />    end tell<br />end tell<br /><br /><br />-- <br />Shane Stanley <[email protected]><br />AppleScript Pro Sessions <a href=http://scriptingmatters.com/aspro>

Similar Messages

  • Printing with In Design CS4 only print left side,why?

    How do I print a document in Design (CS4).  I have a 11x17 document (landscape) and when I send it to print it only print the left side (letter).   It is a newsletter so one 11x17 comprises 2 letter size pages.  I want to print them all but page by page by letter size only so we can proof read. 
    I noticed that in the preview you can see only the half left side is highligthed for printing.   I tried to play around and Icouldn't.
    Do you know why?.
    Also when you send a document for the printing services, do you send in in 11x17 size? or letter size?
    It is a 6 page newsletter.   One 11x17 both side = 4 pages and One insert 8.5 x11 both sides = 2 pages
    Thanks,

    If your page is set up as 11 x 17 and you try to print to letter-size paper yoou'll need to enable tiling to get both sides.
    The correct way to set this file up is as lettersize facing pages (and they should be set in consecutive order, as the reader will see them). Imposition for printing is done at print time. If you are required to provide the imposed spreads (and no printer worth their salt should be asking for this), you can place the pages from the original file into a new 11 x 17 document in the correct order. Your insert will probably also print as 11 x 17, just half as many sheets with two copies per sheet, then get cut apart and inserted.

  • How to automate the preflight option.

    I need to automate the "Advanced->preflight" option through any software. Kindly advice me.

    Hi there.
    Having the exactly same problem.
    Company bought Adobe Acrobat 9 PRO - version 9.4.3
    I open PDF, i try to save as PDF/A or PDF/X, then a message appears:
    The document has been saved, however, it could not be converted according to the selected standard profile: Convert to PDF/X. Please use Preflight with the profile "Convert to PDF/X" in order to identify those properties of the document which prevent it from being compilant to this profile.
    Soo I guess we are one of those ten of thousands users that this just does not work.
    I would also like to use this posting reply as a chance to ask is there I way we could automate the procedure after we find out why saving in PDF/A format is not working? As a some kind of batch tool procedure, where you would select all the PDF files and convert them to PDF/A ?

  • Creative Suite Design standard version is no longer loading plug-ins, fonts, etc., Crashing with every use..How do I reload my software ? I have the Design CS4 package.

    Creative Suite Design standard version is no longer loading plug-ins, fonts, etc., Crashing with every use..How do I reload my software ? I have the Design CS4 package.

    Thank you Jeff. Great questions.
    I was opening Illustrator in CS4 design standard. Odd too, because the error comes up with it showing missing plugins from Photoshop. I opened Photoshop first, then Illustrator to see if it changed anything. Yes, One of the two error messages for a plugin was gone.  
    To remove apps I went to the Adobe website to redownload my standard CS4 and chose "uninstall".. So I did. Restarts x 2 . Then Reopening illustrator...same thing again. Restarted, then went to Disky Utlity and cleaned up something off of it as per a internet suggestion...Sorry, it's been a long day alreay. Not me removing anything, just allowing it to do that with repairing.
    The version of Mac OS is YOSEMITE 10.10.2 .
    I recently updated!!! oooh nooooo! (every watch Mr. Bill on SNL?) so if the updated OS is the culprit, do I have to go back to older version for my apps to work?   I never realized how very much I use Illustrator. I know there are extensions I could go through one at a time....seriously I am overwhelmed with some life events that make this computer dilema  almost too much of a challenge for me at this time..I am truly grateful for your help. Thank you Jeff.

  • In Design CS4 drops text when opening

    We have an issue involving opening pre existing ID files doesn’t matter which version they were created in,  and when they are opened and you are prompted to find fonts and you replace them with our fonts, which by the way are the Adobe OTF Master Collection, text drops randomly throughout the file. The actual text box is still there but it is empty. We have this issue with customer submitted files also. For example, if the file was created in ID CS2 and you open it in its native version it is fine, same thing with files created in CS3, but when you try it in CS4 you run the risk of losing text. Even after you replace the text that is missing, the next time you open that file if it happens to be on another machine you run the risk of dropping text again. Even when you open it on the original machine there is a chance of dropping text. PLEASE HELP!

    Well you are not the only, we have tried so many different things, I have
    Adobe looking into also and have not heard anything yet.
    In Design CS4 drops text when opening
    Peter Spier
    to:
    Steven Johnson
    09/29/10 03:51 PM
    Please respond to clearspace-723551180-808940-2-3172761
    I'm stumped.

  • Configurator is 'Unable to Update iOS". Error 11 (Preflight options copy fail)

    I'm attempting to restore 720 iPads to factory settings, and place a Configurator profile on them.
    I'm using a Bretford Cart that holds up to 30.
    Everytime I run configurator, it's unable to update iOS, and it specifically says that It "failed to copy preflight options during recovery mode restore. Error 11."
    Half of them work, and are done correctly, and the other half give the error.
    Some of the iPads are on iOS 5, I'm sure, considering the amount of iPads that I'm dealing with. Could this be the issue?
    What am I doing wrong?

    It's been a while, but I think I had to finally completely reset all of them to factory settings, and run them through the entire system again.
    It could be the cart (and configurator) having a problem applying settings to multiple OS installs. I'd put my money on this being the issue.

  • Does IE-11 send preflight OPTIONS request in case of CORS ?

    Hi,
    I am seeing preflight OPTIONS request is not being sent from IE-11 browser while doing a
    cross domain non-simple call. First request sent is handshake request only. What are the cases when IE-11 does and does not send preflight OPTIONS request ?
    Thanks,
    Anuj

    Hi Anuj_577,
    Here is a link may be helpful of understanding this issue.
    CORS Support in ASP.NET Web API 2
    http://msdn.microsoft.com/en-us/magazine/dn532203.aspx
    As the link said ,there are two different ways :
    simple CORS requests and preflight CORS requests. Apart from this ,there is a feature called preflight cache mentioned . It can be used to reduce the request. Here is another link for reference:
    Cross-Origin Requests (CORS) in Internet Explorer, Firefox, Safari and Chrome
    http://www.webdavsystem.com/ajax/programming/cross_origin_requests
    NOTE: This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites.
    Considering this is more likely a developing issue, it is recommended to post it in our Internet Explorer developing forum. The people there are more experienced in this area.
    Internet Explorer Dev Center
    https://social.msdn.microsoft.com/Forums/ie/en-US/home?forum=iewebdevelopment
    Best regards

  • Photoshop "Fill" Dialog Box is missing "Scripted Pattern" option..

    Photoshop "Fill" Dialog Box (using the most current Creative Cloud) is missing "Scripted Pattern" option which is supposed to be at the very bottom.  Instead, in the middle of the box I have the option to check the word "Script" which brings up only six fill patterns (such as Brick, Sprial, etc).  In the tutorials I see that by using Scripted Patterns (the tree option for one) brings up many, many choices.

    Big changes made in Fill between CC and CC 2014.  CC Fill dialog on top CC2014 Fill dialog bottom. Picture Frame and Tree moved from Fill to Render Filter and new Flame pattern added into render filter grouped with Picture Frame and Tree.

  • Can PS CS6 cause font problems in In-Design CS4?

    When I was running just Adobe Creative Suite 4 I didn't have any problems with the In-Design program. After loading Photoshop CS6 and Illustrator CS6, when trying to print in In-Design CS4, I just get the spinning beach ball!
    I suspect a font problem induced by CS6, but could be off base on this one. I'm running a 2010 Mac Pro. If it's a font problem, whats the best way to attack! Any suggestion will be helpful. Thanks
    Jim

    Do you have any 3rd party fonts installed?

  • When I create a new polygon with applescript in in design cs4, I want to make a drop shadow

    when I create a new polygon with applescript in in design cs4, I want to make a drop shadow
    Is it possible?
    I am working with MAC OS 10.6.7 and CS4
    Can somebody help me?

    Adding a drop shadow should work fine regardless of shape… As Im a big fan of using styles everywhere I can…
    tell application "Adobe InDesign CS5"
    activate
    tell the active document
    set GotNoStyle to make new object style
    set properties of drop shadow settings of fill transparency settings of GotNoStyle to ¬
    {mode:drop, distance:3, angle:135, spread:0, blend mode:multiply, opacity:50, honor other effects:true, x offset:3, y offset:3, knocked out:true, use global light:false}
    set SomeFill to the last swatch
    tell the first page
    make new rectangle with properties ¬
    {fill color:SomeFill, geometric bounds:{10, 10, 30, 30}}
    apply object style (the result) using GotNoStyle without clearing overrides
    make new oval with properties ¬
    {fill color:SomeFill, geometric bounds:{10, 40, 30, 70}}
    apply object style (the result) using GotNoStyle without clearing overrides
    end tell
    end tell
    end tell
    You can then edit the object style to make global changes… Sorry my values were for my euro metric head…

  • Change Locale / UI Text Options of Photoshop CS4

    Sorry to bug you all but I've searched the answer to this for two days and can't find anything.
    I recently installed CS4 Design Premium on a PC running Windows 7. When I resize an image (Image>Image Size), the dialog window always displays the Document Size in centimeters. Unfortunately I'm in the U.S. and haven't yet converted to the metric system and it's a royal pain to change the drop-down to inches each time.
    In my "Locales" folder the only subdirectory that exists is, "en_GB". In Edit>Preferences>Interface:UI Text Options:UI Language there is only one option available which is "English: UK". I'm pretty sure that during the initial install of the suite I selected "United States" as my Locale. And is there any reason to have a drop-down with only one choice and no means of adding others (no need to answer this one, I'm just thinking out loud)?
    Is there any way to add the United States as a Locale without having to re-install the Suite?
    Many Thanks

    Is there any way to add the United States as a Locale without having to re-install the Suite?
    The locale for the main program is defined by the serial, not necessarily by your language selection. Shared components derive their locale from this as well and/or in part from the system setting. That issue with installs wrongly using en_GB is quite common, though. It usually occurs when other Adobe software with shared components already was on the system and coerced the installer into using the wrong language. However, short of reinstalling everything Adobe after having sweeped clean with uninstalls and the CS4 Clean Script, there is no way to resolve this.
    Mylenium

  • PDF options in Bridge CS4

    Hello,
    I made a jsx script which generates several layered TIF files which get placed in a PDF.  The script in CS3 used the PDFPresentation function and all was well.  However now in CS4 since that functionality has been moved to Bridge, I don't know how to make a PDF directly from the script (which is currently running in Photoshop).  Also on a more important note, the text vector data is lost when the PDF is made in Bridge!  It's just one big raster image on each page - which means low print quality.  Why can't I select an option in Bridge to include fonts in the final PDF output?

    You might try the Bridge Scripts Fourm for quicker answer.

  • Is there a 'repair' option in DW CS4?

    Dreamweaver just got stuck when I was saving a style sheet. I have switched off completely and re-started my computer but DW still tells me that my CSS files 'appear to be html' and all the external style sheet CSS options have vanished.
    Is there a 'repair' option for this software? I have CS4 web standard.  I looked in Windows Control panel and only found the uninstall option, if I am re-installing on the same computer do I still have to de-active the product?
    Grateful for some advice

    No there is not a repair option.  You really should de-activate your suite from another product if you can get in.  Because many cases the uninstall does not work well and most people have to use the CS4 Clean Script which erases the activation and if you did not de-activate the product you would have to go through a process.  If you are still able to get into DW though, make sure you Export all of your Sites to back them up because once you re-install the suite the defined sites will no longer be there. 
    Adobe - Adobe CS4 Clean Script

  • [CS4] About the Optional plugins for CS4

    Once the optional plugins are installed as discussed in the pdfs that come with them.  In this case, the contact sheet plugin, into Photoshop plugins directory.
    How is it then accessed inside photopshop?
    I see a little note in the pdf saying that it is `optional' to add the plugin to the bridge scripts directory, but if not, then it must be possible to access that plugin from photshop, but I don't see it anywhere.
    I put the contact sheet plugin at:
    C:\Program Files\Adobe\Adobe Photoshop CS4 (64 Bit)\Plug-ins\Automate\ContactSheetII.8LI
    C:\Program Files (x86)\Adobe\Adobe Photoshop CS4\Plug-ins\Automate\
    Putting the 64 and 32 bit plugins in the appropriate directories.
    Where should I be looking inside PS?  Nothing appears under Filters

    If the plugins are installed right, then they should be under File>Automate in photoshop.
    MTSTUNER

  • DPI option in Fireworks CS4?

    I would like to print the logo I'm using on my website. How can I -- or rather, can I -- use Fireworks CS4 to change the image's pixels/inch to dpi? When I go to Modify -> Canvass -> Image size, I don't see a DPI option.
    Thank you

    For printing? Photoshop, Illustrator or InDesign.
    You may be able to export your FW design to Illustrator by choosing File > Export >FXG and Images. If it's all vector, it should come over fairly well.
    If there are bitmaps though, you'll need to pull in the original artwork again to work at the higher resolution.
    Jim Babbage

Maybe you are looking for

  • Photo Stack swf works in IE but not Firefox

    Would anyone know why the photo stack flash gallery won't work in Firefox? IE works fine. I'm fairly sure its just a bit of syntax i'm missing, or a compatibility issue. I am using a .swf file which imports images in using an xm l file and then displ

  • No AUX plug in car, how can I play music from BB curve to car?

    I have no AUX  to plug in my phone to the stereo. How can I play music from my BB curve to the stereo??

  • CS4 File Corruptions

    Hi All, I am running a new Macbook Pro 15" 2.4 GHz Intel Core 2 Duo with 4 GB of memory with OS X 10.5.7. And I also have a dell 24" monitor hooked up as my main screen. Twice now in the past week or so photoshop has locked up, and I was forced to do

  • Page number is printing reverse

    Hi Experts, i have one problem in smart forms  that is i have to print 16 pages, in the output the total number pages shwoing reverse like this " page 1 of 61 , page 2 of 61 ..................page 16 of 61 "  this is wrong .. iam using  Page:&SFSY-PA

  • Submitting the forms back to GP engine after downloading from email

    Hi, I have a process with 2 actions. Action 1 creates an off-line interactive form from a template and sends to the processor by email.  Action 2 is a visual approval. After Action 1, the recipient will download the form from email, add some more dat