04-02-2008, 08:57 PM #1Need help with Scripting for folder action
Ok, I have a script set up to upload all the images I put in the folder to Flickr. However, the folder doesn't empty itself after uploading the images. How can I change the script to delete the images after uploading them?
The current script is attached
04-02-2008, 09:21 PM #2
need to change something else too:
When I drag images to the folder the script is associated with it moves the files to the folder, is there any way to make it copy rather than move?
Heres what I want over all:
-I drag images to the folder
-It copies files to the folder so they stay in their original location too
-It runs the upload to flicker automation/application
-It moves the copies to the trash
04-02-2008, 10:13 PM #3
An ordinary ol' AppleScript ''tell'' script would follow the pathway and say: Delete every item of folder ''blahblah'' of folder ''blahblah'' of folder ''blahblah'' etc.
Then the files could be sent into the ether with the command:
Sorry, but beyond very simple folder actions, I get lost. Your best bet would be macscripter.com, where there's tons of stuff. I don't think you can use it's search, though, without joining.Real radios glow in the dark.
04-03-2008, 01:36 AM #4
04-03-2008, 02:04 AM #5
well this is what I get for trying to learn something new while sick
I don't know why I kept keeping it as a folder with folder actions, when the partial point of a folder is to store things, and I didn't want to store things in it. All I had to do was while in Automator was save it as an application instead of a folder action, and then place the app on the sidebar where I wanted the folder
04-03-2008, 09:14 AM #6
That makes a lot of sense. I thought I was missing something.Real radios glow in the dark.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
By MBPFTW in forum Web Design and HostingReplies: 2Last Post: 05-06-2011, 03:56 PM
By fa6ab in forum OS X - Apps and GamesReplies: 0Last Post: 02-16-2011, 01:56 AM
By Bushwookie in forum OS X - Operating SystemReplies: 4Last Post: 08-30-2010, 10:53 PM
By macuserforum in forum OS X - Operating SystemReplies: 0Last Post: 05-04-2010, 04:55 AM
By mr.wu in forum OS X - Operating SystemReplies: 1Last Post: 10-08-2009, 03:25 PM