MACSCRPT Archives

April 2007

MACSCRPT@LISTSERV.DARTMOUTH.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
John Hanly <[log in to unmask]>
Reply To:
Macintosh Scripting Systems <[log in to unmask]>
Date:
Wed, 11 Apr 2007 09:34:02 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (42 lines)
We've been struggling with this problem for a long time. The script we've
finally come up with that seems to work 99.9% of the time is

try
    tell application "Finder"
        open location "afp://" & (do shell script "echo $USER") &
"@ACC-Server.local./ACC%20Files"
        open location "afp://" & (do shell script "echo $USER") &
"@ACC-Server.local./Templates"
        delay 5
        close window "ACC Files"
        close window "Templates"
    end tell
end try

ACC File and Templates are the two volumes we are mounting.

-- 
New In-house Counsel Resources, New Networking Opportunities, New URL:
http://www.acc.com

Please note my new email address.

John Hanly
Director of MIS
Association of Corporate Counsel
1025 Connecticut Avenue, NW Suite 200
Washington, DC 20036-5425
[log in to unmask]
202-293-4103
202-293-4701 fax
http://www.acc.com


> From: MACSCRPT automatic digest system <[log in to unmask]>
> Reply-To: Macintosh Scripting Systems <[log in to unmask]>
> Date: Tue, 10 Apr 2007 22:00:02 -0400
> To: <[log in to unmask]>
> Subject: MACSCRPT Digest - 28 Mar 2007 to 10 Apr 2007 (#2007-28)
> 
> 

ATOM RSS1 RSS2