Re: App and droplet
Re: App and droplet
- Subject: Re: App and droplet
- From: Luther Fuller <email@hidden>
- Date: Fri, 13 Oct 2006 08:51:43 -0500
I have been following this thread mainly to see comment on Craig's
statement ...
It seems they are double-clicking it, then dragging things onto it,
rather than dragging things on when it is closed.
I put together a script this morning, based on ideas appearing in
this thread, just to make sure I understood how such a script might
work. (The script, below, works perfectly, for what it's worth.)
I seems to me that such a script is fooling around with Human
Interface Guidelines in ways that we might be wise to avoid. I know
the "User is always right" ... but not always. I am curious why the
users in this case would expect a non-standard interface. (?) And I
suggest that the proper "workaround" is to simply instruct the users
on the standard interface. (!)
--------------------
property stayopen : false
on run
set stayopen to true
my main("You double-clicked.")
end run
on open -- dropList, don't use this!
my main("You dropped something!")
if not stayopen then quit
end open
on reopen
quit
end reopen
on main(yourMessage)
-- set dropList to getFinderSelection() -- must return a list of
aliases
display dialog yourMessage
end main
on idle
return 1
end idle
on quit
set stayopen to false
continue quit
end quit
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden