• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: machine name and user
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: machine name and user


  • Subject: Re: machine name and user
  • From: Shane Stanley <email@hidden>
  • Date: Thu, 16 Aug 2012 10:37:20 +1000

On 14/08/2012, at 10:54 PM, Iurista GmbH <email@hidden> wrote:

> set Compi to item 10 of ((system info) as list)--> Name of current machine
> set ICH to item 4 of ((system info) as list)--> Short Name of User (= Name of Home folder)

Please don't do that. "system info" is by definition *unordered*, so the list order is not set. It's also massively inefficient, never mind that you're doing it twice.

--
Shane Stanley <email@hidden>
'AppleScriptObjC Explored' <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

References: 
 >machine name and user (From: Bob Cuilla <email@hidden>)
 >Re: machine name and user (From: Iurista GmbH <email@hidden>)

  • Prev by Date: Re: machine name and user
  • Next by Date: Re: OS X 10.8 Security & Applescripts - "unidentified developer"
  • Previous by thread: Re: machine name and user
  • Next by thread: Re: machine name and user
  • Index(es):
    • Date
    • Thread