|
|
|
|
- Compilation
- Required configuration
BurnerSelect (Function) In french: GraveurSélectionne Allows you to select the default burner. This burner will be used by default by all the burner functions. Remark: - By default, the burner used corresponds to the first burner returned by BurnerList.
- The current compilation is automatically deleted when the default burner is selected.
// Find out the burners installed Burner_List is string Burner_List = BurnerList() IF Burner_List ~= "" THEN Error("No burner was detected on the computer") RETURN END // Fill the TABLE_Burner table with the list of burners ABurner, PathOfBurner are strings  FOR EACH STRING ABurner OF Burner_List SEPARATED BY CR // Select the burner IF BurnerSelect(ExtractString(ABurner, 1)) = False THEN Error("Failure selecting the burner", ErrorInfo()) RETURN END // Path of current burner PathOfBurner = BurnerPath() // Add into the table TableAddLine(TABLE_Burner, PathOfBurner, ABurner) END
Syntax
<Result> = BurnerSelect(<Burner>)
<Result>: Boolean - True if the burner was selected,
- False otherwise. To get more details on the error, use ErrorInfo with the errMessage constant.
<Burner>: Integer or character string Index or identifier of the burner, returned by BurnerList. Remarks A compilation corresponds to the set of files that must be burned on a CD or DVD. This compilation will be taken into account next time BurnerSave is called. A compilation is automatically deleted: - when changing the type of CD/DVD to burn (BurnerMediaType).
- when selecting the default burner (BurnerSelect).
- after the call to BurnerSave (only if the burn process was started, <Result> is set to True).
- when canceling the burn process (BurnerCancel).
- when closing the current WINDEV application or WEBDEV site.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|