PDA

View Full Version : How can I use a varable in the TextTool ?



Hang
06-08-2021, 01:53 AM
Hello all

Is there a way to force the TextLayer command to substitute my Variable "myText" ?

string myText = "I would like to see this text";
Wait: 0.000s EvType: Command CommandID: CID_ToolSelect ParamType: ToolID Value: { 4919 (Text Tool) }
Wait: 0.000s EvType: Command CommandID: TextLayerAutoAdded Idx: 1
Wait: 40.789s EvType: Command CommandID: TextLayer Idx: 1 Loc: (-600, -600) Rot: 0 Text: {
{\rtf1\ansi\ansicpg1252\deff0\deflang1033\deflangf e1033{\fonttbl{\f0\fnil\fcharset0 Calibri;}}
{\*\generator AMBGoblin 1.0.0.0000;}\viewkind0\uc1\pard\nowidctlpar\fs48 myText}
} // End of text layer text.

With best regards
Hang

c0ns1d1ne
06-08-2021, 04:04 AM
Hmm, I can't find anything that works. Would be interested to know whether it's possible.