• 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: Finder inconsistency (Was: What makes AppleScript difficult)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Finder inconsistency (Was: What makes AppleScript difficult)


  • Subject: Re: Finder inconsistency (Was: What makes AppleScript difficult)
  • From: Skeeve <email@hidden>
  • Date: Thu, 06 Dec 2007 23:16:53 +0100

Luther Fuller wrote:
I've run into this too. Adding "with properties" to "duplicate" is a necessity.

A work around, that I haven't tried, would be to: 'duplicate' to the "TemporaryItems" folder;
Which requires that there isn't already a file by that name!

The only way would be:
* Create a temporary folder with some unique name
* Duplicate into this folder
* Move to the destination
* Delete the temporary folder
But wait!

Finder CAN NOT DELETE! (Or am I missing something?) It can move to trash but then it's still there and filling other people's garbage isn't nice.

But emptying the trash isn't nice either.

So the only reliable way ist to use "do shell script". But sometimes I have the feeling that "do shell script" isn't the safest thing to do.

What about defectt paths? What about tools not being where you expect them?
_______________________________________________
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
  • Follow-Ups:
    • Re: Finder inconsistency (Was: What makes AppleScript difficult)
      • From: Michelle Steiner <email@hidden>
    • Re: Finder inconsistency (Was: What makes AppleScript difficult)
      • From: Luther Fuller <email@hidden>
References: 
 >What makes AppleScript difficult (From: Richard Doust <email@hidden>)
 >Finder inconsistency (Was: What makes AppleScript difficult) (From: Skeeve <email@hidden>)
 >Re: Finder inconsistency (Was: What makes AppleScript difficult) (From: Luther Fuller <email@hidden>)

  • Prev by Date: Re: Folder Action script runs on file renaming
  • Next by Date: Re: Folder Action script runs on file renaming
  • Previous by thread: Re: Finder inconsistency (Was: What makes AppleScript difficult)
  • Next by thread: Re: Finder inconsistency (Was: What makes AppleScript difficult)
  • Index(es):
    • Date
    • Thread