mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-26 02:37:01 -06:00
Export for Screens: <filename> takes the saved document's file name
In a file name pattern, <filename> is documented as the document's name without its extension, but it expanded to the File Info title whenever the document had one, so a saved my-logo.vectorcraft titled "Logo: final version" exported as Logo--final-version__Artboard 1.png. The Full Document file and the .zip took the same title. Export for Screens and the dialog's Example line now take <filename> from the document's file, as Save names it (save.rs), and fall back to the title only for a document that has not been saved.
This commit is contained in:
+3
-2
@@ -3628,8 +3628,9 @@ fallback font…), each note once; the export still writes or returns every file
|
||||
Batch exports (#1935):
|
||||
- **What:** `layers: [id…]` (each layer's art alone) or `selection: "one" | "each"` instead of artboards
|
||||
(`assets`, `fullDocument` as before).
|
||||
- **Names:** `name` is a pattern for every file: `<filename>` (the document), `<name>` (the artboard, asset, layer
|
||||
or object), `<index>`, `####` (a counter zero-padded to the run of `#`, from `counterStart`; `counterPer: "item"`
|
||||
- **Names:** `name` is a pattern for every file: `<filename>` (the document's file name without its extension, or
|
||||
its title before it is saved; the Full Document file and the `.zip` use the same name), `<name>` (the artboard,
|
||||
asset, layer or object), `<index>`, `####` (a counter zero-padded to the run of `#`, from `counterStart`; `counterPer: "item"`
|
||||
or `"file"`), `YYYYMMDD`, `YYYY-MM-DD`, `<date>`, `<time>`, `<format>`, `<scale>` and `<suffix>` (else the row's
|
||||
suffix ends the name; `date` sets the day the pattern uses). Different files it names alike get `-2`, `-3`….
|
||||
- **Folders:** `folders: "none" | "rows" | "format" | "item" | "itemFormat"` (all in one, a folder per row, per
|
||||
|
||||
Reference in New Issue
Block a user