How to get the "Document Info" in illustrator

In illustrator using "Document Info" we can get the file information. Like that how to get the document information using script. Anyone please help me.
Regards,
Prabudass

I think sample code in the SDK contains a 'skeleton' plugin, I'd start with that. It should also provide a list of suites that get automatically loaded, I think it's in Suites.h. Just make sure AIDocumentSuite is in the list, and if it's not, just follow the examples in that file to add it. That should end up with a global variable called 'sDocument', which has all the suite functions as methods.
Then it's something like:
AIDocumentSetup setup;
AIErr error = sDocument->GetDocumentSetup(&setup);
// check error to make sure it's kNoErr
Then you just have to inspect the setup struct for (hopefully) the answers you're looking for.

Similar Messages

  • How to get the "Document info" in illustrator cs?

    Hai all,
    I need to know how to get the counting of RGB objects, CMYK Objects and Grayscale Objects information for illustrator vector(editable) file.
    In illustrator raster image file, i need to know how to get the Embedded image information(Resolution, Mode).
    I collect these infomation manually from "Windows->Document info". I saved the "Document Info" details in illustrator manually using "Document Info Pannel". I dont know how to save that information through "illustrator sdk" or through any other way without manual interaction. Could you please advice me. This is for windows operating system.
    Thanks,
    Prabudass

    I think sample code in the SDK contains a 'skeleton' plugin, I'd start with that. It should also provide a list of suites that get automatically loaded, I think it's in Suites.h. Just make sure AIDocumentSuite is in the list, and if it's not, just follow the examples in that file to add it. That should end up with a global variable called 'sDocument', which has all the suite functions as methods.
    Then it's something like:
    AIDocumentSetup setup;
    AIErr error = sDocument->GetDocumentSetup(&setup);
    // check error to make sure it's kNoErr
    Then you just have to inspect the setup struct for (hopefully) the answers you're looking for.

  • How to Save the "Document Info" Details Action Via

    I saved the "Document Info" details in illustrator manually using "Document Info Pannel". Could you please expain how to save the "Document Info" details through illustrator action.
    Thanks,
    Prabudass

    When in the document info window of a file there is a small triangle in the top right corner from this you have fly out menus to save/delete or show metadata templates. You can use this to save groups of metadata. Once you have a bunch of groups you can quickly use this to set your info. Bridge will also allow you to append or replace metadata from these saved templates too

  • Get the document info panel details

    I need to get the document info panel (Windows>Document Info) details through scripting in illustrator cs3. Kindly advice me is it possible or not.

    I think sample code in the SDK contains a 'skeleton' plugin, I'd start with that. It should also provide a list of suites that get automatically loaded, I think it's in Suites.h. Just make sure AIDocumentSuite is in the list, and if it's not, just follow the examples in that file to add it. That should end up with a global variable called 'sDocument', which has all the suite functions as methods.
    Then it's something like:
    AIDocumentSetup setup;
    AIErr error = sDocument->GetDocumentSetup(&setup);
    // check error to make sure it's kNoErr
    Then you just have to inspect the setup struct for (hopefully) the answers you're looking for.

  • How to get the extension Info from firefox? Do we have any firefox API to communicate with the browser? I couldnt see the HTML of the widget displayed in the toolbar how to access the widget using JS or any way

    How to get the extension Info from firefox? Do we have any firefox API to communicate with the browser? I couldnt see the HTML of the widget displayed in the toolbar how to access the widget using JS or any way

    Hi,
    Thanks for the suggestion. I've been playing around with some of the classes of the java.net package and java.io
    Using the URL class i can get the content of the data from a STATIC page and output that response to file so that is does not display to the client broswer.
    But this only works if the URL i give points to a static html page.
    So the problem i'm getting is if i'm righting in arguments in the URL, this means that server needs to process the arguments i give and its sends back a dynamic result. Because its dynamic the URL class can not handle this and throws me an exception everytime :(
    Have u ever tried to do some things like this?
    Rahul

  • How to get the document path of the pictures uploaded for products?

    Hi Gurus,
    How to get the document path of the pictures uploaded for products uploaded through tcode COMMPR01?
    Many Thanks,
    Neeraj

    client path.
    I need to get the client path in order to download files form server to client.
    Best regards,
    Huy.

  • How to get the document number for a ware house order.

    Hello gurus,
    how to get the document number for a ware house order. [if GI is posted refering that WH order] .. is there any report?
    Thanks in advance

    There are several options.  When you post a Goods Movement, you can use LB12 -display Transfer Requirement for material document or LB11 Display TR for material.
    Depending on how your system is set up you may have gotten a Transfer Order automcatically.  In this case you can look at LT24 - Transfer Order for material.

  • How to get the system info in a network

    Hi to all.
    can any one tell me how to get the system related,like system name and logged user ,info in a network using java...
    thnx in advance,
    ashok

    There is quite a bit of data that is stored in the System Properties. Run this little test app and it'll display all of the System Properties, what you are looking for may be contained in there:
    public class Test {
        public static void main(String[] args) {
            System.getProperties().list(System.out);
    }

  • How to get the document which is associated with a process having specific Guid value?

    when a PDF file is opened, AcroRd32.exe is started automatically, and we get the GUID value of that adobe reader.
    In c#, can't we get the document associated with the GUID value,  I mean the total PDF file which is opened in adobe reader at runtime.
    Here I'm struck up in code, can anyone suggest how to where I was missing something.
    Acrobat.CAcroAVDoc AcroAvDoc;
    Type AcrobatCAcroType;
    AcrobatCAcroType = Type.GetTypeFromCLSID(new Guid("{CA8A9780-280D-11CF-A24D-444553540000}"));  This CLSID is of adobe reader's.
    ///////Here I think I'm missing something
    Object obj = Activator.CreateInstance(AcrobatCAcroType);
    AcroAvDoc = (Acrobat.CAcroAVDoc)obj;
    I think I can get the full PDF document with AcroAvDoc.GetPDDoc();
    Thank you...

    Post your question in the forum for Acrobat SDK.

  • How to get the channel info of the image

    I insert an image into the view. I want to get the channel info of it, how to get it?

    I'm not an image expert but I'm pretty sure what you want can be found in the AIRasterSuite (AIRaster.h). I'd check there, if you understand image channels & whatnot, you're more likely to know than I if that's what you need.

  • How to get the cell info?

    You all know that, on our mobile we used to get the cell info ( Tower Name ). How to access that in our J2ME application?
    John

    Hello txflwr48! I regret the difficulties you've been having while activating your new phone. I'd love to help, but I recommend that we take our conversation to direct message instead of here in the public forum. If you have not yet gotten your device activated, please follow these steps to follow my handle (DionM_VZW) send me a direct message: http://vz.to/1gBiqkv
    DionM_VZW
    Follow us on Twitter www.twitter.com/vzwsupport

  • How to get the document details of a Workflow Request?

    We are using listRequests method of RequestManager class for getting workflow requests. This method returns collection of request information. But how we can get details of document, which has to be approved, through that request id?

    Hi,
    Hope u got the solution. If not, you can get the Document Item like this.
    // Its the method call of previous link nickw-ocs has provided
    Vector fileNames = getTargetDocumentsFromFolder(request1);
    for (int j = 0 ;j<fileNames.size() ;j++ )
    AttributeRequest[] pathar = new AttributeRequest[]
    WSF.newAttributeRequest(Attributes.PATH),
    WSF.newAttributeRequest(Attributes.PARENT_FOLDER)
    FileManager filemanager = session.getFileManager();
    // Resolve the file path based on folder ,document name
    // combination.
    String fileName = (String)fileNames.get(j);
    System.out.println("Item id : "+item.getId()+" File Name : "+fileNames.get(j));
    Item targetItem = filemanager.resolveRelativePath(item.getId(), fileName,
    pathar);
    // here you got the Document Item. So, you can do what ever u want, like read the docuemnt, update categories etc..
    if (targetItem != null)
    targetdocuments.add(targetItem);
    }

  • How to get the document type, name and revision from the search page cv04n

    Hello,
    After performing cv04n and getting a list of documents satisfying the search criteria, how can I then get the document type, name and revision of the selected document using ABAP?
    Thanks

    HI,
    IN table DRAW... u have Document type, Version and document number.
    In Table DRAT also u get Document Type, Version, Number and Description of Doucment.
    Regards
    SAB

  • How to get the groups info for user

    Hi guys i am new to ALUI..
    i am trying to do some enhancement.
    i want to know how to get the information of the users group and the group details using the IDK API?
    Can sombody share some code?

    Hello,
    You are welcome. Here is one way of get what you want:
    1) get all groups id's
    IPortletContext - >IRemoteSession -> IUserManager - > getCurrentUserGroups() -> int []
    2) get details about group
    IRemoteSession.getObjectManager(ObjectClass.UserGroup ) ->
    cycle over int []: {
    IObjectManager -> querySingleObject(comminity id) -> IObjectQueryRow -> getName()
    Because you are going to use PRC and make SOAP calls to portal don't forget setup WS to pass token to portlet (check WS settings)
    Edited by Bryazgin at 05/29/2008 7:48 PM

  • How to get the document file format?

    Hi all,
    Im using Illustrator CS3 SDK to find the file format. In pluginhandler.cpp,the following code showing as inactive preprocessor block(disabled)
    #ifdef ADDS_FILE_FORMAT
        if ( sSPBasic->IsEqual( caller, kCallerAIFileFormat ) ) {
            if ( sSPBasic->IsEqual( selector, kSelectorAIGetFileFormatParameters ) )
                error = goGetFormatParms( ( AIFileFormatMessage* )message );
            else if ( sSPBasic->IsEqual( selector, kSelectorAIGoFileFormat ) )
                error = goFileFormat( ( AIFileFormatMessage* )message );
            else if ( sSPBasic->IsEqual( selector, kSelectorAICheckFileFormat ) )
                error = goCheckFormat( ( AIFileFormatMessage* )message );
        else
    #endif
    So the above code is not executing so im not getting the file format. Can anyone guide me regarding this... Will this cause any problem in getting file format?? Im blank regarding this. Anyone pls guide me

    The code you posted only coms into play if you have added a file format of your own for saving, exporting or opening. It shouldn't matter to getting the file format.
    If Illustrator is giving you the right results in CS3 but not in AI10, its very possible AI10's version was simply busted. Or it was subject to a limitation CS3 is not. I know at one point certain document attributes were not available until the document had been saved; could that be the problem here?

Maybe you are looking for