Hi Mario,
you are 100% right I cannot have a dialog.
I found this discussion : Choose a default directory with the <$browse> widget - Discussion - Talk TW (tiddlywiki.org)
I copied this source to a sandbox Tiddler:
\define rename-import(new-name)
<$action-sendmessage $message="tm-perform-import" $param="$:/Import"/>
<$action-sendmessage $message="tm-rename-tiddler" from={{{[[$:/Import]links[]first[]]}}} to=$new-name$/>
<$action-setfield $tiddler=$new-name$ tags=[[Image]]/>
\end
\define image-block(image-name)
<$navigator>
<$browse />
</$navigator>
<$list filter="[[$:/Import]plugin-type[import]]">
<$button actions=<<rename-import $image-name$>>>
import
</$button>
</$list>
Image name : [[$image-name$]]
{{$image-name$}}
\end
<<image-block "plop">>
If I select my xxx.tid and press the import button than I got (more or less) in the “plop” Tiddler my xxx.tid imported.
Now my question is (sorry I am not a developer for web based content) is :
> What I have to add/remove/change in this code to import xxx.tid without having a dialog before pressing the “Import” button?