This is probably not a bug as such : it may just be a feature but it is causing me a few problems.
The code snip is from a behavior button which is assigned to a number of buttons over five cards. These buttons wait for the user to drop one or more files that have been selected in Apple's Finder or other file management tool. A list of files is placed in the local variable tFiles along with the name of the button being used (tMyParent). The two variables are then passed as parameters to a handler on the main stack called RenameFiles. This all works however today I wanted to inspect the list of files in tFiles so placed a break point on the line "get the long name...." the code stopped o.k. but the IDE was unresponsive for example it is impossible to resize the window split between variables and code or examine a long variable by clicking on the "overflow" icon.
Code: Select all
on dragEnter
set the dragAction to "copy"
pass dragEnter
end dragEnter
on dragDrop
set the cursor to busy
put the dragdata["Files"] into tFiles
get the long name of owner of me -- name of the group
put it into tMyParent -- the GroupName
RenameFiles tFiles,tMyParent
pass dragdrop
end dragDrop
Is there a work around to prevent the IDE from locking up ?
S