The macosxhints Forums

The macosxhints Forums (http://hintsforums.macworld.com/index.php)
-   Applications (http://hintsforums.macworld.com/forumdisplay.php?f=5)
-   -   A plugin I wish I could have for Safari ... (http://hintsforums.macworld.com/showthread.php?t=43679)

Hogster 08-22-2005 06:57 PM

A plugin I wish I could have for Safari ...
 
Hi all,

It's happened to me too many times, and I'm sure it's happened to a few of you too - you've got a Safari window open and you're typing an email. However, you've got several other things you're looking at in other windows in Safari, and you keep checking up on them - just generally surfing around. Once you've finished browsing and you want to get back to your email, you hit Apple-W to close the window .... only your fingers weren't accurate enough and you actually hit Apple-Q ... and lose the email you were typing!

I know this is a problem merely caused by my carelessness, but it'd be great if there was a little plugin available (or an Applescript) which brought up a dialogue box if you hit Apple-Q asking you if you *really* wanted to quit ....

Is there such a thing around? Or is it possible to write such a command into Applescript easily?

Thanks very much,


David

Reflect_TRUTH 08-22-2005 07:04 PM

LOL... I thought I was the only one careless enough to do something like that. Yea, its happened to me numerous times. I get so pissed.

Most of the time when I am typing something online, such as an email, I do periodic Copy's (like copy and paste) so that if I do something stupid I can just paste it back. I use it like a Save in a word document.

I agree with ya that a script (or something similar) would be useful. I just don't think that "W" should be the command for closing a window. It is too close to Q.

Hogster 08-22-2005 07:34 PM

Ahh I'm glad to see I'm not alone! I agree - W and Q are too close together for those of us with careless fingers!

Makoto 08-22-2005 07:50 PM

Or for those who type too fast without watching where their fingers are going? :D

A while back, Taboo, a hack for Safari that uses SIMBL that adds a warning when you attempt to close/quit a Safari window with more than one tab (similar to Firefox's default behavior, and others), was released. I haven't tried it, though, even if I still accidentally quit Safari from time to time when I actually meant to close tab #15. :)

Hogster 08-22-2005 07:54 PM

"Or for those who type too fast without watching where their fingers are going?" - you couldn't have put it more accurately!

I'll have a look at the Taboo thing - thanks!

guardian34 08-22-2005 08:14 PM

1 Attachment(s)
See the second post in this thread, but choose Safari, and use "Quit Safari" for the Menu Title.

Hogster 08-22-2005 08:26 PM

GENIUS!!! That works perfectly! Ahhh thank you ever so much! :D

Reflect_TRUTH 08-22-2005 11:40 PM

Thx Guardian. This has turned out to be quite a useful thread for me. I think I'll still look into the Taboo link mentioned above. I'd like to have a warning when closing tabbed browser windows. Seems Firefox has the right idea.

Reflect_TRUTH 08-23-2005 12:08 AM

If you are using Guardian's idea about Shortcut Assignments, here's what Help has to say:

Creating keyboard shortcuts for applications:
  1. Choose Apple menu > System Preferences and click Keyboard & Mouse. Then click Keyboard Shortcuts.
  2. Click the Add (+) button.
  3. Choose an application from the Application pop-up menu. If you want to set the same key combination for a menu command that appears in many applications, choose All Applications.
    If the application you want to select does not appear in the list, choose Other and locate the application using the Open dialog. Some applications may not allow you to set keyboard shortcuts.
  4. Type the menu command for which you want to set a keyboard shortcut in the Menu Title field.
    You must type the command exactly as it appears in the application menu, including ellipses and any other punctuation. (An ellipsis is a special character that looks like three periods. To type an ellipsis, you can press Option-semicolon (;). Or use the Character Palette. It may be difficult to tell whether the command is written in the menu with a real ellipsis or with three periods, so if one does not work, try the other.)
  5. Click in the Keyboard Shortcut field and press the key combination that you want to assign to the menu command, and then click Add.
    You cannot use each type of key (for example, a letter key) more than once in a key combination.
  6. Quit the application for which you added or changed a keyboard shortcut.
  7. Restart the application to see the keyboard shortcut in the application'smenu.
If you assign a keyboard shortcut that already exists for another command or another application, your new shortcut won't work. Find the menu command that's using it and reassign the keyboard shortcut for that item.

CAlvarez 08-23-2005 01:42 PM

I've been using the key remapping method since I got Tiger, solved the problem completely. Nothing like losing an hour's worth of research with one misplaced keystrike.


All times are GMT -5. The time now is 10:45 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.