FW: Newbie; scripting additions missing?
FW: Newbie; scripting additions missing?
- Subject: FW: Newbie; scripting additions missing?
- From: "Peter Suter" <email@hidden>
- Date: Thu, 4 Jul 2002 12:09:21 +1000
I'm using Applescript to give me some system level information that I can't
easily get at with my main app.
This info is passed by the app back to our support team so that the users
don't need to be experts at much at all.
I was checking out the various aspects of system info that would/could be
useful for the app to tell us about.
Thanks to your tip I'm making some progress and at least I know Network
Scripting is alive.
now this script is returning an understandable error; previously it was
giving 'end of line' or "dictionary" errors - probably me asking the
"Finder"
tell application "Network Setup Scripting"
return AppleTalk active
end tell
So, since it's convoluted and your far from the novice scripter that I am,
how do I get info out of the AppleTalk suite?
What do you use instead?
The bubbles worked fine, thanks, but:
How do I use the commands in the 'Network Info' scripting addition?
So far, the #1 question I expected to find in the FAQ's but didn't - is how
to use the commands in various scripting additions.
Some are used as if they were part of the finder dictionary, others you need
to 'tell' and others seem to respond to something else again.
How do you(I) know which technique to use, and how many different methods
are there for using/telling/calling these additions.
thanks
-----Original Message-----
From: Andy Wylie [
mailto:email@hidden]
Sent: Wednesday, 3 July 2002 8:56 PM
To: email@hidden; email@hidden
Subject: Re: Newbie; scripting additions missing?
on 3/7/02 7:31 PM +1200: Peter Suter wrote:
>
Hi All,
>
I'm having some difficulties accessing the commands in some of the
Scripting
>
Additions - Network Setup Scripting for example, while others like
Standard
>
Additions, Monitor Depth,.. are okay.
>
I have added some additions manually and restarted and these are also not
>
available.
>
OS 8.6 and Script Editor 1.1.3
Not pertinent but check out the free Smile editor
http://www.satimage-software.com
>
It seems like something is not turned on for Network Scripting - any ideas
>
what?
Though Network Scripting lives with Scripting Additions it's a faceless
background app (FBA) and needs to be 'told' like ordinary applications. I
found it very convoluted and don't care to use it, what do you want to do
with it?
>
Do I need to do anything to activate a scripting addition once it's in the
>
Scripting Aditions folder?
No you shouldn't, you can even avoid the restart by sending the ascrgdut raw
event to load installed OSAX...
-------------
try
<<event ascrgdut>>--does the job and generates error...
on error
say "[[rate +200]]ascr[[rate -100]]gdut" using "Bubbles"
end try
-------------
'<<' and '>>' represent the left and right chevron characters generated by
'option \' and 'option shift \' on most keyboards (these charaters get
mangled by the list server).
Perhaps an example of some code which doesn't work for you would help.
_____________________________ Andy
_______________________________________________
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.