New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Development and Darwin Discussion and questions about development for Mac OS X.

Applescript eject busy drive


Post Reply New Thread Subscribe

 
Thread Tools
jonathanwiesel

 
Member Since: Jan 11, 2012
Posts: 1
jonathanwiesel is on a distinguished road

jonathanwiesel is offline
Hi guys, I'm new to Applescript.

How I know when a volume is busy to eject?

I was trying with something like this

tell application "Finder"
try
eject "Disk"
on error
--code for busy volume

However when the drive is busy the "on error" block is still ignored

Any ideas please?
QUOTE Thanks

Post Reply New Thread Subscribe


« USB making? where to start | Make Terminal command »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Hard Drive Upgrade shenanigans. help/advice needed chrsb5 Apple Notebooks 3 01-18-2011 04:07 PM
Am I supposed to 'Eject' an external USB drive? TGITC Switcher Hangout 8 06-21-2010 11:16 AM
New Here,Really Need Help With Imac G3 CD-RW/DVD-ROM Drive DeSelby Apple Desktops 0 06-29-2005 01:02 PM
G4 ibook slot load drive HarborAce Apple Notebooks 4 12-13-2004 10:49 AM
Hard Drive busy light among other things cyclist Switcher Hangout 24 08-05-2004 04:07 PM

All times are GMT -4. The time now is 04:06 AM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?