Yes, because good old Gmail only sent me the copy from Thomas and not
the one from the list. My reply below. It's nice not getting duplicate
copies of messages, though I would have preferred its sending the other
one in this case. Considering the continuing absence of spam, I can
again easily forgive.
Roy
> Thomas O. wrote:
>
>> Though I defenitely won't want to make the upper big monitor to the main screen I'll try your script.
>
> Here's a simpler version:
>
>> tell application "Adobe InDesign CS5.5" -- or your version
>> set bounds of layout window 1 to {[your bounds]}
>> end tell
>
> The earlier version only moves the window if a second screen is actually attached - not a bad idea, but then you need the pixel dimensions of that screen rather than my "1920 1200".
>
>> Please, what is the order/meaning of the 4 numbers of 'layout window'?
>
> I'd forgotten myself and had to look just now in the layout window bounds property of the scripting dictionary: "top, left, bottom, right".
>
>> I tried with your values but can't get it.
>
> You need your own values, which you can get by zooming a window to fill the desired screen and running:
>
>> tell application "Adobe InDesign CS5.5" -- or your version
>> get bounds of layout window 1
>> end tell
>
>> They seem to me neither coordinates (left, right, top, bottom) nor size (width, height) – how do I read them?
>
> They're coordinates, in pixels.
>
>> And, are they relative to the upper left corner of the main screen (my lower, macbook screen) ?
>
> I think so.
>
>
> Roy