Finale SmartMusic
  Home | Log In | Register | Search | Help
   
MakeMusic Forum > Public Forums > FinaleScript - FORUM HAS MOVED! > Can't get script to set system margin to work  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 ]

Motet
Isorhythmic



Email Address Not AvailablePersonal Homepage Not AvailableSend a Private Message to MotetAIM Not AvailableICQ Not AvailableY! Not AvailableMSN Not Available
Date Joined Dec 2002
Total Posts : 12849
 
   Posted 12/22/2010 4:30 PM (GMT -5)    Quote This PostAlert An Admin About This Post.
I'm trying to write a script to indent a selected system by half an inch. I want to select a system and invoke the script on it. I've tried various variations of this:

menu item "Page Layout/Systems/Edit Margins"
expect to type 144 near Left
Press Apply
Press X

But none work. I've tried tabbing instead of "near Left" to no avail. I managed at one point to get the value into the box, but it didn't change the margin. In all cases, after running the script on the selected system, the window closes and then opens again on system 1.

Is it just buggy or am I doing something wrong?


Finale 2011b, 2005b, TGTools
Windows XP Professional, Service Pack 3

Post Edited (Motet) : 12/22/2010 2:42:57 PM (GMT-6)

Back to Top

Mircea
Registered Member



Email Address Not AvailablePersonal Homepage Not AvailableSend a Private Message to MirceaAIM Not AvailableICQ Not AvailableClick to Add mircea_fyn to Your Y! Friends List.Click to Add tv_mircea to your MSN Buddy List.
Date Joined Mar 2003
Total Posts : 642
 
   Posted 12/23/2010 4:45 AM (GMT -5)    Quote This PostAlert An Admin About This Post.
I tried to do it and I noticed that it works, but by some strange reason, the window refreshes and looses all editing before finishing. I never see the refresh when manually doing it.


©1999 - 2010 E tot ce va spun!

Finale 2011
Windows 7 Ultimate 64Bit, Phenom II x4 965, 4GB RAM

Back to Top

Motet
Isorhythmic



Email Address Not AvailablePersonal Homepage Not AvailableSend a Private Message to MotetAIM Not AvailableICQ Not AvailableY! Not AvailableMSN Not Available
Date Joined Dec 2002
Total Posts : 12849
 
   Posted 12/23/2010 2:17 PM (GMT -5)    Quote This PostAlert An Admin About This Post.
By "works," does it actually change the margin for you?


Finale 2011b, 2005b, TGTools
Windows XP Professional, Service Pack 3

Back to Top

Mircea
Registered Member



Email Address Not AvailablePersonal Homepage Not AvailableSend a Private Message to MirceaAIM Not AvailableICQ Not AvailableClick to Add mircea_fyn to Your Y! Friends List.Click to Add tv_mircea to your MSN Buddy List.
Date Joined Mar 2003
Total Posts : 642
 
   Posted 12/23/2010 6:04 PM (GMT -5)    Quote This PostAlert An Admin About This Post.
OK... had time to play around and see what's what.
This works for me:

menu item "Page Layout"
menu item "Edit Margins"
Click "All"
Type "1.44" next "Left"
Click "Apply" near "Space"
Click "X"


There are 3 things I changed.
1. Your first line wouldn't launch the window for me (I don't know why)
2. You need to select a system range for the settings. otherwise nothing is saved. I just put a click all, but you can type in systems ###-trough- ###
3. The command "Press" Apply and X creates in certain situations an error that makes the entire menu tree disappear (The edit window is invisible yet still opened, and the "Page Layout" menu is gone from the bar). I had to move to another tool and come back to have the menu and window reappear, but it was reset to previous values.


©1999 - 2010 E tot ce va spun!

Finale 2011
Windows 7 Ultimate 64Bit, Phenom II x4 965, 4GB RAM

Post Edited (Mircea) : 12/23/2010 4:22:19 PM (GMT-6)

Back to Top

Motet
Isorhythmic



Email Address Not AvailablePersonal Homepage Not AvailableSend a Private Message to MotetAIM Not AvailableICQ Not AvailableY! Not AvailableMSN Not Available
Date Joined Dec 2002
Total Posts : 12849
 
   Posted 12/23/2010 7:39 PM (GMT -5)    Quote This PostAlert An Admin About This Post.
Thanks. But I want to be able to select a single system with the mouse, then run the script to indent that system, so All or a hardwired range won't do. I thought of putting in a Pause and then typing in the system number, but Pause doesn't seem to work. It pauses, but only for a second or two.

It's all very mysterious. There's only one Apply, so why the "near Space"? "Click X" didn't work for me. The dialog would close (without indenting), then open again on system 1.

I also wound up with things in an odd state sometimes--the Page Layout tool was in effect, but all the layout boxes and handles disappeared.

I'm wary, and worry that using Finalescript is so buggy that it could trash my file. Are my fears unfounded?


Finale 2011b, 2005b, TGTools
Windows XP Professional, Service Pack 3

Post Edited (Motet) : 12/24/2010 12:47:09 AM (GMT-6)

Back to Top

Mircea
Registered Member



Email Address Not AvailablePersonal Homepage Not AvailableSend a Private Message to MirceaAIM Not AvailableICQ Not AvailableClick to Add mircea_fyn to Your Y! Friends List.Click to Add tv_mircea to your MSN Buddy List.
Date Joined Mar 2003
Total Posts : 642
 
   Posted 12/24/2010 2:15 AM (GMT -5)    Quote This PostAlert An Admin About This Post.
If instead of my "Click All" you type in 3 "Pause" commands, you have the time to type in from # to # before the script continue executing. It worked no problem for me.


©1999 - 2010 E tot ce va spun!

Finale 2011
Windows 7 Ultimate 64Bit, Phenom II x4 965, 4GB RAM

Back to Top

Motet
Isorhythmic



Email Address Not AvailablePersonal Homepage Not AvailableSend a Private Message to MotetAIM Not AvailableICQ Not AvailableY! Not AvailableMSN Not Available
Date Joined Dec 2002
Total Posts : 12849
 
   Posted 12/24/2010 2:46 AM (GMT -5)    Quote This PostAlert An Admin About This Post.
OK, I'll try 3 pauses. Does pause only pause for a short time? The documentation led me to believe it would wait until you pressed the Go button.


Finale 2011b, 2005b, TGTools
Windows XP Professional, Service Pack 3

Back to Top

Mircea
Registered Member



Email Address Not AvailablePersonal Homepage Not AvailableSend a Private Message to MirceaAIM Not AvailableICQ Not AvailableClick to Add mircea_fyn to Your Y! Friends List.Click to Add tv_mircea to your MSN Buddy List.
Date Joined Mar 2003
Total Posts : 642
 
   Posted 12/24/2010 4:50 AM (GMT -5)    Quote This PostAlert An Admin About This Post.
It pauses for a short time and continues to the next line. so if you chain more pause commands, it will increase the time you have to manually change something that is not automated like the rest of the script.


©1999 - 2010 E tot ce va spun!

Finale 2011
Windows 7 Ultimate 64Bit, Phenom II x4 965, 4GB RAM

Back to Top

Motet
Isorhythmic



Email Address Not AvailablePersonal Homepage Not AvailableSend a Private Message to MotetAIM Not AvailableICQ Not AvailableY! Not AvailableMSN Not Available
Date Joined Dec 2002
Total Posts : 12849
 
   Posted 12/24/2010 2:40 PM (GMT -5)    Quote This PostAlert An Admin About This Post.
These things need to be documented.


Finale 2011b, 2005b, TGTools
Windows XP Professional, Service Pack 3

Back to Top

Motet
Isorhythmic



Email Address Not AvailablePersonal Homepage Not AvailableSend a Private Message to MotetAIM Not AvailableICQ Not AvailableY! Not AvailableMSN Not Available
Date Joined Dec 2002
Total Posts : 12849
 
   Posted 12/24/2010 5:33 PM (GMT -5)    Quote This PostAlert An Admin About This Post.
It turns out that

menu item "Page Layout/Systems/Edit Margins"
type "0.5i" near "Left"
Press "Apply" near "Space"
Press "X" near "?"

works on the system I've selected, without needing to type anything. I guess it was the "near Space" that did it, since there are two buttons that contain the text "Apply"--thanks! I didn't see in the documentation that "near" could be used with "click."


Finale 2011b, 2005b, TGTools
Windows XP Professional, Service Pack 3

Post Edited (Motet) : 12/24/2010 3:55:02 PM (GMT-6)

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 Tuesday, June 15, 2021 11:59 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