This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Name: Note Generator | |
// Author: Lucas L. Steinmacher | |
import "@johnlindquist/kit" | |
import fs from "fs" | |
/** | |
* select folder that you want the notes to be generated for | |
*/ | |
let folderPath = await selectFolder(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Name: rename ordered files | |
// Author: Lucas Steinmacher | |
// Description: renames a batch of ordered files with a prefix that you supply and starting at a given index that you supply | |
import "@johnlindquist/kit" | |
import fs from "fs" | |
// Note: Dropping one or more files returns an array of file information | |
// Dropping text or an image from the browser returns a string | |
let fileInfos = await drop() |