I have been working hard to implement a simple form of communication between 2 supercard applications on two different macs (connected via ethernethere. )
I can successfully send message between the apps using applescript:
“ascr” is “applescript” and “gdte” is “get dictionary”.
So, seems that the script (or somebody) is attempting to determine if the remote app is or not scriptable.
Try these:
-Make sure you have activated “remote apple events” in “Sharing” (sorry, I don’t know this item’s name in english), under your “System Preferences” in both computers (or, at least, the client).
-Make sure the related app is running and listening before you send the apple event.
-If still doesn’t work, try hardcoding the app’s name (test using IE):
set x to "Internet Explorer"
using terms from application "Internet Explorer"
tell application x of machine "eppc://user:pass@192.168.200.1/"
activate
open location "http://www.google.com/"
end
end using terms from
Thank you JJ!! I have tried many times to run scripts on my OS 9 computer from my OS X laptop and this is the first time that it has worked. I had given up and now I need to get busy writing scripts to take advantage of your wisdom! Thanks again!!
this seems like it should work. (it actuallly compiles. It would’nt before)
but the other app doesn’t seem to be getting the message any thoughts?
set x to “Supercard 4.1.1”
using terms from application “SuperCard 4.1.1”
tell application x of machine “eppc://Elliott Earls:34666157@192.168.3.54 to do script TEXT”
end tell
end using terms from