• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Mount volume bug: caller must be in front
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Mount volume bug: caller must be in front


  • Subject: Mount volume bug: caller must be in front
  • From: Steven Angier <email@hidden>
  • Date: Sat, 01 Feb 2003 17:23:52 +1100

It seems that the "mount volume" command requires that the calling
application be in front for the target volume to be mounted. If the calling
script is not frontmost then its icon will flash in the application menu (as
if there were a dialog box displayed).

As far as I know this was not always the case, but it seems to be so now on
Mac OS 9 / AS 1.6+ (Don't know about under Mac OS X).

Perhaps this only affects connection attempts requiring authentication,
where the username and password are supplied in the URL or "user name" and
"password" parameters. In such cases, there is obviously no need for an
authentication dialog, but perhaps "mount volume" doesn't attempt to
authenticate without the caller being in front.


Examples:

mount volume "afp://username:password@host[:port]/share"

mount volume "volume" B,
on server "server" B,
as user name "user name" B,
with password "password"


If the user brings the now flashing script application to the front, the
volume mounts and execution continues. With no user interaction, the result
is eventually a timeout error.

Any similar experiences?


Also, "mount volume" doesn't seem to recognise Apple's own afp-appletalk URL
template spec (proposed by Apple to W3 in 1998):

"afp:/at/[username[:password]@]server[:zone]/volume"


Steven Angier
Macscript.com
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Getting a list of applications
  • Next by Date: Re: iTunes -- Remove Missing Tracks?
  • Previous by thread: Getting a list of applications
  • Next by thread: Re: referencing a variable from another?
  • Index(es):
    • Date
    • Thread