Q: Text Edit Script Function, does it exist?
Thank you for taking the time to look into this.
At work I constantly have to go through textEdit using the find and replace to remove all items in between brackets. So Find [1] and replace it with nothing which I guess I am not replacing but removing.
I wondered if there was something to put in find that would find all instances of the brackets but also whats inside them? I was thinking with all the functions in Office to represent items maybe there is something that would find... [anything in these brackets].
I appreciate your time and help very much!
Mac Pro, OS X Mavericks (10.9.4)
Posted on Jan 23, 2015 8:36 PM
Hi Drew,
I get your recomendation for javascript. Makes perfect sense dealing with browsers. My primary interest is to improve my apple scripting chops and a foray into a shell script makes sense. Let me know if you get tired of my questions or want me to start a new thread- we are somewhat off topic by now.
Something is going off as I start to modify the script you suggested. I thought I would pass it a test from the clipboard:
I didn't see what could go wrong. When I ran the script I got this error:
It goes on with the entire contents of the clipboard, running off my screen at the bottom so I can't tell if there is any needed info at the bottom. I can't figure out how to make the error message leave the window. This one editor window is frozen, and the only way pst has been to quit the editor.
Is there something obvious I can change?
quinn
Posted on Jan 25, 2015 12:41 PM


