• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Script to change width of a frame to column width

Participant ,
Mar 17, 2022 Mar 17, 2022

Copy link to clipboard

Copied

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. 

 

danielw42205661_2-1647571777824.png

 

 

 

TOPICS
Scripting

Views

396

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Guru , Mar 17, 2022 Mar 17, 2022

Check out my Size to column script.

Votes

Translate

Translate
Guru ,
Mar 17, 2022 Mar 17, 2022

Copy link to clipboard

Copied

Check out my Size to column script.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Mar 17, 2022 Mar 17, 2022

Copy link to clipboard

Copied

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. 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guru ,
Mar 18, 2022 Mar 18, 2022

Copy link to clipboard

Copied

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Nov 17, 2024 Nov 17, 2024

Copy link to clipboard

Copied

Hi @Kasyan Servetsky 

There's something wrong with your script.
Can you make the image fit the type area or column width, scaled proportionally by width.
And not just the frame fit.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 17, 2024 Nov 17, 2024

Copy link to clipboard

Copied

@dublove 

 

Do you plan on hijacking every thread with some script?

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Nov 17, 2024 Nov 17, 2024

Copy link to clipboard

Copied

Haha, You are waiting for me.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Nov 17, 2024 Nov 17, 2024

Copy link to clipboard

Copied

LATEST

No, just checked new posts. 

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines