How can i create a filechooser button inside the plugin window?

Hi
i'd like to create a filechooser button to load/save but inside the plugin window. Is it possible ? if yes how can i do that ?
and i need the algorithm to be Mac/Windows compatible if possible
thanks a lot
*best regards*
Jeff

If by the "plugin window" you mean the dialog an automation or a filter plugin from the SDK sample code opens for you, you have to write platform-specific code using either Cocoa on Mac or regular WinAPI on Windows (e.g. by hooking GetOpenFileName()/GetSaveFileName() functions to a button you will add to the resource file or create dynamically). Take a look at any plugin that has a GUI (e.g. the Dissolve plugin) and you'll see that the GUI code is entirely platform-specific as there is no platform-independed GUI framework bundled with Photoshop anymore.
Another option is to use some third-party cross-platform library such as Qt, but if you just need a couple of buttons and file selection dialogs it's probably not worth the trouble,.

Similar Messages

  • How can i create a gradient chooser within the plugin window

    Hi
    i'd like to create a gradient chooser similar to the one used in Photoshop but inside the plugin window.
    How can i do that ?
    And i need a way that is compatible Mac/windows if possible
    thanks a lot!
    Jeff

    Hi Chris
    thank you for your answer.
    finally i got WxWidgets working within Photoshop thanks to Dimitri from wx-users and i also found an all-done gradient editor! so all is good thanks
    Jeff

  • How can we create such navigation buttons using Flash CS4?

    Hi,
    How can we create such navigation buttons using Flash CS4 is in the following website? Please help me with any such tutorial to make my custom navigation bar/buttons.
    http://city.reallusion.com/join.html
    Thanks.

    While the Note 4 is a reasonably large device it still falls into the phone layout bucket. We need this layout to function on very small screens some as low as 320 pixels high and 240 pixels wide. These sorts of devices don't have the space for a full toolbar.

  • How can I create a property list inside a property list?

    How can I create a property list inside a property list?
    I have a string(that I pulled from a text member). the string
    is actually a propert list.
    the property list has another property list inside it..
    how can I use this list ? how can I conert the text to a list
    that director will understand?
    thanks.

    Not sure if this is what you're wanting, but to make a list
    from a text
    member you could do something like ...
    myList= []
    -- Fill myList with values --
    repeat with i = 1 to member("YourTextMember").line.count
    add myList, (member("YourTextMember").line.i)
    end repeat
    Haven't checked it, but it should work.
    -Matt

  • How do I create a duplicate image inside the same page? Then how do I change the color of that image

    how do I create a duplicate image inside the same page? Then how do I change the color of that image from black to red?

    Hello there!
    Here is one way to create a duplicate image and colorize it. As you can see below, I have one image right now, that I want to duplicate.
    My layers panel looks like below.
    To duplicate your image, click the downward arrow on the right side of your Layer Panel.
    Select Duplicate Layer. This will duplicate the layer that the image is on.
    Select "OK" to approve the duplication.
    As you can now see in the Layers panel, the image is duplicated. The new layer is now at the top of the Layer panel.
    Now to colorize your image, go to Window > Adjustments.
    The Adjustments panel will now be opened. Select the Hue and Saturation icon as seen circled in red.
    The Hue and Saturation propertied panel will be opened. I selected "Colorize", and adjusted the hue and saturation bar to achieve the level red in my photo.
    As you can see below, the image is now red.
    Now i want to make sure only ONE of my image layers is red. I moved the Hue and Saturation layer to only be on top of the bottom layer. The image on the top layer now will not be affected by the red.
    Select the move tool, so I can now move the image layers so we can see both of them.
    With each image layer selected, you can take the move tool and move the images. I moved mine on top of eachother and you can see my red layer (bottom) and the non red layer (top).
    I hope that helps. i have also included helpful links.
    Please post back with any questions,
    Janelle

  • How can i create multiple accounts but use the same itunes?

    how can i create multiple accounts but use the same itunes?

    Hi iCloud is Making Me Go Crazy,
    You will need to create a new Apple ID for your GameCenter and iCloud services.  You can continue to use the current Apple ID you share with your Mom for access to iTunes Store purchases if you wish. 
    Using your Apple ID for Apple services
    http://support.apple.com/kb/HT4895
    Frequently asked questions about Apple ID
    http://support.apple.com/kb/HT5622
    Cheers,
    - Judy

  • How can i create a new item in the app "health"?

    how can i create a new item in the app "health"? I need a field for documentation of "Waist-to-height ratio", exactly for "circumference".
    It's a matter of common knowledge, that the Waist-to-height ratio (WHtR) has more significance then the Body-Mass-Index (BMI).

    If you mean you want to change a color of a calendar category or create a new one, you cannot do that, what is pre-loaded is what you get and cannot be edited.

  • How can i create an indicator to read the RMS value of my FFT using FFT Spectrum (Mag-Phase).vi

    Hai to all,
    how can i create an indicator to read the RMS value of my FFT using FFT Spectrum (Mag-Phase).vi.
    as u can see in my block diagram(attached), i can use statistic to read the RMS value for the data but i cant's use it on the FFT Spectrum (mag-Phase).vi .
    Thank you for helping.
    Attachments:
    block diagram.jpg ‏48 KB

    hafizzuddin wrote:
    thank you for the opinions, for now i am not using any express Vi..
    In the long run you will benefit from this. Anyway is your problem solved, or do you need more help?
    Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
    (Sorry no Labview "brag list" so far)

  • How can i create my own file from the Adobe Export PDF to Word ?

    How can I create my own file from the file of the Adobe Export PDF to Wodrd?

    If there is handwritten content in your PDF then ExportPDF can't convert that to word.
    ~Deepak

  • How can I turn off "reply" button when the messages come? I prefer the "open" button.

    How can I turn off "reply" button when the messages come? I prefer the "open" button. Because my friends usually send lots of messages at the same time so I cannot read all of them when I press "reply", then I have to go to Messages -> my friends' messages, and it's really complicated.

    Sorry for not quite understanding. I guess you are referring to a notice in an alert. I do not have that alert active on my device, so I cannot say. I use the banner alert, so I just get a notice of a message and can swipe to open that particular message. If I ignore it, it will eventually go away.

  • Can I create a "play" button in the Tag Inspector extension

    Hello,
    I am creating a Tag Inspector extension for changing the
    properties of a customized swf files.
    Can I create a "play" button in the property panel to preview
    the swf movie?
    I've checked the "Inspectors" folder in the "configuration"
    and cant find the Inspector panel htm of swf object.
    It seems a part of core code of dreamweaver.

    No.  iDVD does not have that feature.  However, there are two ways you can do this: 
    1 - join the 10 segments into one movie file.  It's quite easy if you have Quicktime Pro and Quicktime Player 7.  Other video editing apps can do the job.
    2 - you can create a slideshow in iDVD and add each of the movies to it so they all will play one after another:
    Set the Slide duration to anything but Manual.  Do not select a transition and add no music to the slideshow.
    Remember, the playing time of the entire project should be less than 120 minutes including menu's playing time in order for you to use a single layer DVD disc.
    Follow this workflow to help assure the best qualty video DVD:
    Once you have the project as you want it save it as a disk image via the File ➙ Save as Disk Image  menu option. This will separate the encoding process from the burn process.
    To check the encoding mount the disk image, launch DVD Player and play it.  If it plays OK with DVD Player the encoding is good.
    Then burn to disk with Disk Utility or Toast at the slowest speed available (2x-4x) to assure the best burn quality.  Always use top quality media:  Verbatim, Maxell or Taiyo Yuden DVD-R are the most recommended in these forums.

  • How can i creat CRC 32 CHECK WITH THE lookup table as attached.

    how can i creat CRC 32 CHECK WITH THE lookup table.attached
    i creat one,but not match the result number C++ version
    result number C++ version:
    FE 00 18 02 40 1E 65 43 00 03 E8        CRC32=>78 1F E9 06
    FE 01 18 02 40 1E 65 43 00 03 E8        CRC32=>F8 8F 49 61
    FE 02 18 02 40 1E 65 43 00 03 E8        CRC32=>7D FF B4 7F

    due to some reason i can not attach the table.but you can find it herehttp://lavag.org/topic/15325-crc32/,it in the CRC.llb 84.03K =>CRC-32 Table.ctl thanks a lot

  • How can i create a skip button?

    I'm creating an intro animation that leads to a drop down
    menu, but how do I create a skip button that lets me skip the intro
    to the menu.

    try this..
    skip_btn.onRelease = function(){
    gotoAndStop("menuFrame");
    skip_btn is the instance name of your skip button, and
    menuFrame is the frame name of where your menu is located.

  • I have a new western digital 1TB ultra. how do i format it? i can't create a new folder inside the external drive.

    I have a new WD My Passport Ultra external drive. Once connected to the Macbook Pro retina, I can't create a new folder in the external drive. What do I do to solve the problem?

    You should be able to format it for use with your computer using Disk Utility in the Utilities folder:
    http://osxdaily.com/2012/01/04/format-an-external-hard-drive-or-usb-flash-drive- for-mac-os-x/

  • How can I create an internal space from the border in every cell in a table?

    How can I create an space between the text contents and the border inside in every cell in a table in Pages?

    Change the Inset margin in the Inspector palette > T tab > Text

Maybe you are looking for