webmobilestar / rikaikun

Automatically exported from code.google.com/p/rikaikun
0 stars 0 forks source link

"Save to file" keyboard action #66

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Rikaichan's "save to file" tool is extremely useful, in particular to review 
new words on Anki SRS afterwards.

Is this feature ported already?
If yes, is there any trick to configure it, bypassing the options screen that 
is plagued by issue 4?

Original issue reported on code.google.com by nicolas.raoul@gmail.com on 13 Sep 2011 at 2:06

GoogleCodeExporter commented 8 years ago
I haven't checked in awhile but in the past, interacting with the file system 
was impossible in chrome.

Original comment by melin...@gmail.com on 13 Sep 2011 at 2:08

GoogleCodeExporter commented 8 years ago
I think this might be possible in the future due to html 5.  I'll look into it.

Original comment by melin...@gmail.com on 17 Jan 2012 at 11:58

GoogleCodeExporter commented 8 years ago
The only possibility to do that in Chrome is using the download API as 
explained here:

http://stackoverflow.com/questions/2153979/chrome-extension-how-to-save-a-file-o
n-disk

Just running that every time the "save to file" key is pressed will download 
separate files, but I'm guessing that the point is to have a single file with 
all the definitions in it.

Something similar could be achieved with a keybinding that adds definitions to 
a log, and the log can then be saved as a file or cleared by the user.

What do you guys think of something like that?

Original comment by sepha...@gmail.com on 3 Oct 2013 at 11:55

GoogleCodeExporter commented 8 years ago
We could also use NaCl which would let us do whatever we want I suppose.

I think a running log that could be saved would be okay.  It might even be 
easier in general to just allow them to copy the log to the clipboard and then 
they could add it to their main file or something.

Original comment by melin...@gmail.com on 3 Oct 2013 at 3:35