Community Forums Archive

Go Back

Subject:Compile problem
Posted by: Canine Studio
Date:4/21/2005 2:38:32 PM

When I click the Compile Script button in the Script Editor dialog box the transcript comes back with the message:

Compile OK

But, I cannot find the .cs.png file anywhere on my system (yes, I did a complete search with the Windows XP find dialog box).

What am I missing? Do I need to own a separate compiler? I assumed SF8 had it's own.

Thanks in advance.

Subject:RE: Compile problem
Reply by: jetdv
Date:4/21/2005 4:21:33 PM

A PNG file is a PICTURE. You would have to create the picture yourself. That is the image that would appear if you added the script to your toolbar.

Subject:RE: Compile problem
Reply by: Canine Studio
Date:4/21/2005 6:55:56 PM

OK. I realize that a true PNG file is a picture file. I _assumed_ that a .cs.png file was the compiled file. If it isn't, WHERE IS THE COMPILED FILE?

The file I tried to compile was the "remove markers" file that was posted in this forum. When I run it after compiling, it just hangs.

My assumption is that COMPILING a .cs file results in a COMPILED file. Where is that file located? What is it's extension?

Thanks in advance.

Subject:RE: Compile problem
Reply by: Canine Studio
Date:4/22/2005 6:14:05 AM

One correction to my previous post - the script hangs when there are a lot of markers. When there are a few markers, it does not hang. But it doesn't remove the markers either.

So, I'm going to assume (there's that word again) that all is well with my system and the script does not do what it is claimed to do.

Thanks for your explanation about the .cs.png files. Yes, they are picture files.

But, I'm still curious about the location of the resultant compiled file...

Subject:RE: Compile problem
Reply by: SonyKV
Date:4/22/2005 11:01:11 AM

I think this will answer your outstanding question.
The Sound Forge Script Editor will display, compile and run a script for you.

As you know, the script files are simply text files with specific file extensions. When you compile, you are not making a new file. Rather, you are confirming that there are no syntax errors in the code before you run the file.

Subject:RE: Compile problem
Reply by: Canine Studio
Date:4/22/2005 4:11:07 PM

Thank you for the explanation.

Subject:RE: Compile problem
Reply by: _TJ
Date:4/22/2005 7:51:00 PM

In case it's not already clear. You aren't required to use the Compile button at all. When you hit the Run button in the script editor, it will always compile your script (into ram) before executing it.


Go Back