Home Coding, Scripting, Shaders

copy/paste string as a filename save scene

Hi

I'm using the X-ray tools for s.t.a.l.k.e.r
I would like to save the individual animation sequences.

The rollout has a list of animation names, a load animation and reset pose button.
I inserted setclipboardText AName inside xrTools.LoadMotion.ms which copies the loaded animation name to the clipboard
next I want to save the file as .max before resetting the pose.

How do I pass the clipboard contents as a filename.

I tried

saveMaxFile getclipboardText useNewFile:true

-- Unable to convert: getclipboardText() to type: FileName <<

I found this thread
my knowledge of scripting is limited any help would be greatly appreciated
Thanks

Replies

Sign In or Register to comment.