View previous topic :: View next topic |
Author |
Message |
rc
Joined: 01 Aug 2005 Posts: 100
|
Posted: Tue Jul 17, 2012 5:24 am Post subject: function "getword" in "Tune up reply" |
|
|
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 |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12807 Location: USA
|
Posted: Tue Jul 17, 2012 5:36 am Post subject: |
|
|
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 |
|
|
rc
Joined: 01 Aug 2005 Posts: 100
|
Posted: Tue Jul 17, 2012 5:55 am Post subject: |
|
|
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 |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12807 Location: USA
|
Posted: Tue Jul 17, 2012 6:02 am Post subject: |
|
|
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 |
|
|
rc
Joined: 01 Aug 2005 Posts: 100
|
Posted: Tue Jul 17, 2012 6:20 am Post subject: ...solved |
|
|
Ok, you are right.
Your syntax ['%SuggestedReply%' getword 2] works perfectly!
Thank you very much.
Enrico |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12807 Location: USA
|
Posted: Tue Jul 17, 2012 6:30 am Post subject: |
|
|
You are welcome
Regards
Alex |
|
Back to top |
|
|
|