Re: Program Linking Syntax
Re: Program Linking Syntax
- Subject: Re: Program Linking Syntax
- From: Paul Berkowitz <email@hidden>
- Date: Mon, 09 Sep 2002 12:11:54 -0700
Hi, Ken
As I recall there's a very good "AppleScript Help Module" that shows how to
do program linking. I've forgotten it since I only used it once, but it
includes a lot of stuff about opening and closing 'transactions'. It makes
use of one of those apps in the Scripting Additions folder.
Now I have no idea how this may have changed in OS X or recent OS and AS
upgrades. But since you make absolutely no mention of which OS or AS you're
in, you'd probably don't care and will accept whatever you find, including
stuff that may only work in OS 9.0, right?
--
Paul Berkowitz
>
From: "ken " <email@hidden>
>
Reply-To: <email@hidden>
>
Date: Mon, 9 Sep 2002 14:07:33 -0500
>
To: <email@hidden>
>
Subject: Program Linking Syntax
>
>
Hello. I've been through the archives and dictionaries and cannot
>
figure out exactly what I need to do. I want to run an AS on one
>
computer (call it the client) from another computer (call it the
>
server). The script must be initiated from the server but must run
>
on the client.
>
>
I have discovered Program Linking is probably the key. On my
>
client computer I have a stay open applet with the following:
>
>
on run
>
set program linking to true
>
end run
>
>
on test()
>
display dialog "Test"
>
end test
>
>
>
On my server I have an applet with the following (which I run only
>
after manually starting the client's script to make sure it is open
>
and program linking is on:
>
>
tell application PLTest of machine 192.168.1.61
>
test()
>
end tell
>
>
Of course, this isn't working. I've tried many configurations of this
>
but just can't get it to work.
>
>
1) What is the correct syntax to make this little test work?
>
>
Two more quick questions:
>
>
2) How long will program linking remain on? Until the applet quits,
>
until restart, or until switched off?
>
>
3) How can I pass parameters to the AS on the remote machine?
>
Do I just include in the handler calls as usual?
>
>
Thanks.
>
>
Ken Fleisher
>
_______________________________________________
>
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.
_______________________________________________
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.