how do I script 'right screen margin' in 7.0.5?

Steve Mills smills at multi-ad.com
Tue Sep 19 16:15:31 CDT 2006


On Sep 19, 2006, at 16:03:06, Prochazka, Victor (ott) wrote:

> I think it would be nifty to be able to script the sizes and  
> positions of
> the palettes individually.

You can.

tell application "MultiAd Creator Pro"
	set bounds of window "Colors" to {1511, 38, 1632, 307}
	set bounds of window "Styles" to {1511, 324, 1632, 593}
	set bounds of window "Files" to {1511, 610, 1632, 789}
	set bounds of window "Layers" to {1511, 806, 1632, 985}
end tell

I recorded changing the size of each palette. For some reason, you  
can't record moving a palette, only resizing it (I'll look into  
that). So I moved them to the right edge of my screen, grabbed the  
resize control, then moved the mouse down and back up by a pixel.  
That was I was able to record the script.

_________________________________________________________
Steve Mills                              Me: 952-401-6255
Senior Software Architect                         MultiAd
smills at multiad.com                       www.multi-ad.com




More information about the Creator mailing list