JS CS3: Setting SaveOptions

Hi all,
neither Google nor the Search of this forum could help me...
I want to save an .ai file in an old version.
I know the command is aDoc(aFile, aiSaveOptions)
My problem is: how do I declare those SaveOptions?
With PDFSaveOptions and EPSSaveOptions I can create an options-object with
aSO = new PDFSaveOptions();
But when I try
aSO = new AISaveOptions();
I get an error stating "AISaveOptions has no constructor"
What is the secret here?
Thank you
Gerald

Steve, thank you.
I can't find IllustratorSaveOptions in ESTKs object model listing. Only AISaveOptions.
But IllustratorSaveOptions works!
For the lurkers, this does its job:
var aFile = new File("~/Desktop/Aics2.ai");
var aiOptions = new IllustratorSaveOptions;
with (aiOptions) {
compatibility = Compatibility.ILLUSTRATOR12;
compressed = true;
embedICCProfile = false;
embedLinkedFiles = true;
pdfCompatible = true;
app.documents[0].saveAs (aFile, aiOptions);

Similar Messages

  • Best Mac/Photoshop CS3 set up.

    Hello,
    I have been reading several posts throughout the forums and would like to confirm a few things on the best MAC/Photoshop CS3 set up.
    Here are my specs:
    MacPro 2 x 2.8 Ghz Quad-Core Intel Xeon - MAC OS 10.5.4
    PS CS3 10.0.1 (Full CS3 as well)
    18 GB 800 Mhz DDR2 FB-DIMM
    Internal Drive 1 = 320GB from Apple, partitioned in half. 50% OS, System Drive, Applications, etc. 50% Scratch disc.
    Internal Drive 2 = 320GB Hitachi Main Media/working Files
    External Drive 1 = 750GB GTECH SATA II, 7200 RPM/16MB cache - Secondary Freelance Media/working Files
    External Drive 2 = 1TB Maxtor, 1 Touch. I'm not too fond of this drive, but I have it and use for a dedicated B/u, Super-Duper and Time Machine. (FYI - I also have an off-site b/u server)
    I believe I have searched and read most of the recent posts on the subject. But, maybe I missed something. If so, please provide a link. Here are the two that I thought were most relevant to my question.
    "Optimize performance in Photoshop CS3 & Memory allocation and usage (Photoshop CS2)" and all the associated links provided. http://www.adobeforums.com/webx/.3bbb6813
    "Scratch Disc/RAM allocation issues" http://www.adobeforums.com/webx?128@@.59b5c2e9
    Thank You!
    What I do primarily with the system:
    Graphic Design for both print and the website design. Occasionally very large files for vehicle wraps and/or large format banners.
    New on the horizon: HD Video Editing/Final Cut. I know that is another forum. But if you have experience with that, please chime in. If necessary, I can take that part of the conversation to another forum. My primary focus is performance with CS3, most of my time being spent in PS.
    So, here is my questions:
    1) Is my current set up the best for PS CS3 performance?
    2) Have I missed anything?
    3) Can/should I reduce the scratch disc size? Is this size overkill?
    19GB Ram, Set PS Memory Usage to 100% "Available-Memory Allowance"
    150GB dedicated scratch disc
    Thank you in advance,
    Steve

    A Quick Update:
    I did not touch either of the external drives. While I was deciding on what to do, another situation arose; Remember part of my original post, "New on the horizon: HD Video Editing/Final Cut."? Well this has come to a head and I needed to move forward on this. After a bit of research, I quickly realized I had a bigger problem... Disc space HD Video Editing. This forced a new purchase of two internal 1 TB Drives.
    Here is the adjusted set up;
    (2) 23" HP2335's
    MacPro 2 x 2.8 Ghz Quad-Core Intel Xeon - MAC OS 10.5.4
    18 GB 800 Mhz DDR2 FB-DIMM
    Internal Drive 1 = 320GB from Apple, Dedicated System Drive, Applications, etc.
    Internal Drive 2 = 320GB Hitachi partitioned in half. 50% Main Media/working Files, etc. 50% Scratch disc.
    Internal Drive 3 = 1TB Seagate Barracuda - (awaiting set recommendation. Slotted as FCE Scratch)
    Internal Drive 4 = 1TB Seagate Barracuda - (awaiting set recommendation. Slotted as FCE BU until an external is available)
    External Drive 1 = 750GB GTECH SATA II, 7200 RPM/16MB cache - Personal Freelance Media/working Files
    External Drive 2 = 1TB Maxtor, 1 Touch. I'm not too fond of this drive, but I have it and use for a dedicated Time Machine B/U. (FYI - I also have an off-site b/u server)
    Thats all for now.
    Thank you for all those who commented.
    Steve
    Ps. The part of my original post: "I can take that part of the conversation to another forum." I will be posting in the FCE forum.

  • [AS CS3] setting fill color opacity

    I want to change the fill opacity of a text box. So far I have only been able to set the opacity of the entire text box thru the blending settings of the transparency settings. The code I have below will set the entire text box to the opacity I want but the text inside and the frame will change and all want is the fill. How do I call only the fill of that box to set its opacity?
    tell application "Adobe InDesign CS3"
    tell document 1
    --something here to establish which text frame to change the settings of
    tell _Box
    tell transparency settings
    set properties of blending settings to {blend mode:normal, opacity:60.0}
    end tell
    end tell
    end tell
    end tell

    I think you are looking for "opacity of blending settings of fill transparency settings"?
    set opacity of blending settings of fill transparency settings of selection to 60 will set it to 60% for example.
    FWIW, the way I usually figure this kind of thing out is to set up an example box, put a weird value in the field I want to change (eg, 12.3) and then do a "get properties of selection" in Script Editor. Then I can search for that weird value and find out what the name of the property is that contains it. (In this case a little more complex than that, as it involved a search for transparency and then the sub-properties of the settings in the right transparency properties..)
    EDIT: Originally I thought you were talking about the color tint. Fixed.

  • Beginner Illustrator CS3  Set Trim size and Live area

    Our graphic designer is on vacation I need to submit this image to print as poster...I have the image but I need help how to set Trim size to 45" width and 67" height. Visual live area set to 43"wd x 64" ht DPI 150 at 100% saved into PDF. Please help how to do this in Illustrator CS3?
    Thank you very much!

    > Trim size to 45" width and 67" height.
    File > Document setup. Make that the document size.
    > Visual live area set to 43"wd x 64" ht.
    Just keep all important info (text, logo) within that area. 1 inch margins left and right, 1.5 inch margins top and bottom.
    > DPI 150
    That's PPI, for Pixels Per Inch, not DPI. That's the minimum resolution for imported artwork, like scans or Photoshop files.
    > saved into PDF
    File > Save A Copy. Choose ADobe PDF as the format and then Press Quality as the preset in the following window after you click Save. Unless the printer provided more specific requirements, which I doubt.

  • AS CS3 - Setting the EPS Import Settings

    I am trying to create an applescript that sets a whole series of preferences in Indesign CS3 so I can quickly and easily synchronize my studio with the same settings.
    It had been going well until I was stumped by the EPS Import Settings of which I want to have clipping paths applied and I want to rasterize the postscript for the proxy.
    I have tried something like this:
    tell the EPS import preference properties
    set EPS frames to true
    set the EPS proxy to "Rasterise the Postscript"
    end tell
    Of course I am failing big time somewhere, any help would be greatly appreciated.

    On 3/9/08 10:27 AM, "Dylan" <[email protected]> wrote:<br /><br />>    set the EPS proxy to "Rasterise the Postscript"<br /><br />The two options for EPS proxy are "always" and "as needed" (without the<br />quotes).<br /><br />-- <br />Shane Stanley <[email protected]>

  • [JS, CS3]  Setting Page Destination on Button

    Hi
    I unsuccessfull try to set the a Page Destination on a Button.
    The script loops through the Document and picks certain textframes, which contain the page.name as text. inside the loop I do this:
    // START LOOP
    // Getting the Content of Textframe -> this is the destination Page Number
    myDestinationPage = myDocument.pages.itemByName ( myDocument.pages[ pageIterator ].textFrames[ textFrameIterator ].contents );
    // Creating a HyperlinkPageDestinationObject
    myHyperlinkPageDestination = myDocument.hyperlinkPageDestinations.add( myDestinationPage );
    // Creating a new Button over a certain area on the actual Page - setting visibility off
    myButton = myDocument.pages[ pageIterator ].buttons.add({visibilityInPdf:1181247844, geometricBounds:[ myDocument.pages[ pageIterator ].textFrames[ textFrameIterator ].geometricBounds[ 0 ],12,myDocument.pages[ pageIterator ].textFrames[ textFrameIterator ].geometricBounds[ 2 ], myDocument.pages[ pageIterator ].textFrames[ textFrameIterator ].geometricBounds[ 3 ]]});
    // Creating an hyperlinkPageItemSource = the Actual Button myHyperlinkPageItemSource = myDocument.hyperlinkPageItemSources.add( myButton );
    // Creating an Hyperlink
    myHyperlink = myDocument.hyperlinks.add( myHyperlinkPageItemSource, myHyperlinkPageDestination );
    //The Destination shall be a Ceratin Page so I add a gotoAnchorBehavior
    myGotoAnchorBehavior = myButton.gotoAnchorBehaviors.add();
    // Now I try to set the Anchor Target. I think that's not working...
    myGotoAnchorBehavior.anchorItem =myHyperlink;
    // END LOOP
    The Buttons are there, the Destinations as well, but the ceratin button has not the desired Page as destination. Does someone have a hint on this topic?
    Thanks and greets
    Stefan

    Hi Keith,
    myDoc.activeLayer = myDoc.layers.item("Layer 1");
    Kasyan

  • [JS CS3]setting properties of inline rectangle

    Hi,
    This doesn't seem to work for somes reason...
    myLibItem = myLib.assets.item("Steunvraag");
    var myIP = myFrame.texts.item(0).insertionPoints.item(-1);
    myLibItem = myLibItem.placeAsset(myIP);
    myLibItem.anchoredObjectSettings.anchoredPosition = AnchorPosition.anchored;
    So I've placed a library asset in an insertion point - so far so good - but when i want to set properties of the result (a rectangle), I get an error about the object not supporting the method anchoredObjectSettings. I use the same construction elsewhere in the script with a textframe created from scratch, and that works fine.
    Any suggestions?
    thnx

    placeAsset returns an array (even for this case where there can only ever be one item). So:
    myLibItem = myLibItem.placeAsset(myIP)[0];
    Dave

  • [AS][CS3] Setting the Preferences, Dictionary, to Danish.

    Hi there
    I am having problems to change the application preferences - Dictionary language from English: UK to Ex. Swedish or Danish.
    When i look at property of ex. "dictionary preferences" most of them has access get !
    Is it posibel to chance this preferences and how ?
    ( The script has to set up InDesign with default settings before a user takes over )
    Thanks
    /Tonny

    It makes next to no sense to change the dictionary preferences by script. What are you really trying to do?
    The dictionary preferences allow you to set dictionary options for the various special characters (like smart quotes).
    To change the language assigned to text, you need to change the appliedLanguage property of the text, either directly as a local override or (more likely) by changing the property of the paragraph or character styles.
    Dave

  • InDesign CS3: setting element id's for SVG export

    Hi!
    I created some documents in InDesign which I exported to an SVG File. I wan't to do some DOM manipulation in the SVG file now. Is there a way to set an id to a group of elements which is exported as an group in the SVG file? Or can I export the name of a layer as an attribute or class or whatever is allowed in SVG. So I can easily search for all elements in the xml tree which have been on a specific layer in the inDesign file?
    regards
    marcus

    Have you tried the usual fixes
    http://forums.adobe.com/thread/526990
    http://forums.adobe.com/thread/526991

  • Contribute CS3 - setting default home page

    Hello. I'm trying to set up Contribute to administer a Web
    site. We use .shtm extensions for our pages, including our home
    page. I've altered the list of index pages in the Administrator
    panel, but when I start Contribute and go to the home page, it
    still insists on going to a default ".html" extension. Is there
    another way to change that default? It's pretty annoying to go to a
    page that doesn't exist - makes it look as if the application does
    not work.

    Tru this please:
    1. In the main menu go to Edit>Administer websites
    2. go to Usres and Roles
    3. pick your role and click Edit Role Settings
    4. on the screen 'General' check the Home Page for Usres in
    this Role with the right page (index.shtml)

  • Hi all,how many discs should be in the CS3 set ?

    I have CS3, Onlocation, and Video Workshop. But there is an empty space in the box !
    Thanks,
    Ian

    I skipped CS3 so I can't check a box, but...
    these downloadable trial installation files are
    the equivalent of the installation disks for CS3.
    Adobe CS3 / CS4 Trial Downloads: Direct Links
    http://prodesigntools.com/download-adobe-cs4-and-cs3-free-trials-here.html
    Be sure to read "Note: Very Important Instructions".
    If you already own a license for any of these CS3 versions,
    these Trial downloads can be authorized and updated online
    by using your existing serial number(s).
    Perfect for backing up your boxed DVDs.

  • [JS CS3] Setting the default layer

    I've been through the ID JS DOM, and I can't seem to find a reference for this...I think I'm missing something basic here.
    I've created two new layers via JavaScript:
    myDoc.layers.add ({name: 'manufacturers index', layerColor: UIColors.green});
    myDoc.layers.add ({name: 'product index', layerColor: UIColors.red});
    After running the script, the document is left in a state where "product index" is the target layer, and any new objects that are created are created on that layer.
    I want the script to leave the document in a state where the original "Layer 1" in the file is the target layer. How do I do this via JavaScript?

    Hi Keith,
    myDoc.activeLayer = myDoc.layers.item("Layer 1");
    Kasyan

  • [CS3, VB] How to find text and store as a string

    Dear all,
    I'm stymied again with what seems a simple thing. But you hear that a lot.
    I want to find a reference number in a document and then use that to create a filename later on.
    I've got this far, adapting code from another topic:
    myString = "Release No. ^9^9^9^9"
    Set myFileSystemObject = CreateObject("Scripting.FileSystemObject")
    Set myInDesign = CreateObject("InDesign.Application.CS3")
    Set myDocument = myInDesign.ActiveDocument
    myInDesign.FindTextPreferences = idNothingEnum.idNothing
    myInDesign.FindTextPreferences.FindWhat = myString
    set myFounded = myDocument.findText()
    call myInDesign.select(myFounded.item(1))
    I know I shouldn't have to select it as such, but anyway, I'm stuck converting the found text into a string. And then I want to just grab the four digits.
    Also, could you provide the code to put that into a if/then statement in case it doesn't find anything?
    Thanks
    Nigel

    Perhaps we need some clarification.
    Can you post one -> Good Data
    one -> Bad Data
    And, the required output - i mean the way you want to display those bad data. And, also post your exact oracle version by this way ->
    select * from v$version;Regards.
    Satyaki De.

  • Setting the layer name from a format plugin with CS2 and before

    Hello,
    I wrote a new format plugin and the name of the layer shown in PS , when I read a file, does not seem to be consistent on all computers for versions CS2 and before :  some times I get "Background" and some times I get "Layer 0" .
    When the layer is named is "Background",  it is locked. If I double click on the layer, I get a panel to rename it and the name suggested is "Layer 0" (and not "Background").
    Somehow, it seems that my plugin is not doing exactly the right thing or there is a setting in PS options (or in the registry) that controls/causes that behavior. My understanding is that we can't name layers from the plugin before version CS3 (setting the layerName field in the FormatRecord makes no difference for CS2 and before).
    I do not care much about the actual layer name as long as that name is consistent for all installations. Does anybody know what is going on?
    Thank you!
    Gilbert

    If it has transparency, it has to be a layer ("Layer0").
    If it doesn't have transparency, it is treated as a background.
    And yes, changing the background to a layer does normally rename it to "layer X".

  • Round trip to PS CS3 does not show the saved image in Aperture 2.1.1

    Good evening everyone; I hope someone can help me to solve this.
    I have PS CS3 set as my external photo processing app (exports are PSD 16-bit 300 dpi) in Aperture 2.1.1. When I process the picture in CS3 and then save it(mind you I only SAVE, I do not do SAVE AS) as PSD (or TIFF) Aperture only shows me the original file in preview with the little circle informing me about the round trip to CS3. So the processed file does not show. Instead I only see two identical versions of the same photo.( I mean, I see the master and the version with the little circle).
    If I save the work in PS CS3 as jpeg and then import into Aperture, it shows fine. When trying to import the processed and saved PSD and TIFF files, Aperture only shows the original file.
    If it helps, I am working on layered pictures (HDR) where I use different parts of different pictures to get wide dynamic range. I export 3 or so photos from Aperture at once to CS3, process them into one, flatten the picture and save it.
    And then Aperture just shows me the original file as version.
    I have done this before 2.1.1 and it worked. Not sure if I have changed anything that might be causing this.
    Thank you for your ideas.

    I am sure it is not stacked under the original, unfortunately. Any other tips?
    Also, as I mentioned earlier, even if I save the processed file in CS3 as PSD (so I use SAVE AS) and then try to import it into Aperture, it "magically" only shows the orginal (as if it was just importing some layer).

Maybe you are looking for

  • Invoice dates/shipment dates

    HI All can anybody give me idea IN SAP is there any possibility to get invoice dates list and ship dates list for same invoices in particular period

  • How do I know if my laptop is completely up to date, and working efficiently/correctly

    A few questions, kind of computer challenged! 1.I am unsure if my laptop is running on the most up to date software. I have a mid-2010 Macbook pro, and it says that I am running on OS X 10.9.2. 2. What are the best Mac Apps I need in order to ensure

  • 100% Down Payment for A/P Invoice

    Dear Experts, One of our clients requires to recieve 100% down-payment AP invoice, but the scenario is slightly different. The purchase process requires to pay the amount today, but the purchase is actually entered into the system the following day o

  • Problem with Generics

    I have the following practice program:import java.util.*; public class ShowRoom     private List<Car> list;     public ShowRoom()         list = new ArrayList<Car>();     protected void putInRoom(Car car)         list.add(car);     protected void tak

  • My HD needs to be Repaired every month. Is this normal?

    I joined the Apple family in February 2012 with the purchase of my MacBook Pro 15". The MBP has been working absolutely wonderfully and confirms why I gave up on Windows and PCs. The only "fly in the soup" has been that I must run Repair Disk at leas