Shirt Pocket Discussions  
    Home netTunes launchTunes SuperDuper! Buy Now Support Discussions About Shirt Pocket    

Go Back   Shirt Pocket Discussions > SuperDuper! > General
FAQ Community Calendar Today's Posts Search

View Poll Results: What do you think of this change?
Works fine, a big improvement 6 75.00%
Doesn't impress me one way or another 2 25.00%
A step back - what were you thinking? 0 0%
Voters: 8. You may not vote on this poll

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #11  
Old 05-07-2006, 06:09 PM
dnanian's Avatar
dnanian dnanian is offline
Administrator
 
Join Date: Apr 2001
Location: Weston, MA
Posts: 14,923
Send a message via AIM to dnanian
OK. Internal partitions must not allow for simple ejection like this. What you'll have to do instead is crib from my script, and do something like:

Code:
		tell application "Finder"
			try
				set diskID to my getDiskIDByName("the-volume-name")
				
				if diskID is not equal to "" then
					do shell script "diskutil unmount " & diskID as string
				end if
			end try
		end tell
In your own script, copy my definition of "getDiskIDByName" and paste it in.

I don't know why it doesn't know about your SATA drive -- that's just weird...
__________________
--Dave Nanian
Reply With Quote
 


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

Forum Jump


All times are GMT -4. The time now is 03:44 PM.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2024, vBulletin Solutions, Inc.