On Sat, Dec 03, 2005 at 02:41:15PM -0800, Philip Biggs wrote:
> I have a teacher in our district who wants to be able to open a file in
> Tuxpaint by just double-clicking it. I can't seem to make this work.
Hrm, unfortunately, this isn't possible at the moment. :^(
I'll add this to our Request For Enhancement list, and hopefully can get
it into the next version of Tux Paint.
One problem I forsee is that it _might_ not be easy for us to get a
_currently-running_ copy of Tux Paint to open a file when it's
double-clicked. But I guess we'll cross that bridge when we come to it. ;^)
> Any ideas or suggestions?
> He has a template file in a shared folder on the school server. He wants
> kids to be able to go there and open that file, modify it, and then save
> it into the students' default folder (which is in their home directory on
> the server). An alternative might be to go into Tuxpaint and open the
> file from a location other than the save directory, but I can't see a way
> to do that either.
It might be possible to create a small script that copies a given file
into the user's Tux Paint directory.
You didn't say what platform your school is using (Windows, Linux or Mac OS X),
but it should be possible on all of them. Whatever gets written might need
to get re-written for each platform, though. :^)
Under Linux, it could be as simple as a wrapper to the "tuxpaint-import.sh"
script that already comes with Tux Paint. (For example, a right-click
context menu entry in KDE might be: "Open With -> Import into Tux Paint")
> Sure would appreciate any feedback!
This is certainly another one of those features I never planned for. ;^)
(It's obvious I don't work in schools, or with more than one or two computers
at a time, isn't it! ;^) )
If anyone else out here can think of a way this can be done in Windows and/or
Mac OS X, please speak up!