tell application "MacTheRipper" activate delay 10 end tell tell application "System Events" tell process "MacTheRipper" tell window 1 click button "Go!" delay 5 end tell end tell end tell tell application "System Events" tell process "MacTheRipper" tell window 1 tell sheet 1 try click button "Continue" end try try click button "Ok" end try try click button "Open" end try end tell end tell end tell end tell set MagicNumber to 0 repeat until MagicNumber is 1 delay 10 tell application "System Events" tell process "MacTheRipper" tell window 1 tell sheet 1 try click button "Close" set MagicNumber to 1 end try end tell end tell end tell end tell end repeat tell application "Finder" do shell script ("drutil eject") end tell