Toggling Appletalk active/inactive with Applescript?
Toggling Appletalk active/inactive with Applescript?
- Subject: Toggling Appletalk active/inactive with Applescript?
- From: Jan Pieter Kunst <email@hidden>
- Date: Mon, 23 Jul 2001 22:17:49 +0200
Hello all,
Is it possible to set Appletalk to active or inactive with Applescript? This
(the idea for which came from O'Reilly's "Applescript in a nutshell", which
every scripter should buy IMHO) :
tell application "Netwerkconfiguratie-scripting"
try
open database
get AppleTalk active of transport options 2
--> true
set AppleTalk active of transport options 2 to false
close database
on error errmesg
close database
set msg to errmesg
end try
end tell
display dialog msg
... results in a dialog: "Configuration locked" (or "secured"; translating
from Dutch).
The boolean "AppleTalk active" is not listed as read-only in the
application's dictionary. Is it possible at all to toggle this with
Applescript?
Thanks,
Jan Pieter Kunst.-