copy file name

hi scriptwriters

I have no clue from scripting, so I ask here. :)

I need to copy the file name to clipboard, and I ask myself if it's possible to make this via script. so I would like to have a button and it copies the max filename to clipboard.

is this possible?

thanks in advance.

best regards
themaxxer

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
miauu's picture

.

The filename of currently loaded 3dsMax file?

Here is the macro. Install it, assign a hot key, or create a toolbar button and use it.

macroscript miauuCopyMAXFileNameToClipboard
category:"miauu"
tooltip:"Copy MAX file name to clipboard"
buttonText:"Copy MAX file name to clipboard"
(
	setClipboardText maxFileName
)
themaxxer's picture

so cool, thank you. I have a

so cool, thank you.
I have a lot of your scripts. :)

best regards
themaxxer

miauu's picture

.

I'm glad to help.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.