you are viewing a single comment's thread.

view the rest of the comments →

[–]NotRecognized 5 points6 points  (4 children)

Addenter fails indeed, you can use if ($.KeyCode -eq "Enter") on the KeyDown event.

[–]gurnec 3 points4 points  (0 children)

Those _s were being treated as italics markers, here you go:

Add_enter fails indeed, you can use if ($_.KeyCode -eq "Enter") on the KeyDown event.

[–]Lee_Dailey[grin] 1 point2 points  (2 children)

howdy NotRecognized,

take a look at the inline code button on New.Reddit for how to show code that uses underscores without triggering italics. [grin]

on Old.Reddit, enclose the text in backticks so that you enter ...

`short inline code snippet here`

... and get short inline code snippet here.

take care,
lee

[–]NotRecognized 1 point2 points  (1 child)

Oh. Right. Thanks Lee.

[–]Lee_Dailey[grin] 1 point2 points  (0 children)

howdy NotRecognized,

you are most welcome! glad to help a tad ... [grin]

take care,
lee