Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Jun 16, 2009, 09:26 PM   #1
imthekuni
macrumors member
 
Join Date: Jun 2009
Applescript: Automatically Move File Type

Hi, I was wondering if anyone knew how to automatically move a file type to a sub-folder once it is downloaded? I want all mp3 files to move to a sub-folder called Music once it is downloaded. Thanks!
__________________
13" Blackbook 2.16GHz, 4GB Ram, 160GB HD...in limbo?
imthekuni is offline   0 Reply With Quote
Old Jun 16, 2009, 10:01 PM   #2
angelwatt
Moderator emeritus
 
angelwatt's Avatar
 
Join Date: Aug 2005
Location: USA
See this thread, which makes use of folder actions. Here's an article on it as well.
angelwatt is offline   0 Reply With Quote
Old Jun 17, 2009, 02:35 AM   #3
imthekuni
Thread Starter
macrumors member
 
Join Date: Jun 2009
thanks! just what i needed
__________________
13" Blackbook 2.16GHz, 4GB Ram, 160GB HD...in limbo?
imthekuni is offline   0 Reply With Quote
Old Dec 4, 2009, 02:05 PM   #4
mx7
macrumors newbie
 
Join Date: May 2009
Did you get the script to work?
I'm trying to write something similar that moves the all the torrent files in the Download folder to the Trash.
Any help would be appreciated.
Thanks
mx7 is offline   0 Reply With Quote
Old Feb 11, 2011, 03:33 PM   #5
hanopsun
macrumors newbie
 
Join Date: Feb 2011
Hello Guys,
i am not familar with scripting and i have an issue to get this AS running to the end of the script in case that only one file i am searching for is missing.
I know why, but i cant figure it out!I tried also if i could use the nohup option but this was not the solution here too.
Please help me out ;-) Thank you


my script:
try
do shell script "mv /Users/user_xy/Downloads/*.pdf /Users/user_xy/Downloads/PDF/"
do shell script "mv /Users/user_xy/Downloads/*.dmg /Users/user_xy/Downloads/install4mac/"
do shell script "mv /Users/user_xy/Downloads/*.pkg /Users/user_xy/Downloads/install4mac/"
do shell script "mv /Users/user_xy/Downloads/*.app /Users/user_xy/Downloads/install4mac/"
do shell script "mv /Users/user_xy/Downloads/*.tbz /Users/user_xy/Downloads/Archiv/"
end try
hanopsun is offline   0 Reply With Quote
Old Oct 14, 2011, 02:27 PM   #6
nohiding
macrumors newbie
 
Join Date: Oct 2011
Very new MAC user

Hi, this is my very first post. I wondered if anyone could explain me how this works? And if there is an easy way of learning how to do it.

Thanks for your patience.

Best regards

----------

Dear angelwatt, it seems like your article link does not work anymore. Maybe due to that it was removed. Can you tell me where to find a similar article?

br

Quote:
Originally Posted by angelwatt View Post
See this thread, which makes use of folder actions. Here's an article on it as well.
nohiding is offline   0 Reply With Quote
Old Oct 14, 2011, 06:20 PM   #7
nohiding
macrumors newbie
 
Join Date: Oct 2011
MacBook Pro 13" DK-2011

Before nobody begins to write me a novel.... Im gonna tell ya, I searched a little bit my self. Now Im programming, and 10 times more happy with my mac.

Worth All the money!
nohiding is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Forum Jump

Similar Threads
thread Thread Starter Forum Replies Last Post
Applescript: Detection of File Extension does not work surfcity Mac Programming 3 Sep 3, 2012 11:01 AM
Passing id to parameter of incompatible type 'float' johnmerlino Mac Programming 12 Nov 19, 2011 08:37 PM
AppleScript: list files in folder the Otter Mac Programming 1 Apr 5, 2011 03:49 PM
Searching file types and move to single folder scooter2525 OS X 10 Feb 19, 2011 11:36 AM
Automatically moving new files on desktop to folder. antipuls3 Mac Basics and Help 9 Mar 2, 2010 06:25 PM


All times are GMT -5. The time now is 10:17 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC