New File Dialogue Plugin - good for editors

This forum is currently in read-only mode.
0 favourites
From the Asset Store
Create complex dialogues with ease with this tool/template!
  • wasn't planning on any new plugins but I needed this for the editor I'm working on, and figured other people could use it as well

    lets you use a file dialog like so:

    <img src="http://dl.dropbox.com/u/1013446/filedlg/Untitled.jpg">

    click here for quick demo(exe)-> left click in the window, to choose a sprite image to load

    download plugin and demo cap here

    you can customize the title in the title bar, the default filename, choose whether it's for loading or saving, the default file extension, other available file extensions, and the starting directory

    the file dialog doesn't actually load or save anything, it just lets you retrieve the full path of the file the user selected.

    you can use whatever object you want to plug the file path into

    • One Action : Start File Dialogue
    • One Condition : On File Selected
    • One Expression : GetFileName (you can also just type the object name without an expression to do the same thing)
  • ive always wanted this ability, nice job as always lucid !

  • Nice

    One strange thing though, it says "Files of type: *.gif, *.png, *.jpg" etc., but it doesn't show .pngs in the explorer pane unless I change it to "All files *.*"

    Is that just because you didn't say to look for .pngs in your events or, uh...

    I guess I should download the actual plugin and .cap, huh?

    Edit:

    Okay I tried it out and actually I can't seem to get the "Default File Extension" expression working at all... it shows no .jpgs for me in the explorer pane even though ".jpg" is in the expression. It only shows image files when I select "All Files." And then it shows, well, all the files.

  • my bad, I didn't put the semi colon between jpg and png

    that's why it didn't show up

    if you paste this there it'll work:

    "Image Files(*.jpg;*.jpeg*.png;*.gif;*.bmp)|*.jpg;*.jpeg;*.png;*.gif;*.bmp|All Files(*.*)|*.*"

    as far as the default goes. that is used if you choose not to have any preset extensions at all, or if the user chooses 'all files', and just saves it as let's say

    Deadeye

    it would default to Deadeye.txt or whatever you put for the extension

  • Ah I got it, thanks

  • no prob, and thank you quazi

    replaced the demo cap and exe with the proper extension info

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Nice, I needed this just the other day.

  • How is this different from the default Common Dialog plugin?

  • How is this different from the default Common Dialog plugin?

    You don't get the side bar for selecting from drives, libraries, and what else have you when using the Common Dialog plugin.

    Sweet plugin, Lucid. I've been hoping for this style of dialog.

  • sweet! I really like that panel, specially now in Win7 that you can define your own libraries and not have them cluttered by crappy installers

    Edit: please file into finished addons thread!

  • GWAHAHHAHAHAHAH!!!!!!!!

    I didn't even know construct had that in it!

    to be honest, I wouldn't have bothered if just for the menu style, though I'm glad it'll be of use to some of you

    I just didn't realize it was already there

    wow.

  • Man, I can't tell you how many times that's happened. "You mean it's already built in?!"

  • Well... I wanted to look at the cap, but every time I try to I get an "Abnormal program termination" in construct.exe. I can open up construct just fine; the cap is just wonky.

  • Well... I wanted to look at the cap, but every time I try to I get an "Abnormal program termination" in construct.exe. I can open up construct just fine; the cap is just wonky.

    Are you using the latest version? The one on the forum not the main site.

  • I just didn't realize it was already there

    I think its rather new :S not sure though, I saw it pointed out at the forum

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)