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


Click here to return to the 'Enable the Safari debug menu' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Enable the Safari debug menu
Authored by: wjackson on Apr 18, '06 05:09:24PM
AppleScript for this feature:

copy the result as list to {buttonpressed}
if the buttonpressed is "Invisible" then
	try
		tell application "Safari" to quit
		do shell script "defaults write com.apple.Safari IncludeDebugMenu 0"
		delay 1
		tell application "Safari" to activate
	end try
else if the buttonpressed is "Visible" then
	try
		tell application "Safari" to quit
		do shell script "defaults write com.apple.Safari IncludeDebugMenu 1"
		delay 1
		tell application "Safari" to activate
	end try
end if

---
Will Jackson

[ Reply to This | # ]