Re: startup disk question
Re: startup disk question
- Subject: Re: startup disk question
- From: Chris Espinosa <email@hidden>
- Date: Fri, 20 Feb 2004 11:33:34 -0800
On Feb 20, 2004, at 10:56 AM, Robert Poland wrote:
Why does this work?
run script alias "iMac HD:Library:Scripts:Universal
Scripts:SetSoundVolume"
and this doesn't?
run script alias "startup disk:Library:Scripts:Universal
Scripts:SetSoundVolume" -- File not found
My goal is to make a script that will work on two machines.
Because different machines may have different names for the startup
disk, you probably want to use the 'path to' scripting addition to give
you the path to the Scripts folder on the machine on which the script
is running:
set thePath to ((path to scripts folder as string) & "Universal
Scripts:SetSoundVolume"
run script alias thePath
Chris
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.