Hi,
   This is not a Gentoo thing at all but I don't know where else to
ask so I'm coming here. Delete if you're not interested.

   I have a suspicion this is some big scripting job. Scripting to any
great extent is something I know nothing about. I'm hoping that maybe
someone can point me in the right direction. Thanks in advance.

   Within Gnome is there a way that I could double click on a file in
their browser and then cause the system to start executing a program
that asks me questions about what to do? I have some files that are
used in a specialized audio program. Each individual file contain
multiple instruments. I'd like the script to:

1) Check the file for available instruments. I know how to do this
(sort of) at the command line using something like "gigdump
filename.gig | grep Instrument". That almost works well enough for
this task but it does produce one extra line I'll need to get rid of.

2) Pop up a window and tell me about the instrument list

3) Ask me which on I want to use

4) Ask me a couple more questions that I answer

5) Take the set of answers and send it over the network using some command like

echo "command 1" | nc localhost 8888
echo "command 2" | nc localhost 8888

   I know nothing of doing stuff like this but it would be very
helpful. The windows program that uses these files of course has a
fancy file browser that allows you to do this with a couple of click &
drag operations. The Linux program has nothing so I'm doing this by
hand and it's very tedious.

   Thanks for taking the time to read and possibly respond.

Cheers,
Mark

--
[email protected] mailing list

Reply via email to