Hello all,
I will introduce myself in another post. But...
I need help with the following (I'm really bad at searching, so if it's already been, please provide the link to that post);
When starting the preconfigured SheepShaver MacOS9 emulator, I get a message that the application does not have permissions to send Apple events to the finder (code -1743).
The Apple script also states the following:
tell application "System Events" to count windows.
Apparently this is not possible, anyone else having this problem?
System:
iMac 2012 (late)
CPU : i5
memory 8 GB
OS : Ventura via OpenCore
tell application "System Events" to count windows
Moderators: Cat_7, Ronald P. Regensburg
-
- Forum All-Star
- Posts: 1706
- Joined: Tue Oct 14, 2008 12:12 am
Re: tell application "System Events" to count windows
The "not authorized to send AppleEvents" problem is a well-known problem with AppleScript on Ventura running under OpenCore. It occurs with any reasonably complex AppleScript app. It seems also to occur with Monterey under OpenCore and perhaps earlier versions running under OpenCore.
There is no solution, but you can ask the OpenCore developers to try to provide a fix. Until they get this fixed, the only solution is to run the program in a macOS version that is natively supported on your system (without OpenCore).
Also, you might try my standalone SheepShaver version that doesn't use AppleScript. It should work correctly under OpenCore, but I haven't had any reports either way:
http://www.columbia.edu/~em36/selfcontained.html
There is no solution, but you can ask the OpenCore developers to try to provide a fix. Until they get this fixed, the only solution is to run the program in a macOS version that is natively supported on your system (without OpenCore).
Also, you might try my standalone SheepShaver version that doesn't use AppleScript. It should work correctly under OpenCore, but I haven't had any reports either way:
http://www.columbia.edu/~em36/selfcontained.html
Re: tell application "System Events" to count windows
The System 7 is working, tried the MacOS Nine, but that one crashed. Don't know why.
-
- Forum All-Star
- Posts: 1706
- Joined: Tue Oct 14, 2008 12:12 am