Jump to content

enter key code

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
10 replies to this topic

#1
flaviusikbv

flaviusikbv

    Newbie

  • Members
  • Pip
  • 5 posts
Hi , i`m wondering if theres any code that can generate the windows key
like "%30" generates "0" and "%3f" generates "?" and so on .. please help me ^^
thx

#2
flaviusikbv

flaviusikbv

    Newbie

  • Members
  • Pip
  • 5 posts
i mean enter key not windows key

#3
Xav

Xav

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 13,118 posts
Try an escape sequence for a new line (ASCII 10) or a carriage return (ASCII 13).
Jordan said:

Good members, like yourself, stick around and post for ages to come!
Mr. Xav | Blog | Forums

#4
flaviusikbv

flaviusikbv

    Newbie

  • Members
  • Pip
  • 5 posts
i don`t really know what u mean by this

Quote

Try an escape sequence for a new line (ASCII 10) or a carriage return (ASCII 13).

i need some code to insert in this thing

ymsgr:sendim?notarealuser&m=This+is+my+message (and here must be insert enter key)

#5
flaviusikbv

flaviusikbv

    Newbie

  • Members
  • Pip
  • 5 posts
well .. does anyone know ?! i need that bad

#6
dargueta

dargueta

    Writes binary right handed and hex left handed

  • Moderators
  • 4,720 posts
Go to Start > Programs > Accessories > System Tools > Character Map. There you can find the ASCII or Unicode codes for any character in any font. (ENTER would be %0d, I believe.)

All you need to do is take the hexadecimal code of the character you want.

#7
Xav

Xav

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 13,118 posts
I dunno about C or C++, but you can use "\r" or "\n" or both in most C-based languages.
Jordan said:

Good members, like yourself, stick around and post for ages to come!
Mr. Xav | Blog | Forums

#8
dargueta

dargueta

    Writes binary right handed and hex left handed

  • Moderators
  • 4,720 posts
He's using URL encoding in the string, if my assumptions are correct. You can't use C-style escapes in those.

#9
Xav

Xav

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 13,118 posts
Oh, I see. In that case, your method is best. But if the URL is being sent be something such as PHP, the script automatically generates them from character escape sequences. I thought a new line was %20?
Jordan said:

Good members, like yourself, stick around and post for ages to come!
Mr. Xav | Blog | Forums

#10
dargueta

dargueta

    Writes binary right handed and hex left handed

  • Moderators
  • 4,720 posts
That's a space character. CRLF is %0d%0a, but only %0d is output by then ENTER key (%0a is added in by the program or system, I think.)

#11
Xav

Xav

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 13,118 posts
Oh yeah, I forgot that. Sorry.
Jordan said:

Good members, like yourself, stick around and post for ages to come!
Mr. Xav | Blog | Forums