Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.
Hi all, please see this major site announcement: https://www.boards.ie/discussion/2058427594/boards-ie-2026

automator script to edit text file.

  • 31-03-2016 11:11AM
    #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