Re: Hidden password entry in applescript
Re: Hidden password entry in applescript
- Subject: Re: Hidden password entry in applescript
- From: Graff <email@hidden>
- Date: Wed, 30 Jun 2004 02:16:12 -0400
On Jun 30, 2004, at 1:03 AM, email@hidden wrote:
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?
I believe the OSAX that most people use for this purpose would be the
24U Appearance OSAX:
<
http://www.24usoftware.com/AppearanceOSAX>
I generally try to only use the OSAX that come with the AppleScript
environment in order to make my scripts as portable as possible but
I've only heard good things about the 24U OSAX. Give it a try if you
need a password field.
For AppleScript Studio you need to create a dialog box in Interface
Builder that has a text entry field which is of the class
NSSecureTextField:
<
http://developer.apple.com/documentation/Cocoa/Reference/
ApplicationKit/ObjC_classic/Classes/NSSecureTextField.html>
You can find out more about building applications with AppleScript
Studio here:
<
http://developer.apple.com/documentation/AppleScript/Conceptual/
StudioBuildingApps/index.html>
Using AppleScript Studio requires some pretty in-depth knowledge of
XCode and programming Mac OS applications. It is pretty powerful but
it has a good-sized learning curve to it. I wouldn't bother with it
unless you are interested in writing serious, in-depth Mac programs.
For most people regular AppleScript and AppleScript applets created in
Script Editor are just fine and a lot easier to learn. There really is
a lot you can do with simple AppleScript applets.
- Ken
_______________________________________________
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.