我正在尝试通过AppleScript自动化一些MS PowerPoint的东西。我想获取活动窗口的(形状)选择。看字典,我的猜测是: tell application "Microsoft PowerPoint"
set sel to shape range of selection of active有趣的是,sel's shapes确实有一个计数,但我不能从其中获取任何项。我的第一个直觉是sel's
我正试图在Notes.app中自动快速创建新笔记,并且我想在一个浮动窗口中打开我新创建的笔记。下面是我创建注释的代码:tell application "Notes" tellaccount "iCloud"
make new note at folder "Notes" with properties {nam
在以前的OS X版本(10.6之前)中,可以通过applescript ("Applescript Studio")中的"call method“命令调用Cocoa方法。URLWithString to (call method "stringByAddingPercentEscapesUsingEncoding:" of theURL with parameter 30) "Applescript</