Re: How to start kuickshow from an html menu?

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: JT Moree
Date:  
To: Main PLUG discussion list
Subject: Re: How to start kuickshow from an html menu?
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.

--
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.

---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss