|
|
MakeMusic Forum > Public Forums > FinaleScript - FORUM HAS MOVED! > Page Setup | Forum Quick Jump
|
| Matthew Hindson Registered Member
Date Joined Jan 1999 Total Posts : 406 | Posted 2/16/2009 5:56 PM (GMT -6) | | I cannot work out how to set the Page Setup for an existing file to a specific paper size from within Finalescript.
Any tips?
(OS X - and I need to change the Page Setup in the File menu, not the Page Size in Page Layout). | Back to Top | |
| Bart Visser Registered Member
Date Joined Dec 1999 Total Posts : 90 | Posted 2/20/2009 5:09 AM (GMT -6) | | But you can use Applescript: (Copy in a new script and save, it processes a folder of files).
Hope this helps.
Bart Visser
---
property Finale : "Finale 2009" -- Change to your Finale-version
tell application "Finder" set theFolder to choose folder set theFiles to every file of theFolder end tell
repeat with thisFile in theFiles tell application Finale to activate open thisFile tell application "System Events" tell process Finale click menu item "Page Setup…" of menu "File" of menu bar item "File" of menu bar 1 delay 0.2 tell window 1 click pop up button 2 click menu item 4 of menu 1 of pop up button 2 -- item 4 is 'A5', change to the one you need. delay 0.1 click button "Ok" end tell delay 0.2 click menu item "Save" of menu "File" of menu bar item "File" of menu bar 1 click menu item "Close" of menu "File" of menu bar item "File" of menu bar 1 end tell end tell end repeat | Back to Top | | Forum Information | Currently it is Tuesday, December 19, 2023 8:20 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
|
Forum powered by dotNetBB v2.42EC SP3 dotNetBB © 2000-2023 |
|
|