<$list filter="[has[desktop-link]]">
<$list filter="[is[current]get[desktop-link]] ] -[has[draft.of]]" variable="link">
<a title={{!!tooltip}} href=<<link>> ><$transclude tiddler=<<currentTiddler>>/></a>
</$list>
</$list>
<$action-navigate $to="
file://path/executable.exe"/>. Didn't test it.
-m
<$link to="file:///C:\Windows\notepad.exe">Go</$link>
<$button>
<$action-sendmessage $message="tm-open-external-window" $param="file:///C:\Windows\notepad.exe" windowName="_tiddlywiki" windowFeatures="height=500, width=900"/>
Open ~TiddlyWiki - Action
</$button>
Thank for helping. Are you referring to clickaction? I am not sure how to use it but will review again tomorrow.
I am trying to batch click on href links within tiddlydesktop because the links can run executables.
An example maybe to run node open a browser and email client, and execute a script. Is this what you thought clickaction can do ?
thanks
Tony
<$button set=<<qualify "$:/state">> setTo="open">click links</$button>
<a href="""file:///meditation.html""">meditate<$click state=<<qualify "$:/state">> text="open"/> </a>
<a href="""file:///reader.html""">read<$click state=<<qualify "$:/state">> text="open"/> </a>
<$button set=<<qualify "$:/state">> setTo="open">click links</$button>
<a href="""https://tiddlywiki.com""" target="_blank">meditate<$click state=<<qualify "$:/state">> text="open"/> </a>
<a href="""https://google.com""" target="_blank" >read<$click state=<<qualify "$:/state">> text="open"/> </a>
Unfortunately not!It opens a new tiddler called "file://path/executable.exe".
file:///C:/Windows/notepad.exe"
??