Re: System info
Re: System info
- Subject: Re: System info
- From: Shane Stanley <email@hidden>
- Date: Wed, 30 Apr 2014 09:22:31 +1000
On 30 Apr 2014, at 3:39 am, Iurista GmbH <email@hidden> wrote:
> I extract from system info the system version, the short user name, the home directory, the boot volume and the computer name.
If you use 'path to home folder', you'll get the home directory; 'path to startup disk' will give you the name of the startup disk; and 'do shell script hostname' will give you the computer name. For the short user name, either 'do shell script whoami' or 'tell application "System Events" to name of current user'.
--
Shane Stanley <email@hidden>
<www.macosxautomation.com/applescript/apps/>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden