我正在开发Sirikit的应用程序.使用Sirikit,我已经显示了一个项目列表作为INTask,当我选择原始应用程序将打开的任何项目时,我已经实现了这一点.我的实际要求是我需要确定用户从Sirikit中选择的项目,我需要为不同的项目打开不同的ViewControllers.谁能帮我?先感谢您.任何帮助赞赏.
如何使用 VBA 或 Apple 脚本从演示文稿中拆分幻灯片。以前我使用 VBA 代码来实现相同的目的,但在 powerpoint 16.13.1 中我收到错误“Mac PPT 不支持在无窗口模式下打开文件”。它适用于以前版本的 PowerPoint。
Sub SaveSlide(lSlideNum As Long, sFileName As String)
Dim oTempPres As Presentation
Dim x As Long
ActivePresentation.SaveCopyAs sFileName
' open the saved copy windowlessly
Set oTempPres = Presentations.Open(sFileName, , , False)
For x = 1 To lSlideNum - 1
oTempPres.Slides(1).Delete
Next
' What was slide number lSlideNum is now slide 1
For x = oTempPres.Slides.Count To 2 Step -1
oTempPres.Slides(x).Delete
Next
oTempPres.Save
oTempPres.Close
End Sub
Run Code Online (Sandbox Code Playgroud)
在上面的代码中,我在这一行中遇到错误
Set oTempPres …Run Code Online (Sandbox Code Playgroud)