Skip to main content
danielw42205661
Known Participant
March 18, 2022
Answered

Script to change width of a frame to column width

  • March 18, 2022
  • 1 reply
  • 787 views

Is it possible to write a script so that when run on a selected frame, it resizes the width only (keeping the left of the frame where it is) to the right edge of the column the frame is currently in? 

 

If it's not possible I would still be interested on the same thing where there's only a single column in the doc.  Thanks. 

 

 

 

 

This topic has been closed for replies.
Correct answer Kasyan Servetsky

Check out my Size to column script.

1 reply

Kasyan Servetsky
Kasyan ServetskyCorrect answer
Legend
March 18, 2022

Check out my Size to column script.

danielw42205661
Known Participant
March 18, 2022

This is exactly what I need. Thanks! 

 

Going to check out the rest of your website. Looks like it has a tonne of goodies. Thanks again. 

Kasyan Servetsky
Legend
March 18, 2022

Now I re-read your post. You want: "keeping the left of the frame where it is".
Here I made a quick & dirty version -- removed some code -- so the object always moves to the right column.