Re: Afficher le fichier sous Finder en Apple Script ?

Liste des GroupesRevenir à fcsm programmation 
Sujet : Re: Afficher le fichier sous Finder en Apple Script ?
De : kurtzlepirate (at) *nospam* free.fr (kurtz le pirate)
Groupes : fr.comp.sys.mac.programmation
Date : 05. Sep 2021, 18:30:04
Autres entêtes
Organisation : Compagnie de la Banquise
Message-ID : <6134f08c$0$3721$426a74cc@news.free.fr>
References : 1 2 3 4 5 6 7 8 9
User-Agent : Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:78.0) Gecko/20100101 Thunderbird/78.13.0
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 : <home folder>
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

Date Sujet#  Auteur
3 Sep 21 * Afficher le fichier sous Finder en Apple Script ?19Souris 8-)
4 Sep 21 `* Re: Afficher le fichier sous Finder en Apple Script ?18Joseph-B
4 Sep 21  +- Re: Afficher le fichier sous Finder en Apple Script ?1Souris 8-)
4 Sep 21  +* Re: Afficher le fichier sous Finder en Apple Script ?2Souris 8-)
4 Sep 21  i`- Re: Afficher le fichier sous Finder en Apple Script ?1Souris 8-)
4 Sep 21  +* Re: Afficher le fichier sous Finder en Apple Script ?12Souris 8-)
4 Sep 21  i`* Re: Afficher le fichier sous Finder en Apple Script ?11Joseph-B
4 Sep 21  i `* Re: Afficher le fichier sous Finder en Apple Script ?10Souris 8-)
5 Sep 21  i  `* Re: Afficher le fichier sous Finder en Apple Script ?9Joseph-B
5 Sep 21  i   `* Re: Afficher le fichier sous Finder en Apple Script ?8Souris 8-)
5 Sep 21  i    `* Re: Afficher le fichier sous Finder en Apple Script ?7Joseph-B
5 Sep 21  i     `* Re: Afficher le fichier sous Finder en Apple Script ?6Souris 8-)
5 Sep 21  i      +- Re: Afficher le fichier sous Finder en Apple Script ?1Souris 8-)
5 Sep 21  i      +* Re: Afficher le fichier sous Finder en Apple Script ?2kurtz le pirate
5 Sep 21  i      i`- Re: Afficher le fichier sous Finder en Apple Script ?1Souris 8-)
5 Sep 21  i      `* Re: Afficher le fichier sous Finder en Apple Script ?2Joseph-B
5 Sep 21  i       `- Re: Afficher le fichier sous Finder en Apple Script ?1Souris 8-)
4 Sep 21  `* Re: Afficher le fichier sous Finder en Apple Script ?2M.V.
4 Sep 21   `- Re: Afficher le fichier sous Finder en Apple Script ?1Joseph-B

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal