Hey Guys. I'm new to writing applescript, never wrote any code in my life, and I'm trying to learn it on the fly. I've tried to read up in some tutorials, but I'm having a hard time picking up the lingo. I'm trying to do the following basic script, and I was wondering if anyone can help. It will be added to a script I am currently writing with other actions, but this is crucial. Anything would be greatly appreciated. Thanks!
***There will be three folders. Folder "A" will be on the desktop permanently, folder "B" will only be created on the desktop temporarily, and folder "C" will be a sub-folder within folder "A"***
***I want this script to run automatically when any new file is added to folder "A"***
1) A file is added to Folder "A"
2) Finder creates folder "B" on the desktop
3) Finder selects all files in Folder "A" and moves them to Folder "B"
4) Finder selects all files in Folder "B" and moves them to sub-folder "C"
5) Finder Deletes folder B.
*** It sounds basic and pointless, but there will be other actions added later***
Thanks so much for anyone's help.
***There will be three folders. Folder "A" will be on the desktop permanently, folder "B" will only be created on the desktop temporarily, and folder "C" will be a sub-folder within folder "A"***
***I want this script to run automatically when any new file is added to folder "A"***
1) A file is added to Folder "A"
2) Finder creates folder "B" on the desktop
3) Finder selects all files in Folder "A" and moves them to Folder "B"
4) Finder selects all files in Folder "B" and moves them to sub-folder "C"
5) Finder Deletes folder B.
*** It sounds basic and pointless, but there will be other actions added later***
Thanks so much for anyone's help.