Re: video formats for Windows in LC 9.6.5?

2022-01-21 Thread Paul Dupuis via use-livecode
On 1/21/2022 12:47 PM, Curry Kenworthy via use-livecode wrote: (I've heard that a future LC version will add better support.) LC 10 is supposed to move from DirectShow to Windows Media Framework, but I have no idea what d.p. version will make that change (or if it will really occur).

Re: Sorting cards

2022-01-01 Thread Paul Dupuis via use-livecode
On 1/1/2022 5:40 PM, doc hawk via use-livecode wrote: paul pondered, I'm not sure about this, but do all the cards have the SAME background with the SAME fields (I think they were Category and Title?). If you have mixed backgrounds - I think there may be sort problems sorting on background

Re: Sorting cards

2022-01-01 Thread Paul Dupuis via use-livecode
I'm not sure about this, but do all the cards have the SAME background with the SAME fields (I think they were Category and Title?). If you have mixed backgrounds - I think there may be sort problems sorting on background fields. Again, this is from memory and I could be wrong. On 1/1/2022

Re: Windows VM's and LiveCode app's cursors

2021-12-19 Thread Paul Dupuis via use-livecode
or so. I only noticed such "double" cursor (not only with LC created apps) when using RemoteControl tools and when i had selected that the remote cursor should also be shown. Matthias Am 19.12.2021 um 19:05 schrieb Paul Dupuis via use-livecode : We have a customer who runs our Live

Windows VM's and LiveCode app's cursors

2021-12-19 Thread Paul Dupuis via use-livecode
We have a customer who runs our LiveCode built Windows app under a VirtualBox VM running Windows 10, under Manjaro Linux. The app displays a "double cursor" (i.e if the cursor is the pointer, there are 2 images of the pointer slightly offset from one another that track the mouse). I build a

Re: How to extract whole text from a PDF file with the PDF

2021-12-14 Thread Paul Dupuis via use-livecode
On 12/14/2021 10:33 AM, Paul McClernan via use-livecode wrote: I was fairly certain that XPDF external was/is based on this XPDF: https://en.m.wikipedia.org/wiki/Xpdf Which has both GPL and Proprietary Licensing options available. Nope. My company (Researchware) and I paid for the development

Re: How to extract whole text from a PDF file with the PDF widget?

2021-12-12 Thread Paul Dupuis via use-livecode
to audit their use and see if there’s any extra features required. If so please create feature requests for them. While XPDF will continue to function we intend to stop including it in LiveCode. Cheers Monte On 12 Dec 2021, at 12:27 am, Paul Dupuis via use-livecode wrote: I suspect

Re: How to extract whole text from a PDF file with the PDF

2021-12-12 Thread Paul Dupuis via use-livecode
On 12/12/2021 8:59 AM, Stam Kapetanakis via use-livecode wrote: Hi Torsten, i presume the pdf widget in pro is the opensource xpdfReader but don’t know for sure. It is not xpdfreader. The XPDF Erternal AND the PDF Wdiget with Licecode are based on the Google PDFium Library. The first is C++

Re: How to extract whole text from a PDF file with the PDF widget?

2021-12-11 Thread Paul Dupuis via use-livecode
to have only one pdf solution included? Or am i missing something? Regards, Matthias Am 11.12.2021 um 02:01 schrieb Paul Dupuis via use-livecode : Yes, I am familiar with the XPDF external (based on Google's PDFium library), having designed it and paid Monte to code it and then turned it over

Re: How to extract whole text from a PDF file with the PDF widget?

2021-12-10 Thread Paul Dupuis via use-livecode
be used. Am 10.12.2021 um 23:22 schrieb Paul Dupuis via use-livecode : There must be an undocumented property for the text of a page - there was a function to return the full text of a page in the External (XPDF) and to get the full text of the PDF file, you just stepped through the pages (1..N

Re: How to extract whole text from a PDF file with the PDF widget?

2021-12-10 Thread Paul Dupuis via use-livecode
There must be an undocumented property for the text of a page - there was a function to return the full text of a page in the External (XPDF) and to get the full text of the PDF file, you just stepped through the pages (1..N) getting and concatenating the page text. Monte? LC 10.0.0

Re: How to in LC for Desktop and the Web?

2021-12-09 Thread Paul Dupuis via use-livecode
er URL in a browser If no one knows the answers, I can always run a set of tests to determine the values. On 11/24/2021 7:15 PM, Paul Dupuis via use-livecode wrote: I have an LC application that currently runs on Window and macOS, that I want to try to get running under LC 10 for the web.

How to in LC for Desktop and the Web?

2021-11-24 Thread Paul Dupuis via use-livecode
I have an LC application that currently runs on Window and macOS, that I want to try to get running under LC 10 for the web. One characteristic of the app is that it opens a number of external stacks. On desktop platforms, these external stacks (outside the .EXE (windows) or .app package

AW: HTML5 Deployment

2021-11-09 Thread Paul Dupuis via use-livecode
ct "Deploying Your Application" and then "HTML5 Deployment settings". There you should find a bunch of information. Hope this helps. Matthias Am 10.11.2021 um 00:41 schrieb Paul Dupuis via use-livecode : I am trying to deploy and HTML app. Standalone building was

HTML5 Deployment

2021-11-09 Thread Paul Dupuis via use-livecode
I am trying to deploy and HTML app. Standalone building was straightforward and I now have a folder of stuff. MyApp.html standalone.zip standalone-commercial-9.6.3.html.mem standalone-commercial-9.6.3.js The HTML5 panel in the Standalone Builder says to see the "HTML5 Deployment Guide in the

Re: Script Editor Disassociation Bug - Seen it lately?

2021-11-04 Thread Paul Dupuis via use-livecode
On 11/4/2021 7:18 AM, Curry Kenworthy via use-livecode wrote: I'm checking up on the Script Editor Disassociation Bug, described in this thread: But first: Has anyone seen this bug lately? (On LC 9.6.3 or

Re: Lemniscate Polygon

2021-11-02 Thread Paul Dupuis via use-livecode
For the infinity symbol polygon, wouldn't a possible way to do this is by modeling a tear drop (see http://paulbourke.net/geometry/teardrop/ which does not require imaginary numbers) and duplicating the points with opposite signs for the other half? On 11/2/2021 6:27 PM, Roger Guay via

[OT] Multiple macOS recommendation sought

2021-10-26 Thread Paul Dupuis via use-livecode
A problem I have struggled with for decades is software testing on the various versions of operating systems our software deploys on. For testing on Windows, we use Virtualbox with Virtual Machines (VMs) for Windows 7, Windows 8.1, and Windows 10 (we have yet to try to build a Windows 11 VM)

Re: Number of items

2021-10-25 Thread Paul Dupuis via use-livecode
On 10/25/2021 5:03 PM, J. Landman Gay via use-livecode wrote: Found it: Thank you! It continues to make more sense to ignore trailing delimiters however initially non-intuitive it may seem.

AW: Number of items

2021-10-25 Thread Paul Dupuis via use-livecode
r is ignored by theitemkeyword. For example the last item of the string "1,2,3," is "3" (assuming comma is the itemDelimiter) Sorry, I should have just read the Dictionary! Paul Dupuis Researchware ___ use-livecode mailing list u

Re: Number of items

2021-10-25 Thread Paul Dupuis via use-livecode
fferently to the way it is for CSVs and DB records. Sean On 25 Oct 2021, at 15:56, Paul Dupuis via use-livecode wrote: On 10/25/2021 10:46 AM, Mike Kerner via use-livecode wrote: I'm glad we have these sorts of discussions out in the open. I hope there is not an appeal coming based on the lists that are

Re: Number of items

2021-10-25 Thread Paul Dupuis via use-livecode
On 10/25/2021 10:46 AM, Mike Kerner via use-livecode wrote: I'm glad we have these sorts of discussions out in the open. I hope there is not an appeal coming based on the lists that are submitted. And even though this horse is dead, maybe some day we can have equal rights for all items,

Re: Hot Folders solution for Windows with LC

2021-10-07 Thread Paul Dupuis via use-livecode
the original file into a subfolder, so that the hot folder only contains new unprocessed files. I was more looking to rule out any known problems that might occur when doing this. Matthias Am 07.10.2021 um 22:32 schrieb Paul Dupuis via use-livecode : The only way I know to to that in LiveCode

Re: Hot Folders solution for Windows with LC

2021-10-07 Thread Paul Dupuis via use-livecode
The only way I know to to that in LiveCode is by polling the folder at some interval. You get the detailed files (for the last modification date) filter to PDFs output them to pdf/1-1b's Save this initial detail list of PDF files (in a variable or property or field) Then send a message to

Re: Can't reach license server...

2021-08-31 Thread Paul Dupuis via use-livecode
Apparently only temporary as now the license server is back and responding. On 8/31/2021 10:57 AM, Paul Dupuis via use-livecode wrote: When trying to launch LiveCode, I keep getting errors contacting the license server and I see that Livecode.com is currently down for maintenance, so

Can't reach license server...

2021-08-31 Thread Paul Dupuis via use-livecode
When trying to launch LiveCode, I keep getting errors contacting the license server and I see that Livecode.com is currently down for maintenance, so hopefully, this is a very temporary issue. However, is anyone else having problems running LC due to not getting a license validated?

AW: setting the dragImage under LC 9.6.3

2021-08-26 Thread Paul Dupuis via use-livecode
Panos, Thank you. I should have searched the quality center, but knowing that it is a bug has just saved me from hours of debugging. So thanks for replying to my post. On 8/26/2021 10:29 AM, panagiotis m via use-livecode wrote: Hello all, Yes, unfortunately the dragImage is broken on

setting the dragImage under LC 9.6.3

2021-08-25 Thread Paul Dupuis via use-livecode
I have a situation I just noticed running under LC 9.6.3. I have a field where you can drag lines to drop on other specific lines. on dragStart, take a snapshot of the line just clicked and make set and existing image object to the image data of the snapshot. i.e.   put pText into fld

Re: AW: List fields question...

2021-08-11 Thread Paul Dupuis via use-livecode
Thanks for the info! On 8/10/2021 10:01 PM, Richard Gaskin via use-livecode wrote: Paul Dupuis wrote: >  Using the message watcher is practically useless unless I took the >  time to filter out all the existing messages I am not looking for. How about in addition to filtering by messag

Re: List fields question...

2021-08-10 Thread Paul Dupuis via use-livecode
On 8/10/2021 4:58 PM, Craig Newman via use-livecode wrote: I had made a suggestion (Forum, “Message Watcher Enhancement”) that the message watcher have the ability to not only ignore certain messages, but to allow only certain messages. I am amazed this got no traction from anyone. It would

AW: List fields question...

2021-08-10 Thread Paul Dupuis via use-livecode
for. Thank you! On 8/10/2021 3:12 PM, J. Landman Gay via use-livecode wrote: You can use the Message Watcher to see. For your needs, you'll get mouseDown and mouseRelease, as well as mouseStillDown, mouseEnter, mouseLeave, and some others you probably don't care about. On 8/10/21 1:44 PM, Paul

List fields question...

2021-08-10 Thread Paul Dupuis via use-livecode
I have a list field with a number of lines that do not fill the whole height of the field, so a user can click in the empty part of the field below the last line with content When someone does click in the empty area of the field below the last line, I am not seeing messages I would expect

Re: Also looking for MSSQL integration person

2021-07-26 Thread Paul Dupuis via use-livecode
I can't help you figure it out, but text coming through as questions marks is almost always and text encoding issue. For example, if the text is stored in the mySQL database as UTF8, then after fetching it in LiveCode nd before placing it in a field, you need to textDecode(,"UTF8") (see the

Re: Double checking maximum vertical scroll

2021-07-20 Thread Paul Dupuis via use-livecode
I should have said: Desktop - macOS and Windows On 7/20/2021 12:19 PM, Andrew at MidWest Coast Media via use-livecode wrote: What device and fullscreenmode are you using while running into this? Possibly related to: https://quality.livecode.com/show_bug.cgi?id=21456

Re: Drag and drop within a list field

2021-07-19 Thread Paul Dupuis via use-livecode
Devin, Thank you for the link below. I find it interesting that Scott did not use any of the "drag" messages for dragging a line within a field. He did use the rarely used "before mouseDown", "before mouseMove" and so one to capture various mouse messages related to drag actions and coded

Double checking maximum vertical scroll

2021-07-19 Thread Paul Dupuis via use-livecode
In a list field, if you are scrolling a field by script control, the max vertical scroll to display the last line would be: put (the height of me - the topMargin of me - the bottomMargin of me) into tAdjustedHeight -- tope and bottom margins if the showBorder of me is true then put

Drag and drop within a list field

2021-07-16 Thread Paul Dupuis via use-livecode
I have a scrolling list field that has contents like: name1 name2 nameA name3 name4 name5 nameB name6 name7 nameC name8 etc. the field has a custom property with the contents and a "type" for each name, so the data in the custom property look like: codename1 codename2 foldernameA codename3

scripted find and find again...

2021-06-26 Thread Paul Dupuis via use-livecode
I suspect may of us on this list have coded their own Find and Find Again (or Find Next) commands. Some may use the Livecode "find" command (find [form] textToFind [in field]), but I suspect most (as even the Dictionary entry for Find recommends this) use offset or matchText.. Either

Re: [OT] PHP Developer wanted for small job

2021-06-22 Thread Paul Dupuis via use-livecode
Um, NEVER MIND. I just did a quick Google search and found this https://www.w3schools.com/php/php_mysql_insert.asp Easy enough for me to tackle. Sorry. On 6/22/2021 3:32 PM, Paul Dupuis via use-livecode wrote: I am looking for a PHP developer familiar with current releases of PHP (7.4

[OT] PHP Developer wanted for small job

2021-06-22 Thread Paul Dupuis via use-livecode
I am looking for a PHP developer familiar with current releases of PHP (7.4 specifically) I have two PHP scripts, one @ 150 lines (including comments) and one @ 192 lines (including comments), written for PHP 5.6 and earlier. Both basically get some posted parameters. One inserts the posted

AW: Open a folder on the desktop from a LiveCode app

2021-06-19 Thread Paul Dupuis via use-livecode
Thank you Marty and Mathias I figured there was a simple way, but must have missed anything about folders under the Launch command in the dictionary. All set! On 6/19/2021 2:48 PM, Paul Dupuis via use-livecode wrote: What is the "best" way (or any way) to open a folder on t

Open a folder on the desktop from a LiveCode app

2021-06-19 Thread Paul Dupuis via use-livecode
What is the "best" way (or any way) to open a folder on the Windows desktop from a Livecode script. For example: on openFolder pPath -- where pPath is the path and name to a document (file)   set itemDel to slash   delete last item of pPath -- leaves the the path to the folder containing the

Double cursor appearing

2021-06-17 Thread Paul Dupuis via use-livecode
Hello hivemind, I have a customer running our Windows app in a virtual machine under Linux and they are seeing a "double cursor". See screen shot here: http://www.researchware.com/livecode/uselist/doublecursor.jpeg Has anyone else seen anything like this and have any idea what it may be?

Re: AW: codesigning FAILS with Umlaute

2021-06-17 Thread Paul Dupuis via use-livecode
My guess (and it is just a guess) is that this failure has noting to do with Apple's codesigning. If, since 9.6.1, LiveCode does an ad-hoc code signing, I suspect it is doing that via a call to the "shell" command to issue the same codesign command you would do through Terminal under macOS.

Re: building standalone FAILS with German Umlaute in app name

2021-06-16 Thread Paul Dupuis via use-livecode
So this is clearly a bug in the standalone builder. Has anyone files a bug report yet? On 6/16/2021 2:19 AM, Richmond via use-livecode wrote: Oddly enough, trying to make standalones from a stack called "करिय" worked perfectly well. Richmond. On 16.06.21 8:18, Richmond wrote: Richmond

Re: Replacetext of any characters between parentheses with a space

2021-06-10 Thread Paul Dupuis via use-livecode
On 6/9/2021 1:10 PM, Paul Dupuis via use-livecode wrote: on mouseup   put field "import" into timport   put replacetext(timport,"(.*)"," ") into field "import" end mouseup I think parenthesis are are reserved character in regex, so them may need to be

Re: Replacetext of any characters between parentheses with a space

2021-06-09 Thread Paul Dupuis via use-livecode
On 6/9/2021 1:03 PM, David V Glasgow via use-livecode wrote: on mouseup put field "import" into timport replacetext (timport, "(.*)", " ") put timport into field "import" end mouseup replaceText is a function, not a command, so on mouseup put field "import" into timport put

Finding out what changes a custom property

2021-06-06 Thread Paul Dupuis via use-livecode
I have a stack with a custom property, hrStart. Somewhere is miles of code and messages flying everywhere, something is changing it that shouldn't. Is there an debugger feature or tip or trick anyone has that can do teh equivalent of set a break point when a property is changed and let me

Re: number = layer?

2021-06-05 Thread Paul Dupuis via use-livecode
e-livecode wrote: Hi Paul. Your field numbers will not be the same as layer numbers if anything else is in a layer between or before them. The better indicator would be If word 7 of X = the number of fld “Address” then That will do what you are thinking I believe. Sean On 5 Jun 2021, at 19:12, P

number = layer?

2021-06-05 Thread Paul Dupuis via use-livecode
Here is a basic question I am not sure of (after decades of LC coding) and can't pin down in teh Dictionary If you execute "put the selectedChunk into X" then (assume a valid selection) X contains an expression of the form "char to of field " If I want to check that the selection is in

LC 9.6.2 release change...

2021-06-02 Thread Paul Dupuis via use-livecode
In every rc candidate of 9.6.2 up until the STABLE release version, if I have a command handler in the stack script of my mainstack (called say "prepForBuild") I could open the message box and just type in "prepForBuild" and press return to execute it. No in LC9.6.2 STABLE, if I just type in

Re: Spurious characters from html files - text encoding issues?

2021-05-31 Thread Paul Dupuis via use-livecode
with a built-in 'guessEncoding' function. On 5/31/2021 8:39 AM, Ben Rubinstein via use-livecode wrote: Also relevant enhancement requests: https://quality.livecode.com/show_bug.cgi?id=13581 https://quality.livecode.com/show_bug.cgi?id=12205 On 21/05/2021 15:57, Paul Dupuis via use-livecode wrote

Re: 3-way slider control

2021-05-26 Thread Paul Dupuis via use-livecode
Thank you. On 5/26/2021 3:41 PM, Jim Lambert via use-livecode wrote: go url "http://netrin.on-rev.com/misc/three_state_toggle.livecode; This stack contains a group which is a three-state toggle switch. The myState of the group contains its current state which is either "ON","OFF" or "MID"

Re: 3-way slider control

2021-05-26 Thread Paul Dupuis via use-livecode
:-) On 5/26/2021 3:36 PM, Alex Tweedly via use-livecode wrote: I'd prefer it like ... On 26/05/2021 18:28, Paul Dupuis via use-livecode wrote: What, like this: on scrollbarDrag pNewPosition   local tToolTip = "CiC only,both CiC and Source,Source only"   set the thumbPosi

Re: 3-way slider control

2021-05-26 Thread Paul Dupuis via use-livecode
On 5/26/2021 12:16 PM, Curry Kenworthy via use-livecode wrote: Paul: > I created a slider with a label on the left and right in a group. > The slider is set to min 0, max 2, inc 1 and it's script is: > on scrollbarDrag pNewPosition > [...] I like this UI approach! Your script could be

Re: 3-way slider control

2021-05-26 Thread Paul Dupuis via use-livecode
On 5/25/2021 9:08 PM, J. Landman Gay via use-livecode wrote: Regardless, I have decided to use a standard LC slider set to -1,0,+1 with some labels grouped to it. It works like a charm and minimizes the number of graphics/objects and code. I was interested to see that; it's clever, and it does

Re: 3-way slider control

2021-05-25 Thread Paul Dupuis via use-livecode
d graphics. Give us an example image to help clarify what you want. Thanks, Rick On May 25, 2021, at 11:38 AM, Paul Dupuis via use-livecode wrote: Rick and Jacqueline, Thank you for the horizontal slider suggestions. This could suffice for what I need. I was imagining more of the common &q

Re: macOS and the default font in fields

2021-05-25 Thread Paul Dupuis via use-livecode
On 5/25/2021 3:06 PM, J. Landman Gay via use-livecode wrote: On 5/24/21 4:19 PM, Paul Dupuis via use-livecode wrote: My objective is to store the defaults for a given OS and version on startup of my application, so that if the user uses existing controls to change fonts in various places, I

Re: 3-way slider control

2021-05-25 Thread Paul Dupuis via use-livecode
Rick and Jacqueline, Thank you for the horizontal slider suggestions. This could suffice for what I need. I was imagining more of the common "circle inside an oval" "switch" control you see on the web and in apps these days. However, beggars can't always be choosers and I the slider works

macOS and the default font in fields

2021-05-24 Thread Paul Dupuis via use-livecode
I am hoping some macOS guru out there can explain this in some way that makes sense. LiveCode 9.6.x supports Windows 7 to 10 and macOS 10.9.5 and up (10.16 aka 11.x aka Big Sur) I wanted to know what the default fonts are for each OS and version for Windows and macOS. Google returned a

3-way slider control

2021-05-24 Thread Paul Dupuis via use-livecode
Hi all, I am looking to see if anyone has a 3-positions slider control they might be willing to share. I need a control that has a "left, middle, and Right" positions (whatever they are called). Prefer horizontal orientation and resizable so I can adjust the size to the screen area where it

Re: Implementing UNDO

2021-05-21 Thread Paul Dupuis via use-livecode
As other have said, the basic mechanism is to have a UNDO LIFO (last in first out) queue or stack (no LC stack for a data structure stack). For each action you want 'undoable" you need a handler (do[action] ) to perform that action that also adds a record (a line) to the queue (a property,

Re: Spurious characters from html files - text encoding issues?

2021-05-21 Thread Paul Dupuis via use-livecode
BBEdit has a built in "guess encoding" function to try to determine the encoding of a text file. I have had this bug in to LC now for 6 years: https://quality.livecode.com/show_bug.cgi?id=14474 Even Frasier, who did much of the Unicode work for LC7 agreed there should be a guessEncoding

Re: Problems with text data fields pulling from SQL

2021-05-12 Thread Paul Dupuis via use-livecode
Possibly an encoding issue? If the text in the database was in Unicode or some non-ASCII encoding, then it may appear as one or more question marks in LC unless textEncode/textDecode (I forget which would apply) is used to translate it from the database encoding On 5/12/2021 9:38 AM, Skip

Re: Finding invisible/non printable characters in a string

2021-05-10 Thread Paul Dupuis via use-livecode
There are characters that consist of more than one codepoint - composite versions of characters for accents. See https://unicode-table.com/en/blocks/combining-diacritical-marks/ I think the best way is to scan the codepoints looking for codePointToNum values that are 0-31 (exclude tab and

Re: Problems with Multiple Monitors

2021-05-06 Thread Paul Dupuis via use-livecode
On 5/6/2021 4:41 AM, Fred Moyer via use-livecode wrote: On May 4, 2021, at 5:32 PM, Fred Moyer wrote: Anyone having problems with multiple monitors and LC? I’m running 9.6.1 - Mac. I have a feeling LC is confused because I like to connect and disconnect monitors from my MacBook Pro. (Even

Re: Problems with Multiple Monitors

2021-05-05 Thread Paul Dupuis via use-livecode
On 5/5/2021 12:15 PM, Mark Wieder via use-livecode wrote: On 5/5/21 8:53 AM, Paul Dupuis via use-livecode wrote: I'm afraid I can't help with this. A good while ago, I moved to my own centerWindow command that doesn't use screenLoc, but uses the stack's (window's the screen property 9for

Re: Problems with Multiple Monitors

2021-05-05 Thread Paul Dupuis via use-livecode
On 5/5/2021 12:15 PM, Mark Wieder via use-livecode wrote: On 5/5/21 8:53 AM, Paul Dupuis via use-livecode wrote: I'm afraid I can't help with this. A good while ago, I moved to my own centerWindow command that doesn't use screenLoc, but uses the stack's (window's the screen property 9for

Re: Problems with Multiple Monitors

2021-05-05 Thread Paul Dupuis via use-livecode
On 5/5/2021 11:42 AM, Richard Gaskin via use-livecode wrote: Thanks, Paul, and the others who chimed in. I'm familiar with the documented features for screen metrics, just trying to determine if the rect of the main screen no longer being the reference point for metrics is a change/bug I need

Re: Problems with Multiple Monitors

2021-05-05 Thread Paul Dupuis via use-livecode
On 5/4/2021 8:20 PM, Richard Gaskin via use-livecode wrote: Paul Dupuis wrote: With multiple monitor, zero vertical is the top of the top most monitor  - regardless of whether it is the primary monitor or not. If the screenRect is no longer based on the main monitor, what is the screenloc

Re: Problems with Multiple Monitors

2021-05-04 Thread Paul Dupuis via use-livecode
On 5/4/2021 5:32 PM, Fred Moyer via use-livecode wrote: Anyone having problems with multiple monitors and LC? I’m running 9.6.1 - Mac. I have a feeling LC is confused because I like to connect and disconnect monitors from my MacBook Pro. (Even the MacOS sometimes gets confused.) But now LC is

Re: Complete Crash or Engine Hang: which is better?

2021-04-29 Thread Paul Dupuis via use-livecode
It seems that if you are making an application in LiveCode where a user can copy from 3rd party apps and paste into your LiveCode app, you almost have to add a routine to scrub the clipboard data of any "problem" data - which sees to be any non printable characters - or problems occur. I

Re: Dynamic scripted nested array keys?

2021-04-24 Thread Paul Dupuis via use-livecode
On 4/24/2021 9:31 AM, Brian Milby via use-livecode wrote: I guess I should reply to myself and say why this works. At some point the feature was added that you could use an array as an index into an array. The format is a one based ordered array of keys. So tPath[1] is the first level key,

Re: Dynamic scripted nested array keys?

2021-04-24 Thread Paul Dupuis via use-livecode
I have only partially been following this thread, but if you need to find the array 'content' in an arbitrary nested array from a comma delimited path of array keys, recursion is the way to do it: function fetchArrayContentFromPath pArray,pPath   -- pArray is an array   -- pPath is a comma

Re: IOS required SDK

2021-04-23 Thread Paul Dupuis via use-livecode
on't have DVD drives any more. Does the mounted OS install image work? On 4/23/21 4:13 PM, Paul Dupuis via use-livecode wrote: On 4/23/2021 5:02 PM, J. Landman Gay via use-livecode wrote: Apple will require SDK 14 for new or updated iOS apps. Due to incompatible 32-bit software, I'm still on Moja

Re: IOS required SDK

2021-04-23 Thread Paul Dupuis via use-livecode
On 4/23/2021 5:02 PM, J. Landman Gay via use-livecode wrote: Apple will require SDK 14 for new or updated iOS apps. Due to incompatible 32-bit software, I'm still on Mojave. Does this mean I need to update to Big Sur or Catalina before I can build for iOS? I don't suppose there's any way to

Re: Positioning object in a loclocked group

2021-04-15 Thread Paul Dupuis via use-livecode
I find positioning objects by script inside a location locked groups to be very non-intuitive as well. I wish there was a mode by which all object in a group - in the special mode - could be set and referenced by coordinates relative to the group. Something like set the relative loc of btn

Re: On the dangers of automated refactoring

2021-04-13 Thread Paul Dupuis via use-livecode
On 4/13/2021 2:39 PM, Mark Wieder via use-livecode wrote: On 4/13/21 8:37 AM, Paul Dupuis via use-livecode wrote: I find revRefactor (which adds a Refactoring sub-menu under the Edit menu of the IDE Script Editor) to be a tool that I personally would like to see better integrated into the IDE

Re: On the dangers of automated refactoring

2021-04-13 Thread Paul Dupuis via use-livecode
On 4/13/2021 12:06 PM, Bob Sneidar via use-livecode wrote: How do you find that? Github? Don't remember how I found it - I think an announcement by Mark to the list, but, yup, Github: https://github.com/mwieder/revRefactor ___ use-livecode

Re: On the dangers of automated refactoring

2021-04-13 Thread Paul Dupuis via use-livecode
On 4/13/2021 11:52 AM, Bob Sneidar via use-livecode wrote: We should have a contest: Who has the biggest code base. Mine's pretty big, but I doubt it's the biggest.:-) ~ 83,000 lines of Livecode script, not counting 3rd party library stacks (Wordlib, Spreadlib, lclSpell, ChartMaker) and some

Re: On the dangers of automated refactoring

2021-04-13 Thread Paul Dupuis via use-livecode
I find revRefactor (which adds a Refactoring sub-menu under the Edit menu of the IDE Script Editor) to be a tool that I personally would like to see better integrated into the IDE. This plugin was done by Mark Wieder and is not an official part of the LiveCode IDE, but it is one place, I would

Re: [ANN] Release 9.6.2 RC-4

2021-04-07 Thread Paul Dupuis via use-livecode
On 4/7/2021 3:57 PM, Lagi Pittas via use-livecode wrote: Unresponsive to me is typing 10 characters and seeing them appear one by 1 after I have finished typing , or waiting for 3 4 or more seconds between each debugger step .. I'm not saying you're not seeing an unacceptable slow down on

Behaviors and scripts and a new handler structure...

2021-04-01 Thread Paul Dupuis via use-livecode
I have increasingly been using behaviors in my applications where it makes sense to assign a script to multiple objects or to override the actions of existing script handlers by assign a behavior with different version of those handlers. The one thing I dislike about behaviors is all the

Re: New(?) Idea for Standalones

2021-03-29 Thread Paul Dupuis via use-livecode
On 3/29/2021 3:36 PM, Alex Tweedly via use-livecode wrote: there is some way to allow unsigned apps to run on all current and foreseeable versions of the desktop OSes I think your assumption that you will be able - even via some horribly convoluted series of steps - to run unsigned and

Re: mouseenter/mouseleave and pointer tool

2021-03-29 Thread Paul Dupuis via use-livecode
This is not a bug, but a feature. Our app contains a specialized network drawing tool and we switch to the pointer tool to allow the user to interact with drawn objects (buttons and line graphics connecting the buttons). We use mouseEnter and mouseLeave to update information about the object

Re: New(?) Idea for Standalones

2021-03-29 Thread Paul Dupuis via use-livecode
On 3/29/2021 12:28 PM, Roger Guay via use-livecode wrote: In any case it is not as easy as it use to be and IMO, this door may be closing. You are 100% right. The door is closing and will eventually be closed unless enough consumers of Apple (and Windows) products complain with their buying

Re: New(?) Idea for Standalones

2021-03-29 Thread Paul Dupuis via use-livecode
On 3/29/2021 12:36 PM, Rick Harrison via use-livecode wrote: Many LC users want to be able to create their application, and deploy it quickly to their own computers, or to give away to their family members. They are not interested in inserting Apple or other corporations into their personal

Re: New(?) Idea for Standalones

2021-03-29 Thread Paul Dupuis via use-livecode
On 3/29/2021 12:15 PM, Mark Waddingham via use-livecode wrote: In terms of the general thrust behind this thread - I completely agree that standalone building has become tortuous over the last few years as all platforms add more and more hoops you have to jump through. However, this is

Re: mouseenter/mouseleave and pointer tool

2021-03-29 Thread Paul Dupuis via use-livecode
I think if you are making a drawing app in Livecode, you need mouseEnter and mouseLeave with the pointer tool so you can have object scrips change the cursor icon to appropriate icons when over certain special objects that you want to interact with as objects. On 3/29/2021 6:31 AM, Klaus

Re: mouseenter/mouseleave and pointer tool

2021-03-29 Thread Paul Dupuis via use-livecode
I think if you are making a drawing app in Livecode, you need mouseEnter and mouseLeave with the pointer tool so you can have object scrips change the cursor icon to appropriate icons when over certain special objects that you want to interact with as objects. On 3/29/2021 6:17 AM, Klaus

Re: numberformat question

2021-03-20 Thread Paul Dupuis via use-livecode
I don't have an answer, other than to say there has been a LOT of discussion over the years about the limits of number precision in LiveCode and a number of enhancement requests and 3rd party libraries that have attempted to provide a framework for high precision math. You might search the

Re: LC Bug: Copying an Image fails

2021-03-16 Thread Paul Dupuis via use-livecode
On 3/16/2021 2:38 PM, Sean Cole (Pi) via use-livecode wrote: even asking it to only return char 1 of rawclipboarddata["CF_BITMAP"] crashes it so any attempt to read that data triggers an exception. I would consider this a serious LC bug. Regardless of what crap another application puts on the

Re: [ANN] Release 9.6.2 RC-3

2021-03-15 Thread Paul Dupuis via use-livecode
I have not experienced this (Windows 10), but in the ast, similar new version startup issues have been resolved by deleting the livecode preferences file and then starting the new version to reset the prefs to defaults (and then set them back to whatever you want. On 3/15/2021 2:04 PM, Dev

Re: sort container parameters

2021-03-03 Thread Paul Dupuis via use-livecode
I sometime write code that I expect to work ... and it doesn't. The container sort with params was one such instance. Perhaps it is a compliment to Livecode/LCS that I EXPECTED it to work and was SURPRISED when it did not :-) On 3/3/2021 1:00 PM, Richard Gaskin via use-livecode wrote: Paul Du

Re: sort container parameters

2021-03-02 Thread Paul Dupuis via use-livecode
fo.net -----Original Message- From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Paul Dupuis via use-livecode Sent: Tuesday, March 02, 2021 4:56 PM To: use-livecode@lists.runrev.com Cc: Paul Dupuis Subject: sort container parameters I just discovered much to my disma

sort container parameters

2021-03-02 Thread Paul Dupuis via use-livecode
I just discovered much to my dismay that you can not execute the following: put "ascending" into tDirection soft lines of tContainer tDirection international apparently neither the sort direction (ascending|descending) nor the sort type (international|text|datetime|numeric|binary) can be

Re: S3 Compatible?

2021-02-24 Thread Paul Dupuis via use-livecode
On 2/24/2021 4:23 PM, Richard Gaskin via use-livecode wrote:  I would imagine adding optional args for new endpoints would be simple to do, and open the package up to MANY more use cases. This may not be an issue with the folks at LiveCode, Ltd, but one possible reason why the library for

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

2021-02-17 Thread Paul Dupuis via use-livecode
, but it looks like a really great piece of work. Cheers, David G On 16 Feb 2021, at 9:43 pm, Paul Dupuis via use-livecode wrote: company Researchware produces called HyperRESEARCH for performing qualitative data analysis. ___ use-livecode mailing list

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

2021-02-16 Thread Paul Dupuis via use-livecode
On 2/16/2021 2:46 PM, Alex Tweedly via use-livecode wrote: Paul - if you need to do this (i.e. find pairs of rects which are too close) for LARGE numbers of rects, I have some code to do this very efficiently (somewhere in an old archive, just ready to translate from C to LC). It uses a

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

2021-02-16 Thread Paul Dupuis via use-livecode
On 2/15/2021 5:53 PM, Paul Dupuis via use-livecode wrote: This is an Off Topic informal poll of sorts, but related to LiveCode as I am writing a LiveCode expression to determine if 2 arbitrary rectangles (r1,r2) are with some distance d (in px) of one another. In considering this problem

  1   2   3   4   5   6   7   8   9   10   >