Question to developers:
I want to edit a specific TXT-file with the MEMO-App on/with my reader. How to manage it?
More info:
I have a specific TXT-file on a specific place on the reader. I want to be able to edit this file with the memo-application. Why?
Idea is to edit CSS-files without plug the reader to the PC. I tried to solve it with the functionality allready exists (copy notes to txt and vice versa).
My code goes like that:
Code:
...
case 'CopyTo':
Core.shell.exec ('cp -f /Data/Notepads/1334415424314.963.note.txt /Data/database/system/PRSPlus/epub/CSS/extern.css');
break;
case 'CopyFrom':
Core.shell.exec ('cp -f /Data/database/system/PRSPlus/epub/CSS/extern.css /Data/Notepads/1334415424314.963.note.txt');
break;
...
Problem is a NEW TXT-file in /Notepads will not be recognized as Memo. And every new memo gets a new filename. If I would delete this note, code is not working any longer.
Any ideas?
A.