How to start kuickshow from an html menu?
JT Moree
moreejt at pcxperience.com
Fri Jun 1 17:40:24 MST 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Josef Lowder wrote:
> 1) How can I invoke this command string to run from
> an html menu in a manner similar to when I use this:
> <a href=file:///home/joe/subdir/filename.htm>View photos</a>
> in an html menu to view photos with my designated browser?
you might be able to create a new file type associated with kuickshow if
there isn't one already. create a file with the directory in it and
name it with .ksw or something. then create a wrapper shell script that
takes a file name, parses out the contents of the file to get the
directory and calls quickshow.
#!/bin/sh
WHAT=$1
if [ -r "$WHAT" ] ; then
DIR=`cat $WHAT`
if [ -d "$DIR" ] ; then
kuickshow $DIR
fi
fi
> 2) How can I get kuickshow to start and actually run
> rather than just showing a list of photos in the named
> directory, so I then have to click on the slideshow icon
> to start the slideshow?
that's a function of quickshow. google and look at the options. can
you run kuickshow --help?
- --
JT Morée
PC Xperience, Inc.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGYLx41JwGi/ukQqERAlTfAJ98D+7aM0agKDYGY6kJebF5CkkqKQCg7yL/
BXUBpSYnnLVDkTeEmfkDuKg=
=Gpqh
-----END PGP SIGNATURE-----
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.
More information about the PLUG-discuss
mailing list