I'm sure this must be possible, but can't get it to work...
If I put the code below into the card script then nothing happens and I just get a cursor showing a circle with a line through it. If I put the same script into any control, eg a button, and drag a file onto the it, then I get the '+' sign and the expected action happens. In this simple example it just puts the file name of the dropped file into the message box:
Code: Select all
on dragEnter
set the dragAction to "copy"
end dragEnter
on dragDrop
put the dragData["files"]
pass dragdrop
end dragDrop
Can this not work with a card rather than a control?
Many thanks
S.