• 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:58:20 -0600

Shane,

set {newR, newB} to (current application's NSScreen's mainScreen()'s |frame|()'s |size|()) as list

Errors, NSScreen doesn’t understand the “mainScreen” message.

> On Oct 28, 2014, at 5:38:PM, Shane Stanley <email@hidden> wrote:
>
> On 29 Oct 2014, at 10:30 am, Robert Poland <email@hidden> wrote:
>>
>>> set {newR, newB} to (current application's NSScreen's mainScreen()'s frame()'s |size|()) as list
>>
>> When run, i get   Expected “,” but found “(“.
>>
>> Pointing at the last “(“.
>
> The "(" after |size| or the "(" after frame? If it's the former, it sounds like you have a terminology conflict -- put pipes around "frame", too.
>
> --
> Shane Stanley <email@hidden>
> <www.macosxautomation.com/applescript/apps/>

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>)
 >Re: Yosemite appears to have broken shell script (From: Shane Stanley <email@hidden>)
 >Re: Yosemite appears to have broken shell script (From: Robert Poland <email@hidden>)
 >Re: Yosemite appears to have broken shell script (From: Shane Stanley <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: Re: Yosemite appears to have broken shell script
  • Index(es):
    • Date
    • Thread