Thanks Mads,
But how do I use a 'function'? I can't find any documentation about it. I'm reading some stuff about an 'include george file', but I really have no idea how to use it.
EDIT:
After looking at some of your old posts I'm using this:
Code: Select all
tv_GetProjectName
projectpath = result
tv_clipname
clipName = result
projectpath = Replace(projectpath,'\','/')
strlen = LEN(projectpath)
last = LastPos(projectpath,"/")
projectdir = LeftString(projectpath,last-1)
last = LastPos(projectdir,"/")
projectdir = LeftString(projectpath,last-1)
last = LastPos(projectdir,"/")
projectdir = LeftString(projectpath,last-1)
projectname = RightString(projectpath,strlen-last)
strlen = LEN(projectname)
last = LastPos(projectname,".")
IF CMP(last,"0")==1
projectbase = projectname
ELSE
projectbase = LeftString(projectname,last-2)
END
saveDir = projectdir"/Renders/"clipName
Allthough I don't really understand everything I'm doing, at least it's working!
Thanks