Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


send key "@" ?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
ups2000ups
I post too much
Reputation: 0

Joined: 31 Jul 2006
Posts: 2471

PostPosted: Sun Dec 16, 2007 10:56 am    Post subject: send key "@" ? Reply with quote

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
View user's profile Send private message
bartil
Advanced Cheater
Reputation: 0

Joined: 11 Jul 2006
Posts: 91

PostPosted: Sun Dec 16, 2007 11:41 am    Post subject: Reply with quote

Try this:

Code:
PostKeyEx32(ORD('2'), [ssCtrl, ssAlt], False);
Back to top
View user's profile Send private message MSN Messenger
Hack-Addict
Master Cheater
Reputation: 0

Joined: 20 Nov 2007
Posts: 287

PostPosted: Sun Dec 16, 2007 12:31 pm    Post subject: Re: send key "@" ? Reply with quote

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}"

_________________

Sciextron made the userbar up here, Rep him =D

[img]http://i145.photobucket.com/albums/r225/Michaell61/header.gif[/img] <---Visit theprocoders today!
Back to top
View user's profile Send private message
bartil
Advanced Cheater
Reputation: 0

Joined: 11 Jul 2006
Posts: 91

PostPosted: Sun Dec 16, 2007 1:34 pm    Post subject: Reply with quote

Code:
SendKeys('@', True);

--

@@@@@@@@@@@@@@ Very Happy
Back to top
View user's profile Send private message MSN Messenger
Hack-Addict
Master Cheater
Reputation: 0

Joined: 20 Nov 2007
Posts: 287

PostPosted: Sun Dec 16, 2007 2:04 pm    Post subject: Reply with quote

bartil wrote:
Code:
SendKeys('@', True);

--

@@@@@@@@@@@@@@ Very Happy



Lol, he edited it and made it say delphi, it looks like vb... a little...
Or i missed that part

_________________

Sciextron made the userbar up here, Rep him =D

[img]http://i145.photobucket.com/albums/r225/Michaell61/header.gif[/img] <---Visit theprocoders today!
Back to top
View user's profile Send private message
rapion124
Grandmaster Cheater Supreme
Reputation: 0

Joined: 25 Mar 2007
Posts: 1095

PostPosted: Sun Dec 16, 2007 3:05 pm    Post subject: Reply with quote

Find the ASCII equivalent of '@' and use Chr() to get @.
Back to top
View user's profile Send private message
Michel
Expert Cheater
Reputation: 0

Joined: 16 May 2007
Posts: 214
Location: The Netherlands

PostPosted: Fri Dec 21, 2007 2:35 pm    Post subject: Reply with quote

bartil wrote:
Code:
SendKeys('@', True);

--

@@@@@@@@@@@@@@ Very Happy


Thats the VB sendkeys function -_-
Back to top
View user's profile Send private message
DeletedUser14087
I post too much
Reputation: 2

Joined: 21 Jun 2006
Posts: 3069

PostPosted: Fri Dec 21, 2007 2:45 pm    Post subject: Reply with quote

just curious, why do you want to send @ ?

try using sendinput
Back to top
View user's profile Send private message
HolyBlah
Master Cheater
Reputation: 2

Joined: 24 Aug 2007
Posts: 446

PostPosted: Sat Dec 22, 2007 7:00 am    Post subject: Reply with quote

Micheltjuh wrote:
bartil wrote:
Code:
SendKeys('@', True);

--

@@@@@@@@@@@@@@ Very Happy


Thats the VB sendkeys function -_-

It is working in Delphi too, but you need SendKeys32.pas for it.
Back to top
View user's profile Send private message
Pseudo Xero
I post too much
Reputation: 0

Joined: 16 Feb 2007
Posts: 2607

PostPosted: Sat Dec 22, 2007 8:10 am    Post subject: Reply with quote

Micheltjuh wrote:
bartil wrote:
Code:
SendKeys('@', True);

--

@@@@@@@@@@@@@@ Very Happy


Thats the VB sendkeys function -_-

VB doesn't use the ; and ' characters, does it?
Back to top
View user's profile Send private message
Michel
Expert Cheater
Reputation: 0

Joined: 16 May 2007
Posts: 214
Location: The Netherlands

PostPosted: Sat Dec 22, 2007 9:13 am    Post subject: Reply with quote

Ooops no thats right..
Just found that out right after I posted that :p
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Sat Dec 22, 2007 9:39 am    Post subject: Reply with quote

Xenophobe wrote:
Micheltjuh wrote:
bartil wrote:
Code:
SendKeys('@', True);

--

@@@@@@@@@@@@@@ Very Happy


Thats the VB sendkeys function -_-

VB doesn't use the ; and ' characters, does it?


VB embraces strings with " " and no, doesn't use ; to end lines. Just line break to start new lines.

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites