2

I'm just starting out writing C# in MS Visual Studio on a Win 7 partition on my MacBook Pro. Thing is, as a Java programmer I'm used to pressing Alt + Shift + 8/9 (in OSX) to make curly braces. In Win 7 I need to press Alt + 7/0. (Swedish keyboard layout) Needless to say, if I'm gonna write in both OS's it's gonna get really annoying =)

Is there any way to customize this kind of "hardcore" keyboard shortcuts in Win 7? Only things I could find was a simple re-mapping utility (Text Services and Input Languages) as well as a custom keyset for UK keyboards.

Also tried a program called Key Mapper. It doesn't seem to be able to add new shortcuts.

Tried another program, G-Hotkey. Again, it only remaps keys and only for specific games/programs. Can't add the Alt + Shift -8/9 = / shortcut. Also it gives error messages randomly when I press the Alt key.

2
  • When I used to switch between Windows and OSX I made a point of having two different, external keyboards, matching the OS. It still was a major PITA, but switching between the look and feel of the different keyboards made it somewhat easier for me to switch my internal mode.
    – sbi
    Oct 19, 2010 at 8:55
  • This isn't really a programming question... should probably be on SuperUser instead.
    – Dan Puzey
    Oct 19, 2010 at 10:10

2 Answers 2

0

Use AutoHotkey, it's perfect for remapping keys.

http://www.autohotkey.com/docs/misc/Remap.htm

1
  • I think that'll solve it. Just need to find the right script to get it to work. Seems to be a problem with more than two simultaneous key presses, but I've posed the question how to do it in their forum.
    – Tickolas
    Oct 19, 2010 at 13:04
0

Can you change the keyboard layout under Windows 7 to be the same as you're using in OS X? (What layout are you using in OS X?)

That should get roughly the same layout as you'd be used to under OS X, I'd think. Certainly shouldn't cause any complete differences like the one you ran into...

1
  • In OSX I'm using the Swedish Apple layout, which is also what Windows is using (at least it says so in the locale settings). Still, it's not the same. I do have the BootCamp additions installed. Near as I can tell from Google, I basically need to use some sort of third party program to get it to work the way I want. Either that, or some sort of advanced configuration plugin for Visual Studio.
    – Tickolas
    Oct 19, 2010 at 13:06

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .