Code Snippet (poor man's help)
Code Snippet (poor man's help)
- Subject: Code Snippet (poor man's help)
- From: "Grimm, Kenneth" <email@hidden>
- Date: Wed, 15 Jun 2005 11:27:18 -0400
I doubt this is unique, but let me feel like I made *some* contribution...
=)
Here is a cool (to me) framework for a poor man's "help" system -- hope
someone can use it.
set answerOK to false
repeat until answerOK is true
display dialog "Dialog text here" default answer "Default answer"
buttons {"What is \"Help?\"", "OK"} default button 2
if button returned of result is "OK" then
set myResult to text returned of result
set answerOK to true
exit repeat
else
display dialog "The \"help\" you seek is here."
end if
end repeat
Ken
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden