I'm pretty new to AppleScript but not new to programming. I've recently come across a project where I think scripting will be the best idea.
A user puts files in a folder and puts the job number as the name of the folder. They drop this folder into a release folder.. this then triggers the script to detect the job number and move that folder to an archive folder.
Example: user drops folder "103945" into release folder. The script detects that it starts with "103" and moves it into the archive folder "103000"
I hope its possible to do, It would be good if the script can detect the first 3 digits to the job number and then search archives for the folder starting with the same first 3 digits. Then move that folder into the folder on archives. And if possible.. if the folder doesn't exist then it creates a folder by the first 3 digits of the job number plus 000
A user puts files in a folder and puts the job number as the name of the folder. They drop this folder into a release folder.. this then triggers the script to detect the job number and move that folder to an archive folder.
Example: user drops folder "103945" into release folder. The script detects that it starts with "103" and moves it into the archive folder "103000"
I hope its possible to do, It would be good if the script can detect the first 3 digits to the job number and then search archives for the folder starting with the same first 3 digits. Then move that folder into the folder on archives. And if possible.. if the folder doesn't exist then it creates a folder by the first 3 digits of the job number plus 000