How to (in iOS) Import snapshot and paste resulting image to substack? (Solved)
JOHN PATTEN
johnpatten at me.com
Tue Nov 7 14:02:31 EST 2017
I figured it out :)
Needed to just use export snapshot, instead of import snapshot, and create named image holders to “paste” the exported snapshots into.
export snapshot from rectangle (the rect of cd fld "pages 2-3") of this card to img "pages 2-3" of stack "Print Template"
go to stack "Print Template”
set the angle of img "pages 2-3" of this card to 90
set the loc of image "pages 2-3" of this card to 107,603
Cheers!
John Patten
SUSD
> On Nov 7, 2017, at 10:21 AM, JOHN PATTEN via use-livecode <use-livecode at lists.runrev.com> wrote:
>
> Hi All,
>
> In iOS on an iPad, I am trying to import a snapshot and then place the resulting image on a substack of the main stack. The idea is to save the substack out as a PDF after placing a number of snapshots on it.
>
> The code I am using is:
>
> ---------------------
> import snapshot from rectangle (the rect of cd fld "pages 2-3") of this card
>
> set the name of last image to "pages 2-3"
>
> set the angle of img "pages 2-3" of this card to 90
>
> cut image "pages 2-3" of this card. —there is no cut in iOS???
>
> go to stack "Print Template"
>
> paste — there is no paste in iOS
>
> set the loc of last image of this card to 107,603
>
> -------------------------
>
>
> This all works fine on a desktop, but I am having trouble with some of the iOS. What is the proper way to cut, copy and paste images from one stack, to a sub stack, in iOS?
>
> Thank you!
>
> John Patten
> SUSD
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list