• 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
Stupid Newbie Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Stupid Newbie Question


  • Subject: Stupid Newbie Question
  • From: "J. Downs" <email@hidden>
  • Date: Mon, 18 Feb 2008 12:26:57 -0600

Hey, all. New to AppleScript, playing with Folder Actions, and need some help. Can anyone give me a clue as to why the following produces no discernible result?

on adding folder items to this_folder after receiving added_items

	tell application "Finder"
		repeat with eachFile in added_items
			display dialog the name of eachFile buttons {"OK"} default button 1
		end repeat
	end tell

end adding folder items to


Additionally, I am trying to sort files by kind/type (folder, image, etc.), but can't find a listing of the values for this property that the Finder will recognize. Can someone point me to a comprehensive list?


Thanks,
J.

_______________________________________________
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: Stupid Newbie Question
      • From: "Gary (Lists)" <email@hidden>
References: 
 >file in use (From: Bob Cuilla <email@hidden>)

  • Prev by Date: file in use
  • Next by Date: Updating records in Address Book
  • Previous by thread: file in use
  • Next by thread: Re: Stupid Newbie Question
  • Index(es):
    • Date
    • Thread