Would a simple if..then...else..endif work?

> -----Original Message-----
> From: Macintosh Scripting Systems
> [mailto:[log in to unmask]] On Behalf Of Bill Steele
> Sent: Friday, March 05, 2010 10:15 AM
> To: [log in to unmask]
> Subject: double-click a droplet?
> 
> Is there a way to make an Applescript app so that if you drop a file
> on it it does its thing, but if you just double-click it displays a
> dialog and asks you for the info you would have dropped? IOW, "on
> open" and "on run" in the same app.
> 
> Bill Steele
> [log in to unmask]