PtScale

Please help me with the PtScale widget. How can I input the information in it from the programm (input inf. in scale tags).