Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'AppleScript to toggle' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
AppleScript to toggle
Authored by: DougAdams on Nov 01, '07 09:03:42AM
if button returned of (display dialog "Show Stripes in List View?" buttons {"Cancel", "Yes", "No"}) is "no" then
	do shell script "defaults write com.apple.finder FXListViewStripes -bool FALSE; killall Finder"
else
	do shell script "defaults write com.apple.finder FXListViewStripes -bool TRUE; killall Finder"
end if

---
Doug's AppleScripts for iTunes
dougscripts.com

[ Reply to This | # ]