Teacher Needs Help with Basic Applescript

Discussion in 'Mac Programming' started by pinktank, Sep 4, 2011.

  1. pinktank macrumors 6502

    Apr 5, 2005
    I am looking to write a basic applescript to help deploy some folders and files by running it from a flash drive along with the files mentioned below to help deploy things on my lab computers, instead of doing them one by one.

    Things I want to do:

    -replace certain preference files with the ones from the usb drive, they would have static names and locations, mostly in the library, they are photoshop defaults

    -move the entire content of a drive (backup) to a single folder (archive)

    -copy some empty folders (for each class) for structure to the emptied drive

    -create aliases of those folders on the desktop

    -fix permissions

    Thanks a lot.
  2. itsmrjon macrumors regular

    Jun 11, 2011
    These types of basic actions can be done rather easily using Automator.

    make a new application, under library => files & folders
    find the actions 'move finder items', 'create archive', 'new aliases', 'eject disk', and so on

    give it a shot

Share This Page