I wonder if anyone can help.
I have an issue where I need to print a card on a sub-stack. But every time I open the sub-stack to print the script stops. This happens only on IOS. On Windows, it works as expected. Am I doing something wrong possible bug? see script below.
Code: Select all
lock screen
go to cd "card" of stack "substack"
--stops working here
--open printing
answer "check working1" with "okay"
open printing to pdf tPDFPath
if the result is "Cancel" then
## The user has cancelled printing
exit mouseup
else
## Print the card into the printable area
--open cd "card" of stack "substack"
answer "check working2" with "okay"
print cd "card" of stack "substack" into 0,0,595,842
close printing
answer "check working 3" with "okay"
end if
go to stack "mainstack"
unlock screen
answer "working" with "okay"
I am using LC 8.1.6 and XCODE 8.2.1
If anyone can point me in the right direction that would be great.
Thanks