KS-Soft. Network Management Solutions
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister    ProfileProfile    Log inLog in 

function "getword" in "Tune up reply"

 
Post new topic   Reply to topic    KS-Soft Forum Index -> Bug reports
View previous topic :: View next topic  
Author Message
rc



Joined: 01 Aug 2005
Posts: 100

PostPosted: Tue Jul 17, 2012 5:24 am    Post subject: function "getword" in "Tune up reply" Reply with quote

Hi Alex,

I use HM V9.22:
I have tried to use the string function "getword" in "Tune up reply":
'%SuggestedReply%' getword 2

Unfortunately, it does not function. The order is not considered:

If I use the example from the help:
('40, 10, 50' getword 3)

I receive in the field "Reply":
('40, 10, 50' getword 3)

instead of '50'

Do I make a little bit wrong?

Enrico
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12792
Location: USA

PostPosted: Tue Jul 17, 2012 5:36 am    Post subject: Reply with quote

As we see everything works fine.
Could you send screen shot or exported test settings (text file) to support@ks-soft.net?

What exactly expression do you use? ('40, 10, 50' getword 3)? This does not make any sense for Tune-up Reply option.
What exactly do you need to do with reply value?

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
rc



Joined: 01 Aug 2005
Posts: 100

PostPosted: Tue Jul 17, 2012 5:55 am    Post subject: Reply with quote

I used under "Tune up reply":
'%SuggestedReply%' getword 2

and receive in the field "Reply":
'<correct value for macro SuggestedReply>' getword 2

The function "getword" is not simply explained.

Though the example makes no sense, however, should function for an easy test, nevertheless.

If this easy test already does not go, are all the other settings not relevant for "Tune up reply" or?

Enrico
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12792
Location: USA

PostPosted: Tue Jul 17, 2012 6:02 am    Post subject: Reply with quote

That example shows how to use getword function. But its just part of the manual that tell you how to use "Tuneup Reply" option.
If you want to calculate something within "tune-up" string, you need to use expression like ['%SuggestedReply%' getword 2]

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
rc



Joined: 01 Aug 2005
Posts: 100

PostPosted: Tue Jul 17, 2012 6:20 am    Post subject: ...solved Reply with quote

Ok, you are right.

Your syntax ['%SuggestedReply%' getword 2] works perfectly!

Thank you very much.

Enrico
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12792
Location: USA

PostPosted: Tue Jul 17, 2012 6:30 am    Post subject: Reply with quote

You are welcome

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    KS-Soft Forum Index -> Bug reports All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

KS-Soft Forum Index