Script Editor idle, with missing features

I'm on Ventura 13.1. Previously Monterey 12.2 but updated the OS in hope Script Editor would magically heal itself.

I'm trying to do the most basic of apple scripts in MacOS Script Editor Version 2.11 (227). Compile doesn't seem to work. Text stays black and white without regard to the usual formatting. I can't save anything. Can't run anything. And if I go to my Preferences, the "Default Language" is greyed out, so I can't even select AppleScript.

Tried to delete a file in my Library called com.apple.ScriptEditor2.plist (as per another google solution). Didn't work. Restarted, didn't work.


BUT! Script Editor works on the same iMac when logging in to another user, or even the Guest account. But my personal user won't let me use it. Also noticed on the other accounts, that their version of Script Editor had an AppleScript / Javascript dropdown at the top left. My version does not. What could possibly make it unusable on my account? It's the same Mac!

It should really just work though. Any tricks or things to try would be greatly appreciated.


See screenshot below. The document stays "untitled" no matter what. Also, I'm notified that "The document could not be autosaved". Notice the lack of that first dropdown that should be left of the "No selected elements" one - which is also empty. Default language greyed out.



iMac 27″ 5K, macOS 13.1

Posted on Jan 17, 2023 10:18 AM

Reply
Question marked as Top-ranking reply

Posted on Jan 17, 2023 10:28 AM

Since it works as intended in another user account you have some 3rd party software that is interfering with it in your user account.


Therefore, download and run Etrecheck.  Copy and paste the results into your reply. Etrecheck is a diagnostic tool that was developed by one of the most respected users here in the ASC and recommended by Apple Support  to provide a snapshot of the system and help identify the more obvious culprits that can adversely affect a Mac's performance.


Copy the report


and use the Additional Text button to paste the report in your reply.



Then we can evaluate the report to see if we can determine the cause of the problem.


Similar questions

9 replies
Question marked as Top-ranking reply

Jan 17, 2023 10:28 AM in response to NowaDude

Since it works as intended in another user account you have some 3rd party software that is interfering with it in your user account.


Therefore, download and run Etrecheck.  Copy and paste the results into your reply. Etrecheck is a diagnostic tool that was developed by one of the most respected users here in the ASC and recommended by Apple Support  to provide a snapshot of the system and help identify the more obvious culprits that can adversely affect a Mac's performance.


Copy the report


and use the Additional Text button to paste the report in your reply.



Then we can evaluate the report to see if we can determine the cause of the problem.


Jan 18, 2023 10:45 AM in response to NowaDude

Give this a try: boot into Safe Mode according to How to use safe mode on your Mac and test to see if the problem persists. Reboot normally and test again.


NOTE 1: Safe Mode boot can take up to 3 - 5 minutes as it's doing the following; 

• Verifies your startup disk and attempts to repair directory issues, if needed

• Loads only required kernel extensions (prevents 3rd party kernel/extensions from loading)

• Prevents Startup Items and Login Items from opening automatically

• Disables user-installed fonts 

Deletes font caches, kernel cache, and other system cache files


NOTE 2: if you have a wireless keyboard with rechargeable batteries connect it with its charging cable before booting into Safe Mode. This makes it act as a wired keyboard as will insure a successful boot into Safe Mode.


Jan 17, 2023 11:08 AM in response to NowaDude

First, there is no reason to ever install or run any 3rd party "cleaning", "optimizing", "speed-up", anti-virus, VPN or security apps on your Mac.  This documents describe what you need to know and do in order to protect your Mac: Effective defenses against malware and other threats - Apple Community and Recognize and avoid phishing messages, phony support calls, and other scams - Apple Support.  


There are no known viruses, i.e. self propagating, for Macs.  There are, however, adware and malware which require the user to install although unwittingly most of the time thru sneaky links, etc.   


Anti Virus developers try to group all types as viruses into their ad campaigns of fear.  They do a poor job of the detecting and isolating the adware and malware.  Since there are no viruses these apps use up a lot of system resources searching for what is non-existent and adversely affect system and app performance.


There is one app, Malwarebytes, which was developed by a long time contributor to these forums and a highly respected member of the computer security community, that is designed solely to seek out adware and known malware and remove it.  The free version is more than adequate for most users.  


Also, unless you're using a true VPN tunnel, such as between you and your employer, school or bank's servers, they are useless from a privacy standpoint.  Read these two articles: Public VPN's are anything but private and Former Malware Distributor Kape Technologies Now Owns ExpressVPN, CyberGhost, Private Internet Access, Zenmate, and a Collection of VPN “Review” Websites


That being said you've install what many of the experienced contributors to these forums consider akin to malware: CleanMyMac.


Therefore, uninstall CMM and Bitdefener software according to the developers instructions. You can check to see if you've removed all of the supporting files by downloading and running the shareware app Find Any File to search for any files with the application's or the developer's name in the file name.  For the software in question you'd do the following search(es): 


1 - Name contains cleanmymac

2 - Name contains bit defender


Any files that are found can be dragged from the search results window to the Desktop or Trash bin in the Dock for deletion.


FAF can search areas that Spotlight can't like invisible folders, system folders and packages.  



Jan 17, 2023 2:19 PM in response to NowaDude

The Etrecheck report says differently:


Security:
Gatekeeper: App Store and identified developers
System Integrity Protection: Enabled

Antivirus software: Apple, Bitdefender, and CleanMyMac


Both can interfere with normal system operation. Since they are totally unneeded and a waste of money, uninstall both and see if the problem persists or not.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Script Editor idle, with missing features

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.