Re: Unicode mysteries

2020-03-26 Thread Bob Sneidar via use-livecode
I see the flag here. Bob S On Mar 25, 2020, at 11:53 PM, Neville Smythe via use-livecode mailto:use-livecode@lists.runrev.com>> wrote: Taking a look at the Emoji ‘flag of Scotland’ character 🏴󠁧󠁢󠁳󠁣󠁴󠁿 which won’t display here but exists in the Apple Color Emoji font and in corresponding fonts

Re: Using ODBC to connect to a MSSQL database

2020-03-24 Thread Bob Sneidar via use-livecode
NVM I was able to connect using revOpenDatabase(). Now my trouble is getting sqlYoga to make the connection, but I am close. > On Mar 24, 2020, at 4:39 PM, Bob Sneidar wrote: > > Hi all. > > I read in a thread a long while ago that someone was currently connecting to > a

Using ODBC to connect to a MSSQL database

2020-03-24 Thread Bob Sneidar via use-livecode
Hi all. I read in a thread a long while ago that someone was currently connecting to a MSSQL database via ODBC. Reading the dictionary, MSSQL is NOT one of the types of databases revOpenDatabase() can communicate with. I am right on the verge of creating an ODBC agent, but have hit this snag.

Re: DataGrid question...

2020-03-24 Thread Bob Sneidar via use-livecode
I did something along these lines some time ago. I needed check boxes to the left of a data grid that scrolled with the grid but remained visible. Yes your idea of a second object that scrolls with the data grid is the way to go. There is a message that gets sent to a data grid called scrollBarD

Re: Can't download 6.3.1

2020-03-23 Thread Bob Sneidar via use-livecode
Okay so downloading from the updater failed twice. Going to the website and downloading from there succeeded. Bob S > On Mar 23, 2020, at 12:28 PM, Bob Sneidar via use-livecode > wrote: > > Sorry 9.6 dp3 brain fart > >> On Mar 23, 2020, at 12:24 PM, dunbarx--- via us

Re: Can't download 6.3.1

2020-03-23 Thread Bob Sneidar via use-livecode
Sorry 9.6 dp3 brain fart > On Mar 23, 2020, at 12:24 PM, dunbarx--- via use-livecode > wrote: > > Bob. > 6.1.3? > I do not see 6.3.1 as an option. > Craig > > > -Original Message- > From: Bob Sneidar via use-livecode > To: How to use LiveCode &g

Can't download 6.3.1

2020-03-23 Thread Bob Sneidar via use-livecode
I am getting Error downloading Livecode 6.3.1. It gets all the way through the download then throws the error. Bob S ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscript

Re: IMAP Search skipping results

2020-03-23 Thread Bob Sneidar via use-livecode
Ahh hah hah! That’s funny. I can’t even write a snippet without debugging it! :-) Bob S > On Mar 23, 2020, at 11:01 AM, Mark Waddingham via use-livecode > wrote: > > On 2020-03-23 17:49, Pi Digital via use-livecode wrote: >> Hey, are you insinuating my code is flawed!?! :-o >> The cheek of i

Re: IMAP Search skipping results

2020-03-20 Thread Bob Sneidar via use-livecode
wer error "ERROR: " & tError as sheet breakpoint end try put word 3 to -1 of tStat into tUIDs put the number of words in tUIDs into sMsgCount return retHeaders &cr& tStat &cr& sMsgCount end IMAPGetHeaders > On Mar 20, 2020, at 08:06

Re: IMAP Search skipping results

2020-03-20 Thread Bob Sneidar via use-livecode
This may be of more use. No functional changes, just something you can use to test against different IMAP servers: function IMAPGetHeaders pServer, pUser, pPass if pServer is empty then ask "Enter IMAP Server IP or address:" as sheet if the result is "Cancel" then return "Canceled.

Re: Guessing the encoding of a test file...

2020-03-20 Thread Bob Sneidar via use-livecode
If the files submitted to you do not need to retain their original formats for your purposes, why not just convert them all to a standard format? it's my understanding if you open the file using low level file commands without the binfile parameter, LC will convert the data into the local encodi

Re: Tab In Field

2020-03-18 Thread Bob Sneidar via use-livecode
NVM! Set the tabstops to empty! Shoutout to revNavigator by Geoff Canyon who once again saves the day! Bob S > On Mar 18, 2020, at 15:13 , Bob Sneidar via use-livecode > wrote: > > This is probably something really simple, but I have two fields whose > properties so far as

Tab In Field

2020-03-18 Thread Bob Sneidar via use-livecode
This is probably something really simple, but I have two fields whose properties so far as I can tell are exactly the same, but if I tab in one field it inserts a tab, and if I tab the other field it focuses on the next field! Bob S ___ use-livecode

Re: ODBC Connections

2020-03-18 Thread Bob Sneidar via use-livecode
Sorry I looked it up ODBC connections are intended to be local to the device they are configured on. I cannot access an ODBC connection on a different computer than I am trying to connect from. That's okay, I was thinking about making an ODBC agent that works using sockets. That would allow my t

Re: ODBC Connections

2020-03-18 Thread Bob Sneidar via use-livecode
Hmmm your example works, so yes the dictionary is wrong (again). It states revOpenDatabase("odbc", hostAddress, databaseName, [userName],[passWord],[cursorType]). "hostAddress" should actually be "dsnName". Also the Disctionary example seems to indicate the userName and passWord arguments are

Re: Interruption to LiveCode services

2020-03-17 Thread Bob Sneidar via use-livecode
Now THAT would be a crossover virus to beat all. Bob S > On Mar 17, 2020, at 16:09 , Pi Digital via use-livecode > wrote: > > Did it contract a virus? Had it maintained social separation distances? > > Sean Cole > Pi Digital > > >> On 16 Mar 2020, at 20:21, Mark Waddingham via use-livecod

Re: ODBC Connections

2020-03-17 Thread Bob Sneidar via use-livecode
that's put revOpenDatabase("odbc","192.168.1.207","formsgen") into tDBID;put tDBID > On Mar 17, 2020, at 15:20 , Bob Sneidar via use-livecode > wrote: > > put: > > revOpenDatabase("odbc","192.168.1.207","formsge

ODBC Connections

2020-03-17 Thread Bob Sneidar via use-livecode
Hi all. I'm struggling to connect to an ODBC System DSN. I use the command put: revOpenDatabase("odbc","192.168.1.207","formsgen") into tDBID;put tDBID tDBID is empty. I know the DSN works because the test button if the ODBC Data Source Administrator returns OK! What am I missing? Bob S

Re: Windows Slowness

2020-03-17 Thread Bob Sneidar via use-livecode
ere between 4 and 7 seconds to fetch all 5 price lists although AV >> + Firewall (F-Secure Client Security) is enabled. >> >> >> - >> Matthias Rebbe >> Life Is Too Short For Boring Code >> >>> Am 16.03.2020 um 22:11 schrieb Bob Sneidar via us

Re: Windows Slowness

2020-03-16 Thread Bob Sneidar via use-livecode
Hi Matthias. Well I was pointing out that the same dataset returned on a Mac takes 3 seconds, so the windows fetch returns the same data over 4 times slower, and this is consistent no matter the Windows system I am using. I also have techs in the field that use the app, and it is painfully slo

Re: Windows Slowness

2020-03-16 Thread Bob Sneidar via use-livecode
I tried with 3 different computers, all came back with the same times. 2 were VMs, Parallels and VMWare, and the third was a standalone workstation with AV disabled. It was also the server that mySQL is running on. :-) Bob S > On Mar 16, 2020, at 12:37 , Mark Wieder via use-livecode > wrote:

Windows Slowness

2020-03-16 Thread Bob Sneidar via use-livecode
Not complaining just reporting. The same standalone on a Mac takes 3 seconds to load all the data from a series of sql queries. The same information on Windows standalone takes 13 seconds, both 32 bit and 64 bit, and irregardless of whether or not it is running in a VM. It's just windows network

Re: LC & Catalina; macOS 10.15.x; Xcode 11.3.x; iOS 13.3.x support ???

2020-03-13 Thread Bob Sneidar via use-livecode
Just to diverge a bit (as I am wont to do), when new browsers and features began to be prolific, a lot of web devs would initially develop sites using the new features. What resulted however is that they excluded vast numbers of visitors who could not view their web sites, or had reduced capabil

Re: Philosophical questions about the fontNames

2020-03-13 Thread Bob Sneidar via use-livecode
Also, there are two major types of vector based fonts: TrueType and OpenType. OpenType is a Microsoft format, but the same font file can be used for Windows and Mac. TrueType gets a little tricky. TrueType fonts made for Windows will also work for Mac. TrueType made for Mac must be CONVERTED t

Re: LC & Catalina; macOS 10.15.x; Xcode 11.3.x; iOS 13.3.x support ???

2020-03-12 Thread Bob Sneidar via use-livecode
I hesitate to opine, but there's so much here. I think anytime a product is dependent on a Google API, long term support is uncertain. For example, recently Google dropped support for Google Docs. The copier companies have written plugins to their copiers SPECIFICALLY to work with Google Docs. S

Re: OAuth2 was Re: google sheets - anybody doing anything besides mergGoogle

2020-03-12 Thread Bob Sneidar via use-livecode
I also see the red dot misalignment (still using 9.5.1 rc 1). Since I use LC virtually every day to make changes and fixes to the app we use, I cannot really participate in DP's. Bob S > On Mar 12, 2020, at 11:17 , J. Landman Gay via use-livecode > wrote: > > On 3/11/20 9:50 PM, Sean Cole

Re: LC & Catalina; macOS 10.15.x; Xcode 11.3.x; iOS 13.3.x support ???

2020-03-12 Thread Bob Sneidar via use-livecode
As to my contentedness with LC, let me say that without LC, my options would be Javascript, Python or a host of other script based languages, or else some variant of C. That is to say I would be out of options because I simply am too lazy and otherwise occupied with my real job to justify the ti

Re: LC & Catalina; macOS 10.15.x; Xcode 11.3.x; iOS 13.3.x support ???

2020-03-12 Thread Bob Sneidar via use-livecode
I was not aware we had such freedoms on this list! For instance, if I begin to speak of fermented dairy products, I will certainly be censured! And well I should be!!! Also, and seriously, Freedom of Speech is something that is unique to a handful of cultures. It is by no means global. Bob S

Re: LC & Catalina; macOS 10.15.x; Xcode 11.3.x; iOS 13.3.x support ???

2020-03-12 Thread Bob Sneidar via use-livecode
+10 > On Mar 12, 2020, at 09:41 , matthias rebbe via use-livecode > wrote: > > Posting here about a real problem/bug makes sense, because others might jump > in and confirm the same experience or might help to solve the problem > As always, a good recipe, if possible, makes it even easier to r

Re: Philosophical questions about the fontNames

2020-03-12 Thread Bob Sneidar via use-livecode
Another approach might be to find a font or subset of fonts that looks the same on all platforms and use that. You may have to pay for the font(s) but you gain consistency. Bob S > On Mar 12, 2020, at 10:23 , Paul Dupuis via use-livecode > wrote: > > Yes, it does. Lacking a detailed techni

Re: Revisiting old bones

2020-03-10 Thread Bob Sneidar via use-livecode
Have to eat crow. Another function that set the rect of the stack based on the objects it contained was the culprit. Bob S > On Mar 10, 2020, at 08:49 , Bob Sneidar via use-livecode > wrote: > > Hi all. Forgive me for dredging up an old issue again, but this really is a >

Revisiting old bones

2020-03-10 Thread Bob Sneidar via use-livecode
Hi all. Forgive me for dredging up an old issue again, but this really is a bug. When I close a stack I get the loc of the stack and save it in a custom property. When I open the stack I get that property (I checked that it is identical to what I saved it as) then set the loc of the stack to t

Re: Stacks and Custom properties

2020-03-10 Thread Bob Sneidar via use-livecode
The downside to doing this is that you cannot have your properties persist between sessions unless you can save the stack containing the properties. A mainstack in a standalone cannot be saved, and other stacks may have issues saving if they are in a sandboxed or secured location. If you are u

Re: google sheets - anybody doing anything besides mergGoogle

2020-03-05 Thread Bob Sneidar via use-livecode
And again, I must caution that any local folders set to sync with a nextCloud device, if you then uncheck a subfolder, it will REMOVE THE LOCAL SUBFOLDER! The NextCloud people figured that the NextCloud device must become the master, and your own local files the slave. Bob S > On Mar 4, 2020

Re: Powerpoint to LiveCode

2020-03-03 Thread Bob Sneidar via use-livecode
be easily converted back to the exact same XML that produced it, that would go a long way to getting me up to speed on it. I suppose if I understood the constraints of XML I could do better. Bob S > On Mar 2, 2020, at 18:52 , Richard Gaskin via use-livecode > wrote: > > Bob Sne

Re: Powerpoint to LiveCode

2020-03-02 Thread Bob Sneidar via use-livecode
The XML parser is going to be the pig. Bob S > On Mar 2, 2020, at 13:04 , Paul Dupuis via use-livecode > wrote: > > Out of curiosity, has anyone created a library that will import - the parts > of a Powerpoint presentation that can be recreated in Livecode - into a > LiveCode stack? > >

Re: test - ignore

2020-03-02 Thread Bob Sneidar via use-livecode
Jes. Bob S > On Mar 2, 2020, at 02:04 , Heather Laine via use-livecode > wrote: > > List restored again? > > > Heather Laine > Customer Services Manager > LiveCode Ltd > www.livecode.com > > > > > ___ > use-livecode mailing list > use-livecode

Re: ChangeImage Widget

2020-02-24 Thread Bob Sneidar via use-livecode
The Champagne Widget was one of the strange artifacts from Jacque's Time Travel stack. It mysteriously showed up one day in Jacque's projects folder, and simultaneously, Kevin Miller found a bottle of champagne in his refrigerator... wrapped in a sock. Just one sock. Bob S > On Feb 24, 2020,

Re: Diagnosing a crasher (was Re: Quality, reputation, and improving both)

2020-02-21 Thread Bob Sneidar via use-livecode
Not to cast aspersions on anyone's work, but there is an alternate script editor that misbehaved in a similar way when switching between the native editor and the alternate one. That has been ironed out some time ago, but for the sake of historical accuracy... well... there you go. Bob S > O

Re: Translate metadata to field content

2020-02-21 Thread Bob Sneidar via use-livecode
Yes, that's it, but not sure if some of these recent gems are getting into the library. Bob S > On Feb 21, 2020, at 10:22 , JB via use-livecode > wrote: > > I thought Michael Doub was handling the Master Library or > are you talking about something else? > > JB __

Re: Translate metadata to field content

2020-02-21 Thread Bob Sneidar via use-livecode
Is anyone maintaining the MasterLibrary? Stuff like this really should be added to it when the kinks are worked out. Bob S > On Feb 21, 2020, at 24:51 , Mark Waddingham via use-livecode > wrote: > > On 2020-02-21 00:29, J. Landman Gay via use-livecode wrote: >> So glad you chimed in, Mark.

Re: text copied form LC generated PDF, WTF?

2020-02-18 Thread Bob Sneidar via use-livecode
Or a bad infection for that matter. > On Feb 18, 2020, at 15:39 , Curry Kenworthy via use-livecode > wrote: > > It's much more likely for someone to get a bad impression from unlucky > hands-on experience with the thing itself... Bob S ___ use-li

Re: Progressive Web App (PWA)

2020-02-18 Thread Bob Sneidar via use-livecode
Aren't all discussions political? ;-) Bob S > On Feb 16, 2020, at 13:33 , doc hawk via use-livecode > wrote: > > On Feb 16, 2020, at 5:15 AM, Paul Dupuis via use-livecode > wrote: >> >> "A progressive web application is a type of application software delivered >> through the web, built us

Re: Invalid Image File / Original Image Size

2020-02-18 Thread Bob Sneidar via use-livecode
Another one for the Utility behavior! :-) Bob S > On Feb 17, 2020, at 13:57 , Phil Davis via use-livecode > wrote: > > function isSupportedImage pPath > # Allow JPG, PNG and GIF images. > > put byte 1 to 12 of url ("binfile:" & pPath) into tHeader > switch > case "JFIF" i

Re: LC 9.6.0 DP2

2020-02-18 Thread Bob Sneidar via use-livecode
I suppose one could also make the counter argument that software companies do not have oodles of money laying around to maintain endless backwards compatibility with older operating systems. Something has to give. Bob S > On Feb 17, 2020, at 12:40 , Richmond via use-livecode > wrote: > > T

Re: text copied form LC generated PDF, WTF?

2020-02-18 Thread Bob Sneidar via use-livecode
Not sure but the resulting text looks like this has been OCRd. We had a similar issue with this at a customer and I noticed that OCR seems to work best on greyscale 300dpi. It just depends on the engine. Bob S > On Feb 18, 2020, at 10:45 , Curry Kenworthy via use-livecode > wrote: > > > T

Re: HyperCard: the Myst story

2020-02-11 Thread Bob Sneidar via use-livecode
I code among giants! Bob S > On Feb 10, 2020, at 21:07 , Colin Holgate via use-livecode > wrote: > > Thanks for that. Voyager did well in the list, 15 out of the 50. 10 of which > were in HyperCard. #1 I programmed on my own, and I also did some work on #4 > and #15. > > >> On Feb 10, 20

Re: HyperCard: the Myst story

2020-02-05 Thread Bob Sneidar via use-livecode
I beat the first Myst, and I almost beat the second one, except for the last puzzle. The solution was you had to be standing in certain places along certain paths which had nothing to interact with, and looking in certain directions that were not natural to look, and then you could see a very su

Re: OMG text processing performance 6.7 - 9.5

2020-02-04 Thread Bob Sneidar via use-livecode
Heresy! Burn the cretan!!! ;-) Bob S > On Feb 4, 2020, at 10:43 , Richard Gaskin via use-livecode > wrote: > > Hmmm It may be that Mark Waddingham was wrong in the guidance he gave > earlier about Unicode vs memcopy, but I wonder if there may be something else > here. ___

Re: directory tree -> array

2020-02-04 Thread Bob Sneidar via use-livecode
uot;) > > before getting the files listing. > > > 2. in directoryListingToArray > > replace tRoot with empty in tPath > > Hmmm - that's not safe - the string tRoot *could* occur multiple times within > the filename. > > Since all lines should (must)

Re: directory tree -> array

2020-02-03 Thread Bob Sneidar via use-livecode
Yes, but I couldn't get the recursion working right. My brain fried. Bob S > On Feb 3, 2020, at 11:18 , Ben Rubinstein via use-livecode > wrote: > > On 22/01/2020 18:26, Richard Gaskin via use-livecode wrote: >> We have many handlers that deliver directory trees as lists, but arrays are >>

Re: Automating User Input

2020-02-03 Thread Bob Sneidar via use-livecode
Is this going to be strictly an LC app or are you going to try and use the browser in LC? I have functions that "remember" things typed into a field, and auto-complete based on what the user types. The weakness is of course that if you have words that are very similar, especially at the beginnin

Re: directory tree -> array

2020-02-03 Thread Bob Sneidar via use-livecode
I already wrote some functions to do this but sent them to Richard in a demo stack. Here is the code based on directoryListing, which I believe is in the MasterLibrary. I made a minor adjustment to it if I recall. DirectoryListing was returning duplicate paths for each unique folder for some rea

Re: OMG text processing performance 6.7 - 9.5

2020-01-31 Thread Bob Sneidar via use-livecode
That's what Isuspect as well. Thanks. Bob S > On Jan 31, 2020, at 09:02 , Mark Waddingham via use-livecode > wrote: > > The code on the LC side is the same (engine and client drivers) so it’s > almost certainly hardware / OS causing the difference. > > Warmest Regards, > > Mark

Re: OMG text processing performance 6.7 - 9.5

2020-01-31 Thread Bob Sneidar via use-livecode
VIOP phones. The Standalone Workstation is gigabit and as I mentioned IS the SQL server itself. Bob S > On Jan 31, 2020, at 07:47 , Bob Sneidar via use-livecode > wrote: > > Not so fast. On a standalone workstation Windows 7 64bit 16gig memory and an > SSD: 64 ticks. Compared wit

Re: OMG text processing performance 6.7 - 9.5

2020-01-31 Thread Bob Sneidar via use-livecode
Not so fast. On a standalone workstation Windows 7 64bit 16gig memory and an SSD: 64 ticks. Compared with 14 ticks on my Mac OS X. My Parallels VM is outperforming a workstation. Oh, and the Windows workstation? It's the workstation running the mySQL instance!!! That's exactly my point. It is d

Re: OMG text processing performance 6.7 - 9.5

2020-01-30 Thread Bob Sneidar via use-livecode
Hi Mark. I have to chime in here that the difference between OS X apps accessing a sql database and Windows doing the same thing in the same app is substantial, and I cannot think why, unless it is Windows itself causing the problem. Querying my customer database for all my customer records ta

Re: html5Player

2020-01-30 Thread Bob Sneidar via use-livecode
Unnfortunately I only have the Community version and cannot test. Bob S > On Jan 30, 2020, at 10:10 , hh via use-livecode > wrote: > >> Bob S. wrote: >> I probably misunderstand the use of this. >> I drug a simple stack into this but while it displays >> fine, it does not function... > > D

Re: html5Player

2020-01-30 Thread Bob Sneidar via use-livecode
Thanks Hermann. I probably misunderstand the use of this. I drug a simple stack into this but while it displays fine, it does not function. It is a simple Time Calculator where I enter the number of devices, a start and stop time with a lunch break and it divides the time "on the clock" betw

Re: Corrupted Stacks

2020-01-29 Thread Bob Sneidar via use-livecode
Matthias Rebbe > Life Is Too Short For Boring Code > >> Am 29.01.2020 um 23:50 schrieb Bob Sneidar via use-livecode >> : >> >> I have a sync program sync my projects folder to my iCloud drive. >> >> Bob S ___

Re: Corrupted Stacks

2020-01-29 Thread Bob Sneidar via use-livecode
I have a sync program sync my projects folder to my iCloud drive. Bob S > On Jan 29, 2020, at 14:30 , Matthias Rebbe via use-livecode > wrote: > > Matthias Rebbe > Life Is Too Short For Boring Code > >> Am 29.01.2020 um 22:00 schrieb Marty Knapp via use-livecode >> : >> >> That’s an inter

Re: Corrupted Stacks

2020-01-28 Thread Bob Sneidar via use-livecode
I'm wondering if save stack returns anything in the result so you can check for success? Bob S > On Jan 28, 2020, at 14:19 , Marty Knapp via use-livecode > wrote: > > I have an app in which users create documents (stacks) that auto-save when > they're closed. I have a a few customers who ar

Re: does this PNG have transparency?

2020-01-27 Thread Bob Sneidar via use-livecode
Voila! function pngIsTransparent pImageFile if not (there is a file pImageFile) then return "ERROR: Invalid file path!" set the filename of the templateImage to pImageFile put numtochar(0) into tZero return (tZero is in the alphaData of the templateImage) OR (tZero is in the maskData

Re: does this PNG have transparency?

2020-01-27 Thread Bob Sneidar via use-livecode
Phil, Is img "my test" an existing image, or does setting the filename of img "my test" create the image on the fly? I'm trying to turn this into a function that returns true or false. Bob S > On Jan 24, 2020, at 14:35 , Phil Davis via use-livecode > wrote: > > Maybe this? It seems to wo

Re: Tab Button Colors

2020-01-27 Thread Bob Sneidar via use-livecode
What color is the text of the first tab when selected? Mine is green. Card has no colors set, neither does the stack. I went through all the owners up to the stack. it's not in a group, so it's only the card and stack. Again, not a big deal but people have commented on what the significance of t

Re: Tab Button Colors

2020-01-24 Thread Bob Sneidar via use-livecode
rs from the owner. > -- > Jacqueline Landman Gay | jac...@hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > On January 24, 2020 9:40:31 AM Bob Sneidar via use-livecode > wrote: > >> No I mean that with no foreground or background color set, the hilited tab

iif function

2020-01-24 Thread Bob Sneidar via use-livecode
Not sure if I ever posted this before (might be in the Master Library) but it is a very simple function for nesting if statements in a single line command pretty much like the old dBase or Excel function. Enjoy: function iif pCondition, pstatement1, pStatement2 -- ex. iif(a=b, true, iif(a=c,t

Re: Tab Button Colors

2020-01-24 Thread Bob Sneidar via use-livecode
No I mean that with no foreground or background color set, the hilited tab background is blue and the text of the first tab is green when selected, and the other tabs the text is yellow when selected. Again, it's no big deal it just seems odd. Bob S > On Jan 23, 2020, at 19:47 , dunbarx--- v

Tab Button Colors

2020-01-23 Thread Bob Sneidar via use-livecode
Hi all. I n a tab button on a Mac, for some reason in the IDE, the text of the first tab is green and subsequent tabs are red. In a standalone, the text of the first button is YELLOW! No colors or effects are applied. Obviously not a show stopper, but people are asking me what the significanc

Re: Autofill Utility

2020-01-23 Thread Bob Sneidar via use-livecode
uniqueValues of me to tUniqueValues end if end if end closeField ON rawKeyUp IF the text of me is not empty THEN wait 30 ticks with messages -- adjust to your liking autoFill the long id of me exit to top END IF pass rawKeyUp END rawKeyUp Bob S > On Jan 23, 2020

Autofill Utility

2020-01-23 Thread Bob Sneidar via use-livecode
Hi all. These scripts may help you if you want to autofill text in a field from a list of prior values. The rawKeyUp handler goes in the field, and the autofill can go anywhere in the message path. You can see how simple this is. The prerequisite is to have a uniquevalues propery in the field

Re: directory tree -> array

2020-01-22 Thread Bob Sneidar via use-livecode
Won't work. The behavior is missing. Bob S > On Jan 22, 2020, at 10:38 , Bob Sneidar via use-livecode > wrote: > > I found a populate directory demo with a tree widget, but it fails, almost > certainly because the embedded widget is out of sync with the current tree &

Re: directory tree -> array

2020-01-22 Thread Bob Sneidar via use-livecode
I found a populate directory demo with a tree widget, but it fails, almost certainly because the embedded widget is out of sync with the current tree widget. Here you go. > On Jan 22, 2020, at 10:34 , Bob Sneidar via use-livecode > wrote: > > The tree view widget has an array

Re: directory tree -> array

2020-01-22 Thread Bob Sneidar via use-livecode
The tree view widget has an array at it's core. I seem to remember someone creating a stack that uses the tree view widget to represent a folder structure. You should be able to simply extract the array from that. I'll poke around. Bob S > On Jan 22, 2020, at 10:21 , Bob Sn

Re: directory tree -> array

2020-01-22 Thread Bob Sneidar via use-livecode
I thought someone created a handler for this? It requires iteration. Bob S > On Jan 22, 2020, at 10:17 , Richard Gaskin via use-livecode > wrote: > > I stumbled across a code challenge for y'all, one that seems seductively > simple but I don't think it is: > > What is the simplest way to b

Handler to create Email with Attachments using AppleScript

2020-01-22 Thread Bob Sneidar via use-livecode
For your general consumption. No error checking, so send it good data. /** AppleScript Create Mail. Pass a comma delimited list of email addresses, a subject line, Body text and optionally a numbered array of file paths. Creates a new mail in the OS X Mail app. */ on asCreateEmail pAddress

Re: Apple Mac menubar?

2020-01-21 Thread Bob Sneidar via use-livecode
I thought they were called Diddly Buggers? Bob S > On Jan 21, 2020, at 09:26 , Mark Waddingham via use-livecode > wrote: > > On 2020-01-21 17:22, dunbarx--- via use-livecode wrote: >> @Sean >> What are the "system menu extensions" on the right side of the menubar? >> @Mark W. >> What is a "M

Re: Can't add substack

2020-01-21 Thread Bob Sneidar via use-livecode
I should have said CUT the datagrid. Bob S > On Jan 21, 2020, at 09:19 , Bob Sneidar via use-livecode > wrote: > > Thanks Richard. Like I mentioned, I deleted the datagrid (thankfully there > was only one) and it's template, set the mainStack of the (soon to be) sub

Re: Can't add substack

2020-01-21 Thread Bob Sneidar via use-livecode
ck of another. I'll dig in to try to find the relevant code when I get a little time. Bob S > On Jan 17, 2020, at 20:51 , Richard Gaskin via use-livecode > wrote: > > Bob Sneidar wrote: > > > Further, when I try this from the message box, I get: > > &

Re: Thumbnail on txt file?

2020-01-21 Thread Bob Sneidar via use-livecode
Applescript is not clumsy. It's obscure and very poorly documented. Application Dictionaries are especially bad. Typically no examples of usage, which means hours of frustrating trial and error, leading eventually to abandonment. And then you are dependent on vendor software and OS developer su

Re: mailto: string with attachment

2020-01-21 Thread Bob Sneidar via use-livecode
Thank you! I needed this 3 years ago! My app sends emails detailing the service events for the day, but I have to send it as text and format it using a sans serif font to get text columns to line up. If I can create a small PDF and send that, it will be revolutionary! Also when I cannot print

Re: YAML Libraries

2020-01-21 Thread Bob Sneidar via use-livecode
Trevor, I'm curious what the significance is in using /** as the begin comment indicator? Is it something you use internally? Bob S > On Jan 19, 2020, at 06:45 , Trevor DeVore via use-livecode > wrote: > > /** ___ use-livecode mailing list use-li

Re: FYI: Cause found for LC crashing to desktop when Browser widget opens PDF

2020-01-21 Thread Bob Sneidar via use-livecode
Adobe developers doing things they shouldn't??? Whoever heard of such a t'ing!!! ;-P Bob S > On Jan 20, 2020, at 07:41 , Mark Waddingham via use-livecode > wrote: > > On 2020-01-20 15:20, Matthias Rebbe via use-livecode wrote: >> Just want to let you know that Livecode Dev Team confirmed tha

Re: FYI: Cause found for LC crashing to desktop when Browser widget opens PDF

2020-01-21 Thread Bob Sneidar via use-livecode
Great sleuthing Matthias. Bob S > On Jan 20, 2020, at 07:20 , Matthias Rebbe via use-livecode > wrote: > > Just want to let you know that Livecode Dev Team confirmed that this is a bug > > https://quality.livecode.com/show_bug.cgi?id=22534 > > > - > Matthias Rebbe > Life Is Too Short For

Re: Can't add substack

2020-01-17 Thread Bob Sneidar via use-livecode
te: > > Hi Bob, > >> Am 17.01.2020 um 20:47 schrieb Bob Sneidar via use-livecode >> : >> >> yes, but that would mean anyone who has added a datagrid to a stack wil not >> be able to make another stack it's mainStack! > > true. > >> That

Re: Can't add substack

2020-01-17 Thread Bob Sneidar via use-livecode
yes, but that would mean anyone who has added a datagrid to a stack wil not be able to make another stack it's mainStack! That can't be the expected behavior. Bob S > On Jan 17, 2020, at 11:45 , Klaus major-k via use-livecode > wrote: > > Hi Bob, > >> Am

Re: Can't add substack

2020-01-17 Thread Bob Sneidar via use-livecode
causing this. Bob S > On Jan 17, 2020, at 11:40 , Bob Sneidar via use-livecode > wrote: > > Further, when I try this from the message box, I get: > > Message execution error: > Error description: Stack: can't set mainStack (has substacks?) > Hint: > > I g

Re: Can't add substack

2020-01-17 Thread Bob Sneidar via use-livecode
020, at 11:37 , Bob Sneidar via use-livecode > wrote: > > Hi all. > > I have 2 stacks open: Forms Generator and Time Calculator. I get the > properties of stack Time Calculator and set the Main Stack property to Forms > Generator. I save both stacks. I check the properti

Can't add substack

2020-01-17 Thread Bob Sneidar via use-livecode
Hi all. I have 2 stacks open: Forms Generator and Time Calculator. I get the properties of stack Time Calculator and set the Main Stack property to Forms Generator. I save both stacks. I check the properties again, it didn't take. Ideas?? Bob S ___

Re: strange problems with SEND

2020-01-17 Thread Bob Sneidar via use-livecode
This got me thinking, I've pondered a way to run scheduled tasks, and how I would go about it. I think what I would do is have a faceless standalone that once launched sent a command in time every second, or 5 seconds or whatever, and the handler would then check a list or a database for tasks w

Re: Buying a used apple to run ios simulator.

2020-01-16 Thread Bob Sneidar via use-livecode
That is a great idea! Bob S > On Jan 16, 2020, at 10:44 , Tom Glod via use-livecode > wrote: > > I ended up going with this solution. > > https://www.xcodeclub.com/ ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this ur

Re: encrypting script-only stacks

2020-01-15 Thread Bob Sneidar via use-livecode
I REALLY need to start using GIT. I am running into that constantly. Are database schema changes gitable, or would I need to create a separate schema? Bob S > On Jan 14, 2020, at 20:36 , Mark Wieder via use-livecode > wrote: > > On 1/14/20 9:46 AM, Richard Gaskin via use-livecode wrote: > >

Re: Changing extention on script only stack

2020-01-14 Thread Bob Sneidar via use-livecode
I'll pitch in for lunch but I can't fund the whole project. Bob S > On Jan 14, 2020, at 14:08 , Richard Gaskin via use-livecode > wrote: > > Bob Sneidar wrote: > > > Let's remember this is just Windows we are talking about. I have no > > issues wha

Re: Changing extention on script only stack

2020-01-14 Thread Bob Sneidar via use-livecode
Let's remember this is just Windows we are talking about. I have no issues whatsoever with the OS X version of LC Script Editor, but the few times I really needed to code and debug in Windows it was like scratching my eyes out with a toothpick. Bob S > On Jan 14, 2020, at 12:09 , Kaveh Bazar

Re: SQL(ite) question

2020-01-14 Thread Bob Sneidar via use-livecode
Bob S > On Jan 14, 2020, at 11:16 , Richard Gaskin via use-livecode > wrote: > > Bob Sneidar wrote: >> Actually I do this all the time. SELECT * from MyTable where >> COLUMN1 like "%mysearchtermhere%" ORCOLUMN2 like "%mysearchtermhere%" >> O

Re: SQL(ite) question

2020-01-14 Thread Bob Sneidar via use-livecode
Pretty sure + means concatenate, otherwise that SQL statement would not work in any I can imagine. Bob S > On Jan 14, 2020, at 10:05 , Klaus major-k via use-livecode > wrote: > > Hi Bob, > >> Am 14.01.2020 um 19:00 schrieb Bob Sneidar via use-livecode >> : &g

Re: Embarrasssing old bugs

2020-01-14 Thread Bob Sneidar via use-livecode
This is why I always convert dates to what I call SQL datetime (YY:MM:DD HH:MM:SS). For display purposes I format as needed. Not sure this would help on an Android though. Bob S > On Jan 14, 2020, at 09:55 , Klaus major-k via use-livecode > wrote: > > And now I have to tell him that after

Re: SQL(ite) question

2020-01-14 Thread Bob Sneidar via use-livecode
ible! :-) > >> Sean Cole >> Pi Digital Prod Ltd >> >>>> On 13 Jan 2020, at 23:03, Bob Sneidar via use-livecode >>>> wrote: >>> Actually I do this all the time. >>> SELECT * from MyTable where >>> COLUMN1 like "%mysearc

Re: SQL(ite) question

2020-01-13 Thread Bob Sneidar via use-livecode
Actually I do this all the time. SELECT * from MyTable where COLUMN1 like "%mysearchtermhere%" OR COLUMN2 like "%mysearchtermhere%" OR COLUMN3 like "%mysearchtermhere%" I loop through a list of columns I want to search to build the query. Bob S > On Jan 13, 2020, at 11:03 , Klaus

Re: Changing extention on script only stack

2020-01-08 Thread Bob Sneidar via use-livecode
+1 from an old guy. :-) Bob S > On Jan 8, 2020, at 10:37 , J. Landman Gay via use-livecode > wrote: > > Is there a reason not to just put the script into a button and set the stack > behavior to that? That's what I do when I don't want extra files in my build. > > Sometimes the old ways are

<    8   9   10   11   12   13   14   15   16   17   >