home *** CD-ROM | disk | FTP | other *** search
- tell application "Finder"
- if (computer "vm ") = 0 then
- set min to 5800 * 1024
- else
- set min to 4100 * 1024
- end if
- close (every window whose name is not "AOL-CD")
- if exists (application process "AOL") then
- open application file id "AOp3"
- return "ok"
- end if
- if largest free block > min then
- try
- open application file id "AOp3" -- AOL Version 3
- return "ok"
- on error
- activate
- display dialog "Das Online-Link ben├╢tigt \"AOL\". Wollen Sie \"AOL\" installieren?" with icon note default button "Ja" buttons {"Nein", "Ja"}
- if button returned of the result = "Ja" then
- return "noAOL" --> install it!
- else
- return "noInstall"
- end if
- end try
- else
- return "noMem" --> do Memory stuff
- end if
- end tell
-
-