0

I'm trying to write a program, that can write text to an input field (by simulating key presses). For that I need to be able to know whether Shift needs to be pressed in order to write a specific character. The isupper(char) method works great, but doesn't give the desired result when asking for stuff like a question mark, slashes, or similar characters. 

isupper('?') -> false

Is there any method that tells me if I need to press Shift in order to write a specific character?

Remy Lebeau
  • 555,201
  • 31
  • 458
  • 770

0 Answers0