Skip to content

Code is not working with multiple lines using STRING or ENTER #5

Closed
@dslrcnc

Description

@dslrcnc

I keep receiving this message in the console:

ValueError: No keycode available for character '\r' (13/0x0d).

After executing this ducky script file

DELAY 1000
GUI r
ENTER
STRING 123

It seems the code reads the lines with an extra \r\n in the line 148, the code tries to remove \n but maybe it needs to remove also \r but this affects also the last line of the ducky script because it reads the line with 2 less caracters because the last line doesn't have the extra \r\n.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions