Re: update markup command line

2012-08-16 Thread Terje Bless
Hmm. It seems the regular denizens of the list are hibernating or something. My AppleScript is a bit rusty, but... On Mon, Aug 13, 2012 at 7:26 PM, jamie chocolate.el...@gmail.com wrote: is there a way to run Update Markup to a folder or documents via command line or applescript? Sure, you

AppleScript or Automator support for converting text automatically

2012-08-16 Thread Romain M
Hello Is there a way to automate the process of converting a text to another encoding (in my case UTF16 Little Endian)? Right now I have to open the csv file in BBEdit and save it as a new file with the different encoding. I couldn't find support for this action in Automator or AppleScript.

Re: AppleScript or Automator support for converting text automatically

2012-08-16 Thread G. T. Stresen-Reuter
See Text Factories in the documentation. It will do exactly what you want with grace and style. Sent from iPhone. Please excuse my brevity and misspellings. On Aug 16, 2012, at 12:52 PM, Romain M romain.moises...@gmail.com wrote: I couldn't find support for this action in Automator or

carriage returns

2012-08-16 Thread Jim Sheffer
Hi everyone. I mostly sit on the sidelines and try to soak up all the great posts but I need to clear something up. I have a file that creates a .csv file from dynamic database information. At the end of each line, I have \r\n (without the quotes) to produce the end of line. I use \r\n

Re: carriage returns

2012-08-16 Thread David Kelly
On Aug 16, 2012, at 12:17 PM, Jim Sheffer wrote: So am I right to assume the L character is indeed a carriage return and that with only one showing at the end of each line in the file and no spaces between the lines, there can only be one carriage return for each line? Just for curiosity

Re: carriage returns

2012-08-16 Thread Patrick Woolsey
At 12:17 -0500 08/16/2012, Jim Sheffer wrote: [...] I have a file that creates a .csv file from dynamic database information. At the end of each line, I have \r\n (without the quotes) to produce the end of line. I use \r\n because the file is being imported into a windows machine. Two questions

Re: carriage returns

2012-08-16 Thread Jim Sheffer
Patrick David- thanks for the help! On Aug 16, 2012, at 2:59 PM, Patrick Woolsey pwool...@barebones.com wrote: At 12:17 -0500 08/16/2012, Jim Sheffer wrote: [...] I have a file that creates a .csv file from dynamic database information. At the end of each line, I have \r\n (without the

Re: carriage returns

2012-08-16 Thread Patrick Woolsey
At 16:20 -0500 08/16/2012, Jim Sheffer wrote: [...] b) When you open the .csv file in BBEdit, what is its line ending format? Windows - which is what I need. OK; that means the generated file is almost certainly correct. I think I've found the problem. The file was actually sent to my

Re: carriage returns

2012-08-16 Thread David Kelly
On Aug 16, 2012, at 4:20 PM, Jim Sheffer wrote: David- - I ran the file via terminal through hexdump with no problem. Can you tell me what I'm looking for? What Patrick said. :-) 0x0d is CR and 0x0a is LF, and hexdump knows nothing of line endings so what it dumps is exactly what is