Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'An AppleScript to check SMART status on startup/login' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
An AppleScript to check SMART status on startup/login
Authored by: dcollett on Aug 10, '04 03:37:10AM

baltwo,

The compile error mentioned above always occurs on the word "up" in the following (the second "up", after the "Please be patient"):

Any ideas? Thanks.

David


tell application "Finder"
display dialog "Checking the SMART status of all mounted disks. It can take up to thirty seconds to complete the check." & return & return & "Please be patient" with icon note giving up after 10 buttons "OK" default button 1



[ Reply to This | # ]
An AppleScript to check SMART status on startup/login
Authored by: baltwo on Aug 10, '04 06:35:24PM

OK. Now I understand—the command is "giving up," that's what threw me. What OS X version? If Panther, then you have to have Sys Prefs->Universal Access->"Enable access for assistive devices" checked. I don't know if it'll work on Jaguar without some tweaking.



[ Reply to This | # ]
An AppleScript to check SMART status on startup/login
Authored by: osxpounder on Aug 24, '04 11:13:14AM

I have this running in the middle of the night, and when I return in the morning, it has timed out -- how can I alter this so that it runs unattended, without needing me to click a button?

---
--
osxpounder



[ Reply to This | # ]
An AppleScript to check SMART status on startup/login
Authored by: baltwo on Aug 25, '04 01:25:09AM

You could remove the Display dialog lines, but then you wouldn't get any status. Why would you want to run it late a night when no one's around to get the message?



[ Reply to This | # ]
An AppleScript to check SMART status on startup/login
Authored by: osxpounder on Aug 25, '04 11:33:42AM

I don't mind getting the message -- I just mind the requirement that I be sitting in front of the computer so that I can click an OK button to make it perform its check. As is, all I get is "event timed out".

---
--
osxpounder



[ Reply to This | # ]