Fog Creek Software
Fog Creek Software

CityDesk 2.0-Documentation
Where CityScript can appear

Some files in CityDesk might contain CityScript code, in between {$ and $} markers. When CityDesk publishes these files, it searches for CityScript code and runs it.

Other files, such as .JPG or .GIF pictures, can never contain CityScript code. CityDesk won't even waste time scanning such files for code -- since these are binary file formats anyway, any {$ found in one of them would be purely coincidental.

CityDesk uses the File Types settings to decide, for a given file extension, whether to scan for CityScript code.

To display the File Types settings:

*  Make sure you are in Designer Mode.

*  In the main window, choose View » File Types .

A dialog will appear listing each of the file extensions that CityDesk knows about.

For each extension, you can modify two settings:

    1. The behavior when you double-click on such a file in the main window. Use this to customize which editor CityDesk uses for this file type.
    2. Whether such a file can contain CityScript code.

To modify the settings for a file type that is already on the list:

*  Select the file type and click Edit, provide the information, and click OK.

By default, CityDesk knows about common web file types such as HTML, ASP, CFM, GIF, JPG, etc. But you can easily add additional file types. To add a new file type to the list of extensions that CityDesk recognizes:

*  Click Add, provide the information, and click OK.

To remove a file type from the list:

*  Select the file type and click Delete.

CityDesk Documentation -  Home


©Copyright 2001-2003 Fog Creek Software, Inc. All Rights Reserved.