unfortunately this syntax "import paint ... onto card XYZ..." is not valid.bidgeeman wrote:For some weird reason the images are now simply loading straight into my main stack?????
This was working fine a week ago. Can anyone advise what the problem could be?
Try something like this:
Code: Select all
...
set the defaultfolder to it
put the files into myListOfFiles
filter myListOfFiles with "*.png"
## !!!
lock screen
go cd "Nums" of stack "imageload"
repeat for each line myFile in myListOfFiles
import paint from file myFile into card "Nums" of stack "ImageLoad"
end repeat
## Now unlock screen and go back to where you came from
...
Klaus