| View previous topic :: View next topic |
| Author |
Message |
ups2000ups I post too much
Reputation: 0
Joined: 31 Jul 2006 Posts: 2471
|
Posted: Sun Dec 16, 2007 10:56 am Post subject: send key "@" ? |
|
|
well i got a problem in delphi .. how do i send text/key @ to another app it always send a "2" instead ..
this is the stuff i tested ..
sendkeys('@'); << you need another code to use this function
PostKeyEx32(ORD('@'), [], FALSE); << dosent send anything (still need another function to use it)
_________________
dont complain about my english...
1*1 = 2? |
|
| Back to top |
|
 |
bartil Advanced Cheater
Reputation: 0
Joined: 11 Jul 2006 Posts: 91
|
Posted: Sun Dec 16, 2007 11:41 am Post subject: |
|
|
Try this:
| Code: | | PostKeyEx32(ORD('2'), [ssCtrl, ssAlt], False); |
|
|
| Back to top |
|
 |
Hack-Addict Master Cheater
Reputation: 0
Joined: 20 Nov 2007 Posts: 287
|
Posted: Sun Dec 16, 2007 12:31 pm Post subject: Re: send key "@" ? |
|
|
| ups2000ups wrote: | well i got a problem in delphi .. how do i send text/key @ to another app it always send a "2" instead ..
this is the stuff i tested ..
sendkeys('@'); << you need another code to use this function
PostKeyEx32(ORD('@'), [], FALSE); << dosent send anything (still need another function to use it) |
SendKey "{@}"
Or it might be this
SendKey "{at}"
_________________
|
|
| Back to top |
|
 |
bartil Advanced Cheater
Reputation: 0
Joined: 11 Jul 2006 Posts: 91
|
Posted: Sun Dec 16, 2007 1:34 pm Post subject: |
|
|
| Code: | | SendKeys('@', True); |
--
@@@@@@@@@@@@@@
|
|
| Back to top |
|
 |
Hack-Addict Master Cheater
Reputation: 0
Joined: 20 Nov 2007 Posts: 287
|
Posted: Sun Dec 16, 2007 2:04 pm Post subject: |
|
|
| bartil wrote: | | Code: | | SendKeys('@', True); |
--
@@@@@@@@@@@@@@  |
Lol, he edited it and made it say delphi, it looks like vb... a little...
Or i missed that part
_________________
|
|
| Back to top |
|
 |
rapion124 Grandmaster Cheater Supreme
Reputation: 0
Joined: 25 Mar 2007 Posts: 1095
|
Posted: Sun Dec 16, 2007 3:05 pm Post subject: |
|
|
| Find the ASCII equivalent of '@' and use Chr() to get @.
|
|
| Back to top |
|
 |
Michel Expert Cheater
Reputation: 0
Joined: 16 May 2007 Posts: 214 Location: The Netherlands
|
Posted: Fri Dec 21, 2007 2:35 pm Post subject: |
|
|
| bartil wrote: | | Code: | | SendKeys('@', True); |
--
@@@@@@@@@@@@@@  |
Thats the VB sendkeys function -_-
|
|
| Back to top |
|
 |
DeletedUser14087 I post too much
Reputation: 2
Joined: 21 Jun 2006 Posts: 3069
|
Posted: Fri Dec 21, 2007 2:45 pm Post subject: |
|
|
just curious, why do you want to send @ ?
try using sendinput
|
|
| Back to top |
|
 |
HolyBlah Master Cheater
Reputation: 2
Joined: 24 Aug 2007 Posts: 446
|
Posted: Sat Dec 22, 2007 7:00 am Post subject: |
|
|
| Micheltjuh wrote: | | bartil wrote: | | Code: | | SendKeys('@', True); |
--
@@@@@@@@@@@@@@  |
Thats the VB sendkeys function -_- |
It is working in Delphi too, but you need SendKeys32.pas for it.
|
|
| Back to top |
|
 |
Pseudo Xero I post too much
Reputation: 0
Joined: 16 Feb 2007 Posts: 2607
|
Posted: Sat Dec 22, 2007 8:10 am Post subject: |
|
|
| Micheltjuh wrote: | | bartil wrote: | | Code: | | SendKeys('@', True); |
--
@@@@@@@@@@@@@@  |
Thats the VB sendkeys function -_- |
VB doesn't use the ; and ' characters, does it?
|
|
| Back to top |
|
 |
Michel Expert Cheater
Reputation: 0
Joined: 16 May 2007 Posts: 214 Location: The Netherlands
|
Posted: Sat Dec 22, 2007 9:13 am Post subject: |
|
|
Ooops no thats right..
Just found that out right after I posted that :p
|
|
| Back to top |
|
 |
atom0s Moderator
Reputation: 205
Joined: 25 Jan 2006 Posts: 8587 Location: 127.0.0.1
|
|
| Back to top |
|
 |
|