Re: Load sketch, choose position
It depends on the context what works, but here are two options:
Put it in avail_cmds like this:
(oli::sd-put-buffer "AM_LOAD_SKETCH :FILENAME (format nil \"~A/VersionNeutral/Annotation/NotesCastMetal.mi\" (oli::sd-sys-getenv \"SDSITECUSTOMIZEDIR\"))")
Or, don't pass : position, but add :interactive-rest to the command
But, I think you want to load some standard text-blocks etc. Then your best option is to use templates. They are located in the template-browser, and you can very easily add your own (using "Define" in tab "insert", group "Sketch")
With kind regards,
Marten
|