Hack Forums
[.NET] SendKeys, Send TAB "CHARACTER" - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151)
+---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118)
+---- Thread: [.NET] SendKeys, Send TAB "CHARACTER" (/showthread.php?tid=4507651)

Pages: Pages 1 2


SendKeys, Send TAB "CHARACTER" - AEDEAD - Oct 25, 2014

I want to sendkeys the TAB character, not execute the TAB command, just send the character for TAB.

This is the TAB character/Symbol -


* - CottleSilver - Oct 25, 2014

This should work
PHP Code

<?php 
SendKeys
.Send{"{TAB}") 



* - AEDEAD - Oct 26, 2014

(Oct 25, 2014 10:47 PM)CottleSilver Wrote:  This should work
PHP Code

<?php 
SendKeys
.Send{"{TAB}") 

You failed to comprehend my thread.

Read the title, "Sendkeys, send Tab CHARACTER"

I want to sendkey the actual TAB Character. And NOT do the TAB Command, just input the character.


* - nathan72389 - Oct 26, 2014

so just send the appropriate character code

[Image: oIZxRd5.png]


* - AEDEAD - Oct 26, 2014

(Oct 26, 2014 05:28 AM)nathan72389 Wrote:  so just send the appropriate character code

[Image: oIZxRd5.png]

SendKeys.Send(HandleSendKeys("{ASC 0160}"))

I cannot send NoBreakSpaceCharacter using the "ALT + Numpad" thing that sendkeys is suppose to function as according to google...

Also this is using the unicode number, what you gave me and what I find online isnt the unicode. I've tried looking for all the functions of sendkeys but I can't seem to find anyway to input ALT Codes let alone sending something I don't have the unicode of.




SendKeys.Send(HandleSendKeys(ChrW(9)))

This functions the same way as

SendKeys.Send("{TAB}") which is just using the Tab command, not actually sending the character like you would Paste it out of your clipboard.


* - Hiiro - Oct 26, 2014

Are you trying to send the multiple spaces sent when pressing tab?
You could use the string literal "\t"

Spoiler (Click to View)


* - AEDEAD - Oct 26, 2014

(Oct 26, 2014 06:19 AM)Austrix Wrote:  Are you trying to send the multiple spaces sent when pressing tab?
You could use the string literal "\t"

Spoiler (Click to View)

No I am trying to send the TAB Character to make ASCII art with my spammer...


* - Hiiro - Oct 26, 2014

(Oct 26, 2014 06:23 AM)AEDEAD Wrote:  No I am trying to send the TAB Character to make ASCII art with my spammer...
"\t" is the equivalent of pressing tab in a text editor.


* - AEDEAD - Oct 26, 2014

(Oct 26, 2014 06:25 AM)Austrix Wrote:  "\t" is the equivalent of pressing tab in a text editor.

You do not understand, I do not want to PRESS or execute the TAB Control/Command in any way. I simply want to Send the TAB character. The TAB key is a character, unicode 0009 press ALT + 0009 on numb pad to get TAB character. I want sendkeys to do this, but no matter how I try It executes TAB, not SENDS the TAB Character.


* - Hiiro - Oct 26, 2014

Maybe this will help you?
http://msdn.microsoft.com/en-us/library/microsoft.visualbasic.controlchars.aspx


* - Cornflower Blue இڿڰۣ-ڰۣ— - Oct 26, 2014

(Oct 26, 2014 06:29 AM)AEDEAD Wrote:  You do not understand, I do not want to PRESS or execute the TAB Control/Command in any way. I simply want to Send the TAB character. The TAB key is a character, unicode 0009 press ALT + 0009 on numb pad to get TAB character. I want sendkeys to do this, but no matter how I try It executes TAB, not SENDS the TAB Character.

Use SendMessage to hold down the alt key and then type 0006 and release the alt key.


* - AEDEAD - Oct 26, 2014

(Oct 26, 2014 06:39 AM)Austrix Wrote:  Maybe this will help you?
http://msdn.microsoft.com/en-us/library/microsoft.visualbasic.controlchars.aspx

Sorry but no I was already at this site earlier from the statements that asshole earlier made. I was just looking for the functions of Sendkeys.

I'm really surprised Chrw(9) doesn't send the TAB character which is a blank space that is long, and it's useful for making ASCII art in text chats.


(Oct 26, 2014 06:43 AM)Cornflower Blue இڿڰۣ-ڰۣ— Wrote:  Use SendMessage to hold down the alt key and then type 0006 and release the alt key.

Lol that makes no sense, you would have to use {Numbpad} for what you're saying lol.. thanks for the help though.


* - Cornflower Blue இڿڰۣ-ڰۣ— - Oct 26, 2014

(Oct 26, 2014 06:45 AM)AEDEAD Wrote:  Sorry but no I was already at this site earlier from the statements that asshole earlier made. I was just looking for the functions of Sendkeys.

I'm really surprised Chrw(9) doesn't send the TAB character which is a blank space that is long, and it's useful for making ASCII art in text chats.



Lol that makes no sense, you would have to use {Numbpad} for what you're saying lol.. thanks for the help though.

SendMessage is not the same as SendKeys


* - AEDEAD - Oct 26, 2014

(Oct 26, 2014 07:09 AM)Cornflower Blue இڿڰۣ-ڰۣ— Wrote:  SendMessage is not the same as SendKeys

I apologize, I just skimmed over what you said.

What is sendmessage, what are it's functions, and why can't i find anything relevant on google?


* - Cornflower Blue இڿڰۣ-ڰۣ— - Oct 26, 2014

http://msdn.microsoft.com/en-us/library/windows/desktop/ms644950(v=vs.85).aspx

First result on Google when I search "SendMessage"