Re: Script to copy Filemaker file to iCloudDrive
Re: Script to copy Filemaker file to iCloudDrive
- Subject: Re: Script to copy Filemaker file to iCloudDrive
- From: Bob Stern via AppleScript-Users <email@hidden>
- Date: Tue, 14 Jan 2020 04:40:34 -0800
> On Jan 13, 2020, at 1:54 PM, Francisco Hirsch wrote:
>
> I want to copy automatically a Filemaker file to iCloud Drive and replace the
> same name file that resides there.
The trick is figuring out the path to iCloud Drive. This script works for me
in Mojave:
set homeF to (path to home folder) as text
set dest to (homeF & "Library:Mobile Documents:com~apple~CloudDocs:") as alias
tell application "Finder" to duplicate source to dest with replacing
Bob
_______________________________________________
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