I'm sure I've read something 'special' about this in a thread somewhere but... I can't find it now...

I have a script that takes a snapshot of a card and displays it on another card.
Simple enough and... the script works perfectly on my Mac / PC :
Code: Select all
set the visible of the templateImage to false
put the rect of card "crdSource" into sRect
import snapshot from rect sRect of card "crdSource"
put the long id of the last image into sImgID
#set the text of image "imgBackground" of card "crdDestination" of stack "stkSubStack" to the text of sID --This one ?
put the last image into image "imgBackground" of card "crdDestination" of stack "stkSubStack" --or this one ? (Both pass LC testing but neither display the image on Android)
if sID begins with "Image id" then
delete sID --Delete my temp image
end if
I THINK I read that one may need to set the specialfolderpath or somesuch to get this to function with mobile but... like I say... I can't find the thread anymore and although I've tried various things ('specialfolderpath' and 'wait with messages' between grabbing and displaying the image) I still come up with nothing.
Anyone able to put me out of my misery please ?
Thanks a million.