This probably isn’t the best place to ask this question, so if there is no help here, I’m not offended.
I want to run a plist file to start an old screensaver manually.
Looking via Google I haven’t found anything that tells me how to do this. There are how to CREATE a plist, but not a way to run them from a command line.
Has anyone done this?
If so how?
And if anyone knows where there is a list of actions that go in the key section, that would be helpful too.
Plist files are property lists, they don’t “run”. I suspect you need to investigate how to manually start an old screensaver and then apply that technique to whatever file you have. I don’t expect you will find anything searching for how to “run a plist”.
I understand (to a point… I’m self taught as a programmer) what you are saying but I have a situation, and maybe YOU can explain it where I go:
var disableTheCurrentScreensaver as New Shell
disableTheCurrentScreensaver.Execute ("defaults -currentHost write com.apple.screensaver idleTime 0”)
it stops the set screensave from launching (according to what I read from apple).
However when my program ENDS, I run this:
var resetTheScreensaverTime as New Shell
resetTheScreensaverTime.Execute ("defaults -currentHost write com.apple.screensaver idleTime 3600”)
and when I go into system settings, the entry still shows as NEVER.
And, yes, it is one of the options available. I read that if you chose something like 7 minutes because it wasn’t an apple time setting it wouldn’t work.
So I am wondering if I have to relaunch the com.apple.screensaver to make the restart work.
When you edit a plist it’s not necessary to relaunch the application or whatever you mean with relaunching a plist. Do you have this plist by default because I can’t find it with PrefsEditor:
Are you in the correct host? I think every developer has mixed up the hosts at least once. I remember feeling utterly stupid as the values didn’t change.