Page 1 of 1

storage image in var problem

Posted: Sun Sep 27, 2020 12:47 pm
by BigameOver
Hi,
When I put an image I captured from camera into a variable I see the image in zoom on the screen
How do I fix this?
Thanks

Re: storage image in var problem

Posted: Sun Sep 27, 2020 1:09 pm
by richmond62
I'd put it into the custom property of something rather than a variable; then it should not
show up on screen.

Re: storage image in var problem

Posted: Sun Sep 27, 2020 1:24 pm
by BigameOver
I put the result into a custom property of a button but it still doesn't work

Re: storage image in var problem

Posted: Sun Sep 27, 2020 1:47 pm
by richmond62
it still doesn't work
Do you mean the image still shows up on screen?

Re: storage image in var problem

Posted: Sun Sep 27, 2020 1:52 pm
by BigameOver
richmond62 wrote:
Sun Sep 27, 2020 1:47 pm
it still doesn't work
Do you mean the image still shows up on screen?
Yes

Re: storage image in var problem

Posted: Sun Sep 27, 2020 2:08 pm
by Klaus
What did you script so far?

Re: storage image in var problem

Posted: Sun Sep 27, 2020 2:09 pm
by richmond62
A button:
-

Code: Select all

on mouseUp
set the screenLock to true
---
-- your import routine here
---
set the PICPROP of me to img "SomeDaftImage"
delete img "Some DaftImage"
wait 5 ticks
set the screenLock to false
end mouseUp
-
?

Re: storage image in var problem

Posted: Sun Sep 27, 2020 2:53 pm
by Klaus
LOCKSCREEN, Richmond, LOCKSCREEN! 8)

Re: storage image in var problem

Posted: Sun Sep 27, 2020 3:26 pm
by richmond62
Whoops . . . Yes. 8)

Re: storage image in var problem

Posted: Mon Sep 28, 2020 6:35 pm
by BigameOver
richmond62 wrote:
Sun Sep 27, 2020 2:09 pm
A button:
-

Code: Select all

on mouseUp
set the screenLock to true
---
-- your import routine here
---
set the PICPROP of me to img "SomeDaftImage"
delete img "Some DaftImage"
wait 5 ticks
set the screenLock to false
end mouseUp
-
?
Woops, I forgot to delete the last image, thanks!