Finale SmartMusic
  Home | Log In | Register | Search | Help
   
MakeMusic Forum > Public Forums > FinaleScript - FORUM HAS MOVED! > Enabling Dialog Box  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 ]

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 3/26/2009 3:33 PM (GMT -5)    Quote This PostAlert An Admin About This Post.
I have numerous scripts that bring up the page layout/edit system margins dialog box.  But when any of them gets to that point, I must click somewhere on the dialog box for the script to continue entering numbers in the fields.  I thought it may be a "focus" problem & added the "select window" command but that has no effect on the problem.
 
Here's an example of code that does not work:
 

Page Layout Tool

Menu item "Page Layout/Systems/Edit margins"

Select window "Edit System Margins..."

Type 1 near "System:"

Type 1 near "Thru:"

Type 0.90 near "Top"

Type 0.35 near "Left"

Type 0 near "Right"

Type 0 near "Bottom"

Type 0 near "Distance between systems:"

Hit "Apply"

Type 2 near "System:"

Type 4 near "Thru:"

Type 0 near "Top"

Type 0 near "Left"

Type 0 near "Right"

Type 0 near "Bottom"

Type ".53" near "Distance between systems:"

Hit "Apply"

Deselect window "Edit System Margins..."

 

If anyone has ideas on why the code hangs when the dialog box appears, please let me know.

 

Thanks,

UCG Musician

Back to Top

Piotr Kolodziej
Registered Member



Click to send Piotr Kolodziej email.Personal Homepage Not AvailableSend a Private Message to Piotr KolodziejAIM Not AvailableICQ Not AvailableY! Not AvailableMSN Not Available
Date Joined Jan 2005
Total Posts : 739
 
   Posted 3/27/2009 8:00 AM (GMT -5)    Quote This PostAlert An Admin About This Post.
First of all open - in page layout tool - edit margins dialog box. Then remove second line (menu item) and delete last line.
It is important don't close "dialog boxes". It should work.
 
Similar scripts work for me fine (in batch process too).

Piotr


Piotr Kolodziej (musicologist, music editor and music engraver)
Hardware:
PC (Desktop): AMD 6000+ (2 x 3,1 GHz), 2 GB RAM, 26'' LG Display (landscape), 19'' LG Display (Portrait), E-MU Tracker Pre, Win XP SP3,
Macbook: Intel Core 2 Duo (2,4 GHz), 2 GB RAM, Mac OSX 10.5.6 (on second partition: Windows XP SP3)
M-audio Keystation 88es, Wacom graphic tablett
 
Software:
Finale 2005b-2009b (with TGTools full, Medieval plugin, JW Plugins, Patterson full), Sibelius 4-5, Cubase 4,
Adobe CS 4 (Indesign CS4, Illustrator CS4, Photoshop CS4, Adobe Acrobat 9 Professional)
Sound Libraries: Sample Tank 2XL, Sonik Synth 2, Philharmonik Miroslav
Quickeys for PC & Mac
PDFtoMusic Pro, SharpEye2, Photoscore 5.5.1 Ultimate
Font Creator 5.6, Scanahand 2.0

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 3/27/2009 10:43 AM (GMT -5)    Quote This PostAlert An Admin About This Post.
PIOTRKO,

Thank you very much. This technique works. Since I often change page margins within the same script that changed system margins I was concerned that there would be problems. But by opening both dialog boxes in Page Layout first, the script does select the correct dialog box & then continues with other commands, leaving the dialog boxes "active" the next time I specify Page Layout.

Randy
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, September 27, 2021 9:28 AM (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