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


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

Re: AppleScript me prend le chou

Path csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From pehache <pehache.7@gmail.com>
Newsgroups fr.comp.sys.mac.programmation
Subject Re: AppleScript me prend le chou
Date Wed, 24 Nov 2021 23:39:29 +0100
Lines 35
Message-ID <j07t91Fa4d3U1@mid.individual.net> (permalink)
References <snlrn0$2h7$1@dont-email.me>
Mime-Version 1.0
Content-Type text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding 8bit
X-Trace individual.net uNK3K1zitO3ZPlTsp+9Gog+Q9PNvwH/TdTxVgHnJ/ApWYm0f5P
Cancel-Lock sha1:askPmYW9b/5huA0FEIyS/6WjVl4=
User-Agent Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:78.0) Gecko/20100101 Thunderbird/78.10.1
In-Reply-To <snlrn0$2h7$1@dont-email.me>
Content-Language fr
Xref csiph.com fr.comp.sys.mac.programmation:2059

Show key headers only | View raw


Le 24/11/2021 à 18:10, M.V. a écrit :
> Hello,
> 
> Si j'utilise AppleScript, la commande :
> 
> do shell script "echo -n VW5lIGZhbWlsbGUgZMOpY2ltw6llIHBhciBsYSBDb3ZpZC0xOSDD | base64 -D | od -t x1 -An"
> 
> me donne comme résultat :
>       fa  75  56  e6  52  06  66  16  d6  96  c6  c6  52  06  4c  3a
>       96  36  96  dc  3a  96  52  07  06  17  22  06  c6  12  04  36
>       f7  66  96  42  d3  13  92
> 
> mais si je tape directement dans Terminal :
> 
> echo -n VW5lIGZhbWlsbGUgZMOpY2ltw6llIHBhciBsYSBDb3ZpZC0xOSDD | base64 -D | od -t x1 -An
> 
> j'obtiens :
>       55  6e  65  20  66  61  6d  69  6c  6c  65  20  64  c3  a9  63
>       69  6d  c3  a9  65  20  70  61  72  20  6c  61  20  43  6f  76
>       69  64  2d  31  39  20  c3
> 
> D'après <https://base64.guru/converter/decode/hex> référencé par
> Olivier Miakinen (donc fiable), c'est le résultat de Terminal qui
> est correct.
> 
> Est-ce que quelqu'un pourrait m'expliquer pourquoi AS ne me donne pas
> le bon résultat ?
> 

J'ai bien une idée mais vu que tu m'as plonké, tant pis :)


-- 
"...sois ouvert aux idées des autres pour peu qu'elles aillent dans le
même sens que les tiennes.", ST sur fr.bio.medecine

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