• 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: display dialog
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: display dialog


  • Subject: Re: display dialog
  • From: "Steven D. Majewski" <email@hidden>
  • Date: Mon, 23 Jun 2003 09:45:01 -0400

Re: large amounts of text in dialogs:

Somewhat of a kludge, but what works for us, where
we have a rather large list of commands for renaming files
that we want the user to see before clicking 'OK' is to
write it out to a text file and open it it TextEdit.app.
We put a summary at the top of the file -- number of
file for which change-case, "illegal" char removal, resequencing
( all of the filenames are getting normalized to a prefix_seq#_user-field.ext
pattern. ), etc. Then the script tells TextEdit to display dialog
with only a brief do-you-really-want-to-do-this-now question.
You can't scroll to the bottom of the text with the dialog in front,
but you can move the dialog out of the way to read the summary.
If the summary results look odd, you can 'Cancel' and then examine
the whole file, and if everything is OK, then run the script again.
( You could probably maximize the window from AS if you needed to.)

It really works better with our workflow than it sounds: a large number
of unexpected changes usually means someone has to stop and examine
the log file in detail.

Good user interface design would call for both a smarter error detector
up front, and presenting the user with less text, which would call for a
smarter summary, but sometimes a "dumb" script is still 10 times better
than doing it manually, and you often don't have a good idea how to make
it smarter until you've looked at what can go wrong with unexpected
inputs.

-- Steve Majewski
_______________________________________________
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.

References: 
 >Re: display dialog (From: Kai <email@hidden>)

  • Prev by Date: RE: Applescript or ASS app as protocol helper?
  • Next by Date: Mail Migration from OE Issues
  • Previous by thread: Re: display dialog
  • Next by thread: Error -1 When Making and naming folders
  • Index(es):
    • Date
    • Thread