Re: Using a variable for an array name

2017-02-01 Thread Bob Sneidar via use-livecode
This is called macro substitution in other languages. You would use the form array in Foxpro for instance. LC has no macro Substitution. Instead: put "put tArray" & tVar & "[temp] into tText" & tVar into tCommand replace "temp" with quote & "text" & quote in tCommand do tCommand (untested) bob

Re: Using a variable for an array name

2017-02-01 Thread Bob Sneidar via use-livecode
Even better! Bob S On Feb 1, 2017, at 16:08 , Richard Gaskin via use-livecode > wrote: Whenever you have a collection of variables whose names may be variable, an array is a natural fit. LiveCode supports n-dimensional

Re: revDatabaseColumnNames fails to recognize table

2017-01-31 Thread Bob Sneidar via use-livecode
I always query the master table for the table names. Get the sql column which is the create statement, from which you can parse the column names. Bob S > On Jan 30, 2017, at 18:29 , Dr. Hawkins via use-livecode > wrote: > > After opening a database, I check

Re: revDatabaseColumnNames fails to recognize table

2017-01-31 Thread Bob Sneidar via use-livecode
try put word 1 to -1 of theRes into theRes. Maybe there is a cr in there somewhere. Bob S On Jan 30, 2017, at 19:03 , Dr. Hawkins via use-livecode > wrote: theRes holds "dhbk_lcnsees", as it should. The name was created,

Re: revDatabaseColumnNames fails to recognize table

2017-01-31 Thread Bob Sneidar via use-livecode
Oh PostGre I am out of my league then. Bob S On Jan 31, 2017, at 07:27 , Dr. Hawkins via use-livecode > wrote: It's postgreSQL ___ use-livecode mailing list

Re: Help: Does anyone use legacy message box behavior?

2017-02-07 Thread Bob Sneidar via use-livecode
what the heck is that? Bob S On Feb 6, 2017, at 19:28 , Monte Goulding via use-livecode > wrote: message box redirect ___ use-livecode mailing list use-livecode@lists.runrev.com

Re: Size of Image in RAM

2017-02-08 Thread Bob Sneidar via use-livecode
On our copiers, we have the option of scanning to Compact PDF. All it does is use the highest compression for the embedded JPEG images. The copier will not allow the selection of Compact PDF if the color depth is set to grayscale or black and white. Hence, I believe you are correct in your

Re: Browser Widget Appears to be caching data (JavaScript)?

2017-02-08 Thread Bob Sneidar via use-livecode
I think he mentioned a different site. I could be mistaken. Bob S On Feb 7, 2017, at 22:31 , Sannyasin Brahmanathaswami via use-livecode > wrote: Are you serving this content yourself from your web server? If so there are

Re: Size of Image in RAM

2017-02-08 Thread Bob Sneidar via use-livecode
It's very possible that for the purposes of efficiency, Photoshop allocates enough memory so that it can work on the file as though it were in 24 bit color mode. It may be that some filters do a temporary shift to 24 bit color to do their magic, then back to 8 bit. This is just a guess though.

Re: Different result in LC 6 to LC 8 when copying field text into Excel?

2017-02-08 Thread Bob Sneidar via use-livecode
Well any attempt to run the code in the DIE mode would understandably cause anything to crash. ;-) (sorry I just had to). Bob S On Feb 8, 2017, at 24:32 , Tiemo Hollmann TB via use-livecode > wrote: but when running the

Memory Allocation

2017-02-08 Thread Bob Sneidar via use-livecode
I hesitate to post but... A dev posted here about a change made to the engine to make it more efficient which ended up causing problems down the line, memory being released before it's time, and the need to create a special C class to handle it. When was this implemented? I ask because I am

Re: Memory Allocation

2017-02-08 Thread Bob Sneidar via use-livecode
column to the value "12345". Still crashes. Bob S On Feb 8, 2017, at 11:38 , Bob Sneidar via use-livecode <use-livecode@lists.runrev.com<mailto:use-livecode@lists.runrev.com>> wrote: I hesitate to post but... A dev posted here about a change made to the engine to make it

Re: Memory Allocation

2017-02-08 Thread Bob Sneidar via use-livecode
in the message box Bob S > On Feb 8, 2017, at 14:36 , Bob Sneidar via use-livecode > <use-livecode@lists.runrev.com> wrote: > > NVM I am discovering that setting the DGData of a datagrid in the middle of a > selectionChanged handler is what is crashing to desktop. I can produce

Re: Memory Allocation

2017-02-08 Thread Bob Sneidar via use-livecode
OK I've figured this out. I'm not sure if this qualifies as a bug per se, but you cannot modify the datagrid data while a selectionChanged handler is running. The only reason I can think this is an issue is if the datagrid library calls selectionChanged itself. The workaround is to send in time

Re: Difference between "html" and "htmlText" in clipboardData?

2017-02-02 Thread Bob Sneidar via use-livecode
THAT is a revelation! Bob S On Feb 2, 2017, at 24:28 , Mark Waddingham via use-livecode > wrote: The difference comes about when you use 'the fullClipboardData'. The fullClipboardData gives you access both to the engine's

Re: Dirty HTTP Launch

2017-02-02 Thread Bob Sneidar via use-livecode
Actually it works to take out any number of beginning and ending characters. Bob S On Feb 1, 2017, at 18:10 , Tom Glod via use-livecode > wrote: scratch that...bob's solution works and isn't likley to do anything ever except

Re: Dirty HTTP Launch

2017-02-02 Thread Bob Sneidar via use-livecode
err... that are white spaces that is. Bob S On Feb 2, 2017, at 07:41 , Bob Sneidar > wrote: Actually it works to take out any number of beginning and ending characters. Bob S ___

Re: Auto scrolling a locked field when mouse comes to edge

2017-02-02 Thread Bob Sneidar via use-livecode
I have a similar issue where I want to be able to select text in a field with traversalOn set to false. I can select the text, but I cannot copy it. It's as though the engine cannot discern there is a selection. Bob S On Feb 1, 2017, at 17:38 , David Epstein via use-livecode

Re: Browser Widget Appears to be caching data (javascript)?

2017-02-06 Thread Bob Sneidar via use-livecode
In ANY browser?? I did not know that!! Bob S On Feb 5, 2017, at 11:53 , William Prothero via use-livecode > wrote: John: Try adding “?” to the URL. This should force reload. Bill

Re: Browser Widget Appears to be caching data (javascript)?

2017-02-06 Thread Bob Sneidar via use-livecode
Old site? This may be DNS caching not browser caching. Clear the cache on your computer, and if possible, if you have a local DNS server, clear that cache as well. Bob S > On Feb 5, 2017, at 12:16 , JOHN PATTEN via use-livecode > wrote: > > Hi Bill, > > Did

Re: Browser Widget Appears to be caching data (javascript)?

2017-02-06 Thread Bob Sneidar via use-livecode
>From Stack Overflow: "There's no guaranteed way to force the user to clear the DNS cache, and it is often done by their ISP on top of their OS. It shouldn't take more than 24 hours for the updated DNS to propagate. Your best option is to make the transition seamless to the user by using

Re: Browser Widget Appears to be caching data (javascript)?

2017-02-06 Thread Bob Sneidar via use-livecode
Right. But that is the browser cache. If you are talking about a url resolving to a different site, that is a function of DNS, which is totally separate from the browser cache the browser maintains. I do not think the browser is capable of bypassing DNS caching. But maybe I misunderstand the

Re: Checking out the "Resources" button in LC9

2017-02-06 Thread Bob Sneidar via use-livecode
This is an unfortunate anology. I like you, were taught this in biology, but since then it seems medical science has discovered that the appendix is a functional organ. http://www.sciencefocus.com/news/what-does-appendix-do-lot-more-we-thought%E2%80%A6 Bob S On Feb 6, 2017, at 02:47 ,

Re: Different result in LC 6 to LC 8 when copying field text into Excel?

2017-02-06 Thread Bob Sneidar via use-livecode
If it helps, it may be a Mac OS issue. If I open a text file exported from a Toshiba copier, like the address book let's say, then open it with a text editor like SimpleText, and then save it, I cannot reimport the text file. The copier thinks that the file is unreadable. This happens with

Re: fontNames

2017-02-06 Thread Bob Sneidar via use-livecode
Mud is much clearer. ;-) Bob S On Feb 3, 2017, at 19:20 , Fraser Gordon via use-livecode > wrote: So, no, because LiveCode doesn't provide a way to get the "display name" of the font used for these. But yes, because the

Re: Converting scripts in stacks to script only stack behaviors

2017-02-06 Thread Bob Sneidar via use-livecode
+1 The whole point, or one of the points to object oriented development was to de-centralize the code base. As stated in other posts it really comes down to how complex your app is. I have cards that can be used in any stack, and cards that are very specific to the app. Same with different

Re: Creating LiveCode applications that play well with version control software

2017-02-06 Thread Bob Sneidar via use-livecode
Trevor doesn't just think outside the box. He comes up with new ways to make better boxes, and more efficiently in the bargain. Bob S > On Feb 5, 2017, at 05:55 , Dave Kilroy via use-livecode > wrote: > > Wow this is fantastic! > > Thank you so much for

Re: Supercard 4.8 public beta

2017-02-03 Thread Bob Sneidar via use-livecode
Actually, I learned recently that C and it's variants is NOT a high level language! It's considered a mid-level language. Bob S On Feb 3, 2017, at 08:20 , Bob Sneidar via use-livecode <use-livecode@lists.runrev.com<mailto:use-livecode@lists.runrev.com>> wrote: Only slightly OT, q

Re: Supercard 4.8 public beta

2017-02-03 Thread Bob Sneidar via use-livecode
Why is this post called Supercard 4.8 Public Beta?? Bob S > On Feb 3, 2017, at 08:15 , Graham Samuel via use-livecode > wrote: > > Only slightly OT, quite near my first encounter with computers at all, and at > the very beginning of my encounter with High

Re: LC Server & Server Based Stack?

2017-01-23 Thread Bob Sneidar via use-livecode
That is becase the parent process for both stacks is the IDE. In a web browser, as previously mentioned, each time lcServer runs a script it is a new process. Bob S On Jan 21, 2017, at 07:47 , Rick Harrison via use-livecode >

Re: LC Server & Server Based Stack?

2017-01-23 Thread Bob Sneidar via use-livecode
If you have a Mac, there is IAC Inter-Application Communication). I am not sure if lcServer can issue Applescript commands, but you CAN create a standalone to listen for Applescript commands, and the IDE runnign on a Mac does this natively. Bob S > On Jan 22, 2017, at 11:12 , Rick Harrison

Re: How to lose your work in a couple of clicks (dirty flag)

2017-01-24 Thread Bob Sneidar via use-livecode
The first time I saw that I got a little panicky too. So now I just always save before saving as standalone. Bob S > On Jan 24, 2017, at 12:57 , Ralph DiMola via use-livecode > wrote: > > I see this as a departure from other SW. I read "Don’t save" as "Don't

Re: Script editor chops "end handler" to "nd handler"

2017-01-27 Thread Bob Sneidar via use-livecode
Just pasted the last snippet into a button and had no problems. 8.1.2 Bob S On Jan 26, 2017, at 22:23 , Sannyasin Brahmanathaswami via use-livecode > wrote: on closeStack if the environment is "mobile" then scroller_Delete

Re: Script editor chops "end handler" to "nd handler"

2017-01-27 Thread Bob Sneidar via use-livecode
I tried it with and without indent. No problems either case. 8.1.2 OS X Bob S On Jan 27, 2017, at 01:26 , Ralf Bitter via use-livecode > wrote: I can replicate this behavior, but it only happens in case the code is not

Re: Script editor chops "end handler" to "nd handler"

2017-01-27 Thread Bob Sneidar via use-livecode
Also, as it began with 8, try copy/pasting the ENTIRE SCRIPT (not just the handler) into a text editor that has the ability to remove all formatting. Do so, then copy/paste the text back into your script. I have seen this resolve certain issues before. Bob S

Re: It looks like Director is Finally Dead

2017-01-27 Thread Bob Sneidar via use-livecode
I have said the exact same thing ever since SAAS was conceived, only with less words. ;-) Wait until there is no alternative, then see how competitive they are with pricing! Bob S On Jan 27, 2017, at 10:19 , Lynn Fredricks via use-livecode

Re: Dirty HTTP Launch

2017-01-30 Thread Bob Sneidar via use-livecode
Try replacing the variable holding the URL (let's assume it's tVar) with word 1 to -1 of tVar. As in put word 1 to -1 of tVar into tVar Bob S > On Jan 30, 2017, at 10:34 , Tom Glod via use-livecode > wrote: > > the URL is read as an ITEM from a line in a

Re: Delete element from array

2017-01-25 Thread Bob Sneidar via use-livecode
delete variable aArrayName ["Element"] Bob S > On Jan 24, 2017, at 18:54 , Sannyasin Brahmanathaswami via use-livecode > wrote: > > how do you remove a key from an array? > > ___ > use-livecode mailing list >

Re: Storing and object reference in a var

2017-01-25 Thread Bob Sneidar via use-livecode
I want to create a variable called tTargetField so I use put "Hello" into tTargetField Now I want to put something into a field so I create a variable called tTargetField2 and put the long id of field "foo" into tTargetfield2 Then to put something into the field I put "Hello" into

Re: dateitems day-of-week disjunction

2017-01-25 Thread Bob Sneidar via use-livecode
I believe it depends on the system settings. If your localization is set to where Sunday is the 1st day of the week, then Wednesday would in fact be the 4th. Bob S On Jan 25, 2017, at 09:16 , Ben Rubinstein via use-livecode

Re: Storing and object reference in a var

2017-01-24 Thread Bob Sneidar via use-livecode
On Jan 24, 2017, at 14:57 , Monte Goulding via use-livecode > wrote: You are writing ambiguous code and the engine can’t read your mind ;-) Not until V10 anyways. Bob S ___

Re: Configuring a Sublime Text project to notify LiveCode IDE about updates to script only stacks

2017-02-21 Thread Bob Sneidar via use-livecode
Thanks Trevor. Just one more question. Do I copy JUST the executable, or the whole folder including Drivers folder etc. Bob S > On Feb 21, 2017, at 15:02 , Trevor DeVore via use-livecode > wrote: > > Your are probably thinking about the linter which checks

Re: Configuring a Sublime Text project to notify LiveCode IDE about updates to script only stacks

2017-02-22 Thread Bob Sneidar via use-livecode
If the debugger hilites errors in red, it's working! Bob S > On Feb 21, 2017, at 18:19 , Trevor DeVore via use-livecode > wrote: > >> Thanks Trevor. Just one more question. Do I copy JUST the executable, or >> the whole folder including Drivers folder etc > >

Re: on-rev "HTTP_UPGRADE_INSECURE_REQUESTS"

2017-02-22 Thread Bob Sneidar via use-livecode
That actually sounds like a constant that determines if HTTP requests get bumped up to HTTPS. So I googled it and discovered that this is pretty much what it does. For a login request, you would expect that this should be enabled, otherwise you are sending passwords in the clear. You probably

Re: Call a function on another card

2017-02-23 Thread Bob Sneidar via use-livecode
I may be mistaken, but I think that script locals are accessible to a behavior script. If so, you could keep the script local variables in the card, and the handlers in a library or backscript. I will set up a test for that. Bob S > On Feb 23, 2017, at 14:51 , Peter Bogdanoff via

Re: Call a function on another card

2017-02-23 Thread Bob Sneidar via use-livecode
own. Bob S > On Feb 23, 2017, at 14:56 , Bob Sneidar via use-livecode > <use-livecode@lists.runrev.com> wrote: > > I may be mistaken, but I think that script locals are accessible to a > behavior script. If so, you could keep the script local variables in the > c

Re: Call a function on another card

2017-02-23 Thread Bob Sneidar via use-livecode
When I encounter situations like these, I begin to ask myself why the handler is in a card script. If it needs to be accessible from other cards, it should probably be moved to the stack script, or put into a button and inserted into front or back. I have 3 buttons I use for this effect:

Re: [ANN] Release 9.0.0 DP-5

2017-02-23 Thread Bob Sneidar via use-livecode
First of all this is a Developer Preview. Note the, "This is not a stable release" disclaimer. Consider also that some may be unwilling to move to version 9 until such a time as they feel confident that most of the issues have been shaken out of it. I am one of these. Do you suggest that all

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

2017-02-22 Thread Bob Sneidar via use-livecode
>From what little I know, the levoure framework is designed to allow multiple >devs on a single project. This is almost undoable from within the IDE. If >however it's just text files getting worked on, then they can be checked out >and in to whatever system you are working with, like Github for

Re: [ANN] Release 9.0.0 DP-5

2017-02-23 Thread Bob Sneidar via use-livecode
Probably a typo, but shouldn't the backslash be INSIDE the quotes in the example for Specifying local host and port when opening a socket? Bob S ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe,

Standalone Builder Issues (again)

2017-02-23 Thread Bob Sneidar via use-livecode
Hi all. I am getting the impression that the standalone builder goes to each card in each stack when building an application. The reason I think this is because I have an openStack handler in the card script of the mainstack which opens a login stack as modal. When building standalones now in

Re: The default button

2017-02-24 Thread Bob Sneidar via use-livecode
Interesting. I think what I will do then is spend time setting all the buttons default to false, then managing which buttons have the default on. The only reason it helps me (I don't ever use standard buttons, but always attach a graphic for an icon) is that I have 3 modes each data form can

Re: The selectedText for controls without focus

2017-02-24 Thread Bob Sneidar via use-livecode
Ok I've played with locked, traversalOn, and disabled and the only thing that alows me to enable/disable editing of the contents of a field is traversalOn. No combination of the other settings allow me to select text (in any manner that a user would expect) and yet prevent the editing of the

Re: The selectedText for controls without focus

2017-02-24 Thread Bob Sneidar via use-livecode
<bonnm...@gmail.com> wrote: > >> of field "fieldname" is an optional argument youcan use. >> >> get the selectedtext of field "myfield" >> >> On Fri, Feb 24, 2017 at 9:50 AM, Bob Sneidar via use-livecode < >> use-livecode@list

Re: LC9 DP5 - mimeEncodeAsMIMEEmail and attachments

2017-02-24 Thread Bob Sneidar via use-livecode
Outside the angle brackes is the display name of the email. Inside is the actual email address. Unless the mailbox really is called "mailto:email1;, the server will reject this as an invalid email address. In fact I do not believe colons are legal characters in a mailbox. Bob S > On Feb 24,

Re: [ANN] Release 9.0.0 DP-5

2017-02-24 Thread Bob Sneidar via use-livecode
That is interesting because I am still struggling with a bug http://quality.livecode.com/show_bug.cgi?id=19322 where compiling to more than one OS from a splash stack and with stack files seems to "corrupt" (I use the term loosely) the mainstack where the libraries have been added to the list

The selectedText for controls without focus

2017-02-24 Thread Bob Sneidar via use-livecode
Hi all. The Short Version: Is there a way to get the hilited text for a control without focus? The Long Version: I use a method for forms (by which I mean LC cards with fields and buttons on them) where I set the traversalOn to false on all the fields when I am simply viewing the data, so

Re: Call a function on another card

2017-02-24 Thread Bob Sneidar via use-livecode
Yes, but Peter has a single behavior for all his cards, but unique script local variables for each card. He wants those script local variables to be visible to his behavior. In a related note, I want to say again that properties can act as scoped variables using the method I described. So

Re: [ANN] Release 9.0.0 DP-5

2017-02-24 Thread Bob Sneidar via use-livecode
That would be it, although I do not use any behaviors, except for data grids. Bob S > On Feb 24, 2017, at 08:13 , panagiotis merakos via use-livecode > wrote: > > Bob you are probably affected by this bug: > > http://quality.livecode.com/show_bug.cgi?id=19248

Re: Null symbol cross platform

2017-02-24 Thread Bob Sneidar via use-livecode
Interesting, although the Apple checkmark (option-v) returns empty. I really like that checkmark! Bob S > On Feb 24, 2017, at 08:47 , David V Glasgow via use-livecode > wrote: > > Thanks for that reminder. I had forgotten about mactoISO(). Field >

Re: back to slow compile with 8.1.3?

2017-02-24 Thread Bob Sneidar via use-livecode
I did notice that somehow the compile was managing to open a modal stack which was a substack of the mainstack, and until I shift-ctrl-cmd-right clicked the window to get the contextual menu and set the mode of the stack to TopLevel, the compiler halted in it's tracks. Might you be experiencing

Re: LC9 DP5 - mimeEncodeAsMIMEEmail and attachments

2017-02-24 Thread Bob Sneidar via use-livecode
Exclude the mailto: in each email address. Bob S > On Feb 24, 2017, at 07:54 , Matthias Rebbe via use-livecode > wrote: > > Hi, > did someone already tested the new mime library, especially the command > mimeEncodeAsMIMEEmail. > > I tried it already and i am

Re: [ANN] Release 9.0.0 DP-5

2017-02-24 Thread Bob Sneidar via use-livecode
Trevor, I've said it before and I'll say it again. You are da bomb! :-) Bob S > On Feb 24, 2017, at 09:18 , Trevor DeVore via use-livecode > wrote: > > On Fri, Feb 24, 2017 at 11:00 AM, panagiotis merakos via use-livecode < > use-livecode@lists.runrev.com>

Re: The selectedText for controls without focus

2017-02-24 Thread Bob Sneidar via use-livecode
Enhancement Request 19323 submitted. As to your post, yes the selectedText 'of the field' will work. But a menu command like "Copy" would not know which field was selected. I suppose I could loop through all the fields and get the one which was not empty. I'll play with that a bit. Bob S

Re: The selectedText for controls without focus

2017-02-24 Thread Bob Sneidar via use-livecode
Feb 24, 2017, at 09:50 , Bob Sneidar via use-livecode > <use-livecode@lists.runrev.com> wrote: > >> To test this, I had a button set the >> selection, made sure that traversal was off, then put the selectedtext of >> the field, and it worked as expected.

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

2017-02-24 Thread Bob Sneidar via use-livecode
I dl'd and also sent him some money. Bob S > On Feb 24, 2017, at 09:56 , Richard Gaskin via use-livecode > wrote: > > Peter covered why it should be done in C, but if you really need sha256 today > Mark Smith's libSHA includes a scripted version: > >

Re: The selectedText for controls without focus

2017-02-24 Thread Bob Sneidar via use-livecode
Yes I did. It returns empty. I have a menu which intercepts the Copy menu selection. I hilite the text in a field whose traversalOn is false, then select Copy from the menu. In the menu handler I have "put the selectedText". I also tried "hilitedText". Neither work. I also tried the hilitedText

Re: The selectedText for controls without focus

2017-02-24 Thread Bob Sneidar via use-livecode
Hi Richard. You are "locking" fields. I am setting the traversalOn to false. The reason I use this is because a locked field will still show the focus border, which I do not want. I suppose I can lock the field and lock the field. I will play around with it. Bob S > On Feb 24, 2017, at

The default button

2017-02-24 Thread Bob Sneidar via use-livecode
Hi all. I was given to understand that there can only be one default button. I see I am mistaken. I thought that setting the defaultButton of a card unset the default of the button that was the defaultButton prior to that. It seems to me that this is how this ought to work, because if not,

8.1.3 Search And Replace

2017-02-22 Thread Bob Sneidar via use-livecode
8.1.3 Search and Replace is much mo bettah. Instead of spinning it's wheels for 2 or 3 minutes on a large project, it gets right down to searching. Kudos to the dev team! Bob S ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit

Re: on-rev "HTTP_UPGRADE_INSECURE_REQUESTS"

2017-02-21 Thread Bob Sneidar via use-livecode
Well if it's straws you are grasping at, I can tell you we had a customer last week who has 2 copiers which suddently began failing scan to SMB share, and nothing we could do would get it to talk to the server. I had another customer call this morning with the same problem. I'm a little

Re: Configuring a Sublime Text project to notify LiveCode IDE about updates to script only stacks

2017-02-21 Thread Bob Sneidar via use-livecode
Oh IC! I was thinking I had to install LC Server! That helps a lot. Bob S > On Feb 21, 2017, at 10:15 , Trevor DeVore via use-livecode > wrote: > > You're welcome Bob. > > The "server" is running locally. It is a stack in the LiveCode IDE > listening for

Re: Configuring a Sublime Text project to notify LiveCode IDE about updates to script only stacks

2017-02-21 Thread Bob Sneidar via use-livecode
Nice. Thanks for all this work Trevor. I am looking forward to using Sublime Text as my defacto script editor. I hesitate to install a web server only because I don't feel comfortable exposing another web server to the internet from my employer's network. I would eventually have to explain why

Re: IconGravity vs Margins in Buttons

2017-02-21 Thread Bob Sneidar via use-livecode
Sounds like there are margins set. Try playing with those. Bob S > On Feb 20, 2017, at 08:42 , Randy Hengst via use-livecode > wrote: > > Hi All, > > I’ve been messing with using a variety of fonts in buttons coupled with a > round icon. > > It’s handy to

Re: Nabble fools one of us

2017-02-13 Thread Bob Sneidar via use-livecode
To quote Jacque, > It's because Heather changed the From: header in order to stop people > from getting unsubscribed from the list. That worked. But apparently > Nabble doesn't read the From: header correctly, or does some other kind > of processing. I believe the problem is with Nabble,

Re: Windows and OSX 64-bit builds?

2017-02-10 Thread Bob Sneidar via use-livecode
That is a 28 FOOT image!!! at 8 bits per pixel that's 8.2 terabytes. At 24 bits per pixel it's 24.5 terabytes! Am I missing something?? My math skills may not be the best: 32000*32000*24 Granted LC should never crash, it whould warn the end user that the data exceeds limits, but if I

Re: "Deleting" Stacks in Memory - What About Behaviors?

2017-02-10 Thread Bob Sneidar via use-livecode
I was thinking the same thing. I'm pretty sure that when an app for Windows uses DotNET Framework, it takes some time to initially load the framework, then the app can launch. Once the app is quit, I do not think it unloads DotNET Framework, because the next time I launch the app, the process

Re: Script locals in library stack script

2017-02-10 Thread Bob Sneidar via use-livecode
I don't mean to oversimplify, but when customers call complaing that only one of several scan to SMB registrations is failing, I have to get them to see that if all the others are not failing ever, it cannot be a problem with the copier. If only one script local is getting reset, then it

Re: Windows and OSX 64-bit builds?

2017-02-10 Thread Bob Sneidar via use-livecode
isn't it kBytes not bits? So 32,000 * 32000 Bytes (a pixel takes up one Byte in 8 bit color) which comes to 1,024,000,000 BYTES. That's 1.024 terabytes, unless my faculties have wholly abandoned me. Of course, a black and white image is 1,024,000 BYTES, or 1.023 GIGS, but are we talking about

Re: Windows and OSX 64-bit builds?

2017-02-10 Thread Bob Sneidar via use-livecode
Essentially, eat the elephant one byte at a time. (see what I did there??) Bob S > On Feb 10, 2017, at 15:41 , Tom Glod via use-livecode > wrote: > > can't thank you enough for all the extra info markI'm going to read it > over a few times to make sure I

Re: Deleting stacks on the fly

2017-02-14 Thread Bob Sneidar via use-livecode
Is there any reason to delete the stack? If not, don't. Clearly any CtoD should be investigated, but I have never seen why an app would be designed to create and delete stacks when all you have to do is show and hide existing ones. Bob S > On Feb 13, 2017, at 22:00 , Sannyasin

Re: Script locals in library stack script

2017-02-13 Thread Bob Sneidar via use-livecode
I mised that this was on a web server. I should pay more attention. Bob S > On Feb 10, 2017, at 20:03 , J. Landman Gay via use-livecode > wrote: > > I know, that's why I didn't report it. I scoured the script looking for a > difference but I couldn't find

Re: Windows and OSX 64-bit builds?

2017-02-13 Thread Bob Sneidar via use-livecode
I failed 6th grade math and then went on to ace algebra and geometry. Everyone can thank their lucky stars I didn't go in for Rocket Science! Bob S > On Feb 10, 2017, at 19:10 , Phil Davis via use-livecode > wrote: > > Your labels are one order of magnitude

Re: How to run a hidden standalone under OSX?

2017-02-15 Thread Bob Sneidar via use-livecode
I have a helper app which uses Applescript to communicate what I want it to do. I call it Spinner, and all it does is display a model window with a message and a spinning indicator. If I set it's LSUIElement to true, can I still have it show or hide it's window? All I really want is for the app

Re: Idea about Norton

2017-01-23 Thread Bob Sneidar via use-livecode
I think this is the wrong way to go about it. I don't think Norton simply counts the number of times software attempts to install without signing, and then has a threshold where it accepts the unsigned installation without challenge. I have noticed however that sometimes installation

Re: [ ANN ] Release 8.1.3 RC-2

2017-02-10 Thread Bob Sneidar via use-livecode
THAT'S the bugger (see what I did there) that was keeping me from creating standalones! Bob S On Feb 10, 2017, at 08:34 , panagiotis merakos via use-livecode > wrote: 19174 - Unable to save as standalone when a substack has

Re: Exit without quitting

2017-01-18 Thread Bob Sneidar via use-livecode
That is to say, it QUITS the app. BTW this "feature" is not documented. If it's not supposed to quit the app, I can report it as a bug, but I recall past conversations about this I think. Bob S On Jan 18, 2017, at 16:15 , Bob Sneidar via use-livecode <use-livecode@lists.runrev.c

Exit without quitting

2017-01-18 Thread Bob Sneidar via use-livecode
In the IDE if you exit to top, all script execution stops. In a standalone, it wuits the app. I need a way to stop script execution without quitting the app. Is there an easy way, or will I have to return a value all the way up the script hierarchy to tell the initial handler to sop running?

Re: Exit without quitting

2017-01-19 Thread Bob Sneidar via use-livecode
Thanks for the reply all. I will have to create some kind of logging system to see where it is exiting. At least I don't have to refactor 2 years of coding. Bob S ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to

Re: What has changed in MacOS 10.12 in handling code pages?

2017-01-17 Thread Bob Sneidar via use-livecode
It was a different world back then. I suppose if Zimbabwe had invented computers, we would have been upset that the whole industry revolved around Ndebele. Bob S On Jan 17, 2017, at 04:32 , Tiemo Hollmann TB via use-livecode

Re: [OT] KOUSEK (or replacement) code snippet manager replacement?

2017-01-16 Thread Bob Sneidar via use-livecode
I can think of an application for an XML to Array handler. Toshiba copiers backup their address books and "template" registrations as xml now, but other copiers are not capable of interpreting or importing them. It might be possible to create a conversion tool if I can parse the XML properly.

Re: Documentation on Dispatch

2017-01-16 Thread Bob Sneidar via use-livecode
Right. A property set is an array of properties if I am not mistaken. So portal_RowNames is the "array" name and headerName is a variable which holds a value resolving to the name of the property. Hence it compiles. Bob S On Jan 16, 2017, at 10:45 , Jeanne A. E. DeVoto via use-livecode

Re: Zippy-da-doo-dah 8.1.3

2017-01-18 Thread Bob Sneidar via use-livecode
If it is a line, then technically it has no beginning or end point. You must mean a line segment or a ray. ;-) Bob S On Jan 18, 2017, at 09:20 , Richard Gaskin via use-livecode > wrote: Ali Lloyd wrote: > Of course at some

Re: Zippy-da-doo-dah 8.1.3

2017-01-18 Thread Bob Sneidar via use-livecode
Ye and Amen! Bob S On Jan 18, 2017, at 09:41 , Stephen Barncard via use-livecode > wrote: . We have other interests and use livecode to support their complexities. We want to get to the "thing" that accomplishes our task and

Re: Write to file at end

2017-01-19 Thread Bob Sneidar via use-livecode
this normal?? Bob S > On Jan 19, 2017, at 09:53 , Bob Sneidar via use-livecode > <use-livecode@lists.runrev.com> wrote: > > Hi all. > > Given code snippet: > > open file "Forms Generator 8 Crash Log.txt" for write > write formatDate(the date, "sql

Re: WS.Reputation.1 False Positive?

2017-01-19 Thread Bob Sneidar via use-livecode
I may have mentioned that many reputable vendors and developers do NOT sign their apps just because of this very thing. I suppose one day ew will wake up and discover that an OS will not allow you to run an app unless it's signed. That will be a black day. Bob S On Jan 19, 2017, at 10:36 ,

Re: Write to file at end

2017-01-19 Thread Bob Sneidar via use-livecode
CraP! Never mind. Open file for UPDATE I'm such a moron. Bob S ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

Re: Write to file at end

2017-01-19 Thread Bob Sneidar via use-livecode
Oh append ok. Bob S > On Jan 19, 2017, at 10:03 , Bob Sneidar wrote: > > CraP! Never mind. Open file for UPDATE > > I'm such a moron. > > Bob S > > ___ use-livecode mailing list use-livecode@lists.runrev.com

Interesting Gotcha with Datagrids

2017-01-20 Thread Bob Sneidar via use-livecode
Hi all. I just tracked down a nasty gotcha (notice I didn't say 'bug') that can cause a crash to desktop when working with data grids. I have (for lack of a better term) a "searchbar" object with all the controls and scripts necessary for filtering a data grid. If you type text into the

Re: [ ANN ] Release 8.1.3 RC-1

2017-01-20 Thread Bob Sneidar via use-livecode
Add builtin implementation of field 'Select All' (8.1.3-rc-1) The field control will now understand Cmd/Ctrl+A as the 'Select All' action - causing the whole text of the field to be selected. Nice. I had to workaround this. Bob S ___ use-livecode

  1   2   3   4   5   6   7   8   9   10   >