🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Problem de montage NAS avec AS

#46
From: M.V.
Date: Sat, 21 Nov 2026 18:56
43 lines
3069 bytes
Le samedi 21 novembre 2026 à 19:36, Brice s'est exprimé en ces termes :

> Ce qui est curieux, avec un autre NAS, je n'ai ce problème.

Tu veux dire qu'avec un autre script l'autre NAS monte sans la fenêtre 
d'alerte ? Mais alors à quoi sert cette partie du script :
    tell application "System Events" 
        keystroke return       -- pour essayer de valider
    end tell

Elle est dans le script de l'autre NAS ?

Et de la même façon, ça sert à quoi cette ligne :
    set NasMounted to false

Et si tu sors la partie 
    tell application "System Events" 
        keystroke return       -- pour essayer de valider
    end tell

du bloc 
tell application "Finder"
    ...
end tell

Ça serait genre :
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
tell application "Finder"
  try
    tell me to mount volume "smb://DS925/Module925" as user name "Perso925" with password "xxxxxxxxx"
    delay 10
  on error
    return
  end try
end tell
tell application "System Events"
  keystroke return -- pour essayer de valider
end tell
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=

-- 
🇺🇦 Michel Vauquois - <http://michelvauquois.fr> 🇺🇦
Technical Details
Message-ID: <11dsphj$5jm$1@rasp.pasdenom.info>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!usenet.goja.nl.eu.org!pasdenom.info!.POSTED.lfbn-poi-1-966-175.w86-254.abo.wanadoo.fr!not-for-mail
References: <11drs9q$4k5$1@dont-email.me> <11ds5ov$3cda$1@dont-email.me> <11ds8td$4hfb$1@dont-email.me> <11dsckq$5v94$1@dont-email.me> <11dsfo4$76r8$1@dont-email.me> <11dsj41$8go8$1@dont-email.me> <11dsobr$ailh$2@dont-email.me>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!newsfeed.bofh.team!usenet.goja.nl.eu.org!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: Re: Problem de montage NAS avec AS
Date: Sat, 21 Nov 2026 18:56:51 -0000 (UTC)
Organization: M.V. & Co
Archive: no
Message-ID: <11dsphj$5jm$1@rasp.pasdenom.info>
References: <11drs9q$4k5$1@dont-email.me> <11ds5ov$3cda$1@dont-email.me>
 <11ds8td$4hfb$1@dont-email.me> <11dsckq$5v94$1@dont-email.me>
 <11dsfo4$76r8$1@dont-email.me> <11dsj41$8go8$1@dont-email.me>
 <11dsobr$ailh$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 21 Nov 2026 18:56:51 -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="5750"; mail-complaints-to="abuse@pasdenom.info"
User-Agent: MacCafe/3.06.2(4D18) ("arusha") (macOS 26.7.3 (25G342) - Mac17,3)
Cancel-Lock: sha1:CGm5J0YYcrg3BXAOA6oxwVNIQbw= sha256:b17btPyrKIl4WAHQndffVZn2Tc/n4kl1n+vWKKLM2Wg=
	sha1:Ens1uZ/GfWpOC82nqyNjQyXBDM8= sha256:+yZwZbk+dMnlfC6KOTkAnmq8LaRaljtOyRqbC1X11Bo=
	sha1:G5vKZRYUvzI46TMHWkxKVHLmIVg= sha256:4iQLP7224SwgOlcnkeKkR77Nthims848mEMfYaiJA/0=
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-Address: michel.vauquois@gmail.com
URL-perso: http://michelvauquois.fr
X-No-Archive: yes
In-Reply-To: <11dsobr$ailh$2@dont-email.me>