[GH-ISSUE #296] use key stringify name instead of KEY code #1612

Closed
opened 2026-03-01 18:46:54 +03:00 by kerem · 3 comments
Owner

Originally created by @laiqun on GitHub (Mar 18, 2018).
Original GitHub issue: https://github.com/NickeManarin/ScreenToGif/issues/296

when I type 't' in json file there is 63,I must check System.Windows.Input.KEY find 63 meaning alpha 'T'
{
"CursorX": 489,
"CursorY": 523,
"Delay": 1000,
"Keys": [{
"IsUppercase": false,
"Key": 63
}],
"Name": null,
"Path": "C:\Users\laiqun\AppData\Local\Temp\ScreenToGif\Recording\2018-03-18 11-11-01\5.png",
}

Originally created by @laiqun on GitHub (Mar 18, 2018). Original GitHub issue: https://github.com/NickeManarin/ScreenToGif/issues/296 when I type 't' in json file there is 63,I must check System.Windows.Input.KEY find 63 meaning alpha 'T' { "CursorX": 489, "CursorY": 523, "Delay": 1000, "Keys": [{ "IsUppercase": false, "Key": 63 }], "Name": null, "Path": "C:\\Users\\laiqun\\AppData\\Local\\Temp\\ScreenToGif\\Recording\\2018-03-18 11-11-01\\5.png", }
kerem 2026-03-01 18:46:54 +03:00
Author
Owner

@laiqun commented on GitHub (Mar 18, 2018):

part of KEY.cs

namespace System.Windows.Input
{
    public enum Key
    {
        None = 0,
        Cancel = 1,
        Back = 2,
}
<!-- gh-comment-id:374003441 --> @laiqun commented on GitHub (Mar 18, 2018): part of KEY.cs ``` namespace System.Windows.Input { public enum Key { None = 0, Cancel = 1, Back = 2, } ```
Author
Owner

@laiqun commented on GitHub (Mar 18, 2018):

also you can still use key code ? I't doesn't matter

<!-- gh-comment-id:374003813 --> @laiqun commented on GitHub (Mar 18, 2018): also you can still use key code ? I't doesn't matter
Author
Owner

@NickeManarin commented on GitHub (Mar 18, 2018):

The json is an internal file, it needs to stay like that.

<!-- gh-comment-id:374018776 --> @NickeManarin commented on GitHub (Mar 18, 2018): The json is an internal file, it needs to stay like that.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ScreenToGif#1612
No description provided.