Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

dam316

macrumors newbie
Original poster
May 4, 2014
2
0
Hi,

I'm trying to create a txt file from applescript without automating textedit. I'm very new to applescript and trying to keep it simple. I've managed to create a txt file and write my data to it using the WRITE command, but is there a way to format it more?

My script is creating receipts from a csv file. At the moment I'm mainly interested in trying to insert a page break after each receipt. But I'd also like to know if there are ways to format the text - bold, underline, maybe change font size / page size - etc with out having to automate it. Or do I have no choice but to open text edit and use the whole TELL command thing...

Any advice would be appreciated!
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.