Quick Windows 11 test...

2022-04-13 Thread Paul Dupuis via use-livecode
Can someone on Windows 11 with either (or both) LC 9.6.6 and 9.6.7 execute put systemVersion() and tell me what is reported? ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your

Re: Confirm sort container order...

2022-04-05 Thread Paul Dupuis via use-livecode
On 4/5/2022 10:58 AM, Craig Newman via use-livecode wrote: The discussion may seem academic to some, and perhaps pointless to others. But I like this sort of nonsense, and actually believe it is rather more than just that. In fact, it speaks to the internal working of the “sort” command

Re: Confirm sort container order...

2022-04-05 Thread Paul Dupuis via use-livecode
at there are spaces separating the chars in your list. The use of “words” will also delimit if those are tase instead of spaces. But the method is worth exploring… Craig On Mar 30, 2022, at 3:39 PM, Paul Dupuis via use-livecode mailto:use-livecode@lists.runrev.com

Re: Debugger issues in 9.6.7 (unfolding array variables)

2022-04-02 Thread Paul Dupuis via use-livecode
On 4/2/2022 12:42 AM, Tom Glod via use-livecode wrote: Hi Folks, Today I upgraded my windows 10 LC installation to 9.6.7 and I'm finding I cannot unfold arrays while tracing code. I click and nothing happens. Anyone else? I'm on Windows 10 (Dell AMD Ryzen 5) and just tested LC 9.6.7 STABLE

Re: How to Do: Download per http

2022-03-31 Thread Paul Dupuis via use-livecode
On 3/31/2022 3:00 PM, Hillen Richard via use-livecode wrote: Hello, My Mac is by usb connected to an iPhone, on which is running the data-aggregator Phybox.app and aggregates the sensor-data of the internal acceleration-sensor. On Mac, when I write into the Safari address bar

Re: playrate & templateimage

2022-03-31 Thread Paul Dupuis via use-livecode
On 3/31/2022 3:40 AM, Klaus major-k via use-livecode wrote: Hi Paul, Am 31.03.2022 um 02:01 schrieb Paul Dupuis via use-livecode : ... Today I was delighted to find out that this is not the case anymore! PITCH does not change anymore when setting the PLAYRATE! Thanks for the hint, Frans

Re: playrate & templateimage

2022-03-30 Thread Paul Dupuis via use-livecode
On 3/30/2022 5:18 PM, Klaus major-k via use-livecode wrote: Am 27.03.2022 um 10:33 schrieb Klaus major-k via use-livecode : Hi all, Am 24.03.2022 um 12:31 schrieb Klaus major-k via use-livecode : Hi friends, LC never ceases to surprise me and I love that! 1. In earlier versions setting

Re: Confirm sort container order...

2022-03-30 Thread Paul Dupuis via use-livecode
On 3/30/2022 4:39 PM, Craig Newman via use-livecode wrote: Paul I just reread your earlier post. Did you mean concatenating as if each line became a single long word? That would never do, of course, and is not how the line of code works. This is what I was referring to: Input data: (note

Re: Confirm sort container order...

2022-03-30 Thread Paul Dupuis via use-livecode
On 3/30/2022 4:13 PM, Craig Newman via use-livecode wrote: A way I have always used was developed back in the HC days. Assuming you have your list in the variable “yourList" sort lines of yourList by word 1 of each & word 2 of each & word 3 of each I used single letters as an example, but

Confirm sort container order...

2022-03-30 Thread Paul Dupuis via use-livecode
Hello, I need a little help today wrapping my mind around something simple in LiveCode. sort [{lines | items} of] container [direction] [sortType] [by sortKey ] I have 3 columns of tab and cr delimited data. For example: A B C A A B A B A A A A A A C If I want to sort by col 1, then 2,

Re: New user

2022-03-30 Thread Paul Dupuis via use-livecode
On 3/30/2022 9:50 AM, Guillaume Hédieu via use-livecode wrote: Hi everyone, Just a message to say hello. I'm new to Livecode. First of all, please apologize for my english, it's not my native language. I am a computer scientist in an association that trains students for working in some social

tags in menus other than Pulldown (menubar) menus

2022-03-27 Thread Paul Dupuis via use-livecode
Here is another LC wish list for practical reasons: I with that the menu item format for "regular" (pulldown/menubar) menus of: [] ['/' ['|' ]] -- with the caveat that to have a with out an , you just use /| [NOTE: This syntax is listed in the Dictionary under the "Menu" (keyword)] Would

IDE bait and switch ;-)

2022-03-26 Thread Paul Dupuis via use-livecode
So I was doing some coding today and in the IDE as you type a keyword, the syntax options popup. You can arrow down to the one you want and press tab to have the code template for the syntax filled in. I was typing a 'repeat for each..." loop when I notices the popup list of syntax options

Re: Weird Standalone Builder issue

2022-03-25 Thread Paul Dupuis via use-livecode
On 3/25/2022 9:05 AM, Mark Waddingham via use-livecode wrote: On 2022-03-24 21:07, Paul Dupuis via use-livecode wrote: I'm on Windows 10, using LC 9.6.6, and building for macOS and Windows ... This is not a problem form me as I can use revDeleteFolder to remove Contents\Resources\_MacOS

Weird Standalone Builder issue

2022-03-24 Thread Paul Dupuis via use-livecode
I'm on Windows 10, using LC 9.6.6, and building for macOS and Windows I have a folder called "Utilities" and in it I have the Windows version of an open source video utility called ffmpeg (specific file is just called "ffmpeg.exe". In the same "Utilities" folder, I have the macOS version of

Re: destroystack/destroywindow not working?

2022-03-21 Thread Paul Dupuis via use-livecode
We use this code in an internal Installer builder app to ensure a stack is actually removed from memory: command removeStackFromMemory pStackName   set wholeMatches to true   repeat while pStackName is among the lines of revLoadedStacks(application)     set cursor to busy     set the

Re: How to extract a video clip...

2022-03-19 Thread Paul Dupuis via use-livecode
Look up the mergAVVideoComposition commands etc. in the dictionary. They are for Mac and iOS. Lots of versatility to slice dice and concatenate clips in a video composition. If you are on Windows I guess the ffmpeg would work. Martin Sent from my iPhone On Mar 19, 2022, at 3:19 PM, Paul

Re: How to extract a video clip...

2022-03-19 Thread Paul Dupuis via use-livecode
On 3/19/2022 2:55 PM, Matthias Rebbe via use-livecode wrote: You could use ffmpeg for this. Here‘s a post where it is described how to do it https://superuser.com/questions/377343/cut-part-from-video-file-from-start-position-to-end-position-with-ffmpeg I have (and still am) considering

How to extract a video clip...

2022-03-19 Thread Paul Dupuis via use-livecode
Hivemind, I have, in LiveCode, a list of media files (various formats mp4, mp3, etc.) and a list of start and end times for various clips from each of the files. A file may (and usually does) have several clips. Much to my disappointment, I can find NO way in LiveCode script to export a

Re: Excel Lib 1.4

2022-03-19 Thread Paul Dupuis via use-livecode
On 3/18/2022 6:56 PM, Curry Kenworthy via use-livecode wrote: SpreadLib: Excel files to LC fields in 1 script line! "Excel-lent spreadsheet import and export for LiveCode" http://livecodeaddons.com/spreadlib.html I recommend Spreadlib for reading or writing Excel spreadsheets. We've used in

Re: Emojis in Text

2022-03-18 Thread Paul Dupuis via use-livecode
On 3/18/2022 12:18 PM, Dan Friedman via use-livecode wrote: I can't be the first to bring this up, so sorry if this has been asked already... Is there a current solution for Emojis in text? On a mobile device, in a native field, a user enters a emoji (no method to stop them that I can find).

LC and SqlLite Question

2022-03-10 Thread Paul Dupuis via use-livecode
Can a sqlLite database file on disk be accessed by more than 1 LiveCode app at the same time? A server hosted mySql database can be accessed by any number of client LC apps at the same time as the serve side mySql does the record locking necessary, but what about a sqlLite file? Obviously,

Re: Into the future

2022-02-28 Thread Paul Dupuis via use-livecode
. There ought to be some kind of disclaimer on the website, since it is a paid product only now. I'd be a bit miffed if I bought an application for developing new apps and didn't know that there would be more cash outlay required before it would work. Bob S On Feb 28, 2022, at 09:25 , Paul Dupuis via

Re: Into the future

2022-02-28 Thread Paul Dupuis via use-livecode
No, you really have to go through all of that. The few helper stacks out there are just front ends (using the shell command to call command line utilities from xcode) that make it easier once you have everything set up. Yes, it sucks. On 2/28/2022 12:18 PM, Bob Sneidar via use-livecode

Re: Standalone build under Big Sur on M1 Airbook

2022-02-27 Thread Paul Dupuis via use-livecode
On 2/27/2022 12:18 PM, Curry Kenworthy via use-livecode wrote: Paul: > building an app under Big Sur on a new M1 Airbook > macOS told me the command 'lipo' was not installed > Has anyone else seen this? I only noticed this thread today, but FWIW ... Yes! Exactly the same when setting up M1

Standalone build under Big Sur on M1 Airbook

2022-02-22 Thread Paul Dupuis via use-livecode
I was just building an app under Big Sur on a new M1 Airbook when during the build process with the build dialog showing "Copying files..." the macOS told me the command 'lipo' was not installed and did I want to download it. Has anyone else seen this? I mean I already get a whole pile of

Re: Message box failure in 10.0.0?

2022-02-21 Thread Paul Dupuis via use-livecode
yperActive Software   | http://www.hyperactivesw.com On February 20, 2022 6:21:01 PM Paul Dupuis via use-livecode wrote: These are working for me in the message box under LC 10.0.0dp2 (64bit) under Windows 10 On 2/20/2022 6:48 PM, J. Landman Gay via use-livecode wrote: I'm trying out LC

Re: Message box failure in 10.0.0?

2022-02-20 Thread Paul Dupuis via use-livecode
These are working for me in the message box under LC 10.0.0dp2 (64bit) under Windows 10 On 2/20/2022 6:48 PM, J. Landman Gay via use-livecode wrote: I'm trying out LC 10.0.0dp2 and the message box doesn't seem to be working. I'm just checking here before I report it, in case it's just me.

Re: full justification in a text field

2022-02-09 Thread Paul Dupuis via use-livecode
On 2/9/2022 5:24 PM, Curt Ford via use-livecode wrote: This seems like an awfully basic question, but is it possible to have text with full justification in a field? I've looked at using WordLib, but this client's text has lots of fussy formatting (background colors, different colors for

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

<    1   2   3   4   5   6   7   8   9   10   >