Deutsch English Français Italiano |
<ts8qp6$1gapd$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail From: Brice <truc@bidule.fr.invalid> Newsgroups: fr.comp.sys.mac.programmation Subject: Re: =?UTF-8?B?W0FTXUNvbW1lbnQgw6lqZWN0ZXIgdW4gQVBGUw==?= Date: Sat, 11 Feb 2023 19:37:10 -0000 (UTC) Organization: A noiseless patient Spider Lines: 39 Archive: no Message-ID: <ts8qp6$1gapd$1@dont-email.me> References: <ts8g4k$1f537$1@dont-email.me> <ts8l75$1fnnc$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, 11 Feb 2023 19:37:10 -0000 (UTC) Injection-Info: reader01.eternal-september.org; posting-host="3d0ccac6990abd700507af92c197aaea"; logging-data="1583917"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+m8NaG5ezXniARiTvGAGID" User-Agent: MacCafe/2.10 (4D18)/peaberry (Mac OS X 10.15.7 (19H2026) - iMac17,1) Cancel-Lock: sha1:3IOLTJZV+/9dmIaTL9sBE9aqD64= sha256:aeMInFIcogaCXnhqp6QEwGo7+bUHEW2KJk0cL0iEGgE= sha1:DbdJs2bIv0U7KJQuC1iIF2shwEY= 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$ In-Reply-To: <ts8l75$1fnnc$1@dont-email.me> X-No-Archive: yes Bytes: 2546 le 11 février 2023 à 19:02, M.V. a raconté : > Dans le message <ts8g4k$1f537$1@dont-email.me>, Brice a écrit le 11 > février 2023 à 17 h 35 : > >> --Ejection disques Clone Catalina et autres >> set disk_01 to "Sto-500Go" >> set disk_02 to "Clone Catalina" >> set disk_02a to "Clone Catalina - Données" >> >> tell application "Finder" >> activate >> eject disk disk_01 >> eject disk disk_02 >> eject disk disk_02a >> end tell > > Remplace tout ça par : > > tell application "Finder" > eject {"Sto-500Go", "Clone Catalina", "Clone Catalina - Données"} > end tell > J'ai copié-collé, si à partir d'AppleScript (.app) ça marche, quand je lance à partir du Finder, j'ai droit à une alerte pour savoir si ce sont les 2 éléments qu'il faut éjecter. Curieux car là il fait la demande tant pour Clone Catalina que pour Clone Catalina - Données. A la fin j'ai : “impossible d'achever l'opération. Ereur dans le Finder : impossible d'achever l'opération. (-8058) Question subsidiaire : eject et unmount donnent-ils le même résultat pour pouvoir éteindre les disques ? -- B. Graignic enlever-bgraig@wanadoo.fr