djennings93 Posted September 29, 2020 Posted September 29, 2020 Hello, Please can someone advise where i may be going wrong. I have copied a file called "ESSADB2020.png" to the clients desktop which succeeded. Now i'm trying to set that file to be the users desktop through a ARD unix command. Here is my code; [font=Consolas]osascript -e 'tell application "Finder" to set desktop picture to "~/Desktop/ESSADB2020.png" as POSIX file'[/font] Which retrieves the following error. [font=Consolas]33:48: execution error: Finder got an error: AppleEvent handler failed. (-10000)[/font] If there's a better way to do then, any suggestions are much appreciated thanks! PS. Please bare with, new to ARD and sending unix commands.
tsutton Posted October 2, 2020 Posted October 2, 2020 Do you have Profile Manager? If so, set the wallpaper path from there.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now