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

Confirm 'Change Extension' dialog via the keyboard System
I was adding a .txt extension to a file without any extension, and got the usual dialog asking to confirm with buttons "Add" and "Don't Add." By intuitive accident, I hit Command-A and was the suprised when it actually worked.

When changing an extension, however, the dialog that is displayed instead has the buttons "Use .txt" and "Don't Use .txt." I tried Command-U and a whole lot of other key combos before landing on Command-Clear (located above 7 on the numeric keypad). This combination seems to select the non-default button in both the "Add" and "Use" versions of this dialog (and maybe others?). I'm running 10.4.2, and so I don't know if this works in earlier versions.

[robg adds: As noted here in a previous hint, you can also use Tab to select and Space to activate any of the buttons in such dialogs...]
    •    
  • Currently 2.80 / 5
  You rated: 2 / 5 (5 votes cast)
 
[12,879 views]  

Confirm 'Change Extension' dialog via the keyboard | 23 comments | Create New Account
Click here to return to the 'Confirm 'Change Extension' dialog via the keyboard' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Confirm 'Change Extension' dialog via the keyboard
Authored by: Twist on Oct 20, '05 06:32:31AM

A real hint would be a way to kill this stupid dialog.



[ Reply to This | # ]
Confirm 'Change Extension' dialog via the keyboard
Authored by: feyd on Oct 20, '05 07:09:05AM
"A real hint would be a way to kill this stupid dialog."

Quoted For Truth. Anyone have an idea where to start looking for this dialog?



[ Reply to This | # ]
Confirm 'Change Extension' dialog via the keyboard
Authored by: pascalpp on Oct 20, '05 08:25:39AM

I'm in line for that hint too! Someone, please!



[ Reply to This | # ]
Confirm 'Change Extension' dialog via the keyboard
Authored by: moritzh on Oct 20, '05 10:19:13AM

I'd very much appreciate a hint on preventing this dialog from ever appearing, too!



[ Reply to This | # ]
Confirm 'Change Extension' dialog via the keyboard
Authored by: BY1 on Oct 20, '05 01:32:55PM

Yes, yes, that'd be the ticket!
-- a way to have the default Finder action be "Just Do It!" without having to click any buttons!

(Would that be a new Finder preference setting of "Don't keep asking the user if they really meant the extension change they just typed in.")

---
~ 'the Universe is intelligent, friendly -- and miraculous...'



[ Reply to This | # ]
Confirm 'Change Extension' dialog via the keyboard
Authored by: galaher on Oct 20, '05 03:51:11PM

I'm I missing something? What key sequence is '?-Clear'? Is that "Shift + / + Clear"? Meaning I have to use the shift key to get a question mark. I've never heard of the question mark as a modifier key. Also I doesn't seem to work. Please explain.



[ Reply to This | # ]
How to post those special glyphs
Authored by: MJCube on Oct 20, '05 07:02:39PM
On this system, when you preview a post containing numeric entity codes, they are interpreted as characters. So the preview reads right, but if you then submit the post with characters instead of the codes, they become question marks.

The way around this, if you have a lot of codes as in this post, is to edit in a separate window, paste the results into the edit box fresh every time, and (especially) remember to paste it in once more after your final preview, when you submit!

Rob, perhaps you could edit the original hint text and use this method to put ⌘ (or just “Command”) back where the question marks now appear. For reference, here are the codes for several Unicode glyphs for modifier keys:

⌘ Command
⇧ Shift
⌥ Option
⌃ Control
⇪ Caps Lock
 Apple

In fact, I think this comment should be a hint unto itself, regarding this site instead of OS X!

[ Reply to This | # ]

How to post those special glyphs
Authored by: pmccann on Oct 21, '05 06:31:06PM

"In fact, I think this comment should be a hint unto itself, regarding this site instead of OS X!"

No, that's a suitable post for www.macosxhintshints.com, not for here.
[While you're at it: don't forget to mention the 'turn three times clockwise, shout like a banshee, then sacrifice a goat and three chickens' method of protecting backslashes in comments on this site. It's the easiest method, or so I'm told :-) ]

Yeah, yeah, I know how to do it (NOW, but *earlier*...)



[ Reply to This | # ]
How to post those special glyphs
Authored by: MJCube on Aug 24, '07 08:25:51AM

My above method is unnecessary now that this comment engine is accepting Unicode. Now we can just insert characters like ⇧⌘⌥ in the edit box and they no longer become question marks.



[ Reply to This | # ]
How to post those special glyphs
Authored by: palahala on Aug 22, '09 02:24:46AM
Note that , U+F8FF (and hence ) is an Apple symbol on Macs, but not on Windows machines. I know, this being macosxhints.com, most won't notice the difference. In Wingdings, it's actually the Windows symbol... (It's the last entity in the private range, so no guarantees what's displayed.)

[ Reply to This | # ]
Easy
Authored by: VRic on Oct 20, '05 08:39:44PM

Just check "Show all file extensions" in the "Advanced" tab of the Finder's Preferences and it won't ask if you're sure you know what you're doing when you edit them.

I guess the idea is that if you're smart enough not to like your computer hiding *some* extensions with no way of knowing which, then you're unlikely to like the anti-bozo nag dialog.



[ Reply to This | # ]
Easy
Authored by: jtrott on Oct 20, '05 08:48:24PM

That doesn't work on my MacOS X 10.4.2 system, or the other one I have at home. It didn't work in Panther either.
Anyone else got any idea how to kill one of the most annoying dialogues on the mac?



[ Reply to This | # ]
Easy
Authored by: TvE on Oct 20, '05 10:52:09PM

Doens NOT work here on 10.4.2



[ Reply to This | # ]
Easy
Authored by: UberFu on Jan 20, '06 09:46:47PM

Doesn't work in 10.4_ That is one of the first things I make sure is active along with disabling the Trash Warning [on every Sys Upgrade] 'cause Apple likes to default that to annoy advanced users for some reason_

Anyway - setting the 'turn on file extensions' setting in any ver. of Tiger so far has not made the stupid dialog confirm box go away_



[ Reply to This | # ]
Confirm 'Change Extension' dialog via the keyboard
Authored by: ptman on Oct 21, '05 07:07:18AM

My mothers on-line banking service lets you download files detailing account balance. The problem with those files again was that the ".txt" extension was missing. She was completely lost trying to chose the program to open those files in. I solved this by making an applescript that she could drop her files on and it would add the extension to them.



[ Reply to This | # ]
Confirm 'Change Extension' dialog via the keyboard
Authored by: c8h10n4o2 on Oct 20, '05 10:19:36AM

For those on a laptop, CMD+esc seems to work for selecting the non-default.



[ Reply to This | # ]
Confirm 'Change Extension' dialog via the keyboard
Authored by: TimBonnici on Oct 20, '05 11:03:25AM

A lot of well-coded apps have dialog boxes where you can use Cmd + the first letter of the button name. Eg: if you have a dialog box with buttons Yes, No and Cancel then Cmd-Y will do Yes and Cmd-N No. The exception to the rule is Cancel which is traditionally Cmd-. (period).

Interestingly some dialog boxes don't even need the Cmd button to be held down. A notable example is the dialog box that appears when you press the power button whilst the computer is on. Power button then S = the fastest way to sleep your computer!



[ Reply to This | # ]
Confirm 'Change Extension' dialog via the keyboard
Authored by: bkpr on Oct 20, '05 02:35:09PM

..or, if you'reon a fullsize keyboard (not an iBook, for example), you can hit control+eject keys (bottom left most and top right mostkeysof the keyboard) to bring up the shutdown/sleep/cancel/restart dialog. My mac is under the desk and hard to reach so this is much easier for me :D



[ Reply to This | # ]
Confirm 'Change Extension' dialog via the keyboard
Authored by: piper on Oct 20, '05 07:55:50PM

Works on my girlfriend's iBook running 10.3 and my Aluminum Powerbook running 10.4... but thanks - I never knew about that trick. Pretty sweet!



[ Reply to This | # ]
Confirm 'Change Extension' dialog via the keyboard
Authored by: TvE on Oct 20, '05 10:55:57PM

The absolut EASIEST KEYBOARDSHORTCUT would be to type "TAB" then "SPACE"
this works no matter what extensions you are changing IE no need to think about what the first letter of the correct extension is :)

Off course you would have to have full keyboard access enabled and use it for "All Controls" - but if you like to NOT use the mouse to much you would allready be having this setting active ;-)



[ Reply to This | # ]
missing shortcuts, unwanted extensions
Authored by: sjk on Oct 21, '05 10:09:19PM

What frustrates me are the lack of shortcuts for Stop and Replace buttons in Copy/Move dialogs. Anyone know of a way to add them?

Back to the topic of extensions ...

Is there a way to keep ".webloc" extensions from being added to webclip files when dragging URLs to the Desktop or other folder from Safari? Maybe it's possible to automatically remove them with a Folder Action after they're created but that's sort of icky.

Hmm, probably better to ask questions like that on the forum. Next time. :-)



[ Reply to This | # ]
Confirm 'Change Extension' dialog via the keyboard
Authored by: BY1 on Nov 06, '06 06:28:48PM

Summary of workable keyboard replies (on my imac 10.4.7)

Cmd + Esc (two key simultaneous)
Cmd + Clear (two key simultaneous)
Tab, Tab, SpaceBar (three keys, pressed individually, sequentially)

(last is different than the previous referenced Tab, Spacebar -- on mine, it takes two Tabs, the first merely 'activates' the dialog box buttons)

---
~ 'the Universe is intelligent, friendly -- and miraculous...'



[ Reply to This | # ]
Confirm 'Change Extension' dialog via the keyboard
Authored by: Augustus2014 on Jun 24, '14 02:02:32AM

The only key press that seems to work on my MacMini (Mavericks) is Cmd+U for Use.
Strangely Cmd+K does not work as Keep, but Enter does work.

(Coming from Windows, I find it surprising that a key such as Tab does not work automatically in all dialogs.)

As to disabling the prompt completely, use Finder Preferences, for example:

https://discussions.apple.com/thread/2139929
or
http://www.macosxtips.co.uk/index_files/disable-file-extension-warning.php



[ Reply to This | # ]