home *** CD-ROM | disk | FTP | other *** search
- on mouseUp
- global exe, nbchar, typeprod
- set nbchar to the number of chars in exe
- set typeprod to exe
- delete char 1 to nbchar - 3 of typeprod
- if typeprod = "exe" then
- open(exe)
- set the mouseDownScript to "continue"
- pause()
- else
- if typeprod <> "exe" then
- LicenceMasterApp()
- put gMasterAppObject(mOpenDocument, exe)
- set the mouseDownScript to "continue"
- pause()
- end if
- end if
- end
-