Studio Captures
Turn writing you already have into a Studio capture (a card, a comment, a task list) without typing the marks yourself. It can also check your file before you sync.
Press the letter right after Ctrl+T and it runs at once. Pause instead, and the list appears. Needs a file open.
Get it on your BYOK
studio.lua
- 1Download the tool.
- 2Put it in the Scripts folder on the BYOK's card.
- 3Restart the BYOK, then press Ctrl+T.
How to use it
Send writing from the BYOK into Studio, without memorizing the marks. Studio Captures does two things: it turns selected text into a capture in one move, and it checks your file before you sync.
For starting a new capture from nothing (a card you haven't written yet), use the Expander shortcuts (scard, swiki, stask…). Studio Captures is for text that already exists.
With text selected
Select some text, then Ctrl+T, s:
- Comment on selection: brackets the words and adds
::comment, cursor ready for your note. - Card from selection: asks for a handle, then a title (Escape skips either). Puts
::cardabove your text and the closing blank line below it. - Task list from selection: every line you selected becomes a
-item. - Wiki entry from selection: asks for a handle and a title, like a card.
- Note from selection: puts
::noteabove your text.
With nothing selected
Ctrl+T, s:
- Comment on this paragraph: a
::commentline under the paragraph you're in. - File details: asks for a folder, tags, and a description, each optional. Only what you answer is written. Applies to this file when you sync.
- Check captures: see below.
- Whole file is an outline: marks an empty file so Studio turns the whole thing into an outline. The file must be empty.
Comments
Select the words, choose Comment on selection, and you get
[the forge groaned awake] ::commentType your comment. The comment runs to the end of the line, so if your sentence carried on after the selected words, press Enter after the comment to keep those words in your writing.
Handles
A handle is the @word that tells Studio where a capture goes, like ::card @plot. Studio decides what @plot means; the BYOK only writes it. Handles are letters, digits, - and _, no spaces. If you type one Studio can't read, it's left off and you're told.
Check captures
Run it before you sync. It reads the whole file and tells you what Studio will see ("2 cards, 1 task"), then takes you to anything Studio would misread, one at a time:
- Words on the same line as a command (
::card The betrayal). Studio would file that as a plain note. - A handle with a space or other odd character.
- A blank line right after a command. Studio skips it and takes your next paragraph as the body.
- A command with nothing under it.
- Outline lines that aren't
^,^^,---or-bullets. ::metalines that aren'tkey: value.- A
::commentwith no text.
- Good to know
- If the words you selected appear more than once, it asks you to select a longer stretch rather than guess.
- After it jumps you to a problem, that line is left selected. Press an arrow key before running it again.
- The BYOK cannot see your Studio project. It only checks that a handle is spelled in a way Studio will accept.
- What it can touch
A tool can only do what is listed here. Nothing else. This one can:
- Read the document: Read your file and what you have selected
- Change the document: Insert or replace text in your writing
- Move you in the document: Search and jump to a match
- Show a list: Ask you to pick from a list
- Ask you to type: Ask for one short line of text
- Show a message: Put a one-line message on screen
Need help with this tool, or with tools on the BYOK? Contact support. We do not write or create tools for you. We are always open to suggestions for official ones.
