RE: Newbie; scripting additions missing?
RE: Newbie; scripting additions missing?
- Subject: RE: Newbie; scripting additions missing?
- From: "Peter Suter" <email@hidden>
- Date: Thu, 4 Jul 2002 19:23:22 +1000
I didn't, but now that I have (thanks), does this look right?
tell application "Network Setup Scripting"
close database
open database
return AppleTalk active of AppleTalk options
close database
end tell
while I was setting this up I managed to leave the database open and ran
into an error "can't open.. already open"
So, is there any penalty for closing the database before opening it?
-----Original Message-----
From: email@hidden
[
mailto:email@hidden]On Behalf Of Emmanuel
Sent: Thursday, 4 July 2002 5:46 PM
To: AppleScript-users list
Subject: Re: Newbie; scripting additions missing?
At 9:31 AM +0200 3/7/02, Peter Suter wrote:
>
>
It seems like something is not turned on for Network Scripting - any ideas
>
what?
It is a common mistake to forget the "open database" ... "close database"
wrapper which makes things possible for NSS. Did you do that?
Emmanuel
_______________________________________________
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.