Finale SmartMusic
  Home | Log In | Register | Search | Help
   
MakeMusic Forum > Public Forums > FinaleScript - FORUM HAS MOVED! > Syntax for carriage return with  Forum Quick Jump
 
You cannot post new topics in this forum. You cannot reply to topics in this forum. Printable Version
[ << Previous Thread | Next Thread >> | Show Newest Post First ]

gogreen
Registered Member



Click to send gogreen email.Click to visit gogreen's website.Send a Private Message to gogreenAIM Not AvailableICQ Not AvailableY! Not AvailableMSN Not Available
Date Joined Dec 1999
Total Posts : 1618
 
   Posted 10/14/2014 12:47 PM (GMT -6)    Quote This PostAlert An Admin About This Post.
How do I enter a carriage return in a "replace" script? I have a line of text in a text box in 23 unlinked parts, and I want to add a line of text above the initial line. What's the command and syntax for adding the carriage return?


Arthur J. Michaels

www.arthurjmichaels.com

Finale 2000, 2001, 2003, 2005, 2006, 2007, 2011b.r2 (currently using 2011b.r2)
Core i7 860 @ 2.80 GHz, 8.0 GB RAM, Windows 7 Home Premium x64 SP 1
Sonar X2 Essential
Garritan COMB2, GPO4, Aria Player 1.620, Audacity 2.0.6
Dell 2408 WFP, 1920x1200
M-Audio Delta Audiophile 2496
M-Audio Keystation 88es, Casio WK-3000
M-Audio AV40 monitors
AKG K-240 Studio headphones
Brother HL-5150D printer


Image Attachment :
Image Preview
text.png
  5KB (image/png)
This image has been viewed 192 time(s).
Back to Top

Charles Lawrence
Registered Member



Click to send Charles Lawrence email.Personal Homepage Not AvailableSend a Private Message to Charles LawrenceAIM Not AvailableICQ Not AvailableY! Not AvailableMSN Not Available
Date Joined Dec 2009
Total Posts : 3638
 
   Posted 10/16/2014 5:59 PM (GMT -6)    Quote This PostAlert An Admin About This Post.

Arthur,

This Finalescript should do it:

search "Old line of text" replace with "New line of text above<13>Old line of text"


BTW: I could not get this to work in the "Edit -> Text Search and Replace..." dialog.  It does not seem to recognize <ASCII> as representing ASCII characters.  ASCII character 13 or control-m is the carriage return.


"Anything is possible if you don't know what you are talking about!"

 

Dell XPS 600, GenuineIntel Intel(R) Pentium(R) D CPU 3.00GHz [Intel64 Family 15 Model 4 Stepping 4] (2 processors)
8GB Ram
HT Omega Striker 7.1
MSI N430GT 2GB GPU
2 2TB and 2 4TB internal SATA HD's

Microsoft Windows 7 Ultimate x64 Edition, (06.01.7600.00)
Finale versions: 2011b.r2, 2012c.r13, 2014c.v4876

GPO4

 

"There is a world of difference between a person who has a big problem and a person who makes a problem big." – John Maxwell

Post Edited (Charles Lawrence) : 10/16/2014 6:08:37 PM (GMT-5)

Back to Top

gogreen
Registered Member



Click to send gogreen email.Click to visit gogreen's website.Send a Private Message to gogreenAIM Not AvailableICQ Not AvailableY! Not AvailableMSN Not Available
Date Joined Dec 1999
Total Posts : 1618
 
   Posted 10/17/2014 11:38 AM (GMT -6)    Quote This PostAlert An Admin About This Post.
Thanks, Charles. I tried <13>, but it didn't work. Maybe I had the syntax wrong. I'll try it again.

Art


Arthur J. Michaels

www.arthurjmichaels.com

Finale 2000, 2001, 2003, 2005, 2006, 2007, 2011b.r2 (currently using 2011b.r2)
Core i7 860 @ 2.80 GHz, 8.0 GB RAM, Windows 7 Home Premium x64 SP 1
Sonar X2 Essential
Garritan COMB2, GPO4, Aria Player 1.620, Audacity 2.0.6
Dell 2408 WFP, 1920x1200
M-Audio Delta Audiophile 2496
M-Audio Keystation 88es, Casio WK-3000
M-Audio AV40 monitors
AKG K-240 Studio headphones
Brother HL-5150D printer

Back to Top

Kelby
MakeMusic, Inc. Employee

Email Address Not AvailablePersonal Homepage Not AvailableSend a Private Message to KelbyAIM Not AvailableICQ Not AvailableY! Not AvailableMSN Not Available
Date Joined Jan 2008
Total Posts : 69
 
   Posted 12/2/2014 5:22 PM (GMT -6)    Quote This PostAlert An Admin About This Post.
^l starts a new line.

So you could script this:

search text block "This is old text." and replace with "New Text.^lThis is old text."

The output should look like this:

New Text.
This is old text.


Kelby Stine

Repertoire Development Music Engraver and Editor
MakeMusic, Inc.

Back to Top

gogreen
Registered Member



Click to send gogreen email.Click to visit gogreen's website.Send a Private Message to gogreenAIM Not AvailableICQ Not AvailableY! Not AvailableMSN Not Available
Date Joined Dec 1999
Total Posts : 1618
 
   Posted 12/8/2014 8:53 AM (GMT -6)    Quote This PostAlert An Admin About This Post.
Thank you, Kelby. I haven't tried this yet, but I will. So ^l and <13> will do the same things?


Arthur J. Michaels

/www.facebook.com/composerarthurjmichaels

Finale 2000, 2001, 2003, 2005, 2006, 2007, 2011b.r2 (currently using 2011b.r2)
Core i7 860 @ 2.80 GHz, 8.0 GB RAM, Windows 7 Home Premium x64 SP 1
Sonar X2 Essential
Garritan COMB2, GPO4, Aria Player 1.620, Audacity 2.0.6
Dell 2408 WFP, 1920x1200
M-Audio Delta Audiophile 2496
M-Audio Keystation 88es, Casio WK-3000
M-Audio AV40 monitors
AKG K-240 Studio headphones
Brother HL-5150D printer

Back to Top

Kelby
MakeMusic, Inc. Employee

Email Address Not AvailablePersonal Homepage Not AvailableSend a Private Message to KelbyAIM Not AvailableICQ Not AvailableY! Not AvailableMSN Not Available
Date Joined Jan 2008
Total Posts : 69
 
   Posted 1/13/2015 1:15 PM (GMT -6)    Quote This PostAlert An Admin About This Post.
<13> refers to an ascii character that typically is not mapped in a font. But it is the character designated as a carriage return. It should work too.

-K


Kelby Stine

Repertoire Development Music Engraver and Editor
MakeMusic, Inc.

Back to Top

Charles Lawrence
Registered Member



Click to send Charles Lawrence email.Personal Homepage Not AvailableSend a Private Message to Charles LawrenceAIM Not AvailableICQ Not AvailableY! Not AvailableMSN Not Available
Date Joined Dec 2009
Total Posts : 3638
 
   Posted 1/15/2015 11:59 AM (GMT -6)    Quote This PostAlert An Admin About This Post.

Arthur,

Both samples of Finalescript worked fine for me on Win 8.1 F2014d.


"Anything is possible if you don't know what you are talking about!"

 

Intel(R) Core(TM) i7-5930K CPU with 6 dual core processors @ 3.50 GHz (12 threads)

Realtek High Definition on board audio
NVIDIA GeForce GTX 980 GPU with 4GB ram

512 GB SSD

Four 4TB and one 1TB internal SATA HD's
Microsoft Windows 8.1 Pro with Media Center 64 Bit Edition
Finale versions: 2011b.r2, 2012c.r13, 2014d.v5030

GPO4.02

 

Cakewalk SONAR X3

 

"There is a world of difference between a person who has a big problem and a person who makes a problem big." – John Maxwell

Back to Top

gogreen
Registered Member



Click to send gogreen email.Click to visit gogreen's website.Send a Private Message to gogreenAIM Not AvailableICQ Not AvailableY! Not AvailableMSN Not Available
Date Joined Dec 1999
Total Posts : 1618
 
   Posted 1/25/2015 9:10 AM (GMT -6)    Quote This PostAlert An Admin About This Post.
Yup. Both work now. Maybe I mis-typed it. Thanks.


Arthur J. Michaels

/www.facebook.com/composerarthurjmichaels

Finale 2000, 2001, 2003, 2005, 2006, 2007, 2011b.r2 (currently using 2011b.r2)
Core i7 860 @ 2.80 GHz, 8.0 GB RAM, Windows 7 Home Premium x64 SP 1
Sonar X2 Essential
Garritan COMB2, GPO4, Aria Player 1.620, Audacity 2.0.6
Dell 2408 WFP, 1920x1200
M-Audio Delta Audiophile 2496
M-Audio Keystation 88es, Casio WK-3000
M-Audio AV40 monitors
AKG K-240 Studio headphones
Brother HL-5150D printer

Back to Top
You cannot post new topics in this forum. You cannot reply to topics in this forum. Printable Version
   
Forum Information
Currently it is Monday, November 18, 2019 10:08 PM (GMT -6)
There are a total of 403,820 posts in 58,165 threads.
In the last 3 days there were 0 new threads and 0 reply posts. View Active Threads