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

Re: Making the clipboard Excel compatible

2017-10-02 Thread Phil Davis via use-livecode
I'm wondering if this is a Unicode-related thing. No time to experiment right now however. Phil Davis On 10/2/17 7:41 AM, Bob Sneidar via use-livecode wrote: If I had to guess I'd say that the clipboard contains CRs and LFs for each single line break, and other software is interpreting this

Re: put after

2017-09-11 Thread Phil Davis via use-livecode
You already know this, but you can also put tWord after tContainer (or after text of me) - no chunk expression needed. Phil Davis On 9/11/17 3:05 PM, Bob Sneidar via use-livecode wrote: Actually that was a typo. Put tWord after word 2 of me is what I meant. Bob S On Sep 11, 2017, at

Re: private command gotcha

2017-09-07 Thread Phil Davis via use-livecode
Goulding via use-livecode wrote: On 8 Sep 2017, at 7:19 am, Phil Davis via use-livecode <use-livecode@lists.runrev.com> wrote: You asked me a similar question on 11-Nov-2016 - here is the back-and-forth. Sometimes we have our reasons! :-) Ha… OK back in my box then ;-) FWIW I would dearly lov

Re: private command gotcha

2017-09-07 Thread Phil Davis via use-livecode
Make that 8-Nov-2016. Phil On 9/7/17 2:19 PM, Phil Davis wrote: You asked me a similar question on 11-Nov-2016 - here is the back-and-forth. Sometimes we have our reasons! :-) -- Phil Davis ___ use-livecode mailing list

Re: private command gotcha

2017-09-07 Thread Phil Davis via use-livecode
On 9/7/17 2:01 PM, Monte Goulding via use-livecode wrote: On 8 Sep 2017, at 3:57 am, Bob Sneidar via use-livecode wrote: Here's a surprise! You cannot dispatch to a private command or function, EVEN THOUGH the private command or function is in the SAME SCRIPT!

Re: OT: error messages

2017-08-29 Thread Phil Davis via use-livecode
One of my faves from the IBM mainframe world in the 80s and earlier: Probable user error. Correct and resubmit. It's mostly intelligible although it tells you nothing. Phil Davis On 8/28/17 12:15 PM, J. Landman Gay via use-livecode wrote: On 8/28/17 11:18 AM, Mark Wieder via

Re: slow listserv

2017-08-28 Thread Phil Davis via use-livecode
Wikipedia: Mars is an an average of 12.5 light minutes from earth. So, yeah. Phil Davis On 8/28/17 4:22 PM, Bob Sneidar via use-livecode wrote: Someone fact check that plz... Bob S On Aug 28, 2017, at 14:13 , Mark Wieder via use-livecode wrote: It

Re: Search Values of Array in "One Go"

2017-08-26 Thread Phil Davis via use-livecode
On 8/26/17 2:23 PM, Monte Goulding via use-livecode wrote: On 27 Aug 2017, at 5:57 am, J. Landman Gay via use-livecode wrote: This would be really useful. I'd suggest: filter elements of tArray by tPath[each] is “baz” Array paths don’t work like that. `each`

Re: E.T.

2017-07-29 Thread Phil Davis via use-livecode
On 7/29/17 8:47 AM, Dr. Hawkins wrote: On Sat, Jul 29, 2017 at 1:25 AM, Phil Davis via use-livecode <use-livecode@lists.runrev.com <mailto:use-livecode@lists.runrev.com>> wrote: You could distribute your product on flash drives and require that they be plugged i

Re: Set the tooltip of a datagrid

2017-07-12 Thread Phil Davis via use-livecode
BUT you can set the toolTipDelay, to speed up or slow down its appearance. That's about it. Phil Davis On 7/12/17 10:54 AM, Bob Sneidar via use-livecode wrote: Yes just figured that out thank you. Initially it wasn't displaying, but I think that was because of an early bug which I already

Re: AW: can I lock screen over more than one handler?

2017-07-05 Thread Phil Davis via use-livecode
Did you try locking messages before setting the filename of the player? That could help. Phil Davis On 7/5/17 6:57 AM, Tiemo Hollmann TB via use-livecode wrote: Thanks Jonathan, Trevor and Sean for your comments. Meanwhile I could drill down my "flickering" problem (post from yesterday) to

Re: OT: Mandelbrot set deep dive

2017-06-30 Thread Phil Davis via use-livecode
After watching a couple minutes of this, I started getting light-headed and felt like I was going back to the late 60s. Phil Davis On 6/30/17 1:44 PM, Mark Wieder via use-livecode wrote: And while I'm posting off-topic subjects, here's a seriously deep dive into the Mandelbrot set.

Re: [ANN] Release 8.1.5 RC-1

2017-06-14 Thread Phil Davis via use-livecode
On 6/14/17 4:06 PM, Curry Kenworthy via use-livecode wrote: But on that subject, which I never imagined seeing here, I would advise males to pee in the most manly way possible TMI... for me it's triggering that scene in "About Schmidt". Moving on now. Phil -- Phil Davis

Re: clipsToRect property (was Re: Instantiaing Grouped Controls - Templates - Responsive)

2017-06-13 Thread Phil Davis via use-livecode
(The ? was meant to soften my suggestion, not to indicate that I'm not following - that's that's always a possibility) Phil On 6/13/17 3:11 PM, Phil Davis wrote: So it's about manually updating the rect vs. having it in an auto-update mode? Phil Davis On 6/13/17 3:01 PM, Devin Asay via

Re: clipsToRect property (was Re: Instantiaing Grouped Controls - Templates - Responsive)

2017-06-13 Thread Phil Davis via use-livecode
So it's about manually updating the rect vs. having it in an auto-update mode? Phil Davis On 6/13/17 3:01 PM, Devin Asay via use-livecode wrote: So far I’m kind of partial to Scott R’s “Persistent rect”. Conversely, it could be something like “Auto-update rect”, but then the checkbox would

Re: send mouseup to control

2017-05-24 Thread Phil Davis via use-livecode
Hi Al, I wonder if the "call" command could simplify things for you. (Probably not but I thought I would mention it.) Otherwise maybe put your mouseUp code in separate handlers outside of "mouseUp" so you can have more parameter options in their execution. Thanks - Phil Davis On 5/24/17

Re: Sort so that "Hello" is always before "hello"

2017-05-18 Thread Phil Davis via use-livecode
"set the caseSensitive to true" before sorting. Phil Davis On 5/18/17 10:10 AM, Kaveh Bazargan via use-livecode wrote: I have the following lines when a list of words is sorted: Hello hello Hello hello hello so there is no hierarchy between upper and lower case chars. I want caps to go

Re: Android Touchscreen Malfunction

2017-05-16 Thread Phil Davis via use-livecode
I assume flushEvents() isn't available for mobile? At least the 8.1.3 dictionary shows it is for desktop only. So would something like this work? local sTaskStatus, sTaskRequests on mouseUp send "doTask" to me in 0 seconds put the result & CR after sTaskRequests end mouseUp

Re: Wouldn't it be nice to have a "back/forward" button in script editor?

2017-05-11 Thread Phil Davis via use-livecode
Maybe show something like the executionContexts as a list in a palette, and be able to go back and forth to the referenced lines by clicking the lines? Phil Davis On 5/11/17 12:18 PM, J. Landman Gay via use-livecode wrote: On 5/11/17 2:09 PM, Richard Gaskin via use-livecode wrote: J.

Re: ANN: new team member

2017-05-11 Thread Phil Davis via use-livecode
Congratulations Ali! Is there a whisky fund where we can send donations? Phil Davis On 5/11/17 9:51 AM, Mark Wieder via use-livecode wrote: Word from the grapevine is that Ali Lloyd is the new father of a baby programmer. -- Phil Davis ___

Re: filter? replace? wildcard? reg exp? help please!

2017-05-09 Thread Phil Davis via use-livecode
There is probably an easier way, but this works: on mouseUp put "]" & field 1 into tText set the lineDelimiter to "[" set the itemDelimiter to "]" repeat for each line tLine in tText put item 2 to -1 of tLine after tNewText end repeat

Re: put x into URL... error on Windows network drive

2017-05-04 Thread Phil Davis via use-livecode
Is there any possibility that the network drive has spun down? I haven't tried it in recent versions of LC, but long ago I found I could get "the detailed files" of some folder on a sleeping drive and that would cause it to wake up! Food for thought - Phil Davis On 5/4/17 8:15 AM, Paul

Re: 8.1.4rc1 regressions

2017-05-03 Thread Phil Davis via use-livecode
Same experience here. Phil Davis On 5/3/17 8:02 AM, Bob Sneidar via use-livecode wrote: I can confirm that the script editor is buggy. If you try to close individual tabs, it borks the whole editor and no more tabs can be worked with. Scripts will not be editable and no more tabs can be

Re: User IP Address from LC Server?

2017-04-27 Thread Phil Davis via use-livecode
Hi Rick, I believe that would be found in $_SERVER["REMOTE_ADDR"] . Here is a simple way to see what's in the $_SERVER array: 1) Put the following code in a text file - I'll call it "globals.lc": " in tOutput put tOutput ?> 2) Upload the file to the folder on your LC server where

Re: mergEXT

2017-04-13 Thread Phil Davis via use-livecode
I just Googled "Blue-Bot uuid" maybe one of the Github links will point you in the right direction? Phil Davis On 4/13/17 9:05 AM, Richmond Mathewson via use-livecode wrote: I've just spend a fair time poking around the internet and cannot find an application that can give me the UUID

Re: Recording audio with LC on OSX?

2017-04-07 Thread Phil Davis via use-livecode
Hi Terry, If you don't mind using a command line app from within your LC app, you might try sox ( http://sox.sourceforge.net/ ). It is quite powerful and seems simpler to me than ffmpeg ( https://ffmpeg.org/) which I have also used from within LC. One of my apps uses sox to create voice

'effective' discovery

2017-03-21 Thread Phil Davis via use-livecode
In LC 8.1.3 I just discovered you can say: put the effective properties of control x into tPropsA and it gives you all the effective properties! I knew you could do it with individual props, but didn't know you could get all of them at once. It isn't documented. -- Phil Davis

Re: Translating escape sequence

2017-03-14 Thread Phil Davis via use-livecode
Maybe right after you import the JSON data, preprocess it with something like this: set the lineDelimiter to "\u" repeat for each line tLine in tJsonData put numToCodePoint("0x" & char 1 to 4 of tLine) & char 5 to -1 of tLine after tNewData end repeat put tNewData into tJsonData Then go

Re: [Long] Moving a REST request from Desktop to Server

2017-03-09 Thread Phil Davis via use-livecode
+1 Andre - curl is definitely your friend for simple LC-server to other server communication. I maintain a server app that uses it to interact with the Vimeo server. https://curl.haxx.se/docs/ Phil Davis On 3/9/17 9:11 AM, Andre Garzia via use-livecode wrote: Hi, I would shell() to curl

Re: AW: AW: AW: Trouble playing videos with MS DirectShow LC 8

2017-03-07 Thread Phil Davis via use-livecode
a dialog, but not on the other machines. Tiemo -Ursprüngliche Nachricht- Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im Auftrag von Phil Davis via use-livecode Gesendet: Dienstag, 7. März 2017 18:22 An: How to use LiveCode <use-livecode@lists.runrev.com> Cc

Re: AW: AW: Trouble playing videos with MS DirectShow LC 8

2017-03-07 Thread Phil Davis via use-livecode
If you pick the video file with a file dialog and set the filename of the player to "it", will it play then? If so, maybe you're having a path issue. Phil Davis On 3/7/17 8:51 AM, Tiemo Hollmann TB via use-livecode wrote: ... and as I mentioned, the videos play fine on all machines outside

Re: revZip functions, compressing and extracting folder for transfer

2017-03-04 Thread Phil Davis via use-livecode
Here is a sanitized version of a simple zip library stack I use in projects. It keeps me from having to get down into the nuts and bolts every time I want to zip a file: https://www.dropbox.com/s/t8z27p8cy5ir1v9/libZip.livecode?dl=0 HTH - Phil Davis On 3/4/17 9:25 AM, Matt Maier via

Re: SHA1 cracked .... What are the chances this will be addressed in LC?

2017-02-28 Thread Phil Davis via use-livecode
One thing I discovered just now: the items listed in the API tab of the Dictionary are not necessarily in alphabetic order by default. I discovered it by typing 'sh' into the Filter box and looking at the list, top to bottom. Things weren't where I expected them to be! After I clicked the

Re: SHA1 cracked .... What are the chances this will be addressed in LC?

2017-02-28 Thread Phil Davis via use-livecode
However, this works: put sha1Digest("dfgdfgdghgdhfgh") So we know it's there. FWIW - Phil Davis On 2/28/17 11:05 AM, Bob Sneidar via use-livecode wrote: I search for SHA in the dictionary, nada. I type sha1digest in to a script, right click it, nada. I type shaONEdigest in a script,

Re: The selectedText for controls without focus

2017-02-24 Thread Phil Davis via use-livecode
Don't ignore the autoHilite of a field. Dictionary says: Specifies whether a button highlights when it's pressed, or whether selected text in a field is highlighted. Phil Davis On 2/24/17 6:18 PM, Bob Sneidar via use-livecode wrote: Ok I've played with locked, traversalOn, and disabled and

Re: Community Dictionary (was Re: Delete element from array)

2017-02-24 Thread Phil Davis via use-livecode
Very nice! I think I'll start using it as my primary docs UI and see if there's anything I wish it had in addition. I love the simplicity of it. Phil Davis On 2/22/17 6:14 PM, Mike Kerner via use-livecode wrote: Everyone, Have a look at what Bernd has done. Again, the thread is

Re: on-rev "HTTP_UPGRADE_INSECURE_REQUESTS"

2017-02-22 Thread Phil Davis via use-livecode
certificates and be done with it. Bob S On Feb 21, 2017, at 18:30 , Phil Davis via use-livecode <use-livecode@lists.runrev.com> wrote: WHAT JUST HAPPENED? The desktop app I mentioned earlier is now (around 6:15 PM Pacific time) suddenly no longer blowing up during login, and its normal spee

Re: on-rev "HTTP_UPGRADE_INSECURE_REQUESTS"

2017-02-21 Thread Phil Davis via use-livecode
' is still turned on. Whatever magical thing happened, I'm very grateful. But I sure would like to know what it was so I can tell my client. Thanks - Phil On 2/21/17 3:07 PM, Phil Davis via use-livecode wrote: Thanks Bob - at least there are plenty of straws to go around. Guess I'll stop guessing

Re: on-rev "HTTP_UPGRADE_INSECURE_REQUESTS"

2017-02-21 Thread Phil Davis via use-livecode
, at 14:33 , Phil Davis via use-livecode <use-livecode@lists.runrev.com> wrote: Hi folks, Today I got back to my office after a long weekend to find that a desktop app I support, which was working fine last week, is blowing up during a server login process. It's trying to log into a

on-rev "HTTP_UPGRADE_INSECURE_REQUESTS"

2017-02-21 Thread Phil Davis via use-livecode
Hi folks, Today I got back to my office after a long weekend to find that a desktop app I support, which was working fine last week, is blowing up during a server login process. It's trying to log into a system that runs on an on-rev server. Looking at the server globals, I notice this one:

Re: Windows and OSX 64-bit builds?

2017-02-10 Thread Phil Davis via use-livecode
Your labels are one order of magnitude off the actual values, Bob. Say it with me: 1,024,000,000 BYTES is "one billion bytes" (and change, depending on whose standard you use). Of course one billion bytes is a gigabyte. Same with the labeling of 1,024,000 BYTES = 1000kb = a megabyte, not a

Re: fontNames

2017-02-03 Thread Phil Davis via use-livecode
A masterful explanation! Thanks Fraser - Phil On 2/3/17 7:20 PM, Fraser Gordon via use-livecode wrote: On 2017-02-03 21:03, Phil Davis via use-livecode wrote: I'm currently fiddling around with fonts. I see that the list returned by 'the fontNames' contains some 'placeholder' values, namely

Re: fontNames

2017-02-03 Thread Phil Davis via use-livecode
Hi Craig, Maybe those new 'fonts' debuted in LC 7. I see what you're talking about in LC 6.7.10, then in 8.0.2 I see the additional ones. I don't have LC 7 installed anywhere and don't want to take the time, and none of the release notes for 6 / 7 / 8 mention it (that I can see), so... guess

fontNames

2017-02-03 Thread Phil Davis via use-livecode
I'm currently fiddling around with fonts. I see that the list returned by 'the fontNames' contains some 'placeholder' values, namely these: (Default) (Menu) (Message) (Styled Text) (System) (Text) (Tooltip) Is there a way to find out what font is used when a field's

Re: fontLanguage()

2017-01-31 Thread Phil Davis via use-livecode
(dp 4).app Paul p...@livecode.org Mac OS Sierra 10.12.3 On Jan 30, 2017, at 8:56 PM, Phil Davis via use-livecode <use-livecode@lists.runrev.com> wrote: Hi folks, In LC 8.1.2 I have checked 'the fontLanguage' of all my installed fonts and get nothing but 'ansi', even for my Arabic

fontLanguage()

2017-01-30 Thread Phil Davis via use-livecode
Hi folks, In LC 8.1.2 I have checked 'the fontLanguage' of all my installed fonts and get nothing but 'ansi', even for my Arabic fonts. In some previous version of LC my experience was different - guess I'll go digging and see what I find. Does anyone have different outcomes with

Re: Delete element from array

2017-01-24 Thread Phil Davis via use-livecode
delete variable tMyArray["this key"] On 1/24/17 6:54 PM, Sannyasin Brahmanathaswami via use-livecode wrote: how do you remove a key from an array? ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe,

Re: Using LC server to check for existence of mp3 on our web server?

2017-01-22 Thread Phil Davis via use-livecode
Hi Tim, Here is a very simplistic way of checking for a file on your server. It assumes your mp3 files are in a 'programs' folder that resides in the 'document root' folder. This script as it is here would be in a .lc file on your server. You pass it a filename in the url and it tells you if

Re: Exit without quitting

2017-01-18 Thread Phil Davis via use-livecode
Hi Bob, What happens in a standalone if you just "exit " instead of "exit to top" ? Of course that could cause problems in some contexts. Phil Davis On 1/18/17 4:20 PM, Bob Sneidar via use-livecode wrote: That is to say, it QUITS the app. BTW this "feature" is not documented. If it's not

Re: LC Server & Server Based Stack?

2017-01-08 Thread Phil Davis via use-livecode
Hi Mike, It sounds like you're talking about things that apply when your server stack is used in a long-running LC process. If you run in CGI mode, you don't have to deal with some of those things (like figuring out when to reload a stack). Personally I'm glad the on-rev default is CGI mode.

Re: LC Server & Server Based Stack?

2017-01-08 Thread Phil Davis via use-livecode
On 1/8/17 12:12 PM, Stephen Barncard via use-livecode wrote: stacks are great with LC server. For instance, one can use custom properties and libraries just by 'start using' that stack. I'm not sure about fields but I think they are accessible too. And one can test and edit everything 'on the

Re: Where LC store preferences in Windows 10?

2017-01-08 Thread Phil Davis via use-livecode
Hi Andre, Might the prefs be in the registry instead? (Seems unlikely, but just trying to cover all possibilities) Phil Davis On 1/8/17 11:24 AM, Andre Garzia via use-livecode wrote: Hey Friends, Just a crash on my surface yesterday and now LC doesn't launch. Removed all the dozen

<    1   2