Jump to content

Script with one line


sivapathasunderam

Recommended Posts

How to write this Script in one line to use Lee Mac Script Writer  ............

-Scalelistedit d *
e
;end of script

thanks

Link to comment
Share on other sites

Ok a cheats way is you can use word using replace can substitute the paragraph end of line marker which is ^p so can look for say * ^p replace with * .

so -Scalelistedit d *

e

 

becomes -Scaledist d * e

 

Watch out for how many spaces required for some commands. Just make sure save as text not a doc.

 

Link to comment
Share on other sites

ok please at least, write this script in lisp........

._-layer s 0 
_.zoom extents
_.Purge la * n
_.Purge st * n
_.Purge r * n
_.Purge z
_.Purge e
-Scalelistedit d *
e
_.Audit y
_.qsave
_.close
;end of script

 

Link to comment
Share on other sites

Just add Command and answers in quotes " " except (setvar 'clayer "0")

 

When you need a enter use ""

 

Use filedia to turn of dialouges for say qsave (setvar 'filedia 0) set 1 for back on

 

(command "zoom" "E")

 

-Scalelistedit works

 

Have a go we will help if you get it wrong only way to learn.

Edited by BIGAL
Link to comment
Share on other sites

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...