<!--- Begin Script -->

try
    tell application "Finder" to put away item "USB"
on error msg number num
    if num ‚ -1728 then
        error msg number num
    end if
end try 

<//--- End Script -->

The "Try" statement is there in case the card isn't inserted. If that's the
case, the error number is -1728. So I check to see if the error number is
anything else.. if so, I want to know, otherwise, it just ends the script
and continues restart or shutdown.

Jay


on 2/5/01 2:32 PM, Ron S at [EMAIL PROTECTED] wrote:

> Jay,
> Would you mind sending me that script? I have the MacAlly USB card.
> The paper clip eject routine got old fast..Thanks
> --
> rs
> 
>> The MacAlly works for me. Although, don't have it inserted at startup. I
>> just made a shutdown script that ejects it just in case.
>> 
>> The other Jay


----------
Duo/2400 List, The friendliest place on the Net!
A listserv for users and fans of Mac subportables.
FAQ at <http://www.themacintoshguy.com/lists/DuoListFAQ.shtml>
Be sure to visit Mac2400! <http://www.sineware.com/mac2400>

To unsubscribe, E-mail to: <[EMAIL PROTECTED]>
To switch to the DIGEST mode, E-mail to <[EMAIL PROTECTED]>
Need help from a real person? Try.  <[EMAIL PROTECTED]>

----------
Dr. Bott | Great Duo & 2400 stuff including 10/100 Ethernet for 2400s!
Dr. Bott | Duo Batts too  <http://www.drbott.com/prod/alist/duo.html>

NineWire          | If they are cool enough to host this list...
Digital Solutions | ...you should check them out! http://www.NineWire.com/

PowerBook Guy is          |      Click here!
Everything PowerBook!     |      http://www.powerbookguy.com

Midwest Mac Parts  ][  <http://www.midwestmac.com>
After-market parts  for Macs.   ][  888-356-1104 ][

MacResQ Specials: LaCie SCSI CDR From $99! PowerBook 3400/200 Only $879!
Norton AntiVirus 6 Only $19! We Stock PARTS! <http://www.macresq.com>

Reply via email to