AIMatchingArtSuite.GetMatchingArt how to use as JS. Document.Selection

AIMatchingArtSuite.GetMatchingArt how to use as JS. Document.Selection

AIMatchingArtSpec

Hello

This should help (example):

AIArtHandle * artStore = NULL;

AI::Int32 artCount = 0;

AIMatchingArtSpec spec;

Spec.type = kAnyArt;

spec.whichAttr = 0;

Spec.Attr = 0;

sAIMatchingArt-> GetMatchingArt (spec, 1, & artStore & artCount);

If (artStore! = NULL) {}

do something with the result...

}

Then, you can set the type and attributes you want to search!

Thomas.

Tags: Illustrator

Similar Questions

  • How to use the ESD document with structured templates

    Hello

    I started to learn working with SEDD. I have an existing ESD, now I'm suppose to use it to create documents. I created a new book and imported this ESD file to it. I can see all the items in the catalog of the element. But when I start to add items to the book and add a new document, the elements are turning to red. Referring to the User Guide, it is said EDD cannot be used directly and must be used with structured patterns. But I do not have these models structured with me. Can someone please tell me how to create these structured templates and how to use the ESD file with these models, and out of this problem.

    Thanks in advance.

    Although ESD exist in the form of a separate document, the only way that it can be used is when it is part of the model. As a model of structured FrameMaker, a structured model contains master pages, pages reference, character formats, paragraph formats, etc. IN ADDITION, a structured model contains a DSP. To add the EDD to your template file, or any document FrameMaker who will use it, open the template file and the file of ESD. Click anywhere in the template file, and then select file > import > element definitions. In the dialog box, select the EDD file as source and click Import. Then save the template file.

    To use the template file, open it and save it as a FrameMaker document, giving it the name you want. You can now create your structure.

    If you use a book, all documents in the book must use the same ESD. Open the template file. In the book file, select all the documents in the book. Then select file > import > element definitions. In the dialog box, select the template file and click Import. Once completed, all documents in the book have the same ESD. In addition, ESD is copied into the file of the book itself.

    You say:

    But when I start to add items to the book and add a new document, the elements are turning to red.

    It is is not clear to me what you do. While it is true that SOME elements of a book are in the book file, you cannot add a book of items in the folder (at least not as far as I know). In general, the book file, it encapsulates elements around the documents root elements in the book. You may need to update the book to get a part of the Red disappear lines. You may need to rearrange items in the structure of the book to remove the red lines.

    Hope this helps,

    Van

  • How to use the checkbox to select several lines of af: table

    Hi all
    I want to use the checkbox to select several lines of af: table

    Kind regards
    Tom

    Hello

    look at this link
    http://Sameh-Nassar.blogspot.com/2009/12/use-checkbox-for-selecting-multiple.html

    Kind regards
    Felix

  • Wallpaper - how to use a HTML document as a background in Windows 7?

    Original title: wallpaper

    In Windows XP, I've been able to use a htmp (Web page) document that I wrote as my desktop wallpaper, this contained the text and gif. However in Windows 7 I only seem to be able to use photos or slideshows.  Anyone got any ideas on how I could use my html (Web page) document for the background?

    The Active Desktop feature has been removed from Windows Vista. There are third-party alternatives you can try however.

  • How to use the same paths (selection) in multiple images to the batch?

    I have a whole bunch of pictures, that I need a batch, but, when you create a to-do for this, I came across the problem paths I have selected with the pen tool and is recorded on the "Paths" tab must be in each image to be used in action. I'm trying to solve for a while, but not could not understand. Any ideas?

    Thank you very much

    Carlos

    Usually batch processing is to use actions that you have registered.  In Action, you can insert path that can be used during the processing of documents.  Path have some size so you can only the process document that have the same size.  Look in the actions Palette drop-down menu for the path of insertion.  It inserts | records the current working document traced in action being developed, and when the action is played it inserts the path in the document under the current path of work...

  • How always have "enable all documents" selected when opening files in Indesign CS6?

    Whenever I open a file in CS6, I must still select 'Open documents' to see my files that have already been converted to CS6. Front, once a file has been converted to the new version of indesign, you would see in the menu open automatically when 'readable documents' has been selected. Now when I go to find a file that I've already converted to the CS6, it makes me still select 'Open documents' because it does not appear as a "readable document.

    hope it makes sense.

    I am running OS x 10.6.8 mac pro

    It worked thanks!

  • How to get UIDRef of the document selected in indesign cs6

    How to UIDRef of the document selected in indesign the Isession cs6

    UIDRef EXTCODInspectLayoutModel::GetDocumentUIDRef(IPMUnknown* unknown)

    {

    UIDRef documentUIDRef (Nile, kInvalidUID);

    do

    {

    Database: IDataBase * =: GetDataBase (unknown);

    If (database is Nile)

    break;

    DocumentUID UID = database-> GetRootUID();

    If (documentUID is kInvalidUID)

    break;

    documentUIDRef = UIDRef (data, documentUID);

    } while (false);

    Return documentUIDRef;

    }

    Note: 'unknown' is an interface for the document class

  • Satellite L300: How to use a partition of data for my documents

    Hello

    the Sat L300 160 GB hard drive is partitioned into vista and data.
    I want to save a large number of photos in my documents, which is on the part of vista.
    This example uses only half of the road.

    How to use the data for my documents component? TIA

    Hello

    You can make a folder on the second partition, and can store the necessary files (documents, photos) in specific files.

    Or maybe you want to decrease the Vista partition?

  • What is microsoft xps document writer and xps Viewer and how to use it?

    What is microsoft xps document writer and xps Viewer and how to use it?

    Original title: xps document writer and Viewer

    Hi arunin,.

    An XPS document is a file that is saved in the XML Paper Specification, or .xps, file format. You can create documents XPS (.xps files) by using any program that you can print from Windows; However, you can only view XPS documents by using an XPS Viewer, such as the one included in this version of Windows.

    See: http://windows.microsoft.com/en-in/windows/what-is-xps-viewer#what-is-xps-viewer=windows-7

    http://Windows.Microsoft.com/en-in/Windows-Vista/print-to-the-Microsoft-XPS-document-writer

  • using a hp 6500 - how to scan several image documents and keep them in a single image file

    using a hp 6500 - how to scan several image documents and keep them in a single image file instead of hafving to create a separate file for each page?

    http://h30434.www3.HP.com/T5/scanning-faxing-and-copying/HP-OfficeJet-6500-scan-multiple-pages-into-one-PDF-file/TD-p/252650

    This previous thread should help you.

  • In an attempt to sign and date a w-9, I get the following message.  "This form is editable in Adobe Acrobat DC.  Please use Adobe life cycle Designer. "How can I get this document dated and signed without having to buy the life cycle Designer?

    Please provide ideas to the next question. In an attempt to sign and date a w-9, I get the following message.  "This form is editable in Adobe Acrobat DC.  Please use Adobe life cycle Designer. "How can I get this document dated and signed without having to buy the life cycle Designer?

    Thank you

    Rick

    Assuming that you are dealing with a PDF file provided by the IRS, you will not be able to e-sign. but you can fill the fields using Adobe Reader or Acrobat. The version of form W-9 that I have does not include a date field, but you can use the feedback tool add text to add a date. You can also digitally sign or use the annotation of pencil tool to draw a signature.

  • How do to identify the documents called "models of library" using the RESTful API?

    How do to identify the documents called "models of library" using the RESTful API? Furthermore, what constitutes a document to be a "model of library"? I see nothing in the libraryDocuments RESTful documentation that describes this type of document, such as presented on the tab 'Manage' my developer account. Please see the screenshot below. There is a model of Document named "[DEMO ONLY] Test model" listed under "Library Templates" and I try to figure out which classifies that document to be included this way and how does produce a similar announcement by using the RESTful API.

    Screen Shot 2014-10-29 at 11.16.48 AM.png

    Thank you!

    Hello

    You can connect to access library models using the REST API, use 'GET /libraryDocuments' allowing to recover documents in library for a user. Models are created in the account of EchoSign, which later are accessible via the REST method mentioned above.

    Jat

  • HOW DO YOU GET YOUR DOCUMENT SCANNED USING OCR?

    HOW DO YOU GET YOUR DOCUMENT SCANNED USING OCR?

    [discussion moved the Forum creation, edition & PDF export.]

  • How can I get my document to save the last used rotated view?

    How can I get my document to save the last used rotated view?

    Possible with Adobe Acrobat, Adobe Reader No.

  • How Sierra Desktop and sync Documents?

    Hello

    Before moving to Sierra, I would like to be shure that this novelty won't make me lose important documents.

    I have two macs with different files on my documents and desktop folders.

    How Sierra will synchronize all this?

    e-s-new-desktop-and-documents-access-in-MacOS-Sierra.html http://www.Macworld.com/article/3098804/Data-Center-Cloud/How-to-use-icloud-DRIV

    http://www.Apple.com/icloud/icloud-drive/

Maybe you are looking for