Jump to content

Carriage Returns in Pasted Text


Recommended Posts

In a couple of workflows I am playing with I am using the copy to clipboard action and ticking the automatically paste box

 

However if I have carriage returns at the end of the text, these are not pasted in

 

I guess there may be a reason for this, but wondered if there was a way that carriage returns could also be pasted 

 

Anyone having this same issue?

Link to comment
Share on other sites

I'd say it's likely to be the way your scripting language is handling the strings. I had the opposite problem the other day, when a new line was being added when I didn't want it. Turned out to be a bash thing, which a bit of googling helped me to solve.

What language are you using for your script? Are you sure you're outputting the fully quoted version of your text string?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...