It's been ages since I've dealt with Applescript, so advanced apologies for screwing up terminology here.
Using the following snippet, I can resize a window
tell application "BBEdit"
activate
set the bounds of the first window to {100, 0, 700, 700}
end tell
I'm interested in using a similar statement to read and then log the bounds of the first window. I tried
tell application "BBEdit"
activate
log (the bounds of the first window)
set wSize to the bounds of the first window
log wSize
end tell
but the event log listed
(*bounds of window 1*)
each time. I was expecting something more like
{100, 0, 700, 700}
My eventual goal is to create a variable that contains the window bounds, and the programmatically manipulate the values. Step one is learning how to properly log the values.
So, how can I log the bounds of a window application in Apple's Script Editor.