Using Director > Playing Movies over the Internet > Retrieving network operation results with Lingo > Interacting with browsers |  |

Interacting with browsers

Lingo lets you write and read a Prefs file within the dswmedia folder and display a string in a browser's status area.

To write to a Prefs file on a local disk:

Use the `setPref` command. See `setPref`.

After the command runs, a folder named Prefs is created inside the Shockwave player folder (in the same location as the Xtras folder). The `setPref` command can write only to that folder. The default folder locations for Windows and Macintosh are as follows:

| Windows—the \Macromed\Shockwave 8 subfolder of the system folder; the system folder is typically c:\winnt\system32 or c:\windows\system
| Macintosh—the System Folder:Extensions:Macromedia:Shockwave 8 folder

The `setPref` command can't write to a file that is on a CD.

For more information, see Director and Internet Security on the Director Support Center Web site.

To return the content of a file that was written by a previous setPref command:

Use the `getPref()` function. If no `setPref` command has already written such a file, the `getPref()` function returns `VOID`. See `getPref()`.To specify text in a browser's status area:

Use the `netStatus()` function. See `netStatus`.

Note: Some browsers do not support this function.