Readers like you help support MUO. When you make a purchase using links on our site, we may earn an affiliate commission. Read More.

Refering to the following post from MakeUseOf: Automate Your Mac MORE With These 2 Great AppleScripts

The following script, when activated, will put all the files on your desktop into a folder and name that folder “screenshots”, or whatever name you designate. I use this script because I take several screenshots a day for articles like this one.

1. Launch AppleScript and copy and paste the following code in the editor.

?set folder_name to “screenshots”

MAKEUSEOF VIDEO OF THE DAY
SCROLL TO CONTINUE WITH CONTENT

tell application “Finder”

set archive_folder to make new folder at desktop ¬

with properties {name:folder_name}

move every file of desktop to archive_folder

end tell

Bakari
2010-11-25 10:27:00
blackxacto, try using straight quotes instead of copying and pasting quotes used in the articles. If it doesn't work, let me know.
blackxacto
2010-11-25 02:00:00
This script, again, does not compile as is. I am asking if you have a corrected script?