Re: Is Anyone on the list still using macOS 10.11?

2022-06-27 Thread Phil Davis via use-livecode
Hi Matthias, If you need another tester, one of my machines is an early 2009 Core 2 Duo mini running 10.10.5. Phil Davis On 6/27/22 5:26 AM, matthias rebbe via use-livecode wrote: Hi, is there anyone on the list still using macOS 10.10 and would be willing to test 2 or 3 sample apps for

Re: Would anyone miss convertOctals?

2022-06-10 Thread Phil Davis via use-livecode
I was thinking along those lines as well. Heck, I just saw my octalmologist last week. Phil Davis On 6/10/22 8:16 AM, Bob Sneidar via use-livecode wrote: So it has nothing to do with eye surgery?? Dang. I thought I was going to get a prize or something. Bob S On Jun 10, 2022, at 24:45 ,

Re: Limit on the number of parameters?

2022-06-06 Thread Phil Davis via use-livecode
In LC 9.6.7, this works in a button script: on mouseUp     tryThis "1", "2", "3", "4", "5", "66", "777", "", "9", "10" end mouseUp command tryThis     put the params -- the handler name and all 10 params are there end tryThis I often stuff lots of data items into an

Re: Decrypting (and encrypting) Large files

2022-05-16 Thread Phil Davis via use-livecode
On 5/10/22 12:35 PM, Richard Gaskin via use-livecode wrote: Mark Clark wrote: > Wondering if anyone has used LiveCode for encrypting-decrypting large > files? ... > I’m thinking about using LC for decrypting zip compressed log files > that can be multiple gigabytes in size. I’d like to use

Re: How to extract a video clip...

2022-03-20 Thread Phil Davis via use-livecode
Hi Paul, Your app doesn't have to install ffmpeg on the user's system - your app can run it from where it resides in your app's bundle. (Just reference it in your command line using its full path, not just 'ffmpeg'.) Phil Davis On 3/19/22 12:18 PM, Paul Dupuis via use-livecode wrote: On

Re: Speed up a slow loop

2022-03-02 Thread Phil Davis via use-livecode
Jacque - Did it ever work as expected, or has it always behaved this way on all devices? (If it ever did work right, I guess that points to a change that happened outside your code.) Phil Davis On 3/2/22 4:35 PM, J. Landman Gay via use-livecode wrote: On 3/2/22 5:12 PM, Devin Asay via

Re: RIP David Boggs

2022-03-02 Thread Phil Davis via use-livecode
The quote, for those struggling with browsers and paywalls. I was able to see it in a Tor browser: Before becoming the dominant networking protocol, Ethernet was challenged by several other technologies. In the early 1980s, Mr. Metcalfe said, when Mr. Boggs took the stage at a

Re: Simple? DG question

2022-02-15 Thread Phil Davis via use-livecode
pVisible' or something like it. Once all the handlers are complete it redraws the grid with the updated visibility icon. Does that help? Sean Cole Pi Digital Productions Ltd eMail Ts & Cs On 15 Feb 2022, at 22:03, Phil Davis via use-livecode wrote: Hi folks, I have a 'form' Data Grid where

Simple? DG question

2022-02-15 Thread Phil Davis via use-livecode
Hi folks, I have a 'form' Data Grid where each line's data objects are: - a 'question' text field whose value is set once and never changed. - an 'answer' text field whose value is set by the user's interaction with a 2-state 'answer' group. When the user clicks/taps the 2-state 'answer'

Re: Mac Multiple Monitor Menubar Management

2022-01-23 Thread Phil Davis via use-livecode
Actually 'the working screenRects' returns that info for all screens. Maybe that could work for you. Phil On 1/23/22 10:21 PM, Phil Davis via use-livecode wrote: Hi Mike, Would this give you what you need? function menubarHeight     return item 2 of the working screenRect end

Re: Mac Multiple Monitor Menubar Management

2022-01-23 Thread Phil Davis via use-livecode
Hi Mike, Would this give you what you need? function menubarHeight     return item 2 of the working screenRect end  menubarHeight Phil Davis On 1/23/22 7:39 PM, Mike Kerner via use-livecode wrote: Other than using windowBoundingRect, is there any way to compute the menubar height? The 2021

Re: Rounding in LiveCode vs Excel

2022-01-09 Thread Phil Davis via use-livecode
Will using "statround()" instead of "round()" give you an Excel-comparable outcome? Phil Davis On 1/9/22 12:49 PM, Andreas Bergendal via use-livecode wrote: Hi all, TLDR; In LC: round(0.5,0) = 1 (Excel agrees) round(5,-1) = 0 (Excel disagrees and makes that 10!) I agree with Excel, I

Re: New user

2021-12-20 Thread Phil Davis via use-livecode
Welcome to the list, Alex! There are people here who are a LOT more familiar with Windows <-> device communication than I am, but I can at least ask questions. Are you familiar with the "open driver" command and "serialControlString" property? They might give you some of what you need. I

Re: Server directory of a running script

2021-11-12 Thread Phil Davis via use-livecode
Also, maybe try "the filename of me". It seems like that should work, though I could be wrong. Phil Davis On 11/12/21 2:46 AM, jbv via use-livecode wrote: Great ! Thank you. Le 2021-11-12 05:20, Ralf Bitter via use-livecode a écrit : You might try $_SERVER["PATH_TRANSLATED"] Ralf

Re: [OT] Multiple macOS recommendation sought

2021-10-26 Thread Phil Davis via use-livecode
Hi Paul, Several years ago - 6-8-10 years ago? Not sure when - I left VMs behind in favor of minimally-configured actual hardware. I have a couple of Windows laptops but almost never use them now. My main development world consists of 4 Mac minis of various ages (all Intel or M1) and a couple

Re: Whatever happened to on-rev?

2021-08-19 Thread Phil Davis via use-livecode
And yet our individual subdomains are still up and running: http://phildavis.on-rev.com/ Phil Davis On 8/19/21 4:50 PM, Bob Sneidar via use-livecode wrote: > Well I'll be Pavlov's Lapdog! So it is! > > Bob S > > >> On Aug 19, 2021, at 16:43 , Mark Wieder via use-livecode >> wrote: >> >>

Re: Need to populate array into datagrid

2021-08-10 Thread Phil Davis via use-livecode
Hi Skip, First, make sure your array uses the format required by the datagrid. It should be a numeric-indexed array, where each key (index) represents a DG row (line), with that key's subkeys representing the DG columns of the row. Then: set the dgData of grp "my grid" to tMyDataA That's it!

Re: how to include Apple's SF Pro font in an iOS app?

2021-07-30 Thread Phil Davis via use-livecode
and > assigning LC's "system" font will automatically use it. In fat, that > seems to be the preferred method according to that post. > > -- > Jacqueline Landman Gay | jac...@hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On July 29, 2021 11:19:06 PM

how to include Apple's SF Pro font in an iOS app?

2021-07-29 Thread Phil Davis via use-livecode
Functionally speaking, I understand how to include it, but... will Apple let me release the app with that font included? I don't speak their brand of legalese very well. I can see the list of fonts that reside on my iPad and the SF fonts are not there. (I'm running iOS 14.6. ) But Apple makes it

Re: the systemversion shows wrong version # on Mac

2021-05-07 Thread Phil Davis via use-livecode
If you want the actual macOS system version, you can use the 'sw_vers' shell command. phils-macbook-pro:~ pdslabs2$ sw_vers -productVersion 10.15.7 or phils-macbook-pro:~ pdslabs2$ sw_vers ProductName:    Mac OS X ProductVersion:    10.15.7 BuildVersion:    19H1030

Re: notarizing DMG fails - solved

2021-05-05 Thread Phil Davis via use-livecode
Thank you Matthias! Your tools make my life SO much easier! You have done a great service for this community. Phil Davis On 5/5/21 2:20 AM, matthias rebbe via use-livecode wrote: >> Am 05.05.2021 um 11:10 schrieb Tiemo via use-livecode >> : >> >> Thank you all for helping my lost soul in

Re: [bug] strange memory leak in LC

2021-03-26 Thread Phil Davis via use-livecode
I created a little "leak test" stack that runs the "leaks" shell command against the processID of the LC engine that runs the stack. It checks for new leaks every 60 seconds and lists the number and size of each new leak found. I'm running it in LC 9.6.1 on 3 Macs right now - Catalina, High Sierra

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

2021-03-14 Thread Phil Davis via use-livecode
On Mac or Linux you can use the "touch" shell command - not sure if it's available on Windows. You can download the "Shell Command Help" LC plugin to simplify access to info about it. Phil Davis On 3/14/21 1:04 PM, Michael Kristensen via use-livecode wrote: Hi there I want to create/export

Re: mergFTPd example?

2021-03-10 Thread Phil Davis via use-livecode
… into” for getting data in the opposite direction. :-Håkan On 10 Mar 2021, 08:29 +0100, Phil Davis via use-livecode , wrote: I'm anticipating the need to connect an iOS app with a companion desktop app so the desktop app can get data from the mobile app and do some reporting and recordkeeping

Re: mergFTPd example?

2021-03-10 Thread Phil Davis via use-livecode
ot;binfile:~/desktop/report.xlsx" into URL "ftp://hello:world@192.168.0.25/report.xlsx; Regards, Matthias - Matthias Rebbe Life Is Too Short For Boring Code Am 10.03.2021 um 08:27 schrieb Phil Davis via use-livecode : I'm anticipating the need to connect an iOS app with a companion d

mergFTPd example?

2021-03-09 Thread Phil Davis via use-livecode
I'm anticipating the need to connect an iOS app with a companion desktop app so the desktop app can get data from the mobile app and do some reporting and recordkeeping. It should also be able to transfer data back to the mobile app. Does anyone have an example of how to make that happen? I

Re: Multidimensional array issue

2021-03-08 Thread Phil Davis via use-livecode
When I want to determine whether or not an array element contains non-whitespace, I usually say:     if word 1 of tDataA["item"] is empty then ... (or is NOT empty) Just another option. Phil Davis On 3/8/21 5:36 PM, Bob Sneidar via use-livecode wrote: Are you testing for empty, or are you

Re: Did I dream this ?

2021-03-04 Thread Phil Davis via use-livecode
There's mouseH, mouseV, clickH, clickV but those are the only partial loc things I'm aware of. Phil Davis On 3/4/21 10:54 AM, jbv via use-livecode wrote: Hi list, I thought I remembered a property like xloc or yloc in LC that would return only the horizontal or vertical location of an

Re: Swipe gesture script on datagrid

2021-01-18 Thread Phil Davis via use-livecode
Would the dgProp["left swipe control"] of grp "yourDG" help? At least that might let you change the default trash can to some other control (maybe to a group that contains your 2 buttons?). If you get that far, maybe the message path of your 2 buttons would go through the DG template row

Re: Is there a way to manually trigger GC?

2021-01-16 Thread Phil Davis via use-livecode
Hi Tom, Does hasMemory() have any effect on available memory, or does it truly just report the state of things? I wonder if there is some shell command that might help? Phil Davis On 1/16/21 11:31 AM, Tom Glod via use-livecode wrote: Hi Folks, I'm finding my application does a nice job

Re: DG outcomes on desktop vs mobile

2020-10-23 Thread Phil Davis via use-livecode
Well, I'm feeling pretty dumb about now. It's the architecture, stupid! I overlooked the fact that, unlike on desktop systems, my mobile app doesn't automagically have access to the test files that reside in the app's dev environment on my Mac. During startup on the iPad, the app has to

Re: DG outcomes on desktop vs mobile

2020-10-23 Thread Phil Davis via use-livecode
use-livecode wrote: What is the path you use to get the files? -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On October 23, 2020 12:26:34 PM Phil Davis via use-livecode wrote: That's a good question. On desktop, the array variable

Re: DG outcomes on desktop vs mobile

2020-10-23 Thread Phil Davis via use-livecode
the dgdata to? Does it show the values? Op vr 23 okt. 2020 08:44 schreef Phil Davis via use-livecode < use-livecode@lists.runrev.com>: I'm building an iPad app that reads a bunch of files into an array and then sets the dgData of a form DG to that array. The array is well-formed for DG use.

Re: DG outcomes on desktop vs mobile

2020-10-23 Thread Phil Davis via use-livecode
Thanks Andrew - I think I'll try this for the same reasons you did. Phil On 10/23/20 5:19 AM, Andrew at MidWest Coast Media via use-livecode wrote: This happened to me, twice, in a project I just launched. I was in crunch so didn’t have time to properly document but something happened where

DG outcomes on desktop vs mobile

2020-10-23 Thread Phil Davis via use-livecode
I'm building an iPad app that reads a bunch of files into an array and then sets the dgData of a form DG to that array. The array is well-formed for DG use. After setting the dgData of the DG, the result is empty. Only one problem: the DG now contains no data. (I also tried setting the dgText

Re: The iOS "Files" folder

2020-10-13 Thread Phil Davis via use-livecode
On a related note, there is a "File Sharing" check box in the iOS > Requirements tab > Requirements and Restrictions section of the Standalone App settings. What does that do? Thanks - Phil Davis On 10/13/20 9:19 AM, Andrew at MidWest Coast Media via use-livecode wrote: It looks from the

Re: Modal stacks cpu usage

2020-10-01 Thread Phil Davis via use-livecode
Sorry Neville, I didn't read your email closely enough - you are obviously on the right track. Phil On 9/30/20 9:02 PM, Phil Davis via use-livecode wrote: Another factor I discovered in times past (which may have been changed by now) that eats up CPU cycles is the "Default" button

Re: Modal stacks cpu usage

2020-09-30 Thread Phil Davis via use-livecode
Another factor I discovered in times past (which may have been changed by now) that eats up CPU cycles is the "Default" button style. Do you possibly have one of those on your stack? Phil Davis On 9/30/20 7:30 PM, Neville Smythe via use-livecode wrote: I have just noticed something curious.

Re: How Do You Get Filename / Image

2020-09-06 Thread Phil Davis via use-livecode
Maybe check the result after your 'put URL... into URL ...' statement. That might give you a hint about the problem. Phil Davis On 9/6/20 2:31 PM, Sannyasin Brahmanathaswami via use-livecode wrote: Looks like that does not work on mouseUp local tImageName, tDestinationPath,tHolder

Re: tsnetGetFile() example using HTTP?

2020-07-18 Thread Phil Davis via use-livecode
It uses SFTP with tsNetGetFile, so while the protocol used is different, the concept is the same. Regards, Charles On 18 Jul 2020, at 5:17 pm, Phil Davis via use-livecode wrote: Does anyone have an working example stack you're willing to share where 'tsnetGetFile' or 'tsnetGetFileSync' is using

Re: tsnetGetFile() example using HTTP?

2020-07-18 Thread Phil Davis via use-livecode
, so while the protocol used is different, the concept is the same. Regards, Charles On 18 Jul 2020, at 5:17 pm, Phil Davis via use-livecode wrote: Does anyone have an working example stack you're willing to share where 'tsnetGetFile' or 'tsnetGetFileSync' is using HTTP (or HTTPS

tsnetGetFile() example using HTTP?

2020-07-18 Thread Phil Davis via use-livecode
Does anyone have an working example stack you're willing to share where 'tsnetGetFile' or 'tsnetGetFileSync' is using HTTP (or HTTPS) to download a file? I have had limited success using FTP but it consistently fails (in my situation at least) when files are bigger than 200-300 MB (depending I

Re: Drawing a blank on simple code...

2020-05-19 Thread Phil Davis via use-livecode
You're almost there Paul! On 5/19/20 2:18 PM, Paul Dupuis via use-livecode wrote: I have a set of custom properties in stack "X", a lot of which begin with "options_" So I assume these are members of a customPropertySet, whose name I'll call "myOptions". I want to loop through them and

Re: Open printing to pdf

2020-05-12 Thread Phil Davis via use-livecode
What happens if you remove the space from the file path? Does it still behave the same? Phil Davis On 5/12/20 4:23 PM, GEORGE WOOD via use-livecode wrote: Here is on example of what I tried: on mouseup put “⁩/Desktop⁩/test files/Test.pdf” into temp open printing to pdf temp print cd 1

Re: on-rev server upgrade-related problems

2020-05-08 Thread Phil Davis via use-livecode
et error. So setting the timeout either to a higher value or to 0 in the client script should solve it. I am not sure, but i assume setting it to 0 is not recommended. Hope this helps. Matthias - Matthias Rebbe Life Is Too Short For Boring Code Am 07.05.2020 um 20:35 schrieb Phil Davis via use-live

Re: on-rev server upgrade-related problems

2020-05-07 Thread Phil Davis via use-livecode
ctor Evergreen Information Services rdim...@evergreeninfo.net -Original Message- From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Phil Davis via use-livecode Sent: Thursday, May 07, 2020 3:18 AM To: How to use LiveCode Cc: Phil Davis Subject: on-rev server upgrade-rel

on-rev server upgrade-related problems

2020-05-07 Thread Phil Davis via use-livecode
Has anyone had part or all of an on-rev server-based system stop working since the server upgrades a month or so ago? My client has an on-rev.com-based training system. Training delivery is via web browser, and that part continues to work. But there are several desktop apps that provide

Re: sqLite delete memory database

2020-05-01 Thread Phil Davis via use-livecode
Is there an LC function that clears trash from memory? Does "hasMemory"? If not, it seems like that would be a nice feature. Phil Davis On 5/1/20 12:25 PM, Tom Glod via use-livecode wrote: hmmmyou can try set the pragma to zero out flag (i am pretty sure there is one) .. and drop all

Re: Learned my lesson

2020-04-17 Thread Phil Davis via use-livecode
I feel your pain! I switched to using "of me" or "of the owner of me" whenever possible which works very well in many/most cases, but sometimes it just isn't enough. Phil Davis On 4/17/20 6:41 PM, Bob Sneidar via use-livecode wrote: I just spent 2 hours purging the detestable “this stack”

Re: Socket Help

2020-04-06 Thread Phil Davis via use-livecode
d before creating the SQL. That way, even if someone got physical access to the database, they couldn’t decipher the passwords. Bob S On Apr 5, 2020, at 11:25 PM, Phil Davis via use-livecode mailto:use-livecode@lists.runrev.com>> wrote: Hi Bob, I created a client-server business system for

Re: Socket Help

2020-04-06 Thread Phil Davis via use-livecode
Hi Bob, I created a client-server business system for a client some years ago. It too uses data encryption. What I did on the server side was prep the data for net transfer (base64Encode it as the final prep step, I think), then transfer length(data) & CR & data. On the client side, the app

Re: The TopLevel Stack

2020-03-27 Thread Phil Davis via use-livecode
Hi Bob, Is the first stack opened as 'toplevel' or in some other mode? That would make a difference. Best - Phil Davis On 3/27/20 3:40 PM, Bob Sneidar via use-livecode wrote: Hi all. I’m having fits here. I have a stack that opens another stack invisible. It supposedly closes itself,

Re: Invalid Image File / Original Image Size

2020-02-17 Thread Phil Davis via use-livecode
Hi Ralph, Certainly Klaus's approach will work. Here is another that works. As you know, image files have "signatures" in their headers to identify what kind of files they are: https://en.wikipedia.org/wiki/List_of_file_signatures (the "ISO 8859-1" column) Once you know the

Re: does this PNG have transparency?

2020-01-27 Thread Phil Davis via use-livecode
I like it! Nice job. Phil On 1/27/20 8:21 AM, Bob Sneidar via use-livecode wrote: Voila! function pngIsTransparent pImageFile if not (there is a file pImageFile) then return "ERROR: Invalid file path!" set the filename of the templateImage to pImageFile put numtochar(0) into

Re: does this PNG have transparency?

2020-01-24 Thread Phil Davis via use-livecode
"my test") OR (tZero is in the maskData of img "my test") end mouseUp Phil On 1/24/20 1:48 PM, Phil Davis via use-livecode wrote: I usually make things harder than they need to be, so I'm asking: Is there a simple way my LC code can determine if a PNG image is completely o

does this PNG have transparency?

2020-01-24 Thread Phil Davis via use-livecode
I usually make things harder than they need to be, so I'm asking: Is there a simple way my LC code can determine if a PNG image is completely opaque or not? Thanks - Phil -- Phil Davis 503-307-4363 ___ use-livecode mailing list

Re: TIFF support in the past?

2020-01-24 Thread Phil Davis via use-livecode
Wow. How soon we (I) forget! Phil On 1/24/20 1:28 AM, Richmond Mathewson via use-livecode wrote: http://runtime-revolution.278305.n4.nabble.com/LiveCode-Import-Tiff-td3432308.html On Fri, Jan 24, 2020 at 10:43 AM Phil Davis via use-livecode < use-livecode@lists.runrev.com> wrote: Tha

Re: TIFF support in the past?

2020-01-24 Thread Phil Davis via use-livecode
Davis via use-livecode wrote: I'm trying to find out if there was a time in the distant past when LC supported the TIFF image format. I found some TIFF image assets in some subfolders of a project from back then (maybe 10 or more years ago?) but can't run a copy of LC from that era to find out

TIFF support in the past?

2020-01-24 Thread Phil Davis via use-livecode
I'm trying to find out if there was a time in the distant past when LC supported the TIFF image format. I found some TIFF image assets in some subfolders of a project from back then (maybe 10 or more years ago?) but can't run a copy of LC from that era to find out. Any memories? Thanks -

Re: shell() and pdftotext

2020-01-12 Thread Phil Davis via use-livecode
To find the full path, this may work - open Terminal and type:     which pdftotext and it should display the path to the copy of pdftotext that the OS runs when you type the 'pdftotext' command. Phil Davis On 1/12/20 2:00 PM, Brian Milby via use-livecode wrote: My guess is that shell

Re: Indy 9.5.0. Apple can't search for malware in LC Indy?

2019-11-05 Thread Phil Davis via use-livecode
utput ?> Phil Davis On 11/5/2019 12:02 PM, Phil Davis via use-livecode wrote: On this issue, isn't it possible to let a web server detect the OS requesting the download? So the server can then do the picking and send the right version to the requestor? Or maybe the info available to the serv

Re: Indy 9.5.0. Apple can't search for malware in LC Indy?

2019-11-05 Thread Phil Davis via use-livecode
On this issue, isn't it possible to let a web server detect the OS requesting the download? So the server can then do the picking and send the right version to the requestor? Or maybe the info available to the server about the requesting OS isn't that detailed. Not sure. At least I'm sure I

Re: server push to desktop client

2019-11-05 Thread Phil Davis via use-livecode
Thanks for sharing your insight Richard. Great food for thought. Phil On 11/5/19 12:29 AM, Richard Gaskin via use-livecode wrote: Phil Davis wrote: > I need to make a desktop app (Mac only for now) that receives pushed > data from a LC server. I've never done this - all the desktop <-> >

Re: server push to desktop client

2019-11-05 Thread Phil Davis via use-livecode
pulls from the server because most servers cannot push through firewalls and routers an NAT servers to initiate first contact with a client. Kee Nethery On Nov 4, 2019, at 11:26 PM, Phil Davis via use-livecode wrote: I need to make a desktop app (Mac only for now) that receives pushed data

server push to desktop client

2019-11-04 Thread Phil Davis via use-livecode
I need to make a desktop app (Mac only for now) that receives pushed data from a LC server. I've never done this - all the desktop <-> server interactions I've programmed have used the traditional client-server model. So I'm looking for approaches/tips/ideas from anyone who has experience with

Re: identifying text chars in an image

2019-10-29 Thread Phil Davis via use-livecode
Thanks for your great ideas Hermann. In my next experiment I think I'll start by looking for any scrabble tile by looking for its [known] background color, and then work out to its edges. That should give me both the grid cell size and a starting point for discovering all cells in the grid.

Re: identifying text chars in an image

2019-10-28 Thread Phil Davis via use-livecode
to use Scrabble letters when playing Bananagrams so they can see who gets high score.) Thanks - Phil On 10/28/19 2:23 PM, Phil Davis via use-livecode wrote: Thanks for the followup on this. I experimented some with tesseract and came to the same conclusion. Since the values assigned to each

Re: identifying text chars in an image

2019-10-28 Thread Phil Davis via use-livecode
Thanks for the followup on this. I experimented some with tesseract and came to the same conclusion. Since the values assigned to each character are standard wthin Scrabble, I don't really need to detect those tiny numerals. But the alpha chars are of course essential. I believe there must

Re: identifying text chars in an image

2019-10-28 Thread Phil Davis via use-livecode
Thanks Richmond and hh - really appreciate these ideas. I'll be looking into them. Phil On 10/28/19 7:26 AM, hh via use-livecode wrote: There are also emscripten ports to javascript you could use via a browser widget (and a CDN if online). https://tesseract.projectnaptha.com

identifying text chars in an image

2019-10-28 Thread Phil Davis via use-livecode
I want to [programmatically] take a picture of a Scrabble board and then take from that image the characters displayed in it, and maintain the organization of the text. In other words, I want to convert the text displayed in the image to text strings. Any ideas where I should start? I would

Re: Can I find out what handler I am in?

2019-10-25 Thread Phil Davis via use-livecode
Tom, param(0) contains the name of the handler you're in. on mouseUp    put param(0) end mouseUp Would put into the message box:     mouseUp Phil Davis On 10/25/19 10:00 AM, Tom Glod via use-livecode wrote: Hey you guys, I have searched high and low and I am pretty sure the answer is no ,

Re: Possible solution to determine if default network has changed (MacOS only for now)

2019-10-22 Thread Phil Davis via use-livecode
I'm guessing you meant "route -v get default" ? Otherwise I don't get much back from the command. Phil Davis On 10/22/19 11:05 AM, Bob Sneidar via use-livecode wrote: Hi all. MacOS only for now. I think I put together a way to tell if the default network has changed since the last time an

Re: Where LiveCode is Now

2019-10-03 Thread Phil Davis via use-livecode
Amen Bob! Phil Davis On 10/3/19 9:31 AM, Bob Sneidar via use-livecode wrote: For my part I love what you guys do. As I've mentioned before, Livecode has upped my value to my employer, as they see that I am capable of more than what they hider me to do. It may even have been responsible for a

Re: Stacks and Sub Stacks

2019-09-25 Thread Phil Davis via use-livecode
On 9/25/19 7:43 AM, Sannyasin Brahmanathaswami via use-livecode wrote: Related: if you have this in the message box. put the openstacks you only get the 1. presently open binary stacks 2. any script only stack that you explicitly have open in the IDE Some more options: put

Re: Audio Recording with cameracontrol

2019-09-20 Thread Phil Davis via use-livecode
Hi Dan, I haven't used cameracontrol, but... In a Mac-only app I built for a client, I used the 'sox' commandline app for recording. It has been quite reliable now for several years. Like so: command audio_startRecording* *    put into sRecorderApp     put into sFilename     put

Re: Duplicate card and object command lc 9.0.4

2019-06-07 Thread Phil Davis via use-livecode
Hi Muaadh, Try this: Go to the card you want to duplicate and in the Message Box type "clone this card". It isn't exactly the answer to your question but it should give you the outcome you desire. Phil Davis On 6/7/19 11:15 AM, Muaadh Salih via use-livecode wrote: Until now I was using LC

Re: Design questions...

2019-06-06 Thread Phil Davis via use-livecode
Hi Glen, There are some screen resolution stats on the web that may be useful, at least for 'general public' app window sizes: https://en.wikipedia.org/wiki/Display_resolution Phil Davis On 6/6/19 6:47 AM, Glen Bojsza via use-livecode wrote: Hello, I was looking for input on the

Re: Black boxes replace images in Mojave (Was "No subject")

2019-06-04 Thread Phil Davis via use-livecode
As it turns out, the Remove script uses the sips command. (* Remove ©2009 Apple, Inc. Use sips to remove embedded profile and color management data from an image. *) on run     display dialog "Remove the embedded profile from an image."     set chosenFile to choose

Re: button ICON

2019-04-22 Thread Phil Davis via use-livecode
Thanks hh - I concur. Your approach seems cleaner. Phil On 4/22/19 9:20 AM, hh via use-livecode wrote: As Phil said, but don't set the text of the (empty) image used as icon of the button but set the filename of the image. The icon will change accordingly.

Re: button ICON

2019-04-22 Thread Phil Davis via use-livecode
Hi Klaus, The only method I can think of is where you set the icon of a button to the id of an image object, and then set the text of that image object to the binfile url of different image files. That does work, but may not be what you're looking for. Best - Phil Davis On 4/20/19 9:36

Re: What is Macintosh equivalent of relaunch handler?

2019-03-29 Thread Phil Davis via use-livecode
Or another approach might be to open the invisible app as a process in the UI app. On 3/29/19 10:50 AM, Phil Davis via use-livecode wrote: Hi Bill, It sounds like this is your scenario: You have an app with UI that is running, and you want it to occasionally send/receive info to/from another

Re: What is Macintosh equivalent of relaunch handler?

2019-03-29 Thread Phil Davis via use-livecode
Hi Bill, It sounds like this is your scenario: You have an app with UI that is running, and you want it to occasionally send/receive info to/from another invisible 'helper' app. Is that correct? If so, can you use sockets in your environment? That would be a simple way to get the interaction

Re: LC application running on lab computers

2019-03-28 Thread Phil Davis via use-livecode
Hi Peter, Is it possible you're running LC in a user account that doesn't have "admin" permissions? I suggest this because they are lab computers. You can check Apple menu > System Preferences > Users & Groups > [username] to find out. Phil Davis On 3/27/19 11:20 PM, Peter Bogdanoff via

Re: LiveCode Localization?

2019-03-18 Thread Phil Davis via use-livecode
I considered qualifying that phrase, but... nh. On 3/18/19 3:52 PM, Bob Sneidar via use-livecode wrote: The hell I am! ;-) Bob S On Mar 17, 2019, at 17:31 , Phil Davis via use-livecode wrote: To add a new language, we clone an existing YAML file and translate it, and adjust the RTL

Re: LiveCode Localization?

2019-03-17 Thread Phil Davis via use-livecode
On 3/17/19 5:31 PM, Phil Davis via use-livecode wrote: Hi Kee, I support a training development & delivery system that currently supports training in English, Spanish and Arabic. The training dev environment is English only, but the training content you can create with it can be in t

Re: LiveCode Localization?

2019-03-17 Thread Phil Davis via use-livecode
Hi Kee, I support a training development & delivery system that currently supports training in English, Spanish and Arabic. The training dev environment is English only, but the training content you can create with it can be in those other languages. When we added support for Arabic a couple

Re: Compiling Livecode

2019-03-06 Thread Phil Davis via use-livecode
After using Parallels for a few years, I realized I hate virtual environments. What I really do like, however, is having a Windows 10 physical machine's desktop available in a window on my Mac, much like Mac-to-Mac Screen Sharing. (I recently discovered MS Remote Desktop - no going back!) I

Re: Need crash course in Dropbox library

2019-02-18 Thread Phil Davis via use-livecode
I'm not sure how this would work in your context, but one way to break up a file into pieces is to use open / read / close like this: # assumes LC 9.0.2 # tMyFolder = path of folder containing the file to upload # tMyFileShortFilename = 'short' filename of file to upload - no path,

Re: how to write control-c to an open process?

2019-01-30 Thread Phil Davis via use-livecode
control-c. The outcome is identical to control-c but no control chars are required. So this works: kill -s INT Where is the numeric ID of the process I want to end. *whew* Thanks - Phil On 1/30/19 12:58 AM, Phil Davis via use-livecode wrote: In a LC script I need to write control-c

how to write control-c to an open process?

2019-01-30 Thread Phil Davis via use-livecode
In a LC script I need to write control-c to an open process so the app being run as a process will end. (At least that's how I can end it in Terminal). Has anyone had success doing this? Please share what you have learned about it. Thanks - -- Phil Davis

Re: Should I forget HC? Honestly?

2019-01-26 Thread Phil Davis via use-livecode
So well said! I love this. On 1/26/19 10:57 AM, dunbarxx via use-livecode wrote: Treat it like a grandfather. Love it, but do not discard your cell phone and install a wall phone in your kitchen. You know, the one with the six foot cord. That was a miracle too, in its day. Craig Newman --

Re: Get RGB color of a specific screen location

2018-12-31 Thread Phil Davis via use-livecode
set the screenMouseLoc to globalLoc(tLocWithinMyStack) put the mouseColor into tTheColorAtThatScreenLoc Phil Davis On 12/31/18 9:24 AM, Beat Cornaz via use-livecode wrote: How do I get the RGB color of a pixel of an image? I know the function the MouseColor, which gives me the RGB numbers

Re: Radio Buttons on multiple cards

2018-11-17 Thread Phil Davis via use-livecode
was trying to set the group sharedHilite, which can’t be done. Peter On Nov 17, 2018, at 3:04 AM, Phil Davis via use-livecode wrote: Hi Peter, Set the sharedHilite of each button to true. That'll give you what you want. Phil Davis On 11/16/18 9:28 PM, Peter Bogdanoff via use-livecode wrote

Re: Radio Buttons on multiple cards

2018-11-17 Thread Phil Davis via use-livecode
Hi Peter, Set the sharedHilite of each button to true. That'll give you what you want. Phil Davis On 11/16/18 9:28 PM, Peter Bogdanoff via use-livecode wrote: Hi, A question about LC mechanics: I have a stack of 10 cards, sharing the same background on each. That background group contains

Re: How to update a css file when using the Browser widget

2018-11-04 Thread Phil Davis via use-livecode
Hi James, Maybe putting a parameter after the URL for the reload would make the widget think it's worthy of a complete reload. like so: https://my.big.site.com?12345 Haven't tried it, just thought of it. Phil Davis On 11/3/18 9:55 PM, James Hale via use-livecode wrote: Further exploring

bizarre DG problem

2018-10-09 Thread Phil Davis via use-livecode
Hi folks, My client just called me to report one of his customers' data grids in a very weird state. I've never seen this before and thought I should ask if anyone else has, and how to prevent it if possible. System: macOS 10.13.x - High Sierra LC 8.1.9 Community Background: This DG is

Re: Determine if device is a tablet

2018-08-14 Thread Phil Davis via use-livecode
Hi Jacque, One idea: If your app can reach out to a LC page on a server, that page could return $_SERVER["HTTP_USER_AGENT"] which in many cases tells something about the kind of device that connected. For example: An old iPad: Mozilla/5.0 (iPad;CPU OS 9_3_5 like Mac OS X) AppleWebKit/601.1

Re: searching lists.runrev.com

2018-08-08 Thread Phil Davis via use-livecode
Another similar resource: https://www.mail-archive.com/use-livecode@lists.runrev.com/ Phil Davis On 8/8/18 8:08 PM, Richard Gaskin via use-livecode wrote: Douglas Ruisaard wrote: > When I try to use the link: > > http://www.google.com/advanced_search?q=site:lists.runrev.com > > with ANY

Re: drawing a Barcode without a Barcode font

2018-07-23 Thread Phil Davis via use-livecode
I wonder what would happen if you turned the bar code by 90 degrees and then printed it? Could it be scanned then? Just a wild thought... Phil Davis On 7/22/18 2:43 PM, Matthias Rebbe via use-livecode wrote: Of course i meant So the code below shows the settings which allow us to scan the

Re: [ANN] Release 9.0.1 RC-1

2018-07-09 Thread Phil Davis via use-livecode
Whoa! Here in the Pacific Northwest (Portland area) I downloaded the Indy version in 1:43. That's one minute and change. Phil Davis On 7/9/18 3:27 PM, J. Landman Gay via use-livecode wrote: On 7/9/18 5:11 PM, Mark Wieder via use-livecode wrote: On 07/09/2018 01:41 PM, Richard Gaskin via

  1   2   >