
So if I need to quickly reference a user's temp folder, home directory, desktop directory, or maybe even computer name or "logged on user", I can choose the appropriate macro. Does LiveCode offer anything remotely similar to this or do I have to figure out some other way of getting this information? I'd like to be able to quick grab an environment variable without running a shell command and parsing the output back into variables, if possible.
If there isn't an easy way to get system environment variables back quickly, can someone recommend a "best practice" approach? Would you run the shell command "set"? If so, how would you proceed to store and manage that return data? Would you read it into an array and then loop through it setting each item as a variable?
Thanks!