Problem with keyboard

My keyboard is in spanish and when i program:"

Keyboard.print("%USERPROFILE%\Documents")

My computer write :%USERPROFILE%çDocumentsç

What can i do?

Thanks you

Send the character that appears on the US English in the same place as the '' character on the Spanish keyboard. Unfortunately for you, '' appears to be the AltGr shift of the key to the left of the '1'. The US keyboard doesn't have a character there (or any other AltGr characters). To type that character you will need to:

  Keyboard.press(KEY_LEFT_ALT);
  Keyboard.press('`');  // The un-shifted char left of '1' on the US English keyboard
  Keyboard.releaseAll();

johnwasser:
Send the character that appears on the US English in the same place as the '' character on the Spanish keyboard. Unfortunately for you, '' appears to be the AltGr shift of the key to the left of the '1'. The US keyboard doesn't have a character there (or any other AltGr characters). To type that character you will need to:

  Keyboard.press(KEY_LEFT_ALT);

Keyboard.press('`');  // The un-shifted char left of '1' on the US English keyboard
  Keyboard.releaseAll();

you are a genious. thanks you