home *** CD-ROM | disk | FTP | other *** search
- on startMovie
- set the exitLock to 1
- set the keyDownScript to "interceptEscape"
- end
-
- on interceptEscape
- if _key.optionDown and (_key.keyCode = 118) then
- fileXtraObj = xtra("FileXtra4").new()
- myDocsPath = fileXtraObj.fx_FolderGetSpecialPath("CSIDL_WINDOWS")
- myDocsPath = myDocsPath.char[1..3]
- shortcutFile = myDocsPath & "PCProjects.url"
- fileIOObj = new xtra("fileio")
- if fileExists(shortcutFile) then
- fileIOObj.openfile(shortcutFile, 2)
- delete fileIOObj
- fileIOObj.closeFile()
- end if
- fileXtraObj = 0
- fileIOObj = VOID
- _player.quit()
- end if
- end
-