View Single Post
Old 12-26-2015, 09:28 AM   #154
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,860
Karma: 6120478
Join Date: Nov 2009
Device: many
If the user has highlighted a file name in the BookBrowser window before launching your plugin, then your plugin can get the name of that file (in fact a list of all highlighted files), and it can use that info any way you want.

See the bk.selected_iter() function in the latest Plugin Framework Guide

KevinH

Quote:
Originally Posted by rubeus View Post
Hi,

can i get the current active/marked xhtml file in the tree to insert a file with a plugin direct behind it?

//rubeus
KevinH is offline   Reply With Quote