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
這有問題。如果售賣妻子的複選框已經勾選,您實際上不勾選該框,您將不得不永遠與妻子同住。你如何「只在未勾選時勾選複選框」?