[JS CS3] Preflight info through scripting

Hi!
Is it possible to generate the preflight information text from a javascript in InDesign CS3?
I know it's possible to generate the preflight text (file) by exporting a package (document.packageForPrint), but what about the separate "Preflight" command in the File menu? Is it not available from scripting?
Thanks,
AJ

Looking at the ESTK object model library, I can't find any lead for preflight command.
However, you may have at least 2 ways to explore.
1. Either use document.packageForPrint
Document.packageForPrint (to: File , copyingFonts:boolean, copyingLinkedGraphics:boolean, copyingProfiles:boolean, updatingGraphics:boolean, ignorePreflightErrors:boolean, creatingReport:boolean, versionComments:string, forceSave:boolean):boolean
So Document.packageForPrint (your filepath , false, false, copyingProfiles:false, updatingGraphics:false, ignorePreflightErrors:true, creatingReport:true, versionComments:false, forceSave:false);
then File(the generated indd filepath).remove();
So at the end, you only have the report.
Tricky I know but it can work.
2.Use the menu.invoke() concept. I am not skilled with that but the Indesign CS3 scripting guide details the procedure.
Good luck.
Loic

Similar Messages

  • Is there way to export a selection to JPEG through script (CS3)

    Hi all,
    Is there way to export a selection to JPEG through script (CS3).
    CS2 has possible method to export a selection to JPEG using the method
    Application.JPEGExportPreferences.ExportingSelection = True. But this method is not supported in CS3.
    Regards,
    Hemi

    Hi Hem,
    http://forums.adobe.com/thread/424774?tstart=30
    regards,
    sudar

  • Unable to send or receive contact info through message

    Hi, I am unable to send or receive contact info through message.How to solve this problem? thanks

    Business card/vCard is exchanged through MMS and not by SMS.
    Make sure your MMS is configured and activated and you have cellular data/3G ON while exchanging MMS.

  • I have made .indd file with some form fields in it, now haw to read these fields and manipulate its content through script in indesign

    I have made .indd file with some form fields in it, now haw to read these fields and manipulate its content through script in indesign

    It's probably best to ask in the InDesign Scripting forum:
    InDesign Scripting

  • Can you set a layer to "Template" through script?

    Hi there,
         I am creating a script to batch export multiple artboards as SVG, and setting a layer to "Template" will keep my unwanted paths from exporting. I am using Illustrator version 17.1.9(64bit)
    Is there a way to set a layer to "template" through script?
    Thanks!
    Scott

    You are correct on this, if I create a template Action let say called "template layer" I can call that with app.doScript("template layer", "folder"). After testing it does work... on my client where I have the Action, but I have a few other artist who will need to run this script.
    EXAMPLE:
    for (var i = 0; i < app.activeDocument.layers.length; i++)
        app.activeDocument.activeLayer = app.activeDocument.layers[i] ;        
        if(app.activeDocument.layers[i].visible == false){
            app.doScript ("template layer", "NI");
    The only other solution I can think of is putting all non-exportable objects on a layer, and call that layer "nonExport" and select all objects on this layer delete them, then export, then undo this action ... ewwww... sounds messy.
    Cheers,
    Scott

  • Hide navigation pane of adobe reader through scripting

    Hi.. I'm looking for a script to hide the navigation pane of the adobe reader through scripting, is there any way I can achieve that?
    my main objective is to restrict user from attaching a file by using navigation pane because I'm already giving buttons to attach a file on the pdf and I want user to attach a file ONLY using buttons on the pdf. Can I achieve this by any other way?
    Thanks in advance.
    Sunaif

    Hi,
    you can hide all panes with this script in the docReady:event.
         event.target.viewState = {overViewMode:1};
    More examples:
    http://thelivecycle.blogspot.com/2010/04/xfa-form-control-view-settings.html

  • Change font type through scripting support.

    Please help me for this scripting support. . I have 100 of PSD with text. Text is brush script. I need to change font as some other font through scripting.

    With the Mail App you cannot change the font.

  • How to load the Employee Images through Script

    Dear All,
    How to load Employee Images into HRMS module through script, Pls provide scripts any body having..
    Thank in advance,
    Hanimi
    Edited by: Hanimi on Jun 7, 2011 10:12 AM

    Hi Hussain,
    Following ctl file is working fine for loading images, But problem is at a time it is loading only 64 rows, pls let me know what i have change in my ctl file for loading all data at a time..
    load data
    infile '/usr/tmp/Images_Data.dat'
    INTO TABLE PER_IMAGES
    append
    FIELDS TERMINATED BY ','
    TRAILING NULLCOLS(
    parent_id,
    table_name constant "PER_PEOPLE_F",
    ext_fname FILLER CHAR(80),
    "IMAGE" LOBFILE(ext_fname) TERMINATED BY EOF,i
    mage_id "PER_IMAGES_S.nextval"
    Thanks,
    Hanimi..

  • Can't Open iPhoto Library in CS3 Ext or through Bridge

    Does anyone know who to open photos stored in the iPhoto Library without having to first save them to the desktop or some other folder?

    Last link does not work.
    Here's the first page of over 160 hits on
    iphoto:
    Search Results for
    iphoto
    161 matches found
    n Topic name: Can't Open iPhoto Library in CS3 Ext or through Bridge
    Forum name: Photoshop Macintosh - Message #3
    Posted By: mfettig - Mar 29, 2008 02:56 pm
    I search I did before posting my message for iPhoto turned up nothing...
    n Topic name: Can't Open iPhoto Library in CS3 Ext or through Bridge
    Forum name: Photoshop Macintosh - Message #2
    Posted By: Ramón G Castañeda - Mar 29, 2008 02:20 pm
    For instance:
    -macman, "iPhoto & Photoshop" #8, 2 Mar 2008 1:20 pm
    n Topic name: Can't Open iPhoto Library in CS3 Ext or through Bridge
    Forum name: Photoshop Macintosh - Message #1
    Posted By: Ramón G Castañeda - Mar 29, 2008 02:18 pm
    iPhoto buries the images deep inside a package. :/ This question comes up often, but I don't recall anyone giving a straight solution. Do a forum search on
    iPhoto just in case.
    Discussion: Topic name: Can't Open iPhoto Library in CS3 Ext or through Bridge
    Forum name: Photoshop Macintosh
    Posted By: mfettig - Mar 29, 2008 02:56 pm
    Does anyone know who to open photos stored in the iPhoto Library without having to first save them to the desktop or some other folder?
    n Topic name: Lounge Gallery 3
    Forum name: The Photoshop Lounge Basement - Message #909
    Posted By: Phos±four dots - Jul 5, 2007 11:08 am
    Dunno much about Picasa yet, Mizz Lizardie, since I only just rediscovered it about 45 minutes ago. But that first album I created was easy as pie. I downloaded the Google Picasa desktop app for uploading peekchairs, so I have to explore that, too. I a
    n Topic name: com.adobe.mediabrowser.plist
    Forum name: Photoshop Macintosh - Message #12
    Posted By: Joe Sap - Feb 23, 2008 11:33 am
    OK, let me try this again: I am not working over a network. I am working on files stored locally on the internal hard disk. Yet the problem happens only when the file server is mounted (for other reasons, unrelated to Adobe applications - like co
    n Topic name: CS3 Photoshop Printing to a HP DeskJet 5500 PS issue
    Forum name: Photoshop Macintosh - Message #8
    Posted By: Kevin B Gilmore - Jan 14, 2008 12:42 pm
    I have the same issue with both an HP 2800 Business inkjet and Epson 4800 Printer. I can print images from iPhoto and preview just fine. But I can't print out of Adobe without getting the "No %%BoundingBox: comment in header!" Error and then the
    Discussion: Topic name: Online image gallery from local folder structure??
    Forum name: Photoshop Macintosh
    Posted By: Micah Diamond - Mar 24, 2008 10:23 pm
    Does anyone know of a program (ideally for the Mac, but it can also be for Windows) that will allow me to create (and possibly sync) an online web gallery from a specified folder structure of images stored locally on my computer? iPhoto 'sort of' allow
    n Topic name: iPhoto & Photoshop
    Forum name: Photoshop Macintosh - Message #8
    Posted By: -macman - Mar 2, 2008 01:20 pm
    Arlen, take a look at this: http://www.macworld.com/article/50671/2006/05/photobrowser.html I just tried it, and it seems to work pretty slick. iPhoto doesnt even have to be running to use it. Simply drag files from the browser to wherever you choose
    n Topic name: iPhoto & Photoshop
    Forum name: Photoshop Macintosh - Message #7
    Posted By: Tom Murray 1 - Mar 2, 2008 12:30 pm
    I think what he wants, is to be able to browse through photos stored in iPhoto from Photoshop.
    n Topic name: iPhoto & Photoshop
    Forum name: Photoshop Macintosh - Message #6
    Posted By: -macman - Mar 2, 2008 11:30 am
    Arlen, >If anyone has other ideas, please post Can you be more specific about your needs/workflow? Weve shown you several ways to open iPhoto files in Photoshop already. Im curious b why any of those detailed methods fail to suit you. I
    n Topic name: iPhoto & Photoshop
    Forum name: Photoshop Macintosh - Message #4
    Posted By: Arlen Nagata - Mar 2, 2008 10:52 am
    Thanks -macman & Nani, I was hoping for a better solution. Yes I can export all my photos, but that defeats the purpose of using iPhoto to organize them. And yes I can find the originals with show in finder, but it's a bit tedious. I think
    n Topic name: iPhoto & Photoshop
    Forum name: Photoshop Macintosh - Message #2
    Posted By: -macman - Mar 2, 2008 01:35 am
    >I'm using iPhoto to manage my photos, but I can't access the pictures in photoshop. Correct. In the past, too many users were caught messing around in iPhotos library, thus causing endless corruption problems within the app. Apple decided to disco
    n Topic name: iPhoto & Photoshop
    Forum name: Photoshop Macintosh - Message #1
    Posted By: Ramón G Castañeda - Mar 2, 2008 12:17 am
    Forget about what you have "imported into" iPhoto. Open the originals.
    Discussion: Topic name: iPhoto & Photoshop
    Forum name: Photoshop Macintosh
    Posted By: Arlen Nagata - Mar 23, 2008 06:50 am
    I'm using iPhoto to manage my photos, but I can't access the pictures in photoshop. What do I do? The closest thing I've found is in iPhoto I changed the "Preferences" of edit to open Photoshop. Is there another solution to integrat
    Click on the SEARCH button to bring up more results
    back to top

  • How to find out web content files linked in folio through scripting

    Hi all,
    Please suggest me, how to find out web content files linked in folio through scripting.
    Regards,
    Moorthy

    @Moorthy – can you tell us a bit more? By mentioning "folio", I think you are referring to Adobe Digitial Publishing Suite (ADPS or short: DPS). If yes:
    1. Do you want to analyze Folio files *.folio and get the linked web content files?
    2. Or do you want to check an InDesign file with an overlay and check what files are linked as web content?
    3. Or something else?
    Where is your base problem?
    Packaging the InDesign files and copy/relinking the web content files after the packaging process?
    Uwe

  • Pie Chart Animation through Script

    hi,
    i want to animate a pie chart which created dynamically through script.
    please help.
    Thanks

    Hi there
    Not sure how you want to animate your chart but, in the example below the chart is created in code.  I've instansiated a SeriesInterpolate class and set the showDataEffect of the series.  This then aminates the chart when the data changes.
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="createChart()" >
        <mx:Script>
            <![CDATA[
                import mx.controls.Button;
                import mx.charts.effects.SeriesInterpolate;
                import mx.charts.series.PieSeries;
                import mx.charts.PieChart;
                import mx.collections.ArrayCollection;
                private var pie:PieChart;
                [Bindable]
                    private var medalsAC:ArrayCollection = new ArrayCollection( [
                { Country: "USA", Gold: 35, Silver:39, Bronze: 29 },
                { Country: "China", Gold: 32, Silver:17, Bronze: 14 },
                { Country: "Russia", Gold: 27, Silver:27, Bronze: 38 } ]);
                [Bindable]
                    private var medalsAC2:ArrayCollection = new ArrayCollection( [
                { Country: "USA", Gold: 105, Silver:25, Bronze: 15 },
                { Country: "China", Gold: 32, Silver:22, Bronze: 20 },
                { Country: "Russia", Gold: 85, Silver:55, Bronze: 35 } ]);
                private function createChart():void {
                    pie = new PieChart();
                    pie.width = 300; pie.height=300;
                    pie.x = 100; pie.y = 100;
                    pie.dataProvider = medalsAC;
                    // Series interpolate is one type of animation available
                    var si:SeriesInterpolate = new SeriesInterpolate();
                    si.duration = 2000;
                    var ps:PieSeries = new PieSeries();
                    ps.field = 'Gold';
                    ps.setStyle('showDataEffect',si);
                    pie.series = [ps];
                    addChild(pie);
                    var btn:Button = new Button()
                    btn.label = 'ChangeData';
                    btn.x =10; btn.y = 10;
                    btn.addEventListener(MouseEvent.CLICK, changeData);
                    addChild(btn);
                private function changeData(event:MouseEvent):void {
                    pie.dataProvider = medalsAC2;
            ]]>
        </mx:Script>
    </mx:Application>
    Hope this helps you on your way.
    Andrew

  • Change Color Settings through Scripting

    We're having an issue at my work where Photoshiop is frequently losing its Color Settings.  Is there a way to modify these settings through scripting, so I can have it run automatically?  The settings are:
    Working Spaces
    RGB:  sRGB IEC61966-2.1
    Color Management Policies
    RGB: Covert to Working RGB
    Turn off “Ask when opening” for profile mismatches and missing profiles
    Conversion options
    Intent: Perceptual
    Thank you for your help.

    May be one of these will help…? Add to the event manager… You should really be looking at why this happens thou… Change to suit your settings name…
    app.load( File( Folder.appData + 'Adobe/Color/Profiles/Recommended/CoatedFOGRA39.icc' ) );
    app.colorSettings = 'CoatedFOGRA39.icc';

  • Kill Session through Script

    Hi ..
    any one can tell me how to kill session through Script in Oracle Open Script..?

    Do you mean how to stop the current virtual user or stop all the virtual users in the OLT session?
    I previously posted this on how one virtual user can stop itself.
    Re: How to stop single VU, java-code

  • Can I get html tag info through actionscript?

    Hi,
    I want to know if there is any way to get the html tag info
    through
    actionscript when the swf file is played in a web browser?
    for example, if the html snippet is:
    <embed name="xx" id="99"
    type="application/x-shockwave-flash"
    src="my.swf" />
    can I get the 'name', 'id' attribute value of this html tag
    from my.swf
    through actionscript? or is there any other way? I know
    actionscript can
    call functions in the html page, but that cant' help me get
    the 'name',
    'id' attriubte value of the html tag.
    Any suggestion is highly appreciated, thanks in advance.

    Great! thanks, I will take a try of this.
    Gorka Ludlow wrote:
    > Use FlashVars:
    >
    > <embed name="xx" id="99"
    type="application/x-shockwave-flash"
    > src="my.swf" FlashVars="id=99&name=xx" />
    >
    > This will make two variables available at the main
    timeline of your movie.
    >
    > Cheers,
    > Gorka
    > www.AquiGorka.com
    >
    >

  • HT1349 How do I view backed up iPhone info through iTunes?

    How do I view backed up iPhone info through iTunes without my iPhone being connected to my computer/iTunes?

    I am trying to save/back-up the data on my phone (pics, contacts, etc) before I get a new phone. I was told at the store that they can only transfer my contacts to my new phone. I do not want to lose all of the other data on my phone.

Maybe you are looking for