Page 1 of 1

May exprted EXE (or vst) save a choosen file location?

Posted: Mon Aug 12, 2013 9:49 am
by kortezzzz
hi everybody.

Got some "post- exporting" problems:
i would like that my project will save a file into a manual selected folder location and will load that file in the future every time the user fires it up, untill he chooses other location manually. to make it happen, i'v used 4 primitives:
1)"file dialog"- to choose the wanted folder.
2)"save text"- to save the text in the chosen folder (by "file dialog")
3)"load text"- to load the specific SAVED file from the the chosen folder
4)"afterload"- to load the file every time the user fires the application up

the problem is that after the project compiled, i try to save the file location, but file dialog
doesn't realy saves the selected location and always sending zero value after reloading, so the app never finds the last selectrd folder location again. what i'm doing wrong? is it a string primitive disadvantage or what?
please take a look at the attachments. i'v attached tboth FSM and .exe

Re: May exprted EXE (or vst) save a choosen file location?

Posted: Tue Aug 13, 2013 9:41 am
by billv
had to change a bit....your fsm confused me a little...
Functions now as you want it, ..the 'file found/not not found' seems to work ok too.
Hope it helps...
save a flie_12-1_fix.fsm
(68 KiB) Downloaded 952 times

Re: May exprted EXE (or vst) save a choosen file location?

Posted: Tue Aug 13, 2013 2:13 pm
by kortezzzz
THANK YOU BILLV!!!
it works great :)
now i understand what i'v done wrong. thanks a lottttttttt, man.