Join Scott Simpson for an in-depth discussion in this video Challenge: Set some file metadata, part of Learning AppleScript.
…Your first challenge in this course is to build up the part of…the application that will add the user's copyright string to the file's medadata.…To do that, there'll be a few steps.…First, ask the user what they want the string to be.…Then, step through each of the files, and for…each one, set a property of the file to restrain.…Be sure to check out the Finder Dictionary and look…under Finder Items to see what properties the class item has.…A word of warning, there's more than one that sounds promising.…
But if you read the documentation carefully, you…should be able to pick the right one.…This should probably take you about 15 minutes.…Have fun!…
- What is AppleScript?
- Using comments, variables, text, and numbers
- Working with files and folders
- Using conditionals and creating loops
- Building functions
- Controlling other programs with AppleScript
- Preventing and catching errors
- Distributing your AppleScript application
Skill Level Beginner
1. Exploring AppleScript
2. Using AppleScript with Applications
3. Your App in the Real World
4. Further Exploration
Folder actions2m 52s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.