Set(text ... ) commandThis command used to text on the phone screen. FormatSet(text,add|replace, title, _text_) or Set(text,clear|show|close) or Set(text,fg|bg|font, _data_) or Set(text,wrap,on|off) |
![]() |
Command Set(text,add|replace ...) used to add or replace content of the existing text screen.
1=Set(text,replace,Text,some long text) 2=Set(text,add,SAME,another long text) 3=ExecAndSet(text,replace,Text,more /etc/motd) 4=Timer(t1,5,0,text,add,SAME,more /etc/motd)The word SAME was used instead of title if there are no needs to change existing text screen title.
It is possible to add line break characters to the text. It could be done with "\n".
The length of the text which can transferred to phone depends on the phone capabilities. So, be careful with uploading large text files. It will take a really long time and even can crash Java Client (Seems Nokia 6021 can't load more than 4Kbytes).
Safe value for text size is about 4 Kbytes. It is possible to limit maximum size of uploaded text by setting MaxTextSize parameter.
MaxTextSize=18
MaxTextSize measured in chunks of 240 byte size. So, 18 chunks is about 4Kbyte. Set MaxTextSize to -1 to unset the limit.
Command Set(text,show|clean) used to show or clean existing text.
3=Set(text,show) 4=Set(text,clean)
Command Set(text,close) used to close text screen. If it is closed, then main window of Java Client will be shown.
Back($$)=Set(text,close)
Command Set(text,wrap,on|off) used to set wrap mode on/off.
5=Set(text,wrap,on)
It is also possible to set wrap on/off by choosing menu item of text screen.
Command Set(text,fg|bg,R,G,B) used to set foregroung or background colors, where values of R,G and B should be beetween 0 and 255.
5=Set(text,fg,255,255,255) 6=ExecAndSet(text,fg,echo "255,255,255")
Command Set(text,font,small|meduim|large) used to set font size.
6=Set(text,font,medium)
To move to the first line, press 1.
To move to the last line, press 7.
To move one page up, press 3.
To move one page down, press 9.