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
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.

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