Write to file at end

2017-01-19 Thread Bob Sneidar via use-livecode
Hi all. Given code snippet: open file "Forms Generator 8 Crash Log.txt" for write write formatDate(the date, "sql date") && formatTime(the long time, "sql time") & cr \ to file "Forms Generator 8 Crash Log.txt" at end write tContexts & cr to file "Forms Generator 8 Crash Log.txt" at end close

Re: Engine Performance across Versions

2017-01-19 Thread Bob Sneidar via use-livecode
If you get around to it try one for Save As Standalone times. If I manually configure included libraries, LC 8.1.2 kicks some royal bahinca over earlier versions. Bob S On Jan 19, 2017, at 07:46 , Curry Kenworthy via use-livecode

Alternative to Caller

2017-01-19 Thread Bob Sneidar via use-livecode
Hi all. I know about the Caller property, which holds the name of the handler that called the current one. I notice however in the script debugger that it has a popup menu of every handler back to the beginning. What I need is a way to discern what that list is, and the line numbers of each

Re: Alternative to Caller

2017-01-19 Thread Bob Sneidar via use-livecode
Whoops! Caller is not a property. I guess I don't know. Bob S On Jan 19, 2017, at 08:23 , Bob Sneidar via use-livecode <use-livecode@lists.runrev.com<mailto:use-livecode@lists.runrev.com>> wrote: Hi all. I know about the Caller property, which holds the name of the handler

Re: Alternative to Caller

2017-01-19 Thread Bob Sneidar via use-livecode
Found it! ExecutionContexts! Bob S On Jan 19, 2017, at 08:29 , Bob Sneidar <bobsnei...@iotecdigital.com<mailto:bobsnei...@iotecdigital.com>> wrote: Whoops! Caller is not a property. I guess I don't know. Bob S On Jan 19, 2017, at 08:23 , Bob Sneidar via use-livecode &

Re: Script Editor fixable? (was: Configuring a Sublime Text project to notify LiveCode IDE about updates to script only stacks)

2017-02-28 Thread Bob Sneidar via use-livecode
Well in this context, Sardines is definitely out. Bob S > On Feb 26, 2017, at 05:24 , Simon Knight via use-livecode > wrote: > > I try and follow these threads but please take care with the use of > abbreviations / acronyms. Some I’ve worked out others I’ve

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

2017-02-28 Thread Bob Sneidar via use-livecode
Thanks for that Peter! I've been thinking about a way to encrypt data for storage in database systems for things like passwords and server credentials. Now to figure out how to decrypt it... Bob S > On Feb 27, 2017, at 02:49 , Peter TB Brett via use-livecode >

Re: The selectedText for controls without focus

2017-02-28 Thread Bob Sneidar via use-livecode
For that matter I could just check the status of the "state" property (view | new | edit) to allow/disallow editing. Not saying there are not workarounds. I just think that LC should work like virtually every other forms based app I've ever used, where being editable is not a prerequisite for

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

2017-02-28 Thread Bob Sneidar via use-livecode
err... This does not work. I cannot find a function called sha1digest in the LC library. Bob S > On Feb 27, 2017, at 02:49 , Peter TB Brett via use-livecode > wrote: > > Or, in LiveCode: > >function HmacSha1(pKey, pData) >return sha1digest(pKey &

Re: Script Editor fixable? (was: Configuring a Sublime Text project to notify LiveCode IDE about updates to script only stacks)

2017-02-28 Thread Bob Sneidar via use-livecode
Only in hushed whispers. Bob S > On Feb 27, 2017, at 01:40 , Simon Knight via use-livecode > wrote: > > Thanks for the decode - I did wonder why the forerunner of the CIA was being > talked about ;-) > > OSS - Office of Strategic Services > > Simon > >

Re: FTP file upload with non-ascii characters in filename

2017-02-28 Thread Bob Sneidar via use-livecode
Is the need because the files already exist, or is it because you cannot control the source of the files? If possible, the files should probably be renamed on the other end to make them "compatible" with all file systems. If not, then maybe urlEncode/urlDecode or the ISO functions may work for

Re: Dragging widgets

2017-02-28 Thread Bob Sneidar via use-livecode
oh contraire. Not all images are the same. Support for each kind of image has to be implemented. If the industry developed a new kind of image, LC would be faced with incorporating that format. Bob S > On Feb 28, 2017, at 07:14 , Sannyasin Brahmanathaswami via use-livecode >

Re: The selectedText for controls without focus

2017-02-28 Thread Bob Sneidar via use-livecode
Richard that script snippet actually helped me solve a different problem. I remember now why I was using traversalOn instead of lockText. I have certain fields I do not want users to edit, so I set the lockText to true. I then have a handler called enableForm that enables every field and button

Re: Is it just the IDE that crashes, or are standalone at risk?

2017-02-28 Thread Bob Sneidar via use-livecode
My IDE was "crashing" but I traced it to an obscure infinite loop I inadvertently created, by creating a handler, which triggered something in a datagrid behavior which automatically called the original handler. It was a beatch to find. I believe that LC may detect these infinite loops (by the

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

2017-02-28 Thread Bob Sneidar via use-livecode
NVM I'm a moron. It's there but I overlooked it. Bob S > On Feb 28, 2017, at 12:27 , Richard Gaskin via use-livecode > wrote: > > I had written "shaONEdigest" only to draw attention to the "1" ("ONE"), just > in case you'd tried "l" ("L") instead. > > It's

Re: Dragging widgets

2017-02-28 Thread Bob Sneidar via use-livecode
As to that, everything you do on a computer, INCLUDING typing code, is an illusion. A DOS prompt is an illusion in it's own right. So is a light bulb on a panel that was turned on by some signal from a computing device. All a computer can really do is move numbers from one register to another

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

2017-03-01 Thread Bob Sneidar via use-livecode
Hi Peter. Very informative thank you. In the example, [protected form] = [salt] + protect([protection func], [salt] + [credential]); It looks like they are saying to prepent the salt prior to the protect function (in the case of LC that would be encrypt) but if someone got access to the SQL

Re: Dragging widgets

2017-03-01 Thread Bob Sneidar via use-livecode
Read the post I was responding to. Richmond seemed to be making the point that the GUI of Livecode presented an illusion to the end user that they were working with a "real" app. As I said, I may have misconstrued his meaning, but that was what it seemed like he was saying. Bob S > On Mar

Re: Apple, Developer Certificates, Provisioning Profiles

2017-02-27 Thread Bob Sneidar via use-livecode
Huh. I always thought CN meant Canonical Name. Bob S > On Feb 26, 2017, at 18:21 , Mark Wieder via use-livecode > wrote: > > Required reading. > > There's a lot to read here, and for once, the comments (also written by > AgileBits devs) are at least as

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

2017-02-28 Thread Bob Sneidar via use-livecode
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, right click it, nada. Bob S > On Feb 28, 2017, at 09:33 , Richard Gaskin via use-livecode > wrote: > > Bob Sneidar wrote: > > >

Re: Signing Problems

2017-01-10 Thread Bob Sneidar via use-livecode
And I have heard also expensive, which explains why some vendors do not bother. Bob S On Jan 9, 2017, at 19:17 , William Prothero via use-livecode > wrote: Folks: Never mind…. Signing is such a pain.

Re: Documentation on Dispatch

2017-01-10 Thread Bob Sneidar via use-livecode
A perhaps better way is to put all your functions that you want to call "remotely" in a button or a script only stack and when you first open your stack insert the script of into front or back. One thing to keep in mind however is scoping. "this" for example refers to the object which called

Re: Array Properties in a Standalone

2017-01-11 Thread Bob Sneidar via use-livecode
I was a few beers in when I wrote this. Upon thinking about this, what is actually happening is that every stack becomes it's own mainstack in a standalone. I think what I will do then is declare a constant with the name of what I am calling the mainstack when I first launch it. Then I can

Re: Documentation on Dispatch

2017-01-10 Thread Bob Sneidar via use-livecode
I use this ALL the time. sqlYoga uses special arrays for Record Objects, and the elements of one of these arrays can *only* be modified using the sqlrecord_set command. Because of this, I need to pass these record objects by reference to update them correctly. Very handy. Bob S On Jan 10,

Array Properties in a Standalone

2017-01-10 Thread Bob Sneidar via use-livecode
Ooookaaay. In the IDE I can set a property of the mainstack (not the Splash Stack mind you that I use to "shell" the application) to an array. When I retrieve that property and access a key of that array, all is well. HOWEVER... when I compile to a standalone, that key is apparently

Re: Array Properties in a Standalone

2017-01-10 Thread Bob Sneidar via use-livecode
rev.com<mailto:use-livecode@lists.runrev.com>> wrote: On 11 Jan 2017, at 2:24 pm, Bob Sneidar via use-livecode <use-livecode@lists.runrev.com<mailto:use-livecode@lists.runrev.com>> wrote: Ooookaaay. In the IDE I can set a property of the mainstack (not the Splash S

Array Properties in a Standalone

2017-01-10 Thread Bob Sneidar via use-livecode
Ooookaaay. In the IDE I can set a property of the mainstack (not the Splash Stack mind you that I use to "shell" the application) to an array. When I retrieve that property and access a key of that array, all is well. HOWEVER... when I compile to a standalone, that key is apparently

Re: Array Properties in a Standalone

2017-01-10 Thread Bob Sneidar via use-livecode
First let me say that the 8.1.2 compile time is orders of magnitude improved! WOW what a difference. It was taking me 20 minutes to save as standalone, now it's under a minute. AWESOME! Now on to my tests. Okay I see what is happening. In the IDE the mainstack of a substack is the actual

Re: Array Properties in a Standalone

2017-01-12 Thread Bob Sneidar via use-livecode
12:13 , J. Landman Gay via use-livecode <use-livecode@lists.runrev.com<mailto:use-livecode@lists.runrev.com>> wrote: On 1/12/17 12:25 PM, Bob Sneidar via use-livecode wrote: Even though in the standalone settings I have the option to save substacks as individual stacks unchecked, it does i

Re: Array Properties in a Standalone

2017-01-12 Thread Bob Sneidar via use-livecode
Hi Jacque. As I mentioned, I created a custom property called pIncrement. Each time I launch the app, I increment this property by 1 then write it out to a log file. The log file indicates that the property IS getting written to and saved. I understand that I cannot write to an executable

Re: Array Properties in a Standalone

2017-01-13 Thread Bob Sneidar via use-livecode
Oh good to know Mark. In my case this for internal consumption only, but if I do distribute an app based on the framework of utility functions and commands I have built up over the years, I can see I will have to address that. Bob S On Jan 12, 2017, at 14:22 , Mark Talluto via use-livecode

Re: Documentation on Dispatch

2017-01-13 Thread Bob Sneidar via use-livecode
That can only be an element of an array. Without the preceding array name, it will not compile. Bob S On Jan 12, 2017, at 21:11 , Sannyasin Brahmanathaswami via use-livecode > wrote: [var] # value inside square braces…

Re: Array Properties in a Standalone

2017-01-12 Thread Bob Sneidar via use-livecode
stack without redistributing the whole app all over again. Something to think about. Bob S On Jan 11, 2017, at 18:43 , Mark Wieder via use-livecode <use-livecode@lists.runrev.com<mailto:use-livecode@lists.runrev.com>> wrote: On 01/11/2017 04:30 PM, Bob Sneidar via use-livecode w

Re: Array Properties in a Standalone

2017-01-11 Thread Bob Sneidar via use-livecode
constant? I think I know the answer, but I thought I'd ask. Bob S > On Jan 11, 2017, at 07:09 , Bob Sneidar via use-livecode > <use-livecode@lists.runrev.com> wrote: > > > > I was a few beers in when I wrote this. Upon thinking about this, what is > actually ha

Re: Problem building standalone

2017-01-05 Thread Bob Sneidar via use-livecode
Interesting you should say that. I presently cannot build a standalone. Examination of the package indicates that the mainstack in the bundle is Zero K! I am going to try supressing messages and see if that helps. Bob S > On Jan 4, 2017, at 18:02 , Dr. Hawkins wrote: > >

Re: OK, the list *really* needs to be fixed

2017-01-05 Thread Bob Sneidar via use-livecode
And visible on the list. BTW you *are* using plain text for your email format? I have been bounced because I had rich text formatting or HTML or an attachment before. Not sure if "hold for moderator" is the same as a bounce tho'. Bob S > On Jan 5, 2017, at 14:18 , Stephen Barncard via

Re: OK, the list *really* needs to be fixed

2017-01-05 Thread Bob Sneidar via use-livecode
Stupid Spell Correct!!! Bob S On Jan 5, 2017, at 14:05 , Stephen Barncard via use-livecode > wrote: SHH! Nobody answer! Just don't call me 'barnyard' please. -- Stephen Barncard - Sebastopol Ca. USA -

Re: OK, the list *really* needs to be fixed

2017-01-05 Thread Bob Sneidar via use-livecode
Might have been a new email client. I dunno. Bob S > On Jan 5, 2017, at 14:23 , Stephen Barncard via use-livecode > <use-livecode@lists.runrev.com> wrote: > > On Thu, Jan 5, 2017 at 2:21 PM, Bob Sneidar via use-livecode < > use-livecode@lists.runrev.com> wrote: &g

Re: Problem building standalone

2017-01-05 Thread Bob Sneidar via use-livecode
what happens. I have never been able to compile beyond 8.0.2. Bob S > On Jan 5, 2017, at 07:51 , Bob Sneidar via use-livecode > <use-livecode@lists.runrev.com> wrote: > > Interesting you should say that. I presently cannot build a standalone. > Examination of

CTD Possible Cause

2017-01-09 Thread Bob Sneidar via use-livecode
Hi all. I have been haunted by an off Crash To Desktop issue when working with data grids. I think I have isolated the circumstances under which it is happening, but I wanted to run this by the list in case anyone else was seeing it. First, I have a datagrid that contains a lot of records,

Re: Changes to use-livecode list.

2017-01-06 Thread Bob Sneidar via use-livecode
-1 I plead with Heather to NOT reverse this recent change! Cmon, no one sees that people getting bounced is MUCH WORSE than the inconvenience of what your from address looks like?? Bob S > On Jan 6, 2017, at 04:29 , Alex Tweedly via use-livecode > wrote: > >

Re: TS Net for Indy vs Business

2017-01-06 Thread Bob Sneidar via use-livecode
Exactly what I was thinking when I read it. My greatest aprehension in using Livecode is that one day it will be gone, and I will have to learn to use C++ or Objective C, which is to say I will have to give up software development. I'm not really sure how they stay afloat as is, but as I

Re: [ANN] tinyDictionary

2017-03-23 Thread Bob Sneidar via use-livecode
Just one problem. I didn't write that. Bob S > On Mar 23, 2017, at 13:33 , BNig via use-livecode > <use-livecode@lists.runrev.com> wrote: > > Bob Sneidar via use-livecode wrote >> Then please also make sure to submit this to Edinburgh. I want this to be &

Re: DragDrop makes windows unresponsive OS X

2017-03-24 Thread Bob Sneidar via use-livecode
Here is a handler in a field script. The exit to top is necessary because of the issue. The source can be an email from the Mail app, or it can be text from an OCR'd PDF. The CleanASCII function is necessary because Acrobat will insert non-printing characters for what reason I do not know, that

Re: just some cool stuff

2017-03-27 Thread Bob Sneidar via use-livecode
My spam filter must have caught it because I have no idea what any of you are talking about. Bob S > On Mar 26, 2017, at 18:15 , Stephen Barncard via use-livecode > wrote: > > my gmail spam filters caught it first time. > gmail rocks. > > -- > Stephen

Re: where does the standalonebuilder saves the substacks in an Mac OS App?

2017-03-27 Thread Bob Sneidar via use-livecode
To my understanding, it's a requirement in accordance with Apple's sandboxing policies, if you want an executable to be able to make changes to files inside the executable bundle. The way it's supposed to work, no application is allowed to write or modify anything in the old location where the

Re: where does the standalonebuilder saves the substacks in an Mac OS App?

2017-03-28 Thread Bob Sneidar via use-livecode
Is it a library that will not be edited programmatically at runtime? If not, then that is the place it belongs. Bob S > On Mar 28, 2017, at 06:07 , Tiemo Hollmann TB via use-livecode > wrote: > > Creating a standalone on MacOS 10.12 with LC 8.1.3, LiveCode

Re: Line numbers for soft-wrapped styled text?

2017-03-27 Thread Bob Sneidar via use-livecode
Yeah I was thinking the same thing. textChanged triggers a handler that reformats the text every time. In essence, you are doing what a word processor would do. Bob S > On Mar 25, 2017, at 09:07 , Mark Wieder via use-livecode > wrote: > > I looked into that

Re: iOS SDK Question

2017-03-24 Thread Bob Sneidar via use-livecode
It was explained to me that when the license expires, I would be unable to use the indy license for existing installations of Livecode, which shocked me as this was a departure from prior policy, but that horse has been beaten despite it's lifeless condition. I might be mistaken. It may only

Re: DragDrop makes windows unresponsive OS X

2017-03-24 Thread Bob Sneidar via use-livecode
No, because the problem apparently happens AFTER the text is placed. Everything works, I just cannot manipulate any controls until I either move the window or select something ANYTHING, even a different program (window loses focus). Bob S > On Mar 24, 2017, at 14:02 , Dr. Hawkins via

Re: DragDrop makes windows unresponsive OS X

2017-03-24 Thread Bob Sneidar via use-livecode
Interesting. I added the exit to top yesterday because it seemed to fix the responsiveness problem. It has been working without exit to top and pass dragdrop of over 2 years. I think it's because I am not acually allowing the drop to happen, but rather intercepting it, getting the dragData

Re: DragDrop makes windows unresponsive OS X

2017-03-24 Thread Bob Sneidar via use-livecode
Whoops! Spoke too soon. Still makes the window unresponsive. Apparently the problem is intermittent. But it also looks like exit to top without allowing the drop is the only reliable solution. Bob S > On Mar 24, 2017, at 13:33 , Bob Sneidar via use-livecode > <use-livecode@lists.r

Re: DragDrop makes windows unresponsive OS X

2017-03-24 Thread Bob Sneidar via use-livecode
the condition I do not know. Bob S > On Mar 24, 2017, at 14:34 , J. Landman Gay via use-livecode > <use-livecode@lists.runrev.com> wrote: > > Try the "send" method then, which updates the text after the drop. > > On 3/24/17 3:47 PM, Bob Sneidar via use-livecode wrote

Re: DragDrop makes windows unresponsive OS X

2017-03-24 Thread Bob Sneidar via use-livecode
I'll give that a go. Bob S > On Mar 24, 2017, at 14:50 , J. Landman Gay via use-livecode > wrote: > > The theory is that something is interfering with the drop, so altering the > text after the drop completes might fix it. Could be a bug, but using "send" >

Re: Object Selection Handles

2017-03-29 Thread Bob Sneidar via use-livecode
Actually, I really appreciate Adobe Illustrator's object properties dialog. Sometimes I LIKE being able to define an object's dimensions by typing in coordinates. CAD designers do this all the time. Of course, advanced features like snap to point make this mostly obsolete, but if you need a

Re: shell("netstat -i") has getting slow on MacOS10.x

2017-03-30 Thread Bob Sneidar via use-livecode
oic you are getting the mac addresses of the network adapters attached to your device. Bob S > On Mar 30, 2017, at 07:39 , Bob Sneidar via use-livecode > <use-livecode@lists.runrev.com> wrote: > > I suppose it would depend on how many IP addresses are in your ar

Re: Extra Title Bar in All Stacks

2017-03-30 Thread Bob Sneidar via use-livecode
Or alternatively, you could turn it off for yourself. Everybody wins! Bob S > On Mar 29, 2017, at 20:21 , Sannyasin Brahmanathaswami via use-livecode > wrote: > > "System wide" ?? I tried a dozen different apps, include Apple's own Pages, > Numbers and Notes

Re: shell("netstat -i") has getting slow on MacOS10.x

2017-03-30 Thread Bob Sneidar via use-livecode
I suppose it would depend on how many IP addresses are in your arp table. If you are retrieving mac addresses, that is the only place it can get them. netstat is not going out on the network and checing every network device. Bob S > On Mar 30, 2017, at 04:57 , Tiemo Hollmann TB via

Re: Transparent Images in LC

2017-03-30 Thread Bob Sneidar via use-livecode
I use transparent PNG's all over my app and do not have that issue. It may be the PNG is protected in some way. I can send you one of my PNG's to test with to see if you get the same problem with them. Bob S > On Mar 30, 2017, at 10:16 , Paul Dupuis via use-livecode >

Re: shell("netstat -i") has getting slow on MacOS10.x

2017-03-30 Thread Bob Sneidar via use-livecode
That works great for the default adapter. I think Tiemo is looking for a way to enumerate ALL adapter mac addresses. I have like 24 entries using netstat. Some are ipv6 addresses, others ipv4, and still others have no mac address at all. Of course I am using Parallels and have 2 physical

New Iteration of cleanASCII

2017-03-22 Thread Bob Sneidar via use-livecode
Hi all. A while back I wrote a function that would remove all characters from a string except for 0-9, a-z, and A-Z. I have updated it to also include an arguement for other allowed characters, and true or false for line breaks and or carriage returns. Note the code below. What I need is a

Re: New Iteration of cleanASCII

2017-03-23 Thread Bob Sneidar via use-livecode
Probably a typo. Bob S > On Mar 23, 2017, at 07:23 , Tiemo Hollmann TB via use-livecode > wrote: > > Hi Bob, nice function. > Just for my interest, what is the function of the leading "break" in the > switch control structure? It doesn't seem to bother, but

Re: New Iteration of cleanASCII

2017-03-23 Thread Bob Sneidar via use-livecode
I had a condition there I didn't need (there) so I moved it but forgot to delete the break. Bob S > On Mar 23, 2017, at 07:23 , Tiemo Hollmann TB via use-livecode > wrote: > > Hi Bob, nice function. > Just for my interest, what is the function of the leading

Re: New Iteration of cleanASCII

2017-03-22 Thread Bob Sneidar via use-livecode
cleanASCII(pString, pModeList, pCustomChars) Belay my last. I refactored the whole thing to be much more robust. Pass a string, a modelist and a custom list. This will act as a simple regex character filter for any string you pass it. (Great for filtering out hidden/non-printing characters!)

Re: Blowfish digest , how to create in Livecode

2017-03-28 Thread Bob Sneidar via use-livecode
NVM I know, it's "put it" Bob S > On Mar 28, 2017, at 19:27 , Bob Sneidar wrote: > > This in message box: > put "this is a test" into pPayload;encrypt pPayload using "bf" with password > "testing" at 128 bit;put pPayload > produces: > this is a test > > No

Re: Blowfish digest , how to create in Livecode

2017-03-28 Thread Bob Sneidar via use-livecode
This in message box: put "this is a test" into pPayload;encrypt pPayload using "bf" with password "testing" at 128 bit;put pPayload produces: this is a test No Bueno. Bob S > On Mar 28, 2017, at 08:21 , Dave Kilroy via use-livecode > wrote: > > encrypt

Re: Object Selection Handles

2017-03-28 Thread Bob Sneidar via use-livecode
The software should allow you to select the handle of the foreground object if only one is selected, and if multiple objects are selected, the nearest neighbor to your click point. If anchors are so close as to conflict, you should be able to zoom in. I think this is a non-issue. Bob S > On

Re: LiveCode's handling of Unicode glyphs being dependent on the underlying OS

2017-03-28 Thread Bob Sneidar via use-livecode
What is an LC 475? Do you mean an Apple Performa? Bob S > On Mar 28, 2017, at 10:41 , Richmond Mathewson via use-livecode > wrote: > > LC 475 running system 7.1. ___ use-livecode mailing list

DragDrop makes windows unresponsive OS X

2017-03-24 Thread Bob Sneidar via use-livecode
Hi all. Might just be me. I drag drop text onto a field with a dragdrop handler that essentially puts the drag data ["text"] into itself. Doing so with 8.1.3 seems to cause the window to become unresponsive, that is none of the controls work. I cannot click in fields, tab around, click

Re: SFTP with .PPK file

2017-03-17 Thread Bob Sneidar via use-livecode
Looks like it DOES need the public key after all. I thought that was the way SSH worked. I was surprised when you said TSNet doesn't need the public key. Bob S > On Mar 17, 2017, at 06:36 , Stephen MacLean via use-livecode > wrote: > > SSH public key

Re: OT: SQL Integer Math not working

2017-03-20 Thread Bob Sneidar via use-livecode
NVM. The solution was to first set the result column to signed, then cast the start and end mileage to signed. Turns out one of my techs does not get the concept that when a dialog pops up telling him that he cannot have negative mileage, it doesn't occur to him, "... and therefore I've made an

OT: SQL Integer Math not working

2017-03-20 Thread Bob Sneidar via use-livecode
Hi all. I have 3 columns all defined as INT(10) unsigned default 0. I attempt this sql statement: update service set totalmileage = endmileage - startmileage I get the error: Error Code: Error Code: 1690. BIGINT UNSIGNED value is out of range in '(`formsgen`.`service`.`endmileage` -

Re: OSX module file error when building standalone with LC 8 on mac

2017-03-15 Thread Bob Sneidar via use-livecode
I dunno, but I do notice that when compiling (I call creating a standalone "compiling" because it takes less effort to type) the standalone builder "actually opens" stack files. I know this because I have handlers which, upon opening the mainstack for the first time, opens a substack I use for

Re: Scrolling Menu

2017-03-20 Thread Bob Sneidar via use-livecode
I seem to remember in the past that I could set the label of a button, then set the htmlText of a character to some html code, and was able to get that to work. I may be misremembering. Bob S > On Mar 19, 2017, at 23:23 , J. Landman Gay via use-livecode >

Re: Translating escape sequences

2017-03-15 Thread Bob Sneidar via use-livecode
Sounds like a mob hit. :-) Bob S > On Mar 15, 2017, at 13:16 , Richmond Mathewson via use-livecode > wrote: > > Just knock off the last 3, and what is left is what you want. > > Richmond. ___ use-livecode mailing

Re: Cheesed off by 32xxx

2017-04-03 Thread Bob Sneidar via use-livecode
The short version: Datagrid GOOD! Bob S > On Apr 2, 2017, at 23:58 , Mark Waddingham via use-livecode > wrote: > > On 2017-04-02 19:07, Richmond Mathewson via use-livecode wrote: >> The problem, such as it is, is that the Unicode specifications have >> 128

Re: when is LC 8.1.4 to be expected?

2017-04-03 Thread Bob Sneidar via use-livecode
You should have given him the standard response: "Two Weeks" Bob S > On Apr 3, 2017, at 02:55 , panagiotis merakos via use-livecode > wrote: > > Hi Tiemo, > > This is just an off_the_record_rumor: > > We would like/expect to release 8.1.4 RC-1 within this

Re: Cheesed off by 32xxx

2017-04-03 Thread Bob Sneidar via use-livecode
:-D > On Apr 2, 2017, at 18:23 , Curry Kenworthy via use-livecode > wrote: > > Channeling Sensei again for fun - Does man with million chopsticks line them > all side by side, only one layer deep? He need very big custom table, very > expensive, no more bamboo

Re: Negative Numbers and NumberFormat

2017-04-04 Thread Bob Sneidar via use-livecode
Really? Then why does : set the numberformat to 0.0;put -.1 + 0 result in -0.1 ? Bob S > On Apr 3, 2017, at 16:55 , hh via use-livecode > wrote: > >> You should rather say the number format determines the num of DIGITS. > > That's what you wish to have (good

Embed HTML in email

2017-04-04 Thread Bob Sneidar via use-livecode
Hi all. I am trying to compile some basic table data and create an email with that table in the body, however, I am running into the whole tab stop issue where any data that extends beyong the default tab stop causes all the "columns" to move to the right. So I thought I would try to embed

Re: tsNet docs?

2017-04-04 Thread Bob Sneidar via use-livecode
I have a need to allow a user to select the folder they want to save filled form to. I want the default to be ~/Documents/Installs but of course that folder may not be created yet. So what I do is I create the folder before popping the selection dialog, then if the user selects another folder,

Negative Numbers and NumberFormat

2017-04-03 Thread Bob Sneidar via use-livecode
Was anyone aware that the sign takes up one of the digital in number format? For instance, set the numberformat to "00";put -1 +0 & ":" & 0 +0 & ":" & 0 +0 returns: -1:00:00 but set the numberformat to "00";put -12 +0 & ":" & 0 +0 & ":" & 0 +0 returns: -12:00:00 Does no one else find that

Re: "System" font on Mac - diff between LC 8 and LC 9??

2017-04-12 Thread Bob Sneidar via use-livecode
Seems this is undesirable as a rule. What I do is set the font, size and style of the STACK to something, and then if I want the control to match the default of the stack, I set font size and style to empty. Bob S On Apr 11, 2017, at 20:14 , James Hale via use-livecode

Re: Negative Numbers and NumberFormat

2017-04-06 Thread Bob Sneidar via use-livecode
I've created a monster. All the more reason to depricate numberformat and go with some kind of formatNumber() function like Excel has. I'll have a go today sometime. Bob S > On Apr 5, 2017, at 17:27 , Paul Dupuis via use-livecode > wrote: > > On 4/5/2017

Re: Negative Numbers and NumberFormat

2017-04-06 Thread Bob Sneidar via use-livecode
I already have some functions for formatting numerical values I can submit for review. formatDate() is already in the masterLibrary. function formatMoney theValue -- strip out monetary symbols replace "$" with empty in theValue replace "¢" with empty in theValue switch case

Re: Negative Numbers and NumberFormat

2017-04-06 Thread Bob Sneidar via use-livecode
put format("00:00:00", "9:50:00") produces 00:00:00. put format("##:##:##", "9:50:00") produces ##:##:##. put format("nnn.nnn.nnn.nnn", "192.168.1.1") produces nnn.nnn.nnn.nnn Point being, format is great for formatting NUMBERS, not converting truncated numeric values in between delimiters or

Re: Negative Numbers and NumberFormat

2017-04-06 Thread Bob Sneidar via use-livecode
Oh that is interesting. Each number has to be a separate argument. That is something I did not glean from reading the docs a while back. Bob S On Apr 6, 2017, at 14:26 , Paul Dupuis via use-livecode > wrote: put

Re: for you language experts

2017-04-05 Thread Bob Sneidar via use-livecode
I Spent an hour memorizing the syntax and now it seems it's a joke?? Bob S > On Apr 4, 2017, at 13:59 , Colin Holgate via use-livecode > wrote: > > This may amuse you: > > http://lolcode.org > > ___ > use-livecode

Re: Negative Numbers and NumberFormat

2017-04-05 Thread Bob Sneidar via use-livecode
Never mind. Bob S > On Apr 4, 2017, at 13:12 , hh via use-livecode > wrote: > Bob S. wrote: You should rather say the number format determines the num of DIGITS. >>> hh wrote: >>> That's what you wish to have (good idea). But it's not like that,

Re: HyperCard on your current Macintosh computer

2017-04-05 Thread Bob Sneidar via use-livecode
Same here. I wish I still had all those old 800k floppy disks. I had some great apps on them. I wrote a Monopoly game once when Hypercard was only black and white! That was a trick. It was buggy, but it worked right up until you tried to collect money for someone landing on your property. The

Re: this stack gets every closeStack message

2017-04-05 Thread Bob Sneidar via use-livecode
the executionContexts Bob S On Apr 4, 2017, at 19:22 , Matt Maier via use-livecode > wrote: I'm not aware of a way to "trace" where a message has been and the keywords I can think of aren't turning up anything promising in the

Re: Negative Numbers and NumberFormat

2017-04-05 Thread Bob Sneidar via use-livecode
And here is an oddity again. In the dictionary, there is no mention of spaces or any other character besides "0.#" being valid in a numberformat string, but: set the numberformat to " 00";put -09+0 & ":" & 00+0 & ":" & 00+0 produces -09:000:000 In fact, you can put ANYTHING in place of a 0,

Re: Negative Numbers and NumberFormat

2017-04-05 Thread Bob Sneidar via use-livecode
That was my point, that the sign should not take up one of the digits in numberformat 00. And thank you for your explanation about strings being strings until math was done on them. In my timeCalc() function however, I already convery everything to seconds and just before conatenating HH, MM

Re: Negative Numbers and NumberFormat

2017-04-05 Thread Bob Sneidar via use-livecode
Yup. I have thought for a long time that there should be a formatNumber() function that did almost exactly what Excel does in terms of formatting a number. I will have to look into that. I'll post it if I throw one together. Should be easy given the string operations LC is capable of. Bob S

Re: [OT] Phishing prevention

2017-04-17 Thread Bob Sneidar via use-livecode
Thanks Jacque. This is why it is never one time too many to say: DON'T CLICK THE LINK IN THE EMAIL! Of course I clicked the link to get to your article, sooo... yeah. Bob S > On Apr 14, 2017, at 21:04 , J. Landman Gay via use-livecode > wrote: > > This

Checkbox Display Bug

2017-04-17 Thread Bob Sneidar via use-livecode
Hi all. I added to the bug 18298 but this may be a new bug. Once a checkbox has been interacted with in the Windows environment, the showBorder is ALWAYS on even if the property is turned off in the object inspector. It also shows up with a border in OS X dev environment which normally will

Re: Downloads - Immodest Proposal

2017-04-17 Thread Bob Sneidar via use-livecode
Last I checked you have to pay a licensing fee for every copy of an app you distribute, even if it is internal. At least for Filemaker itself. Not sure about filemaker for livecode, whatever that is. Bob S > On Apr 15, 2017, at 16:48 , Mark Wieder via use-livecode >

numberFormat affecting array keys???

2017-04-20 Thread Bob Sneidar via use-livecode
Hi all. Put this into a button: on mouseUp set the numberFormat to "00" repeat with i=1 to 10 put i into myArray [i] breakpoint end repeat end mouseUp At the breakpoint examine the array. There will be a 1 in an element with the name... ready??? "01" Okay THAT has GOT

Re: numberFormat affecting array keys???

2017-04-21 Thread Bob Sneidar via use-livecode
Again, the VALUE is not being converted by numberFormat, so it ISN'T the LOOP calculation that is doing it! Otherwise the VALUE would ALSO be 1! I loop is using i and it clearly contains 1 and not 01 because that is what shows up in the value. I could put it the otherway. I could say I expected

Re: taking a screenshot fails - video experience needed

2017-04-21 Thread Bob Sneidar via use-livecode
Anti Virus. Some malware is designed to take screen shots and ship them off.

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