Hi Marcel,
as far as I know, a macro tool cannot have an F-key AND an icon, but you can try with two such tools. Both can call a function that does the actual work:
macro 'Capture Action Tool - C000F14faF24faP4461b1d40Cfffo5577' {
doCapturing();
}
macro 'Capture Shortcut Action Tool [F12]' { {
doCapturing();
}
function doCapturing() {
//the capture code goes here
}
Michael
________________________________________________________________
On Sep 27, 2013, at 08:29, Marcel Krzan wrote:
> Dear Friends,
>
> I used the Macro mentioned above in my research work (VideCaptureTool). It
> is strongly modified for my special performances ... but it is still a core
> of the VideoCaptureTool.
>
> At the begin the procedure is installing and the "camera" mark is added for
> the ImageJ banner. Next the macro is starting while we press this "camera
> mark" by the left mouse button.
>
> Is it possible to add the function key for the Macro (for example : F12)
> which work exactly the same as a pressing of this "camera mark"?
>
> Similar solution will be better from my point view ...
>
> Best regards,
>
> Marcel Krzan
> J. Haber Institute of Catalysis and Surface Chemistry PAS
> Niezapominajek 8 str.
> Cracow, Poland
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html