Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: making applescript wait until shell script finishes



I have answered my own question... Simply used the mount volume command in
applescript instead of a do shell script statement.


On 10/28/05 2:13 PM, "Ben Fenstermaker" <email@hidden> wrote:

> Probably a simple question but I am rather new to applescript. Here is bit
> of the script that I am having trouble with:
> -snip-
> Tell application ³Terminal²
> do script "mkdir /Volumes/temp/ & mount_afp -i afp:/at/resfs01/RESEARCH/
> /Volumes/temp"
>     tell application "Finder"
>         display dialog "Choose your local home folder" buttons {"Ok"}
> -snip-
>  
> The problem is that I need the script to wait until the user puts in a
> username and password for the mount_afp command in the terminal window
> before continuing on with the rest of the script. I am pretty sure this is
> doable but for the life of me I cant find how to do it.
> 
> 
>  _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Applescript-users mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/applescript-users/email@hidden
> 
> This email sent to email@hidden

-- 
Ben Fenstermaker MCSE, MCSA, Security+
Research Information Services
Phone: 614.355.2730
Email: email@hidden

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-users/email@hidden

This email sent to email@hidden

References: 
 >making applescript wait until shell script finishes (From: Ben Fenstermaker <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.