Code: Select all
primaryExe := new Process(emuPath . "\" . executable)
ExitApp
class File
{
__New(file)
{
SplitPath, file, file, path, ext, fileNE, drive
this.FileDrive := drive
this.FileName := file
this.FileNameNoExt := fileNE
this.FilePath := path
this.FileExt := ext
msgbox % A_ThisFunc . ": " . this.FileName
}
}
class Process
{
__New(file)
{
this.processFile := new File(file)
msgbox % A_ThisFunc . ": " . this.processFile.FileName
}
}