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 - Apps and Games Discussion of applications and games available for Mac OS X.

Automatically run Automator workflow


Post Reply New Thread Subscribe

 
Thread Tools
koesherbacon

 
Member Since: Feb 04, 2010
Posts: 4
koesherbacon is on a distinguished road

koesherbacon is offline
Hi everyone,

I'm new here and this looks like the place to ask this question, so here goes.

I made an Automator workflow (the contextual menu kind) that first changes the modified date of a file to today's date and time and then moves the file to another folder (~/Torrents/). It works perfectly, but I was wondering if there was a way that it would automatically run the workflow when I download a file with the .torrent extension.

I use Safari, and when I download any file it downloads it onto the desktop (I like organizing my downloads myself which is why I don't download straight into ~/Downloads/).

Is there a way so when I download a .torrent file to the desktop it will automatically run my "change date then move file" workflow? I've uploaded a copy of the workflow I made *here*, the only difference is that the attached file is not a context menu service.

Thanks, I'd really appreciate any input I could get!
QUOTE Thanks
davidjason

 
Member Since: Feb 11, 2010
Posts: 1
davidjason is on a distinguished road

davidjason is offline
Hi, what your looking for is an automator trigger, this is possible with a folder action. Instead of creating a service, you have to choose "Folder action" when creating a new file in automator. Then select your desktop folder in the top of the automator window (my system is in french, so I don't know what's the exact label in english, but you can't miss it, there's a drop down menu to select the folder). Then add your actions like you would do in a service, if I where you, I would add an action above all, to make sure your script only works on .torrent files. I guess the name in english should be something like "Filter finder items", in this action you can add a condition like "only file with .torrent extension". And then add the action your using in your workflow. It should to the trick, every time a new file gets in your desktop folder, the script will launch, if it's a .torrent file, it will execute your script.

I hope this will help you, let me know if I'm not clear enough.
QUOTE Thanks

Post Reply New Thread Subscribe


« Problems with Microsoft Messenger | Spinning disk when using tables in Word »
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
Leopard won't install-Says to run Disk Utility markw10 OS X - Operating System 3 11-24-2007 12:16 AM
Run applescript on start-up slugzzz Running Windows (or anything else) on your Mac 3 09-11-2007 01:51 AM
Run a script at login? thermidor OS X - Operating System 2 08-21-2007 07:31 PM
How well do the new OSs run on the older macs? iRobot Switcher Hangout 7 04-25-2006 10:09 AM
Xcode doesn't run application correctly dr_springfield OS X - Development and Darwin 5 04-06-2004 11:22 PM

All times are GMT -4. The time now is 09:40 PM.

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?