Мне кажется, что я не могу вызвать или выполнить сабвуфер VBA в Applescript для PowerPoint Mac 2011. Это отлично работает для Office PowerPoint 2004
Вот мой код:
on run {paramVBAScript}
with timeout of 5 seconds
tell application "System Events"
if not (exists process "Microsoft PowerPoint") then return ""
end tell
tell application "Microsoft PowerPoint"
set vbaScript to the command bar control "XXXXX" of command bar ¬
"Help" of command bar "Menu Bar"
set parameter of vbaScript to paramVBAScript
**execute vbaScript**
set retValue to parameter of vbaScript
return retValue
end tell
end timeout
Execute Vbascript is not working
end run
Гдемогу я пойти не так?