Re: [tw5] Is there a way to create a tiddler using text that is stored in the clipboard?

2020-12-12 Thread springer
Wow, Thanks, Eric! For book references, it works straightaway! For more general use, this part would need tweaking: removeprefix[@book The "book" part is actually important in the bibtex system, since it belongs in the type-field. Of course, filling in the type field manually isn't

Re: [tw5] Is there a way to create a tiddler using text that is stored in the clipboard?

2020-12-12 Thread Eric Shulman
addendum: > <$vars f={{{ [split[={]first[]trim[,]trim[]] }}} v={{{ > [split[={]rest[]trim[,]trim[]] }}}> > Note that these inline filters use the enhanced trim[...] operator available in soon to be released TW5.1.23 -e -- You received this message because you are subscribed to the

Re: [tw5] Is there a way to create a tiddler using text that is stored in the clipboard?

2020-12-12 Thread Eric Shulman
On Friday, December 11, 2020 at 4:45:33 PM UTC-8 springer wrote: > drag and drop the contents of a field-parsable string (onto a special > bibtex or json drop area if need be) and have tiddlywiki parse directly, > populating fields if field patterns are present? > Try this: \define

Re: [tw5] Is there a way to create a tiddler using text that is stored in the clipboard?

2020-12-12 Thread Mohammad
See https://github.com/Jermolene/TiddlyWiki5/issues/5261#issue-763431242 On Saturday, December 12, 2020 at 10:44:10 AM UTC+3:30 saq.i...@gmail.com wrote: > @springer So the dropzone widget which handles the import/paste/drag > actually lets you specify how to interpret the incoming text. > >

Re: [tw5] Is there a way to create a tiddler using text that is stored in the clipboard?

2020-12-11 Thread Mohammad
Hi Saq, Great tip. I will submit a ticket. Cheers Mohammad On Saturday, December 12, 2020 at 10:44:10 AM UTC+3:30 saq.i...@gmail.com wrote: > @springer So the dropzone widget which handles the import/paste/drag > actually lets you specify how to interpret the incoming text. > > So

Re: [tw5] Is there a way to create a tiddler using text that is stored in the clipboard?

2020-12-11 Thread Mohammad
Hi Springer, I use the multiple citation export from Google Scholar see: https://uri.libguides.com/google/gscholexport After I finished I download the text file and save as .bib and then drag and drop into my Tiddlywiki with BibtexImporter plugin installed. --Mohammad On Saturday,

Re: [tw5] Is there a way to create a tiddler using text that is stored in the clipboard?

2020-12-11 Thread Saq Imtiaz
@springer So the dropzone widget which handles the import/paste/drag actually lets you specify how to interpret the incoming text. So theoretically something like this should work: <$dropzone deserializer="application/x-bibtex"> paste/drag bibtex here However, it turns out that the

Re: [tw5] Is there a way to create a tiddler using text that is stored in the clipboard?

2020-12-11 Thread 'Mark S.' via TiddlyWiki
If you edit the import tiddler, you'll see it's actually a JSON structure. So you could possibly use the JsonMangler plugin in conjunction with your own "import" button that would fetch all the values, add your own fields, and create the tiddler. This

Re: [tw5] Is there a way to create a tiddler using text that is stored in the clipboard?

2020-12-11 Thread TW Tones
Springer, Some thoughts for you; - When you paste text onto tiddlywiki the import mechaisium will create an "untitled n" tiddler. Go ahead and import it. - You can create a view template on tiddlers beginning untitled that tests the content of the text field for various conditions.

Re: [tw5] Is there a way to create a tiddler using text that is stored in the clipboard?

2020-12-11 Thread springer
I just discovered this thread, while trying to understand related issues. My workflow includes, for example, coming a cross a citation in google scholar, which I can display in bibtex format like so: @book{crary2016inside, title={Inside ethics}, author={Crary, Alice},

Re: [tw5] Is there a way to create a tiddler using text that is stored in the clipboard?

2020-11-10 Thread TW Tones
David, In a similar vein for creating tiddlers from found text the OT and your desire for "loaded" new tiddlers, One idea I had was to create a tab in the side bar with a drop zone. Text dropped there would be imported silently and create a tiddler according to a set of standards and fields

Re: [tw5] Is there a way to create a tiddler using text that is stored in the clipboard?

2020-11-10 Thread David Gifford
I decided to delete and rewrite my post since it was somewhat incomprehensible: I have an idea that if implemented in TiddlyWiki, would solve si's problem, and would also solve a problem of my own: my problem is that sometimes I want any tiddler generated by creating a wikilink then clicking

Re: [tw5] Is there a way to create a tiddler using text that is stored in the clipboard?

2020-11-10 Thread David Gifford
Jeremy, if you are still watching this thread: I have an idea that would solve si's problem and one of mine: wanting to have new tiddlers created by hyperlinking in tiddlers to have certain fields and data. Solution: in the control panel > info there could be a tab with a mechanism to create

Re: [tw5] Is there a way to create a tiddler using text that is stored in the clipboard?

2020-11-10 Thread si
Hi Jeremy thanks for the response. I was specifically hoping to be able to do it with something like $action-createtiddler so that I could auto-populate the new tiddler with whatever fields and tags I need. My specific use case is that when I'm reading a PDF I usually create a tiddler to

Re: [tw5] Is there a way to create a tiddler using text that is stored in the clipboard?

2020-11-09 Thread Jeremy Ruston
On a device with a keyboard you can click on TiddlyWiki's page background and then use the keyboard shortcut for "paste". The $:/Import dialogue should open with the pasted item as a tiddler. Best wishes Jeremy. -- Jeremy Ruston jer...@jermolene.com https://jermolene.com > On 9 Nov 2020, at

[tw5] Is there a way to create a tiddler using text that is stored in the clipboard?

2020-11-09 Thread si
Say you have copied a paragraph of text and it is stored in your clipboard. Is there a way to create a button in TiddlyWiki that will create a new tiddler whose "text" field is populated with whatever was stored in your clipboard? I'm not expecting the answer to be yes but I thought I'd ask