Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Launch remote script




Hi,

I am having problems launching a script on a remote machine. I even tried a very simple script. On the remote machine I have a script called beep.scpt.

on run(x)
  beep x
end run


From another machine I will run this:
set remoteMachine to "eppc://username:email@hidden.0.4"

tell application "Finder" of machine remoteMachine
        set k to item "BootX:beep.scpt"
        run script alias k with parameters {3}
end tell
               
And this is what I get:
Finder got an error: alias (document file "beep.scpt" of startup disk) doesn't understand the run script message.        

Thanks,
Rich
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-users/email@hidden
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.