Edit background scr...
 
Notifications
Clear all

Edit background script?

8 Posts
5 Users
0 Reactions
4,173 Views
Posts: 134
Topic starter
(@rrowan)
Estimable Member
Joined: 19 years ago
[#5515]

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.


7 Replies
Wayne J
Posts: 7789
(@wayne-j)
Illustrious Member
Joined: 20 years ago

Edit it in the same screen in Vixen you created it. Save it. Done. May have to complie it again. Not sure on that.


Reply
Posts: 38
(@knguyen220)
Trusted Member
Joined: 19 years ago
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).


Reply
Wayne J
Posts: 7789
(@wayne-j)
Illustrious Member
Joined: 20 years ago
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'.


Reply
Posts: 134
Topic starter
(@rrowan)
Estimable Member
Joined: 19 years ago

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.


Reply
Posts: 345
 Trip
(@trip)
Reputable Member
Joined: 19 years ago

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?


Reply
A Marchini
Posts: 426
(@a-marchini)
Reputable Member
Joined: 19 years ago
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.


Reply
Posts: 38
(@knguyen220)
Trusted Member
Joined: 19 years ago
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


Reply
Share: