Name: getfiled
Syntax:(getfiled
title default ext [flag])
Description:Displays a common Windows file browse box. You can use more than one flag by adding them to get such as 1 and 4 you would use a 5. Multiple extensions can be displayed in the drop down when they are separated with a semi-colon.
Flag |
Meaning |
1 |
Create new filename |
2 |
Disable "Type It" button |
4 |
Any extension is allowed |
8 |
Search for filename |
16 |
Second argument acts like a path or directory |
32 |
Inhibits alert box from being displayed. |
Common Ext. |
Description |
LSP |
AutoLISP Files |
ARX |
AutoCAD Runtime eXtension |
BMP |
Bitmap |
MNU,MNS,MNC |
Common Menu Files |
JPG |
JPEG |
DWG |
Drawing File |
DXF |
Drawing Exchange |
Example(s):(getfiled "Select file to Open" "mylisp" "LSP" 4)
nil
(getfiled "Select file to Open" "mylisp" "LSP;ARX" 4)
nil