Page 1 of 1
Read filename and folder
Posted: Thu Feb 22, 2024 11:15 am
by sloworks
Hi, small addition to my macros/add-ins
This one reads active documents folder, filename and both and you can copy them to clipboard. I use it often for example with "save as to not native format" or when I have to email the full path to someone. GetDamnPathAndName.swp
All my SW-stuff and link to downloads:
https://sloworks.fi/muut/
Re: Read filename and folder
Posted: Thu Feb 22, 2024 2:06 pm
by gupta9665
Thank you for sharing.
Re: Read filename and folder
Posted: Fri Nov 22, 2024 7:54 am
by Fabrizio_T
Dear Sloworks,
I hope this message finds you well.
I wanted to take a moment to express my gratitude for the wonderful macro you shared.
It truly inspired me!
I've made a few slight modifications to tailor it to my needs, allowing me to copy the same data from the selected component. As a mechanical designer and not a programmer, I acknowledge that the code I've produced might not be particularly polished, but I'm pleased to say that it works!
Thank you once again for your valuable contribution. Your work has made a significant impact on my project.
Best regards,
Fabrizio
Re: Read filename and folder
Posted: Mon Nov 25, 2024 10:04 am
by sloworks
Hi, nice version. Did not understand probably all of it because the language thought :-)
It's quite annoying that SW does not give any really good way to get those names and paths...and when you get annoyed, you go and automate the damn thing so you never have to worry again :-)
Re: Read filename and folder
Posted: Mon Nov 25, 2024 10:20 am
by AlexLachance
"Get Damn Path and Name" as a macro name made me chuckle