Display Dialog
Display Dialog
- Subject: Display Dialog
- From: "Ruby Madraswala" <email@hidden>
- Date: Fri, 27 Feb 2004 16:40:20 -0500
- Thread-topic: Text edit and applescript
Hi all,
I have script, which prompts the users to enter some codes and writes the codes to a file. Which works fine, but is there a way to display the list of entered codes, so the user can view it while entering the new code. Is it possible the list to appear in dialog box, with the prompt to enter code below the list.
Example:
1a1 (codes entered)
1a2
3s5
Enter Standard Code:
Exit OK
I have this script.
Set button_name to "OK"
Repeat until button_name is "Exit"
Set user_stuff to display dialog "Enter Standard Code" default answer " " buttons {"Exit","OK'} default button "OK"
Set button_name to button returned of user_stuff
Set std_code to text returned of user_stuff
If button_name is "OK" then
-------------write code to a file-----------
end if
end repeat
Any suggestions will be appreciated.
Thanks in advance
Ruby
_______________________________________________
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.