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 


HOW ABOUT THIS?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting
View previous topic :: View next topic  
Author Message
MateeJr GT
Advanced Cheater
Reputation: 0

Joined: 24 Dec 2017
Posts: 58

PostPosted: Mon Apr 15, 2019 6:16 am    Post subject: HOW ABOUT THIS? Reply with quote

How to make Some Captions for CELabel is
Going checking Your Operating System
ex. Windows 10
Then the captions is OS: Windows 10
Is There any Way?

_________________
Hi Lynxz Gaming
Back to top
View user's profile Send private message
Corroder
Grandmaster Cheater
Reputation: 25

Joined: 10 Apr 2015
Posts: 898

PostPosted: Mon Apr 15, 2019 7:49 am    Post subject: Reply with quote

Not sure what are you trying to do. Typical you, I think.
But if you trying to DETERMINE OS VERSION on your machine then :

Code:
local f = io.popen("ver")
local l = f:read("*a")
print(l)
f:close()

Result: Microsoft Windows [Version 6.1.7601].
While [Version 6.1.7601] is Windows 7 Service Pack 1 according to windows released version from Microsoft site.

Another one :

Code:
local f = io.popen('"systeminfo | findstr /C:"OS""')
local l = f:read("*a")
print(l)
f:close()


Result :

OS Name: Microsoft Windows 7 Ultimate
OS Version: 6.1.7601 Service Pack 1 Build 7601
OS Manufacturer: Microsoft Corporation
OS Configuration: Standalone Workstation
OS Build Type: Multiprocessor Free
BIOS Version: American Megatrends Inc. 1103, 24/06/2014


So if you want to put that information to some objects inside CE Object, the remains are yours. Why?. Because you need to push yourself to learn.

_________________
Stealing Code From Stolen Code...
And Admit It.. Hmmm....Typically LOL
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