Execute script if a file is found

I'm trying to get the following to look for the newest powerpoint presentation and if it finds something then run a shell script named star_presentation.sh and if it doesn't then simply exit.

Any help would be greatly appreciated.

#!/bin/bash

ppts=/ticker/powerpointshare
find $ppts -mmin -1 -type f -iname "*.ppt"
exit
#!/bin/bash

ppts=/ticker/powerpointshare

if [[ $(find $ppts -mmin -1 -type f -iname "*.ppt" ) ]] 
then
  ./do_you_script.sh
else
  exit
fi

If the presentation script has the filename as a parameter. Also assuming that your "find" is correct (-mmin -1 ???).

#!/bin/bash
ppts="/ticker/powerpointshare"
find $ppts -mmin -1 -type f -iname "*.ppt" | while read filename
do
         /path_to-script/star_presentation.sh "${filename}"
done

find does not return a non-zero when it finds no files, only when there is an error like EPERM or the directory does not exist. That's what POSIX says. You should use text output from the command to trigger the script.

ok=$(find . -name '*.ppt' -mmin -1 -exec echo 'found' \; )
[  "$ok" = "found"  ]  && ./do_your_script.sh

or

find . -name '*.ppt' -mmin -1  |
while read fname
do
   ./do_your_script.sh
   break
done