Path: ...!weretis.net!feeder6.news.weretis.net!feeder8.news.weretis.net!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail From: "M.V." Newsgroups: fr.comp.os.mac-os.x,fr.comp.sys.mac.programmation Subject: AppleScript me prend le chou Followup-To: fr.comp.sys.mac.programmation Date: Wed, 24 Nov 2021 17:10:56 -0000 (UTC) Organization: M.V. & Co Lines: 33 Archive: no Message-ID: Reply-To: michel.vauquois@gmail.com Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Wed, 24 Nov 2021 17:10:56 -0000 (UTC) Injection-Info: reader02.eternal-september.org; posting-host="0224198961e014652a03eca48779a285"; logging-data="2599"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18a39m2hi2wMbfv3Ae5ipMmeYQS0xXBGAg=" User-Agent: MacCafe/2.07b1 (macOS 10.14.6 (18G9323) - MacBookAir7,2) Cancel-Lock: sha1:0l6ak4BIegPHQ/AAB2XdUDA4O94= sha256:VIz+Ln8kpR5XFgN8PMKkyx31lXt7zWcG+bFbHwB2iGw= sha1:vKdy8TWPJd8S86K1XHUFSsetwlI= X-No-Archive: yes X-Face: 0f|`H5*Our0P$s'uj0)fS=&`R#U+JYple<6GW!O'TO4sB4,Q9"tHNQo]\7p\,,nCZ_saH4~Ie 'gYktutVOXK})aU*/@meZ_y=ixi8qwcJ,ssAk~G4Rr?qr60d_euHkHHJ_;EHES_(IExNo h6 URL-perso: http://michelvauquois.fr Mail-Copies-To: never Bytes: 2590 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 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 ? Merci d'avance. X-post et fu2 fr.comp.sys.mac.programmation -- Michel VAUQUOIS -