Re: Keep stack proportions when resizing

2021-10-08 Thread Sean Cole (Pi) via use-livecode
on resizeStack send "ratioSet" to me in 0.01 sec end resizeStack on ratioSet lock screen put the topleft of this stack into tTL set the width of this stack to the height of me * 1.78 -- Ratio 16:9 set the topleft of this stack to tTL unlock screen end ratioSet

Re: On the subject of things with the same short name... ('identical' groups which behave differently)

2021-10-08 Thread Sean Cole (Pi) via use-livecode
first one found will always be the target, and the search stops there. > > I still don’t understand why rect (the rect of the long name of me) works > in one but fails in another group, though. > > Cheers, > > David G > > > On 8 Oct 2021, at 10:58 am, Sean Cole (Pi)

Re: On the subject of things with the same short name... ('identical' groups which behave differently)

2021-10-08 Thread Sean Cole (Pi) via use-livecode
The message path looks for the first instance it finds with a given name. As your script is within the group itself, it would be easier (lazier ;) ) to reference to each group as 'me' eg lock screen for visual effect in rect (the rect of me) rather than 'the rect of the long name of me' Sean On

Re: Stack with the same name loop

2021-10-06 Thread Sean Cole (Pi) via use-livecode
[Huff] and [sigh]! I don't know. I mean, I just don't get it. I don't get how LiveCode get defended as being people that care when they leave something as *basic as this unrepaired for EIGHTTEENYEARS !?! I have this thing. I don't know if it's just part of my BPD/EUD or the 48years I've

Re: Stack with the same name loop

2021-10-06 Thread Sean Cole (Pi) via use-livecode
never I get this, I just unplug my comp from the > > wall, leave the room, wait for 5 minutes and only then try again. :D > > > > On Wed, Oct 6, 2021 at 1:18 PM Peter Bogdanoff via use-livecode < > > use-livecode@lists.runrev.com> wrote: > > > >> Good qu

Stack with the same name loop

2021-10-06 Thread Sean Cole (Pi) via use-livecode
Hi all, Can someone give the definitive answer as to what to choose when I save my stack with a save as to create a new iterative version and it comes up with the prompt : A stack with the same name as the one you are trying to load is already open. SavePurgeCancel

Re: IDE line number doesn't update

2021-09-21 Thread Sean Cole (Pi) via use-livecode
Hi Tiemo, This is an issue dating all the way back to LC9.0.0. It has been raised several times in this list and on the bug report platform. Other issues surrounding it have been 'fixed' but this one seems elusive. One thread mentioned someone was working on an alternative script editor but it is

Re: PATCH command in tsNetCustom

2021-09-14 Thread Sean Cole (Pi) via use-livecode
Super, thanks Mark. Makes much more sense. Sean On Tue, 14 Sept 2021 at 12:29, Mark Waddingham via use-livecode < use-livecode@lists.runrev.com> wrote: > On 2021-09-14 12:07, Sean Cole (Pi) via use-livecode wrote: > > put tsnetCustomSync(tAddr, "PATCH", tHeaders, tRec

PATCH command in tsNetCustom

2021-09-14 Thread Sean Cole (Pi) via use-livecode
Hi all, I am in need of an example of how to use tsnet to send a PATCH request to a REST API. I have some JSON (tJson) like '{"myField":"Data"}' and address (tAddr) like 'https://myLink.com/object/name/idNumber' and tHeaders like "Accept-Encoding: gzip" & "Authorization: Bearer" && tAccessToken"

Re: Couple of HTML questions

2021-09-13 Thread Sean Cole (Pi) via use-livecode
Hi Colin, If it is HTML5 deployment you are looking to do from LC, how time critical is your project? At the moment, HTML5 deployment is still quite broken in many ways. It may be best to wait until LC10 which is using a whole new engine (which looks very promising). That said, the current engine

Re: Send a table in an email.

2021-09-09 Thread Sean Cole (Pi) via use-livecode
Ben, That's perfect, and kind of what I'd said in one of my previous, although not as succinctly or as well explained. Thanks for this as a way of confirming an idea. (I tend to use {{table}} as my replacement strings. It goes back to my coding back in the 80s/90s) I've put the projects to one

Re: Send a table in an email.

2021-09-08 Thread Sean Cole (Pi) via use-livecode
> Good luck! > > Rick > > > On Sep 8, 2021, at 6:02 AM, Sean Cole (Pi) via use-livecode < > use-livecode@lists.runrev.com> wrote: > > > > Hi all > > > > I'm trying to use the MIME encoder to send an email with a table in the > > body. I have a fi

Send a table in an email.

2021-09-08 Thread Sean Cole (Pi) via use-livecode
Hi all I'm trying to use the MIME encoder to send an email with a table in the body. I have a field that has both plain text and a few lines that are displayed as a table in the middle of it. I basically just turn on the v and h lines and set tab stops. mimeEncodeField... puts the text into the

Re: Suggestion: Non-Appbuilding Community Edition

2021-09-02 Thread Sean Cole (Pi) via use-livecode
Hi Lagi, I have the LC IDE running on a remote Windows Server with 1 core (2Ghz) and 2GB ram. It struggles at times but is still usable (truly amazingly). Otherwise, I run it on Windows through Parallels Desktop with VM 8 cores and 8GB on an 8core 32GB Macbook Pro. Saving a stack takes 15 times

Re: Licensing model change

2021-09-02 Thread Sean Cole (Pi) via use-livecode
Not even close it would seem. For $300 you will get Win/Mac/Lin (like we used to). But now we'll have to pay $300 for each with some weird-as discount applied (maybe). It's very out of whack. I like the model used by xojo that is based on Desktop, Web, iOS and Android. It makes much more sense.

Re: Custom URLs

2021-09-01 Thread Sean Cole (Pi) via use-livecode
Dan, These will be useful to you: https://stackoverflow.com/questions/21893447/facebook-sdk-app-not-registered-as-a-url-scheme https://github.com/facebookarchive/react-native-fbsdk/issues/707 Pi On Wed, 1 Sept 2021 at 18:38, David Bovill via use-livecode < use-livecode@lists.runrev.com> wrote:

Re: LiveCode Community - anyone up for maintaining the community edition?

2021-09-01 Thread Sean Cole (Pi) via use-livecode
The main reasons I stopped contributing were: No easy support for LiveCode script as it was all in binary so versioning was non-existent. Life cycle between a pull request, merge and deployment The dictionary was the only place I was able to properly contribute. But it still sucked a lot. And was

Re: Licensing model change

2021-08-31 Thread Sean Cole (Pi) via use-livecode
What has happened to price lock-ins though? Will they get honoured? I'm still paying for a web deployment that still doesn't work properly yet. What is happening to that? On Tue, 31 Aug 2021 at 17:48, Mike Kerner via use-livecode < use-livecode@lists.runrev.com> wrote: > I did not mean that we

Re: Levure Dataview: adding a scrolling background

2021-06-21 Thread Sean Cole (Pi) via use-livecode
Hi David, iOS 'fir' / 'for' issue. I don't know if this already got answered elsewhere in the thread. There are two easy fixes for this. 1. In Notes, type 'Fir always' then select the word 'Fir' and from the pop-up menu select 'replace...' then replace with 'For'. Delete the line of text and

Re: Collaborative help request for oAuth2 access to DocuSign

2021-06-13 Thread Sean Cole (Pi) via use-livecode
your call and was at least able to > login and the browser windows closed. I did not test further as it is a > little late here. > > > See also a screen recording here https://livecode.dermattes.de/sean.mp4 > > Regards, > > Matthias > > > > > > > Am 11

Re: Collaborative help request for oAuth2 access to DocuSign

2021-06-11 Thread Sean Cole (Pi) via use-livecode
Thanks Colin and Andrew. I'll see if I can track down Monte. I know he's a busy man. But there must be a simple explanation of why they don't seem to work. oAuth should be pretty simple. I have done my own using a browser widget but it's a bit clunky for the customer. The oAuth seems to be a

Collaborative help request for oAuth2 access to DocuSign

2021-06-09 Thread Sean Cole (Pi) via use-livecode
Hi All, Until now I have been using SOAP to connect to Docusign without the need for oAuth2. However, they will soon (August 16th, 2021) require oAuth2 entry. To make it easier for us to play together, I've created a temp gmail and DocuSign account. The code I'm using is as follows: // local

Re: bordercolor of buttons

2021-06-09 Thread Sean Cole (Pi) via use-livecode
> that could be mentioned in the dictionary. > >> Best, > >> Bill > >> > >> William Prothero > >> https://earthlearningsolutions.org > >> > >>> On Jun 7, 2021, at 7:30 AM, Klaus major-k via use-livecode < > use-livecode@lists

Re: bordercolor of buttons

2021-06-06 Thread Sean Cole (Pi) via use-livecode
Klaus, Forecolor IS the border color. It always has been for shapes including circles, polygons and custom shapes. Buttons have a bordercolor property but only visible if 3d is off. Sean On Sun, 6 Jun 2021 at 14:20, Klaus major-k via use-livecode < use-livecode@lists.runrev.com> wrote: > Hi

Re: Finding out what changes a custom property

2021-06-06 Thread Sean Cole (Pi) via use-livecode
Hi Paul, In the development menu, open 'message watcher'. That's helped me with exactly what you are looking for too. Fantastic tool. Sean On Sun, 6 Jun 2021 at 21:21, Paul Dupuis via use-livecode < use-livecode@lists.runrev.com> wrote: > I have a stack with a custom property, hrStart. > >

Re: Memory garbage overrun on windows server

2021-05-27 Thread Sean Cole (Pi) via use-livecode
What the. It autoincorrected to that! Bizarre technology. :/ On Thu, 27 May 2021 at 21:34, matthias rebbe via use-livecode < use-livecode@lists.runrev.com> wrote: > tsNetCustomSync? You mean tsNetClose, right? ;) > > > Am 27.05.2021 um 22:17 schrieb Sean Cole (Pi) via us

Re: Memory garbage overrun on windows server

2021-05-27 Thread Sean Cole (Pi) via use-livecode
ing connections and disable tsNet. > To use tsNet again you need to run tsNetInit once to initialize tsNet > again. > > If this solves the problem, tsNet is the culprit. If it doesn't, we know > tsNet isn't it. ;) > > Matthias > > > > > Am 27.05.2021 um

Memory garbage overrun on windows server

2021-05-27 Thread Sean Cole (Pi) via use-livecode
Hi I have an LC app running on a server that collects csv files from an email server, analyses the data from each, stores that data to an sql db then creates a pdf which it then uploads to an ftp server. Each iteration of this is followed by my attempt to purge the data in all local and global

Re: 3-way slider control

2021-05-26 Thread Sean Cole (Pi) via use-livecode
I made a multiway one https://forums.livecode.com/viewtopic.php?f=7=35903=205657 On Wed, 26 May 2021 at 20:45, Paul Dupuis via use-livecode < use-livecode@lists.runrev.com> wrote: > :-) > > On 5/26/2021 3:36 PM, Alex Tweedly via use-livecode wrote: > > I'd prefer it like ... > > > > On

Re: the systemversion shows wrong version # on Mac

2021-05-13 Thread Sean Cole (Pi) via use-livecode
On Thu, 13 May 2021 at 14:57, Ben Rubinstein via use-livecode < use-livecode@lists.runrev.com> wrote: > Do we need a "detailed systemversion" ? > +1 Great idea. For Windows also this could return from ' systeminfo | findstr /B /C:"OS Name" /C:"OS Version" ' which would give the build number

Re: Bug, feature, or just something I need to program around?

2021-05-12 Thread Sean Cole (Pi) via use-livecode
on openField select char 0 of me end openField On Wed, 12 May 2021 at 09:03, Mark Smith via use-livecode < use-livecode@lists.runrev.com> wrote: > Hi Alex, what sequence are you trying to do that won’t work? If you tab > into a field and then cmd-arrow (right or left) I think it restores the

Re: Help! I'm stuck

2021-04-08 Thread Sean Cole (Pi) via use-livecode
ess it would not > disrupt the current session inside the IDE. > > Sent from my iPhone > > > On Apr 8, 2021, at 1:21 PM, Sean Cole (Pi) via use-livecode < > use-livecode@lists.runrev.com> wrote: > > > > Hi Richard, > > > > When you say a separate proce

Re: Help! I'm stuck

2021-04-08 Thread Sean Cole (Pi) via use-livecode
Hi Richard, When you say a separate process, do you mean have the standalone builder as a separate application from the IDE? Why could it not be accomplished in the IDE where it is more convenient? Handling it within the IDE process was fine as long as the only thing > the Standalone Builder did

Re: Intermittent typing delay in script editor.

2021-04-08 Thread Sean Cole (Pi) via use-livecode
Ooo, you are right Michael, I've had it in the past where if there were large amounts of text in either the message box response field or in a variable window (if you double click a variable in the variables list) that has a large amount of data, then it would be a tad slower. But I get that on

Re: Find Replace in Script Editor with cr

2021-04-08 Thread Sean Cole (Pi) via use-livecode
Trumps effects were global ;) Sean On Thu, 8 Apr 2021 at 17:21, J. Landman Gay via use-livecode < use-livecode@lists.runrev.com> wrote: > I mistakenly remembered the diagnosis, for which Sean was gracious. > However, the US government is unlikely to be involved since Sean is in the > UK where

Re: Find Replace in Script Editor with cr

2021-04-08 Thread Sean Cole (Pi) via use-livecode
No problem, thanks Jacque. Just to kindly correct, it's not bipolar, it's BPD, Borderline Personality Disorder, or Emotionally Unstable Personality Disorder. But in this instance this is not an excuse I am using as I'm actually fairly in control as it happens. I only mentioned it as a warning to

Re: [ANN] Release 9.6.2 RC-4

2021-04-08 Thread Sean Cole (Pi) via use-livecode
I'm running it over vnc to a remote server on a single core (2.4Ghz), 4gb virtual system running Win Server 2016 standard. I edit my code there directly and have only partial lag due mostly to the screen share, dropbox scanning and single core nature of it. I've often made my feelings known about

Re: Find Replace in Script Editor with cr

2021-04-08 Thread Sean Cole (Pi) via use-livecode
Hi all, It's gotten out of control, hasn't it. If you are told not to put your hand in the snake pit and you still do and get bit, it should come as little surprise to such a person that they get referred to as stupid, in the true English meaning of the word. I had asked specifically not to add

Re: Find Replace in Script Editor with cr

2021-04-07 Thread Sean Cole (Pi) via use-livecode
Nice to hear from you Sean On Thu, 8 Apr 2021 at 02:02, John Balgenorth via use-livecode < use-livecode@lists.runrev.com> wrote: > GO SCREW YOURSELF! > > JB > > > On Apr 7, 2021, at 5:52 PM, Sean Cole (Pi) via use-livecode < > use-livecode@lists.runrev.com> wr

Re: Find Replace in Script Editor with cr

2021-04-07 Thread Sean Cole (Pi) via use-livecode
So your question has value to many users and to LoveCode on a lot > of different levels, not just what you want to hear or learn or even be > reminded of. > > In other words your complaints are invalid and a waste of your time > with attempts to prevent others from learning. > >

Re: Help! I'm stuck

2021-04-07 Thread Sean Cole (Pi) via use-livecode
On Wed, 7 Apr 2021 at 19:27, J. Landman Gay via use-livecode < use-livecode@lists.runrev.com> wrote: > A good compromise would be providing a checkbox in standalone settings > where we can decide > whether we want to preserve local variables or not. If we don't care, the > SB should go ahead >

Re: [ANN] Release 9.6.2 RC-4

2021-04-07 Thread Sean Cole (Pi) via use-livecode
Lagi, I feel your pain, I do. However, I only see a moderate amount of unresponsiveness and I can usually put it down to the way I use it on Windoze in a VM on a Mac. The stack I am working on at the moment takes 5 seconds to save on mac side but 30 seconds on the Win10. My colleague running on a

Re: Find Replace in Script Editor with cr

2021-04-07 Thread Sean Cole (Pi) via use-livecode
Who, those who can't read simple instructions. I agree. ;) Sean On Thu, 8 Apr 2021 at 00:10, Bob Sneidar via use-livecode < use-livecode@lists.runrev.com> wrote: > I vote to ban. > > Bob S > > > > On Apr 7, 2021, at 15:59 , Sean Cole (Pi) via use-livecode < > use

Re: Checking the Milliseconds

2021-04-07 Thread Sean Cole (Pi) via use-livecode
Hi Tom It is really interesting to see the results from this though. Tried it on my various machines and got pretty much the same results as everyone else consistently. It's amazing to see that in the region of 3000 loops occur in the period of 1ms. which means we are perhaps getting 1 (lowish

Re: Find Replace in Script Editor with cr

2021-04-07 Thread Sean Cole (Pi) via use-livecode
t can rest in the best place of all - somewhere else ;) Sean On Wed, 7 Apr 2021 at 19:23, J. Landman Gay via use-livecode < use-livecode@lists.runrev.com> wrote: > On 4/7/21 10:46 AM, Sean Cole (Pi) via use-livecode wrote: > > I HAVE created a plugin! I was JUST trying to ask,

Re: Find Replace in Script Editor with cr

2021-04-07 Thread Sean Cole (Pi) via use-livecode
n 07/04/2021 16:46, Sean Cole (Pi) via use-livecode wrote: > > FFS Alex, > > > > I HAVE created a plugin! I was JUST trying to ask, can I insert a cr > using > > the replace field of the Find Replace ONLY. > > And now I have too. And I found that fun and interesting

Re: Find Replace in Script Editor with cr

2021-04-07 Thread Sean Cole (Pi) via use-livecode
tehe ;) Thanks Curry - a bit of relief. Sean On Wed, 7 Apr 2021 at 17:02, Curry Kenworthy via use-livecode < use-livecode@lists.runrev.com> wrote: > > Sean: > > > if there is a way of replacing using cr > > in the find/replace panel of the script editor. > > So what you are REALLY asking is

Re: Find Replace in Script Editor with cr

2021-04-07 Thread Sean Cole (Pi) via use-livecode
e > > pass commandKeyDown > >end if > >setEditorDirty > > end commandKeyDown > > > > private command setEditorDirty > >type space > >delete char (word 4 of the selectedchunk) of the target > >

Re: Find Replace in Script Editor with cr

2021-04-06 Thread Sean Cole (Pi) via use-livecode
Hi all, So, the semicolon example was only given as an oversimplification because most of you didn't read the original post properly, jumped to the wrong conclusion and then offered irrelevant answers. But then, the oversimplification gathered the same results of people jumping to the wrong

Re: Find Replace in Script Editor with cr

2021-04-05 Thread Sean Cole (Pi) via use-livecode
Bob, Regex only appears to operate on the read of the text, so ; in the *find* field will locate all of the places a semicolon is found, but putting /n into the *replace* field will not replace the ; with a cr Brian, The project is huge and I don't yet have the time to invest in porting

Re: Find Replace in Script Editor with cr

2021-04-05 Thread Sean Cole (Pi) via use-livecode
, Craig Newman via use-livecode < use-livecode@lists.runrev.com> wrote: > Of course you have to extract the script first (it is a property) then > work it, then reset the property/ > > Craig > > > On Apr 3, 2021, at 1:43 PM, Sean Cole (Pi) via use-livecode < > use

Re: Help! I'm stuck

2021-04-04 Thread Sean Cole (Pi) via use-livecode
You can also turn off messages and errors from the Toolbar before you build. This should prevent any pre/open or pre/close scripts from running. And make sure all inspectors, message box and project browser are closed too as well as any windows/stacks other than your main stack. Sean On Sun, 4

Re: Help! I'm stuck

2021-04-04 Thread Sean Cole (Pi) via use-livecode
ResolveID is referring to the stack, card and object IDs to tie it to your breakpoints. Focus on your main stack. In the Development menu bar, choose Clear All Breakpoints. It’s a good idea to do this every time before a main standalone build. So, Delete all your breakpoints. Then resave. (Close

Find Replace in Script Editor with cr

2021-04-03 Thread Sean Cole (Pi) via use-livecode
Hi all, Just wondering if there is a way of replacing using cr in the find/replace panel of the script editor. For example, I have a lot of instances in my inherited code that has 'then put' ... that I want to put over two lines and then, if necessary add an end if later on. Is there a way to

Re: mouseenter/mouseleave and pointer tool

2021-03-30 Thread Sean Cole (Pi) via use-livecode
Scott/Jim, I often find I MUST click the browse and pointer tool twice before it is established. I know that is a bug (that I live with without complaint even - surprising for me, I know!) but I wonder if this, as Scott suggests, is what is actually going on here. Although in my experiences the

Re: TreeView Widget Drag and Drop Support

2021-03-30 Thread Sean Cole (Pi) via use-livecode
Hi Henry, I often take the widgets, like TreeView, and add in other message responders like this. It's real easy to do? Just make a copy of the widget folder from the LC Tools Folder (Livecode.app/Contents/Tools/Extensions/com.livecode.widget.treeview) and into your own Livecode extensions

Re: Set and get dgData and dgText delay

2021-03-30 Thread Sean Cole (Pi) via use-livecode
Hi all, After much fiddling with the code and looking into the depths of LC core code I've found what happens, and it's all to do with message flow. This way works as expected: 1. I create an array from Data 2. Apply data to DataGrid using set dgData 3. Read from data in the same handler or sub

Re: Does anybody know if the Livecode Global happened yesterday?

2021-03-26 Thread Sean Cole (Pi) via use-livecode
Heather has not been replying to my messages and I received no notification about the events. Thats another bunch of money wasted with LC. They are amazing! Sean Cole *Pi Digital Productions Ltd* www.pidigital.co.uk +44(1634)402193 +44(7702)116447 'Don't try to think outside the box. Just

Re: [bug] strange memory leak in LC

2021-03-26 Thread Sean Cole (Pi) via use-livecode
Wow, Andre, that's impressive. That amounts to about 34MB per minute over 48hrs. I've had a pretty massive stack (226MB file at the moment) on my Mac sitting here over the last week. Looking in the activity monitor, LC has 987MB associated with it. and watching it over a period of time it remains

Re: Set and get dgData and dgText delay

2021-03-25 Thread Sean Cole (Pi) via use-livecode
Thanks Bob, but the columns are defined, both in my test stack and the project stack. It gets filled once the scripts have finished running, so it can't be that which is the issue in this instance. But thanks once again for your input. Sean On Thu, 25 Mar 2021 at 17:55, Bob Sneidar via

Re: Problem with Script Editor in LC 9.6.2 (rc3)

2021-03-25 Thread Sean Cole (Pi) via use-livecode
RichardG, That was a very long way of not answering the question. Very insightful regarding the DG though. :) It also went a long way of assuming the skill levels of the audience. Some of us are not limited to xTalk level. I understand C++ and why Trevor likely coded the DG using such. My

Re: Problem with Script Editor in LC 9.6.2 (rc3)

2021-03-25 Thread Sean Cole (Pi) via use-livecode
I have definitely experienced this in Windows, not Mac. But I had assumed it was an anomaly from running it in Parallels. I’ve had it for a number of versions back now. It only happens occasionally and, as you say, only for large scripts where it has the most impact. I tend to walk away, make a

Re: Problem with Script Editor in LC 9.6.2 (rc3)

2021-03-25 Thread Sean Cole (Pi) via use-livecode
Quick question. Why would the line number field be complicated? I can’t imagine anything that would necessitate making it complicated. Numbers and break points. That’s all it handles, right? On Wed, 24 Mar 2021 at 21:45, Richard Gaskin via use-livecode < use-livecode@lists.runrev.com> wrote: >

Re: Set and get dgData and dgText delay

2021-03-25 Thread Sean Cole (Pi) via use-livecode
I’ve tried using wait, wait with messages, wait until. No joy. But in a separate test stack with the same data it works just fine having them one after the other. There is no sense to it NOT passing the text one line to the next. I thought it might be because it was located in a preOpenCard

Re: Set and get dgData and dgText delay

2021-03-25 Thread Sean Cole (Pi) via use-livecode
Thanks Craig This could make some sense. There are a lot of handlers to deal with. I thought I was going a bit mad. I’m just going to have to pick my way through. On Thu, 25 Mar 2021 at 12:44, Craig Newman via use-livecode < use-livecode@lists.runrev.com> wrote: > I have seen this here and

Re: numberformat question

2021-03-22 Thread Sean Cole (Pi) via use-livecode
eally solve my > problem. > >>> The most surprising thing is that javascript runs these calculations > without > >>> problem : > >>> (-0.007347880794884118999 / 10) returns > -7.347880794884119e-16 > >>> (-0.00734788079488411

Re: numberformat question

2021-03-21 Thread Sean Cole (Pi) via use-livecode
Livecode can handle floating point numbers up to 2^52. But then calculations would have to fit within that range in a floating point perspective too. So, once you add that ninth zero to the end of your divider, it struggles with the calculation and returns, effectively, number out of range.

Re: [ANN] New Book: Development Oriented Development

2021-03-16 Thread Sean Cole (Pi) via use-livecode
Hi Andre I had to get this one. The title alone intrigued me. But looking at the contents I know I need it to grow further. I'm looking forward to getting your insights. I'll start tonight. All the very best Sean Pi > On Tue, 16 Mar 2021 at 14:11, Andre Garzia via use-livecode < >

Re: LC Bug: Copying an Image fails

2021-03-16 Thread Sean Cole (Pi) via use-livecode
Curry, even asking it to only return char 1 of rawclipboarddata["CF_BITMAP"] crashes it so any attempt to read that data triggers an exception. Remarkable. :D Sean On Tue, 16 Mar 2021 at 18:16, Curry Kenworthy via use-livecode < use-livecode@lists.runrev.com> wrote: > > Sean: > > > put the

Re: LC Bug: Copying an Image fails

2021-03-16 Thread Sean Cole (Pi) via use-livecode
Curry, The issue here is that MS Word controls how that clipboard data is transferred. As an example Open the taskmanager In Word, copy an image into the clipboard In LC message box type lock the clipboard; put the keys of the rawclipboarddata Returns something like: Art::GVML

Re: Setting Creation Date of file to a past date?

2021-03-15 Thread Sean Cole (Pi) via use-livecode
I used quotes wrong, use this: >From LC, use: put "powershell -command ^(Get-Item 'C:\Folder\File.txt').CreationTime=('31 December 2019 23:59:59')^" into tShell replace "^" with quote in tShell get shell(tShell) Sean On Tue, 16 Mar 2021 at 03:57, Sean Cole (Pi) wrote: > Touch tells it to

Re: Setting Creation Date of file to a past date?

2021-03-15 Thread Sean Cole (Pi) via use-livecode
Touch tells it to update to now unless the date set is in the past and you use the -d modifier. If you install the Command Line Tools package from Apple on a mac you can use the much better SetFile -d '12/31/1999 23:59:59' file.txt On windoze, using powershell, send the command: (Get-Item

Re: [ANN] Release 9.6.2 RC-3

2021-03-15 Thread Sean Cole (Pi) via use-livecode
I just downloaded and tested on my MBP16(2019), single screen, MacOS 11.2.2, and also in parallels Win10(v1909) and had no issues. BTW, visual effects work a dream and even macOS CoreImage effects work great. Super. Hope to see more (HTML5, hint, hint) soon. Sean On Mon, 15 Mar 2021 at 18:28,

Re: ‘Super Sub’ multidimensional arrays [GD trolls]

2021-03-11 Thread Sean Cole (Pi) via use-livecode
On Thu, 11 Mar 2021 at 23:31, Mark Wieder via use-livecode < use-livecode@lists.runrev.com> wrote: > Sean- > > What happens when a folder or a file gets renamed? > The main purpose of me having an FileSystem Array *like this* was for DLT or BluRay _archives_ of projects, so no file alterations

Re: ‘Super Sub’ multidimensional arrays

2021-03-11 Thread Sean Cole (Pi) via use-livecode
Mark, Give an example of what would be better, not just hit and run with a 'That's crap!' comment. Way to make me feel good for all the hard work put in. THANKS BUDDY! Do better! ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit

Re: ‘Super Sub’ multidimensional arrays

2021-03-11 Thread Sean Cole (Pi) via use-livecode
Sorry, I just wanted to add... The keys of tTableA["c:/"] would be: .FileC .FileC,Date .FileC,Kind .FileC,Size Folder1 Folder1,Date Folder1,Kind Folder1,Size ... Folder4 Folder4,Date Folder4,Kind Folder4,Size An alternative for "Kind" could be

Re: ‘Super Sub’ multidimensional arrays

2021-03-11 Thread Sean Cole (Pi) via use-livecode
On to Array use for File System Indexing: Take a simple FS structure: c:/ .FileC Folder1 File1.txt Folder2 Size (aka Folder2_1) File2.txt File2_1.png Folder3 Folder4 Archive.zip File4.doc Say we want to store in our

Re: ‘Super Sub’ multidimensional arrays

2021-03-11 Thread Sean Cole (Pi) via use-livecode
Richard and Bob Correct! In everything you say. [x,y,z] is, in LC space, a single dimensional space and especially about use case. But then you are limiting yourself to single dimensional thinking. Here is my next point that I was coming to, so well done for preempting me. Going back a bit, in a

‘Super Sub’ multidimensional arrays

2021-03-11 Thread Sean Cole (Pi) via use-livecode
Tom hopefully I’ve set this email not to hijack Harry’s thread. First thing to note is that LC ONLY structures arrays as tVar[0][0][0]... But equally we can use, for example, tVar[x][y][z] or tVar[x,y,z] or even tVar[x,y,z][u,v,w][r,s,t] However, know that, if x=1, y=“two”, z=true then

Re: Array Split vs Combine

2021-03-10 Thread Sean Cole (Pi) via use-livecode
uitable. It would result in more memory being allocated than necessary but > much less frequent allocations so it depends on what’s most costly as > memory gets cheaper. > > Cheers > > Monte > > > On 11 Mar 2021, at 11:34 am, Sean Cole (Pi) via use-livecode < &g

Re: Multidimensional array issue

2021-03-10 Thread Sean Cole (Pi) via use-livecode
In the message box: > put "data" into tArray["key1"]["key2"]; answer the value of tArray["key1”] > - returns EMPTY (so this works) Correct put "data" into tArray["key1"]["key2"]; answer tArray["key1”] is empty - > returns FALSE (it should return true IMHO) Because it is not empty. It has a

Re: Array Split vs Combine

2021-03-10 Thread Sean Cole (Pi) via use-livecode
2021 at 17:08, Bob Sneidar via use-livecode < use-livecode@lists.runrev.com> wrote: > Now THAT is fascinating, considering the Windows performance issues with > file access reported in the past. Could it be that combine is somehow > caching data to virtual memory? > > Bob S &

Re: Array Split vs Combine

2021-03-09 Thread Sean Cole (Pi) via use-livecode
Information Services > rdim...@evergreeninfo.net > > -Original Message- > From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On > Behalf > Of Sean Cole (Pi) via use-livecode > Sent: Tuesday, March 09, 2021 11:56 AM > To: How to use LiveCode > Cc: S

Re: Array Split vs Combine

2021-03-09 Thread Sean Cole (Pi) via use-livecode
Extraordinary. Thanks Alex. This is helpful. This is on windows and a windows server. I will try on a Mac and Linux and see if it has the same issue. Sean On Tue, 9 Mar 2021 at 17:25, Alex Tweedly via use-livecode < use-livecode@lists.runrev.com> wrote: > > On 09/03/2021 16:56, S

Array Split vs Combine

2021-03-09 Thread Sean Cole (Pi) via use-livecode
Hi all, I have a tsv I split out as an array, process, then combine back to a tsv. The tsv is 53MB (55,635,198 bytes) and has 228320 lines with 21 columns (55406878 chars). To load the tsv file : 434ms To split the tsv to array : 506ms To combine the array to a tsv : 2m 58s 214ms Why does it

Re: Multidimensional array issue

2021-03-09 Thread Sean Cole (Pi) via use-livecode
You might also want to make use of the 'strictly' keyword in case there are any nested arrays in your base array. Your use case may not venture that far but it is maybe worth just applying it anyway. *put* (atest is strictly an array) Sean On Tue, 9 Mar 2021 at 16:09, Sean Cole (Pi) wrote: >

Re: Multidimensional array issue

2021-03-09 Thread Sean Cole (Pi) via use-livecode
*put* empty into atest["test1"]; *put* 1 into atest["test2"]; *put* 3 into atest["test3"]["test3.1"]; *put* (atest is an array) , (atest["test1"] is an array) , (atest["test2"] is an array) , (atest["test3"] is an array) true,false,false,true Seems fine to me. Sean

Re: Free APIs

2021-03-06 Thread Sean Cole (Pi) via use-livecode
Nice! Sean ___ 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: tsNet mail message not formatting

2021-03-03 Thread Sean Cole (Pi) via use-livecode
You have to do this: replace cr with crlf in tBody Personal Btw: I find that using ‘return’ results in ugly code as a personal preference, so I avoid that and use cr. it’s just that the script renderer shows ‘return’ in yellow for it’s command equivalent because they still haven’t coded the

Re: LC Bugmageddon or Bugportunity?

2021-02-23 Thread Sean Cole (Pi) via use-livecode
Good luck, Curry. That’s all I’m gonna say this time :P On Tue, 23 Feb 2021 at 16:58, Curry Kenworthy via use-livecode < use-livecode@lists.runrev.com> wrote: > > Me, recently: > > > I don't have any big headaches, thank God! > > That's true; it's rare that I get stuck. I'm

Re: How do I interpret this Build Error dialog?

2021-02-15 Thread Sean Cole (Pi) via use-livecode
Hi, The error panels show the events in reverse order, so last occurrence first. The first number in each line is the error code and the second is the line number in the script that failed. Here's a list of the error codes: https://livecode.fandom.com/wiki/Error_codes Going back from line 5 of

Re: [OT] Poll: What does it mean for 1 rect to be 'within' a certain distance of another rect?

2021-02-15 Thread Sean Cole (Pi) via use-livecode
Hi, No point reinventing the wheel.. Lots of other way. Distance between two near or far edges. distance between corners, distance to centers, or area median, area of space between, overal usage area minus the area used by the two rectangles. Math is fun. Keeps us in business. Google (distance

Re: LC Roadmap

2021-02-13 Thread Sean Cole (Pi) via use-livecode
at 13:25, David V Glasgow via use-livecode < use-livecode@lists.runrev.com> wrote: > > > > On 13 Feb 2021, at 12:37 pm, Sean Cole (Pi) via use-livecode < > use-livecode@lists.runrev.com> wrote: > > > > I was told last year that HTML5 deployment would see upgra

Re: LC Roadmap

2021-02-13 Thread Sean Cole (Pi) via use-livecode
I was told last year that HTML5 deployment would see upgrades maybe by Jan2021 LC 9.7. However LC9.6.2 is still awaiting an RC3. So it’s just not going to happen. My client and I are severely disappointed to see that the conference set up for 2022 may be the FIRST LOOK we might see for the HTML5

Re: No visual effects on Big Sur?

2021-02-08 Thread Sean Cole (Pi) via use-livecode
This only affects MacOS. Windows and Linux are ok. I've updated the info on the bug report and included a stack to give Panos an easy time. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and

Re: No visual effects on Big Sur?

2021-02-08 Thread Sean Cole (Pi) via use-livecode
Ah yes. I was using RC1, not RC2! So I retested in RC2 and none of the vfx work at all. So it's not an OS problem. It's something new in RC2 ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and

Re: No visual effects on Big Sur?

2021-02-06 Thread Sean Cole (Pi) via use-livecode
Hi all, I just tested here in BigSur 11.2 and they work fine in both the IDE and standalone. The only ones that do not work are the core image transitions (with the exception of dissolve which, although having the same name, does not appear to use the CI version of the effect). I made a simple

Re: lock screen

2021-01-23 Thread Sean Cole (Pi) via use-livecode
Hi Tom, Make a sample stack (sounds like you already have) and make a bug report labelled 'Memory leak on looping field update'. I don't think this has anything to do with the lock screen. Sean On Sat, 23 Jan 2021 at 05:11, Tom Glod via use-livecode < use-livecode@lists.runrev.com> wrote: >

Re: [ANN] Release 9.6.2 RC-2

2021-01-12 Thread Sean Cole (Pi) via use-livecode
The transition to AS Mac OS will be pretty seamless. XCode flags up most of the code base that needs modding. Where it might fall over for us is if we use old widgets that won't get updated for any potential MacOS code deprecations. But LC, I'm sure, will keep up-to-date (ish) as we see already.

Ali or Monte - MimeEncodeAsMIMEMultipartDocument

2020-12-28 Thread Sean Cole (Pi) via use-livecode
Hi all, The dictionary, as usual, is a bit lacking in regards to the Mime Library. For MimeEncodeAsMIMEMultipartDocument we have parameters but no idea what the values (enum) for them could or should be. pContentA: How do we pre-encode parts including headers? pMultipartType: What MultiPart

  1   2   3   >