as

Used with the do command to specify a scripting language; used with the export command to specify the file format to export to; used with the go command to specify the mode of a stack; used with the save command to specify the file file path.

# Metadata

Platforms: desktop, server, mobile OS: mac, windows, linux, ios, android, web Introduced: 1.0 Security:

# Syntax

as

# Examples

do field 1 as "Javascript"

export image "image" to file myFile as PNG

go stack "Controls" as palette

save this stack as "../Backups/Current.rev"

# Description

Use the as keyword to modify the do, export, go, or save commands.

Use the alternateLanguages function to find out which languages can be used with the do as alternateLanguage command on Mac OS and OS X.

# Tags

# See

- **keyword:** file - **glossary:** keyword, file path, command, Mac OS, OS X - **command:** export, go, do, save, do as alternateLanguage - **object:** stack - **function:** format, alternateLanguages - **control structure:** function