• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: duplicating files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: duplicating files


  • Subject: Re: duplicating files
  • From: steve <email@hidden>
  • Date: Tue, 09 Jan 2001 13:32:46 -0800

The "with replacing" should negate the need for the dialog.

Are you sure you have the replacing compiled and you are STILL getting the
dialog?
--
Steve Kump
New Media Development
BC Newsgroup
34375 Cyril Street
Abbotsford, BC
Canada
V2S 2H5
(604)870-4520
email@hidden
> From: Phi Sanders <email@hidden>
> Date: Tue, 9 Jan 2001 13:17:18 -0800
> To: Stephen Gross <email@hidden>, AS Users
> <email@hidden>
> Subject: Re: duplicating files
>
> Hmmm,
>
> I don't get a dialog with my script using equivalent syntax,
> so maybe it's a setting somewhere... ?
>
> ~Phi
> --
> Phi Sanders
> "Phee, Phi, Pho, Phum..."
>
> "And now, back to your regularly scheduled reality."
>
> On 1/9/01, Stephen Gross {email@hidden} said the following :
>
>> I would like to know how to deal with overwrite errors. Here's my code:
>>
>> =====
>> tell application "Finder"
>> duplicate file1 to location2 with replacing
>> end tell
>> =====
>>
>> The problem is that if it does indeed need to replace an existing file,
>> I get a dialog box popping up asking for the confirmation. Is there a
>> way I can avoid this?
>>
>> Thanks,
>> --SGross
>> _______________________________________________
>> applescript-users mailing list
>> email@hidden
>> http://www.lists.apple.com/mailman/listinfo/applescript-users
> _______________________________________________
> applescript-users mailing list
> email@hidden
> http://www.lists.apple.com/mailman/listinfo/applescript-users


References: 
 >Re: duplicating files (From: Phi Sanders <email@hidden>)

  • Prev by Date: Re: duplicating files
  • Next by Date: AppleScript 1.5.5
  • Previous by thread: Re: duplicating files
  • Next by thread: Re: duplicating files
  • Index(es):
    • Date
    • Thread