Jump to content
Sign in to follow this  
Srex

Outputlocation bugs

Recommended Posts

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:
'>

Share this post


Link to post
Share on other sites

IT WORKS NOW

'I have 1 more problem, idk who to give "answered" thingy xD

so many people helped me thanks to every single one of you guys :D
Dont worry I'll be back to bug you guys :D

Edited by Srex

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...