Je reconnais que Google Chrome & Chromium n'est pas encore très activé pour AppleScript. Mais, je me demandais s'il y avait un moyen d'utiliser les "événements système" pour cacher une fenêtre ou un onglet particulier?Masquage d'une fenêtre Chromium via AppleScript
Voici ce que j'ai jusqu'à présent ...
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
end tell
Je peux accéder à la fenêtre, je veux cacher, mais ne trouve pas la commande pour cacher réellement.
En outre, s'il y a un moyen de répéter à travers les onglets dans la fenêtre, ce serait encore mieux.
Merci