QUOTE (ifrit05 @ Apr 9 2009, 04:35 AM)

Im trying to improve my script where it feches the intro movie and song when you first start your mac. This is what i have down:
CODE
do shell script cp -r /System/Library/CoreServices/Setup_Assistant.app/Contents/Resources/TransitionSection.bundle/Contents/Resources/intro-sound.mp3 Desktop
it keeps giving me errors....
any help?
Guess you'd have to do like this
CODE
do shell script "cp /System/Library/CoreServices/Setup_Assistant.app/Contents/Resources/TransitionSection.bundle/Contents/Resources/intro-sound.mp3 Desktop" with Administrators privilege
You only need to use "-r" when the item you'd want to copy in recursive (e.g. directory with subfolders item's)