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

Go Back   Shirt Pocket Discussions > SuperDuper! > General

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #8  
Old 01-03-2018, 12:32 PM
billearl billearl is offline
Registered User
 
Join Date: Mar 2008
Posts: 16
Quote:
Originally Posted by Dan Lester View Post
That an interesting idea. Can you be more specific about how that would work and, in particular how the script knows it is booting from a clone? I guess that script would put a message on the screen saying BOOTED FROM CLONE?
Here's a portion of my startup script. The script is saved as an app (I call it "Startup Actions"), and added to the Login Items list. The icon of the startup disk always appears at the top of the screen.

Code:
tell application "Finder"
	set startupDisk to (startup disk as text)
	if startupDisk is "DiskA:" then
		open file ((path to applications folder as text) & "Dropbox.app")
		set diskList to {"DiskA", "DiskB", "DiskA-X1", "DiskB-X1", "DiskA-X2", "DiskB-X2"}
	end if
	if startupDisk is "DiskA-X1:" then set diskList to {"DiskA-X1", "DiskB-X1", "DiskA", "DiskB", "DiskA-X2", "DiskB-X2"}
	if startupDisk is "DiskA-X2:" then set diskList to {"DiskA-X2", "DiskB-X2", "DiskA", "DiskB", "DiskA-X1", "DiskB-X1"}
	repeat with counter from 1 to length of diskList
		if exists disk (item counter of diskList) then set desktop position of disk (item counter of diskList) of desktop to {2493, 54 + 94 * (counter - 1)}
	end repeat
	if startupDisk is not "DiskA:" then return
	-- do other stuff here applicable only to main startup disk
end tell
This works for me, but Dave's suggestion would also work well.

Last edited by billearl; 01-03-2018 at 12:40 PM.
Reply With Quote
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem Booting From a Clone on a Firewire HD sgmorr General 8 03-11-2010 11:11 PM
booted from external, can't clone to another external garboczi General 4 12-14-2009 08:58 AM
Windows equivalent to SuperDuper!? jreffner General 21 08-13-2009 05:36 PM
Clone booted, but cpu at 100%, required prebinding. fmlogue General 24 02-12-2008 04:22 PM
Using Disk Utility from Clone gets -9972 error (falsely?) eagseags General 6 09-08-2007 09:50 PM


All times are GMT -4. The time now is 08:34 PM.


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