getfiled questition

Discussion in 'AutoCAD' started by DI Klaus Umlauf, Jul 17, 2003.

  1. i use acad2000
    in one of my .lsp i use
    (setq grmfil (getfiled "Koordinatenfile auswählen" dasistin "y*" 4))
    to get a filename, is there a possibility to have the window opened in
    DETAIL-mode, sorted by date, so that the last *.y created file appears
    in the first row of the selection window.

    mfg
    gert
     
    DI Klaus Umlauf, Jul 17, 2003
    #1
  2. DI Klaus Umlauf

    BillZ Guest

    Not that I know of.
    If there is, I would like to know this also.



    Bill
     
    BillZ, Jul 17, 2003
    #2
  3. DI Klaus Umlauf

    Dale Fugier Guest

    Hi Guys,

    A long time ago, I threw in a sneeky hidden option on dos_getfilem and
    dos_getfiled to force the file dialog to open in detailed mode. Just append
    a T (true) token at following the filter string. For example:

    (dos_getfiled "Select file" "D:\\Drawings\\" "Drawing files (*.dwg)|*.dwg||"
    T)
    (dos_getfilem "Select files" "D:\\Drawings\\" "Drawing files
    (*.dwg)|*.dwg||" T)
     
    Dale Fugier, Jul 17, 2003
    #3
  4. DI Klaus Umlauf

    BillZ Guest

    I thought I had asked about that once before.
    Good job Dale!
    Thanks.

    Bill
     
    BillZ, Jul 17, 2003
    #4
  5. Pretty cool, thanks Dale,

    Little tiny "however", when I resize my dialog for this feature, the next
    time I run the program the bottom potentially extends off the bottom of the
    screen. Without knowing how dialog boxes are located when accessing it
    looks like the top middle of the dialog is relocated close to the center of
    the screen. Is that intentional or is there a way for it to remember the
    last location and size the dialog was accessed?

    I know... I know... just don't resize it too big. Just thought I would ask.
    Thanks again Dale.
     
    Arnold Williams, Jul 17, 2003
    #5
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.