Re: AW: Different result in LC 6 to LC 8 when copying field text into Excel?

2017-02-08 Thread Richard Gaskin via use-livecode
Tiemo Hollmann wrote: > I tested a little bit more and this code works for me: > on mouseUp >lock clipboard >set the rawClipBoardData to empty >set the rawClipboardData["CF_UNICODETEXT"] to textEncode(fld 1, "UTF-16" ) >unlock clipboard > end mouseUp > > and the IDE doesn't

Re: Size of Image in RAM

2017-02-08 Thread Bob Sneidar via use-livecode
On our copiers, we have the option of scanning to Compact PDF. All it does is use the highest compression for the embedded JPEG images. The copier will not allow the selection of Compact PDF if the color depth is set to grayscale or black and white. Hence, I believe you are correct in your

Re: Browser Widget Appears to be caching data (JavaScript)?

2017-02-08 Thread Bob Sneidar via use-livecode
I think he mentioned a different site. I could be mistaken. Bob S On Feb 7, 2017, at 22:31 , Sannyasin Brahmanathaswami via use-livecode > wrote: Are you serving this content yourself from your web server? If so there are

Re: Size of Image in RAM

2017-02-08 Thread Bob Sneidar via use-livecode
It's very possible that for the purposes of efficiency, Photoshop allocates enough memory so that it can work on the file as though it were in 24 bit color mode. It may be that some filters do a temporary shift to 24 bit color to do their magic, then back to 8 bit. This is just a guess though.

Re: Different result in LC 6 to LC 8 when copying field text into Excel?

2017-02-08 Thread Bob Sneidar via use-livecode
Well any attempt to run the code in the DIE mode would understandably cause anything to crash. ;-) (sorry I just had to). Bob S On Feb 8, 2017, at 24:32 , Tiemo Hollmann TB via use-livecode > wrote: but when running the

Re: PUT method where is returned data?

2017-02-08 Thread Mark Hsu via use-livecode
Try the urlResponse: PUT tJsonData into URL tURL put the urlResponse into tResult Regards, Mark Hsu Canela Software mar...@canelasoftware.com > On Feb 8, 2017, at 10:05 AM, Bob Hall via use-livecode > wrote:

PUT method where is returned data?

2017-02-08 Thread Bob Hall via use-livecode
8.1.2 Indy with Desktop App I am using an API that uses the PUT method for some of the calls. JSON is sent with server data as JSON. I can’t figure out how to access the returned JSON data from the PUT call. I can not effect the API call. It's a commercial SAAS application. Here’s my snippet

Re: AW: Different result in LC 6 to LC 8 when copying field text into Excel?

2017-02-08 Thread Mark Waddingham via use-livecode
They are platform-specific - the 'original' win32 ones are here: It looks like Tiemo has discovered a bug in the docs! Warmest Regards, Mark. Sent from my iPhone > On 8 Feb 2017, at 16:17, Richard Gaskin via

some, but not all, custom properties survive paste to new stack

2017-02-08 Thread Dr. Hawkins via use-livecode
more hair-pulling time . . . I paste a group from a source stack to an output stack in a script. Some, but not all, of the custom properties that I set survive this pasting. For example, my source field has properties mrgns, txtFnt, txtSiz, and txtHgt. Its group, supergroups, card, and stack

Memory Allocation

2017-02-08 Thread Bob Sneidar via use-livecode
I hesitate to post but... A dev posted here about a change made to the engine to make it more efficient which ended up causing problems down the line, memory being released before it's time, and the need to create a special C class to handle it. When was this implemented? I ask because I am

Re: Different result in LC 6 to LC 8 when copying field text into Excel?

2017-02-08 Thread Paul Hibbert via use-livecode
Pleased it helped and thank you for the update. Paul > On Feb 8, 2017, at 1:59 AM, Tiemo Hollmann TB via use-livecode > wrote: > > Paul, > I tested a little bit more and this code works for me: > on mouseUp > lock clipboard > set the rawClipBoardData to

Re: some, but not all, custom properties survive paste to new stack

2017-02-08 Thread J. Landman Gay via use-livecode
On 2/8/17 3:34 PM, Paul Dupuis via use-livecode wrote: Now I was reminded the the custom property tab in the Project Browser is wacky - I would click the add new element "plus", select the default "1" for the key, rename it, click in the value box and enter a value and then click on the plus for

Re: PUT method where is returned data?

2017-02-08 Thread Richard Gaskin via use-livecode
Mark Hsu wrote: >> On Feb 8, 2017, at 10:05 AM, Bob Hall wrote: >> >> PUT tJsonData into URL tURL >> >> put the result into tResult >> >> put it into tResult2 >> >> I would of thought that either the result or it would have the data >> > > Try the urlResponse: > > PUT tJsonData into URL

Re: Memory Allocation

2017-02-08 Thread Bob Sneidar via use-livecode
NVM I am discovering that setting the DGData of a datagrid in the middle of a selectionChanged handler is what is crashing to desktop. I can produce this every single time in my app, but alas when I rey to create a test stack I cannot reproduce it. But I enabled gRevDevelopment and I

Re: Script locals in library stack script

2017-02-08 Thread Monte Goulding via use-livecode
> On 9 Feb 2017, at 9:32 am, J. Landman Gay via use-livecode > wrote: > > I have a splash stack that opens a data stack from a server. The data stack > has a substack which is used as a library with "start using". > > The handlers in the library work okay. Some

How big of a request can be sent with https?

2017-02-08 Thread Dr. Hawkins via use-livecode
I am contemplating the changes to, instead of direct postgres communication, using an https wrapper. How big of an inquiry can I send? Most are small, but when opening the file, there are something like a thousand queries as a single transaction, -- Dr. Richard E. Hawkins, Esq. (702) 508-8462

Re: some, but not all, custom properties survive paste to new stack

2017-02-08 Thread Paul Dupuis via use-livecode
On 2/8/2017 2:03 PM, Dr. Hawkins via use-livecode wrote: > more hair-pulling time . . . > > I paste a group from a source stack to an output stack in a script. > > Some, but not all, of the custom properties that I set survive this pasting. > > For example, my source field has properties mrgns,

Re: some, but not all, custom properties survive paste to new stack

2017-02-08 Thread panagiotis merakos via use-livecode
> >>I have not yet checked 8.1.3 to see if that bug of the Project > Browser is one of the many things fixed in 8.1.3. > @Paul I guess you mean "Property Inspector", and yes, it is fixed :) http://quality.livecode.com/show_bug.cgi?id=18302 @Richard Could you please file a bug, including a

Re: Memory Allocation

2017-02-08 Thread Bob Sneidar via use-livecode
Hmmm... also of note, putting true into gRevDevelopment enables explicit variables. That is where that bugaboo was coming from, where people were saying that explicitVariables was being enabled randomly. workaround would be: put true into gRevDevelopment;set explicitVariables to false in the

Script locals in library stack script

2017-02-08 Thread J. Landman Gay via use-livecode
I have a splash stack that opens a data stack from a server. The data stack has a substack which is used as a library with "start using". The handlers in the library work okay. Some of them store data in script local variables in the library script. The script locals do not retain their

Re: some, but not all, custom properties survive paste to new stack

2017-02-08 Thread Dr. Hawkins via use-livecode
On Wed, Feb 8, 2017 at 1:34 PM, Paul Dupuis via use-livecode < use-livecode@lists.runrev.com> wrote: > All properties and > values were copied. > They had been for me until recently. At this point, I have it cleared, but I'm suspecting a deeper bug is behind it. I had set the properties for a

Re: Memory Allocation

2017-02-08 Thread Bob Sneidar via use-livecode
OK I've figured this out. I'm not sure if this qualifies as a bug per se, but you cannot modify the datagrid data while a selectionChanged handler is running. The only reason I can think this is an issue is if the datagrid library calls selectionChanged itself. The workaround is to send in time

Re: Script locals in library stack script

2017-02-08 Thread J. Landman Gay via use-livecode
On 2/8/17 4:52 PM, Monte Goulding via use-livecode wrote: On 9 Feb 2017, at 9:32 am, J. Landman Gay via use-livecode wrote: I have a splash stack that opens a data stack from a server. The data stack has a substack which is used as a library with "start using".

AW: Different result in LC 6 to LC 8 when copying field text into Excel?

2017-02-08 Thread Tiemo Hollmann TB via use-livecode
Hi Paul, I test your approach, but when running the code in the DIE, LiveCode crashes immediatly. When debugging the code, it doesn't crashes, but stops at setting the rawclipboarddata with an error "clipboard is not locked". This happens anyhow, if I am using "lock clipboard" or not. I'll

AW: Different result in LC 6 to LC 8 when copying field text into Excel?

2017-02-08 Thread Tiemo Hollmann TB via use-livecode
Paul, I tested a little bit more and this code works for me: on mouseUp lock clipboard set the rawClipBoardData to empty set the rawClipboardData["CF_UNICODETEXT"] to textEncode(fld 1, "UTF-16" ) unlock clipboard end mouseUp and the IDE doesn't crashes anymore. BTW. The