airmessage / airmessage-server

AirMessage's native message relay server for Mac
Apache License 2.0
183 stars 12 forks source link

Call status check script not working #3

Closed andre4ik3 closed 2 years ago

andre4ik3 commented 2 years ago

As I said in #2 , I wasn't able to complete a call previously due to lack of physical camera. I have one now, but FaceTime still refuses to work. When trying to do a FaceTime call, before even connecting or declining, the following error happens:

AppleScript Error -1719: System Events got an error: Can't get scroll area 2 of window 1 of process "FaceTime". Invalid index.

I glanced over the code and it seems that it is trying to get the sidebar (scroll area) that is not present here because the call has not yet started. When the error happens, this is the view of the desktop computer:

CleanShot 2022-03-17 at 18 27 47@2x


System Details

andre4ik3 commented 2 years ago

Nevermind, looking at the call status check script again, it does not yet support Russian locale in the labels list! 😅

Fixed by changing FaceTime locale to English in System Preferences :)