display dialog "Choose Minimize Effect." buttons {"Genie (default)", "Scale", "Suck"}
set the button_pressed to the button returned of the result
if the button_pressed is "Genie" then
do shell script "defaults write com.apple.dock mineffect -string genie;killall Dock"
else if the button_pressed is "Scale" then
do shell script "defaults write com.apple.dock mineffect -string scale;killall Dock"
else
do shell script "defaults write com.apple.dock mineffect -string suck;killall Dock"
end if
Be the first to comment
You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.