Jump to content
Shi Feng

Automatically outputing PowerPoint by coding in hyperview

Recommended Posts

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.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
You are posting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...