• 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
Re: Hidden password entry in applescript
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Hidden password entry in applescript


  • Subject: Re: Hidden password entry in applescript
  • From: email@hidden
  • Date: Wed, 30 Jun 2004 01:03:04 -0400

Thanks so much for your reply! If you are in my neck of the woods I would buy
you some of your favourite beverage. I have been puzzling over this for
some time.

* Graff (email@hidden) wrote:
> You either need to use an OSAX that provides a password dialog box or
> you have to use AppleScript Studio and use the password dialog field
> from Project Builder. There is no native AppleScript password dialog
> box or field.

Do you know of how to do any of this? Or maybe where to find out
how to do this?

> However! In the case of the mount volume I believe if you simply leave
> the password out a password dialog will automatically pop up.

Yes! If you do

mount volume "smb://username:@192.168.1.10/" it will prompt you
for a password. I was trying "smb://email@hidden/" which
doesn't prompt for a password, it just gives a permission error.
It was because this did not work that I thought I needed to prompt for
a username AND password

>In fact
> if you leave out the username and the password then the same password
> dialog box will pop up and ask for both. So you probably don't need
> most of this script. You only really need the "mount volume" command:
>
> mount volume "smb://192.168.1.10/"

Yep this will do too but because I really need "smb://192.168.1.10/" & userName & "$" to mount the username$ share the one above is better.

Thank you so much for your help.

Ben Marsh
_______________________________________________
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.


  • Follow-Ups:
    • Re: Hidden password entry in applescript
      • From: Michael Schmidt <email@hidden>
    • Re: Hidden password entry in applescript
      • From: Graff <email@hidden>
References: 
 >Hidden password entry in applescript (From: email@hidden)
 >Re: Hidden password entry in applescript (From: Graff <email@hidden>)

  • Prev by Date: Re: push/pop text item delimiters
  • Next by Date: Re: Need a little help...
  • Previous by thread: Re: Hidden password entry in applescript
  • Next by thread: Re: Hidden password entry in applescript
  • Index(es):
    • Date
    • Thread