Greetings all. Can anyone point me to a direction to programatically enter text into the curve editor text dialog?
CURVEEDITOR TEXT SET_TEXT "\F !\C!4\H )\S 4\B \I \U put my text here"
Any thoughts?
-Joe S.
Solved! Go to Solution.
Solved by tibor.vekasi. Go to Solution.
IF NOT entity_exists('pattern','') {
RETURN
}
STRING p=entity('pattern','').Name
STRING t=Input 'Text?'
$t='CURVEEDITOR TEXT SET_TEXT "\F \C!4\H ]\S \B \I \U '+$t+'"'
ACTIVATE Pattern $p
EDIT PATTERN $p CURVEEDITOR NOGUI START
CURVEEDITOR MODE TEXT_HORIZONTAL
MODE COORDINPUT COORDINATES 0 0 0
DoCommand $t
CURVEEDITOR TEXT FINISH
CURVEEDITOR FINISH ACCEPT