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: Tue, 13 Jan 2004 15:01:53 +0100
At 8:33 AM -0500 13/01/04, Geoff Graham wrote:
>
On Jan 12, 2004, at 3:39 PM, Emmanuel wrote:
>
...
>
>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,
>
Had to sleep on that to get it. the trick (as you said) is to return from the called script (watcher) the record id as a real. seems less elegant, somehow.
It certainly is. Actually one solution close to what you suggested earlier would be something like Smile's "display" command, which would make the reference into a string. But the command would have to be included in an osax, not in an application - otherwise we shall still get that application "watcher" does not understand display.
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.