AutoPlay Media Studio 5.0 Knowledge Base

Displaying a Save As Dialog

Document ID: IR10067
The information in this article applies to:
  • AutoPlay Media Studio 5.0 Professional Edition


This article describes how to display a save as dialog to the user.


A Save As dialog is often presented to allow a user to select a location to save a file to.

  1. To display a Save As dialog using AutoPlay Media Studio 5.0:

    Create a Dialog.FileBrowse action. Set the FileOpen property to false:
    file=Dialog.FileBrowse(false, "Save As", "c:\\", "All Files (*.*)|*.*|", "", "", false, true);

    Please note that file is a table. In the above example, multiple file select is not allowed. To access the path returned by the FileBrowse action, use file[1] as a variable. This gets the value from the first position of the table.

  2. If you are using the Save As dialog to copy a file from your cd to the user's system, you must use a File.Copy command after the Save As dialog has been displayed:
    File.Copy("c:\\example.exe", file[1], false, false, false, false, nil);


For more information please see the following topics in the AutoPlay Media Studio 5.0 help file:

  • Program Reference | Actions | Dialog | Dialog.FileBrowse
  • Program Reference | Actions | File | File.Copy

KEYWORDS: AutoPlay Media Studio 5.0, Dialog, Save

Last reviewed: October 1, 2003
Copyright © 2003 Indigo Rose Corporation. All rights reserved.