I found the command, but can I do it in AppleScript?

Edit
Report