Re: Memory leaks

2019-02-06 Thread Brian Milby via use-livecode
I only ran the test on a Mac.  Once I get my computer unpacked I plan on 
working up an additional test and trying on Linux and Windows.

Thanks,
Brian
On Feb 6, 2019, 11:01 PM -0500, hh via use-livecode 
, wrote:
> > > hh wrote:
> > > ... the browser widget is still memory leaking when using JS
> >
> > Brian M. wrote:
> > I don’t think that leak is browser widget specific. I was able to reproduce 
> > the effect of increasing memory usage with the tree view widget, but much 
> > more slowly.
>
> Very interesting, so it may be a general LCB problem?
>
> I tested the browser widget also to leak on Windows and linux.
> Did you see this on Mac only?
>
>
> ___
> 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

Memory leaks

2019-02-06 Thread hh via use-livecode
>> hh wrote:
>> ... the browser widget is still memory leaking when using JS
> 
> Brian M. wrote:
> I don’t think that leak is browser widget specific.  I was able to reproduce 
> the effect of increasing memory usage with the tree view widget, but much 
> more slowly.

Very interesting, so it may be a general LCB problem?

I tested the browser widget also to leak on Windows and linux.
Did you see this on Mac only?


___
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

Re: Widget TurnImage89_v100

2019-02-06 Thread hh via use-livecode
I tested now more intensive the widget with LC 9.0.2 on Win 7-10
and linux (Xubuntu 1604).

It works as it should but I changed the (only partially working)
sample stack:

I had to rewrite the video grabbing loop so that the browser widget
has no problems on windows and linux.
Especially on Xubuntu1604 it works here now also OK with the video.

(New feature) Additionally I also changed the video loop such that
you can turn also around diagonal axes, change turnH or turnV while
the image is rotating for that. There is a new button "Reset" for
returning to the ordinary rotation axes.

Note.
The widget is not changed, only the sample stack. So if you already
have installed the widget just download the new sample stack (which
of course has still the installer button) and you are ready to try.

Download the changed stack from "Sample Stacks" or
http://livecodeshare.runrev.com/stack/929/

___
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


Re: Widget TurnImage89_v100

2019-02-06 Thread Brian Milby via use-livecode
I don’t think that leak is browser widget specific.  I was able to reproduce 
the effect of increasing memory usage with the tree view widget, but much more 
slowly.

Thanks,
Brian
On Feb 6, 2019, 9:22 PM -0500, hh via use-livecode 
, wrote:
> > BR wrote:
> > Now, if I could only figure out how to use a series of images
> > instead of just two?
>
> You can set new images at any time, even during rotation. Setting
> an image needs at about 10 millisecs (the widget has to adjust its
> size). See the help at topright of the sample stack.
> The video grabbing is not optimized. I could better grab the frame
> by JavaScript from the browser widget.
>
> But I used a snapshot from the rectangle of the widget because
> = the browser widget is still memory leaking when using JS
> = the snapshot is a better example for people who don't know JS.
> Disadvantage: On some hardware a bit "jerkiness".
>
> ___
> 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

Re: Widget TurnImage89_v100

2019-02-06 Thread hh via use-livecode
> BR wrote:
> Now, if I could only figure out how to use a series of images
> instead of just two?

You can set new images at any time, even during rotation. Setting
an image needs at about 10 millisecs (the widget has to adjust its
size). See the help at topright of the sample stack.
The video grabbing is not optimized. I could better grab the frame
by JavaScript from the browser widget.

But I used a snapshot from the rectangle of the widget because
= the browser widget is still memory leaking when using JS
= the snapshot is a better example for people who don't know JS.
Disadvantage: On some hardware a bit "jerkiness".

___
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


Mac Desktop App - No Longer Save to the Engine/Resourses Folder?

2019-02-06 Thread Sannyasin Brahmanathaswami via use-livecode
I have to update some in house production app for  Mac. To 64 bit... 

Used to Be: I could create a standalone, like a little "splash" engine and copy 
a separate stack to the engine location for it boot and save that stack.  

Now the stack is store in the app package to 

/Contents/Resources/_MacOS/InfoWizard.livecode

A simple script upgrade to "the effective name of this stackloader" to 

on preopenstack
   set the loc of this stack to the screenloc
end preopenstack

on openStack
   put specialFolderPath("resources") into tPath
   put "/InfoWizard.livecode" after tPath
   wait 60 ticks
hide  stack "infoWizard Loader"
go  stack url ("binfile:" & tPath)
end openStack

Works but I cannot save to that "external" stack.

Is this no longer allowed by Apple?  If not, will the only option (like on 
mobile) be to copy the stack from the standalone "out" to the documents folder 
and boot if from there and *then*  OSX will let me save data to it? (custom 
properties)?

BR







___
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


Re: Widget TurnImage89_v100

2019-02-06 Thread Sannyasin Brahmanathaswami via use-livecode
Fantastic Herman! Thanks for the contributions.

Now, if I could only figure out how to use a series of images instead of just 
two?

I am digging through the scripts to see what I can find.

But it is good to know that LCB can do "smooth" transitions/animation  (well, 
the video  was a bit jerky but the circles are smooth).

This is what we need for LC 10 (or whatever) to keep up with motion graphics 
for 2020 mobile apps

https://www.invisionapp.com/inside-design/ui-animation-principles/

https://www.invisionapp.com/inside-design/motion-design-in-2020-predictions/

BR


 

On 2/6/19, 8:05 AM, "use-livecode on behalf of hh via use-livecode" 
 wrote:

The SAMPLE STACK (which works after installing the widget and then
restarting LiveCode) has a few lines of help and
++ one ordinary widget (the Tiger) for use with it's context menu
++ two examples for using your own images with the widget
++ one example for using two LC-groups (here fields and buttons)
as front and back of the widget (50 lines of script)
++ one advanced example for using the widget by grabbing frames from
a browser video (not from a LC-player which is essentially blocking).

More than half of the code is written for the dictionary (and this
needs a lot of time).

As soon as you have installed the widget from the sample stack you find
DICTIONARY ENTRIES here:

(a) Dictionary > API > LiveCode Script > Filter > Associations > hhturn
Find the overview by Dictionary > API > Search: hhturn
The same for my other fat widgets:
boundingbox, hhaclox, hhbclox ,hhdclox, hhcolor, hhdate, hhotext, hhpoly,
hhprogress, hhgrid, hhimage and hhsvgt.

(b) tinyDictionary > LiveCode Builder > hermann.turnimage
The same for my other widgets hermann.X
Find the overview by tinyDictionary > LiveCode Builder > Search: hhturn
or the names hh from (a).

___
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

Re: editing data grid column via scrip

2019-02-06 Thread Hershel F via use-livecode
Thanks, i did something very similar.work fine a bit funky but it does the job 
for now.


Thank you.

HerhelF


> On Feb 6, 2019, at 12:11 PM, Bob Sneidar via use-livecode 
>  wrote:
> 
> Not sure what you mean here. In the data grid tab of the properties window 
> there is an option to Allow Editing. Double clicking the cell with this 
> option set will allow you to edit the value. 
> 
> This seems klunky to me. What I do is I create a field for each editable 
> value in the datagrid, then have a closeField handler in the field do the 
> updating of the datagrid record. 
> 
> on closeField
>   put the dgHilitedIndex of group "myDataGrid" into tHilitedIndex
>   put the dgDataOfIndex [tHilitedIndex] of group "myDataGrid" into aGridRecord
>   put the text of me into aGridRecord [myColumn]
>   set the dgDataOfIndex [tHilitedIndex] of group "myDataGrid" to aGridRecord
> end closeField
> 
> This then allows you to do some error checking and validation in the 
> closeField handler. Use exitField instead to process your data each time the 
> field loses focus. 
> 
> Bob S
> 
>> On Feb 5, 2019, at 14:31 , Hershel F via use-livecode 
>>  wrote:
>> 
>> Hi everyone, i searched high and low for this without success.
>> Question, i have a data grid (trying to to set up an invoice form),
>> columns, costumer_id, product_id, company_name, product_name, price. etc.
>> option menus in product name and company name, 
>> Now when i use the options to select a product name, (product_name col.) i 
>> want to put the product id  into the product_id column by selecting the 
>> option menu btn, i tried many ways even when it went in it didn’t show up in 
>> the send "printkeys" to group  “data_grid_0” . all help would appreciate it.
>> 
>> Thanks in advanced. Hershel F
> 
> ___
> 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

Re: editing data grid column via scrip

2019-02-06 Thread Hershel F via use-livecode
Hi and thanks, 
i’ll try to be a clearer.
all editing is done only via option menu scripts.

as mentioned earlier, an option menu in the company column and product column. 
now a mouseDown in the OM collects all company names then on menuPick the 
selected company is chosen at the same time the company id is fetched from a 
database and that id must go into the id field (column) so in other words…

|  company_id | company_name  | product_id | product_name | price |extended 
price |
——— 

  total price 

 (all id col are hidden.)

as said above, company name is entered via menuPick, company_id should be 
entered via script in menuPick into company_id fld. which is done.(put  “abc”  
into fld “company_id” & “0001” ) the problem is that the text shows in the 
fld but does not show in the printKeys. now i tried to send a closeField to the 
fld which it did trigger but didn’t change anything .




Thanks in advanced. HershelF

> 
> Not sure what you mean here. In the data grid tab of the properties window 
> there is an option to Allow Editing. Double clicking the cell with this 
> option set will allow you to edit the value. 

No clicking possible. 
> 
> This seems klunky to me. What I do is I create a field for each editable 
> value in the datagrid, then have a closeField handler in the field do the 
> updating of the datagrid record. 

also i’m not sure i understood what you said.

> 
>> 
>> Thanks in advanced. Hershel F
> 
> ___
> 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

Re: Widget TurnImage89_v100

2019-02-06 Thread prothero--- via use-livecode
Hermann,
Your contributions are really awesome! Thank you very much for your cutting 
edge work.
Best,
Bill

William Prothero
http://es.earthednet.org

On Feb 6, 2019, at 10:04 AM, hh via use-livecode 
 wrote:

>> Rick H. wrote:
>> A YouTube type video showing the effects, and  some instructional
>> examples of how to use the widget would be helpful.
> 
> The SAMPLE STACK (which works after installing the widget and then
> restarting LiveCode) has a few lines of help and
> ++ one ordinary widget (the Tiger) for use with it's context menu
> ++ two examples for using your own images with the widget
> ++ one example for using two LC-groups (here fields and buttons)
> as front and back of the widget (50 lines of script)
> ++ one advanced example for using the widget by grabbing frames from
> a browser video (not from a LC-player which is essentially blocking).
> 
> More than half of the code is written for the dictionary (and this
> needs a lot of time).
> 
> As soon as you have installed the widget from the sample stack you find
> DICTIONARY ENTRIES here:
> 
> (a) Dictionary > API > LiveCode Script > Filter > Associations > hhturn
> Find the overview by Dictionary > API > Search: hhturn
> The same for my other fat widgets:
> boundingbox, hhaclox, hhbclox ,hhdclox, hhcolor, hhdate, hhotext, hhpoly,
> hhprogress, hhgrid, hhimage and hhsvgt.
> 
> (b) tinyDictionary > LiveCode Builder > hermann.turnimage
> The same for my other widgets hermann.X
> Find the overview by tinyDictionary > LiveCode Builder > Search: hhturn
> or the names hh from (a).
> 
> The recommended way to look at one of my widgets is:
> 
> 1. Install the widget from the sample stack, then restart LiveCode.
> 
> 2. Make a new stack, create a widget (dragging works not always, but from
> menu Object> New Widget).
> Then open the property inspector and the overview from tinydict or Dict.
> No go through all tabs of the inspector and test the properties "live".
> (Find some properties on unusual tabs of the PI, this is because there
> are not enough appropriate tabs available.)
> 
> 3. Open the sample stack and look at the demos. Some are easy, some need
> advanced scripting like other LC controls.
> 
> I have a lot of unfinished projects. I will publish some while waiting
> for some progress with LC Builder and HTML5. May be I'll leave LC before
> some more items of the very long lists of promises of the last years will
> happily be realised.
> But before leaving I'll make some simpler example stacks: "Quick starter".
> I don't like teaching videos, sorry, not for giving and not for taking.
> 
> ___
> 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


Re: Widget TurnImage89_v100

2019-02-06 Thread hh via use-livecode
> Rick H. wrote:
> A YouTube type video showing the effects, and  some instructional
> examples of how to use the widget would be helpful.

The SAMPLE STACK (which works after installing the widget and then
restarting LiveCode) has a few lines of help and
++ one ordinary widget (the Tiger) for use with it's context menu
++ two examples for using your own images with the widget
++ one example for using two LC-groups (here fields and buttons)
as front and back of the widget (50 lines of script)
++ one advanced example for using the widget by grabbing frames from
a browser video (not from a LC-player which is essentially blocking).

More than half of the code is written for the dictionary (and this
needs a lot of time).

As soon as you have installed the widget from the sample stack you find
DICTIONARY ENTRIES here:

(a) Dictionary > API > LiveCode Script > Filter > Associations > hhturn
Find the overview by Dictionary > API > Search: hhturn
The same for my other fat widgets:
boundingbox, hhaclox, hhbclox ,hhdclox, hhcolor, hhdate, hhotext, hhpoly,
hhprogress, hhgrid, hhimage and hhsvgt.

(b) tinyDictionary > LiveCode Builder > hermann.turnimage
The same for my other widgets hermann.X
Find the overview by tinyDictionary > LiveCode Builder > Search: hhturn
or the names hh from (a).

The recommended way to look at one of my widgets is:

1. Install the widget from the sample stack, then restart LiveCode.

2. Make a new stack, create a widget (dragging works not always, but from
menu Object> New Widget).
Then open the property inspector and the overview from tinydict or Dict.
No go through all tabs of the inspector and test the properties "live".
(Find some properties on unusual tabs of the PI, this is because there
are not enough appropriate tabs available.)

3. Open the sample stack and look at the demos. Some are easy, some need
advanced scripting like other LC controls.

I have a lot of unfinished projects. I will publish some while waiting
for some progress with LC Builder and HTML5. May be I'll leave LC before
some more items of the very long lists of promises of the last years will
happily be realised.
But before leaving I'll make some simpler example stacks: "Quick starter".
I don't like teaching videos, sorry, not for giving and not for taking.

___
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


Re: editing data grid column via scrip

2019-02-06 Thread Bob Sneidar via use-livecode
Not sure what you mean here. In the data grid tab of the properties window 
there is an option to Allow Editing. Double clicking the cell with this option 
set will allow you to edit the value. 

This seems klunky to me. What I do is I create a field for each editable value 
in the datagrid, then have a closeField handler in the field do the updating of 
the datagrid record. 

on closeField
   put the dgHilitedIndex of group "myDataGrid" into tHilitedIndex
   put the dgDataOfIndex [tHilitedIndex] of group "myDataGrid" into aGridRecord
   put the text of me into aGridRecord [myColumn]
   set the dgDataOfIndex [tHilitedIndex] of group "myDataGrid" to aGridRecord
end closeField

This then allows you to do some error checking and validation in the closeField 
handler. Use exitField instead to process your data each time the field loses 
focus. 

Bob S
 
> On Feb 5, 2019, at 14:31 , Hershel F via use-livecode 
>  wrote:
> 
> Hi everyone, i searched high and low for this without success.
> Question, i have a data grid (trying to to set up an invoice form),
> columns, costumer_id, product_id, company_name, product_name, price. etc.
> option menus in product name and company name, 
> Now when i use the options to select a product name, (product_name col.) i 
> want to put the product id  into the product_id column by selecting the 
> option menu btn, i tried many ways even when it went in it didn’t show up in 
> the send "printkeys" to group  “data_grid_0” . all help would appreciate it.
> 
> Thanks in advanced. Hershel F

___
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

Re: How to tell if a field is "closed"?

2019-02-06 Thread Bob Sneidar via use-livecode
The problem with using closeField in this instance is that it only gets 
triggered when you exit the field AND changes have been made. That means you 
can trap once for the bad data, but if the user does not correct the bad data 
and clicks Import again, since the data did NOT change the second time, 
closeField will not trigger. 

The solution is to use exitField instead. That way simply refocusing on the 
errant field will trigger an exitField whenever it loses focus. 

Bob S


> On Feb 6, 2019, at 08:55 , Bob Sneidar via use-livecode 
>  wrote:
> 
> You beat me to it Mark! :-)
> 
> Bob S
> 
> 
>> On Feb 5, 2019, at 11:53 , Mark Waddingham via use-livecode 
>>  wrote:
>> 
>> Then in your import button do:
>> 
>> on mouseUp
>>   focus on nothing


___
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


Re: How to tell if a field is "closed"?

2019-02-06 Thread Bob Sneidar via use-livecode
You beat me to it Mark! :-)

Bob S


> On Feb 5, 2019, at 11:53 , Mark Waddingham via use-livecode 
>  wrote:
> 
> Then in your import button do:
> 
>  on mouseUp
>focus on nothing


___
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


Re: Widget TurnImage89_v100

2019-02-06 Thread Rick Harrison via use-livecode
Hi hh,

A YouTube type video showing the effects, and 
some instructional examples of how to use 
the widget would be helpful.

Thanks,

Rick

> On Feb 6, 2019, at 12:35 AM, hh via use-livecode 
>  wrote:
> 
> TurnImage is a pure LiveCode Builder widget, there is no essential
> script access and no use of JavaScript.
> 
> The widgets lets you
> = turn an image horizontally or vertically with a 2D-perspective view,
> = switch from an image to a second image while turning or rotating.
> 
> Thus it is essentially an animation tool for displaying LC objects.
> For example two groups of same size that make up the front and back of
> a turning "card". Just try the demo in the sample stack.
> 
> The widget is fast enough to "turn" a video by grabbing frames from it.
> For this we need to use a browser widget to play the video (just play,
> nothing else) because the LC player object is essentially blocking.
> 
> TurnImage is a "fat" widget that works with LC 8 and LC 9 identically
> and also in all LC editions, from community up to business.
> 
> This sample stack includes buttons to install (or remove) the widget
> to/from both LC 8 and 9.
> And it containes several examples for scripting the widget's properties.
> 
> Download it from "Sample Stacks" or
> http://livecodeshare.runrev.com/stack/929/
> 
> The widget is free for non-commercial use. For commercial use please
> give a (small) fee to the LC developer help fund.
> 
> The source code (lcb-file) is not included.
> 
> 
> ___
> 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


Re: AW: AW: weird video screenshot problem

2019-02-06 Thread Mark Waddingham via use-livecode

On 2019-02-06 10:41, Tiemo Hollmann TB via use-livecode wrote:

Hi Mark,

I can reproduce it in the LC 9 IDE with the pure stack (no standalone) 
on my
computer with the same LC 9 version. So neither "Enable Hi-DPI Scaling" 
or a

relation between windows and an App setting can be taken into account.

But I have made some more tests. The stack, where the screenshot gets
pixeled is from 2017 (probably created with LC 8). The stack, with the 
nice
screenshot is from 2009 (probably originally created with LC 2 or 4). 
Now I
have put a "fresh" player object and a fresh image object (from my LC 
9.0.2

pallette) onto this old stack and voila, the same corrupted screenshot
appears.

Do you see any relation to this? Could it be, that an old player object 
from
LC 2 or 4 has a hidden option, which handles video data different, even 
if

it is now used in an LC 9 environment?


As far as I can see there is no alternate codepaths in the engine for 
players
created a long time ago, to ones created now - i.e. the code that runs 
is
entirely based on what the properties of the player are, and there are 
no

hidden properties.

Perhaps dump 'the properties' of the well-behaved player and the 
badly-behaved

player and see if there's a difference?

Also, what happens if you copy the well-behaving player object from the 
older stack
to the newer one? (Copy/pasting objects uses exactly the same code as is 
used to
save/load objects in stackfiles, so exactly the same state should be 
preserved).


Warmest Regards,

Mark.

--
Mark Waddingham ~ m...@livecode.com ~ http://www.livecode.com/
LiveCode: Everyone can create apps

___
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


AW: AW: weird video screenshot problem

2019-02-06 Thread Tiemo Hollmann TB via use-livecode
Hi Mark,

I can reproduce it in the LC 9 IDE with the pure stack (no standalone) on my
computer with the same LC 9 version. So neither "Enable Hi-DPI Scaling" or a
relation between windows and an App setting can be taken into account.

But I have made some more tests. The stack, where the screenshot gets
pixeled is from 2017 (probably created with LC 8). The stack, with the nice
screenshot is from 2009 (probably originally created with LC 2 or 4). Now I
have put a "fresh" player object and a fresh image object (from my LC 9.0.2
pallette) onto this old stack and voila, the same corrupted screenshot
appears.

Do you see any relation to this? Could it be, that an old player object from
LC 2 or 4 has a hidden option, which handles video data different, even if
it is now used in an LC 9 environment?

Thanks
Tiemo

-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag
von Mark Waddingham via use-livecode
Gesendet: Dienstag, 5. Februar 2019 17:55
An: How to use LiveCode 
Cc: Mark Waddingham 
Betreff: Re: AW: weird video screenshot problem

On 2019-02-05 17:06, Tiemo Hollmann TB via use-livecode wrote:
> Hello Hermann,
> 
> that was my first idea also, when a customer came up with this.
> But that doesn't explains, why on my computer two different LC stacks 
> show different results - beside of there is any "hidden" LC option, 
> which interferes with the video card drivers, which I have set 
> differently in my two stacks and don't remember

The only setting I can think of 'Enable Hi-DPI Scaling' in the standalone
settings on the Windows platform tab.

Failing that - have you tried running the two apps in a fresh/new/clean user
account on your machine? (This is to discount that windows has, for some
reason, set some piece of unknown state on a per-app-per-user basis which is
causing the problem).

Warmest Regards,

Mark.

--
Mark Waddingham ~ m...@livecode.com ~ http://www.livecode.com/
LiveCode: Everyone can create apps

___
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


AW: AW: weird video screenshot problem

2019-02-06 Thread Tiemo Hollmann TB via use-livecode
Hi Jacque,

no difference setting both quality parameters to max or not.

Thanks
Tiemo

-Ursprüngliche Nachricht-
Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag von 
J. Landman Gay via use-livecode
Gesendet: Dienstag, 5. Februar 2019 17:47
An: How to use LiveCode 
Cc: J. Landman Gay 
Betreff: Re: AW: weird video screenshot problem

Did you set the resizeQuality maybe? Or the jpegQuality?

--
Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | 
http://www.hyperactivesw.com On February 5, 2019 10:11:41 AM Tiemo Hollmann TB 
via use-livecode  wrote:

> Hello Hermann,
>
> that was my first idea also, when a customer came up with this.
> But that doesn't explains, why on my computer two different LC stacks 
> show different results - beside of there is any "hidden" LC option, 
> which interferes with the video card drivers, which I have set 
> differently in my two stacks and don't remember
>
> Thanks
> Tiemo
>
>
> -Ursprüngliche Nachricht-
> Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im 
> Auftrag von hh via use-livecode
> Gesendet: Dienstag, 5. Februar 2019 14:08
> An: use-livecode@lists.runrev.com
> Cc: hh 
> Betreff: Re: weird video screenshot problem
>
>> This has nothing to do with LiveCode, is only influenced by Windows 
>> and the user's graphics card.
>>
>> Did the user already try
>> Settings > Advanced settings > Let windows try to fix apps so they're 
>> not blurry: ON ?
>>
>> You could also compare with system screenshots (win+print).
>
> Sorry, the menu line above should read:
>
> Settings > Display > Advanced scaling settings > Let windows try to 
> fix apps so they're not blurry: ON
>
> ___
> 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




___
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

Re: Widget TurnImage89_v100

2019-02-06 Thread scott--- via use-livecode
Hermann, that is simply awesome!
—
Scott Morrow

> On Feb 5, 2019, at 9:35 PM, hh via use-livecode 
>  wrote:
> 
> TurnImage is a pure LiveCode Builder widget, there is no essential
> script access and no use of JavaScript.
> 
> The widgets lets you
> = turn an image horizontally or vertically with a 2D-perspective view,
> = switch from an image to a second image while turning or rotating.
> 
> Thus it is essentially an animation tool for displaying LC objects.
> For example two groups of same size that make up the front and back of
> a turning "card". Just try the demo in the sample stack.
> 
> The widget is fast enough to "turn" a video by grabbing frames from it.
> For this we need to use a browser widget to play the video (just play,
> nothing else) because the LC player object is essentially blocking.
> 
> TurnImage is a "fat" widget that works with LC 8 and LC 9 identically
> and also in all LC editions, from community up to business.
> 
> This sample stack includes buttons to install (or remove) the widget
> to/from both LC 8 and 9.
> And it containes several examples for scripting the widget's properties.
> 
> Download it from "Sample Stacks" or
> http://livecodeshare.runrev.com/stack/929/
> 
> The widget is free for non-commercial use. For commercial use please
> give a (small) fee to the LC developer help fund.
> 
> The source code (lcb-file) is not included.
> 
> 
> ___
> 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

Widget TurnImage89_v100

2019-02-06 Thread Alejandro Tejada via use-livecode
Hi Hermann,

> TurnImage is a pure LiveCode Builder widget,
> there is no essential script access and
> no use of JavaScript.

This a wonderful example of your developer prowess
and LCB power. :-)

The rotating movie is a real surprise. Brings me
memories from the Commodore Amiga days.

Congratulations and thanks a lot for publishing
this widget for all Livecode editions!

Al
___
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