Hello David,
I'm grateful for your assistance.
Hello David,
I'm grateful for your assistance.
Hello David,
Yes, I responded with this code. also, the user can choose the location of the file:
But the problem is that it does not work for Android!
Your description was very good and useful.
Thank you for your guidance and support.
Hi David,
I have an array I want to convert it to a CSV file and save it in the path that the user chooses.
Does the AB action have this capability or should I use js?(like PDFmake example in sample)
ThanksHi David,
Oh yes, sorry I didn't use read event!
I got the result now ≧◔◡◔≦
I cannot thank you enough for helping me✿
Hi David,
Thanks for your very good description, I tested this option:
SplitStr "[Input1.Data]" "," "[FileDataArray]"
but when I select the file after that [Input1.Data] is empty(no data returns)!
So this line has error because my array does not have data
ArrayGetItem "[FileDataArray]" "1" "[FileBase64]"
-What's wrong with me?
Thank you for your help
I can read the file(.csv) that add to my app with file manager/other and read the data in the file, now I want to read the file that the user has chosen.
I use file control but I can not get the file path with [Input1.Url] or [Input1.Value], because I want to use it in FileRead action.
-Is this possible?(or should I use another method?)
ThanksHi David,
My problem was not to select the files plugin!
Your good and complete description helped me and my problem has been resolved.
thank you very much.Hi David,
I wish you a very sweet and prosperous New Year.
I want read and write in file, I'm doing these steps:
for write:
FileWrite "Other.txt" "[WriteTextarea.Value]" "ErrorCallback" "SuccessCallback"
fore read:
FileRead "dataDirectory" "Other.txt" "ErrorCallback" "SuccessCallback"
and add 2 functions
ErrorCallback:
Alert "Error" "Read or write error: [Error]"
SuccessCallback:
SetVar "[ReadTextarea.Value]" "[Text]" "String"
and also add text file to the file manager.
But my program does not work!
-Where is my mistake?
-How does [text] argument work in SuccessCallback function?
-What is the difference between applicationDirectory and dataDirectory in FileRead function?
ThanksThis is quite true, Thanks for your reminders.
An early reply would be appreciated.
StrSerialize action is great! I did not know about this, It made me easy.
Thank you so much for your good guidance,
Hello David,
I have NewObject that I want save this in local storage, Is there a function in AB like SetOption in array to save object in local storage? or i should use java script like this:
I look forward to hearing from you.
Thank you,
Hello David,
Yes, that's right, Also, Sometimes it is necessary to use a one local storage in two programs, this is a good solution.
Tanks and have a good time,Hi David,
I have two separate projects, in my first project i have local storage called "localstorage1" and In my second project, I have a local storage called "localstorage1"
I have two questions:
1) in first project i have 2buttons:
cod for button1(click):
cod for button2(click):
I run my project for the first time and click on the button2 I see: Input1.Value=""
After that i click on the button1 I see: Input1.Value=MyData
It's true, now i delete compiled and history files and run the project again, click on the button2: I see: Input1.Value=MyData
i tested it for several times, for the first time it's true after that even if i delete compiled and history file it's return last data! why?
2)in second project i have local Storage with the same name in the first project
when i want use this, it's return data of first project! Even I will completely delete all compiled and history files, i think local storage with a similar name in different project, it's still shared. How can I fix this problem?
thanks,
Everybody can read the DecSoft support forum for learning purposes, however only DecSoft customers can post new threads. Purchase one or more licenses of some DecSoft products in order to give this and other benefits.
This website uses some useful cookies to store your preferences.