Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What is wrong with this script?



On Nov 28, 2003, at 9:44 PM, Michelle Steiner wrote:

set effect to (button returned of (display dialog "Which Dock effect do you want?" buttons {"Scale", "Genie", " Suck"}))

do shell script "defaults write com.apple.dock mineffect " & effect & return & "killall Dock"

--> "2003-11-28 20:43:34.216 defaults[1019] Unexpected argument Dock; leaving defaults unchanged."

Try using a semicolon instead of the return.
Michael

--
Palm
the space of rest
the dress is raised. Long eitheruse of time does not become pain. It took a
second look also
the material, became feeling better.
_______________________________________________
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.
References: 
 >What is wrong with this script? (From: Michelle Steiner <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.