Deutsch   English   Français   Italiano  
<1pn1xjs.5ngoxm105qdy8N%josephb@nowhere.invalid>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!weretis.net!feeder8.news.weretis.net!news.imp.ch!news.alphanet.ch!alphanet.ch!.POSTED.aannecy-652-1-11-48.w86-209.abo.wanadoo.fr!josephb
From: josephb@nowhere.invalid (Joseph-B)
Newsgroups: fr.comp.sys.mac.programmation
Subject: Re: =?ISO-8859-1?Q?=5BAS=5D=A0fichier_copi=E9_au_lieu_d=27=EAtre?=
 =?ISO-8859-1?Q?_d=E9plac=E9?= (?)
Date: Tue, 8 Feb 2022 10:20:20 +0100
Organization: Aucune
Sender: joseph25b@aannecy-652-1-11-48.w86-209.abo.wanadoo.fr
Message-ID: <1pn1xjs.5ngoxm105qdy8N%josephb@nowhere.invalid>
References: <j6ehdbFqi7dU1@mid.individual.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Injection-Info: shakotay.alphanet.ch; posting-host="aannecy-652-1-11-48.w86-209.abo.wanadoo.fr:86.209.24.48";
	logging-data="2666"; mail-complaints-to="usenet@alphanet.ch"
User-Agent: MacSOUP/F-2.8.4 (6da4d6e6d0) (Mac OS X version 10.11.6 (x86))
X-NO-ARCHIVE: YES
Bytes: 1928
Lines: 23

Bonjour,

pehache <pehache.7@gmail.com> wrote:

> Question toute bête... Dans un AppleScript je veux déplacer un fichier, 
> mais le fichier est copié plutôt que déplacé :
>  
> Une idée du pourquoi ? Je fais de l'AS une fois tous les deux ans, donc 
> à chaque fois je tâtonne...

Sous El Cap
Je viens de faire un test avec move file de AS et cela s'est bien passé, déplacement et non pas copie.
Si rien ne permet d'expliquer le pb chez toi, plutôt faire un shel lscript qui marche (j'ai testé aussi)
------------
set fichier to <PathToFile>
set destination to <pathToFolder>
do shell script "mv -n " & quoted form of fichier & " " & quoted form of destination
-----------
- n pour ne pas écraser un fichier de même nom, mais lire le man pour toutes les options
les chemins doivent être écrits sous forme posix et non pas hfs, bien sûr


-- 
J. B.