I’m trying to write an Applescript in OSX that will launch a script (saved as application) in System 9.2.
I have enabled remote file sharing and program linking on the remote machine, and included the username and password in the script (see below).
I can’t get the thing to run. Can someone offer guidance?
Thanks in advance…
using terms from application "remoteApplescript"
set theMachine to "eppc://USERNAME:PASSWORD@IP.ADDRESS"
tell application "remoteApplescript" of machine theMachine
launch
end tell
end using terms from
I created a folder called “launchers” at the system level of the remote (OS 9.2) machine, and put an alias to my Applescript application in it.
When I run the script below from OSX, the script fires up on the remote box. I haven’t fully tested, but hope to do so soon.
using terms from application "Finder"
set theMachine to "eppc://USERNAME:PASSWORD@IP.ADDRESS"
tell application "Finder" of machine theMachine
open item 1 of folder "launchers" of folder "System Folder" of folder "SYSTEM" of startup disk
end tell
end using terms from