op g
op g

Reputation: 9

puttging special chars in a java string like "ctrl+insert"

java strings problem:

I am trying to automate a process of special char typing (ctrl+insert) using a java based system. i have tried googling it with no luck how do i include chars like these in a java string?

Upvotes: 1

Views: 40

Answers (1)

arcy
arcy

Reputation: 13133

Your problem is that "ctrl+insert" and many other keystrokes are not characters. Programs that respond to those keystrokes have to respond to the keystrokes as part of their responses to the system on which they run, they aren't reading "characters" to detect those.

Upvotes: 1

Related Questions