Hi,
I've first tested a macro in javascript that works properly
Then I've tried to create a plugin with this macro
Following the instruction on the Dev guide I've created the following tiddler
- $:/plugins/vpl/progresstest and
- $:/plugins/vpl/progresstest/bartest.js
(bartest.js containing my macro code that I've tested on another tiddywiki)
On Chrome I've successfully run the following command.
$tw.utils.repackPlugin('$:/plugins/vpl/progresstest', ['$:/plugins/vpl/progresstest/bartest.js'])
My $:/plugins/vpl/progresstest tiddler was filled with the bartest.js tiddler.
bartest.js tiddler disappeared (is that normal ?)
I've saved and reloaded
The plugin tiddler version field was incremented.
Then I've tried to run the macro <<bartest 30 42 80>> as I was running it when I tested it outside of a plugin, on another tiddywiki
Unfortunately the marco is not recognized ...
What surprising me is that I can't find my $:/plugins/vpl/progresstest in the shadows tiddlers list
But my plugin seems nevertheless recognized as I see it from the
$:/ControlPanel plugins
Any help would be very useful ...
THanks a lot for your great work
Regards
Vpl