Jump to content

Recommended Posts

Posted

Attached is code SlbShow.lsp that ChatGpt help me generate which would run on AutoCAD on Windows OS.

It'll first open a file window to select an existing slide library file like acad.slb

Then run a vbscript to extract the names of the slides inside the selected slide library and place this into a text file.

Next, the slides inside the selected slide library will be displayed in a custom dcl made up of a row of 4 x 5 column image buttons.

Finally, when an Image button is clicked another window appears showing the slide in a larger image button view.

I would like to know when vbscript or wscript is restricted does the code handle this and exit properly.

Any other feedback is welcome.

image.png.af28da94549348cbfa933e2ae8b3ee57.pngimage.thumb.png.f193bdffc29ccdc01fa7272803f4c5af.png

image.thumb.png.6da01f5a557fc82701b5025f145c6e24.png

 

SlbShow.lsp

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...