🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

Automatically outputing PowerPoint by coding in hyperview

User: "Zaily"
Altair Community Member
Updated by Zaily

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.

Find more posts tagged with

Sort by:
1 - 6 of 61