Reading modifier keys in a droplet

In a droplet, is it possible to find out of the user was holding down a modifier key when they dropped files on the droplet? I’d prefer to do this without any extra scripting additions.

Thanks

Hi,

You can use Jon’s Commands scripting addition:

http://www.seanet.com/~jonpugh/

Something like this:

– modifier keys {“Command”, “Shift”, “Option”}
on open item_refs
if (keys pressed) is {“Command”} then
set the_key to “Command”
else if (keys pressed) is {“Option”} then
set the_key to “Option”
else if (keys pressed) is {“Shift”} then
set the_key to “Shift”
else
set the_key to “None”
end if
display dialog the_key
end open
– note: Control + click > contextual menu

gl,