TheSwamp
Code Red => AutoLISP (Vanilla / Visual) => Topic started by: kraz on August 02, 2009, 09:24:19 PM
-
I want to know how can i Select Files without dcl or dos_filem..
as it possible, I Want to use WMI method like " (setq ShlObj (vla-getInterfaceObject (vlax-get-acad-object) "Shell.Application") Folder(vlax-invoke-method ShlObj 'BrowseForFolder 0 msg 0)) "
thanks all...
-
Did you do a SEARCH?
This Search for BrowseForFolder (http://www.theswamp.org/index.php?action=search2;params=YWR2YW5jZWR8J3wxfCJ8YnJkfCd8MnwifHNob3dfY29tcGxldGV8J3x8InxzdWJqZWN0X29ubHl8J3x8Inxzb3J0X2RpcnwnfGRlc2N8Inxzb3J0fCd8cmVsZXZhbmNlfCJ8c2VhcmNofCd8QnJvd3NlRm9yRm9sZGVy)
-
Did you do a SEARCH?
This Search for BrowseForFolder (http://www.theswamp.org/index.php?action=search2;params=YWR2YW5jZWR8J3wxfCJ8YnJkfCd8MnwifHNob3dfY29tcGxldGV8J3x8InxzdWJqZWN0X29ubHl8J3x8Inxzb3J0X2RpcnwnfGRlc2N8Inxzb3J0fCd8cmVsZXZhbmNlfCJ8c2VhcmNofCd8QnJvd3NlRm9yRm9sZGVy)
hmm...I don't want BrowseforFolder...this is for Select Folder. but I want multi select files...
-
Have you tried?
(setq file+path (getfiled "Select a File you want" "" "" 4))
-
Ok, try this:
http://www.theswamp.org/index.php?topic=14715.msg177776#msg177776
-
I've been down this road & never found one that worked with Windows 2000.
Here is a DCL option.
http://www.theswamp.org/index.php?topic=14536.msg177095#msg177095
-
thanks CAB..
most of all , I had Searched with many keyword like files, multi select files, wmi bla bla bla~...., but i Couldn't Found....anyway sorry.
filebox func, you found, is nice to me.. but i can't understand, wmi has browseforfolder method but have not files method....I want to know there is another method ...or any other good functions...
god bless you~~ :angel:
-
Hi,
AFAIK, there're no way working fine without an external arx or dll.
"acet-ui-getfile" function from the express tools works the same as "userAccounts.CommonDialog" (IOW: as bad as).
I made a little .NET DLL to which implements 4 LISP functions to open Windows standard dialog boxes, you can found it here (http://www.theswamp.org/index.php?topic=29537.msg350784#msg350784)