Path: ...!3.eu.feeder.erje.net!feeder.erje.net!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!cleanfeed3-b.proxad.net!nnrp1-1.free.fr!not-for-mail Subject: Re: Afficher le fichier sous Finder en Apple Script ? Newsgroups: fr.comp.sys.mac.programmation References: <1pezm7l.3c2nkf1g84f3yN%josephb@nowhere.invalid> <1pezz65.132zusf16yybi8N%josephb@nowhere.invalid> <1pf0cp5.1l4vnh89qcnkdN%josephb@nowhere.invalid> <1pf1d13.195je95dspa6yN%josephb@nowhere.invalid> From: kurtz le pirate Organization: Compagnie de la Banquise Date: Sun, 5 Sep 2021 18:30:04 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Lines: 23 Message-ID: <6134f08c$0$3721$426a74cc@news.free.fr> NNTP-Posting-Date: 05 Sep 2021 18:30:04 CEST NNTP-Posting-Host: 86.196.208.39 X-Trace: 1630859404 news-2.free.fr 3721 86.196.208.39:49951 X-Complaints-To: abuse@proxad.net Bytes: 1917 On 05/09/2021 14:39, Souris 8-) wrote: > mais comment mettre le nom du disque dans cette variable NomDisque ? Si tu travail dans ton "home directory" tu as une variable système faite pour ça : Par exemple : set applescript_path to path to home folder set posix_path to POSIX path of applescript_path display dialog (">> applescript path : " & (applescript_path as text) & "/n>> posix path : " & (posix_path as text)) affiche un dialogue avec le chemin du home directory aux deux formats. -- kurtz le pirate compagnie de la banquise