hi,guys!In hyperview, I am trying to automatically report in the form of PPT by coding. My codes is as follows:
proc ::AutoCreateReport::AutoCreatePPT {pptpath} {
set templatepath $pptpath;
hwi OpenStack
hwi GetSessionHandle sessionH
sessionH GetPublishingHandle pub
pub GetPPTPublishHandle ppt
ppt SetSyncAtPublish false
ppt SetSyncHgNotes false
ppt SetDestination 'disk'
ppt SetPathOnDisk $templatepath
ppt Publish
ppt ReleaseHandle
pub ReleaseHandle
sessionH ReleaseHandle
hwi CloseStack
}
But there is always the error that is as follows:
::hw::publish::ppt::GUI::PublishCB
1
while executing
'# Compiled -- no source code available
error 'called a copy of a compiled script''
It is so appreciate to you for helping me solve it.