Files: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
No edit summary |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Extension|extension_img=FilesExtension.png|extension_desc=Blocks for reading and creating files.}} |
|||
'''Files''' is a [[Custom Extensions|custom extension]] that was originally included in TurboWarp. |
'''Files''' is a [[Custom Extensions|custom extension]] that was originally included in TurboWarp. The extension allows for users to upload files from their computer and have the project use them in some way. A lot of the blocks use [[Data URL]] or [[Array Buffer]] as ways of storing files. |
||
==Blocks== |
==Blocks== |
||
*[[open A File As () (block)|open a file as ()]] |
*[[open A File As () (block)|open a file as ()]] |
||
*[[open A () File As () (block)|open a () file as ()]] |
*[[open A () File As () (block)|open a () file as ()]] |
||
*[[download () As () (block)|download () as ()]] |
*[[download () As () (block)|download () () as ()]] |
||
*[[download URL () As () (block)|download URL () as ()]] |
|||
*[[set Open File Selector Mode To () (block)|set open file selector mode to ()]] |
*[[set Open File Selector Mode To () (block)|set open file selector mode to ()]] |
||
*[[last opened file name]] |
*[[last opened file name]] |
Latest revision as of 18:15, 21 June 2024
Files | |
---|---|
![]() | |
Description | Blocks for reading and creating files. |
Files is a custom extension that was originally included in TurboWarp. The extension allows for users to upload files from their computer and have the project use them in some way. A lot of the blocks use Data URL or Array Buffer as ways of storing files.
Blocks
- open a file as ()
- open a () file as ()
- download () () as ()
- set open file selector mode to ()
- last opened file name