Search Again:

Re: applescripting 3.5.3

From: After Hours
Date: Sunday, January 30, 2005
Time: 12:51:09 am


On Jan 27, 2005, at 3:00 PM, QuickDNS Talk wrote:

>>> tell application "QuickDNS Manager 3.5.1 (Carbon)"
>>> set theZones to the name of every zone as list
>>> repeat with theZone in theZones
>>> set theZone to theZone as text
>>> delete zone theZone
>>> end repeat
>>> end tell
>>>
>>
>> Thanks Chris,
>>
>> Unfortunately, it appears there are a number of scripts that break
>> under Applescript 1.8.3. The identical scripts worked well under
>> Applescript 1.7.
>
> Yes, that happens sometimes when Apple does a major update to
> AppleScript. Does this script not work for you? Or the "Add Slave
> Server" script?

Sorry Chris -- been swamped with tedium and didn't get back to this.

No, the scripts failed running in 1.8.3. Heck, even the nice canned
'change IP' script I live and die by on these massive manuvers failed
to run completely. It ran ok on a AS 1.7 machine, but not on the
normal admin system running AS 1.8.3. Would get through a list of IPs
that matched, change three of them in a zone, but stumble and error out
on the last IP. Was always the last record with a matching IP in a
table. Run the script again and it would go right through the record
properly, but stumble on the next zone with more than one match for
that IP.

I got through it and manually altered all records necessary -- and
hopefully will be moving up to newer versions of QDNS in the future so
won't have to sweat this again.

thx for the effort.




Messages In This Thread:



Return to Digital Point Solutions' Home Page