Visual LISP, AutoLISP and General Customization
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Running VB Script from Lisp
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
252 Views, 1 Replies
05-02-2012 05:43 AM
I am trying to manage my support paths, this includes printer support paths, with a VB Script file. Is there anyway to get this .vbs file to run from within my acad.lsp file? I have attached both my script files and my lisp file for reference.
I would think that this could be done but all I can seem to find is how to run VBA code in lisp. I just need to make a call and have the file run silently. Any help with this would be greatly apreciated.
Thank you,
Chris Kitzmann
.: Chris Kitzmann :.
Re: Running VB Script from Lisp
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
05-09-2012 06:42 AM in reply to:
chris.kitzmann
You could use the acet-sys-spawn function to spawn an external process.
This example launches notepad from Autolisp.
(acet-sys-spawn 0 "notepad.exe")
To run a VBS you will have to experiment with the windows START command or by calling CMD.exe

