So I get this each time I start up or shut down "osascript wants to make changes"

Joined
Mar 26, 2019
Messages
187
Reaction score
8
Points
18
Your Mac's Specs
Mac mini. July 2012
I can not find out what is requesting this. It wants my os password of course. This problem has been aorundfor years it seems but I don't see an actual fix anywhere.
Does anyone know where to look to see what is cousing it?

Thanks
 
Joined
Nov 28, 2007
Messages
25,564
Reaction score
486
Points
83
Location
Blue Mountains NSW Australia
Your Mac's Specs
Silver M1 iMac 512/16/8/8 macOS 11.6
OP
rachalmers
Joined
Mar 26, 2019
Messages
187
Reaction score
8
Points
18
Your Mac's Specs
Mac mini. July 2012
Have a read of this and see if any help.

By chance do you use a Logitech mouse and/or software?


osascript - Apple Community

Thanks, yes I saw that thread. Interesting but I’m still looking.
I might have to resort to some shell scripting to look for osascript calls in plist files, or in other non binary scripts in maybe /bin etc directories.
It comes up fairly late in the start up sequence, and late in the shutdown, indicating that it’s possibly a third party addition from home brew maybe.
I keep looking..



Sent from my iPad using Mac-Forums
 
Joined
Oct 16, 2010
Messages
17,541
Reaction score
1,576
Points
113
Location
Brentwood Bay, BC, Canada
Your Mac's Specs
2011 27" iMac, 1TB(partitioned) SSD, 20GB, OS X 10.11.6 El Capitan
I keep looking..

You could try using Find Any File (FAF) and do a search for 'osascript':
Thomas Tempelmann - Find Any File

Where it shows up may give you a hint.

Also, if you run Activity Monitor and osascript is listed somewhere in the running apps, you could try selecting it, then click the "i" for information icon, then click the 'open files and ports' tab if it has one and the info in the top lines should give an indication of what is using it.

PS: It's probably not doing anything or causing any harm, but something (preference) may not be getting set permanently or correctly that's causing it to display the message.

PPS: Maybe try disabling some of your startup items one of the time and see if that eliminates the pop up message and give you a hint as to what is causing it.

PPPS: What Mac OS version are you running???

And I guess you've gone through some of these hits?:
osascript wants to make changes mac
osascript wants to make changes mac - Google Search




- Patrick
======
 
Last edited:
OP
rachalmers
Joined
Mar 26, 2019
Messages
187
Reaction score
8
Points
18
Your Mac's Specs
Mac mini. July 2012
Ok, going through Console logs I find this, indicationg at startup and shutdown times.
{"message":{"activations":0,"activeTime":0,"activityPeriods":0,"appDescription":"UNBUNDLED ||| ???","foreground":"NO","idleTimeouts":0,"launches":2,"powerTime":0,"processName":"osascript","uptime":214},"name":"com.apple.osanalytics.appUsage","uuid":"4d7c9e4a-8c8c-4971-bce3-09d38d078849"}

In Activity Monitor. The only running osascript Open Files and Ports shows this.???


cwd
/
txt
/usr/bin/osascript
txt
/Library/Application Support/CrashReporter/SubmitDiagInfo.domains
txt
/Library/Preferences/Logging/.plist-cache.I4Jv9KLx
txt
/System/Library/Components/AppleScript.component/Contents/MacOS/AppleScript
txt
/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/Resources/HIToolbox.rsrc
txt
/usr/share/icu/icudt62l.dat
txt
/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/Resources/en_GB.lproj/Localized.rsrc
txt
/private/var/db/timezone/tz/2019a.1.0/icutz/icutz44l.dat
txt
/System/Library/Keyboard Layouts/AppleKeyboardLayouts.bundle/Contents/Resources/AppleKeyboardLayouts-L.dat
txt
/System/Library/Caches/com.apple.IntlDataCache.le.kbdx
txt
/System/Library/ScriptingAdditions/StandardAdditions.osax/Contents/MacOS/StandardAdditions
txt
/usr/lib/dyld
0
/private/var/tmp/sh-thd-1559728775
1
/dev/null
2
->0x1da3e6aee9a03811
3
/Library/Application Support/CrashReporter/SubmitDiagInfo.domains
4
/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/Resources/HIToolbox.rsrc
5
/System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/Resources/en_GB.lproj/Localized.rsrc
6
->0x1da3e6aee99271d1
8
->0x1da3e6aef67b36d1



I might try disabling /usr/bin/osascript and see what happens ???



By the way, latest Mojave. 10.14.5
 
Joined
Mar 11, 2019
Messages
461
Reaction score
4
Points
18
You could try searching for osascript in Lingon X to find out what LaunchAgents or Daemons are calling it.
 
OP
rachalmers
Joined
Mar 26, 2019
Messages
187
Reaction score
8
Points
18
Your Mac's Specs
Mac mini. July 2012
I’ll have to try it.i can’t find anything else and can’t seem to watch for it at startup. It’d be real handy if it said what was calling it.
Thanks


Sent from my iPad using Mac-Forums
 
OP
rachalmers
Joined
Mar 26, 2019
Messages
187
Reaction score
8
Points
18
Your Mac's Specs
Mac mini. July 2012
Ok, how do I use Lingon to locate running or called osascripts?
 
Joined
Jan 1, 2009
Messages
15,507
Reaction score
3,867
Points
113
Location
Winchester, VA
Your Mac's Specs
MBP 16" 2023 (M3 Pro), iPhone 15 Pro, plus ATVs, AWatch, MacMinis (multiple)
Are you running a VPN at boot/launch? I ask because a quick search for the message you get seems to return a lot of hits from folks asking about problems with VPN connectivity. It's not one VPN, it seems to be in Torguard, PIA and several other VPN systems.
 
OP
rachalmers
Joined
Mar 26, 2019
Messages
187
Reaction score
8
Points
18
Your Mac's Specs
Mac mini. July 2012
Nope, no VPN.


Sent from my iPhone using Mac-Forums
 
OP
rachalmers
Joined
Mar 26, 2019
Messages
187
Reaction score
8
Points
18
Your Mac's Specs
Mac mini. July 2012
I think it's solved? Maybe?

I went into Activity Monitor and isolated the osascript that was running, and force killed it.

I shutdown and it didn't appear.
I rebooted and it didn't appear? Not so far anyway.

So with a bit of luck it was something that was cached and automatically starting up each time as a result of that. Once Killed - it went away.
Hopefully I'm not being too enthusiastic - but it seems to be gone and hasn't started up again as it would do if it was being controlled by something like a plist file set to always on.

so far so good.

I've still got no idea what was running it.

Now if I could just get Adobe to stop trying to get me to update a non existant Acrobad DC ... I'd be happy.

Thanks for the advice above guys. Had me looking...
 
Joined
Oct 16, 2010
Messages
17,541
Reaction score
1,576
Points
113
Location
Brentwood Bay, BC, Canada
Your Mac's Specs
2011 27" iMac, 1TB(partitioned) SSD, 20GB, OS X 10.11.6 El Capitan
I've still got no idea what was running it.

Now if I could just get Adobe to stop trying to get me to update a non existant Acrobad DC ... I'd be happy.


I'm not a huge fan, but I'm wondering if Onyx might have gotten rid of the cause, and maybe it could fix your non existant Acrobad DC problem as well???

Just a thought...



- Patrick
======
 
OP
rachalmers
Joined
Mar 26, 2019
Messages
187
Reaction score
8
Points
18
Your Mac's Specs
Mac mini. July 2012
I have Onyx. I’ll have a look. Thanks for the reminder.


Sent from my iPhone using Mac-Forums
 
Joined
Oct 16, 2010
Messages
17,541
Reaction score
1,576
Points
113
Location
Brentwood Bay, BC, Canada
Your Mac's Specs
2011 27" iMac, 1TB(partitioned) SSD, 20GB, OS X 10.11.6 El Capitan
I have Onyx. I’ll have a look. Thanks for the reminder.


Just make sure the version of Onyx is the correct one for your Mac OS X version that you are using.

Just in case you have had it for a long time and updated your OS in between last using it.


- Patrick
======
 
Joined
Mar 11, 2019
Messages
461
Reaction score
4
Points
18
Ok, how do I use Lingon to locate running or called osascripts?

Enter osascript in the search box. A list of Launchd plist files that contain osascript is shown along with the code that contains the search string.

lingon.jpg

Note that this will only find instances of osascript that are actually called by a LaunchAgent/Daemon. It won't find osascript that is in a shell script that is called by Launchd.
 
Joined
Oct 16, 2010
Messages
17,541
Reaction score
1,576
Points
113
Location
Brentwood Bay, BC, Canada
Your Mac's Specs
2011 27" iMac, 1TB(partitioned) SSD, 20GB, OS X 10.11.6 El Capitan
Thanks all. Problem appears to have been solved.


I went into Activity Monitor and isolated the osascript that was running, and force killed it.
...
so far so good.

I've still got no idea what was running it.


Did you happen to make a note of the name of seemingly culprit that you quit in Activity Monitor.

That should give you a hint as to the possible cause that you could go searching for. But you may need Find Any File or EasyFind apps to find it/them.

Anyway, I'm glad to hear you found the fix.



- Patrick
======
 
OP
rachalmers
Joined
Mar 26, 2019
Messages
187
Reaction score
8
Points
18
Your Mac's Specs
Mac mini. July 2012
Patrick, no other name. Just osascript so killed it. It hasn’t run again.
No idea what started it in the first place. But it’s gone now.
Thanks


Sent from my iPhone using Mac-Forums
 
Joined
Oct 16, 2010
Messages
17,541
Reaction score
1,576
Points
113
Location
Brentwood Bay, BC, Canada
Your Mac's Specs
2011 27" iMac, 1TB(partitioned) SSD, 20GB, OS X 10.11.6 El Capitan
Patrick, no other name. Just osascript so killed it. It hasn’t run again.
No idea what started it in the first place. But it’s gone now.
Thanks


Okay, probably no big deal and quite possibly just some old preference file that got hung up somewhere and forgotten about as you mentioned before.

PS: Sometimes booting up using Safe Boot Mode and logging in, run Disk Utility > First Aid or Repair then Restart normally will often fix and purge such files, but it's probably not even be worth while worrying about.


- Patrick
======
 
Joined
Mar 11, 2019
Messages
461
Reaction score
4
Points
18
Patrick, no other name. Just osascript so killed it. It hasn’t run again.
No idea what started it in the first place. But it’s gone now.

If you get info on the running process (select it and click the "i" icon in the toolbar) you can see what process started it and who the owner of that process is. That would have given you a good idea as to how it got going, and my be why.
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top