Re: Yosemite appears to have broken shell script
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