• 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
Finder Passing Copies of Folders Rather than the Originals
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Finder Passing Copies of Folders Rather than the Originals


  • Subject: Finder Passing Copies of Folders Rather than the Originals
  • From: "S. J. Cunningham" <email@hidden>
  • Date: Fri, 20 Feb 2015 12:17:23 -0500

I have been experiencing an issue lately with several scripts where, when the Finder is asked to pass a folder to an application, it first makes a copy of the folder and then passes the copy to the application rather than the original.  Furthermore, this only happens with some folders and not with others.  The owners, permissions, etc. for the folders involved, ie copied or not, are all the same and I can detect no pattern to the ones which are copied.

I first saw this behavior when using "tell application "Finder" to open someFolder using someApplication".  In trying to track down the problem I found that the attached script, when saved as a script application (bundle), exhibits the same behavior when a folder is dropped on it:  some folders are copied first, others are not.  It is as if the folders in question had the "Stationery Pad" bit set... but, of course, folders don't have that bit.  I am running OS X 10.6.8.

Has anyone else seen this and/or can explain it?

Thanks.

-----------------------------------
on open (aList) -- Drop Entry
	display dialog "Drop Entry"
	main(aList)
end open


on main(aList)
	display dialog "Main: aList = " & aList as string
end main

on quit
	display dialog "Quitting"
	continue quit
end quit

-- Manual or Run Entry
display dialog "Manual or Run Entry"
main([1, 2, 3])
 _______________________________________________
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 Passing Copies of Folders Rather than the Originals
      • From: "S. J. Cunningham" <email@hidden>
  • Prev by Date: Re: Mounting volumes
  • Next by Date: Re: Encoding
  • Previous by thread: Re: Re: Encoding
  • Next by thread: Re: Finder Passing Copies of Folders Rather than the Originals
  • Index(es):
    • Date
    • Thread