Sony SF-10000 User Manual

Page of 382
Creating custom button images 
You can display custom button images for the scripts that you have added to the toolbar by adding .png files to your Script Menu folder. 
1. 
Create a .png file with the icon that you want to use. 
Note: 
Icons should be 16x16 pixels. Transparency is supported. 
2. 
Save the .png file in your Script Menu folder using the same name as the name of the script that you want it to represent (i.e. to 
assign a custom icon to the HelloWorld.js script, the icon should be saved as HelloWorld.js.png). 
Note: 
The Script Menu folder can typically be found in the following location: C:\Program Files\Sony\Sound Forge Pro 10.0\Script 
Menu. 
3. 
Customize the toolbar as needed. The custom icons will display on the Scripting toolbar the next time you start the application. 
Running a script 
You can run scripts using a single click if you have customized the Scripting toolbar to include buttons for scripts that you have created. 
1. 
Click in the data window where you want to apply the script to establish focus. 
2. 
Click the button of the script that you would like to run on the Scripting toolbar. 
Tip:
 You may need to hover a button to display a ToolTip, which displays the name of the script associated with the button. 
USING SCRIPTING 
237