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


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

Re: AppleScript me prend le chou

From "M.V." <mv@gmail.com.invalid>
Newsgroups fr.comp.sys.mac.programmation
Subject Re: AppleScript me prend le chou
Date 2021-11-26 11:44 +0000
Organization M.V. & Co
Message-ID <snqhat$2et$1@dont-email.me> (permalink)
References <snlrn0$2h7$1@dont-email.me> <1pj9086.5zbm84qo5f6kN%josephb@nowhere.invalid>

Show all headers | View raw


Le 26 novembre 2021 à 11 h 22, Joseph-B a tenu les propos suivants :

> Supprimer le -n, dans le Terminal mais surtout dans la commande
> Applescript retourne la bonne valeur.

En effet et tu confirmes ce qu'avait écrit Fleuger.
Je m'aperçois de plus que plein de petits trucs qui fonctionnent
directement dans Terminal ne fonctionnent pas via AS : j'ai déjà signalé
la commande avec echo -e et je viens de voir que dans Terminal :
ps -o comm= $$
donne bien le shell utilisé alors que dans AS :
do shell script "ps -o comm= $$" 
répond…
ps
!!!
C'est 
do shell script "ps -o comm= "
qui répond correctement.

Merci.
-- 
Michel VAUQUOIS - <http://michelvauquois.fr>

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


Thread

AppleScript me prend le chou "M.V." <mv@gmail.com.invalid> - 2021-11-24 17:10 +0000
  Re: AppleScript me prend le chou pehache <pehache.7@gmail.com> - 2021-11-24 23:39 +0100
    Re: AppleScript me prend le chou Fleuger <g4fleurot@free.fr.invalid> - 2021-11-25 08:26 +0000
    Re: AppleScript me prend le chou DV <dv@reply-to.not.invalid> - 2021-11-25 09:15 +0000
  Re: AppleScript me prend le chou Fleuger <g4fleurot@free.fr.invalid> - 2021-11-25 08:21 +0000
    Re: AppleScript me prend le chou "M.V." <mv@gmail.com.invalid> - 2021-11-25 08:50 +0000
      Re: AppleScript me prend le chou Fleuger <g4fleurot@free.fr.invalid> - 2021-11-25 10:34 +0000
        Re: AppleScript me prend le chou "M.V." <mv@gmail.com.invalid> - 2021-11-25 10:57 +0000
    Re: AppleScript me prend le chou "M.V." <mv@gmail.com.invalid> - 2021-11-25 13:52 +0000
      Re: AppleScript me prend le chou Fleuger <g4fleurot@free.fr.invalid> - 2021-11-25 16:17 +0000
        Re: AppleScript me prend le chou "M.V." <mv@gmail.com.invalid> - 2021-11-25 16:26 +0000
    Re: AppleScript me prend le chou pehache <pehache.7@gmail.com> - 2021-11-26 08:34 +0100
      Re: AppleScript me prend le chou Fleuger <g4fleurot@free.fr.invalid> - 2021-11-26 12:57 +0000
        Re: AppleScript me prend le chou "M.V." <mv@gmail.com.invalid> - 2021-11-26 14:11 +0000
          Re: AppleScript me prend le chou Fleuger <g4fleurot@free.fr.invalid> - 2021-11-26 14:26 +0000
  Re: AppleScript me prend le chou josephb@nowhere.invalid (Joseph-B) - 2021-11-26 11:22 +0100
    Re: AppleScript me prend le chou "M.V." <mv@gmail.com.invalid> - 2021-11-26 11:44 +0000
  Re: AppleScript me prend le chou Olivier Miakinen <om+news@miakinen.net> - 2021-11-27 17:06 +0100
    Re: AppleScript me prend le chou Olivier Miakinen <om+news@miakinen.net> - 2021-11-27 17:10 +0100
      Re: AppleScript me prend le chou Olivier Miakinen <om+news@miakinen.net> - 2021-12-01 22:10 +0100

csiph-web