Sujet : Re: [Help] script shell, marche plus
De : truc (at) *nospam* bidule.fr.invalid (Brice)
Groupes : fr.comp.sys.mac.programmationDate : 03. Dec 2024, 12:09:03
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vimose$161f$1@dont-email.me>
References : 1 2 3 4 5 6
User-Agent : MacCafe/3.03.1(4D18) ("blue mountain") (macOS 15.1.1 (24B91) - Mac14,12)
le dimanche 1 décembre 2024 à 20:34, M.V. a raconté :
Good evening,
>
In message <viic49$2nooe$1@dont-email.me>, on Sunday, 1 December 2024 at
20:06, Brice wrote:
>
J'ai écrit :
___________________
tell application "DIM"
run
end tell
____________________
mais ça ne marche pas, il tiquait sur “
>
???
Quel était exactement le message d'erreur ?
>
===========
chmod: /Library/Application: No such file or directory
chmod: Support/com.bombich.ccc/Scripts/Ejection_Shell-Mini03b.sh: No
such file or directory
===========
>
Je ne vois pas comment tu peux avoir un tel message avec ce que tu as
écrit ci-dessus. Quel rapport entre DIM et chmod ? DIM c'est bien
l'appli Desktop Icon Manager de G.J. Parker ?
pas grand chose, mais comme je testais l'éjection, pour remettre les
disques sur le Bureau, j'ai ajouté, dans un AppleScript qui monte les
disques, DIM (Desktop Icone Manager) pour les ranger comme j'aime.
A chaque redémarrage, ou au montage des disques, les icônes se mettent
n'importe comme avec Sonoma.
>
tell application "Applications/DIM.app" to activate
end tell
>
Non ! Pas de end tell avec ce que j'ai écrit !
Ici, il faut end tell :
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
tell application "Applications/DIM.app"
activate
end tell
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
mais là, non, pas de end tell :
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
tell application "Applications/DIM.app" to activate
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
>
N.B. Dans AppleScript, c'est bien les " qu'il faut utiliser alors que
dans Terminal, ça n'a pas d'importance.
Merci pour ces infos
Cordialement,
-- B. Graignicenlever-bgraig@wanadoo.fr
Date | Sujet | # | | Auteur |
30 Nov 24 | [Help] script shell, marche plus | 47 | | Brice |
30 Nov 24 |  Re: [Help] script shell, marche plus | 1 | | M.V. |
30 Nov 24 |  Re: [Help] script shell, marche plus | 2 | | M.V. |
30 Nov 24 |   Re: [Help] script shell, marche plus | 1 | | Brice |
1 Dec 24 |  Re: [Help] script shell, marche plus | 43 | | M.V. |
1 Dec 24 |   Re: [Help] script shell, marche plus | 42 | | Brice |
1 Dec 24 |    Re: [Help] script shell, marche plus | 41 | | M.V. |
1 Dec 24 |     Re: [Help] script shell, marche plus | 40 | | Brice |
1 Dec 24 |      Re: [Help] script shell, marche plus | 39 | | M.V. |
3 Dec 24 |       Re: [Help] script shell, marche plus | 38 | | Brice |
3 Dec 24 |        Re: [Help] script shell, marche plus | 37 | | M.V. |
4 Dec 24 |         Re: [Help] script shell, marche plus | 36 | | Brice |
4 Dec 24 |          Re: [Help] script shell, marche plus | 35 | | M.V. |
5 Dec 24 |           Re: [Help] script shell, marche plus | 1 | | Brice |
6 Dec 24 |           Re: [Help] script shell, marche plus | 33 | | M.V. |
12 Dec 24 |            Re: [Help] script shell, marche plus | 32 | | Brice |
12 Dec 24 |             Re: [Help] script shell, marche plus | 31 | | M.V. |
13 Dec 24 |              Re: [Help] script shell, marche plus | 30 | | Brice |
13 Dec 24 |               Re: [Help] script shell, marche plus | 29 | | M.V. |
14 Dec 24 |                Re: [Help] script shell, marche plus | 28 | | Brice |
15 Dec 24 |                 Re: [Help] script shell, marche plus | 27 | | M.V. |
16 Dec 24 |                  Re: [Help] script shell, marche plus | 26 | | Brice |
16 Dec 24 |                   Re: [Help] script shell, marche plus | 5 | | M.V. |
16 Dec 24 |                    Re: [Help] script shell, marche plus | 4 | | Brice |
16 Dec 24 |                     Re: [Help] script shell, marche plus | 1 | | M.V. |
17 Dec 24 |                     Re: [Help] script shell, marche plus | 2 | | M.V. |
18 Dec 24 |                      Re: [Help] script shell, marche plus | 1 | | Brice |
16 Dec 24 |                   Re: [Help] script shell, marche plus | 20 | | M.V. |
18 Dec 24 |                    Re: [Help] script shell, marche plus | 19 | | Brice |
19 Dec 24 |                     Re: [Help] script shell, marche plus | 18 | | M.V. |
19 Dec 24 |                      Re: [Help] script shell, marche plus | 17 | | Brice |
19 Dec 24 |                       Re: [Help] script shell, marche plus | 16 | | M.V. |
20 Dec 24 |                        Re: [Help] script shell, marche plus | 15 | | Brice |
20 Dec 24 |                         Re: [Help] script shell, marche plus | 14 | | M.V. |
20 Dec 24 |                          Re: [Help] script shell, marche plus | 13 | | Brice |
20 Dec 24 |                           Re: [Help] script shell, marche plus | 12 | | M.V. |
20 Dec 24 |                            Re: [Help] script shell, marche plus | 4 | | kurtz le pirate |
20 Dec 24 |                             Re: [Help] script shell, marche plus | 3 | | M.V. |
21 Dec 24 |                              Re: [Help] script shell, marche plus | 2 | | Brice |
21 Dec 24 |                               Re: [Help] script shell, marche plus | 1 | | M.V. |
21 Dec 24 |                            Re: [Help] script shell, marche plus | 7 | | Brice |
21 Dec 24 |                             Re: [Help] script shell, marche plus | 5 | | M.V. |
21 Dec 24 |                              Re: [Help] script shell, marche plus | 1 | | M.V. |
21 Dec 24 |                              Re: [Help] script shell, marche plus | 1 | | M.V. |
21 Dec 24 |                              Re: [Help] script shell, marche plus | 2 | | M.V. |
22 Dec 24 |                               Re: [Help] script shell, marche plus | 1 | | Brice |
21 Dec 24 |                             Re: [Help] script shell, marche plus | 1 | | M.V. |