Re: Found a chimera
Re: Found a chimera
- Subject: Re: Found a chimera
- From: Steve Mills <email@hidden>
- Date: Tue, 15 Sep 2015 20:12:45 +0000 (GMT)
On Sep 15, 2015, at 03:00 PM, Yvan KOENIG <email@hidden> wrote:
set original to "SSD 500:Users:<theAccount>:Desktop:ligne droite.jpeg" as alias
set destination to "Macintosh HD:Users:<theAccount>:Documents:tempo:" as alias
tell application "System Events"
moveoriginaltodestination
end tell
original
The file was correctly moved but what a surprise when I saw what was written in the event log :
--> alias "/Users/<theAccount>/Desktop/ligne droite.jpeg"
As you know, I am curious. So I brought the file back in its original location and ran :
tellapplication "System Events"
exists alias "/Users/<theAccount>/Desktop/ligne droite.jpeg"
end tell
Second surprise, it returned true.
Is this surprising object described somewhere ?
At first I suspected that "move" really did a "copy" when it goes across volumes, but that's not the case. I have no attached external drives, only a mounted server. When I move from the server to my local drive, the original file takes a while before it disappears, so yes, it still exists as far as the local file manager is concerned (or something like that).
Sent from iCloud's ghastly UI, so, sorry about the formatting
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden