Code: Select all
on mouseUp
answer file "Select image:"
if the result is not cancel then
set the lockscreen to true
put the short name of the topStack into STAKK
import paint from file it to stack STAKK
set the name of the last control to "XYZ"
end if
end mouseUp