Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > fr.comp.sys.mac.programmation > #2422

[AS]Comment éjecter un APFS

From Brice <truc@bidule.fr.invalid>
Newsgroups fr.comp.sys.mac.programmation
Subject [AS]Comment éjecter un APFS
Date 2023-02-11 16:35 +0000
Organization A noiseless patient Spider
Message-ID <ts8g4k$1f537$1@dont-email.me> (permalink)

Show all headers | View raw


Salutatous,

En AppleScript, je n'ai pas de problème pour éjecter un disque en HFS.
_____________
set disk_01 to "Sto-500Go"

tell application "Finder"
  activate
  eject disk disk_01
end tell
_____________
Par contre pour APFS, il y a un dialogue avec “tout éjecter“,
malheureusement ce n'est pas accessible par <Return>, il faut cliquer
sur le bouton.
Comment pourrais-je faire pour éjecter le tout ?
J'ai fait : 
____________
--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
_______________
En application ça marche/marche pas, c'est au bonheur la chance

Pourquoi je veux les éjecter (5 partitions sur 4 disques), c'est que le
matin, je veux les éteindre sans ré-activer l'ordinateur.

Cordialement,

-- 
B. Graignic
enlever-bgraig@wanadoo.fr

Back to fr.comp.sys.mac.programmation | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[AS]Comment éjecter un APFS Brice <truc@bidule.fr.invalid> - 2023-02-11 16:35 +0000
  Re: [AS]Comment éjecter un APFS "Benoît L." <benoit@leraillez.com.invalid> - 2023-02-11 17:31 +0000
    Re: [AS]Comment éjecter un APFS "M.V." <mv@gmail.com.invalid> - 2023-02-11 17:49 +0000
      Re: [AS]Comment éjecter un APFS "Benoît L." <benoit@leraillez.com.invalid> - 2023-02-11 22:32 +0000
        Re: [AS]Comment éjecter un APFS "M.V." <mv@gmail.com.invalid> - 2023-02-11 22:47 +0000
    Re: [AS]Comment éjecter un APFS "M.V." <mv@gmail.com.invalid> - 2023-02-11 18:07 +0000
  Re: [AS]Comment éjecter un APFS "M.V." <mv@gmail.com.invalid> - 2023-02-11 18:02 +0000
    Re: [AS]Comment éjecter un APFS Brice <truc@bidule.fr.invalid> - 2023-02-11 19:37 +0000
      Re: [AS]Comment éjecter un APFS "M.V." <mv@gmail.com.invalid> - 2023-02-11 21:57 +0000
        Re: [AS]Comment éjecter un APFS "M.V." <mv@gmail.com.invalid> - 2023-02-11 22:31 +0000
        Re: [AS]Comment éjecter un APFS Brice <truc@bidule.fr.invalid> - 2023-02-12 10:52 +0000
          Re: [AS]Comment éjecter un APFS "M.V." <mv@gmail.com.invalid> - 2023-02-12 11:29 +0000
            Re: [AS]Comment éjecter un APFS Brice <truc@bidule.fr.invalid> - 2023-02-12 13:59 +0000
              Re: [AS]Comment éjecter un APFS "M.V." <mv@gmail.invalid> - 2023-02-12 14:44 +0000
  Re: [AS]Comment éjecter un APFS "M.V." <mv@gmail.com.invalid> - 2023-02-11 22:25 +0000
  Re: [AS]Comment éjecter un APFS "M.V." <mv@gmail.com.invalid> - 2023-02-12 10:10 +0000

csiph-web