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 


Getting contents of a text box?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting
View previous topic :: View next topic  
Author Message
sixaxisnet
How do I cheat?
Reputation: 0

Joined: 07 Feb 2015
Posts: 2

PostPosted: Sun Mar 22, 2015 9:48 pm    Post subject: Getting contents of a text box? Reply with quote

I'm working on a login screen,

Code:
Data, Post = http.request("http://example.net/process.php", "command="..tostring("login&username="..self.edituser.Caption))


And here is the self.edituser code,

Code:
   self.edituser = createEdit(self.form);
   -- self.edituser.Caption = '99';
   self.edituser.Top = 23;
   self.edituser.Left = 60;
   self.edituser.Width = 105;
   self.edituser.Height = 20;


The bit the problem seems to be at is, self.edituser.Caption

What can I do here, to get the contents of self.edituser textbox into that post request?

Thanks for any help you can give.
Back to top
View user's profile Send private message
hhhuut
Grandmaster Cheater
Reputation: 6

Joined: 08 Feb 2015
Posts: 607

PostPosted: Mon Mar 23, 2015 2:29 am    Post subject: Reply with quote

From what I know the right property ist "text", so self.edituser.text...
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting 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