Jump to content

Recommended Posts

Posted

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.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...