Programmatically Show/Hide AppleScript Menu

What I was thinking was this part:

I don’t think you need this part because the checkbox will just toggle.

Ok, got the international version working:

set was_running to application "AppleScript Editor" is running
tell application "AppleScript Editor"
	launch
	activate
end tell
tell application "System Events"
	keystroke "," using command down
	tell process "AppleScript Editor"
		tell window 1
			tell toolbar 1
				# name of buttons
				--> {"Général", "Modifications", "Formatage", "Historique", "Modules"}
				tell button 1 # "General"
					click
				end tell
			end tell
			# get title of every checkbox
			--> {"Afficher les scripts de l'ordinateur", "Afficher le menu des scripts dans la barre des menus", "Afficher les éléments hérités dans le visualiseur de dictionnaire"}
			--> 1 if the box is checked
			--> 0 if the box is unchecked
			tell checkbox 2 # "Show Script menu in menu bar"
				click
			end tell
		end tell
	end tell
	keystroke "w" using command down
end tell
if not was_running then tell application "AppleScript Editor" to quit

Sorry for acting like a baby! :smiley:

Al I did was get rid of the unneeded parts for a toggled.

Thanks Yvan,
kel

Good. Now I don’t need to debug the local version (my version). :smiley: