Skip to content

Backslash on UK Keyboard Layout #32

@mick-dee-irl

Description

@mick-dee-irl

Hi - I have setup a Pico Ducky using Pico W. I have been able to get some test scripts to work. I am working on a simple use case where a text file is saved to a location on the target machine. I am using the UK Keyboard layout as provided by Neradoc. Below is my duckyscript that i am transferring to the target machine. However, the backslashes are being converted to # when entered onto the target machine via the Pico Ducky.

I am wondering if anyone has found a fix for backslashes on UK Keyboard layouts?

DELAY 500
GUI r
DELAY 500
STRING powershell
ENTER
DELAY 500
STRING $filepath = "$env:userprofile\Documents"
ENTER
DELAY 500
STRING New-Item -Path "$filepath\secrets.txt" -ItemType File -Force
ENTER
DELAY 500
STRING $doc = "$filepath\secrets.txt"
ENTER
DELAY 500
STRING Set-Content -Path $doc -Value 'These are my secrets'
ENTER

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions