home *** CD-ROM | disk | FTP | other *** search
- on LaunchHelp
- global gStuMethod
- set acrobatReader to getaProp(gStuMethod, #acrobatPath)
- if voidp(acrobatPath) or not stringp(acrobatPath) then
- set acrobatPath to "C:\ACROREAD\ACROREAD.EXE"
- end if
- set acrobatObj to FileIO(mnew, "read", acrobatReader)
- if objectp(acrobatObj) then
- acrobatObj(mdispose)
- open(the pathName & "UG.PDF", acrobatReader)
- else
- alert("Please locate ACROREAD.EXE. If you have not installed Acrobat Reader, please do so before using the online User's Guide.")
- set acrobatObj to FileIO(mnew, "?read", "exe")
- if objectp(acrobatObj) then
- set acrobatReader to acrobatObj(mFileName)
- acrobatObj(mdispose)
- setaProp(gStuMethod, #acrobatPath, acrobatReader)
- open(the pathName & "UG.PDF", acrobatReader)
- else
- alert("In order to view the online User's Guide, please run the Acrobat Reader Installer located on The Rosetta Stone CD-ROM.")
- end if
- end if
- end
-