Welcome to MacForumz.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Sending events to os 8.6 from X

 
   Macintosh computer (Home) -> Apple Scripts RSS
Next:  Adobe Reader  
Author Message
rdwyer

External


Since: Apr 26, 2005
Posts: 6



(Msg. 1) Posted: Tue May 10, 2005 3:06 pm
Post subject: Sending events to os 8.6 from X
Archived from groups: alt>comp>lang>applescript (more info?)

Hello.
I have an applescript residing on a machine running 8.6 with program
linking turned on. Currently, from our machine running 9 I can run the
remote script with an applescript using the 'tell application "finder"
of machine "xyz" ' syntax.

When I convert the script to send the open request to os X it looks
like this:

tell application "Finder" of machine "eppc://192.168.x.x"
  activate
  select file "harddrive:myscript"
  open selection
end tell

However this does not work in X. Can anyone shed light on how to get
OS X send open events or other means to the older operating system?
Thanks.

 >> Stay informed about: Sending events to os 8.6 from X 
Back to top
Login to vote
Jason Davies

External


Since: Jul 18, 2003
Posts: 11



(Msg. 2) Posted: Wed May 11, 2005 5:10 am
Post subject: Re: Sending events to os 8.6 from X [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In article ,
rdwyer.RemoveThis@quick-link.com wrote:

 > Hello.
 > I have an applescript residing on a machine running 8.6 with program
 > linking turned on. Currently, from our machine running 9 I can run the
 > remote script with an applescript using the 'tell application "finder"
 > of machine "xyz" ' syntax.
 >
 > When I convert the script to send the open request to os X it looks
 > like this:
 >
 > tell application "Finder" of machine "eppc://192.168.x.x"
  > activate
  > select file "harddrive:myscript"
  > open selection
 > end tell
 >
 > However this does not work in X. Can anyone shed light on how to get
 > OS X send open events or other means to the older operating system?
 > Thanks.

Try this, it might work. (chevrons are opt-backslash and
opt-shift-backslash)


tell application "Finder" of machine "eppc://192.168.x.x"
«event aevtodoc» file "harddrive:myscript"
end tell

--
Jason Davies
Master Gizmologist
Cream City Traction Club
http"//www.geocities.com/jason_e_davies/cct.html

 >> Stay informed about: Sending events to os 8.6 from X 
Back to top
Login to vote
rdwyer

External


Since: Apr 26, 2005
Posts: 6



(Msg. 3) Posted: Wed May 11, 2005 3:04 pm
Post subject: Re: Sending events to os 8.6 from X [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Thanks Jason.
Tried it, but it doesn't work.
I'm not even getting past the Tell statement.
Script Editor comes back with "Remote access not allowed".

Rick
 >> Stay informed about: Sending events to os 8.6 from X 
Back to top
Login to vote
Jerry Kindall

External


Since: Jul 09, 2003
Posts: 560



(Msg. 4) Posted: Fri May 13, 2005 5:22 am
Post subject: Re: Sending events to os 8.6 from X [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In article ,
wrote:

 > tell application "Finder" of machine "eppc://192.168.x.x"

I believe this is your problem. The ability to send and receive remote
apple events via TCP/IP was not added until Mac OS 9. You will need to
run your script under Mac OS 9, as this was the last version of the Mac
OS to support apple events over AppleTalk.

--
Jerry Kindall, Seattle, WA <http://www.jerrykindall.com/>

Send only plain text messages under 32K to the Reply-To address.
This mailbox is filtered aggressively to thwart spam and viruses.
 >> Stay informed about: Sending events to os 8.6 from X 
Back to top
Login to vote
rdwyer

External


Since: Apr 26, 2005
Posts: 6



(Msg. 5) Posted: Fri May 13, 2005 10:20 am
Post subject: Re: Sending events to os 8.6 from X [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

That's problem because the software we are running is ancient and will
no run on anything newer than 8.6. Too bad.
 >> Stay informed about: Sending events to os 8.6 from X 
Back to top
Login to vote
Jerry Kindall

External


Since: Jul 09, 2003
Posts: 560



(Msg. 6) Posted: Fri May 13, 2005 10:48 am
Post subject: Re: Sending events to os 8.6 from X [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In article ,
wrote:

 > That's problem because the software we are running is ancient and will
 > no run on anything newer than 8.6. Too bad.

You might be able to run the script in Classic under Mac OS X, since
that's 9.x.

--
Jerry Kindall, Seattle, WA <http://www.jerrykindall.com/>

Send only plain text messages under 32K to the Reply-To address.
This mailbox is filtered aggressively to thwart spam and viruses.
 >> Stay informed about: Sending events to os 8.6 from X 
Back to top
Login to vote
rdwyer

External


Since: Apr 26, 2005
Posts: 6



(Msg. 7) Posted: Fri May 13, 2005 3:03 pm
Post subject: Re: Sending events to os 8.6 from X [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Yes, I may have to consider this if their is no workaround to get X
itself to talk with the older OS.
Thanks.
 >> Stay informed about: Sending events to os 8.6 from X 
Back to top
Login to vote
bougalou




Joined: Jun 01, 2005
Posts: 3



(Msg. 8) Posted: Wed Jun 01, 2005 2:46 pm
Post subject: Re: Sending events to os 8.6 from X [Login to view extended thread Info.]

Hi fellow

Get - SCRIPT DAEMON - by Peter N Lewis.
It does what you need on sys pre-OS9. hope it helps !

But... you need to telnet those AS cmds, witch is another pain in the ssa :-/
But then it seems it could be controlable by a Tcl's EXPECT script...

if anyone had ever made such an interface
( AS-OSX - EXPECT - Telnet - Script Daemon - AS-pre-OS9 ),
that i would be curious to see 8-)

Ciao'n keeeeep scriptin'
 >> Stay informed about: Sending events to os 8.6 from X 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
New in Tiger -- Database Events - Has anyone worked extensively with this? Reliable? Fast? We currently keep client data in simple text files and I'm wondering if using Database events would be faster than searching the text file in applescript.

Changing Events to different Calendar in iCal - All, I'm brand new to AppleScript... and struggling. Basically, in iCal, I'm trying to move events that match a certain criteria from one Calendar to another. I've got my script cycling through all the events that I want to move, but I've got no clu...

Image Events Apple Scripts - I pulled some sample applescripts from the Apple Web sites for scripting the new Image Events Ap (SIPS) that comes with Panther. I get uneven results, and I am trying to decide if it is my system install, my poor understanding of Apple script, or..

iCal: doesn't return all events between two dates ? - Hi Problem: iCal doesn't return all events between two dates, although it should, a bug or due to faulty code ?. The crucial line in my code, which for the most part is based on the Apple supplied "Create Event Summary.scpt" is this: ...

Working with recurring events in iCal - Hi all, I am looking for a way to get some sort of summary information on calendars, I am especially interested in getting the total duration of some collection of events. iCal does not seem to provide such a funcitonnality. I did hear about Apple..
   Macintosh computer (Home) -> Apple Scripts All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum

Warning: fopen(/home/adsense_reject.txt) [function.fopen]: failed to open stream: Permission denied in /home/autoforu/public_html/Giga/GigaFunctions.php on line 1142

Warning: fwrite(): supplied argument is not a valid stream resource in /home/autoforu/public_html/Giga/GigaFunctions.php on line 1143

Warning: fclose(): supplied argument is not a valid stream resource in /home/autoforu/public_html/Giga/GigaFunctions.php on line 1144



[ Contact us | Terms of Service/Privacy Policy ]