Window for selection file in a filesystem

Hi,
I am looking for a class which would allow me to select a file on my filesystem (with somwe window). Any idea ?
Sincerely,
Olivier Matt

call method cl_gui_frontend_services=>file_open_dialog
   EXPORTING
    WINDOW_TITLE            = 'file open dialog'
   DEFAULT_EXTENSION       =
   DEFAULT_FILENAME        =
   FILE_FILTER             =
     INITIAL_DIRECTORY       =  dir_name
   MULTISELECTION          =
    changing
      file_table              = user_file
      rc                      = rc
   USER_ACTION             =
  EXCEPTIONS
    FILE_OPEN_DIALOG_FAILED = 1
    CNTL_ERROR              = 2
    ERROR_NO_GUI            = 3
    others                  = 4

Similar Messages

  • How to display the Get info window for a file or folder

    Hello,
    How can I display the Get Info window for a file or folder using Applescript - instead of selecting it in the finder and using Command-I ?
    Thanks.
    lenpartico

    The item property that the Get Info was opened for is read only, so it doesn't look like you can just throw a file path at it. You could do something like telling the Finder to reveal the item, then keystroke the command, e.g.:
    <pre style="
    font-family: Monaco, 'Courier New', Courier, monospace;
    font-size: 10px;
    margin: 0px;
    padding: 5px;
    border: 1px solid #000000;
    width: 720px;
    color: #000000;
    background-color: #FFEE80;
    overflow: auto;"
    title="this text can be pasted into the Script Editor">
    tell application "Finder"
    reveal "Path:to:your:file"
    activate
    end tell
    tell application "System Events" to keystroke "i" using {command down}
    </pre>
    ... but this doesn't seem to be much different than the regular method. There are other methods to get various information, what are you wanting to do?
    Edit:
    Hmmm, I could have sworn (I do a lot of that these days) I tried Hiroto's method, but that does work. It still seems to be a roundabout way of doing something though.
    Message was edited by: red_menace

  • Can I change iTunes & iPod display font (not font size) for selected files only?

    I loaded a Russian classical music CD into iTunes and iPod. On the original CD, titles, names etc. are written in cyrillic alphabet.  Once I loaded the CD into iTunes and on iPod this info was displayed unreadably in western alphabet.  Example:  "Èæå õåðóâèìû..." (Í. Ãîëîâàíîâ)Õîð È.
    I have cyrillic font on my Windows 7 computer.  Can I change the display font--for only these selected iTunes music files--to the cyrillic font?  Thanks!

    Does any one know how you can adjust the font size (point size) for the file
    names.
    Sadly enough you can't chance that, feel free to add a feature request for
    that, the more there ask for the bigger chance it will be realized.
    It would be great if the colors for the image name (background and font color)
    could be changed so the contrast could also be increased so it is also easier
    to read.
    And this the cheerful part, go to Bridge preferences General tap and play
    with the sliders for user interface and Image Backdrop until your satisfied.
    BTW using the slider for thumbnail size bottom right of the Bridge window to
    increase the thumbs does not increase the font but makes it nevertheless a
    little clearer.

  • Opening New Window for the file

    Hi Everyone,
    I have a requirement, where in the client has policy file, which is made to display when clicked on a link.
    But the problem is, the pdf policy file opens in the same window. If the user closes the pdf policy file window, the connection to the application will be lost and the data that is entered in the previous page is also lost.
    For the above reason, the client wants the file to open in a new window instead of in the same window. So that the connection to the application is not lost, even if the Policy file window is closed.
    Can anyone help me in accomplishing the above with list possible customization.
    Thanks in Advance.
    Regards,
    Pavan

    Hi!
    I have the same problem. I'm using a commandButton on af:table row that opens the file, stored in a column of that row.
    <af:column>
    <af:commandButton text="Show attachment"
    actionListener="#{backing_FileUpload.downloadFile}"/>
    </af:column>
    The code I'm using is:
        response.setHeader("Content-Disposition",
                           "attachement; filename=\"" + lsFilename + "\"");
        response.setContentLength((int) length.intValue());
        response.setContentType("application/x-download");
        try {
            InputStream in = loBlob.getBinaryStream();
            OutputStream out = response.getOutputStream();
            byte[] buf = new byte[1024];
            int count;
            while ((count = in.read(buf)) >= 0) {
                out.write(buf, 0, count);
            in.close();
            out.flush();
            out.close();
            loFC.responseComplete();
        } catch (IOException ex) {
            System.out.println(ex.getMessage());
            ex.printStackTrace();
        }This gets the file opened in the same window on the same jspx page. Ehat I would like to do is to open this file in a pop-up or a new browser window so the user can simply get back to the page from where he opened the file.
    I'm thinking about creating another empty jspx page just for showing files and send the file to this page but I would like to know if there is a better and more simple way to do that.
    Thank you!
    BB

  • Optimizing a search for duplicate files in a filesystem

    We have a large directory that people have been dumping to for years (~200k files), and I want to go through and look for duplicate files. The first part of this was just scanning through and checking for duplicate file names.  I wrote a simple VI to serarch for duplicates, but it is very inefficiant because of multiple string comparisons. Even optimized as much as I could think to do, I'm only scanning about 1k files / minute.  I have attached my code - any help would be appreciated.
    Attachments:
    search.vi ‏22 KB

    This is trivial using the variant attributes mentioned earlier.  Attached is my method which uses the Variant Repository XNode I developed.  Not sure on performance comparisions.
    EDIT:  I'm betting the thing that will take the longest will be performing the MD5, I'm sure a CRC32 could be done faster which is probably just as good in this situation, or even a sum of the bytes of the file as a quick way of identifying the file.
    Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
    If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.
    Attachments:
    Find Duplicate Files.vi ‏23 KB

  • Need fullpath for selected file in editbox

    Hi All,
    I've created below script. It is working fine.
    Here is my question:
    When I select my folder my edit box show my selected folder full path.
    Please help me.
    Thanks in advance.
    var myDialog = new Window('dialog',);
    myDialog.myPanel4 = myDialog.add('panel');
              myDialog.myPanel4.helpTip = "Choose text file";
              myDialog.myPanel4.Group15 = myDialog.myPanel4.add('group',undefined);
              myDialog.myPanel4.Group15.EditText5 = myDialog.myPanel4.Group15.add('edittext',undefined,"/mytextfile");
              myDialog.myPanel4.Group15.EditText5.preferredSize.width = 400;
              myDialog.myPanel4.Group15.Button5 = myDialog.myPanel4.Group15.add('button',undefined,"Select");
    myDialog.myPanel4.Group15.Button5.onClick = function ()
    Folder.selectDialog ("Choose my text file");
    var myfilePath
    myfilePath=Folder.selectDialog
    myDialog.show()

    Hi Tomaxxi,
    Thanx a ton for your correct answer and advice.
    you are such a great & talented guy.

  • Preview -- two windows for one file?

    Hi,
    I'm stumped by an amazingly simple problem: I want to have two or three Preview.app windows open (at different positions of) the same .pdf file, but I can't find any possibility short of duplicating the file, once for every window!
    Where's the magic button I've missed so far?
    Thanks, Colin

    Hi, Cohi.
    Adobe Acrobat (not the free Adobe Reader) has a function (WIndow > Split) that enables you to have two independent views of the same document.
    Unfortunately, preview does not support this with PDFs. AFAIK, your workaround is one answer with Preview. Your only other option is to make copies of the Preview app (e.g. Preview 1, Preview 2) and open the same document in these different copies of Preview.
    While Preview has evolved with each release, if one works heavily with PDFs, then one should buy Acrobat.
    If you think Apple should add a Spilt view function in some future version of Preview, I suggest you submit a Mac OS X Feedback.
    Good luck!
    Dr. Smoke
    Author: Troubleshooting Mac® OS X

  • Close popup window for swf file

    The captivate movie plays properly in the popup window. The
    "Close Movie" command does not automatically close the popup window
    on some computers. Any sugestions?

    You said, "Some customers?" does it work for other customers?
    Is there a difference between the way two customers are viewing the
    file? Compare the two, and you may get some hints.
    thanks

  • Multiple Windows for Multiple Files using Reader 7.0.9

    Install used to be able to double click on PDFs and open each on in their own window from My Computer using Windows XP Pro SP2.
    This morning, each file double clicked opens in the same Reader window.
    In our environment the apps our locked down so the "Internet" menu has the "Display PDF in browser" is checked but grayed out. I am about to investigate the "file types" action on the user machine but my install behaves the same way.
    The user thinks they need Reader 8.x but I am curious if anyone has seen this issue when NOT using the browser but just My Computer and a double click on the files.
    Thanks.
    -Jester

    Unfortunately, I've had no response to my post as of yet.
    Interestingly, I was playing around with it a little further. I was finally able to get acrobat reader 7 to start but only under the following conditions:
    - I created a new user with no files in the home directory
    - I logged in remotely via ssh and set my DISPLAY
    - I was then able to bring up acrobat reader 7. v8 still hangs right after the GUI comes up.
    I tried unset'ing all of the environment variables as my normal user and setting only the ones defined in the working environment above. v7 still would hang.
    I tried 'su - newuser' but v7 would still hang.
    I tried 'ssh newuser@localhost' and v7 would start.
    I tried logging in via ssh as my normal user and v7 hangs.
    Again, I'm stuck as to where to go from here.
    -B

  • New Browser Window for SWG File

    If you go to my page at
    http://community-kitchen.org/News_Letters/2005winter/index.html
    And try and open the new browser button for the Flash Paper
    document it will not load.
    Does anyone have the answer to this?

    Check the RRI_DISPLAY_TARGET property of the web template. make sure you do not have this set to open in the QA window.
    Thanks.

  • Save as dialog window for excel file save ....

    hi!
    i have a jsp that displays all the report names to the clients and when clicked on the report downloads an excel file and saves to the client machine.this is accomplished by calling a servlet that sets the content type as "application/octet-stream" and setting the header as "setHeader("Content-Disposition", "attachment; filename=myExcel.xls")
    and writing the bytes to the excel file.works just perfect.
    now if you open the excel file and make changes to it and try to save it with a different name by clicking 'save as' option from file menu, the 'save as file type' by default shows "text" instead of excel worksheet.
    have you guys come across this problem anytime....
    kindly let me know you have any suggestions ..
    thanks in advance,
    /rahul

    one more point:
    the save as list box displays "myExcel.xls"(with quotes) where it should have displayed simply myExcel.

  • File dialog for selecting file on server

    Hi,
    in my applet, the user should be able to choose a jpg-file from the server to open it. The directory is fixed, there is only a choice between several files.
    I think I need a servlet to get a list of all files. Then I can send this list to the applet and display it there somehow. The code on the servlet side should be no problem, but I am struggling how to display this list in the applet so that the user can choose the appropriate file.
    Are there any better possibilitIes than my approach? Perhaps something like this already exists?
    Thea

    Hi,
    try one of the FMs, or copy parts of the code in your own:
    F4_DXFILENAME_TOPRECURSION
    F4_FILENAME_SERVER
    /SAPDMC/LSM_F4_SERVER_FILE
    RZL_READ_DIR_LOCAL
    Award points, if useful
    regards
    Markus

  • Popup window for downloading a file

    Hi,
    my dear users want me to do the impossible possible. My code generates an XML file which in time I displayed it in an Iframe in the application. When the standard popup window shows up, they can either Open, Save or Cancel it. This was allright.
    Now they want the file in a new window displayed (when they press Open), because opening the file in the same window means they leave the application and after reading the file, they have to start the application again. I do it like this:
    The code works perfect only with the Alert instructions. Once I delete it, the window is opened and inmediately closed. The popup window for the file does not show up.
    Thanks for your ideas.

    here is the code sample.
    1. user clicks a button in the main page , which will generate xml and show the same in a new window.
    page attributes
    display_url     TYPE     STRING                                                                
    file_mime_type     TYPE     STRING                                                                
    flights     TYPE     FLIGHTTAB     Table for SFLIGHT
    wf_xml     TYPE     XSTRING
    layout:
    <%@page language="abap" %>
    <%@extension name="htmlb" prefix="htmlb" %>
    <htmlb:content design="design2003" >
      <htmlb:page title=" " >
        <htmlb:form>
          <htmlb:textView text   = "Hello World!"
                          design = "EMPHASIZED" />
          <htmlb:button text    = "Press Me"
                        onClick = "myClickHandler" />
          <%
      IF  display_url IS NOT INITIAL.
          %>
          <script language="Javascript">
            window.open("<%= display_url%>").focus();
          </script>
          <%
      ENDIF.
          %>
        </htmlb:form>
      </htmlb:page>
    </htmlb:content>
    oninputprocessing code.
    data: cached_response type ref to if_http_response.
    data: guid type guid_32.
    CALL TRANSFORMATION (`ID`)
                SOURCE flights   = flights[]
                RESULT XML wf_xml.
    file_mime_type = 'text/xml' .
    create object cached_response type cl_http_response exporting add_c_msg = 1.
      cached_response->set_data( wf_xml ).
      cached_response->set_header_field( name  = if_http_header_fields=>content_type
                                         value = file_mime_type ).
      cached_response->set_status( code = 200 reason = 'OK' ).
      cached_response->server_cache_expire_rel( expires_rel = 180 ).
      call function 'GUID_CREATE'
        importing
          ev_guid_32 = guid.
      concatenate runtime->application_url '/' guid into display_url.
      cl_http_server=>server_cache_upload( url      = display_url
                                           response = cached_response ).
      return.
    2.user clicks a button in the main page , which will generate xml and present the user with a option to save locally or cancel. (in this case no additional browser window will be opened - only a popup and also the main page is not affected)
    layout code:
    same as option 1.
    oninputprocesing code.
    everything is same except change
    file_mime_type = 'text/xml' .
    to
    file_mime_type = 'application/oct-stream' .
    Note: wf_xml is of type xstring which holds the xml stream.
    Regards
    Raja
    Message was edited by: Durairaj Athavan Raja

  • Workflow improvements for thumbnails, files, archives, etc

    I hope this does not duplicate previous requestes - I am a relatively new user of bridge. Maybe the features I wish are part of bridge but I cannot find them :-( These requests are useful to improve the work flow immediately after a process a large number of images (maybe a few thousand) from an event such as a wedding, speed skating competition, dance production, or car race. The objective is to rapidly allow the selection of images that are to be grouped for edit/delete/copy by examining thumbnails and slide shows.
    1. Thumbnails are too small on a 1280x1024 or larger screen. It is difficult to compare adjacent images. It would be nice to allow the user to specify thumbnail size. The thumb data base should match the chosen size. However, it would be adequate if only new images added to the data base have the new size. It is difficult to use the Preview window for judging when images are separated.
    2. Rename of files should allow the use of the EXIF date/time created. Time is important if multiple cameras are used in a photoshoot and it is desired to put all images in time sequence. The present rename only considers a file attribute of year/mo/day and forgets about the EXIF date/time shot.
    3. A simple "select" or "tag" of images (such as the CTL/S key) would be useful that does not update information as does Labels and Ratings. Typically, this would be used for selecting files that are to be deleted, copied, etc. Teamed with the larger thumbnails and the slide show, this would be a very convenient tool for selecting images for editing / processing purposes. Yes, you can CTL/CLICK to do this in windows, but that is inadequate (see point 5 below).
    4. If the slide show is used and then exited with the ESC key, the thumbnail directory list should be positioned to and highlight the last viewed item. This highlight should be different than "select" - it is a position reference only. For example, I could be selecting images by viewing thumbnails but use the slide show (see 5 below) to view/select a series of images. The logical place to show where you "are" is in the thumbnail view.
    5. Any Labels, Ratings, or "select" (as in point 3 above) should be settable from the current image viewed on the slide show. The slide show is nothing more than a "giant thumb view".
    6. The thumbnail data base, if saved in a mounted directory, should be accessable and viewable in read-only mode even if the actual disk drive containing the images is not on-line. For example, it would be nice to view all thumbnails from my four archive hard drives even though they are normally turned off.
    It would be even nicer if BRIDGE could sense the fact that the drive has been turned on and then allow full image access. A super smart feature would be a prompt that tells which drive label (maybe even a CD label) should be mounted. If this were done, I could receive a print order for image TF123456, look through the always-available thumbnails, click on the desired image for CS2 editing and have it tell me "please mount disk with label 0246-20040315". After I turn on the hard drive or mount the CD, CS2 magic would continue.
    tony
    http://www.tphoto.ca

    >2. Rename of files should allow the use of the EXIF date/time created.
    I think you'll find that this exactly what you do get when Date Created is chosen. In Bridge Date Created refers to the time the image was captured, which is the same as Exif date/time created.
    You can find a downloadable listing of Bridge and Camera Raw keyboard shortcuts at
    Jeff Schewe, "++ Adobe Bridge and Camera Raw Shortcuts ++" #4, 28 Apr 2005 11:10 pm
    These should help you with Slideshow and many other features that you can't find via the menus or the interface itself.

  • 11.2.0.3 grid installation fails while selecting OCFS2 for ocr files

    We are installing 11GR2 (11.2.0.3) cluster on a 64 bit system. we have OCFS2 filesystem for shared devices. version 1.6.3.
    While selecting ocr file locations , we get the following error
    [INS-41321] Invalid oracle cluster register [OCR] Location
    Cause- The installer detects that the storage type of location is not supported for Oracle Cluster registery
    Action - Provide a supported storage location for the Oracle Cluster Registry
    Additional information
    /crp2db01/OCR/ocr_1 is not shared
    However , this mountpoint is shared across both the nodes.
    Note: 11201 grid installation was successful and it accepted the above locations for OCR. however ,we need 11.2.0.3 cluster for 11.2.0.3 database

    As for your current problem, just because Oracle "allows" OCFS2 in a GRID environment, I would never suggest nor implement that. It adds a layer of complexity that is totally unnecessary when a GRID/ASM implementation performs circles around OCFS2. ASM is much easier to manage, maintain, expand and shrink than OCFS2. Especially at version 11.2.0.3. When working at a large telco a few years ago, we had a 300TB+ ASM environment. OCFS2 could not even begin to be that big. ASM will provide you a MUCH more stable environment than OCFS2. And with ASM there is a lot of "magic" that happens with OCR/Voting that makes your life MUCH easier. If you "require" shared application files, then use ASM/ACFS. It is a much better "volume manager" than OCFS2.
    Since you must present devices to the system for OCFS2, you should not have any problems doing the same for ASM. (and don't use ASMLib as it is going away and is not necessary - just make sure you use a partition that skips the first 1M (usually cylinder 1) and you should be good to go!)
    I also would not use a "shared ORACLE_HOME" on either ACFS or OCFS2. The biggest reason is that you lose the ability to do a "rolling" upgrade and when you have a VLC, that becomes much more important that saving a few GB worth of storage.
    I would also pay attention to this:
    http://docs.oracle.com/cd/E11882_01/install.112/e22489/storage.htm#CDEDAHGB
    3.1.4.2 General Storage Considerations for Oracle RAC
    Use the following guidelines when choosing the storage options to use for each file type:
    You can choose any combination of the supported storage options for each file type provided that you satisfy all requirements listed for the chosen storage options.
    If you plan to install an Oracle RAC home on a shared OCFS2 location, then you must upgrade OCFS2 to at least version 1.4.1, which supports shared writable mmaps.
    Oracle recommends that you choose Oracle ASM as the storage option for database and recovery files.
    For Standard Edition Oracle RAC installations, Oracle ASM is the only supported storage option for database or recovery files.

Maybe you are looking for