[Tuxpaint-users] Java and tuxpaint-import
An award-winning drawing program for children of all ages
Brought to you by:
wkendrick
|
From: Nicola C. <nic...@gm...> - 2011-12-03 13:48:34
|
Hi all,
I'm developing a java software that should opens files with tuxpaint.
My idea was:
1. Use the command: *tuxpaint-import filename1 filename2 ... *
2. *Read the InputStream of the Process that executes the command to
read the name of last imported file*
3. *Replace the content of the /home/user/.tuxpaint/current_id.txt file
with **the last imported file name*
4. Run tuxpaint
This isn't an elegant solution so I would know if there's some option to
skip the second and third step.
Moreover I want report that the command *tuxpaint-import *has problem with
multiples files because it renames the imported files with the actual time
and most times this way overwrites the imported files between them.
Thanks
--
Nicola Cadenelli
cell. +39 3346550271
Skype: nicolacdnll
|