ScriptSpot

Forum topic · Scripts Wanted

copy file name

By themaxxer · 2016-12-07

Description

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 (3)

.

miauu · 2016-12-07

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 · 2016-12-07

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

best regards
themaxxer

.

miauu · 2016-12-07

I'm glad to help.