View Single Post
Old 10-24-2014, 03:46 PM   #15
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,746
Karma: 24032915
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by kbanelas View Post
How can I open/write the current open file? I have read the Plugin Framework Guide and I haven't found something specific about it and I'm something lost.
AFAIK, you can't detect the current file, you'll either have to write a file selection dialog and select the files that you want to change or apply your code to all .html files.

For an example, have a look at DiapDealer's Smarten Punctuation plugin.

What exactly does your plugin do?
Doitsu is offline   Reply With Quote