🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: fr.comp.sys.mac.programmation
Article #2

[MacCafé] Fermer toutes les fenêtres en AppleScript

#2
From: M.V.
Date: Tue, 13 Oct 2026 14:20
20 lines
2301 bytes
Hello,

Je pensais que :
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
tell application "MacCafé" to activate

tell application "System Events"
  tell application process "MacCafé"
    key down option
    click button 1 of window 1
    key up option
  end tell
end tell
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
allait fermer toutes les fenêtres (sauf la fenêtre Profil) mais ça ne
ferme que celle en avant-plan. 😫

-- 
🇺🇦 Michel Vauquois - <http://michelvauquois.fr> 🇺🇦
Technical Details
Message-ID: <11alend$2as$1@rasp.pasdenom.info>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!feeder.erje.net!proxad.net!feeder1-2.proxad.net!usenet-fr.net!pasdenom.info!.POSTED.lfbn-poi-1-966-175.w86-254.abo.wanadoo.fr!not-for-mail

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!feeder.erje.net!proxad.net!feeder1-2.proxad.net!usenet-fr.net!pasdenom.info!.POSTED.lfbn-poi-1-966-175.w86-254.abo.wanadoo.fr!not-for-mail
From: "M.V." <mv@gmail.com.invalid>
Newsgroups: fr.comp.sys.mac.programmation
Subject: [MacCafé] Fermer toutes les fenêtres en AppleScript
Date: Tue, 13 Oct 2026 14:20:29 -0000 (UTC)
Organization: M.V. & Co
Archive: no
Message-ID: <11alend$2as$1@rasp.pasdenom.info>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 13 Oct 2026 14:20:29 -0000 (UTC)
Injection-Info: rasp.pasdenom.info; posting-account="michel.vauquois@usenet"; posting-host="lfbn-poi-1-966-175.w86-254.abo.wanadoo.fr:86.254.46.175";
	logging-data="2396"; mail-complaints-to="abuse@pasdenom.info"
User-Agent: MacCafe/3.06(4D18) ("arusha") (macOS 26.7.1 (25G241) - Mac17,3)
Cancel-Lock: sha1:p7gei2VRAjbnRiY0R2Ep70MwABk= sha256:wvZGonIiPR+5X3Az2G1cgrwgK7ZUQfN9sA24kCZmAHo=
	sha1:nGdE/1uDMQ4EWqxSvyI3gzUKx9U= sha256:zUn2MsJmdqoUTEZvD3HpERMPzXnGBxrLUN+m2feKhqs=
	sha1:aeXQKuhPqvsePKgficaw+uuXQG8= sha256:LZhbalzi9zMtLNxzD/C8kpYMtGJ7e626cuhFTN77Zcg=
URL-perso: http://michelvauquois.fr
Mail-Copies-To: nobody
X-Face: 0f|`H5*Our0P$s'uj0)fS=&`R#U+JYpl<W.~uGMH[S}%Yo{$(f$0`!02mu$5b`f7Hp6:EiW
 c`zw`Y^GQAA=_IIV`NIXW4&YpH]>e<6GW!O'TO4sB4,Q9"tHNQo]\7p\,,nCZ_saH4~Ie
 'gYktutVOXK})aU*/@meZ_y=ixi8qwcJ,ssAk~G4Rr?qr60d_euHkHHJ_;EHES_(IExNo
 h6
X-No-Archive: yes
X-Address: michel.vauquois@gmail.com