function "getword" in "Tune up reply"

When you post information about some problem, please include the following details: - OS version (e.g. Windows 2000 Professional SP3); HostMonitor version; problem description.
Post Reply
rc
Posts: 100
Joined: Mon Aug 01, 2005 7:51 am

function "getword" in "Tune up reply"

Post by rc »

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
KS-Soft
Posts: 12821
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

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
rc
Posts: 100
Joined: Mon Aug 01, 2005 7:51 am

Post by rc »

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
KS-Soft
Posts: 12821
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

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
rc
Posts: 100
Joined: Mon Aug 01, 2005 7:51 am

...solved

Post by rc »

Ok, you are right.

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

Thank you very much.

Enrico
KS-Soft
Posts: 12821
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

You are welcome :)

Regards
Alex
Post Reply