Be VERY careful with AppleScript Text Item Delimiters option. This is a system 
wide setting. If your script bails out during the running of the script, and 
the TID is not set correctly, it can adversely affect other scripts. 

Because I change the TID so often I alway do this:

set AppleScript's text item delimiters to {""} -- This is the system default
set OldTID to AppleScript's text item delimiters

try
        set AppleScript's text item delimiters to ","   
        
on error
        set AppleScript's text item delimiters to OldTID
        
end try

You should always use an on error statement inside the try statement. That way 
your TID are never changed should your script bail. The setting of the TID at 
the beginning is simply a safety valve for me. 

Wayne

-----Original Message-----
>From: Justin Beek <[EMAIL PROTECTED]>

>
>Worked like a charm.
>
>Thanks!!
>Justin




Reply via email to