How to launch application on a remote Mac

Philippe SCHMUCK philippe-schmuck at orange.fr
Thu Apr 23 05:10:25 EDT 2020


Hi Michel,

This what I use:

	set RemMac to "DressiMac:"
tell application "Finder" of machine "eppc://name_machine:password@ip_Adresse"
							open "" & RemMac & "Applications:Domestique:Domotique:X4X:XTension"
						end tell --application "Finder"


Philippe

> Le 23 avr. 2020 à 10:13, michel-discors at orange.fr a écrit :
> 
> HI Guys,
> 
> I can't make a script. I know how to quit an application on a remote Mac but not open an application.
> Example : 
> 
> --This script quit an application on a remote Mac. (It works)
> tell application « My_application" of machine "eppc://name_machine:password@ip_Adresse"
> quit
> end tell
> 
> --This script try to open an application on a remote Mac. (It doesn't works)
> launch application « My_application" of machine "eppc://name_machine:password@ip_Adresse »
> (I tried open instead of launch but it is wrong)
> 
> Someone has an idea to help me.
> 
> Thank you.
> 
> Michel
> _______________________________________________
> XTensionList mailing list
> XTensionList at machomeautomation.com
> http://mail.machomeautomation.com/mailman/listinfo/xtensionlist



More information about the XTensionList mailing list