tiddlyclip
tiddlyclip copied to clipboard
Taking two snaps on one page inserts same reference
If you take two snaps of one page, two thumbprints are created. However the inserted transclusion will only refer to the first thumbprint.
You could tag them:
|!Title|!Body|!Tags|!Fields modifiers|!field initials|!Modes| |((*@pageTitle*))/thumbprint|((*@exists(@snap)*??*@snap*))| [[((*@pageTitle*))]]||{"$type":"image/png"},{"$when":"((*@dateTimeShort*))"},{"$location":"((*@pageRef*))"}|[[SnapRuleMode]]| |((*@pageTitle*))|<$list filter='[tag<currentTiddler>]'>{{}}<hr></$list>|||{"$location":"((*@pageRef*))"},{"$caption":"((*@pageTitle*))"},{"$when":"((*@dateTimeShort*))"}|once add|
The problem wasn't finding the images. The hope was to be able to snap images alternately with snipped text and have them both accumulate in a tiddler. Thanks!
Being able to insert my own file name would work in my use case. What is the variable for the "User note" text box? Thanks!
The variable is @userstring
, and userstring must be entered into the modes column of the TiddlyClipConfig like so
But I have also created some new rules to handle this case - if you want you use, replace defaultSnap
with SnapToInternal
in the tiddlyclip config.
for saving images internal to TW snapextra.json.zip
for using with media saver also these are needed
The variable is
@userstring
, and userstring must be entered into the modes column of the TiddlyClipConfig like so
This seems to work pretty well. But I was wondering about how to reference the "Enter Note" box?
I did try to look at the extension source code, but couldn't figure out where the parameter was exposed for the user. Thanks!
In the addon all the variables are gathered in pageData.js before being dispatched to the plugin.
The variable is @note
and like @string
note
should appear in the modes column of the TiddlyClipConfig