Strip XMP Packet from the end of binary image data

2019-01-31 Thread Tom Glod via use-livecode
Hi Livecode Geniuses., I've run into a problem in my application ...i have tracked the bug down to Adobe Fireworks adding an XMP packet to the end of clipboarddata["image"] http://www.w3.org/1999/02/22-rdf-syntax-ns#;> http://ns.adobe.com/xap/1.0/;> Adobe Fireworks CS6

Re: Insert an Image into a Field

2019-01-31 Thread Tore Nilsen via use-livecode
set the imageSource of character …. to Look up imageSource in the dictionary for further details. Best regards Tore Nilsen - > 31. jan. 2019 kl. 20:03 skrev Roger Guay via use-livecode > : > > Could someone please remind me how to do this? I’m having a senior moment and > can’t find

Re: Swipe over native scroller

2019-01-31 Thread JJS via use-livecode
Could it be somehow that your problem is linked to this issue?: https://quality.livecode.com/show_bug.cgi?id=21555 Because the scrollerID is constantly changing with native scroll Op 31-1-2019 om 19:02 schreef J. Landman Gay via use-livecode: Yeah, I think it also works if the swipe ends

Insert an Image into a Field

2019-01-31 Thread Roger Guay via use-livecode
Could someone please remind me how to do this? I’m having a senior moment and can’t find anything in the archives. Thanks, Roger ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your

Re: Insert an Image into a Field

2019-01-31 Thread Roger Guay via use-livecode
Thank you, Tore! > On Jan 31, 2019, at 12:08 PM, Tore Nilsen via use-livecode > wrote: > > set the imageSource of character …. to > > > Look up imageSource in the dictionary for further details. > > > Best regards > Tore Nilsen > > - > > > > > > >> 31. jan. 2019 kl. 20:03 skrev

Re: Swipe over native scroller

2019-01-31 Thread J. Landman Gay via use-livecode
Thanks for the reply. We aren't using datagrids. The scroller is over a text field and is created by name. But your script reminded me to check the scrollerEndDrag message. We don't allow horizontal scroll, so I'll have to see if the message is sent even if the scroll doesn't change. If so,

RE: Swipe over native scroller

2019-01-31 Thread J. Landman Gay via use-livecode
Yeah, I think it also works if the swipe ends outside the scroller but our project design doesn't really lend itself to a narrower text field. Or do you mean that the scroller is narrower than the field it controls? I hadn't thought of that. -- Jacqueline Landman Gay |

Re: Strip XMP Packet from the end of binary image data

2019-01-31 Thread Tom Glod via use-livecode
Scratch taht, its the modified date timestamp that changes. I will try using regex to get the ID and check it to see if the clipboard image really changed or not. should be a safer and quicker workaround...I think all adobe software does this when copying to clipboard. On Thu, Jan 31, 2019 at

Re: Shoutout to Bernd Niggeman

2019-01-31 Thread Niggemann, Bernd via use-livecode
Roger wrote: > This is to praise Bernd for his TinyDictionary! Kaveh wrote: > I second that. Thank you Roger and Kaveh, it was my pleasure. By the way my current version has some additional features that are mostly of interest to people writing widgets: You can import a temporary version

Re: Swipe over native scroller

2019-01-31 Thread J. Landman Gay via use-livecode
On 1/31/19 1:50 PM, J. Landman Gay via use-livecode wrote: But your script reminded me to check the scrollerEndDrag message. We don't allow horizontal scroll, so I'll have to see if the message is sent even if the scroll doesn't change. If so, that might work. I ran a test stack on an Android

Re: Swipe over native scroller

2019-01-31 Thread J. Landman Gay via use-livecode
On 1/31/19 11:03 AM, J. Landman Gay via use-livecode wrote: That's similar to the handlers I'm using but they all fail because no mouseUp or touchEnd messages are ever sent if you are over a native scroller. The issue isn't with the calculations, it's because the app is never informed thar the

Re: Swipe over native scroller

2019-01-31 Thread Terry Judd via use-livecode
On 1/31/19 11:03 AM, J. Landman Gay via use-livecode wrote: >> Did you try Terry script? Elanor did something similar this in the >> Listen module, it not very refined. Terry put time in it with subtle >> time parameters. I have yet to try it. It here on the list I

failing snapshot when system textsize > 100%

2019-01-31 Thread Tiemo Hollmann TB via use-livecode
Hello, working with LC 9.0.2 on windows 10 I take snapshots of parts of my stack, which works fine as long as the system display setting is set to 100% text size. When you set the system text size to > 100% the export snapshot function grabs wrong rectangles (which are located topleft to the

AW: failing snapshot when system textsize > 100%

2019-01-31 Thread Tiemo Hollmann TB via use-livecode
Solved! When you change the system text size on windows, you have to restart the machine. Without restart the windows are already resized, but some programs like LC don't get the new system parameter to work with. E.g. the systemPixelScale only gets updated after a restart. After a restart the

Re: AW: failing snapshot when system textsize > 100%

2019-01-31 Thread Paul Dupuis via use-livecode
This seems like a bug (that a restart is required) and should probably be reported to the LiveCode Quality Center as a bug? On 1/31/2019 5:44 AM, Tiemo Hollmann TB via use-livecode wrote: Solved! When you change the system text size on windows, you have to restart the machine. Without restart

Re: Swipe over native scroller

2019-01-31 Thread Sannyasin Brahmanathaswami via use-livecode
Did you try Terry script? Elanor did something similar this in the Listen module, it not very refined. Terry put time in it with subtle time parameters. I have yet to try it. It here on the list Terry, do we have a place for a repository for code snippits? Maybe you can put in on the forum.

Re: Swipe over native scroller

2019-01-31 Thread J. Landman Gay via use-livecode
That's similar to the handlers I'm using but they all fail because no mouseUp or touchEnd messages are ever sent if you are over a native scroller. The issue isn't with the calculations, it's because the app is never informed thar the swipe has completed. I'll try fiddling with touchMove

RE: Swipe over native scroller

2019-01-31 Thread Jim MacConnell via use-livecode
The only way I've been able to get swipe functionality with a native scroller is to keep the native scroller narrower than the screen by enough that someone swiping is able to easily start the swipe on the background. I've found when people try to swipe and it doesn't work, they'll try again

Shoutout to Bernd Niggeman

2019-01-31 Thread Roger Guay via use-livecode
This is to praise Bernd for his TinyDictionary! Especially since I find the standard dictionary in LC V9 is next to useless!! Find it here: http://livecodeshare.runrev.com/stack/825/TinyDictionary Thank you, Bernd! Roger ___ use-livecode mailing list

Re: Shoutout to Bernd Niggeman

2019-01-31 Thread Kaveh Bazargan via use-livecode
I second that. Thank you Bernd. :-) On Thu, 31 Jan 2019 at 17:44, Roger Guay via use-livecode < use-livecode@lists.runrev.com> wrote: > This is to praise Bernd for his TinyDictionary! Especially since I find > the standard dictionary in LC V9 is next to useless!! > > Find it here: