Writing scripts is the work of professionals. You may hire service from freelancers on a MacFrelancer or elance.com.
tell application "File Juicer"
copy {POSIX path of (choose file)} to filelist
juice files filelist types {"jpg", "rtf"} with showing results
end tell
Download script
The official AppleScript Reference from Apple is the resource for the details on AppleScript.
Mac OS X 10.5 also offer User Interface Scripting for scripting what is not designed to be scriptable.
File Jucier has Automator Support and includes a few Automator Actions. This is much simpler to use than AppleScript and it gives you a good overview of many other features which may be practical to use together with File Juicer.