Arduino BadUSB Questions

Hello everyone,

I bought myself a BadUSB Stick a few days ago and went right into coding with Arduino (Im not doing any malicious with it dont worry, besides the fact im way too bad for that).

I wrote a simple script which opens a Powershell and Downloads a Picture from the Internet, it worked pretty good, except the fact that I couldnt open the picture when it was downloaded. Any Ideas on that?

The second problem im facing is, I have a German Keyboard-Layout and I need to change to a English Keyboard-Layout everytime before I inject(is that the right word?) the USB-Stick, otherwhise Arduino writes different characters.

Is there any way I can Code for a Germany Keyboard-Layout? Or do you guys have any other Ideas?

I will upload my Code on pastebin so you guys get a quick overview :slight_smile:

Thank you very much for reading and please dont hate too much since Im a total beginner :wink:

Here is the Link to my Code:

https://pastebin.com/gTBjxRYi

Many members will not download code. Better to post your code as described in the forum guidelines.

groundFungus:
Many members will not download code. Better to post your code as described in the forum guidelines.

No need to download anything, thats why I uploaded it to pastebin, the code is not even 50 lines.
And to answer my question you dont need to download the code either.