Custom HTML for One Folder Only

All questions related to installations, configurations and maintenance of Advanced Host Monitor (including additional tools such as RMA for Windows, RMA Manager, Web Servie, RCC).
Post Reply
jromariz
Posts: 264
Joined: Wed Apr 03, 2002 6:00 pm
Location: Brasil

Custom HTML for One Folder Only

Post by jromariz »

Hi Alex,

I would like to create a custom html report for one folder only. I´ve configured a test on this folder with action "Execut HSM Script" and create report option. Where should I configure the option of which folder to generate the report on?

Thanks for helping,

Regards.

Jromariz.
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

You should add "SetCurrentFolder" command before "CreateReport" command, e.g.:

Code: Select all

SetCurrentFolder Root\ping\
IncludeSubfolders yes

CreateReport "HTML report for manager" c:\temp\cust_report.htm 
Please read the following article for details: http://www.ks-soft.net/hostmon.eng/mfra ... #actScript

Regards,
Max
jromariz
Posts: 264
Joined: Wed Apr 03, 2002 6:00 pm
Location: Brasil

Post by jromariz »

Hi Max,


Thanks a lot for your reply. That´s exactly what I needed.


Best Regards,

Jromariz.
jromariz
Posts: 264
Joined: Wed Apr 03, 2002 6:00 pm
Location: Brasil

Post by jromariz »

Just one more question:

Can I use "" int the CreateReport command for directory name with spaces?

For example: "c:\program files\....."

Thanks,

Jromariz.
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

You can specify directory name with spaces, but you should not wrap it into quotes:

Code: Select all

SetCurrentFolder Root\ping\
IncludeSubfolders yes

CreateReport "HTML report for manager" C:\Program Files\HTML Help Workshop\cust_report.htm
Regards,
Max
Post Reply