• 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
DD progress bar
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

DD progress bar


  • Subject: DD progress bar
  • From: David Graham <email@hidden>
  • Date: Sun, 18 Mar 2001 22:36:07 -0800

Hi all,

I'm stumped! When I call a DD progress bar dialog the main script stops until a result is returned from the DD handler. How can I adjust this so that it stays active until I choose to dismiss it?

property theDialog : {size:{300, 125}, style:standard dialog, closeable:true, name:"New Window", contents:{{class:push button, bounds:{210, 95, 290, 115}, name:"Cancel"},{class:gauge, bounds:{23, 55, 273, 71}, value:0, max value:-1000},{class:static text, bounds:{11, 7, 291, 37}, contents:"Your address book is being updated
"}}, default item:1}

dd install with fonts {name:"Charcoal", size:12} with grayscale
set dlog to dd make dialog theDialog
repeat
set i to dd interact with user for max ticks 60
dd set value of item 2 of dlog to (dd get value of item 2 of dlog) + 2
if i = 1 then
exit repeat
end if
end repeat
dd delete dlog
dd uninstall
--

==============================================================

David Graham Partnerships With Industry
MIS Manager 7540 Metropolitan Dr., #105
voice : 619.681.1999 San Diego, CA 92108
fax : 619.681.1990 http://www.pwiworks.org
AOL IM: dmgraham22 mailto:email@hidden

"We assist persons with disabilities to work in the community"
==============================================================


  • Follow-Ups:
    • Re: DD progress bar [Addendum]
      • From: David Graham <email@hidden>
  • Prev by Date: Re: (ascii 10 ascii 13) --> (ascii 13) in Tex-Edit?
  • Next by Date: Restarting Macs over TCP/IP
  • Previous by thread: Re: (ascii 10 ascii 13) --> (ascii 13) in Tex-Edit?
  • Next by thread: Re: DD progress bar [Addendum]
  • Index(es):
    • Date
    • Thread