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

Re: how to clear residual garbage in a stack?

2018-05-21 Thread Phil Davis via use-livecode
Neville, Use "compact stack" to get rid of space formerly used by now-deleted objects. See the docs. Phil Davis On 5/21/18 5:42 PM, Neville Smythe via use-livecode wrote: I am constructing a large stack as a test for a bug report (to report the slow saving of large stacks for a

Re: Active window and mouse location

2018-05-10 Thread Phil Davis via use-livecode
Hi Douglas, Apologies if I'm misunderstanding the problem or if someone already suggested this, but won't the stack come to the front if you just say "go to stack tMyStack" ?  Seems to me that would make it the topStack, which is apparently what you want (as I read it). Or if the stack is a

Re: WordReport Help

2018-04-11 Thread Phil Davis via use-livecode
While on a walk just now, I was thinking about line endings on Mac vs. Windows - they are different! I think you're right - open your original template in Word for Windows, add your tag, and save & close it. Then it will probably work as you expect. Phil On 4/11/18 10:52 AM, Charles Szasz

Re: WordReport Help

2018-04-11 Thread Phil Davis via use-livecode
Hi Charles, On the surface it sounds to me like it might be a text encoding issue. You could do an experiment to find out. Since the textEncode() function isn't available in LC 6.1.3, you would have to use uniEncode() to encode your Word doc content before writing it to disk and handing it

Re: Checkmark for Mac & Windows

2018-03-24 Thread Phil Davis via use-livecode
t; On Behalf Of Phil Davis via use-livecode Sent: Friday, March 23, 2018 7:20 PM To: Knapp Martin via use-livecode <use-livecode@lists.runrev.com> Cc: Phil Davis <rev...@pdslabs.net> Subject: Re: Checkmark for Mac & Windows One idea: - Create or find a checkmark image you like, tha

Re: Checkmark for Mac & Windows

2018-03-23 Thread Phil Davis via use-livecode
One idea: - Create or find a checkmark image you like, that looks good within the textHeight of your lists - Import it into your app - make sure each line of text begins with maybe 3 spaces - use the ID of the checkmark image as the imageSource of char 1 of each line - let your (now modified)

Re: height of title bar

2018-03-19 Thread Phil Davis via use-livecode
Thank you Paul! It does indeed work as you said. Phil On 3/19/18 10:46 AM, Paul Dupuis via use-livecode wrote: On 3/19/2018 1:37 PM, Phil Davis via use-livecode wrote: Is there a way in LC to discover the height of a window's title bar? I tried comparing item 2 of the card's globalLoc

height of title bar

2018-03-19 Thread Phil Davis via use-livecode
Is there a way in LC to discover the height of a window's title bar? I tried comparing item 2 of the card's globalLoc(topleft of this card) to item 2 of the stack's topleft, but they are the same. I tried comparing the stack's topleft with no decorations to the same but with decorations. No

Re: Dinamyc variables.

2018-03-19 Thread Phil Davis via use-livecode
On 3/19/18 9:29 AM, Mike Bonner via use-livecode wrote: Use an array instead... put empty into tCardArrayA[the short name of this card] Newly created cards where you don't specify the card name on creation, will have a card name set to the id of the card. (like "card id 1002") And the array

Re: Issues with storage of data in stack

2018-03-08 Thread Phil Davis via use-livecode
Hi Peter, If your app could encrypt the arrayEncoded data before writing to disk, and then decrypt it when reading it, that would solve the unwanted-access problem. The amount of time used by encrypt/decrypt processes is negligible, even for large files. I love arrays. They have become one

Re: [Completely OT] Withdrawal symptoms from Slashdot

2018-03-05 Thread Phil Davis via use-livecode
Or this: https://alternativeto.net/software/slashdot/ Phil Davis On 3/3/18 6:37 PM, Rick Harrison via use-livecode wrote: Hi Alex, Try.. https://news360.com You can choose a technical focus too. Enjoy! Rick On Mar 3, 2018, at 7:09 PM, Alex Tweedly via

Re: Quit Command corrupts standalone (stack called by standalone splash)

2018-02-26 Thread Phil Davis via use-livecode
Hi Roland, This is the only reply of yours that I see. On 2/26/18 4:13 AM, R.H. via use-livecode wrote: Thanks, Phil and Tom I already replied, but I cannot see my first reply to your answers. Did it appear in the list? Phil: "quitMe" should be sent before 'saveMe' is executed, because

Re: Quit Command corrupts standalone (stack called by standalone splash)

2018-02-26 Thread Phil Davis via use-livecode
Let me improve this a bit. On 2/23/18 4:19 PM, Phil Davis via use-livecode wrote: Roland, I believe Tom is exactly right. I would restructure your two closing handlers like this: local sMyFilename on closeStack     put the filename of me into sMyFilename     saveMe     send "quitMe&

Re: Quit Command corrupts standalone (stack called by standalone splash)

2018-02-23 Thread Phil Davis via use-livecode
Roland, I believe Tom is exactly right. I would restructure your two closing handlers like this: local sMyFilename on closeStack     put the filename of me into sMyFilename     saveMe     send "quitMe" in 1 second end closeStack command saveMe    lock cursor /* Tested with and without

Re: any tricks to make SHELL non blocking?

2018-02-02 Thread Phil Davis via use-livecode
Run it in a different app that you communicate with via sockets? Or maybe run that app as a process? You said *any* hints, so... be careful what you ask for! :-) Phil Davis On 2/2/18 1:41 PM, Klaus major-k via use-livecode wrote: Hi friends, I have a command line utility which will

Re: What Env Variable set when saving standalone?

2018-01-25 Thread Phil Davis via use-livecode
Bob, Is the problem that at app-login time, the app doesn't know whether its opening was caused by the standalone builder or by the user? If so, maybe something this would work: on standaloneSaved     put true into url (specialFolderPath("temp") & "/saved" end standaloneSaved on appLogin

Re: Identifying empty lines of text

2018-01-12 Thread Phil Davis via use-livecode
I wonder if the 202 value would disappear if you did this: put textDecode(the clipboarddata["text"], "utf8") into field 1 I don't know the answer, just putting it out there. Phil Davis On 1/12/18 4:48 PM, David Epstein via use-livecode wrote: I use “the number of words in myString = 0”

Re: preloading an mages dimensions

2017-12-28 Thread Phil Davis via use-livecode
What platform? On a Mac, you can use sips. It's included with the OS. Example - typed on the command line: sips -g pixelHeight -g pixelWidth /Users/pdslabs/Desktop/IMG_4411.jpg The output: /Users/pdslabs/Desktop/IMG_4411.jpg   pixelHeight: 750   pixelWidth: 1000 Phil Davis

Re: use-livecode Digest, Vol 171, Issue 44

2017-12-27 Thread Phil Davis via use-livecode
On 12/27/17 4:26 PM, Peter Reid via use-livecode wrote: Hi Marc, Paul, Phil, Rick and Richmond Thanks for your various thoughts. To put a bit more flesh on this, here's what I'm developing and why... In the first instance I'm doing this development for a friend who's grandmother suffers from

Re: Voice Comparison in LiveCode?

2017-12-27 Thread Phil Davis via use-livecode
Hi Peter, Here is some additional input: https://stackoverflow.com/questions/17010516/how-to-detect-how-similar-a-speech-recording-is-to-another-speech-recording HTH - Phil Davis On 12/27/17 4:16 AM, Peter Reid via use-livecode wrote: i'm developing an app for cheap Android tablets (e.g.

Re: read larger data streams over sockets - broken?

2017-12-06 Thread Phil Davis via use-livecode
ing.. If you want to see the stack you are welcome. It's being used (or was) by some publication team in Singapore for the same work. On 12/6/17, 1:52 PM, "use-livecode on behalf of Phil Davis via use-livecode" <use-livecode-boun...@lists.runrev.com on behalf of use-livecode@lists.r

read larger data streams over sockets - broken?

2017-12-06 Thread Phil Davis via use-livecode
Is anyone else having problems with moving multi-MB data streams across sockets in LC 8? I support a LAN-based system that relies on sockets to move data between server and clients. The server's response to a single client request will often consist of several hundred KB to several MB of

Re: Awful quiet around here

2017-11-14 Thread Phil Davis via use-livecode
That's sort of like saying "Anyone who can't hear me raise your hand." Oh well. All in a day's fun. Or work. Phil On 11/14/17 3:49 AM, Heather Laine via use-livecode wrote: Just checking if the list is functioning correctly. Seems impossible you all stopped talking at once... If you receive

Re: OT : need help understanding why my web page isn't behaving right :-)

2017-11-07 Thread Phil Davis via use-livecode
Flush your browser cache and try again? Phil Davis On 11/7/17 3:27 PM, Alex Tweedly via use-livecode wrote: I just discovered a problem with one of my web pages - but can't figure out just where it's coming from. Anyone know their way around chrome tools and able to help ? If you load

Re: Getting directory list from web server??

2017-11-06 Thread Phil Davis via use-livecode
Hi Tim, Here is a wild guess. I maintain an account on sage too. Late last week I contacted on-rev support about an issue and was told this: There was an update to cPanel yesterday that overwrote our custom apache templates that allow LiveCode Server to work. They restored the

Re: Control properties not included in the Property Inspector

2017-11-06 Thread Phil Davis via use-livecode
put the properties of into tProps On 11/6/17 1:47 PM, Phil Davis via use-livecode wrote: Try: put the properties of field "fldCustID" into tProps put the keys of tProps That will give you all the keys of the properties array, but keep in mind that a few of the properties may

Re: Control properties not included in the Property Inspector

2017-11-06 Thread Phil Davis via use-livecode
Try: put the properties of field "fldCustID" into tProps put the keys of tProps That will give you all the keys of the properties array, but keep in mind that a few of the properties may be arrays themselves. Phil Davis On 11/6/17 1:14 PM, Alejandro Tejada via use-livecode wrote: Bob

Re: not really OT: The Coming Software Apocalypse

2017-10-04 Thread Phil Davis via use-livecode
Except people will always want what they want. As I understand it, that drives disagreements far more than the absence/presence of knowledge. (James 4:1 ) Sorry, I couldn't resist... I just HAD to respond to your tongue-in-cheek comment... Guess

  1   2   >