Control a computer with Remote Destop using IP address

Hi there,

I want to be able to control an computer with only his IP address with remote desktop.

This works:


tell application "Remote Desktop"
	
	control computer "MyComputerName"
	
end tell

But what i want doesn’t work. I thought of this


tell application "Remote Desktop"
	
	control computer with Internet address "10.0.0.5"
	
end tell


So please anyone?

I’m pretty positive you cant do that sadly. In virtually every ARD - AS script I’ve seen computers are controlled or have commands executed on them by name.