我正在使用编码的UI和VSTO自动化Powerpoint场景。在我的powerpoint演示文稿中,我在形状上创建了一个“Action”设置以启动记事本。在幻灯片放映期间,我需要通过单击“文本/形状”来调用此操作,以便它打开notepad.exe。谁能帮助我如何实现这一目标。我写了下面的代码。//TolaunchPowepointPowerPoint.ApplicationobjPPT=newPowerPoint.Application();objPPT.Visible=Office.MsoTriState.msoTrue;//AddnewpresentationPowerPoint.