Save dialog with file type selection

I'd like to give the user a save dialog with a dropdown
showing a list of file formats to select from, as is pretty much
always the case in normal save dialogs (even if there's only one
acceptable file type.) It servers both as giving the user options
and letting the user know the file format being saved to.
I can't seem to figure out how to do that in AIR.
File.browseForSave does not take a FileFilter array, and does not
provide a default name option. I can get the default name by
resolving a path for the File object first, but this doesn't show
the user the various filetype options they have, and even if they
knew them they would have to manually type them in the dialog. Am I
missing something?

FOUND THE PROBLEM!
I have several timelines in the project, and most of them are titled things like "window dub w/timecode". I found one that was titled "interviews" and tried to render that. The Save dialog appeared, only when I rendered from THAT timeline. So I started to look for differences between the timelines.. then it dawned on me that all the timelines that don't render have the "/" character in the title. Adobe should warn that this character is not allowed, rather than allow it and then behave weirdly. Could have saved me hours of thrashing about!

Similar Messages

  • Need to avoid header When using GUI_DOWNLOAD with file type "DBF"

    Hi ,
    I am downloading internal table to excel on the desktop using GUI_DOWNLOAD with file type "DBF".
    Internal table I use do not have any header.
    But I do see the header in the downloaded file.
    It displays 1 row as " F1  F2 F3..ETC" heading for each column.
    Is there any variable we need to set to suppress header.
    Thank you,
    Kumar

    Hello Dilip,
    I tried using GUI_DOWNLOAD with FILE TYPE as "DBF", and i see the problem as mentioned. My question to you is:
    1. Why do you need 'DBF' format?
    2. Is it required to save the file as '.CSV'? Can you not try to save in '.XLS' file?
    Plz revert back.
    BR,
    Suhas

  • Need to remove header When using GUI_DOWNLOAD with file type "DBF"

    Hi ALL,
    I am using GUI_DOWNLOAD function module to downlaod data to csv file . I have taken FILE TYPE as "DBF" . After download , I have found data is downloaded along with a default header . Now how can I avoid Header while downloading.
    Please help me to solve this problem.
    thanks and regards,
    Dilip
    Edited by: dilip kumar on Jun 9, 2009 11:51 AM

    Hello Dilip,
    I tried using GUI_DOWNLOAD with FILE TYPE as "DBF", and i see the problem as mentioned. My question to you is:
    1. Why do you need 'DBF' format?
    2. Is it required to save the file as '.CSV'? Can you not try to save in '.XLS' file?
    Plz revert back.
    BR,
    Suhas

  • Partition with file type & size.

    Hello All,
    I need to install SuSE Linux Enterprise Sever 8 prior to Oracle 10g.
    I have 136GB of Hard Drive.
    My RAM is 3GB.
    Could anyone suggest me idol file system/partition with file type & size?
    I can create partition on my SLES installation.

    We are using raid5.
    But I can see only one hard drive.
    Do you think its ok to have only three partitions?
    what about /? (root)
    what file type I should used? ext 3, ext 2 or Resiser?

  • SQL Developper Version 4.1.0.19: cannot open sql files with file type .pck

    Hi
    I can't open sql files with file type .pck. They are opened as a package. The icon is a package too. (Worked fine in 4.0)
    My settings:
    Thanks for any help

    Thanks, but that doesn't help
    To specify it more precisly: I can open such a file, but it is not opened as a sql file. The icons you see above left are the icons of the files (not of the packages).
    Greetings
    Ovi

  • Open a save dialog with a name of a not existing file as tip name

    Hello, I`m using JFileChooser to save a file, but the file does not exist in the File System, it is only a Java File object.
    Then I want to open the dialog with a name for this new file already in the field, then I can change the folders and the proposed name will still be there to be used.
    I have found some posts pretty close to what I need but i could not solve my problem.
    Thanks

    setSelectedFile()

  • Media Encoder, No File Save Dialog with New XDCam Project

    I've started a new project last night and I got it edited toda
    y. It's XDCam 24P timelines, very simple linear
    string of short 45 second clips of interviews with executives.
    The timeline behaves normally in every respect. Except, when I attempt to render it to any format in Media Encoder, I never get the File Save As dialog. I press OK and the Media Encoder settings goes away, then, a second later, reappears. It took me a few moments to realize something was wrong.
    I rebooted the computer, thinking Premiere was just corrupt in memory, as sometimes happens, but after a fresh start, the same behavior with the Media Encoder. Now I'm really worried, because this is a corporate event video with a deadline.
    Just to check, I tried opening a prior project and tried to render anything in that project. This time I get the Save As dialog, which is expected. So I return to the corporate event project and try again to render anything within that project. The encoder settings keeps redrawing when I press OK and I cannot save anything.
    Thinking my project was corrupted, I copied the assets and made a new project and pasted them into the new, blank project. Once again, I cannot render anything. All I get is a redraw out of the Media Encoder settings screen.
    This is a very simple project. There is nothing unusual about it that could cause this freakish behavior, except the lighting used at the event was mostly yellow. Apparently it doesn't like something about my footage, but I cannot re-shoot this one-time corporate event! If a reboot didn't fix it, and other projects still work normally, then it's a real head-scratcher. This is new behavior that I've not encountered in 3 years of using CS3.
    I'm out of ideas. If it's XDCam my footage, then I'm dead in the water here!

    FOUND THE PROBLEM!
    I have several timelines in the project, and most of them are titled things like "window dub w/timecode". I found one that was titled "interviews" and tried to render that. The Save dialog appeared, only when I rendered from THAT timeline. So I started to look for differences between the timelines.. then it dawned on me that all the timelines that don't render have the "/" character in the title. Adobe should warn that this character is not allowed, rather than allow it and then behave weirdly. Could have saved me hours of thrashing about!

  • Help with file type

    In Adobe Camera Raw, is there a way to select the file type that you save your image in. It seems .dng or DMG are the onle file types, or am I missing something. I would like to save my orginal CR2 file and save a copy in jpeg for others to open. Please help.

    NO.  Don't click on Save Image Button.  Instead go to:
    File >> Save as
    You'll get a dialog like this one:
    You need to click on the arrow shown in the red box to select the various file types.

  • Problem with file type... some files have been changed to folders... Help !

    Hello,
    I have problem with some files that are located in Library / Quicktime.
    I have 7 files in that folder and all are .component files.
    3 of them used to look like a lego block :
    DivX Encoder.component
    macam.component
    MayaIFF.component
    But today, I have accidentally change them into folders (and I don,t Know how...) So instead of having thoses 3 files with the lego block icon , I have 3 folders and If I click on thoses folder, It open like a standard folder, so I see the "content" folder inside them...
    How can I change it back to the .component file type they should be... I know how to change the type of a file, but since they are now folders, there's no "file Type" associated with them (right click / infos)...
    Help !

    There are lots of things that are in fact folders, but the Finder treats them as "files"--in the sense that normally when you select one you cannot see the contents of the folder. One way this is done is by the use of certain extensions, for instance .app, .pkg, .mpkg, .bundle and .component all tell the Finder to NOT display the folders as folders. If you do a GetInfo on them and the name is still "whatever.component" and the Kind: Component is still showing, and you haven't noticed any problem with QuickTime, then don't worry about it.
    Those are all third party QT components. If they aren't working, you may have to reinstall them from the original source.
    Francine
    Francine
    Schwieder

  • IMovie export file type selection for iDVD

    I'm manipulating "home movies" (old Hi8 & new flash HD) with intent to eventually burn DVD's for various family members (e.g., children & grandparents) using iDVD. I have been creating Projects then exporting as either Movie (Medium .m4v) or Quicktime (.mov).
    What are the trade-offs for subsequent incorporation of these file types into iDVD? For example, is one of better quality - especially in light of all future source clips being AVCHD?

    Old Toad:
    Thank you for the suggestions. My dilemma is HD storage. For example, one Project (~63 minutes) is derived from Hi8 .dv clip consuming 12.67GB. After export as .m4v the Project's resultant file is only 738.4MB, and I expect a QT .mov export to be ~2.74GB - both of which consume less space than the source file. I've ~40 Hi8 tapes to convert, plus am adding footage with my new camcorder. Therefore my plan, possibly flawed as I am new to all of this, is to import source Events, build Projects, export to best-mode for later iDVD, then delete the source Event and Project to save space. Otherwise I'll be out of space before I can capture all of my Hi8 content.
    Your suggestion, whcih is greatly appreciated, would require me to start generating iDVD projects immediately for best quality - yet I hesitate because I want to build DVDs based on a comprehensive inventory of the old footage. Is there a best-quality export from iMovie for subsequent incorporation into iDVD?

  • BEx Web - Open/Save dialog - Set Default Type

    Hi All,
    In the BEx Open/Save dialog (accessed thru New Analysis button), shows "Views" in the Type drop down as default. Is there a way to set this type to Query by default?
    Thanks & Regards,
    Sree

    Option is available in the XML code where the type of dataprovider can be selected as "QUERY" or "VIEW" or "INFOPROVDER".

  • How to save as Excel file type?

    There were no Excel file type under the "Save As" function.  Is there anyway to include Excel file type under this list?  Snapshot attached. 
    Solved!
    Go to Solution.
    Attachments:
    Export_file_types.png ‏28 KB

    Hi NiCoder,
    You have a numer of different options to get data from the DIAdem Data Portal to Excel:
    1)  Save to TDM or TDMS file and use the free TDM Excel Importer to load the data into Excel
    2)  Save to CSV file and use Excel's built-in ASCII file import feature to load the data into Excel
    3)  Load the gfsexcel.dll GPI-DLL and use the "File >> Save as..." option to export an *.xls data file
    4)  Use a custom VBScript to automate any of the above 3 options
    5)  Use a custom VBScript to directly send each Data Portal data channel to a column of values in Excel via ActiveX
    Options 1) and 2) are easiest if you want a purely interactive solution.  Option 1) will export all the data values as well as all the properties.  Option 2) will export all the data values and the name of each channel in the Data Portal, but none of the other properties.  If you choose to use option 3), know ahead of time that this feature is limited to 255 columns and will not export any custom properties, just the properties that existed back in DIAdem 8.1.  Option 4) can add in all the custom properties that are missing in option 2).  Option 5) can export all the data and all custom properties, but it is also the slowest option and involves the most programming.
    Let me know what sounds best to you,
    Brad Turpin
    DIAdem Product Support Engineer
    National Instruments

  • Getting path to application associated with file type

    Hello,
    I'm looking for a platform-independent way to get path to application associated with given file type. Desktop API introduced in JSE 1.6 seems to do this, but it only lanuches the app.
    Any suggestions will be apprecieted

    Okay then, how can I open the file in it's associated
    application AND get the Process object of app's
    instance?If it doesn't bother you that the app will only work on windoze, then you can use the shell "start" command on the file.
    Process proc = Runtime.getRuntime().exec(new String[]{"cmd", "/C","start",filePath});However waitFor() will only wait for the process to be launched, not completed. Since your program doesn't know what Windoze will choose to launch, this makes sense.

  • Problem with file types.  Please help

    I recently downloaded the entire Sun Java Tutorial and have started to go through it. At the end of the first main trail about inro to OO Programming, there is a question/answer portion. There are a couple of excercies where you are to go through the ClickMe app and change some things around. When you click the 'click me' hyperlink, it would open the source in a new Internet Explorer window. That didn't work well for me as I can't very well edit anything in an Explorer window. So, I decided to change and do an 'open with' and used NotePad. Well, it didn't open it in a very readable format... so I thought 'forget it' I want to get it back to the IE format where I can at least read it easily. So, I've started to dig around and now I can no longer do an 'open with' and if you go into the View, Options, File Types 'JAVA' isn't listed anywhere in there.... BUT if I try to add a new type it says'java_auto_file' is associated with another program. So, then I got into REGEDIT and tried to modify the 'java_auto_file' key to use InterNet Explorer... but now I can't get the thing to even open in IE. HELP? If anyone can do this and see what I'm talking about can you figure out how to get me back to how it was when I pulled off the Tutorial....I'm lost. Thanks

    Try Netscape -- it lets you see the source files .java when you click on the link.
    Messing with Window's Registry is risky business. Try to find the old working copy and restore/rename it.

  • [SOLVED] Wrong handling with file types after update

    Arch can't "remember" which program to use for certain file type
    Example:
    after update arch try to open everything (mp3, avi, doc, odt, rar.......) with gedit, when I set mplayer for avi, Arch try to open every file with mplayer, I set writer for odt files Arch try to open every file with writer and .....
    And another thing, every file have "text file" icon
    Last edited by Joxy (2008-06-25 16:50:16)

    Take a look here http://bbs.archlinux.org/viewtopic.php?id=50667

Maybe you are looking for

  • Apps won't load after all the apps got updated, why?

    Hi all, I have recently updated most of my apps on my ipod touch (2nd gen) and realized none of the apps would work, I was wondering what the problem might be? I went to an apple store and showed it to one of the guy and he said I should just restore

  • I have iRealbook on my iPhone, how do I get it to my computer?

    I have iRealbook on my iPhone, how do I get it to my computer? Do I have to buy it again? I can't seem to find how to make the transfer from the app store.

  • Customer Master_Tables

    hi all, i am working on a data migration project using sql server and sap, and i need tables information for customers to migrate data. Thank you Swapna

  • CS3 won't re-install on Windows 7

    I've been using CS3 on my Windows 7 machine for a few months now but then my programs wouldn't open. After trying a few things without success, I decided to uninstall and then re-install it. The disc runs and it shows that each of the programs is ins

  • Has anyone install BOXIR2 on HP-UX11.2 (Itanium based)? Does it work find?

    My customers want to install BusinessObjects XIR2 on  HP-UX11.2 (Itanium based) . i tried to find installation documents,but i found installation documents for PA-RISC platform only. anyone can help me? Thanks,