Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

On OS X, Shift-Option-2 prints the Euro symbol .

Is there a shortcut to print the Indian Rupee Symbol ?

share|improve this question
    
You need to specify what keyboard you are using. QUERTY, QWERTZ others ? just read the 6 letters starting at Q. –  Buscar웃 Mar 16 at 12:47
3  
Buscar: QWERTZ, AZERTY, what ever the first row of your keyboard is... It does not tell you anything interessting about the rest of the keyboard layout. Especially when it comes to modified keys. Besides, knowing that Alt-Shift-2 results in €, you could already guess what layout it is. –  Max Ried Mar 16 at 12:52
    
Well the Alt-Shift-2 results in ”, not even close to the €, which is alt-E on my keyboard. So knowing what is the keyboard layout is important. –  Buscar웃 Mar 16 at 12:58
    
Took me about 20 seconds to select an US layout, press Alt-Shift-2 and get a € sign. –  Max Ried Mar 16 at 13:08
    
@Buscar웃 It is a QUERTY keyboard US layout. –  Joe Mar 17 at 15:52

4 Answers 4

You could use the Text replace function.

Rupee

Now every time you type Rupee (or Rup, or what ever you like to use) in a text document it will be replace with the Rupee symbol.

This solution is my preference since there are No special finger breaking key combination, and nothing to remember.

share|improve this answer
    
Indeed there are hardly any layouts with the rupee sign assigned to a combination on OS X. This is probably the most convenient method. –  Max Ried Mar 16 at 12:59
3  
How would you type the text in your answer with that shortcut in effect? Wouldn't it prevent the letters R-u-p-e-e from staying uncorrected wherever you typed them, no? –  bmike Mar 16 at 15:32
    
@bmike Rupee does not work inside webpage like this one, but it works everywhere else on my may mac, like Mail.app, TextEdit, Notepad, Calender, Finder file naming ect.. –  Buscar웃 Mar 16 at 15:40
1  
As noted by bmike, best to choose a non-word (Rup?) for your shortcut. –  Tom Gewecke Mar 16 at 18:49
    
@TomGewecke It makes sense to do that :) –  Buscar웃 Mar 16 at 18:57

DefaultKeyBinding.dict

Create ~/Library/KeyBindings/DefaultKeyBinding.dict and enter

{ "$~2" = (insertText:, "₹"); }

This rebinds ⇧⌥2 to insert ₹
$ = ⇧, ~ = ⌥

Quit and reopen applications for the change to take effect

share|improve this answer
    
This is more in keeping with the idiom of typing a sequence of keys and releasing them all at the same time to generate a special character. Using auto correction is OK if the shortcut is memorable and doesn't conflict with something you might type, like the actual word for instance. –  bmike Mar 16 at 15:34
    
This is great, the down side is it kills the €, but it might be ok if one does not uses that one. –  Buscar웃 Mar 16 at 16:28
    
@Buscar Indeed, the given shortcut was just an example. –  grgarside Mar 16 at 16:29
    
@grgarside I really like the idea. I tried your code, but it doesnt work when I restart the application. Is the mapping correct.. One typo I found was the insertText: should also be surrounded by double quotes. The content of my DefaultKeyBinding.dict is { "$~2" = ("insertText:", "₹"); } –  Joe Mar 17 at 16:06
    
Great technique, but might be a bit complex for the average user... –  Max Ried Mar 17 at 16:53

There might be one if you are using a keyboard layout from around that part of the world (I don't know). Also, there might be an easier way to do this, I am not an expert.

  1. go to System Preferences > Keyboard

  2. click "Show Keyboard and Character Viewers in Menu Bar"

  3. In the new menu bar item select "Show Character Viewer"

  4. Select "Currency Symbols"

  5. Right click the ₹ and select Copy Character Info

  6. Paste this into Text Edit and then copy just the ₹ itself

  7. Go back to System Preferences > Keyboard > Text

  8. Click the + to add a new text replacement value

  9. Pick a memorable but seldom used key combination (unfortunately here you cannot use modifier keys)

For the last step I used "rupee" which caused that symbol to appear while I was writing these instructions. (I then deleted it which is why I was able to type "rupee")

share|improve this answer
    
Heh, I didn't think that you already have the rupee character here in the question, so steps 1-6 aren't strictly necessary. –  dwightk Mar 16 at 13:06
    
Well, this is not limited to US layouts. –  Max Ried Mar 16 at 13:06
    
@MaxRied good to know, I just didn't want to claim this would work if he had a different layout since I don't have one to try it on. –  dwightk Mar 17 at 16:26

Suggesting inserting a shortcut instead of editing the keyboard layout is IMAO a horrible suggestion.

Grab Ukelele and edit it properly™, instead.

i.e. if what you want to do is modify your keyboard layout, what you should actually do is... surprise surprise... modify your keyboard layout. Using workarounds such as those suggested is insane.

share|improve this answer
    
Ukelele is fine, but suggest you delete your pejorative comments about other solutions, there is really nothing wrong with them. –  Tom Gewecke Mar 16 at 18:53
    
@TomGewecke IMAO yes, they are profundly wrong. What the OP actually wants to do is change the layout, so he should just change the layout. Doing strange workaround makes no sense under any point of view. –  Lohoris Mar 16 at 20:53
    
Would you mind describing in more details how the problem described by the OP could be solved with Ukelele? This would make for a more helpful answer. –  patrix Mar 17 at 16:04
    
@patrix nice idea! Cannot do it now but hopefully I'll edit it later. –  Lohoris Mar 17 at 16:15

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.