Hi,
I created a simple script to open video tutorials by calling them directly from the app. The script works, but I would like to indicate the relative address instead of the absolute one. For example instead of "C:\Program Files\MAXON\CINEMA 4D R18\plugins\Video\Thrausi 1.mp4" I would like something like "folder plugin\Video\Thrausi 1.mp4".
This is a complete example scripts:
import c4d
from os import path as p
from c4d import storage as st
from c4d import gui
def main():
st.ShowInFinder("C:\Program Files\MAXON\CINEMA 4D R18\plugins\Video\Thrausi 1.mp4", True)
if __name__=='__main__':
main()
Can someone help me?
Thanks