• 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: Yosemite appears to have broken shell script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Yosemite appears to have broken shell script


  • Subject: Re: Yosemite appears to have broken shell script
  • From: Robert Poland <email@hidden>
  • Date: Tue, 28 Oct 2014 17:49:48 -0600

False alarm.

A restart cured it.

> On Oct 28, 2014, at 4:10:PM, Robert Poland <email@hidden> wrote:
>
> This shell script has worked for ages, now it errors.
>
> Script error>>
> Applescript error number 1: The command exited with a non-zero status..”.
>
> Script>>
> tell (do shell script "/usr/sbin/system_profiler SPDisplaysDataType | grep Resolution") to set {newR, newB} to {word 2, word 4 as number} -- get screen size for monitor
>
> I would hope that the screen size is a non-zero.
>
> TIA,
>
> Robert Poland
> iMac, Late 2013, 14,2
>  3.2 GHz Intel Core I5, 27”
>  16 GB Ram, 1TB Fusion HD
>  OS X 10.10

Robert Poland
Fort Collins CO


 _______________________________________________
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: 
 >Yosemite appears to have broken shell script (From: Robert Poland <email@hidden>)

  • Prev by Date: Re: Yosemite appears to have broken shell script
  • Next by Date: Re: Yosemite appears to have broken shell script
  • Previous by thread: Re: Yosemite appears to have broken shell script
  • Next by thread: Yosemite decimal number conversion error
  • Index(es):
    • Date
    • Thread