If anyone is interested...or cares...
http://wiki.mcneel.com/doslib/home
26 years and counting...
-- Dale
Thanks for the heads up!!!
Area Object Link | Attribute Modifier | Dwg Setup | Feet-Inch Calculator
Layer Apps | List on Steroids | VP Zoom Scales | Exchange App Store
Dale and McNeel continue to be awesome!
Thanks Dale.
doslib is one utility that we cannot live without.
Awesome going for the last so many years.
Best Regards
Rakesh Rao
Dale,
Thanks for the great work and keeping this updated.
Regards,
Jerry
Is anyone else unable to display info in the DOSLib help file?
The right side is blank when selecting topics.
Regards,
Jerry
In Explorer, right-click on the .chm file and pick Properties. In the Properties dialog, poke the Unlock button.
Dale,
Thanks for the answer and the quick reply.
I don't recall ever having to use Unblock on a CHM file. Good to know.
Regards,
Jerry
Dale_fugier, I have noticed this issue before also. You mentioned an 'unlock' button. I have never seen an unlock button in Properties. Are you referring to the read-only attribute checkbox?
I have the same issue with .chm files on our network drive. The CHM file is not read-only, but I do notice if i copy the same file to my hard drive (Documents folder), then I am able to see the help contents on the right window pane. Can anyone explain why that is and if there is a way to get our .chm files to work from our network drives?
Windows blocks CHM files opened from network drives because of a security issue.
If you 'google' this topic, you can find workarounds that involved editing your Registry.
-- Dale
Dale,
The function, dos_getfilem, returns a list of the path and drawings selected. The drawings are returned in alphabetical order. Your function is superior to getfiled which does not allow window resizing or multiple file selection.
I reviewed the Help file, but could not find an option to return the drawing list in the order the user selected them.
A benefit of a user-selected file list, in the case of drawings, would be that you could open all the drawings in the list and then activate the first drawing in the list.
Do you think others would benefit from an option to return the list either alphabetized or user-order selected?
Thanks for all your great work.
Regards,
Jerry
I have incorporated dos_getfiled into several functions and it works great!
Would it be possible to add a Read-Only option to the function's interface? This could be similar to AutoCAD's OPEN command, which uses a drop down box, or use a check-box, which may be preferable to others.
I noticed that DOSLIB is on GitHub, but I do not have experience with that programming language. I hope others would benefit from this read-only option enhancement.
Thanks for your time. I welcome your feedback.
Regards,
Jerry
Although dos_getfilenav offers more options, it does not offer a read-only option like the AutoCAD OPEN command.
This would be a nice option to offer users who may want to open a drawing in a protected state.
Thanks, Dale.
Regards,
Jerry
Oh my word!
I’ve just discovered DOSLib!
I’ve written my own LISP routines in the passed and had heard of it while researching commands.
Can either of you guys recommend any resources / websites to further my knowledge and expand my usage of DOSLib into my LISP routines?
Kindest Regards
I think the best resource is the DOSLib Help File (contained in the Zip file).
Take several minutes to read through the Introduction section. Scan the function names listed in the Index tab. Most functions are self-explanatory, with detailed info when you select the function name.
For a specific task, such as a file operation, return to the Contents tab to see the functions organized by category.
Beyond that, many users on the AutoCAD Customization forum likely use DOSLib, so you could post your questions there.
Good luck and glad you discovered DOSLib. And a grateful thanks again to @dale_fugier for making this powerful tool available.
Regards,
Jerry