You are not logged in.

#1 2008-04-05 20:47:02

danielsoft
Member
From: Czech Republic
Registered: 2008-02-16
Posts: 102

DanielSoft File Selection Hack

Hello...

Today, I created a little utility: a generic frontend:

SCREENSHOT:
dfish.jpg

README:

DanielSoft File Selection Hack

REQUIRES:
Tcl/Tk

COMMAND LINE SYNTAX:
dfish [directory] [command] [glob_mask]

USAGE:
Running dfish will give you a menu with all the files in
the specified directory, which satisfy the mask. When you
double-click a file, the specified command will be run.
The "refresh" button reloads the directory contents.
Title of the window is the command, in order not to confuse
more dfish windows running at the same time.
The program is useful for example if you have a commandline-based
program with no suitable front-end: dfish is in fact a generic
front-end for a lot of possible programs.

EXAMPLE:
dfish /home/user/my_backgrounds "fbsetbg -f" '*.jpg'
will display all the JPG images in the directory /home/user/my_backrounds,
double-clicking any image will set it as a desktop background,
because that's what the "fbsetbg" command do.

NOTE:
The glob_mask *must* be in apostrophes, to escape it from the shell,
the command in double quotes in order to specify its parameters: to
know which parameters belong to it and which belong to dfish... 

LICENCE:
GNU GPL

AUTHOR:
Daniel Novotny

URL:
http://www.sweb.cz/danielsoft/dfish.tar.gz


may the Source be with you

Offline

Board footer

Powered by FluxBB