• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Launch remote script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Launch remote script


  • Subject: Re: Launch remote script
  • From: "Wallace, William" <email@hidden>
  • Date: Tue, 03 Apr 2007 15:43:40 -0500
  • Thread-topic: Launch remote script

Does anybody else have any insights on this, because I'd like to know the
answer too (this could be very useful to me if I can get it to work
reliably). I get a "user authentication failure" error. I am using a valid
username/password combo, and have verified that remote apple events are
enabled.

In my situation I'm using a G5 running 10.3.9 as the host of beep.scpt and a
MacPro running 10.4.8 as the remote caller.


> From: Axel Luttgens <email@hidden>
> Reply-To: AppleScript Users <email@hidden>
> Date: Sun, 01 Apr 2007 12:10:21 +0200
> To: AppleScript Users <email@hidden>
> Subject: Re: Launch remote script
>
> On 21/03/07 20:20, Rich Sweeny wrote:
>
>> 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.
>
>
> I get a similar behavior here, with OS X 10.4.9 on both local and remote
> machines.
> IIRC, this used to work in the past.
> (does someone have the opportunity to try on earlier OS versions,
> perhaps Panther?).
>
> The problem seems to be directly related to the "run script" command
> used remotely:
>
>     tell application "Finder" of machine remoteMachine
>         beep 3
>            --> three beeps on the remote machine
>         run script "beep 3"
>            --> Finder got an error: \"beep 3\"
>                doesn't understand the run script message.
>     end tell
>
> As if the "run script" command were disabled in case of remote invocation.
> It may be the result of security-based measures (or a side-effect of
> such measures), but I couldn't find any reference about this.
>
> Axel
>
>
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Launch remote script
      • From: Jon Pugh <email@hidden>
References: 
 >Re: Launch remote script (From: Axel Luttgens <email@hidden>)

  • Prev by Date: RE: basic scripting with Excel
  • Next by Date: Re: File Path as URL question
  • Previous by thread: Re: Launch remote script
  • Next by thread: Re: Launch remote script
  • Index(es):
    • Date
    • Thread