Command List
Here are a list of commands that affect files.
export-picture-interface
Description:
Brings up the export picture dialog and saves the interface to disk as a PNG
Related Commands:
export-picture-interface-name
export-picture-interface-name
name
Parameters:
name |
String |
name of the file |
Description:
export-picture-interface-name
name exports the interface as a PNG using the file name specified
Related Commands:
export-picture-interface
export-picture-patches
Description:
Brings up the export picture dialog and saves the patches to disk as a PNG
Related Commands:
export-picture-patches-name
export-picture-patches-name
name
Parameters:
name |
String |
name of the file |
Description:
Saves the patches to disk as a PNG with the filename name
Related Commands:
export-picture-patches
import-picture
Description:
Opens up a dialog box asking the user to select a picture to import onto the Graphics Canvas. It resizes the patchcanvas to the exact dimensions of the picture, in pixels.
Notes:
Importing a picture much larger than 200x200 pixels will likely require too much memory and screen space.
Related Commands:
import-picture-name
import-picture-name
filename
Parameters:
filename |
String |
Filename of the picture to import |
Description:
Imports onto the Graphics Canvas the picture in the file specified by filename. The file is assumed to be in the current directory (as shown by the Save Project dialog box).
Examples:
import-picture-name strongbad.jpg
imports the picture file named strongbad.jpg in the current directory.
Notes:
Importing a picture much larger than 200x200 will likely require too much memory and screen space.
Related Commands:
import-picture
info-name
Description:
Returns the current filename of the information window. Returns false if no filename has been set yet.
Related Commands:
output-name
project-name
save-info
save-info-as
output-name
Description:
Returns the current filename of the output window. Returns false if no filename has been set yet.
Related Commands:
info-name
project-name
save-output
save-output-as
set-output-name
project-name
Description:
returns the current filename of the project. Returns false if no filename has been set yet.
Related Commands:
info-name
output-name
save-project
save-project-as
set-project-name
save-info
Description:
Saves the information window.
Related Commands:
info-name
save-info-as
save-output
save-project
save-info-as
Description:
Saves the information window using a different name than presently specified. A dialog box will appear to ask for the new file name.
Related Commands:
info-name
save-info
save-output-as
save-project-as
save-next-version
Description:
Saves the current project using the same name as the previous version except with a number at the end, incremented by one each time a new version is saved.
Examples:
If the current project is called Turtles1.slogo, save-next-version
will save the current project as Turtles2.slogo.
Related Commands:
save-project
save-project-as
save-output
Description:
Saves output window to a file.
Related Commands:
output-name
save-info
save-output-as
save-project
set-output-name
save-output-as
Description:
Saves the output window using a different name than presently specified. A dialog box will appear to ask for the new file name.
Related Commands:
output-name
save-info-as
save-output
save-project-as
set-output-name
save-project
Description:
Saves the current project to a file.
Related Commands:
project-name
save-info
save-next-version
save-output
save-project-as
set-project-name
save-project-as
Description:
Saves the current project using a different name than presently specified. A dialog box will appear to ask for the new file name.
Related Commands:
project-name
save-info-as
save-next-version
save-output-as
save-project
set-project-name
set-info-name
name
Parameters:
name |
String |
The name of the file |
Description:
Sets the name of the file that the info window will be saved as to name.
Related Commands:
set-output-name
set-project-name
set-output-name
name
Parameters:
name |
String |
name of the file |
Description:
Sets the name of the file that the output window will be saved as to name
Examples:
set-output-name filename
sets the name of the output file to filename
Related Commands:
output-name
save-output
save-output-as
set-info-name
set-project-name
set-project-name
name
Parameters:
name |
String |
The name for the project |
Description:
Sets the name of the current project to name.
Examples:
set-project-name "rabbits"
sets the name of the current project to "rabbits"
.
Related Commands:
project-name
save-project
save-project-as
set-info-name
set-output-name