getting system specifications
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
getting system specifications
I can not find how I can read which processor, which operating system,
size of HD etc. is in a system and put it in a stack. For the moment I only
need it on a windows system. So that in my application people can see
what is in their computers, for assistance when I want to help them to
repair their computer.
size of HD etc. is in a system and put it in a stack. For the moment I only
need it on a windows system. So that in my application people can see
what is in their computers, for assistance when I want to help them to
repair their computer.
Re: getting system specifications
Hi...
The following syntax might help you:
You can also use the system_profiler command line utility on Mac OS X. You can use systeminfo.exe on Windows. I found some info saying that cat /proc/* would do the same on Linux but I haven't tried that yet. There are quite a few command line utilities available for Linux.
Kind regards,
Mark
The following syntax might help you:
Code: Select all
put the processor
put the environment
put the qtVersion
put the systemVersion
put the platform
Kind regards,
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
-
- Livecode Opensource Backer
- Posts: 1336
- Joined: Sun Jul 12, 2009 10:53 am
- Location: Bordeaux, France
Re: getting system specifications
Look at 'platform'. 'volumes' and 'the disk space' in the dictionary...
be well
Dixie
be well
Dixie
-
- VIP Livecode Opensource Backer
- Posts: 9842
- Joined: Sat Apr 08, 2006 7:05 am
- Location: Los Angeles
- Contact:
Re: getting system specifications
Those are generally great sources of info, but for myself I stopped including the qtVersion in similar gestalt functions on non-Mac systems, because to get that info LiveCode needs to initialize QuickTime, and that can take several seconds if it hasn't already been used in that session.Mark wrote:Hi...
The following syntax might help you:
Code: Select all
put the processor put the environment put the qtVersion put the systemVersion put the platform
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
Re: getting system specifications
Now I know where to look, thx all for the fast reply.
-
- Posts: 720
- Joined: Thu Sep 11, 2014 1:49 pm
- Location: The Netherlands
Re: getting system specifications
Just for completion.
One can paste the code below in a button to get all kinds of system information from a Windows PC.
Greetings,
Paul
One can paste the code below in a button to get all kinds of system information from a Windows PC.
Code: Select all
on mouseUp pMouseButton
put the platform &cr& systemVersion() &cr& the processor &cr& the environment &cr& the qtVersion into tSysInfo1
set the hideConsoleWindows to true
put shell ( "systeminfo.exe" ) into tSysInfo2
answer tSysInfo1 &cr& "------------------------" &cr& tSysInfo2
//breakpoint
end mouseUp
Paul
-
- VIP Livecode Opensource Backer
- Posts: 9670
- Joined: Wed May 06, 2009 2:28 pm
- Location: New York, NY
Re: getting system specifications
Also "the machine", "the version", "the buildNumber"...
The reason I mention these is that if you look up any one of Mark's replies in the dictionary, you will find others in the "related" section. As Dixie mentioned, this is just good practice at any time, as one find leads to another, and so on...
Craig
The reason I mention these is that if you look up any one of Mark's replies in the dictionary, you will find others in the "related" section. As Dixie mentioned, this is just good practice at any time, as one find leads to another, and so on...
Craig
-
- VIP Livecode Opensource Backer
- Posts: 135
- Joined: Tue Feb 23, 2010 10:53 pm
- Location: Saint Louis, Missouri USA
Re: getting system specifications
The comment by mrcoollian was the basis of this stack. I just expanded the list.
Where do I find the "systeminfo.exe" app?
Bob
-
- Livecode Opensource Backer
- Posts: 9388
- Joined: Fri Feb 19, 2010 10:17 am
- Location: Bulgaria