New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Operating System General OS operation information and support

OS 10.4 - Need help with Scripting for folder action


Post Reply New Thread Subscribe

 
Thread Tools
MBasile

 
MBasile's Avatar
 
Member Since: Dec 12, 2006
Posts: 505
MBasile has a spectacular aura about
Mac Specs: MacBook CoreDuo

MBasile is offline
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
Attached Images
File Type: jpg Picture 1.jpg (47.2 KB, 6 views)
QUOTE Thanks
MBasile

 
MBasile's Avatar
 
Member Since: Dec 12, 2006
Posts: 505
MBasile has a spectacular aura about
Mac Specs: MacBook CoreDuo

MBasile is offline
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
QUOTE Thanks
Brown Study

 
Brown Study's Avatar
 
Member Since: Mar 11, 2004
Location: Winnipeg
Posts: 1,964
Brown Study is a name known to allBrown Study is a name known to allBrown Study is a name known to allBrown Study is a name known to allBrown Study is a name known to allBrown Study is a name known to allBrown Study is a name known to all
Mac Specs: G4 Tiger and OS 9

Brown Study is offline
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:

empty trash

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.
QUOTE Thanks
MBasile

 
MBasile's Avatar
 
Member Since: Dec 12, 2006
Posts: 505
MBasile has a spectacular aura about
Mac Specs: MacBook CoreDuo

MBasile is offline
Quote:
Originally Posted by Brown Study View Post
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:

empty trash

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.
thanks for the help, but a lot of this I guess is just over my head
QUOTE Thanks
MBasile

 
MBasile's Avatar
 
Member Since: Dec 12, 2006
Posts: 505
MBasile has a spectacular aura about
Mac Specs: MacBook CoreDuo

MBasile is offline
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
QUOTE Thanks
Brown Study

 
Brown Study's Avatar
 
Member Since: Mar 11, 2004
Location: Winnipeg
Posts: 1,964
Brown Study is a name known to allBrown Study is a name known to allBrown Study is a name known to allBrown Study is a name known to allBrown Study is a name known to allBrown Study is a name known to allBrown Study is a name known to all
Mac Specs: G4 Tiger and OS 9

Brown Study is offline
That makes a lot of sense. I thought I was missing something.

Real radios glow in the dark.
QUOTE Thanks

Post Reply New Thread Subscribe


« Leopard Upgrade from Panther on iMac G4 Help | Screen sharing remotely, possible? »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting 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 Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Logitech Dual Action controller does not seem jsdean01 OS X - Apps and Games 10 07-23-2008 10:12 AM
Automator action for a file type? Verbal OS X - Apps and Games 1 02-04-2008 12:13 PM
Action GoMac-like app. for Panther? Morgan19 OS X - Operating System 2 04-15-2004 09:04 AM
DLO Action Jacket Ripped85 iPod Hardware and Accessories 0 03-08-2004 08:43 PM

All times are GMT -4. The time now is 09:11 AM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?