Read file from resource not working
-
I don't know if i'm doing something wrong but if i put inside the "Read file" command an resource file path "lines from file" the function doesn't work
What am i doing wrong ?Edit : I understood what i was doing wrong , but i was wondering if you could somehow put */Desktop/software/file.txt or something similar for a fixed path so that if you move the software to another computer it will still work with the predefined path
-
@bogdan project, please
-
@denanotherday i found what i was doing wrong but if you could help me with the part i edited above i would really appreciate it
-
@bogdan If you use the file name, not the path, then you will be saved and read from the program folder.
-
File from folder and from the resource use fixed string and put the directory example D:
and from script read file by {{your_resource_path}}\file_name.txtif this not meet with ur question, lemme know :)
Regards
-
@bogdan said in Read file from resource not working:
I don't know if i'm doing something wrong but if i put inside the "Read file" command an resource file path "lines from file" the function doesn't work
Doing so means that there is path to another file inside your original file.
Just use resource anywhere in your code.