3
当AppleScript的UI脚本,你可能要勾选复选框:勾选仅如果它不选择一个复选框
tell application "System Events"
tell process "World Conqueror"
click checkbox "Sell wives as slaves" of sheet 1 of window 1
end tell
end tell
这有问题。如果售卖妻子的复选框已经勾选,您实际上不勾选该框,您将不得不永远与妻子同住。你如何“只在未勾选时勾选复选框”?