🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Problem de montage NAS avec AS

#37
From: Brice
Date: Sat, 21 Nov 2026 10:37
35 lines
2397 bytes
Salutatous,

j'ai un script AS qui monte un NAS sans aucun problème, ni alerte.
J'ai fait un autre avec les infos qui vont bien pour un autre NAS, mais
systématiquement, il me demande un accord.
==============
tell application "Finder"
  --montage du DS925
  
  set NasMounted to false
  try
    # Syntaxe proposée par Apple pour traiter ce cas de figure 
    tell me to mount volume "smb://DS925/Module925" as user name
"Perso925" with password "xxxxxxxxx" -- monte le Nas
    
    delay 10
    tell application "System Events" 
      keystroke return       -- pour essayer de valider
    end tell
  end try
end tell
=============
L'alerte est 
https://pic.infini.fr/Rz4vTZMP/hI3oFj0t.png

Quand je veux monter ce NAS à partir du Finder <CMD><k>, il faut que
j'entre le nom de l'utilisateur référencé et son mot de passe à chaque
fois, et valider après sur l'alerte.

Cordialement,

-- 
B. Graignic
enlever-bgraig@wanadoo.fr
Technical Details
Message-ID: <11drs9q$4k5$1@dont-email.me>
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
From: Brice <truc@bidule.fr.invalid>
Newsgroups: fr.comp.sys.mac.programmation
Subject: Problem de montage NAS avec AS
Date: Sat, 21 Nov 2026 10:37:46 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 35
Archive: no
Message-ID: <11drs9q$4k5$1@dont-email.me>
Reply-To: bgraig@wanadoo.fr
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 21 Nov 2026 10:37:46 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="4741"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX18O63i6l+Ctn9IYseBv62Gd"; posting-host="849a3ac603d29ddbd3b141e492ce5298"
User-Agent: MacCafe/3.06.2(4D18) ("arusha") (macOS 26.7.3 (25G342) - Mac14,12)
Cancel-Lock: sha1:8SL0jEkcRSv2IxVRfJuoHcpWK4Y= sha256:5w1cAi4LUjkPQoaCdY6fwYZnNNIvoha3lRaSfPrb800=
	sha1:rmg6B/eMTcF4Ld/0k8w/EoN9gIk= sha256:NUKgqPRESL7leU49S30+1foP4qz4Bxayg+EK2+cg6UE=
	sha1:W0j6McSXLs58QlTUEuv/9BjqrHk= sha256:EVLwoPV50YxsQDhjaWDaHzhYa15hw54/ZYoA3wYJSac=
X-No-Archive: yes
X-Face: :}ywyZ-%b)Cc*k}3bKB?p$gUzV}e5#AO\tRN\v,6_;8/K3TFt_yh"\4oc8bQk'dG'WnBdOL
 fNzD_5*MM_gX^VL}3~HaA>"~aEIVcJoVA;mz<4u066`=v3%7Q^.JNz.Rb#S!:m+@G|!*u
 Q{v485Tnag<~;'j$