Applescript for mixed ink

Hi,
I want to be able to make mixed inkt swatches from an applescript.
Can anyone help to correct or  this script?
Tnx
tell application "Adobe InDesign CS3"
tell document 1
set mylist to {"Process Cyan, Process Magenta, Process Yellow, Process Black, Orange, Green"}
set myvalue to {"10, 10, 10, 10, 10"}
set myColor to make color with properties {name:"color_1", space:MixedInk, ink list:mylist, ink percentages:myvalue}
end tell
end tell

Try this:
tell application "Adobe InDesign CS4"
tell document 1
set mylist to {ink "Process Cyan", ink "Process Magenta", ink "Process Yellow", ink "Process Black", ink "Green", ink "Orange"}
set myvalue to {10, 10, 10, 10, 10, 10}
set myColor to make mixed ink with properties {name:"color_1", model:mixedinkmodel, space:MixedInk, ink list:mylist, ink percentages:myvalue}
end tell
end tell
Shane Stanley <[email protected]>
AppleScript Pro, April 2010, Florida <http://www.applescriptpro.com>

Similar Messages

  • Add a "Mixed Ink" swatch like in InDesign

    The new separations palette in Illustrator CS4 is a strong move in the right direction for designers and print production, but having the ability to add a Multi-Ink to your swatches like you can in InDesign would be even better. As a printing company, we often do double hits of spot inks and CMYK mixes under spot inks for special effects. These are very easy to do using Mixed Inks in InDesign, but in Illustrator we have to duplicate objects and set them to overprint each other.
    Also, an Ink Manager similar to InDesign would be great too.

    I agree! It will also minimize the errors especially that there's a tendency to forget setting the overprint in the spot color.
    There are lot of medical/scientific Journals that requires a lot of mixed ink swatches not only in the layout but also in individual artworks.
    It opens the possibilities for creativity combining appearance palette, mixed ink swatches, and graphic styles.
    I also noticed that novice users of Illustrators have apprehensions using the appearance palette. They'd rather duplicate the object and apply overprint which results to error-prone files.
    Since this feature is already available in InDesign, I hope there should be little compatibility issue when linking the artwork in the layout even in lower versions of InDesign.
    I hope that the Illustrator development team consider this small request...

  • Embedding Mixed Ink Image?

    I am trying to find out how to embed a mixed ink image into Illustrator (multiple spot colors) and not get single images once it's placed. So far I've only been able to do it with DCS 2.0 files which can only be linked, not embedded. I have been successful with saving PSD files and deleting all of the layer artwork, just keeping the channels, however when I embed that file it converts it into single images of each spot channel and not a mixed ink image. Basically what I'm looking for is when you look up at the top left bar when you have the image selected it should say embedded: mix ink image PPI: 300 or something like that. Instead I've only been able to get single image to show up. Does anyone know what format is required to get that? Thank you.

    CS6 for both.
    Instructions: Take a photoshop file and make a few spot color channels. Save the file as (I'm trying to figure out the correct format to use) and place (embed, not linked) into an Illustrator document. The only option I have found to work is a DCS 2.0 file, which cannot be embedded or a psd (cymk, rgb, or grayscale mode) with spot channels, but it places each channel as a separate image and not as one "mixed ink" image. The issue is I need it to be one image that I can relink if I need to after the artwork has been embedded. This is to confirm registration. The current system of using DCS files allows you to do this, but it requires sending two files instead of one and is a much larger file. Saving as a PSD file allows me to embed the file but unfortunately places it as separate images (in illustrator it will read as multiple images when you click it after embedding) that I can't easily re-link if I need to update the artwork.
    I know this is possible as I have a file that does this exact same thing I'm talking about and lists the art as a mixed ink image, however I do not know how it was does done as it does not tell me what the format was or how it was created. I've tried numerous formats in photoshop to try and replicate it, but have come up short. That is why I posted here. If someone knows I would be very grateful.
    Here is what I'm trying to recreate:
    http://img4.uploadhouse.com/fileuploads/17911/1791123643792235d8ef3ec0d0ec51b1be1f3151.jpg
    but this is what I keep getting:
    http://img3.uploadhouse.com/fileuploads/17911/179112359b299d33a43698baebeaa7cb1342402a.jpg
    The last image is then broken down into individual image for each spot channel I created. I want it to stay as one image, which the mixed ink image appears to do.
    PS I tried to unembed the mixed ink image and it alters the artwork to no longer look correct.

  • Help with a simple applescript for combining Artist text with Track name

    Hi all,
    I'd like to put together a simple script that takes the artist names from a list of tracks in iTunes and copies the text to the start of the Title name, followed by " - ".
    This is because, e.g. on a classical album, I want the artist names to all be "Classic Collection Gold" but I'd like to keep the artist name contained with the track name. This means when I browse by artist I don't get millions of artists...
    I found this script, which does something kinda similar, but I'm new to script writing so not sure how to do it?
    So I'd like to change:
    Name
    Planets: Mars
    Artist
    Gustav Holst
    Ambum:
    Simply Classical Gold (Disc 2)
    To be:
    Gustav Holst - Planets: Mars
    Artist
    Gustav Holst - Planets: Mars OR BETTER Simply Classical Gold (Disc 2)
    Album
    Simply Classical Gold (Disc 2)
    This script has some ideas in, but I'm not sure how to tweak it....
    "Artist - Name Corrector" for iTunes
    written by Doug Adams
    [email protected]
    v1.6 May 17, 2004
    -- removed ref to selection
    v1.5 April 11 2004
    checks if separator string is in name
    v1.0 April 2 2004
    Get more free AppleScripts and info on writing your own
    at Doug's AppleScripts for iTunes
    http://www.malcolmadams.com/itunes/
    property separator : " - "
    tell application "iTunes"
    if selection is not {} then
    set sel to selection
    repeat with aTrack in sel
    tell aTrack
    if (get name) contains separator then
    set {artist, name} to my texttolist(get name, separator)
    end if
    end tell
    end repeat
    end if
    end tell
    -- == == == == == == == == == == == == == == == ==
    on texttolist(txt, delim)
    set saveD to AppleScript's text item delimiters
    try
    set AppleScript's text item delimiters to {delim}
    set theList to every text item of txt
    on error errStr number errNum
    set AppleScript's text item delimiters to saveD
    error errStr number errNum
    end try
    set AppleScript's text item delimiters to saveD
    return (theList)
    end texttolist
    Message was edited by: Chipstix

    I'm not sure what that script thinks it's doing, but it's essentially doing nothing, so scrub that and start afresh.
    The first thing you need is a way to identify the tracks to change - you don't want to do all tracks in the library (they might have already been munged). A good option is to work on the selected tracks:
    tell application "iTunes"
    if selection is not {} then
    set sel to selection
    You then need to iterate through those items, changing them one-by-one:
    repeat with aTrack in sel
    Now comes the easy part - build a list of the elements you want (in this case you want the name, artist, and album of each track:
    set trackName to name of aTrack
    set trackArtist to artist of aTrack
    set trackAlbum to album of aTrack
    Now you have the information you need, so reset the fields as appropriate:
    set name of aTrack to trackArtist & " - " & trackName
    set artist of aTrack to trackAlbum -- or to trackArtist & " - " & trackName, depending on your choice
    Now clean up by closing off the repeat and tell blocks:
    end repeat
    end tell
    Putting it all together you get:
    tell application "iTunes"
      if selection is not {} then
      set sel to selection
      repeat with aTrack in sel
        set trackName to name of aTrack
        set trackArtist to artist of aTrack
        set trackAlbum to album of aTrack
        set name of aTrack to trackArtist & " - " & trackName
        set artist of aTrack to trackAlbum -- or to trackArtist & " - " & trackName, depending on your choice
      end repeat
    end tell

  • Hp pro 8500 keeps asking for maganta ink when it's already a new one, then loose image, please help

    HP PRO8500
    KEEPS ASKING FOR MAGANTA INK, THEN LOOSE IMAGE, I ALREADY REPLACED INK TWICE BUT ISSUE STILL PERSIST.
    PLEASE HELP

    Ok, finally got it fixed !
    Here's what was causing the issue, and what I did to fix it :
    I had free content in my iTunes download queue that I got from the "iTunes 12 days of Christmas" promotion, but the problem was that some of the items (two HD episodes) were too large to fit in my harddrive (I'm running low on free hd space) - so each time I was running iTunes I had to cancel the downloading of those items. On my iPhone, I was able to cancel the downloading once for all, but iTunes somehow wanted to try downloading them even if I deleted them. This was quite frustrating so I sent a mail to the support using the Express Lane feature on the support website, asking for thos items to be removed from my iTunes account - and tadaaaa ! Once a nice guy from Apple deleted them, my iPhone stopped asking for that stupid password !

  • Help Needed: Automator Applescript for Folder Action - Encode Video

    Hi !
    I have created an Automator Applescript for a Folder Action to do the following:
    When a new video file is moved to the target folder (i.e. Download of Vuze is done), automatically launch the Applescript Action that does the followin g(Applescripted):
    1) Using "run shell script" and FFMPEG on a UNIX command line, determine Width/Height, Framerate, Bitrate
    2) Calculate encoding parameters (slightly reduced bitrate, reduced Aspect etc.)
    3) Using "run shell script" with ffmpeg on the command line and the calculated parameters to encode the video file
    At the same time, the action is written to a log file so I know if a file is recognized, when encoding started etc.
    It works fine if I save this Action as an .app, make an alias on the Desktop and drop video files on it.
    It also works fine if I attach the script to a folder as a folder action and drag a video file in there.
    However, when I attach the script as a folder action to the Vuze download folder, it encodes only some video files, i.e. if there was a download of 5 files, chances are good that it will not encode 1 or 2 files out of those 5.
    If for example a second download finishes while the encoding for the first download is still going on, sometimes the second file starts encoding after the first encode finishes, sometimes it does not, the file does not make the log file at all, i.e. the folder action missed it or the automator action dropped it because it was still encoding. Still, sometimes it happens, sometimes not.
    As I need a solution that is 100% accurate, I would like to ask if there are any ideas on how to do this better maybe? As I am not an Applescript Guru, I would need some help to know what works and what doesn't and what the syntax is.
    My main idea right now:
    Similar to how ffmpegX works with its "process" application, have a second script (as .app) that receives the files to be encoded from the automator action and puts them in a queue, then proceeds to encode this queue while the main automator action is free to receive the next file.
    Writing this second app is quite straightforward (a modified version of my current script) but I have some questions I need help with:
    1) How do I call another applescript from within an existing applescript that launches the new applescript in a new process?
    2) How do I pass parameters to this new applescript?
    3) In case of this "Queueing" Idea, once I called the external applescript the first time, how do I make sure when I call next time, that I don't open a second instance of this script but rather pass another queue item to the original instance to be processed?
    Or in general: Is there a better way to achieve this automatic encoding solution that I have not thought about?
    Alternatively:
    Does anyone know how to call the "process" application that comes with the ffmpegX package with the correct parameters to use as a queueing / processing tool?
    Thanks!
    Joe
    Message was edited by: Joe15000
    Message was edited by: Joe15000

    To do this, I created an Automator workflow with an Applescript snippet to change the 'media kind'.
    Here is the 'Run Applescript' workflow step code:
    on run {input, parameters}
              tell application "iTunes"
                        set video kind of (item 1 of input) to movie
              end tell
              return input
    end run
    Prior to this running, I have an 'Import Files into iTunes' workflow step.
    You can switch out 'movie' with: 'TV show', 'music video', or anything in ITLibMediaItemMediaKind.
    Good luck,
    Glenn

  • Custom Page for mixed mode authentication

    Hi,
    Need help in developing a custom page for mixed mode authentication which also should have a provision for the end user to reset his password and also generate a password in case he has forgotten his password.
    Please help.
    Sathiish Reddy

    Hi,
    From your description, my understanding is that you want to customize a login page with password reset function.
    You could create a custom login page by referring this article:
    SharePoint 2013 Custom Login Page.
    https://social.msdn.microsoft.com/Forums/sharepoint/en-US/69b21a77-8a0c-444a-94ac-880326a2e1bc/sharepoint-2013-custom-login-page?forum=sharepointdevelopment
    Here is a solution that includes web parts for registering users, changing passwords and password recovery, please customize your page by referring to the code in the solution:
    https://sharepoint2013fba.codeplex.com/
    Best Regards,
    Vincent Han
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Crash when trying to convert mixed ink to CMYK

    I have a mixed ink color consisting of Process Cyan (79%) and a spot color that I created (53%).
    I'm trying to convert it to CMYK using IColorSystemUtils::ColorTransform(), but that just causes a crash (in CS3, CS4, and CS5).
    Here's a code snippet (sourceColorData is an IColorData InterfacePtr):
        // This returns an array of 2 values: .79 and .53
        ColorArray sourceArray = sourceColorData->GetColorData();
        // This returns kPMCsDeviceN (9)
        int32 sourceSpace = sourceColorData->GetColorSpace();
        // Note that nowhere is there any information about the cyan and spot color
        // values that combine to form my mixed ink color! It seems like I'd need that.
        // How do I get it?
        // Trying to convert to CMYK causes a crash
        ColorArray destArray = Utils<IColorSystemUtils>()->ColorTransform(doc, sourceArray, sourceSpace, kPMCsCalCMYK);
    Can anyone help? I recently inherited this code and I'd like to make it work. Thanks.
    Bob

    You can try exporting selections as excel workbook and check
    Export Selection As Excel Workbook (.*xlsx): To copy the whole or part of a PDF table to Excel with Adobe Acrobat, select the table you need > Right click to reveal the option "Export Selection As…" > Click Export Selection As… > Name the file and select Excel Workbook (.*xlsx) from the Save as type drop-down list.
    Save as Microsoft Excel Workbook: To convert a whole PDF file to Microsoft Excel Workbook with Adobe Acrobat, click File > Save As… >Spreadsheet > Microsoft Excel Workbook.

  • Automator/Applescript for Pages

    Does anyone know of a good reference for Automator Actions or Applescripts for Pages? I've looked at all the usual websites and no one has any. All I'm trying to do is use a script to automate the process of opening Word docs and save them as Pages files.

    I do not think there is anything really well written and exhaustive on the matter. I have three main sources:
    1. Pages script dictionary (available in ScriptEditor through Open Dictionary > Pages).
    2. This page with a script that goes the opposite way: http://pagesfaq.blogspot.com/2006/11/i-have-one-thousand-pages-documents-to.html
    3. Searching Google for the string "tell application Pages".

  • Changing time scale for mixed signal graph

    I want to change time scale for mixed signal graph 1 day or  5 day of realities?

    And what exactly are you having problems with? If you want to use a property node, it's Xscale.Maximum.

  • Cartridges for deskjet ink advantage 3525 all in one series

    Can other cartridge besides 670 be used for Deskjet Ink Advantage 3525
    This question was solved.
    View Solution.

    Hi,
    Only the 670 ink cartridges are intended for the printer for Latin America.
    Is there any reason you are seeking for a different ink cartridges?
    May you moved to another location where the 670 ink cartridges are not availbale?
    Say thanks by clicking the Kudos thumb up in the post.
    If my post resolve your problem please mark it as an Accepted Solution

  • Listen in mono for mixing

    I can't listen in mono for mixing purposes.  I don't want to loose the stereo, I just want to listen in mono while mixing, then switch back to stereo.

    You can insert the Gain plugin (Utilities subfolder) on your Stereo Out
    and use its' mono/stereo switch.

  • Privacy; TOS for Instant Ink and HP connected

    I just signed up to HP Connected, then started to sign up for Instant Ink.  The 4-page TOS document really requires a lawyer's skill to understand what part of my life I would be signing over to HP.  Why does HP need to track the details of what is printed?  This is an unacceptable invasion of my privacy.  I have printed the document.  I intend to have a lawyer look it over so I can confirm my understanding.  Then I will give it to the sales persons in the store where I bought my printer so they can become informed about the program.  They were woefully ignorant, as was I.
    Question: Why do you need the data?

    I have decided that HP's reach into my privacy is too invasive.  I want to cancel my hp connected account and ensure that all the personal information I entered on creating that account is purged.  How can I do  that?  After having done that how can I be assured that the information is in fact purged?

  • Suggestions for mixing?

    I just recorded music project on Logic but I'm having a difficult time Mixing it all together. I know that mixing in itself is an art, so does anyone know if it's possible to transfer these tracks to a studio that is better equipped for mixing? Or should I just undertake it myself?
    suggestion?

    I also found "Guerrilla Home Recording" by Karl Coryat gave me useful advice when I was beginning my experiments with mixing.
    Those two books, for me, had hundreds of times more practical value than some of the goof-ball audio plug-ins, applications, and hardware I've bought over the years.

  • Should i use Logic Express for Mixing and Mastering?

    recording an LP with GarageBand. are express and pro very close in what they offer ? express good enough for mixing and matering an LP? would like to keeps costs down. thanks SJM

    It can be done, but you will need to do a lot of reading and make many mixes to get it down. Mastering is not something you can learn overnight. It'll take you many hours of trial and error just to get something that is OK. A pro mastering engineer has years of experience and thousands of dollars worth of high quality gear. With a lot of practice, you can get something fairly decent, but it won't be like a real pro job would be.
    As Hangtime suggested in the GB forum, do a google search and you'll get a lot of sites with articles on the subject of mixing and mastering.

Maybe you are looking for

  • HT204074 I want my devices associated with the same Apple ID BUT...

    ... I mistakenly created a new Apple ID when installing Mountain Lion on my MacBook Pro. I am now trying to re-assign my mobile phone to the same ID so they are linked but the instructions above don't work. My new ID doesn't even have a Manage Device

  • How can non-visible orphan iCal events be deleted?

    Bear with me, this is going to sound very confusing. I have reported this via the iCal feedback on Apple's Product Feedback main page: http://www.apple.com/feedback/ but nothing has changed (not surprising, but more on that later). My wife publishes

  • Hi There, Any one Know How To Call Workflow Process From Special Menu.

    Hi There, Any one Know How To Call Oracle Workflow Process From Special Menu. I mean Tool -> Special Menu 1-45 Or How to call Oracle Workflow Process From Command Button. Thanks Bachan.

  • Why the Report page language can not be in Chinese

    Dear experts, My customers language is Chinese, but when I log on SRM 7.03, it shows Chinese except the report page. it is like this: while if I change to German, the report page can show German. I searched the discussions before and can not find the

  • Upgrade 9iAs to 10gAS

    Helo All, I have a query hope to get solved over here I have installed 9iAS (9.0.2) and 9iDB on a single machine on win2k platform. Now I would like to upgrade my 9iAS to 10g since im getting some problems and prevailing bugs in 9iAS. My Question her