Code: Select all
:foreach i in=[/file find name~"SMS/"] do={
/tool sms send usb3 "MyPhoneNumber" \
message=[/file get "$i" contents];
/file remove "$i"
}
Code: Select all
[/file find name~"SMS/"]
Code: Select all
][/file find name~"SMS/*.sms"]
Code: Select all
][/file find name~"SMS/~.sms"]
Also is that possible to get contents of file with Cyrillic character supporting ? maby file need to be on some specifin charset or something. For now when i try so sent Cyrillic message i get empty string