How to get TextSoap windows into the cascading view?

4 views
Skip to first unread message

omn...@gmail.com

unread,
Nov 3, 2025, 4:24:11 PMNov 3
to TextSoap
Sometimes when many TextSoap windows are open, and especially Untitled ones have to be closed, it would be handy to have them tiled or cascaded (as in Graphic Converter).

There is an AppleScript which does exactly this, bi it's for Safari windows.

Can this be adapted for TextSoap maybe?

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

tell application "textsoap9"

activate

-- Starting position for the first window

set startX to 50

set startY to 50

set offsetIncrement to 30

-- Get all TextSoap windows

set windowCount to count of windows

-- Loop through each window and position it (in reverse order)

repeat with i from 1 to windowCount

set currentWindow to window i

-- Calculate position for this window (reversed)

set xPos to startX + ((windowCount - i) * offsetIncrement)

set yPos to startY + ((windowCount - i) * offsetIncrement)

-- Set the window bounds

set bounds of currentWindow to {xPos, yPos, xPos + 1200, yPos + 800}

end repeat

end tell

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

/
best regards,
OmarKN
Reply all
Reply to author
Forward
0 new messages