Relative Path for Execute
Posted: Tue Aug 03, 2021 8:02 pm
I am attempting to get a local html page opened from within an Edit Controls Button and I am getting very confused with path maps.
"os.execute ("start ../galleries/gallery.html" )" using this code in execute opens up the gallery.html as long as it is in C:\Program Files\Blackmagic Design\galleries.
However I am looking to use the Comps: path so I am able to place the galleries folder in #:\Documents\Blackmagic Design\Fusion. I wish to use the Comps: so it will open on another computer. I have read through the pathMap posts but unfortunately can not find my answer. Any help would be appreciated.
"os.execute ("start ../Comps:galleries/gallery.html" )" Doesn't work, I know I am getting the syntax wrong. the correct one would blow me away. TIA
"os.execute ("start ../galleries/gallery.html" )" using this code in execute opens up the gallery.html as long as it is in C:\Program Files\Blackmagic Design\galleries.
However I am looking to use the Comps: path so I am able to place the galleries folder in #:\Documents\Blackmagic Design\Fusion. I wish to use the Comps: so it will open on another computer. I have read through the pathMap posts but unfortunately can not find my answer. Any help would be appreciated.
"os.execute ("start ../Comps:galleries/gallery.html" )" Doesn't work, I know I am getting the syntax wrong. the correct one would blow me away. TIA