When developing an app, I need some times to change “manually” a key-value in the preference file.
This modification will not be available until a system restart because NSUserDefaults are cached.
Numerous posts on the web are saying that we can use the
Apple documentation says
this method is unnecessary and shouldn't be used.
In fact, the method has no effect on my system (still High Sierra!!).
Shall I use the shell command:
do shell script "defaults read " & bundleID?
Or is there another way to do this in AppleScriptObjC?