How can I open "Place..." dialog from my plugin?

Hello All,
There is a "Place..." item in  "File -> ...". If we can click on "Place...",  "Place" dialog will open and asks for .ai file to place the whatever the art is there in that file in the current document. Right.
Now what I want is, if I click on one of the button in my plugin UI, "Place" dialog will open and art will be drawn in the current document.
I looked into the API documentation and found AIPlacedSuite::ExecPlaceRequest( ) function, but no use.
How can I open "Place" dialog from my plugin?

The SDK does not provide any calls to open the Place dialog directly.
You have a few potential solutiuons, however.
A. Implement your own file dialog box, and use the Place suite. Which I think is perhaps the most elegant solution.
B. Programitcally create an action that opens the Place dialog. You can record an action that does this to see what file would have to be written (see "Insert Menu Item..." then type "Place", enter while recording). Then you could call the action with the Action suite.
C. The dialog could be opened using the scripting capabilites (for instance AppleScript). Your program could then write/call the AppleScript. I know it can be done with AppleScript, and I suspect other scripting languages such as Java might be able to do it.
Hope this helps.

Similar Messages

  • How can I open raw files from my Nikon D7100 in CS4 or CS5?

    How can I open raw files from my Nikon D7100 in CS4 or CS5?

    Andy,
    In the simple and short form, what happens with the ACR (Adobe Camera RAW) module is that it gets updated with regularity, to accommodate the camera mfgr's. changes for their newer models. That ACR works within the host program, such as Ps, PsElements, Lightroom, etc.. At a point, Adobe ceases to support older host program versions. When that happens, the user has a few options:
    Upgrade the host program version
    Use another host program, such as PsElements or Lightroom
    Use the free DNG converter, per Curt's suggestion. That is not host program dependent
    Glad that the DNG Converter works for you.
    Good luck,
    Hunt

  • How can I open RAW files from Nikon D7100 in Photoshop Elements 9?

    How can I open RAW files from my Nikon D7100 in Photoshop Elements 9

    Three choices:
    1. Upgrade to PSE11
    2. download the free Adobe DNG Converter and then convert your RAWs to DNG, which will open in PSE9
    3. Use manufacturer's software and convert to TIF (or JPG)

  • How can i open the popup from java class

    Hi,
    Please tell me how can i open the popup from java class.
    I am using jdev 11.1.1.7.0
    I have used the below code which works fine in jdev 2.1 but it will have some errors in 11.1.1.7.0.
    Please tell me some way to do this in all jdev versions.
    Bean obj = (Bean)RequestContext.getCurrentInstance.getExternalContext.getPageFlowScope(“obj”);
    Code for hide pop-up
    FacesContext context = FacesContext.getCurrentInstance();
    String popupId = obj.getPopUpBind().getClientId()
    ExtendedRenderKitService service = Service.getRenderKitService(FacesContext.getCurrentInstance(),
    ExtendedRenderKitService.class);
    String hidePopup = "var popupObj=AdfPage.PAGE.findComponent('" + popupId +
    "'); popupObj.hide();";
    service.addScript(FacesContext.getCurrentInstance(), hidePopup);
    Code to Show pop-up
    StringBuffer showPopup = new StringBuffer();
    showPopup.append("var hints = new Object();");
    showPopup.append("var popupObj=AdfPage.PAGE.findComponent('" +
    obj.getPopUpBind().getClientId() + "');popupObj.show(hints);");
    service.addScript(FacesContext.getCurrentInstance(), showPopup.toString());
    Code need to be added in jsff pop tag
    binding="#{pageFlowScope.bean.popUpBind}
    Variable need to be added in Bean.java
    private RichPopup popUpBind;

    Hari,
    Since you're using a non-public build of JDeveloper, you should be using a non-public forum.
    John

  • How can I open shared files from laptop?

    I have connected my external hard disk to Airport extreme and configured through my laptop (Windows). Now I want to see files existing in hard disk through wireless. How can I open files and photoes?
    Regards,
    Balaji.

    Please check out the following Apple Support article for details.

  • How can I open an attachment from inside a PDF portfolio using flex 4.1?

    I am currently developing a portfolio and have a DataGrid which lists my sorted attachments.
    I can right click on an attachment to open it but I require it to happen on the double click event.
    My code currently looks like this (taken from an old example):
    private function itemDoubleClicked(event:ListEvent):void
                                            var itemIndex:int = event.rowIndex;
                                            var item:AttachmentImpl = AttachmentImpl(sortedCurrentItems.getItemAt(itemIndex));
                                            var command:CommandImpl = collectionManager.host.commands(acrobat.collection.CommandType.PREVIEW);
                                            Alert.show("you double clicked " + item.fileName);
                                            collectionManager.host.selection = [item];
                                            command.execute(item); 
    but i get a null pointer exception because command is null.
    Could anyone give me pointers or another solution?
    Thanks,
    Chris.
    Edit:
    I would like to extend this question as follows:
    when using 'host.commands' (as i believe is correct) I get the error that host is 'write-only' and therefore can access none of its methods.
    The example I use is from here: http://pdfdevjunkie.host.adobe.com/05_sorting.shtml
    Using this method, the host is overwritten by doing the following:
    public function set host(host:INavigatorHost):void
                                                 if(host != null) {
                                                           _host = host;
                                                           startEverything();
                                                 } else {
                                                           _host = null;
                                                           //Alert.show("Navigator Ending");
    When I try to do this I recieve the error that the method is not set for override.

    If i try to simply use the host e.g.
    host.selection = [item];
    It tells me that host is write-only. How can this be true?

  • How can I open Internet Explorer from Forms?

    I could manage to open IE with HOST giving it the correct path from IE in my computer.
    But how can I find out what directory IE is? Should I use OLE2? If yes, then how do I use it?
    Thanks,
    Ariadne

    I thinck that the path doesn't matter...
    Using Host('start http://www.oracle.com') will work no matter where IE is located

  • How can I open two windows from one submit?

    Is there a way to open two browser windows from one click of a button to submit a form? I have a button on a screen that does some processing of the data and then generates a PDF file with the output. I would also like it to run a report and show the output of that in a separate window. I realize that using regular HTML with a target of "_blank" on the form, you can have the results show in a new window, but how can I launch a second window from a single button click, if possible?
    Thanks!

    It can be possible using two different popUps instead windows. Onclick on the button just make vissible true of those two popup in the event method, before making visible true, do the business operation to show on the popups. So simple :)
    Note: Popup has modal=false attribute
    Edited by: man_ish on Jan 12, 2010 10:13 AM

  • How can I open a URL from a Custom Button in a second help window?

    I have a custom button, which currently opens a URL in a web
    browser, using a redirect page. How can I change this so that it
    opens in a second help window instead? If I understand some of the
    posts I've read, it is possible by linking the button to a related
    topics function but I've no idea how this is done.
    As usual, your help is most appreciated. Thanks a lot.

    Hi, ecoulyn,
    You need to make a topic file like the one below the target
    of the Jump button.
    The onLoad function on the Body start-tag causes the Related
    Topics command to fire when the topic file is loaded in the topic
    pane. When specifying the file name of the topic to display in the
    secondary window, you must always prepend it with the name of your
    .chm file, followed by "::/". Otherwise, an error message appears
    when the Jump button is clicked.
    Pete

  • How can I open an app from an e-mail link that is associated with link.

    I get e-mails with links in them all the time (from forms, online shopping, etc).  Some of those links are for websites that have an iphone app associated with them (especially forums).  When I click on the link it tells me as much, and if I click "ok" to that dialog, it takes me to the App Store and to that specific App, where I can download it.  Even when I have that app installed, rather than taking me to that app when I click on the link, I get the dialog again telling me that there is an app associated with their website (which I already know because I have the app).  Is there any way to get these links to open in the associated App, rather than trying to open them up in the browser?

    This question has been answered before, see the page linked below:
    https://discussions.apple.com/message/15123175#15123175

  • How can I open new window from a link in another window?

    Hello everyone!
    Can anyone help me with my problem. I need to open a child window from a link in the mother/master window. Actually, the link that would open the child window is directed to a servlet that retrieves data from the database. The data will then be displayed in the child window. I don't how to open a new window with the data retrieve (thru the servlet) displayed in it. I'm using model 2 architecture (Servlet-JSP).
    Thank you in advance and more power!
    nicoleangelisdaddy
    [email protected]

    Or you can use something like this,
    Click and in your test()
    <script language="javascript">function test()
          document.form_name.target="_blank";
          document.form_name.action="/test/servlet/LoginServlet";
          document.form_name.method="post"
          document.form_name.submit();
    }</script>
    Here "/test" is your application context path.
    If you want to open the link in the named window then use,
    document.form_name.target="your_own_name";

  • How can I open encrypted files from a flash drive?

    I moved transferred files from my work PC to a flash drive and had to encrypt them using Credant.  I know the password but can't find a way to decrypt the files on my mac...

    You can use a USB flash drive & the camera connection kit.
    Plug the USB flash drive into your computer & create a new folder titled DCIM. Then put your movie/photo files into the folder. The files must have a filename with exactly 8 characters long (no spaces) plus the file extension (i.e., my-movie.mov).
    Now plug the flash drive into the iPad using the camera connection kit. Open the Photos app, the movie/photo files should appear & you can import.
     Cheers, Tom

  • How can I open my project from the new account on my Mac?

    After suffering Autosave problems, I contacted Apple and they recommended I create a new 'admin' account on the MacPro and try FCPX from there. I created a new event and worked on it for a couple of hours and all went well.
    To take the trial further, I'd like to access my main event from the new account - but every time I try to open the relevant 'CurrentVersion.fcpevent' using finder, I get this message:
    Final Cut Pro cannot save changes to projects or Events.
    The disk where your projects or Events are located may be full or unavailable, projects or Events may have moved, or permissions may have changed.
    I changed the file to 'Read and Write' in the original Mac account but when I looked at it with finder in the new account it was 'Read Only', so I changed it to 'Read and Write', then double-clicked it to open it.
    Help!
    Andy

    Are you able to see it from within FCPX? You should be able to see it listed.
    Another thing to try. First make sure FCPX is closed.
    In your old account, change the top level names of the FCP folder to:
    Final Cut Projects Old
    Final Cut Events Old
    In your new account, duplicate those folders (should be command-d) and rename the duplicated folders them to:
    Final Cut Projects
    Final Cut Events
    Now, in your new account, open FCPX and see if you can access the project/event.

  • How can I open email attachments from an Exchange server?

    When I am at home and accessing emails on my business email address I have to go through a Microsoft Exchange server. I can read the emails but whenever I try to open or download an attachment, I get the message: "To open this attachment, you must save it to your disk. Right-click the link, and then click Save. With a single-button mouse, hold the button down over the link, and then click Save."

    according to MS KB article:
    http://support.microsoft.com/kb/278061
    That file is made when someone is using Rich text format and attaches a file. Have them switch to either HTML or plain text and reatatch the file and you should see the proper attachments.
    Jason

  • How can i open pdf files from the web without saving them

    Windows 7
    Firefox 5
    Adobe Reader 9
    when i want to see a web based pdf file i have to save it before opening it instead of it just opening in a pdf window.

    You can't.
    Those PDFs are only accessible on the Mac.
    They can not even be accessed by iOS.

Maybe you are looking for