100 Copies Loop

We’re doing year two of the Social Work Portfolio in Google Docs. I am opting to do the creation/duplication of the main files on the computer end rather than the Google Drive/Scripts side of things because of all the hassle from last year. You can read more about the full failure here. This AppleScript will give me 100 iteratively-named (x_1, x_2, etc.) copies of the source folder and all its sub-directories and their content. It is just adding a variable from the AppleScript to the loop that calls the terminal command ditto. I’m sure a shell script could do this or I could do it fully in Automator. There are many paths but I knew enough about both of these to get what I needed one in ~5 minutes. Next up will be automating the sharing via Google Script. It won’t be much different than last year but I’m going to add a piece that will write that the folder and the contents were successfully shared to the spreadsheet that holds the student emails. That way when/if the script fails it can auto-resume without having to go back and start over.

No notifications, full screen, no screen saver applescript

flickr photo shared by David Allen Wizardgold under a Creative Commons ( BY-ND ) license I saw this exchange on Twitter yesterday. hear me out. "netflix mode" keyboard shortcut that auto full screens, disables all notifications & suspends screensaver — Tressie Mc (@tressiemcphd) August 10, 2015 It seemed like something I could do in Applescript for those on the Mac. This example works in 10.10.4 (and could form the basis for something similar that’d work in other OS versions). Note, at the moment it doesn’t turn things back on afterwards. If I see any interest, I’ll add that kind of thing. Currently, it also assumes you want Chrome to go full screen but it’d be easy to change that to whatever application you want. To try it out, open up Applications>Script Editor. Cut and paste this in and hit the play button. If it does what you want, you can save it as an App and then just click it to launch.