Creating buttons [message #2287] |
Thu, 22 August 2024 13:12 ![Go to next message Go to next message](/forum/theme/myThemeWithHFCSS/images/down.png) |
slprakash
Messages: 4 Registered: July 2024
|
Junior Member |
|
|
Hi,
I have created jar files to embed the DB credentials so that the users need not enter password every time. But I just want to know if it is possible to create an UI element (a button or a hyperlink) in data warrior with the help of jar file so that an API gets triggered when I click on the UI element.
Or has it been implemented by someone already ?
|
|
|
Re: Creating buttons [message #2291 is a reply to message #2287] |
Wed, 28 August 2024 18:12 ![Go to previous message Go to previous message](/forum/theme/myThemeWithHFCSS/images/up.png) |
thomas
Messages: 696 Registered: June 2014
|
Senior Member |
|
|
if you put an a-tag like <a href="macro:mymacro">click this to start macro</a> into the html of an explanation view, and if you have a macro with the same name (in this case 'mymacro'), then the macro is triggered when the link is clicked (requires DataWarrior v06.02.04, which will be release in the upcoming days).
With the plugin API you can add custom functionality to DataWarrior, which can be embedded into macros and, thus be triggered by the mechanism above...
[Updated on: Wed, 28 August 2024 18:12] Report message to a moderator
|
|
|