Re: Printing a com.livecode.widget.browser

2020-12-10 Thread William de Smet via use-livecode
Hi Terry,

Can you use lockscreen?



Greetings

William




Op do 10 dec. 2020 om 10:15 schreef Terence Heaford via use-livecode <
use-livecode@lists.runrev.com>:

> Clearly you can’t print a card that contains a browser widget as livecode
> is unable to do this.
>
> I don’t understand why because Safari can and I believe they are both
> based on webkit.
>
> Anyway I have come up with a semi acceptable workflow that involves.
>
> 1. Exporting a screenshot of the screen with the widget into a variable.
>
> 2. Pasting via script into a LC image object.
>
> 3. Then print the portion of the card containing the image.
>
> The problem is this.
>
> I have both the image and widget on the same card and hide the widget when
> I want to print the image and vice versa when going back to the widget.
>
> There is a noticeable flash when hiding and showing the objects.
>
> I am looking for ideas as to how I can minimise this flash or camouflage
>   it for the user.
>
>
> Thanks
>
> Terry
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Printing a com.livecode.widget.browser

2020-12-10 Thread Terence Heaford via use-livecode
Clearly you can’t print a card that contains a browser widget as livecode is 
unable to do this.

I don’t understand why because Safari can and I believe they are both based on 
webkit.

Anyway I have come up with a semi acceptable workflow that involves.

1. Exporting a screenshot of the screen with the widget into a variable.

2. Pasting via script into a LC image object.

3. Then print the portion of the card containing the image.

The problem is this.

I have both the image and widget on the same card and hide the widget when I 
want to print the image and vice versa when going back to the widget.

There is a noticeable flash when hiding and showing the objects.

I am looking for ideas as to how I can minimise this flash or camouflage
it for the user.


Thanks

Terry
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode