Search Again:

untitled

From: Phillip D Sanders
Date: Thursday, January 20, 2000
Time: 4:49:00 am

I apologize in advance for the length of my explanation here:
============================================================
I work for a small Mac based web hosting company, and I've been writing
some applescripts to automate adding domains to our DNS servers
running Quick DNS Pro 2.2.

The primary was pretty straightforward, I made a facespan app
to accept the new domain and what server it mapped to and then
error check, open a template, fill it out, save it and be done.
No problem
(except that I was quite rusty at AS and had to re-learn the basics...)

Anyway, I've been working on the secondary for some time now and it's still
not working. Actually adding a new domain is simple, simpler than
primary, but the
QDNS admin app dosn't present any options for viewing the domains in sortable
order, so the boss asked for me to alphabetize it and maintain that
alphabetization.

I exported the secondary domains (included script failed - had to roll my
own...)

I then had to import them in alphabetical order (another applescript)

At first it maintained my 0-9, A-Z order, then it mysteriously swapped to
Z-A,9-0 order!!!

I looked hi & lo for documentation or a reason, and found neither.
Assumed it was a one-time fluke and went to work on the maintenance
script, switching everything to work in Z-A order. I got the script to
90% functional, just down to adding robust error checking and on error
handlers... Then it mysteriously switched back to 0-9,A-Z order.

I'm worried now that it's going to do worse than reverse the sort by
domain, to start sorting by IP or some other insane criteria.

Any tips or tricks to making it maintain the secondary in a stable order???

Thanks in advance!



~Phi

=============================
Phillip D Sanders

PagePlanet / PagePlop

Phone: (919) 233-6602

Email: phillip@pageplanet.com



Messages In This Thread:

  • untitled by Mark Swalwell on Jul 16, 1997 at 6:54:00 am
  • untitled by Jeff Malloy on Nov 25, 1997 at 1:40:00 pm
  • untitled by Jerry L. Pasker on Sep 3, 1998 at 6:56:00 pm
  • untitled by John Draper on Jan 25, 1999 at 9:53:00 pm
  • untitled by Per Pettersson on Aug 17, 1999 at 5:22:00 am
  • untitled by Phillip D Sanders on Jan 20, 2000 at 4:49:00 am
  • untitled by ATAnet Internet Solutions on Feb 20, 2000 at 5:58:00 pm
  • untitled by Asle Benoni on Jan 1, 2001 at 5:09:36 am
  • untitled by Philip Butler on Sep 14, 2001 at 10:49:26 am
  • untitled by Jim Cobb on May 3, 2002 at 7:53:59 pm
  • untitled by Peggy Thomson on Mar 10, 2003 at 12:45:45 pm
  • untitled by Mia''s Virtual Post Office on Jul 14, 2003 at 3:44:28 pm


Return to Digital Point Solutions' Home Page