How to open a document from a known path to Plugin, I'm using CS4

Hello

I have some files in one location and wanted to open through plugin

I have a piece of code that does not throw an error or open the document

I get the message 'Before' and 'after '.

I would like to know where I'm going wrong

Code below:

const ASUnicode * s = (ASUnicode *) "C:\\test.ai" ;

AIColorModel ColorModel = kAIUnknownColorModel;

path of ai::FilePath;

path. Set (ai::UnicodeString (s),

fake );

ActionDialogStatus dialogStatus = kDialogNone;

AIBoolean = forceCopy

fake ;

sADMBasic-> MessageAlert ('Before');

error = sAIDocumentList-> Open (path, colorModel, dialogStatus, forceCopy and document);

sADMBasic-> MessageAlert ("After")

Experts, please help me

Thank you

Srinivas

Sorry,

Try to set s like that too:

const ai::UnicodeString exportPath_Uni ("C:\\test.ai");

Tags: Illustrator

Similar Questions

  • How do I download documents from sandisk to PC

    original title: NEED HELP

    HOW DO I DOWNLOAD DOCUMENTS FROM SANDISK FOR PC

    I believe he is referring to a USB key.

    theoWF, just plug in. Windows will assign a drive letter to the USB key. Open Desktop and search. Then simply copy and paste the files you want anywhere you want on the computer.

  • I have Adobe Acrobat Reader DC on my computer.  I have NEVER had bad to open a document from this location before.  All of a sudden, I wonder a password.  I went in and created a password, but it won't work when I try to open only th

    I have Adobe Acrobat Reader DC on my computer.  I have NEVER had trouble opening a document from this location before.  All of a sudden, I wonder a PASSWORD.  I went and created a password, but it does NOT work when I try to open certain documents only three 3 in Player-all OTHER documents are open without asking for a password.   I tried to reset the password and tried again to open these particular documents.  They are still not open!

    Then I "chatted" with ADOBE and they me logged onto the Forum and told me to look for an answer I was ANable to automatically find...

    What is everyone out there knows what I need to do to obtain a PASSWORD THAT WILL WORK when I try to open these 3 documents?

    ALSO, what is the URL of the FORUM ADOBE?

    Thank you VERY MUCH to anyone who can help me.  I have urgently NEED to see these documents today, 18/05/15.  Thanks again!

    This isn't true at all. In fact, the specific problem of this user has been resolved when they discovered that someone has added a password security policy to their files. See: How to get and use a password that works to open several documents in Adobe Acrobat Reader DC?

    If you add the password to your files yourself and then forgotten, then there is nothing that can be done using Adobe software, however.

    This can be done with Adobe Reader but is not able to apply (or remove) a security strategy for PDF files.

  • How to open .pmd document created in Pagemaker in InDesignCC?

    How to open .pmd document created in Pagemaker in InDesignCC?

    You do not have. Support for Pagemaker was abandoned after CS6, but as a Subscriber, you can still download CS6 and allows to convert the .indd .pmd.

    PageMaker conversions may be something almost perfect to completely unnecessary, according to the original document. For a short doc I would probably just rebuild from scratch.

  • How to open my documents in windows 8?

    How to open my documents in windows 8

    Pavilion p7-1234

    model: mxu23701n8

    There are two ways for this one here:

    1. on the Windows 8 start screen, move your mouse toward the lower left corner of the screen.

    2. right click in the corner, and a menu should appear. Click File Explorer.

    3. the window of the computer on the Windows desktop. Click on the location of the file in the navigation panel on the left. (Example: If the file you are looking for is located in the Documents folder, click Documents, and then navigate to the desired file.)

    I hope this helps. If have any questions please let us know!

  • How can I send documents from my main computer to the cloud, and then how to get back them on my surface?

    How can I send documents from my main computer to the cloud and how can I get back them on my surface?

    Moved from Community Participation

    Original title: cloud

    On your main computer, save the file in your SkyDrive folder.  The file will then appear automatically on your Tablet Surface.

  • How to open a document in the way?

    I'm sorry, I'm a new Member of the INDD sdk, so I no Understand indd SDK struct.

    I have some questions, Please help:

    How to open a document in the way?

    How browes all the objects in the document?

    How to configure a TextFrame character fontname?

    Thank you all.

    1. you can use SDKLayoutHelper::OpenDocument method to open a document.

    2 see SnpInspectLayoutModel for code related to inspect the document.

    for example, ReportDocumentByHierarchy, ReportDocumentByDocumentLayer, etc.

    See SnippetRunner example of plugin in the SDK.

    You will get most of the things here.

  • How to open a PDF from another Web site?

    I'm trying to use Adobe to fill out a job application. They said that safari could not and I need to get the latest version that I did, but now when I go on the web site it just continues to show me this message. How to open a PDF from another site?

    Right-click on the link to the pdf file, save it on your computer, open it from the inside Reader using file > open.

  • How to translate a document from English into Czech?

    How to translate a document from English into Czech?

    Howell salvation,

    Adobe is not a software that translates documents. If you use Acrobat to convert a PDF to Word or Excel, you can choose the language to use for the optical recognition of characters (OCR), but this is not the same as the language translation.

    There are free utilities that allow to convert the text from one language to another, including http://google.com/translate.

    Best,

    Sara

  • How to open a RPD, from a folder of linux? OBIEE 11 g

    Hello

    How to open a RPD, from a folder of linux? Is there a tool or a command line command to open the RPD?

    Thanks for your time and your help.

    Hello

    You cannot open an RPD on a Linux manchine.
    You must install the client (administration tool) on windows and open the RPD remote in online mode

    Thank you

    Deva

  • How to open a document in Adobe 11 pro?

    I downloaded Adobe 11 Pro 30-day trial in a system of Windows 8. Download Assistant is on my desktop but when I open a pdf file, I receive no toolbar to work with. How to open a document in Adobe 11?

    OK, as a silly stub, I expect the download at autormatically invite me to install it. Your response prompted me to go into the file and the installation program and install it. Thank you; It works fine now!

  • How to open a document in word from a url?

    We have a document server, and I need to open a MS Word document that is a model for LabView fill (using bookmarks and Connectivity Toolkit).

    I looked at the URL generator and I can't get this to work.  The Document get opens the document, but is not sewing to give the correct path to the report get Word so it does not give a good link.

    I can open it in the default browser that connects to the word, but again, there is not any link to power term get report.

    Am I even close?

    Thank you

    Ben

    Here is a code snippet that should help you:

    She:

    • Initializes a HTTP session with a username and password,
    • generates a random, non-existent file with a doc extension name
    • Get a file on the URL name of the temporary file
    • Closes the HTTP session
    • Starts the Gnraton Toolkit report, with the file on the web than the model

    Tone

  • How to open my document that arise with a restriction policy

    It was the document was recorded in my old xp system

    Hi williecolbert,

    1. what happens when you try to open the document?

    2. you receive an error message?

    If there is any overall policy of restriction of the document you cannot open it unless this restriction is lifted.

    I suggest that you take possession of the document and you are trying to open.

    How to capture a file or a folder in Windows XP

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

     

    "Access denied" error message when you try to open a folder

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

    I hope this helps!

    Halima S - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • I can't open a document from a server in 2015 InDesignCC...?

    With open a document in InDesign 2015 - from a server - I get the message: "cannot open the document xxxx...". »

    When you write a document InDesign 2015 to a server, the message said: "the document is damaged..." »

    Thanks, Bob. I solved the problem...

    The problem is ESET CyberSecurity!

    When I stopped the computer scanning, InDesign does no more errors and works fine...

  • How to open PDF documents in the same window?

    Prof. Acrobat X / Windows:

    How to manage open PDF documents in the same window?

    When I open more than a single PDF docs and a second, third,... window opens, each document is opened in a separate window.

    In previous versions (Acrobat 8 Prof.), all the documents were opened in the same window.

    This is especially useful, because the windows are not spread over the entire desktop, and with ALT + TAB I can change between the documents, if I don't have that one window.

    Thanks for any help.

    This feature has been removed.

Maybe you are looking for