aaah sorry i forgot the $sFileSelectFolder is the full path (except for the name)
Case $ButtonBrowseOutputLoc
$sFileSelectFolder = FileSelectFolder("Select output location", "")
If Not @error Then
$OutPutLoc = $sFileSelectFolder & '\settings.ini'
StringReplace($OutPutLoc, "\\", "\")
GUICtrlSetData($InputCheatDir, $OutPutLoc)
This is what I did and it still says
I tried making this func:
func _GetFullPath()
return $OutPutLoc = $sFileSelectFolder & '\settings.ini'
EndFunc
and then I called it into the other part like so:
Case $ButtonBrowseOutputLoc
$sFileSelectFolder = FileSelectFolder("Select output location", "")
If Not @error Then
_GetFullPath()
StringReplace($OutPutLoc, "\\", "\")
GUICtrlSetData($InputCheatDir, $OutPutLoc)
EndIf
but then it returns: '>