Spreadsheet Studio
by Seth Morrow
- Opens or saves files
Plays right here in your browser, boxed in: it cannot reach your files or your computer. How that works.
About this stack
Real Excel files, made and read back in your browser. It opens playing four short scenes: a sheet fills itself and gets its colours, money format and chart; formulas and today's date; all fifteen kinds of chart; ten thousand cells written and read back, timed. Then try it yourself: type a table, pick fonts and colours, add formulas, dates, charts and a picture, and download the .xlsx, or open any .xlsx to look inside it.
What this stack uses
- Opens or saves files. It keeps things in files. In your browser these stay inside the page and are gone when you close it.
For xTalk developers: how it is built
- xlsxtDemo (Spreadsheet Studio.oxtstack): 2 objects, 3666 lines of script
Opens or saves files
- the stack script, line 1241
put specialFolderPath("temporary") into tFolder - the stack script, line 1349
put the number of bytes of URL ("binfile:" & pPath) into tBytes - the stack script, line 1363
ask file "Save the workbook as:" with tName - the stack script, line 1368
put URL ("binfile:" & sLastPath) into URL ("binfile:" & tTarget) - the stack script, line 1806
put base64Decode(kXdPicture) into URL ("binfile:" & tPicture) - the stack script, line 1828
answer file "Open an Excel workbook (.xlsx):" - the stack script, line 2025
xdCk there is a file sLastPath and byte 1 to 2 of URL ("binfile:" & sLastPath) is "PK", "the file is there and is a zip", sLastPath - the stack script, line 2099
put "this is not a workbook" into URL ("binfile:" & tPath) - the stack script, line 2101
delete file tPath - the stack script, line 2476
xdShowStory "xlWorkbookClose(book): " & xdThousands(the number of bytes of URL ("binfile:" & pPath)) & " bytes" - the stack script, line 2493
put xdFileName(sShowState["path"]) & ", " & xdThousands(the number of bytes of URL ("binfile:" & sShowState["path"])) \ - the stack script, line 3450
put URL ("binfile:" & sShowState["path"]) into tData - and 1 more
Script it builds as it runs
- send
The labels come from the checker, which reads every script without running any of it. Read all the scripts.
Open it in OXT-Beyond
- Download it (100 KB)
- Unzip the file you get.
- Open Spreadsheet Studio.oxtstack in OXT-Beyond with File > Open Stack... and change anything you like.
A stack you open on your own computer is no longer boxed in: it can do what any program can. Open stacks only from people you trust, and read the scripts first.



