Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

automator script to edit text file.

  • 31-03-2016 12:11PM
    #1
    Closed Accounts Posts: 5,824 ✭✭✭


    trying to make a quick automator script to include with an image build.

    I need it to find a text file, delete everything in it, and replace it with some other text.

    Any suggestions on this, as I'm wracking my brain on it..

    Quick example.
    Text file on desktop.
    Has the words "this is text" in it.

    I need my script to run, and remove everything in the file, and replace it with "it is done"

    Anyone have any help they could throw my way?


Advertisement