GetSystemInfo()

Discuss any general programming issues here
Post Reply
djrikki
Posts: 682
Joined: Wed Apr 06, 2011 12:26 am

GetSystemInfo()

Post by djrikki »

Hello,

General questions and call for improvement/alternative solution.

1) What is the difference between ProgramFiles and AppData please give solid example.
2) table.Downloads would be very beneficial as well.
3) This command doesn't work under MacOS X - can you extend this to MacOS X?
4) If you cannot the command to MacOS X - how do I find out the path to the /Applications folder?

Thanks in advance.
Evolve - Rapid GUI Development tool for MUI Royale and RapaGUI
http://myevolve.wordpress.com
djrikki
Posts: 682
Joined: Wed Apr 06, 2011 12:26 am

Re: GetSystemInfo()

Post by djrikki »

Ignore point 1 worked out myself in the meantime.
Don't suppose point 2 is also relevant - isn't the Downloads folder in Windows always contained with My Documents and titled Downloads?
Evolve - Rapid GUI Development tool for MUI Royale and RapaGUI
http://myevolve.wordpress.com
User avatar
airsoftsoftwair
Posts: 5933
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: GetSystemInfo()

Post by airsoftsoftwair »

djrikki wrote:Hello,
1) What is the difference between ProgramFiles and AppData please give solid example.
ProgramFiles is where the programs go (usually "C:\Program Files" or "C:\Program Files (x86)" on 64-bit systems). AppData is where application specific data is stored, e.g. in "C:\Users\....\AppData\Roaming\Microsoft\ProgramName".
2) table.Downloads would be very beneficial as well.
On Windows you can easily find this out by reading the registry. Just use Google to find out the registry key under which the downloads path is stored and then use ReadRegistryKey() on it.
3) This command doesn't work under MacOS X - can you extend this to MacOS X?
For ProgramFiles this is possible, but there's no AppData location on Mac. AppData is Windows-specific.
4) If you cannot the command to MacOS X - how do I find out the path to the /Applications folder?
Not sure if that's possible. Try to use Google to find out where this is stored. It might be possible that it is inside an environment variable or some prefs file which you can read from Hollywood. I don't know it by heart.
User avatar
airsoftsoftwair
Posts: 5933
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: GetSystemInfo()

Post by airsoftsoftwair »

djrikki wrote:Ignore point 1 worked out myself in the meantime.
Too late ;)
Don't suppose point 2 is also relevant - isn't the Downloads folder in Windows always contained with My Documents and titled Downloads?
No, this can be changed by the user if he adapts the corresponding registry keys.
djrikki
Posts: 682
Joined: Wed Apr 06, 2011 12:26 am

Re: GetSystemInfo()

Post by djrikki »

Right-e-o, I'll take a look at the win register in the morning.
Evolve - Rapid GUI Development tool for MUI Royale and RapaGUI
http://myevolve.wordpress.com
Post Reply