Pick of the Week - Nov 10 [Show all picks]
Path Finder 5 - A feature-laden Finder replacement
Submit Hint Search The Forums LinksStatsPollsFAQHeadlinesRSS
12,000 hints and counting!


Click here to return to the 'AppleScript to toggle' hint
The following comments are owned by whomever posted them. This site is not responsible for what they say.
AppleScript to toggle
Authored by: DougAdams on Thu, Nov 1 2007 at 9:03AM PDT
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 | # ]