Why does my Mac desktop script not compile?

John R November 24, 2010
Pinterest Stumbleupon Whatsapp
Ads by Google

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”

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

  1. Bakari
    November 25, 2010 at 10:27 am

    blackxacto, try using straight quotes instead of copying and pasting quotes used in the articles. If it doesn't work, let me know.

  2. blackxacto
    November 25, 2010 at 2:00 am

    This script, again, does not compile as is. I am asking if you have a corrected script?