ENTER in scripts

Kirk_P

Usenet Archive
Joined
Jul 22, 2003
Messages
5
Reaction score
0
I am converting some scripts from R14 and I need the script to contain an ENTER so that the default is accepted when stepping through the detailed plot configuration. How do I include an ENTER in a script? Thanks
 
Although I have my scripts working again, I am finding that is is pretty obnoxious having to code everything to a seperate line, for example having "plot", "y", "n" all on seperate lines, where "plot y n" would be much neater. The problem comes back to handling the time when I need the default (ENTER) and the only way I can find to get it to work is breaking the script into individual lines. Is there some way to get the ENTER into an inline command?
 
use a semicolon for "enter" just as you would for a menu or toolbar macro.
 
Ah- I ran into that, too - just a while back... and didn't remember the unknown source of frustration....

Some of the coding for scripts/ Lisp/ menus/ macros.... change over time... and sometimes the documentation gets truly crappy in the migration... like, htey "forgot" to make any!

I find a bit of Lisp to be useful in this occasion... (yes, you can inject Lisp into a macro, if you haven't tried yet)

Qsave
Zoom e
(setq marker "start-Plot-Command")
Plot
y
n
(setq marker "End-Plot-Command")

It also allows you to troubleshoot....
Command: !marker
start-Plot-Command
 

Latest threads

Back
Top