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

Re: Help using dialog.


  • Subject: Re: Help using dialog.
  • From: Ricardo Montiel <email@hidden>
  • Date: Tue, 26 Jun 2001 18:28:10 -0300

on 26/06/2001 11:08, Andrea Riciputi at <email@hidden> wrote:

> I'm trying to use a dialog to display a rather long string, such as:
>
> # idx r brill rho
> brill_m rho_m
>
> The string has to be displayed all on the same line, but I'm not able to
> obtain this with:
>
> display dialog long_string
>
> Any suggestion??


Hi Andrea,

If you don't mind to use a third part OSAX, it is possible to widen a dialog
box so a string fits in its proper line. Give a try to the following
(requires Akua Sweets 1.4.1):


set long_string to "# idx r brill
rho brill_m rho_m"

-- change the numbers for your preference:
display info "Show long_string" message long_string located at {100, 100}
pause for 5 with seconds timing
display info "Show long_string" with disposal


The display info command includes other parameters to play with. However,
this approach has a somehow limited utility - as its name reveals, the
command wasn't designated for user interaction. Sorry if this is an
inconvenience for you.

I hope this helps,


Saludos (Regards),
Ricardo Montiel
Buenos Aires - Argentina

PS: cc me, on digest.


  • Prev by Date: Migrating scripting additions to OS X
  • Next by Date: Re: How do I change my default editor?
  • Previous by thread: Re: Help using dialog.
  • Next by thread: Re: Help using dialog.
  • Index(es):
    • Date
    • Thread