Hi Simon, As Greg mentioned, you need to issue the command:
defaults write com.apple.Safari IncludeDebugMenu 1 when Safari is NOT running, because you're modifying the preference list. If Safari (or any other app for which you modify preferences) is running, the current preference values will simply be saved when you close the app, and that will overwrite the defaults you tried to set in terminal. Another thing I notice: the arguments may be case sensitive, with Safari capitilized along with the I,D,and M in IncludeDebugMenu. You might want to copy and paste the command and see whether that works for you. Simon, I'm not sure what you mean by running a script in Terminal, since in Tiger I open Terminal from the Utilities folder and type in the command then press return. However, you can use Automator's run shell script action to issue this terminal command. If I launch Automator (with Safari closed), and type "run shell script" in the text field and return, I'm taken to "Table". I interact, and find the single action "Run Shell Script". If I don't have "Mouse Cursor tracks VoiceOver Cursor" checked in my navigation options, I need to move the Mouse Cursor to the VoiceOver Cursor with VO-keys-Command-F5 (possibly with a FN key on older laptops, depending on your keyboard preference settings). I then double click (VO-keys+shift pressed and tap the space bar twice) to add the action to the workflow, stop interacting, VO-keys right arrow to the scroll area for the actions, interact, then VO-keys right arrow to the text field. I delete any text and paste in: defaults write com.apple.Safari IncludeDebugMenu 1 Then I type command-r to run the workflow. If I bring up Safari (e.g. VO-keys+d to dock, arrow over, and open Safari) it should have the Debug menu. If I quit Safari, and use Command-tab to go back to Automator, and amend the command in the scroll window so that the final argument is 0 instead of 1, and run the action again with command-r, then when I bring up Safari the Debug option should be gone. Hope this makes sense! Interesting that I can run the terminal commands under "run shell script" On Sunday, March 02, 2008, at 03:51AM, "Greg Kearney" <[EMAIL PROTECTED]> wrote: >While I look around Safari binary code, I found there is a hidden >Debug menu. Type the following command in Terminal (while Safari is >NOT running): >defaults write com.apple.Safari IncludeDebugMenu 1 >Then launch Safari, and enjoy the new Debug menu. > > The debug menu has some useful options on it, so you may find this a >very useful hack. If you ever wish to disable it again, just repeat >the command with a "0" instead of a "1". > > >Greg Kearney >535 S. Jackson St. >Casper, Wyoming 82601 >307-224-4022 >[EMAIL PROTECTED] > >On Mar 2, 2008, at 6:33 AM, Simon Cavendish wrote: > >> Dear Esther and James and Others, >> >> I've already posted a message here regarding not being able to do >> internet banking with Safari. Both James and Esther have helpfully >> mentioned a possibility that Safari could pretend to be Internet >> Explorer to such sites which do not allow Safari access. I've found >> an appropriate message on how to do it in the mail.archive. The >> advice there is to run a script in Terminal. I've never used >> Terminal but I've just given it a go. I did the following: >> >> I opened new command by pressing command+shift+n, entered in the >> text field: defaults write com.apple.safari includedebugmenu 1 and >> then pressed run. >> >> According to the advice in the archives, I should then - having >> reopened Safari - find in its menu "Debug". However, I'm not finding >> it.. >> >> Listers, first of all, have I run the script properly? Secondly, >> what else do I need to do? Thirdly, why am I not finding "debug" in >> the menus in Safari? Have I made a mistake running the script or >> typing the text? If I've typed the wrong wrods in the command, how >> do I now correct it? >> >> Any tips would be greatly appreciated. >> >> With best wishes >> >> Simon >>
