advena
-
Posts
3 -
Joined
-
Last visited
-
Days Won
1
Reputation Activity
-
advena got a reaction from Bhishan in Problem with Write Text File using multiple variables
Hey @Bhishan--
I decided to post this to the forum in case it helps someone else out.
There were two main things I was doing wrong. First was running each variable on its own thread. For what I was doing, the proper thing to do was to have everything on one thread (and therefore running one after the other).
The second issue I was having was with filters. You'll need to google to understand exactly why it happens (I don't understand it well enough to explain it), but I was having unwanted newlines & whitespace in the output. This meant filters weren't working as I expected (since the input to the filter had newlines etc I didn't know about). That was fixed by using some `Transform` and `Replace` utilities.
I'll attach both of the workflows based around the original workflow.
Hope these workflows help you figure it out
-Scott
Create a new note with or without selected text with Zettelkasten metadata
Create a new note (with or without selected text) & PDF from Safari tab with Zettelkasten metadata
Screenshots:
New note:
New note & PDF:
-
advena got a reaction from dfay in Problem with Write Text File using multiple variables
Hey @Bhishan--
I decided to post this to the forum in case it helps someone else out.
There were two main things I was doing wrong. First was running each variable on its own thread. For what I was doing, the proper thing to do was to have everything on one thread (and therefore running one after the other).
The second issue I was having was with filters. You'll need to google to understand exactly why it happens (I don't understand it well enough to explain it), but I was having unwanted newlines & whitespace in the output. This meant filters weren't working as I expected (since the input to the filter had newlines etc I didn't know about). That was fixed by using some `Transform` and `Replace` utilities.
I'll attach both of the workflows based around the original workflow.
Hope these workflows help you figure it out
-Scott
Create a new note with or without selected text with Zettelkasten metadata
Create a new note (with or without selected text) & PDF from Safari tab with Zettelkasten metadata
Screenshots:
New note:
New note & PDF: