Notifications
Clear all

[Closed] Something to rename a file after output from a plugin?

Is there a way in Maxscript to catch the filename of an output file if it is generated by a plugin?

I have a plugin which outputs files with a filename, I would like to automatically truncate the filename after they are output. (or before they are written to disk if that is possible).

I can’t seem to see any events in the listener for filenames or even file saves. Button clicks are there, but that is about as far as I got.

4 Replies
1 Reply
(@rustyknight)
Joined: 11 months ago

Posts: 0

I think it would depend on what the plugin provided.

Does the plugin provide any access via maxscript?
Does it have a dialog box perhaps that allows you to change the filename?

Shane

Dialogue filename wont save the filename. Probably a bug.

Not sure if it is open to maxscript. When I am in record mode it only picks up on button clicks, except for the filename button :-/

1 Reply
(@rustyknight)
Joined: 11 months ago

Posts: 0

What plugin are you using??

Shane

would a post-render script in the ‘render scene dialog work’ ?

Or possibly a script using callbacks after each frame is rendered?