PDA

View Full Version : applescript network command




yippy
May 9, 2004, 06:23 PM
I was wondering if there is a way to write an applescript that could trigger all other computers on the network to run another applescript. In otherwords, I want a mac lab to have all of the computers run an applescript simultaniously. Want to know if I can trigger that with anapplescript on one computer.

BTW, I have admin access to all of them, so I can put in any passwords necessary.

Thanks



wrldwzrd89
May 9, 2004, 06:35 PM
I was wondering if there is a way to write an applescript that could trigger all other computers on the network to run another applescript. In otherwords, I want a mac lab to have all of the computers run an applescript simultaniously. Want to know if I can trigger that with anapplescript on one computer.

BTW, I have admin access to all of them, so I can put in any passwords necessary.

Thanks
I believe this is possible if you make use of a watch folder. Have the first AppleScript create/modify a text file in the watch folder on the other computers; have the other computers run their AppleScripts when the watch folder changes. The text file doesn't need to have anything special in it; you can put whatever you want there. The file's only purpose is to act as a trigger for the other AppleScripts.