# Run a macro when Rhino starts

Hi Everybody,

I would like to run a macro at startup to make Pipe behave the way I prefer for the rest of the session but the following does not work for me.

Can anybody assist?

! _-NoEcho
Setredrawoff
Line
0,0,0
S
0,0,1
Sellast
Pipe
C
R
1
1
Enter
delete
selprev
sellast
Delete
Setredrawon
Echo

Hello - make an alias for your macro, then but the macro in your start up commands (Options > General)
Not sure what the ‘S’ is for in your macro though on line 5.
-Pascal

Sweet !
I can finally make my commands sticky !
Thank you Pascal