func buildTell(application string, commands ...string) string {
	application = wrapInQuotes(application)
	args := []string{"tell application", application, "\n"}
	for _, command := range commands {
		args = append(args, command, "\n")
	}
	args = append(args, "end", "tell")
	return build(args...)
}
Parse the Tell options and build the command
package background
import (
	"errors"
	"os/exec"
	"regexp"
	"strings"
)
func SetDesktopImage(image string) (string, error) {
	return Tell("Finder", "set desktop picture to POSIX file "+wrapInQuotes(image))
}
func Tell(application string, commands ...string) (string, error) {
	return run(buildTell(application, commands...))
}