.vbs "2 way sms scripting" question.

.vbs "2 way sms scripting" question. SearchSearch
Author Message
Noel Visser
New member
Username: Localhost

Post Number: 1
Registered: 06-2009
Posted on Wednesday, June 24, 2009 - 08:08 am:   

Hi all,
At the moment I'm doing some testing with NowSMS, and till now it looks great!
However.. I'm having a small problem with lars mservice "2 way sms scripting" script (http://support.nowsms.com/discus/messages/1/333.html)
The problem is that all the spaces from the received SMS are removed in the TEST.log

(example: 6/24/2009 8:41:00 AM %+3165_nr.removed_%2%Thisisatest.Whyarethespacesremoved?)

Anyone here who might know how I can fix this?

Thank you.
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 7811
Registered: 10-2002
Posted on Wednesday, June 24, 2009 - 04:10 pm:   

Hi Noel,

I'm not an expert in VBScript...but the following is a quick hack to put back the spaces:

LogTxt = LogTxt & Args(I) & " "

The only downside of this quick fix is that it adds an extra space at the end.

-bn
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 7812
Registered: 10-2002
Posted on Wednesday, June 24, 2009 - 04:13 pm:   

Hi Noel,

I'm not an expert in VBScript...but the following is a quick hack to put back the spaces:

LogTxt = LogTxt & Args(I) & " "

The only downside of this quick fix is that it adds an extra space at the end.

-bn
Noel Visser
New member
Username: Localhost

Post Number: 2
Registered: 06-2009
Posted on Thursday, June 25, 2009 - 07:32 am:   

Hi Bryce.
I'll give it a test run later today, and report back.
Thank you for NowSMS and your help.