realbasic-nug
[Top] [All Lists]

Re: Looping, threads and Applescript

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Looping, threads and Applescript
From: Joe Strout <joe at inspiringapps dot com>
Date: Thu, 31 Jan 2008 21:48:18 -0700
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
References: <AF0A2437-ABE6-4AA5-BA42-B15D73D33A8E at comcast dot net> <50D1C276-EA47-4206-97CE-7244FEB51A2B at sentman dot com> <372A4EBB-0E11-4956-84B8-AB297566C848 at comcast dot net>
On Jan 31, 2008, at 9:37 PM, Michael wrote:

> Well...it was really more to ask the user for input...kind of a Go/No
> go situation.  Go means move the files found, vs not.  Then  loop and
> repeat for the next mailbox.

If it were me, I'd have one thread whose job it is just to find the  
files of interest, and stuff them into a list.  Then I'd have  
something else -- probably a Timer -- which watches this list, and  
prompts the user for what to do with them.

Or better yet, just put these results into an actual Listbox, and let  
the user select them and click some action button as they choose.   
The old prompt-the-user-and-force-them-to-answer UI paradigm is so  
1970s. ;)

Best,
- Joe
("Hey!  I just tripled my productivity!" -- Homer Simpson, upon  
discovering that he could just press Y instead of Y-E-S.)


--
Joe Strout
Inspiring Applications, Inc.
http://www.InspiringApps.com



_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>