Graphics

 View Only
  • 1.  Can I store script values into Objects (text?)

    Posted 06-02-2014 00:49
    Hi all,

    Can we change the values of text objects through script commands? Essentially, is there a command that performs the opposite of "GetObject(xxx)?"

    I'd like to store the values of my script variables into text objects.


  • 2.  RE: Can I store script values into Objects (text?)

    Posted 06-02-2014 00:54
    Yes..



    dim txt1 as xpTextObject

    self.GetObjectByName("Text1", txt1)

    txt1.Text = "Hello World.. The time is currently: " & Now



    #XPression


  • 3.  RE: Can I store script values into Objects (text?)

    Posted 06-02-2014 06:32
    Thank you very much Brian.

    #XPression