Hi Folks,
How does one edit a script after its been compiled and running. I wish to make a couple changes for improvement of the script and I don't see away to do it.
Thanks
Rick R.
Edit it in the same screen in Vixen you created it. Save it. Done. May have to complie it again. Not sure on that.
Wayne J wrote:Edit it in the same screen in Vixen you created it. Save it. Done. May have to complie it again. Not sure on that.
I believe what rick is refering to is if he closed out vixen and reopens it there is no means of editting the .cs file that was created for the background sequence.
What I mean is what one would do is goto Sequence>>Open Sequence Event>> then change the file type to Script project and select the cs script that was created (You won't even see the script file you would need to need to type in *.* in the filename to ave it showing).
The only method, I thought of was editing the cs file through notepad and redo the entire sequence again (adding module, importing channels, adding plugin). The only difference is you would just copy and paste the source code from your current file and compile and save it as a new sequence.
The question is how do you edit it without redoing all the steps mentioned above (adding module, importing channels, adding plugin).
knguyen220 wrote:I believe what rick is refering to is if he closed out vixen and reopens it there is no means of editting the .cs file that was created for the background sequence.What I mean is what one would do is goto Sequence>>Open Sequence Event>> then change the file type to Script project and select the cs script that was created (You won't even see the script file you would need to need to type in *.* in the filename to ave it showing).
The only method, I thought of was editing the cs file through notepad and redo the entire sequence again (adding module, importing channels, adding plugin). The only difference is you would just copy and paste the source code from your current file and compile and save it as a new sequence.
The question is how do you edit it without redoing all the steps mentioned above (adding module, importing channels, adding plugin).
When I do the above, my project comes up and can edit it. Though, I do not have to type the asteriks, just click the pulldown tab in the file types and choose 'script projects'.
Hi Ken and Wayne
I did find that you can just open the script back up and work with it. In fact I just click on Sequence menu and go to recent and grab it from there.
Many thanks for all of the help
Rick R.
rename the background sequence file from examplefilename to examplefilename.vsp and then it becomes visible to edit it, just add the .vsp to the end. Is that the problem you are having, just not being able to find it in open?
Trip wrote:rename the background sequence file from examplefilename to examplefilename.vsp and then it becomes visible to edit it, just add the .vsp to the end. Is that the problem you are having, just not being able to find it in open?
I have noticed this too, the "Save As" option for scripts doesn't append .vsp to the project. I have been just going into the directory and adding it.
Then the project shows up as it should.
I wonder if that is in the bug tracker.
Tony M.
Trip wrote:rename the background sequence file from examplefilename to examplefilename.vsp and then it becomes visible to edit it, just add the .vsp to the end. Is that the problem you are having, just not being able to find it in open?
That did the trick. Bascially it didn't have the extension therefore I couldn't see it
