Filename under cursor Parameter "without numeric sequence"?

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
reekydeeky
Junior Member
Junior Member
Posts: 12
Joined: 2014-01-10, 15:27 UTC

Filename under cursor Parameter "without numeric sequence"?

Post by *reekydeeky »

Hiya folks,
I'm failing to find the parameter I would need to strip a numeric sequence from a filename

ie: ImageAnimationSequence.0034.exr

preferably the file extension too.

I'm passing the parameters to my exe
"%P%O-9000.%E" "%T%O.mp4" -speed 60
Which is fine to strip the extension and replace it with .mp4 but the final output file is coming in with the sequence number of the source image.

It's just a QOL thing for me. I manually rename the result every time, but after years of doing this so many times a day I can't help but think there must be a parameter way for me to be even lazier.
User avatar
nsp
Power Member
Power Member
Posts: 1925
Joined: 2005-12-04, 08:39 UTC
Location: Lyon (FRANCE)
Contact:

Re: Filename under cursor Parameter "without numeric sequence"?

Post by *nsp »

The options to cut names are not available for the parameter of a button/user command.
The best for you would be to create an intermediate script (dos, powershell,...) to handle file name conversion and call your convertion utility.
reekydeeky
Junior Member
Junior Member
Posts: 12
Joined: 2014-01-10, 15:27 UTC

Re: Filename under cursor Parameter "without numeric sequence"?

Post by *reekydeeky »

Ah OK. Thank you for the fast reply there. At least I know that now and can stop wondering :)
Post Reply