|
|
 |  |
Re: ScriptingFrom: Men & Mice Support Date: Friday, May 3, 2002
Time: 4:22:58 pmAt 11:54 PM -0700 5/2/02, Aaron Lynch wrote:
>Chris, o' applescript god....
>
>
>I need to make a script, that has a list of SOME of my domains, deletes all
>the MX records and then creates new ones with the domain in the record
>(domain.com.provider.com)
>
>I was going to set the domain into a property but I got stuck very early on:
>
>property domains : "test1.com"
Note: The type of "domains" is "string".
>repeat with domain in domains
Note: Since "domain" iterates through a string value, its type is
"character". Its successive values will be 't, 'e, 's, 't, etc.
> tell application "QuickDNS Manager for OS X"
> activate
> open zone (domain as string)
> end tell
>end repeat
>
>
>I get the error message:
>
>'t doesn't understand the open message'
Change the first line as follows:
property domains : {"test1.com"}
That makes it a list of 1 item, a string. Then "domain" becomes a
string, "test1.com". I'm pretty sure that will work - if it doesn't,
try adding a dot to the end of the zone name.
____________________________________________________________________
Chris Buxton Men & Mice
support@menandmice.com Making DNS Easy
Visit the Men & Mice booth (#2525) at NetWorld+Interop in Las Vegas, Nevada,
May 7-9. http://www.key3media.com/interop/lv2002/index.php
|
Messages In This Thread:- Scripting by Aaron Lynch on May 2, 2002 at 11:54:59 pm
- Re: Scripting by Men & Mice Support on May 4, 2002 at 12:51:21 pm
|

Return to Digital Point Solutions' Home Page |