• 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
Move File
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Move File


  • Subject: Move File
  • From: "Ruby Madraswala" <email@hidden>
  • Date: Fri, 6 Jun 2003 12:27:09 -0400
  • Thread-topic: "idle" has different effect in X vs 9?

I am having problem with simple move command. If a file exists in infolder:

This does not work (will not move the file)
Tell application "Finder"
Move file efile to folder infolder with replacing
End tell


This works (will move the file)
Tell application "Finder"
If efile exists then
Delete file (infolder & efile)
End if
Move file efile to folder infolder with replacing
End tell

Any reason Why? (OS 9.2).

Thanks
Ruby
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: If exists logic
  • Next by Date: Re: Do Perl Script?
  • Previous by thread: Re: If exists logic
  • Next by thread: Re: Move File
  • Index(es):
    • Date
    • Thread