🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Re:

#5
From: Joseph B
Date: Tue, 13 Oct 2026 17:56
38 lines
2660 bytes
M.V., le mardi 13 octobre 2026, a écrit dans
message <11aloal$jo1$1@rasp.pasdenom.info> :

> Tu as testé en ouvrant la fenêtre des préférences ?

Non, je n'avais pas testé ce cas très litigieux, honte à moi 😱 

cela dit, j'ai mon script courant qui ferme aussi toutes les autres
(sauf la Base) quand la fenêtre des Préférences est ouverte au premier
plan. 
Mais le script opère différemment, et d'ailleurs si une fenêtre de
rédaction d'article est ouverte, un message le signalant et demandant
quoi faire s'affiche, ce qui est le comportement normal.

Donc mon bout de code "pour le fun" est à oublier 

> Hormis la fenêtre "Base:******", y a-t-il une fenêtre qui a un nom ?

J'en ai été le premier surpris : il arrive que la fenêtre de groupe
ouverte en premier au lancement de MacCafé à "un nom" !
Ensuite y a plus de nom pour toutes les fenêtres qui suivront  ;-)

##########
tell application "System Events"
count every window of application process "MacCafé"
--> 3
get name of every window of application process "MacCafé"
--> {"  ", "Base : MacCafé", ""}
end tell
#########
 ce nom est composé de deux caractères espace !


-- 

-- 
🥳/ josephB \🦶
Technical Details
Message-ID: <11alrcj$p7or$1@dont-email.me>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
References: <11alend$2as$1@rasp.pasdenom.info> <11alkeq$m9r3$1@dont-email.me> <11aloal$jo1$1@rasp.pasdenom.info>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
From: Joseph B <joseph@nowhere.invalid>
Newsgroups: fr.comp.sys.mac.programmation
Subject: Re: Re:
Date: Tue, 13 Oct 2026 17:56:35 -0000 (UTC)
Organization: Bof…
Lines: 38
Message-ID: <11alrcj$p7or$1@dont-email.me>
References: <11alend$2as$1@rasp.pasdenom.info> <11alkeq$m9r3$1@dont-email.me>
 <11aloal$jo1$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 17:56:36 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="827163"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1+OfE5fnToT6qfTP1q1/lDwi0w7w63VBBM="; posting-host="991e0ad882ca66cf007adeb8a5adf8de"
User-Agent: MacCafe/3.06(4D18) ("arusha") (macOS 26.7.1 (25G241) - Mac14,3)
Cancel-Lock: sha1:NedRVTPC+PzRkhrXkF12XyUfOyc= sha256:pHhpXr4py5cg44FihALNXYE2qL7C0HvucVvngROSTwU=
	sha1:Z5p9+NlSDSeacmbZSB37J2HHdS0= sha256:7CUABwK6kJ4DB0GbOLCR6xbZxIoTd09pxOnps0HvGo4=
	sha1:NMYJB4paLiR1dvHud8Re6KVF/vQ= sha256:j9sjim6bkYqZ9iGkngeT0ndnpanua/YSyh1MDuBlu4s=
X-No-Archive: yes
In-Reply-To: <11aloal$jo1$1@rasp.pasdenom.info>