integer or string

A forum dedicated to George scripting questions
Post Reply
jeremyb
Posts: 31
Joined: 31 Jul 2020, 08:52

integer or string

Post by jeremyb »

hi,

If i want to export movie, working as expected like this :

Code: Select all

tv_firstimage
frame_in = result
tv_lastimage
frame_out = result

tv_LockDisplay "Export MOV..."
tv_SaveMode "Mode=1015"
tv_SaveSequence playblastFullPath frame_in frame_out
tv_UnLockDisplay
BUT
if i get frame_in, frame_out from tv_ReadUserString

Code: Select all

tv_ReadUserString "VfxConfig" "StartFrame" ""
blastFrameIn = result

tv_ReadUserString "VfxConfig" "EndFrame" ""
blastFrameOut = result
isn't working

I think there an issue with string > integer, and that why tv_SaveSequence with tv_ReadUserString parametrers doesn't work.
i'm good ? how can i convert string to integer ?

regards,
WINDOWS 10 : 10.0.19044 Build 19044
TVPAINT : 11.5.3-64bit dec 3 2021
CPU : i9-9900
RAM : 64Go
CG: RTX 2080 SUPER 8go
Post Reply