Posted: Mon Apr 15, 2019 6:16 am Post subject: HOW ABOUT THIS?
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? _________________
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
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