Re: SVG import

2016-11-30 Thread Scott Rossi
Vectr. https://vectr.com/ Runs both locally (desktop) and in the cloud (browser). Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 11/29/16, 11:50 PM, "use-livecode on behalf of David V Glasgow"

Re: Modern email library

2016-11-30 Thread Matthias Rebbe
Ben, have a look at the sample stack Charles Warwick provided https://downloads.techstrategies.com.au/tsnet/LCMail.livecode It contains functions to create smtp header and body (including attachments). Matthias > Am 30.11.2016

Re: Modern email library

2016-11-30 Thread Bob Sneidar
Hmmm... I am logged in but I cannot seem to find any files to DL here. I may misunderstand. Bob S On Nov 30, 2016, at 05:44 , Peter TB Brett > wrote: As part of the LiveCode for FM project, Monte has been developing a MIME library

Re: Read from file

2016-11-30 Thread Bob Sneidar
Only if you read the whole file. The result should be empty if you only read part of the file (I may be mistaken). If you expect the entire file is not too big to load completely into memory, it's probably better to read the whole thing (read from tFile until EOF) then parse it. Otherwise it

Re: Modern email library

2016-11-30 Thread Bob Sneidar
I can provide you with scenarios where client side SMTP is a must. Embedded systems which send alerts, such as managed switches, routers, UPS systems, etc. REQUIRE client side SMTP to work. Further, software systems like a managed AV system or a centralized backup system which sends reports to

Re: Modern email library

2016-11-30 Thread Richard Gaskin
Ben Rubinstein wrote: > I've one app that's been in existence for over a decade, which uses > Shao Sean's libSmtp. It works fine. > > Now I find myself wanting to send email from a new stack I'm working > on. I could just drag that library out again, but I suspect that a > more modern way is to

Re: IDE Script Editor question...

2016-11-30 Thread Devin Asay
> On Nov 29, 2016, at 9:08 PM, Trevor DeVore wrote: > > On Fri, Sep 23, 2016 at 7:13 PM, Richard Gaskin > wrote: > >> Poking around in the SE I found an even simpler solution - replace line >> 3108 of "revSEEditorBehavior" >> >>

Evils of client-side SMTP (Re: Modern email library)

2016-11-30 Thread Ben Rubinstein
I'm a bit confused, Richard. FWIW, my long-time use-case is an app that runs unattended on a regular schedule on a faceless VM, doing a whole bunch of data processing and updating databases, and sends alerts by email if something goes wrong. When the app is installed, it has to be set up with

Re: Modern email library

2016-11-30 Thread Richard Gaskin
Bob Sneidar wrote: > I can provide you with scenarios where client side SMTP is a must. There are many. But hopefully they're an explicit decision by the user, and require the user to supply their own SMTP credentials. -- Richard Gaskin Fourth World Systems Software Design and

revXMLEvaluateXPath performances

2016-11-30 Thread zryip theSlug
Hi All, I was in the process to optimize my revXML code trying to figure out why for simple operations, it took so much time. In this task I have replaced 2 successives calls to the revXMLMatchingNode function for locating an attribute inside a subnode, by a revXMLEvaluateXPath query. The time

Re: Modern email library

2016-11-30 Thread Matthias Rebbe
It always depends on how you use such libraries or externals. The new tsNET external allows us for example to send notification emails from our scheduled unattended maintenance tools using our own in-house mailserver. Our mailserver requests authentication from our apps before sending out to

Re: Evils of client-side SMTP (Re: Modern email library)

2016-11-30 Thread Richard Gaskin
Ben Rubinstein wrote: > I can see why, as a user, you might be uncomfortable about giving > your email account details to an app so that it can send emails > in your name, invisibly and unreviewed by you. Quite right too! > And if you're developing software for consumers, you need to take > that

Re: Widget request (native text scroller for iOS)

2016-11-30 Thread John Allijn
Hi Jacqueline, Thanks for the long answer and for sharing the code. I’ll try it out tomorrow! best regards, John. > On 30 Nov 2016, at 21:34, J. Landman Gay wrote: > > On 11/30/16 7:35 AM, John Allijn wrote: >> I can’t get the scroller working > > I haven't had

Re: Screen not updating

2016-11-30 Thread dunbarx
Hi. If you really have never locked the screen, (did you search for "lock" in all scripts?) can you place a few bogus lines, like: answer random(999) here and there in key places and see if and where they pop up? I do this sort of thing all the time to flag important changes or unwanted

Re: Screen not updating

2016-11-30 Thread dunbarx
Stephen makes a point. dispatch "ResetList" to group "yourDataGrid" Craig -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Screen-not-updating-tp4710763p4710766.html Sent from the Revolution - User mailing list archive at Nabble.com.

RE: Screen not updating

2016-11-30 Thread Ralph DiMola
If this is in the IDE then it goes back to 6.6.2 rc4. http://quality.livecode.com/show_bug.cgi?id=12508 Drives me crazy. Ralph DiMola IT Director Evergreen Information Services rdim...@evergreeninfo.net -Original Message- From: use-livecode

Unrecognisable stacks?

2016-11-30 Thread Richmond Mathewson
Having hosed my Linux system, paid $400 for Disk Drill (which is bringing back a lot more than I had hoped for), paid $500 for 8 Terabytes of backup systems and so forth, I am currently: 1. Extremely grateful that my friend who runs a second-hand computer operation over here pursuaded me

Re: Widget request (native text scroller for iOS)

2016-11-30 Thread J. Landman Gay
On 11/30/16 7:35 AM, John Allijn wrote: I can’t get the scroller working I haven't had any problem with scrollers on either iOS or Android, barring a specific vScroll bug that's been reported. (http://quality.livecode.com/show_bug.cgi?id=18924) Aside from that they work very well as long

Re: Modern email library

2016-11-30 Thread Ben Rubinstein
On 30/11/2016 17:07, Matthias Rebbe wrote: have a look at the sample stack Charles Warwick provided https://downloads.techstrategies.com.au/tsnet/LCMail.livecode It contains functions to create smtp header and body (including attachments). Thanks Matthias, I've grabbed that and will take a

Re: Widget request (native text scroller for iOS)

2016-11-30 Thread Richard Gaskin
J. Landman Gay wrote: > Scrollers are picky, you have to make sure that: > > 1. The full length of the field is displayed. It can't be a scrolling > field, it has to be a very tall field at its full height so all > content is visible. It's okay if it runs off the window. > 2. The field must have

Re: Screen not updating

2016-11-30 Thread Bob Sneidar
Perhaps, but that is not the issue. If you set the dgHilitedLine or dghilitedIndex, the datagrid will scroll if necessary to make the line visible. The form updates because I have a selectionChanged handler in the data grid which does everything necessary, and I dispatch that to the data grid

Screen not updating

2016-11-30 Thread Bob Sneidar
Hi all. Not sure if this is expected behavior. While running a script, my monitor is not updating with anything that is happening. I am running a script that incrementally selects a record in a data grid, which will then update the form, then I run some other things that get data from the form

Re: Screen not updating

2016-11-30 Thread Stephen Barncard
I am pretty sure when one makes a change to a datagrid from 'outside', it may need to be refreshed. There's a command. On Wed, Nov 30, 2016 at 1:06 PM, Bob Sneidar wrote: > Hi all. Not sure if this is expected behavior. While running a script, my > monitor is not

Re: SVG import

2016-11-30 Thread Peter TB Brett
On 30/11/2016 07:50, David V Glasgow wrote: 2/ If not, what vector graphics program is good for (very simple) objects. Mac preferred, but hey ho. Inkscape is excellent: https://inkscape.org/ Peter -- Dr Peter Brett

Re: My own productivity app

2016-11-30 Thread Terry Vogelaar
Thank you, Jacqueline and Mike, for your responses. Jacqueline wrote that LC provides no feedback when it isn't the frontmost app. But is there a way to use MacOS's Notification Center from within LiveCode to tell me things like that? Mike's solution using a timed loop seems to do the trick

Re: SVG import

2016-11-30 Thread Richmond Mathewson
I use Inkscape on both Mac and Linux, there is also Drawberry for Mac: https://inkscape.org/en/ http://raphaelbost.free.fr/DrawBerry.html personally I prefer the first one because it is available for Mac, Win and Lin, and is a full-blown rival to Illustrator that is free. Richmond. On

Re: My own productivity app

2016-11-30 Thread Mark Schonewille
Hi Terry, It used to be possible to get the front-most app with AppleScript. Due to sandboxing, this may no longer apply, but perhaps signing the app (or turning off Gate Keeper) will allow this again? Kind regards, Mark Schonewille http://economy-x-talk.com https://www.facebook.com/marksch

Modern email library

2016-11-30 Thread Ben Rubinstein
I've one app that's been in existence for over a decade, which uses Shao Sean's libSmtp. It works fine. Now I find myself wanting to send email from a new stack I'm working on. I could just drag that library out again, but I suspect that a more modern way is to use tsNet. AFAICT tsNet

Re: Widget request (native text scroller for iOS)

2016-11-30 Thread John Allijn
I can’t get the scroller working but have a workaround for anyone else who may have this problem. Not so fancy, but it works… use a normal text field and lock the text then set the script of the field to this: local sStartV local tDistance local tStartScroll on mouseDown put the mouseV

Re: molassus IDE and revInternal_savePrefs

2016-11-30 Thread Dr. Hawkins
On Wed, Nov 30, 2016 at 7:23 PM, J. Landman Gay wrote: > I suppose it wouldn't hurt to delete your preferences file. Who knows, it > might perform some magic. > I tried going back to 8.1, which was noticeably better, and 7.1.4, which was *much* better. Deleting the

Re: Screen not updating

2016-11-30 Thread Bob Sneidar
I have commented on the bug for all it's worth. Bob S On Nov 30, 2016, at 14:29 , Ralph DiMola > wrote: If this is in the IDE then it goes back to 6.6.2 rc4. http://quality.livecode.com/show_bug.cgi?id=12508 Drives me crazy. Ralph

Re: molassus IDE and revInternal_savePrefs

2016-11-30 Thread Dr. Hawkins
It is *much* worse today. I have no idea where the cycles are going; I don't have anything in the message queue, although that preferences bit keeps showing up. I am seeing delays of about 5-30 seconds when clicking in a field before it responds (focuses), and so forth. The script editor has

Re: Clone graphic does not respect dimensions

2016-11-30 Thread Scott Rossi
It's wrong but it's always been like this. LC doesn't like graphics smaller than 9 pixels. Regards, Scott Rossi Creative Director Tactile Media UX/UI Design > On Nov 30, 2016, at 4:48 PM, Michael Julian Lew > wrote: > > When I clone a graphic (an 8 by 8 pixel oval)

Clone graphic does not respect dimensions

2016-11-30 Thread Michael Julian Lew
When I clone a graphic (an 8 by 8 pixel oval) in LiveCode 8.1.1 the copy comes out at the default size for a new oval, 120 by 120. That would not be a clone, in my opinion. Is it correct behaviour? Michael ___ use-livecode mailing list

Turn off tsNet?

2016-11-30 Thread Richard Gaskin
Is there a way to temporarily turn off tsNet, or at least disable it for the duration of a given LiveCode session? I do a lot of work supporting the community, and since tsNet isn't available in the Community Edition it would be nice to be able to turn that off when I need to get the same

Crash in LC related to regular polygon

2016-11-30 Thread Randy Hengst
Hi All, I’ve been able to reproduce a hard crash on two different Macs… one running 10.10.5 and the other running 10.11.6. I’ve seen the crash in LC 8.1 on the 10.10.5 Mac and in LC 8.1 and LC 7.1.4 on the other Mac. In short, I was playing with the “effective points” I asked about earlier so

Re: Turn off tsNet?

2016-11-30 Thread panagiotis merakos
I think you can do that by typing in the message box: dispatch "revUnloadLibrary" to stack "tsNetLibURL" On Wed, Nov 30, 2016 at 10:41 PM, Richard Gaskin wrote: > Is there a way to temporarily turn off tsNet, or at least disable it for > the duration of a given

[ANN] XLSX Library ready for a test - Looking for testers

2016-11-30 Thread zryip theSlug
Dear LiveCode Users, We are working on a new Library capable to read / write / update xlsx files without the help of MS Excel. The Library is dealing natively with LiveCode (and the help of revXML and revZip) with the Office Open XML format. We are actually in alpha version and we have prepared

Re: Widget request (native text scroller for iOS)

2016-11-30 Thread Scott Morrow
John, I’ve put some pretty complex groups under an iOS scroller and had it work quite well. My problem is that I forget the on scrollerDidScroll hOffset, vOffset // When the user scrolls move the displayed content set the vScroll of group "scrollArea" to vOffset end scrollerDidScroll part

Re: Clone graphic does not respect dimensions

2016-11-30 Thread Richmond Mathewson
Was the graphic locked? Richmond. On 12/1/16 2:48 am, Michael Julian Lew wrote: When I clone a graphic (an 8 by 8 pixel oval) in LiveCode 8.1.1 the copy comes out at the default size for a new oval, 120 by 120. That would not be a clone, in my opinion. Is it correct behaviour? Michael

Re: molassus IDE and revInternal_savePrefs

2016-11-30 Thread J. Landman Gay
On 11/30/16 10:21 PM, Dr. Hawkins wrote: On Wed, Nov 30, 2016 at 7:23 PM, J. Landman Gay wrote: I suppose it wouldn't hurt to delete your preferences file. Who knows, it might perform some magic. I tried going back to 8.1, which was noticeably better, and 7.1.4,

Re: IDE Script Editor question...

2016-11-30 Thread Richard Gaskin
Trevor DeVore wrote: On Fri, Sep 23, 2016 at 7:13 PM, Richard Gaskin wrote: Poking around in the SE I found an even simpler solution - replace line 3108 of "revSEEditorBehavior" scriptFormat "handler" ...with: if the shiftKey is "down" then scriptFormat "script"

Re: Modern email library

2016-11-30 Thread William Prothero
Folks, In case anybody wants to look at my version of email with attachments, sent using a remote email server, you can download a sample stack at: http://es.earthlearningsolutions.org/SoftwareForEducation It uses php on the server

Re: molassus IDE and revInternal_savePrefs

2016-11-30 Thread J. Landman Gay
I suppose it wouldn't hurt to delete your preferences file. Who knows, it might perform some magic. Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com On November 30, 2016 6:21:02 PM "Dr. Hawkins"

Re: Modern email library

2016-11-30 Thread Peter TB Brett
On 30/11/2016 13:16, Ben Rubinstein wrote: I've one app that's been in existence for over a decade, which uses Shao Sean's libSmtp. It works fine. Now I find myself wanting to send email from a new stack I'm working on. I could just drag that library out again, but I suspect that a more modern

Re: Retrieving Browser Widget DOM

2016-11-30 Thread Trevor DeVore
On Tue, Nov 29, 2016 at 5:22 PM, mwieder wrote: > Warning, though... it's madness trying to treat html as valid xml. > Amen! It would be nice to have something like this wrapped up for use in LiveCode: http://xmlsoft.org/html/libxml-HTMLparser.html -- Trevor DeVore

Re: Widget request (native text scroller for iOS)

2016-11-30 Thread Richard Gaskin
John Allijn wrote: > I can’t get the scroller working but have a workaround for anyone > else who may have this problem. > Not so fancy, but it works… > > use a normal text field and lock the text > then set the script of the field to this: > > local sStartV > local tDistance > local