Finale SmartMusic
  Home | Log In | Register | Search | Help
   
MakeMusic Forum > Public Forums > FinaleScript - FORUM HAS MOVED! > how to get a script to select (or unselect) a text block  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 ]

meneeermalik
Registered Member

Email Address Not AvailablePersonal Homepage Not AvailableSend a Private Message to meneeermalikAIM Not AvailableICQ Not AvailableY! Not AvailableMSN Not Available
Date Joined Nov 2009
Total Posts : 19
 
   Posted 12/9/2009 8:43 PM (GMT -5)    Quote This PostAlert An Admin About This Post.
ok..
so part of my script selects all texts on the page and deletes it.
What I'd like is to keep the title on the page and delete everything else. I know (under the text tools) that if you do control + A that it selects all the texts and if you hold down the shift key and left click a text bock it unselects it. What I dont know is how to direct to a specific text block.

Thanks in advance.
Back to Top

UCG Musician
Registered Member

Click to send UCG Musician email.Personal Homepage Not AvailableSend a Private Message to UCG MusicianAIM Not AvailableICQ Not AvailableY! Not AvailableMSN Not Available
Date Joined Aug 2004
Total Posts : 239
 
   Posted 12/9/2009 9:40 PM (GMT -5)    Quote This PostAlert An Admin About This Post.
You cannot use FS to find a text box. You can act on a text box using FS once you've selected it. Here's an example of that:

Menu item "Text/Frame Attributes..."
Type -0.00 near "H:"
Type -0.38 near "V:"
Hit OK

This repositions the text box that is selected.
Back to Top

UCG Musician
Registered Member

Click to send UCG Musician email.Personal Homepage Not AvailableSend a Private Message to UCG MusicianAIM Not AvailableICQ Not AvailableY! Not AvailableMSN Not Available
Date Joined Aug 2004
Total Posts : 239
 
   Posted 1/3/2010 11:49 PM (GMT -5)    Quote This PostAlert An Admin About This Post.

I found a way to use Finalescript to select & act upon a single text box but it must be in a known place.  The files I primarily work with have the same types of text boxes & they're almost always in the same place.  But selecting them takes few tricks.

First, the view must be set to some standard setting for each file.  Then, the Ctrl + Home Key is invoked.  Next, the cursor is set to the position where the text box handle is.  Finally, the click function is used.  At this point the text box is selected & can be manipulated as desired.

Below is an example of a working script that selects a subtitle normally situated at H: = 0.00" & V: = -0.35".  The code sets the page to 75% & locks it in "home position".  Then the mouse position is set to 320 205.  These are grid coordinates determined mostly by trial & error.  Once the cursor is at that location, the click command selects the handle.  From that point on you can manipulate whatever parameters you want in the Text/Frame Attributes dialog box.  In this case it simply adjusts the vertical position -0.35 to -0.38.

Text Tool

Press Ctrl + 3

Press Ctrl + Home Key

Mouse 320 205

Click

Menu item "Text/Frame Attributes..."

Type -0.00 near "H:"

Type -0.38 near "V:"

Hit OK

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 9:09 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