Filed under: Features, How-tos, AppleScript
AppleScript: Exploring the power of Folder Actions, part III
So far in this AppleScript feature we've covered what folder actions are and how to create them. In this AppleScript post, I'm going to tell you how to create your own custom scripts and add them to your folder actions list. If you work with file permissions a lot, then you know how crazy it can get when you need to change a ton of files to their correct permission types. With this AppleScript folder action, you can easily change the permissions just by dragging and dropping files in their correct folder.
Creating the Script
To get started, we'll open the Script Editor (located in /Applications/Utilities). Once you have the editor opened, copy/paste the following script:
on adding folder items to this_folder after receiving added_items
tell application "Finder"
set fold_name to the name of this_folder
try
repeat with i from 1 to number of items in added_items
set new_item to item i of added_items
set the item_path to the quoted form of the POSIX path of new_item
do shell script ("/bin/chmod -R +r " & item_path)
end repeat
end try
end tell
end adding folder items to
This script will change the dropped files to a permission of "0644" meaning that everyone can read the file. For information about chmod and command line permissions strings, visit the Wikipedia page. Continue reading to learn more about this AppleScript and folder actions.
Continue reading “AppleScript: Exploring the power of Folder Actions, part III”

Create a new TextExpander snippet and set the content type to "AppleScript." Copy and paste the code that follows into the snippet content box. I'll run through what it does in at the end.
Now that you've been introduced to Automator, let's let's get into the "nitty-gritty." In the 
This is really basically the same theory as the
MacResearch has posted a nice
Someone must have answered Rod Schmidt's
iTunes 7 ushered in some great new video metadata, but editing this information, especially when in batches, can sometimes be a pain. For example: iTunes can differentiate between "movies" and "tv shows," (just check your Sources list on the left) but trying to select 14 episodes of an Aqua Teen Hunger Force season and pressing cmd-i doesn't yield any way to make a broad-sweeping change to "tv show."
I know Adium can insert links from some browsers by itself, but I just found a script at the
Every now and then, I'll get an email with a lot of handy info that I'd like to have access to without having to take out my PowerBook. I usually save the message as a PDF and sync it with my phone, but this can be cumbersome and slow. Lucky for me, Ryo has created a handy AppleScript named
JHymn users might remember that iTunes 6 broke the DRM-stripping tool, and it seems that Apple's done a good job of keeping FairPlay locked down - until someone cooked up
As I was working on an AppleScript-related post this morning, I couldn't seem to find any 
![TUAW [Cafepress]](http://www.blogsmithmedia.com/www.tuaw.com/media/tuaw-cafepress-promo.png)

