Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
blocks:app-note:textfile [2021-05-10 15:17]
mattias [The user script]
blocks:app-note:textfile [2021-05-10 15:18]
mattias [The text file]
Line 57: Line 57:
 The file we use as source is a plain text file with a carriage return in between every data entry, the file is located at the Blocks default file location /script/files/. The file we use as source is a plain text file with a carriage return in between every data entry, the file is located at the Blocks default file location /script/files/.
 If a SimpleFile is used to read a text file and the file is kept at the default location only the filename must be specified. If you want to user some other folder the full file path must be used.  If a SimpleFile is used to read a text file and the file is kept at the default location only the filename must be specified. If you want to user some other folder the full file path must be used. 
-:!: This user script can only access files stored locally  in the blocks root directory in any directory either in or under /public/ or /temp/.+ 
 +:!: This user script can only access files stored locally  in the blocks root directory either in or under /public/ or /temp/.
  
 {{:blocks:app-note:text-list:textfile.jpg?1000|}} {{:blocks:app-note:text-list:textfile.jpg?1000|}}