Hi, this is in reference to the codes and instructions provided by SJT. Thanks a lot for the help, but, I am having a few problems with the AppleScrript to be written. I am a first timer in mac, so I can't find a clue as to how to write the script, leave aside running it.

code:----------------------------------------------------------------------------------set the name of the file to open
property fileName : "thedocument.pdf"

FIRST, IS THIS HERE I GIVE THE NAME OF THE APPLICATION?

--get the path to the containing folder
set myPath to (path to me as string)
set AppleScript's text item delimiters to ":"
set the parentFolder to [[[ IS THIS PART OF THE SCRIPT?]]


((text items 1 thru -2 of myPath) & "") as string
set AppleScript's text item delimiters to ""

[[[ SECOND, WHAT ARE DELIMITERS?]]]

-- find the flash file
try
set targetFile to alias (the parentFolder & fileName)

[[[ALIAS?]]]

on error
--ie if there's no file here by this name, it will quit.
return quit
end try
tell application "Finder"
open file targetFile
end tell


SORRY FOR THE INCONVENIENCE, BUT I AM TOO MUCH OF A GREEN HORN TO UNDERSTAND IT.