; ----------------------------------------------- #include #include ; ----------------------------------------------- RestoreSceneData() ; ----------------------------------------------- ; Example A: Employing a less flexible and dynamic approach. Func RestoreSceneData() Local $MyBox = MsgBox($MB_YESNO, "Notice!", "Restore Text Data?") ; ----------------- If $MyBox == 6 Then ; First, select the .txt data file Local Const $sMessage1 = "Select the .txt file(s)..." Local $sSelectTxtFile = FileOpenDialog($sMessage1, "", "Text File (*.txt)", BitOR($FD_FILEMUSTEXIST, $FD_MULTISELECT)) ; ----------------- ; Second, select the destination folder location for the .txt data file(s) Local $sDstLocation = "C:\Src\" Local $sSelectTxtDstData = ($sDstLocation) ; <<<< A "hard-coded" destination folder location"! >>>> ; ----------------- ; SECTION C: Copy the selected data ConsoleWrite($sSelectTxtFile & @CRLF) ;~ RestoreWTxtData($sSelectTxtFile) ElseIf $MyBox == 7 Then EndIf EndFunc ;==>RestoreSceneData ; -----------------------------------------------