Re: script keeps sending events to remote machine
Re: script keeps sending events to remote machine
- Subject: Re: script keeps sending events to remote machine
- From: Emmanuel <email@hidden>
- Date: Mon, 12 Jan 2004 21:39:27 +0100
At 11:33 AM -0500 12/01/04, Geoff Graham wrote:
>
tell application "watcher" of machine "eppc://admin:email@hidden.0.4"
>
set x to New(q)
>
end tell
>
tell application "FileMaker Pro"
>
activate
>
go to x
>
end tell
>
>
On the last line, go to x, the error i get is:
>
watcher got an error: +class crow; id 1.2712202E+7 of +class cDB ; "Invoices.SH1" doesn't understand the go to message.
>
>
"watcher" is an applescript application that makes new records in filemaker. that machine of course also runs "Filemaker Pro"
>
>
so why is this script still targeting the remote machine outside of the tell block?
What a nightmare ... x is an object of watcher, even if you quit watcher AppleScript will launch it again to send it "open [that object]".
This has nothing to see with the fact you have two machines, you can do it all in one machine.
I suppose that's what id's are for: I'm afraid you have to pass a public type such as the object's id, or its name.
Emmanuel
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.