0
我認識到Google Chrome & Chromium尚未啓用AppleScript。但是,我想知道是否有辦法使用「系統事件」來隱藏特定的窗口或標籤?通過AppleScript隱藏鉻窗口
這裏是我迄今爲止...
tell application "System Events"
tell process "Google Chrome"
repeat with theWindow in windows
set thePageName to title of theWindow
if thePageName contains "ABC" then
-- HIDE theWindow command here
end if
end repeat
end tell
末告訴
我可以訪問我想隱藏卻找不到命令實際上隱藏的窗口。
此外,如果有一種方法可以通過窗口中的選項卡重複,那會更好。
謝謝