Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Applications > Folder Actions in 10.3

Folder Actions in 10.3
Thread Tools
Dedicated MacNNer
Join Date: May 2001
Location: Front of my Intel iMac 20"
Status: Offline
Reply With Quote
Nov 1, 2003, 06:11 AM
 
Since the early betas I am wondering what purpose does folder actions serve. I would be greatful if someone would provide an example of such a use


Thanks
iMac Intel Core Duo 2.0 Ghz 20", 1.5 GB RAM, 250GB
iMac G5 2.0 Ghz 17", 512 MB RAM, 160GB
iPod Video 5G 60GB White
Mighty Mouse sucks - "Bought the Logitech 518 Gaming mouse"
USB 2.0 Hard Drive Sucked - "Bought a Firewire Hard Disk"
     
Fresh-Faced Recruit
Join Date: Feb 2003
Status: Offline
Reply With Quote
Nov 1, 2003, 06:56 AM
 
     
Mac Elite
Join Date: May 2002
Status: Offline
Reply With Quote
Nov 1, 2003, 07:49 AM
 
The possibilities are endless ... give it some more thought and try out some of the ones Apple has included in Panther.
     
Mac Elite
Join Date: Dec 2001
Location: Atlanta, GA, USA
Status: Offline
Reply With Quote
Nov 1, 2003, 08:11 AM
 
An example: whenever a picture is dropped in a folder (via ftp or afp or whatever) it's automatically converted to PDF.

There are tons of possibilities.
Mac Pro 2x 2.66 GHz Dual core, Apple TV 160GB, two Windows XP PCs
     
Professional Poster
Join Date: Oct 2001
Location: London
Status: Offline
Reply With Quote
Nov 1, 2003, 05:52 PM
 
     
Grizzled Veteran
Join Date: Sep 2002
Status: Offline
Reply With Quote
Nov 1, 2003, 06:47 PM
 
So, is there a way to automatically upload any changes that I make to my web site using Folder Actions? I'd be interested in this...
AIM: toast1911@mac.com
     
Mac Elite
Join Date: Dec 2001
Location: Atlanta, GA, USA
Status: Offline
Reply With Quote
Nov 1, 2003, 09:29 PM
 
Originally posted by fat mac moron:
So, is there a way to automatically upload any changes that I make to my web site using Folder Actions? I'd be interested in this...
It's very doable. You control-click on a folder, choose "enable folder actions". Then, write an applescript that uploads a file to the server. Then, map that script to the folder. See the example scripts in:

/Library/Scripts/Folder Action Scripts

I think you can also write your folder action scripts in python instead of AppleScript. For programmers, this has got to be easier (I personally love python and am not a fan of AppleScript).
Mac Pro 2x 2.66 GHz Dual core, Apple TV 160GB, two Windows XP PCs
     
Mac Elite
Join Date: May 2002
Status: Offline
Reply With Quote
Nov 3, 2003, 12:03 PM
 
How about folder acions to:

Monotor changes to the files contatined in the folder and generate a report log of activity.

Delete the conents of a folder at the end of the week, month, etc...

Burn the contents of a folder when it reaches a certain size or alert you.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 06:09 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2