Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!
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?
unfortunately this syntax "import paint ... onto card XYZ..." is not valid.
...
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
...
I have attached a stack that is supposed to print in Landscape and in Portrait. For some reason I cannot get it to print in Landscape mode at all, no matter what I do. Can someone please look at the stack and tell me if there are any errors that might be causing the problem?
Hello.
I have figured a workaround for this Landscape problem. Take a snapshot of the Landscape image area, place it on another card, rotate it 90 degrees and print it via portrait mode.
Can someone help me out with the correct syntax for placing a snapshot onto another card?
on mouseUp
focus on nothing
open printing with dialog
if the result is "Cancel" then exit mouseUp
set the printPaperOrientation to "landscape"
set the printMargins to 0,0,0,0
set the printPaperSize to "595,842"
set the printScale to 1
print stack "ImageArea"
close printing
end mouseUp
on mouseUp
focus on nothing
set the printPaperOrientation to "landscape"
set the printMargins to 0,0,0,0
set the printPaperSize to "595,842"
set the printScale to 1
open printing with dialog
if the result is "Cancel" then exit mouseUp
print stack "ImageArea"
close printing
end mouseUp