Cs3 applescript registration color

I'm having trouble setting a line of text to be [Registration] color from an applescript. No problem changing it to any other color - just registration.

Aaron,
This may not be what you need but it could point you in the right direction. This creates and applies a character style that uses registration color as a character attribute.
tell application "Adobe Illustrator"
set openDoc to document 1
set spotIndex to get index of spot "[Registration]" of openDoc
set infoText to make new character style in openDoc with properties {name:"FileInfoType"}
set the size of infoText to 7
set the text font of infoText to text font "MyriadPro-Regular"
set fill color of infoText to {class:spot color info, tint:100, spot:spot spotIndex of document 1}
set openFile to name of openDoc
make new rectangle in openDoc with properties ¬
{position:{0, 15}, height:7.5, width:150}
make new text frame in openDoc with properties ¬
{name:"Filename", kind:area text, text path:the result, contents:"File: " & openFile}
apply character style infoText to the text range of text frame "Filename" of openDoc
end tell
Good Luck
Nick

Similar Messages

  • Preflight warnings for registration color -- how to avoid?

    In preflighting, is there any way to turn off registration color and font color warnings when checking for spot colors and non-CMYK colors?
    I spend a lot of time tunneling through lists of fonts (that use non-CMYK color in their definitions) and registration color notes for crops, register marks, and so on, just to make absolute certain that the "Object uses non-CMYK color" info doesn't contain anything weird.
    I've recently moved from CS3 to CS5 Acrobat Pro 9, and hoped there would be some option to turn off font color and registration color messages.
    Thanks.

    Non-CMYK elements are flattened (if necessary) and converted to CMYK using the fixups, but then they have to be proofed carefully for problems, so it isn't anything we want to add to the routine unless absolutely necessary.
    ===
    Example alerts:
    "Object uses non-CMYK color (52 matches on 1 page)"
    In the detail folder (after clicking on the open triangle) there are a dozen or so of these, or close variations:
    "Page 1: stroked: 0.25 pt 'Registration color'  Black (0.0) overprint: off"
    Plus nested folders labeled:
    "... Page 1: Further matches (20 out of 42)
    ... with nested folders with more alerts in that.
    ===
    If it were a simple list, I could scan it for problem, but with all the nested folders and scrolling, it take a fair amount of time (multiplied by 30 or 40 documents, say).
    Thank you for your attention. I really appreciate it, though I think my problem is small. I was just hoping there was a way to "ignore registration color in preflight" somewhere that I hadn't found yet.

  • Problems printing spot colors overprinting registration color

    In order to get a spot color to overprint a registration color on a proof, I have to change the spot color to multiply and then select convert all spot colors to process in the output dialog. I've never had this problem before using CS4. I'm running Mac OS X 10.5 and printing to an EFI RIP. I can see the error in the preview window inside the print dialog box in Illustrator before I sent to the rip.

    Absolutely.
    Remember I only have this problem when a registration object interacts with a spot color. I've tried putting either object on top and either item overprinting or multiplying.
    For the record, I can get it to work by checking "convert all colors to process" in the print dialog box, but nothing works without checking this box and I would like to avoid checking this box if at all possible.

  • Convert registration color to black

    Hello all, i'am looking for a script that convert all registration colors to black?
    Can somebody help me?
    Kind regards,
    Patrick

    Is this what you are looking for?
    T

  • InDesign CS3 hangs with colored spinball after start application

    We have inhouse a big problem:
    in different times hangs indesign CS3 with the color spinball. After the interruption of the application and restart we can see follow: when the app is up and we think, yes! we can work the spinball comes back and we can wait...if we wait to work after the restart 1-2 minutes the spinball comes for 20-30 seconds and then we can work without problems. As far as the next time (normally within 1 week...).
    We have checked the switch, the cables. We have this problem also without network connection. And it reproducible on mac 10.4.x, 10.5.x, Windows XP and Vista. With versions 5.03 and 5.04.
    What is this for a problem?
    We have deleted all preferences and moved the plugins outside (we have 3 plugins: Softcare K4, Linotype Fontexplorer and Typefy): This problem is always here.
    We are helpless. Can you us?
    Thanks for a solution!
    Zeljko

    Did you also install any new fonts? That looks like a font error.

  • Copying a CMYK Indesign CS3 photo element into a Photoshop CS3 RGB document - color retention?

    Copying a CMYK Indesign CS3 photo element (photo silo) into a Photoshop CS3 RGB document - color retbtion issues in a Smart Object?

    What a bad idea pasting an image into Indesign instead of placing it is.
    I would recommend writing an X4 pdf without downsampling and compression and opening that pdf in Photoshop (but set to »Images« instead of »Pages«).
    And if the image is unprofiled Edit > Assign Profile with the indd’s profile before converting it to RGB.

  • Cs3 photoshop registration pop up

    I have ignored the cs3 photoshop registration pop up one too many times, now I can't use Photoshop, anything I find in help forums is too complicated.

    disconnect from internet
    start CS3
    when error message shows say never
    connect to internet
    Should solve problem and not too complicated.

  • Help. New to scripting!  Find registration colors used

    Hi!
    i have this script to find registration colors.... but when run in ESTK. it show errors on the below highlighted....
    could anyone help out this!
    error it throws is:
    function myCheckForRegistration(myEvent){
    var myRegistrationSwatchUsed = false;
    if(app.selection.length != 0){
    for(var myCounter = 0; myCounter < app.selection.length; myCounter++){
    if((app.documents.item(0).selection[myCounter].fillColor ==
    app.documents.item(0).swatches.item("Registration"))||
    (app.documents.item(0).selection[myCounter].strokeColor ==
    app.documents.item(0).swatches.item("Registration")){                    error is: // expected:)
    myRegistrationSwatchUsed = true;
    if(myRegistrationSwatchUsed == true){
    alert("The Registration swatch is applied to some of the\robjects in the selection. Did you really intend to apply this swatch?");
    thanks
    shil..

    hellow lauv!!!
    i tried your command....
    ungrouped the object.item(n) between OR....
    function myCheckForRegistration(myEvent){
    var myRegistrationSwatchUsed = false;
    if(app.selection.length != 0){
    for(var myCounter = 0; myCounter < app.selection.length; myCounter++){
    if(app.documents.item(0).selection[myCounter].fillColor ==app.documents.item(0).swatches.item("Registration")||
    (app.documents.item(0).selection[myCounter].strokeColor ==app.documents.item(0).swatches.item("Registration")){                   //  error is: expected:)
    myRegistrationSwatchUsed = true};
    if(myRegistrationSwatchUsed == true){
    alert("The Registration swatch is applied to some of the\robjects in the selection. Did you really intend to apply this swatch?");
    the error is:
    thanks for fastidious care on my script....
    shall i wait for the reply...
    shil!

  • How to to find out if the objects used "Registration" color or not?

    Is it possible to find out if the objects used "Registration" color or not via scripting? Kindly advise me.
    Thanks for looking into this.

    Hi,
    May be you might read this post
    http://forums.adobe.com/thread/623432?tstart=0
    ciao , art.chrome

  • CS3 : Create hidden color

    Hello,
    Is there any way to create a color with a script that does not goes to the swatch palette? In Indesign it is possible to create directly a color and put it to a item, i would like to create a color that is hidden for the user without myDoc.colors.add().
    Thanks,
    Asci

    On 4/2/09 8:07 AM, "Kermy" <[email protected]> wrote:<br /><br />> tell application "Adobe InDesign CS3"<br />>     delete swatch "White" replacing with swatch "Paper"<br />> end tell <br /><br />This is targetted at the application -- if you want to do it in a document,<br />you need to insert "tell document 1".<br />> <br />> Also, it might be "WHITE", "White" or "white" is there as way to do that in<br />> one step? <br /><br />You'll need to do something like get the name of every swatch, then loop<br />through doing a comparison inside an "ignoring case" construct. Something<br />like this:<br /><br />tell application "Adobe InDesign CS3"<br />    tell document 1<br />        set colorNames to name of swatches whose name is not ""<br />        ignoring case<br />            repeat with i from 1 to count of colorNames<br />                if item i of colorNames = "White" then<br />                    delete swatch (item i of colorNames) replacing with<br />swatch "Paper"<br />                end if<br />            end repeat<br />        end ignoring<br />    end tell<br />end tell<br /><br /><br />-- <br />Shane Stanley <[email protected]><br />AppleScript Pro Florida, April 2009 <a href=http://scriptingmatters.com/aspro>

  • Upgraded to CS5 Illustrator form CS3 Illustrator. Colors are not printing correctly in CS5

                                                I have just recently purchased CS5 Premium Suite.  I am working with Illustrator.  When I print my CS3  Illustrator files in CS5 the colors are not printing correctly.  Is there a way to fix this problem

    I've been doing more troubleshooting since I wrote this post. I've now tried printing from a non-Adobe app and I'm getting the same margin error. So it is definitely a Xerox issue and I have a tech coming out on Monday.
    The reason I originally figured it must be an CS5 issue is because just two weeks ago when I was using CS2, our landscape-oriented programs were printing with .25" margins as they should. Then last week after upgrading to CS5, the inside page (2nd page) was noticeably out of whack and shifted to the right (not left). But when I started trying to troubleshoot this week, everything started shifting to the left.
    The only thing different between those two weeks was the fact I updated to CS5.
    But obviously, my printer as decided to go to crap in more ways than one all in a two week period. Hopefully the tech can sort it out next Monday.
    Thanks!
    Christi

  • CS3 + ID CS4 - Color management Iussues in Bridge CS4

    I have CS3 WEB PREMIUM edition and recently added InDesign CS4. While trying to get the color management right for all Suite applications I get an error in Bridge CS4.
    "Suite Color Management is not enabled. Suite Color Management requires that a qualifying product has been launched at least once to enable this feature."
    So, I DO have a Creative Suite, only different Versions of its applications. Where is the problem, and if Bridge CS4 keeps on thinking I have no Suite at all, am I supposed to reinstall Bridge CS3?

    Pascal.
    I see you are a new Mac user. In case you're not aware...
    On the Mac, new installations of Adobe (and much other) software do not overwrite and/or replace older versions when doing full version upgrades. Older and current software versions coexist and you can still use either -- particularly useful when learning a new version, but you still need to get work done now. Or if there is a favorite feature that was not included in the new version (such as no ImageReady included with Photoshop).
    Be aware, though, double-clicking on a file will launch the latest version unless the older version was previously launched.
    For those apps or (more likely) utilities that do overwrite or remove older versions, you're given a heads-up before you commit to an install.
    Neil

  • [JS, CS3] Change text color and export pdfs

    Hi there,
    I am new to scripting and I am trying to find out if a script exists that will export a PDF, then change all text of a certain color to black, then export another pdf with the same settings as the first, but appending the filename. I've searched the forum and understand about the change color bug, but I haven't seen anything in JavaScript -- It's all been applescript.
    Anyone have any brilliant ideas?
    Help is GREATLY appreciated!
    -Molly

    I couldn't get the specific color replacement, I chose the rambo approach...<br /><br />if(app.documents.length!=0)<br />{<br />     var doc = app.activeDocument;<br />     if(doc.saved==true)<br />     {<br />          var docFile = doc.fullName;<br />          var docFile = doc.fullName;<br />          var myFile = File(docFile).fsName;<br />          var myPdfPreset = app.pdfExportPresets.item("[PDF/X-1a:2001]"); //Put what you want <br />          var myPdfFile = new File(String(myFile).split(".indd")[0]+".pdf");<br />          exportPDF(myPdfFile,myPdfPreset);<br />          var myTfs = doc.textFrames.everyItem().getElements();<br />          for(i=0; i<myTfs.length; i++)<br />          {<br />               //will reset all texts to black, quite drastic but works.<br />               myTfs[i].texts[0].fillColor = doc.swatches[2]; <br />               //Should be better to use swatches.item("[Black]"); <br />               //But can't check on my french system<br />          }<br />          var myPdfFile = new File(String(myFile).split(".indd")[0]+"_AllTextsToBlack.pdf");<br />          exportPDF(myPdfFile,myPdfPreset);<br />     }<br />     else<br />     {<br />          alert("Please save your document first");<br />     }     <br />}<br />else<br />{<br />     alert("You need to open a doument first !");exportF<br />}<br /><br />function exportPDF(myPdfFile,myPdfPreset)<br />{<br />     doc.exportFile (ExportFormat.PDF_TYPE, myPdfFile, false, myPdfPreset, undefined, undefined, false);<br />}

  • InDesign CS3 - Default Black color issue

    Default Black color converted as Spot color in Indesign CS3.
    I'm using default color "Black" in InDesign CS3. While creating PS from InDesign CS3 and convert it as PDF using Distiller 7 & 8, it would have changed as "Spot Color Black" instead of color "Black(CMYK)".
    Open the swatch and duplicate the color "Black" and renamed as "C=0,M=0,Y=0,K=100". It would work properly. i.e. output PDF has CYMK black instead of Spot color.
    We are unable to find/change globally because the Default color [Black] has both text and object.
    We do not have any problem with this default black color in Indesign CS2.
    It would be better if you provide a solid solution for this issue immediately. I need to send a test file to the printer on tomorrow (05/27/09).
    I have attached Testing.pdf and screenshot for your reference.
    Picture 1 shows the Default Black color converted as Spot color.
    Picture 2 shows duplicate black color created from Default [Black] color and we don't find any issue.
    Thanks
    Johnson

    First, this is a user forum, so all you'll get here is advice, not a "solid solution" from Adobe.
    Second, the current versions of InDesign and Acrobat are 6 and 9, respectively, and there will never be any new patches issued for earlier versions. Adobe does not divert effort away from current development to patch old software.
    This has been discussed here in the past few months. You should be able to find the thread if you search for keywords like spot black. For what it's worth, Acrobat 9 Pro's preflight does not detect a spot black in your sample PDF (though Pitstop might).
    I'm curious why you feel the need to distill PDF rather than export (as I see you did with the file you posted)?

  • [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.

Maybe you are looking for

  • Problem with get_attribute for a new input field in ICWebclient

    Hi experts, I have an issue in ICWebClient. I have copied the stnd tcode and CRM_IC and added my own view with 5 fields. I will enter a value in the name field in that layout and click CONTINUE button. It will take me to other page.In this page there

  • How call web Services in web dynpro abap ..?

    hi guru, how to call web service in wd abap ? wheather it is possible or not,if it possible please give me a exqmple Regard,s Vivekananthan.S

  • ORA-20001: error 29th ORA-24344 When creating a workspace

    Hi, I just installed APEX 4.0 on 10g (10.2.0.4). When I tried to create a new workspace, at the last step (after clicking "Create Workspace" button), it fails with the following error. ORA-20001: error 29th ORA-24344: success with compilation error E

  • InputOutput error when importing SCORM 1.2 compliant content in OLM

    I'm attempting to import SCORM 1.2 content (from UPK) in OLM and I continue to get the error "The content upload failed (InputOutput error)". We've tried it on 9ias, AS10g, all give the same error. We used the SCORM example from Oracle, replaced the

  • Asterisk-voip integration problem

    I am trying to integrate voip in my application, using asterisk. When I use the below code, I am able to make a call, to the extension i want to, but the problem arises when the call is taken. As the call is taken, it gets transferred to the other li