Finale SmartMusic
  Home | Log In | Register | Search | Help
   
MakeMusic Forum > Public Forums > FinaleScript - FORUM HAS MOVED! > Request to convert "if not this value" rather than listing all other values.  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 ]

rpmseattle
Registered Member

Email Address Not AvailablePersonal Homepage Not AvailableSend a Private Message to rpmseattleAIM Not AvailableICQ Not AvailableY! Not AvailableMSN Not Available
Date Joined Nov 2006
Total Posts : 419
 
   Posted 7/20/2007 2:28 PM (GMT -5)    Quote This PostAlert An Admin About This Post.
Hello - if there is currently a way to do this, I'd love to know about it. I have several scripts which convert fonts from score size to parts size. Since I get scores from a lot of different sources, I have to cover my bases by listing all the size options in a long series of steps.

For instance, I get scores which use the Rehearsal font for rehearsal letters. These might be 24 points, or 36 points, or 18 points in the original score. I want them to be 14 points in the parts.

It would be great to have a command that basically says

"search for any text in the Rehearsal font which is not 14 points plain and replace it with Rehearsal font 14 plain"

The current method is to simply list all of the "is not 14 point" options:


search "" [Rehearsal] 36 plain replace "" [Rehearsal] 14 plain
search "" [Rehearsal] 35 plain replace "" [Rehearsal] 14 plain
search "" [Rehearsal] 34 plain replace "" [Rehearsal] 14 plain
search "" [Rehearsal] 33 plain replace "" [Rehearsal] 14 plain
search "" [Rehearsal] 32 plain replace "" [Rehearsal] 14 plain
search "" [Rehearsal] 31 plain replace "" [Rehearsal] 14 plain
search "" [Rehearsal] 30 plain replace "" [Rehearsal] 14 plain
search "" [Rehearsal] 29 plain replace "" [Rehearsal] 14 plain
search "" [Rehearsal] 28 plain replace "" [Rehearsal] 14 plain
search "" [Rehearsal] 27 plain replace "" [Rehearsal] 14 plain
search "" [Rehearsal] 26 plain replace "" [Rehearsal] 14 plain
search "" [Rehearsal] 25 plain replace "" [Rehearsal] 14 plain
search "" [Rehearsal] 24 plain replace "" [Rehearsal] 14 plain
search "" [Rehearsal] 23 plain replace "" [Rehearsal] 14 plain
search "" [Rehearsal] 22 plain replace "" [Rehearsal] 14 plain
search "" [Rehearsal] 21 plain replace "" [Rehearsal] 14 plain
search "" [Rehearsal] 20 plain replace "" [Rehearsal] 14 plain
search "" [Rehearsal] 19 plain replace "" [Rehearsal] 14 plain
search "" [Rehearsal] 18 plain replace "" [Rehearsal] 14 plain
search "" [Rehearsal] 17 plain replace "" [Rehearsal] 14 plain
search "" [Rehearsal] 16 plain replace "" [Rehearsal] 14 plain
search "" [Rehearsal] 15 plain replace "" [Rehearsal] 14 plain

Is there already some way to do this?


thank you.


rpmseattle | powermac G5 | dual 2.5Ghz | 3.5gb RAM | OSX 10.4.10 | www.musicprep.com/coda

Back to Top

Jetcopy
Registered Member

Email Address Not AvailablePersonal Homepage Not AvailableSend a Private Message to JetcopyAIM Not AvailableICQ Not AvailableY! Not AvailableMSN Not Available
Date Joined Oct 2000
Total Posts : 4795
 
   Posted 7/20/2007 2:54 PM (GMT -5)    Quote This PostAlert An Admin About This Post.
I haven't tried it, but would this work?

search "" [Rehearsal] replace "" [Rehearsal] 14 plain

Jeff


G4 Powerbook, OSX 10.4.8, 1.67 GHz, 1.5 GB ram

Back to Top

rpmseattle
Registered Member

Email Address Not AvailablePersonal Homepage Not AvailableSend a Private Message to rpmseattleAIM Not AvailableICQ Not AvailableY! Not AvailableMSN Not Available
Date Joined Nov 2006
Total Posts : 419
 
   Posted 7/20/2007 3:50 PM (GMT -5)    Quote This PostAlert An Admin About This Post.
Jetcopy said...
I haven't tried it, but would this work?

search "" [Rehearsal] replace "" [Rehearsal] 14 plain

Jeff



Thanks, Jeff. This looks like it indeed will work. Does removing the size and style mean that it will replace bold or italics versions with the plain? If so, it works perfectly.


rpmseattle | powermac G5 | dual 2.5Ghz | 3.5gb RAM | OSX 10.4.10 | www.musicprep.com/coda

Back to Top

Jetcopy
Registered Member

Email Address Not AvailablePersonal Homepage Not AvailableSend a Private Message to JetcopyAIM Not AvailableICQ Not AvailableY! Not AvailableMSN Not Available
Date Joined Oct 2000
Total Posts : 4795
 
   Posted 7/20/2007 4:01 PM (GMT -5)    Quote This PostAlert An Admin About This Post.
I think so. but you could also do:

search "" [Rehearsal] bold, italic replace "" [Rehearsal] 14 plain

Jeff


G4 Powerbook, OSX 10.4.8, 1.67 GHz, 1.5 GB ram

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 Thursday, July 29, 2021 8:50 PM (GMT -5)
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