我需要使用applescript执行以下操作。
我尝试使用以下代码:
tell application "Safari" to activate
tell application "System Events"
click menu item "Clear History and Website Data…" of menu "Safari" of menu bar item "Safari" of menu bar 1 of application process "Safari"
delay 1
click button "Clear History" of pop up "Safari"
quit
end tell
答案 0 :(得分:0)
notin4(X,L):- not(set_equal([_,_,_,X],L).