Content: Macro request.


 Share

Recommended Posts

I sure would like to have a different output than the one defaulted.

 

1455720466_CleanShot2026-04-28at16_18_38.thumb.png.e15e973d5970a7b0087aea91abacc700.png

 

Instead of:

¾ IN = 1 FT

 

I'd rather have it be like this:

¾" = 1'- 0"

 

PM me with a price, you macro masters!!!!

Link to comment
Share on other sites

16 minutes ago, Joe_Carrick said:

%box_scale.delete(' ').gsub('=',' = ').gsub('ft','\'').gsub('in','"')%-0"

 

I might suggest some more concise, slightly faster, and less lossy coding to get the same end result:

%box_scale.sub(' ft','\'').sub(' in','"')%-0"

 

That being said, neither of these would handle any edge cases very well and would only work for very basic imperial scales.

  • Like 1
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share