Getting name of swatch for character

Hello

I need to loop through each character in a block of text and check the color of each character.  Is it possible to get the name of the nuance of each character?  Or you can get red, green, blue values?

I have been experimenting with:

app.activeDocument.textFrames [0] .characters [3].characterAttributes.fillColor.typename;

Returns SpotColor

But I can't understand how to get the name of the nuance of the character in this way?

Thank you.

Jay

spot colors have a property to get the name

alert(app.activeDocument.textFrames[0].characters[3].characterAttributes.fillColor.spot.name);

Tags: Illustrator

Similar Questions

  • getting name from vCenter for VM

    Hello

    Is there a way to get the name of the vCenter virtual machine is managed by, if I start with the VM name?

    I have 2 vCenters joined in related modes and connect both at the same time when I run scripts. I would like to add a field in my outings such as VMname, vCenter, VMhost, etc.

    I had an idea to follow the parent files; but seem to stop at the data center.

    Thank you.

    You can retrieve the name of the property of the virtual computer object vCenter server. Like this:

    (Get-VM YourVMName).Uid.Split(":")[0].Split("@")[1]
    

    PowerCLI 4.1, you can extend the virtual computer object with a vCenterServer property. Like this:

    New-VIProperty -Name vCenterServer -ObjectType VirtualMachine -Value {$Args[0].Uid.Split(":")[0].Split("@")[1]}
    Get-vm YourVMName | Select-Object -Property Name,vCenterServer
    

    Best regards, Robert

  • iCal 'Get Info' is grey for the blue calendar; Other calendars are very good. Model name: iMac model identifier: iMac9, 1

    iCal 'Get Info' is grey for the blue calendar; The other color calendars are very good.

    I deleted the file 'com.apple.iCal.plist '... No luck.

    Please notify. Thank you, Roger



    Presentation of the material:

    Model name: iMac

    Model ID: iMac9, 1

    Processor name: Intel Core 2 Duo

    Processor speed: of 2.66 GHz

    Number of processors: 1

    Total number of cores: 2

    L2 Cache: 6 MB

    Memory: 4 GB

    Bus speed: 1.07 GHz

    Boot ROM version: IM91.008D.B08

    Version of the SCM (System): 1.44f0

    If the problem is still there, try to start safe mode using your usual account.  Disconnect all devices except those necessary for the test. Shut down the computer and then put it up after a 10 second wait. Immediately after hearing the startup chime, hold down the SHIFT key and continue to hold it until the gray Apple icon and a progress bar appear. Startup is considerably slower than normal. This will reset some caches, forces a check for directory and disables all start-up and connection, among other things. When you restart normally, the initial restart may be slower than normal. If the system is operating normally, there may be 3rd party applications that pose a problem. Try to delete/disable the third-party applications after a reboot using the UN-Installer. For each disable/remove, you need to restart if you do them all at once.

    Safe mode

  • My names Contact list for Windows Live "disappeared". My ISP says it still resides in my computer, but only Microsoft can allow retrieving the list. What must I do to get these names?

    My names Contact list for Windows Live "disappeared". My ISP says it still resides in my computer, but only Microsoft can allow retrieving the list. What must I do to get these names?

    Hello

    The question you have posted is related to Windows Live; This is why it would be better suited in the Windows Live community. Please visit the link below to find a community that will provide the best support.

    http://windowslivehelp.com/forums.aspx?ForumID=28aff142-9106-4d74-BE08-9b5d9fc0efea

  • I'm on a W7 PC, of FlashProCC. -Have a Z1, jpg in the library. Choose Properties, export for ActionScript and get name Z1, class flash.display.BitmapData - how I introduce in a display by using Action Script 3.0 object?

    I'm on a W7 PC, of FlashProCC. -Have a Z1, jpg in the library. Choose Properties, export for ActionScript and get name Z1, class flash.display.BitmapData - how I introduce in a display by using Action Script 3.0 object?

    var z1:Bitmap = new bitmap;

    Z1. BitmapData = new Z1 (1,1);

    yourDisplayObject.addChild (z1);

  • How to get the required column, the names of tables for the preparation of the report.

    Based on the MD50 how to get the exact name, the table names he joined for report development. as I am new on this project and the purchase of failet for R12.
    How can I start my approach to prepare the data for the report model? How can I search the database based on the respective diagrams of means?
    all input appreciated

    Hello

    You can find information about schema objects in eTRM Web site, you can also consult the documentation for product/module and see if it helps. If you already have any report (standard or custom), you can enable the trace and run the program to see which object it access or open the report using Report Designer and see the code.

    ETRM Oracle
    http://ETRM.Oracle.com

    Oracle Applications documentation
    http://www.Oracle.com/technology/documentation/applications.html

    Kind regards
    Hussein

  • but wireless connection can't get all web pages for display on any browser

    connected to a wireless connection but can't get all web pages for display on any browsersit is connected with good strengh but does not connect

    Hello

    What happens when you connect to the router via a wired connection?

    Method 1: Reset the Internet (TCP/IP) Protocol:

    One of the components of the Internet connection on your computer is a package of instructions called TCP/IP. TCP/IP can sometimes become damaged or altered. If you are unable to connect to the Internet, TCP/IP can be causing it.

    TCP/IP is a main component of Windows, you cannot delete it. However, you can reset TCP/IP to its original state by using the NetShell (netsh) utility. Reference:

    Reference:

    How to reset the Internet (TCP/IP) Protocol:

    http://support.Microsoft.com/kb/299357

    Method 2: Reset the default Hosts file

    The "hosts" file is an important Windows system file which maps hostnames to IP addresses. Its a simple text file that is stored in the folder "%windir%\System32\drivers\etc\" in Windows NT, 2000, XP, Server 2003, Vista, Server 2008 and Windows 7 32-bit editions. In the 64-bit editions, it can be also stored in the folder "%windir%\SysWOW64\drivers\etc\".

    Structure of the hosts file is very simple. It contains lines of text containing the IP address, followed by the host name.

    Sometimes this hosts file is hijacked by viruses, adware, spyware or Trojan software and is changed to redirect your browser to various websites containing malicious code. It could also block security Web sites and the Windows Update Web site in your system so that you can not install virus definitions and security updates in your operating system.

    Reference:

    How can I reset the default Hosts file?

    http://support.Microsoft.com/kb/972034

  • Change all the names of Swatch "Name with color value"?

    Y at - it a Javascript command change the nuances in a document to the "Name with color value" box in the Swatch Options? I know there are scripts to change the names of swatch based on the value of the color, but I'm looking for a script that applies this specific to all checkbox.

    Thanks in advance!

    This should do it:

    (function(){
      var doc=app.activeDocument,
      sw=doc.swatches.everyItem().getElements(),
      c;
      for(var i=3; i			 

    Figured it out.  For anyone else who wants to know:

    I created two actions, one to return a hash of the id of naa-online data store object and another action to return a hash of the naa-online drive scsi id

    // actions
    //getDatastoresKeyedByLUN
    var o_diskHash = new Properties();
    
    for each (var scsiDisk in u_host.config.storageDevice.scsiLun)
    {
      //System.log("-> LUN: " + scsiDisk.canonicalName);
      for each (var dataStore in u_host.datastore)
      {
      if (dataStore.info.hasOwnProperty("extent"))
      {
      for each (var scsiDiskPartition in dataStore.info.vmfs.extent)
      {
      if (scsiDiskPartition.diskName == scsiDisk.canonicalName)
      {
      o_diskHash.put(scsiDisk.canonicalName, dataStore);
      }
      }
      }
      }
    }
    
    return o_diskHash;
    
    // getScsiDisksKeyedByLUN
    var o_diskHash = new Properties();
    
    for each (var scsiDisk in u_host.config.storageDevice.scsiLun)
    {
      o_diskHash.put(scsiDisk.canonicalName, scsiDisk);
    }
    
    return o_diskHash;
    
    // in workflow
    for each (var can in dstoreMap.keys)
    {
      System.log(dstoreMap.get(can).name + "(" + lunMap.get(can).canonicalName + ")");
    
    }
    
  • I am new to Muse, so I am following the tutorial for coffee of Katie.  I downloaded the sample files.  The problem is not that all the files in the folder as in the tutorial.  The color swatch for example is not there.  The updated CC on the road Katies.m

    I am new to Muse, so I am following the tutorial for coffee of Katie.  I downloaded the sample files.  The problem is not that all the files in the folder as in the tutorial.  The color swatch for example is not there.  The CC file to get started Katies.mulib is also not if you can't automatically download all the necessary files.  Can anyone help?

    found in another area

    Where can I find updated cc enroute Katies.mulib file?

  • How to get performance counter stats for virtual machine?

    Hi again,

    I managed to connect to the web service using VI SDK 2.5 and I can't what are virtual machines installed on the host system. I want to get the VMS performance counter values. How to get values of virtual machines performance counter?

    try {

    service = util.getConnection () .getService ();

    SIC is util.getConnection () .getServiceContent ();.

    perfMgr = sic.getPerfManager ();

    Utils VMUtils = new VMUtils (util);

    The list of virtual machines on a host

    ArrayList vmList = utils.getVMs (null,null,null,null,null, arg,new String [1] [2]);

    I havef(vmList! = null) {}

    System. .println ("Host a" + vmList.size () + "virtual machines");

    System. the.println ("name vm" + vmList.get (0) m:System.NET.SocketAddress.ToString () + "vm 2" + vmList.get (1) m:System.NET.SocketAddress.ToString ());

    }

    }

    catch (Exception ex) {

    ex.printStackTrace ();

    }

    Clues?

    ! http://communities.VMware.com/images/emoticons/sad.gif !

    Hello

    In order to obtain the performance counter for a managed entity, you must have following:

    1. get the managed object to the PerformanceManager object reference

    2 get the ProviderSummary object for this entity. It also helps determine if the current or summary statistics are supported.

    3. get performance metrics available for the entity. In a given time interval, the statistics will be available for these measures.

    4. the performance statistics for the entity desired metrics extracted from the step above queries

    5 examine the returned data object to get the statistics.

    Attached, is an example of Java, which takes the name of the virtual machine, run the steps above and print the available counters and their stats. You can take the help of this example and can improve to get statistics for all the virtual machines in your host application.

    Hope this information is useful.

    -Neha

  • ORA-02083 sqlplus: name of a illegal character data '-'

    Hello

    my database is 9.2.0.1.0

    I have a problem with this error ORA-02083 sqlplus: name of the database a illegal character '-' and my problem is:
    -one made database link between two servers and it works OK
    -If I run select of SQLPLUS of all tables in this database link he also works OK

    - But if I try to create the package (by using the same query of tables which work with the select statement in SQLPUS) I get this error
    ORA-02083 sqlplus: name of a illegal character data '-'

    I tried SELECT * FROM DBA_DB_LINKS;
    and I get:
    OWNER, DB_LINK SERVICE USER CREATED

    DILERJI PUBLIC DILER DILERJI 30.06.10

    so it's only the database link and I checked if it's open maby
    ALTER SESSION CLOSE DATABASE LINK dilerji;
    and it is not
    ORA-02081: database link is not open



    If anyone can help me? Thank you

    Published by: Jero on June 30, 2010 12:49

    ORA-02083: name of the database a illegal character 'string. '
    Cause: the database name provided can only contain A - Z, 0-9, '_', ' # ', ' $' '.' and ' @' characters.
    Action: no
    http://download.Oracle.com/docs/CD/E11882_01/server.112/e10880/E1500.htm#sthref1249

    Have you checked the GLOBAL_NAME of the remote database?
    (SQL > select * from global_name ;))

  • get the current date for condition satisfied

    Hello world

    I want to get the current date for the following query.

    SELECT B.NAME, C.FST_NAME, C WHERE S_CONTACT, S_ORG_EXT B, C.LAST_NAME OF S_PARTY_PER A (B.ROW_ID = A.PARTY_ID AND C.ROW_ID = A.PERSON_ID AND A.PERSON_ID IN (select D.NEW_VAL from the S_AUDIT_ITEM where D.OPERATION_CD = 'Associate' and OPERATION_DT = 'I want the current date from 07/10/2008 12:00:00 AM to 07/10/2008 23:55:55 '))

    Help, please...

    Hello

    Like this?

    SELECT B.NAME, C.FST_NAME, C.LAST_NAME
      FROM S_PARTY_PER A, S_ORG_EXT B, S_CONTACT C
     WHERE (B.ROW_ID = A.PARTY_ID AND C.ROW_ID = A.PERSON_ID AND
           A.PERSON_ID IN
           (select D.NEW_VAL
               from S_AUDIT_ITEM D
              where D.OPERATION_CD = 'Associate'
                and trunc(OPERATION_DT) = trunc(sysdate)
    --                'i want current date start from 10/7/2008 12:00:00 AM to 10/7/2008 11:55:55 PM'))
    
  • I unsubscribed from my application only one then it refunded, but how long does take to get to my accounan for me to get my money back

    I bought a computer application don't work well one I unsubscribed from my application one then it refunded, but how long does take to get to my accounan for me to get my money, I have looking for Bowen but I Don t have the refund back on my account

    < re-titled by host >

    Normally apple support sends you an email when a purchase is refunded. Most of the time it will hit your account within 72 hours.

  • How to get back my data for the health and the watch Apps once I've restored my phone?

    How to get back my data for the health and the watch Apps once I've restored my phone?

    From the backup, you're going to be restoration.

    If you back up to iTunes, make sure that it is an encrypted backup.

Maybe you are looking for