LiveCode Server Turned To Molasses
Hi LC Server Gurus: One day after getting an LC server-based form working, the response time of the server has suddenly decreased substantially. I put up a simple one line script that returns the long time, and here it takes between 20 and 30 seconds to execute. A simple HTML page with "hello world" responds immediately. Is it possible that my repeated requests during testing have "stacked up" and bogged down the server? Is there some kind of reset and/or maintenance thing I can do? Everything appeared to be running fine yesterday, but today things are unusuable. Thanks for any suggestions. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: RELEASE: LiveCode 6.7-dp-2
I get a popup login. Using Chrome on OSX Mavericks. On Tue, Apr 22, 2014 at 10:49 PM, morecroft wrote: > Thanks Alejandro. > I can also get the linkedin page. > Looking closer, I think it may only be a problem for basic auth which gives > a pop-up login box. Rather old fashioned I know, but you still get this > with > some internal sites. An example of one of these, you should be able to see, > is https://estore-remote.qut.edu.au . > With this site the first try does not give the login box; the second try > gives an error page which you can see. > As I mentioned before, revBrowserOpen does work for this kind of login. > > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/RELEASE-LiveCode-6-7-dp-2-tp4678506p4678564.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > ___ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: file checksums
I'm guessing that most people that download files have no idea about MD5 and checksums let alone know how to verify the integrity of the download. Besides the geeks around here (LiveCode geeks are awesome), could your neighbor verify the following? Probably not. 9cfec5c23c16e1fbd1a1d4bffb0e6ab2 vs 9e107d9d372bb6826bd81d3542a419d6 vs ec96823c9795fb3cfa1bbad6c99ed8fe So while MD5 provides a way to verify the integrity of a file for the honest and geeky, it does nothing to protect your average computer user from those trying to highjack their banking and credit card information. See my example above, just because there's a hashtag doesn't make it a legit download. On Tue, Apr 22, 2014 at 8:25 PM, Alejandro Tejada wrote: > Maybe MD5 and SHA-1 are more useful for files > available in many servers. > > What are the chances of hacking many servers > at once? > > Al > > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/file-checksums-tp4678556p4678560.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > ___ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Email Using LiveCode Server?
On Tue, Apr 22, 2014 at 7:26 PM, Scott Morrow wrote: > I was working something similar. > — > Scott Morrow > I was ready to kluge something with a php/livecode hybrid setup. *--* *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words* ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: RELEASE: LiveCode 6.7-dp-2
Thanks Alejandro. I can also get the linkedin page. Looking closer, I think it may only be a problem for basic auth which gives a pop-up login box. Rather old fashioned I know, but you still get this with some internal sites. An example of one of these, you should be able to see, is https://estore-remote.qut.edu.au . With this site the first try does not give the login box; the second try gives an error page which you can see. As I mentioned before, revBrowserOpen does work for this kind of login. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/RELEASE-LiveCode-6-7-dp-2-tp4678506p4678564.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: MS SQL
On 4/22/14, 6:49 PM, Kay C Lan wrote: I don't know if it's just your email client but what I'm seeing is an asterisk * around the words get, put and return which shouldn't be there. That happens to all keywords when a colorized script is copied from the script editor and pasted into a text-only email list. I see it here all the time. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Email Using LiveCode Server?
Thanks to everyone who posted thoughts or follow-ups to Scott’s Email question. I was working something similar. — Scott Morrow Elementary Software (Now with 20% less chalk dust!) web http://elementarysoftware.com/ email sc...@elementarysoftware.com office 1-800-615-0867 -- On Apr 22, 2014, at 4:01 AM, Matthias Rebbe | M-R-D wrote: > > Hi Scott, > > if you need to reply to the address the customer entered in the form, then > you could > adjust the script a little bit: > > // add the parameter pReplyTo to the parameter list > > //command mail pTo, pSub, pMsg, pFrom, pCc, pBcc, pHtml, pAtts > command mail pTo, pSub, pMsg, pFrom, pReplyTo, pCc, pBcc, pHtml, pAtts > >local tMsg > >-- build the message header, adding the from, to and subject details >-- we also put any cc addresses in here, but not bcc (bcc addresses hidden) >put "From:" && pFrom & return & "To:" && pTo & return & "Subject:" && pSub > & return into tMsg > > //add this three lines // >if pReplyTo is not empty then > put "Reply-to:" && pReplyTo & return after tMsg >end if > // END add this three lines // > > > if pCc is not empty then > put "Cc:" && pCc & return after tMsg >end if > . . . . > ?> > > You just have to set the pReplyTo variable with the email address of the > customer. > > And don´t forget to call the command "mail" with the newly added parameter > > mail pTo, pSub, pMsg, pFrom, pReplyTo, pCc, pBcc, pHtml, pAtts > > With that adjustments the email is sent and you can still reply to the > customer address. > > Regards, > > Matthias > > > Am 22.04.2014 um 01:06 schrieb Scott Rossi : > >> Thanks to Alex and Matthias for the responses. Matthias's comment >> prompted me to do some more searching and I found the problem, which was >> partly script related, and partly host related: outside-domain email >> addresses are not allowed. >> >> Some time ago, DreamHost stepped up their anti-spam practices, and >> disabled the ability of sending mail from an address that is not connected >> to any of your hosted domains. Clearly this makes sense. But the form I >> have uses the sender's email in the "from" variable, which apparently gets >> rejected by the mail process. As soon as I changed the "from" address to >> one of my domain addresses, sendmail worked right away. >> >> [ bloody forehead slap ] >> >> Thanks all. >> >> Regards, >> >> Scott Rossi >> Creative Director >> Tactile Media, UX/UI Design >> >> >> >> >> On 4/21/14 11:51 AM, "Scott Rossi" wrote: >> >>> I'm wondering if anyone has a working example of sending email from >>> LiveCode server. >>> >>> I'm trying to send mail using LC server on a site, and following the >>> RunRev >>> lesson: >>> http://lessons.runrev.com/s/lessons/m/4070/l/8184-Sending-Emails-From-revS >>> e >>> rver-Scripts ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Fun with 7.0
You don’t include a self-destruct button in everything you build? Doofenshmirtz does. (We are fans of Phineas and Ferb at our house.) Did I mention that her brother and I discovered this will work? put 0 into スイッチ add 1 to スイッチ put スイッチ -- displays 1 The editor kept getting confused though. I’m not sure if it was the field or the handlers for field events. Dar On Apr 22, 2014, at 5:50 PM, Tim Selander wrote: > Okay, Dar, now I really want to know why your daughter is programming rocket > launchers and suicide bombs!! I really hope it is just a game! :-) > > Tim Selander > Tokyo, Japan > > P.S. And it really, really disturbs me that I actually sat here for a full 30 > secs wondering if I should send this wisecrack in our current era of > government snooping, etc.Sigh... > > > On 14/04/23 7:06, Devin Asay wrote: >> On Apr 21, 2014, at 6:30 PM, Dar Scott wrote: >> >>> My daughter created this: >>> >>> on mouseUp >>> set the label of button "ロケットの 打ち上げ" to "自爆スイッチ" >>> put "クローン作成プロセスを完成できました。" into field "Status" >>> end mouseUp >>> >>> Anyway, it is that easy. Except for learning Japanese; that is the hard >>> part. (She studied a couple semesters in Japan, but she is still learning.) >> I've also been looking closely at Unicode in LC 7, as have a couple of my >> students. As of DP2 it's pretty stable, and for the most part unicode "just >> works". It's almost like magic. >> >> There are still some problems with right-to-left languages, and some insert >> cursor weirdnesses. See e.g., bugs >> http://quality.runrev.com/show_bug.cgi?id=12177, >> http://quality.runrev.com/show_bug.cgi?id=11986 and >> http://quality.runrev.com/show_bug.cgi?id=12064. >> >> I've been following Dar's posts with interest. >> >> Devin >> >> >> Devin Asay >> Office of Digital Humanities >> Brigham Young University >> >> ___ >> use-livecode mailing list >> use-livecode@lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > ___ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: file checksums
Maybe MD5 and SHA-1 are more useful for files available in many servers. What are the chances of hacking many servers at once? Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/file-checksums-tp4678556p4678560.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Fun with 7.0
Sudden and complete destruction is deeply embedded in the collective mind of Japanese people, post Hiroshima and Nagasaki. Their Pop culture reflect this fear... Remember Godzilla? Fukushima Nuclear accident just remembers them of the reality of these fears. :o So, yes this a recurrent theme in games and fiction works from Japan. Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Fun-with-7-0-tp4678526p4678559.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: file checksums
I’ve wondered the same. My guess is that the web page with the MD5 is not on the same server as the file. But, I have never checked. I suppose the same password might be used for access to both. Dar On Apr 22, 2014, at 6:38 PM, Richard Gaskin wrote: > I see a lot of sites that offer files to download also including an MD5 value > or other checksum, ostensibly so we can verify the integrity of the package > before running it. > > Sounds good, but if a hacker has sufficient control of a server to replace > the package, would he not also be able to update the checksums displayed > there to reflect those in his modified package? > > I like the idea of providing checksums, but I'm having a hard time seeing the > practical benefit. > > What am I missing? > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > Follow me on Twitter: http://twitter.com/FourthWorldSys > > ___ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: MS SQL
It still hangs after I changed the line of code. Here's the entire script for the button. Also, this is a MS SQL server. Thanks again. *on* mouseUp *local* tDatabaseID *local* xQuery *local* rez *put* "Driver={Actual SQL Server};Server=xxx.xxx.x.x;Database=AT2005_Premier;UID=xx;PWD=xx;" into tString *put* revOpenDatabase("ODBC", tString, "", "", "") into tDatabaseID *put* tDatabaseID *if* tDatabaseID is not a number *then* *answer* "Not connected" *else* *put* revDataFromQuery(,,tDatabaseID,"SELECT * FROM Rep_Offices") into fld"results" *end* *if* *# put revDatabaseConnectResult(tData) * *#put revQueryDatabase(tData,"SELECT * FROM OfficesCategory")* *end* mouseUp On Tue, Apr 22, 2014 at 7:49 PM, Kay C Lan wrote: > I don't know if it's just your email client but what I'm seeing is an > asterisk * around the words get, put and return which shouldn't be there. > Although it should work I'd also remove the first two parameters, tab and > return, just to simplify things until you figure out exactly what's wrong. > The most basic query should look like this: > > put revDataFromQuery(,,tDatabaseID,"SELECT * FROM Rep_Offices") into > fld"results" > > HTH > > > On Wed, Apr 23, 2014 at 2:40 AM, Rodney Green >wrote: > > > Hello, > > > > It's my first time using LC and MS SQL in a project. I can connect and > > receive a connection ID. However, I can't seem to pass any SQL commands. > I > > try this: > > > > *get* revDataFromQuery(tab,*return*,tDatabaseID,"select top 3 * from > > [dbo].[Rep_Offices]") > > > > or this: > > > > *put* revDataFromQuery(tab,*return*,tDatabaseID,"select * from > > Rep_Offices") > > into "dbResults" > > > > or this: > > > > *put* revDataFromQuery(tab,*return*,tDatabaseID,"select top 3 * from > > [dbo].[Rep_Offices]") into fld "results" > > > > Any SQL causes livecode to freeze. I've tried different variations of the > > query and no luck. If I put in random chars for the SQL statement then > the > > odbc driver gives an error. > > > > Can anyone point me in the right direction? > > > > Thanks. > > ___ > > use-livecode mailing list > > use-livecode@lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > ___ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
file checksums
I see a lot of sites that offer files to download also including an MD5 value or other checksum, ostensibly so we can verify the integrity of the package before running it. Sounds good, but if a hacker has sufficient control of a server to replace the package, would he not also be able to update the checksums displayed there to reflect those in his modified package? I like the idea of providing checksums, but I'm having a hard time seeing the practical benefit. What am I missing? -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com Follow me on Twitter: http://twitter.com/FourthWorldSys ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Fun with 7.0
Okay, Dar, now I really want to know why your daughter is programming rocket launchers and suicide bombs!! I really hope it is just a game! :-) Tim Selander Tokyo, Japan P.S. And it really, really disturbs me that I actually sat here for a full 30 secs wondering if I should send this wisecrack in our current era of government snooping, etc.Sigh... On 14/04/23 7:06, Devin Asay wrote: On Apr 21, 2014, at 6:30 PM, Dar Scott wrote: My daughter created this: on mouseUp set the label of button "ロケットの 打ち上げ" to "自爆スイッチ" put "クローン作成プロセスを完成できました。" into field "Status" end mouseUp Anyway, it is that easy. Except for learning Japanese; that is the hard part. (She studied a couple semesters in Japan, but she is still learning.) I've also been looking closely at Unicode in LC 7, as have a couple of my students. As of DP2 it's pretty stable, and for the most part unicode "just works". It's almost like magic. There are still some problems with right-to-left languages, and some insert cursor weirdnesses. See e.g., bugs http://quality.runrev.com/show_bug.cgi?id=12177, http://quality.runrev.com/show_bug.cgi?id=11986 and http://quality.runrev.com/show_bug.cgi?id=12064. I've been following Dar's posts with interest. Devin Devin Asay Office of Digital Humanities Brigham Young University ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: MS SQL
I don't know if it's just your email client but what I'm seeing is an asterisk * around the words get, put and return which shouldn't be there. Although it should work I'd also remove the first two parameters, tab and return, just to simplify things until you figure out exactly what's wrong. The most basic query should look like this: put revDataFromQuery(,,tDatabaseID,"SELECT * FROM Rep_Offices") into fld"results" HTH On Wed, Apr 23, 2014 at 2:40 AM, Rodney Green wrote: > Hello, > > It's my first time using LC and MS SQL in a project. I can connect and > receive a connection ID. However, I can't seem to pass any SQL commands. I > try this: > > *get* revDataFromQuery(tab,*return*,tDatabaseID,"select top 3 * from > [dbo].[Rep_Offices]") > > or this: > > *put* revDataFromQuery(tab,*return*,tDatabaseID,"select * from > Rep_Offices") > into "dbResults" > > or this: > > *put* revDataFromQuery(tab,*return*,tDatabaseID,"select top 3 * from > [dbo].[Rep_Offices]") into fld "results" > > Any SQL causes livecode to freeze. I've tried different variations of the > query and no luck. If I put in random chars for the SQL statement then the > odbc driver gives an error. > > Can anyone point me in the right direction? > > Thanks. > ___ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
RE: Group Visible
Nah it's not a problem to manage manually, I was just wondering if there was a system message that was sent that I could tap into. Nakia Brewer | Technology & Solutions Manager | Equipment Management Solutions t: (02) 49645051 | m: 0458 713 547 | i: www.westrac.com.au ACN 009 342 572 -Original Message- From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of dunb...@aol.com Sent: Wednesday, 23 April 2014 9:01 AM To: use-livecode@lists.runrev.com Subject: Re: Group Visible I see no messages sent when showing or hiding any control, groups included. You will have to manage this by hand, I think, but that should not be too hard. However the group is shown or hidden, you can add a gadget at that point. Or is that a problem? How do these things appear or disappear? Craig Newman -Original Message- From: Nakia Brewer To: use-livecode Sent: Tue, Apr 22, 2014 6:53 pm Subject: Group Visible Is there a LC message that is sent when a group becomes visible? COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer +virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: programatically click?
The way I deal with this is to have two commands for each interface element, one for humans, one that is programartic. For a table, I might have: on mouseup put the clickline into theline doit theline end mouseup on doit theline if theline = empty then put the clickline into theline end if - - stuff here end doit The idea is that a human activates the control with mouseup (or whatever), and the actual work is performed by the doit command. I can drive the interface by sending doit commands to each of my interface elements. For me it keeps a nice separation between programatic control and human interaction. Kee Nethery ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Group Visible
I see no messages sent when showing or hiding any control, groups included. You will have to manage this by hand, I think, but that should not be too hard. However the group is shown or hidden, you can add a gadget at that point. Or is that a problem? How do these things appear or disappear? Craig Newman -Original Message- From: Nakia Brewer To: use-livecode Sent: Tue, Apr 22, 2014 6:53 pm Subject: Group Visible Is there a LC message that is sent when a group becomes visible? COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Group Visible
Is there a LC message that is sent when a group becomes visible? COPYRIGHT / DISCLAIMER: This message and/or including attached files may contain confidential proprietary or privileged information. If you are not the intended recipient, you are strictly prohibited from using, reproducing, disclosing or distributing the information contained in this email without authorisation from WesTrac. If you have received this message in error please contact WesTrac on +61 8 9377 9444. We do not accept liability in connection with computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment. We reserve the right to monitor all e-mail communications. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Fun with 7.0
On Apr 21, 2014, at 6:30 PM, Dar Scott wrote: > My daughter created this: > > on mouseUp > set the label of button "ロケットの 打ち上げ" to "自爆スイッチ" > put "クローン作成プロセスを完成できました。" into field "Status" > end mouseUp > > Anyway, it is that easy. Except for learning Japanese; that is the hard > part. (She studied a couple semesters in Japan, but she is still learning.) I've also been looking closely at Unicode in LC 7, as have a couple of my students. As of DP2 it's pretty stable, and for the most part unicode "just works". It's almost like magic. There are still some problems with right-to-left languages, and some insert cursor weirdnesses. See e.g., bugs http://quality.runrev.com/show_bug.cgi?id=12177, http://quality.runrev.com/show_bug.cgi?id=11986 and http://quality.runrev.com/show_bug.cgi?id=12064. I've been following Dar's posts with interest. Devin Devin Asay Office of Digital Humanities Brigham Young University ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: programatically click?
Richmond. The "click" command requires a point as a parameter, that is, something that resolves to "integer,integer" The comma is de rigueur. -Original Message- From: Richmond To: How to use LiveCode Sent: Tue, Apr 22, 2014 1:22 pm Subject: Re: programatically click? on mouseUp click at line 5 of fld "FLIST" end mouseUp gives me this: Typeclick: expression is not a point ObjectButton Lineclick at line 5 of fld "FLIST" HintElephants ["Elephants" is the content of line 5 of fld "FLIST"] this: on mouseUp click at char 1 of line 5 of fld "FLIST" end mouseUp throws the same sort of error. Richmond. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: iOS: message sent when screen is unlocked?
Yes, I think that might work. Thanks. I’m a mergExt subscriber but hadn’t thought to check that. Thanks again, Chris On Apr 22, 2014, at 1:47 PM, Stephen MacLean wrote: > Hi Chris, > > Check out Monte's mergEXT externals. MergNotify should give you that message. > > MergExt.com > > Best, > > Steve MacLean > >> On Apr 22, 2014, at 1:52 PM, Chris Sheffield wrote: >> >> Is there a message that’s sent to a stack when the user unlocks an iOS >> device’s screen after it has been locked? >> >> So say an app is running. Instead of closing it using the Home button, the >> user either locks the screen or the screen locks automatically after the >> specified time in Settings. Is there a way to catch that the user has >> unlocked the screen and take some kind of action? >> >> Thanks, >> Chris >> >> >> >> -- >> Chris Sheffield >> Read Naturally, Inc. >> www.readnaturally.com >> >> ___ >> use-livecode mailing list >> use-livecode@lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > ___ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: RELEASE: LiveCode 6.7-dp-2
Simon Morecroft wrote > Has anyone tried using revBrowserOpenCef with authenticated sites? > Sites that were working (asking for login details) with revBrowserOpen, > give a blank screen with revBrowserOpenCef. > Non-authenticated sites are fine using revBrowserOpenCef I could enter LinkedIN from revBrowserOpenCef. Which websites produce errors? -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/RELEASE-LiveCode-6-7-dp-2-tp4678506p4678546.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: iOS: message sent when screen is unlocked?
Hi Chris, Check out Monte's mergEXT externals. MergNotify should give you that message. MergExt.com Best, Steve MacLean > On Apr 22, 2014, at 1:52 PM, Chris Sheffield wrote: > > Is there a message that’s sent to a stack when the user unlocks an iOS > device’s screen after it has been locked? > > So say an app is running. Instead of closing it using the Home button, the > user either locks the screen or the screen locks automatically after the > specified time in Settings. Is there a way to catch that the user has > unlocked the screen and take some kind of action? > > Thanks, > Chris > > > > -- > Chris Sheffield > Read Naturally, Inc. > www.readnaturally.com > > ___ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
MS SQL
Hello, It's my first time using LC and MS SQL in a project. I can connect and receive a connection ID. However, I can't seem to pass any SQL commands. I try this: *get* revDataFromQuery(tab,*return*,tDatabaseID,"select top 3 * from [dbo].[Rep_Offices]") or this: *put* revDataFromQuery(tab,*return*,tDatabaseID,"select * from Rep_Offices") into "dbResults" or this: *put* revDataFromQuery(tab,*return*,tDatabaseID,"select top 3 * from [dbo].[Rep_Offices]") into fld "results" Any SQL causes livecode to freeze. I've tried different variations of the query and no luck. If I put in random chars for the SQL statement then the odbc driver gives an error. Can anyone point me in the right direction? Thanks. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: 500 ms to set a thumbpos??
Installed 6.6.1 stable on a couple systems and figured out that the problem I was having was likely related to the windows hang on redraw bug that got fixed in 6.6.1 Everything is working better than ever now on the systems I have tested. On Tue, Apr 15, 2014 at 10:53 AM, Trevor DeVore wrote: > > Even on windows 8, everything post 6.5 just crwwwls. > > > > The ide and any standalone built with the new graphics libs uses an > > enormous amount of cpu on my laptop. Simply showing a popup menu eats up > > about 48% of my admittedly under-powered cpu. Anything that involves > > drawing anything to the screen is god awful slow and if I fiddle too much > > while it thinks the whole deal crashes. I'm still building with 5.5 > until 7 > > to wait and see if this behavior is corrected later on. Right now, > livecode > > 6.5+ is barely usable for me unless I am using a high end system. I have > > been having similar issues with the clarify 2 beta and i suspect it is > due > > to the use of the newer engine. > > > > Andrew, > > The issue being talked about in this thread and what you describe may be > two separate things. 6.6 is when retina support was added for desktop and > that caused a big slowdown on machines running in high-dpi mode (Mac or > Windows) as many more pixels are being rendered (as many as 4x). RunRev is > working to address this as soon as possible. > > What you describe seems to be something else. 6.5 doesn't have any of the > retina changes for desktop but does have the graphics layer changes (as you > mentioned). It is my understanding that 6.5 should run at the same speed as > previous versions. I wouldn't expect any changes specific to 7.0 to affect > what you are seeing, although the speed increase they are working on for > retina would probably help. > > I would *highly* recommend that you submit a bug report about the > performance on your machine. Waiting to see if something gets fixed when > you haven't filed a report often leads to disappointment :-) -- Regards, Andrew Kluthe and...@ctech.me ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
iOS: message sent when screen is unlocked?
Is there a message that’s sent to a stack when the user unlocks an iOS device’s screen after it has been locked? So say an app is running. Instead of closing it using the Home button, the user either locks the screen or the screen locks automatically after the specified time in Settings. Is there a way to catch that the user has unlocked the screen and take some kind of action? Thanks, Chris -- Chris Sheffield Read Naturally, Inc. www.readnaturally.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: programatically click?
on mouseUp click at line 5 of fld "FLIST" end mouseUp gives me this: Typeclick: expression is not a point ObjectButton Lineclick at line 5 of fld "FLIST" HintElephants ["Elephants" is the content of line 5 of fld "FLIST"] this: on mouseUp click at char 1 of line 5 of fld "FLIST" end mouseUp throws the same sort of error. Richmond. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: programatically click?
Instead of trying to generate a click, try setting the hilitedLines of the field to the lines you want selected and then send mouseUp (or whatever message you want triggered) to the field. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 4/22/14 7:43 AM, "la...@significantplanet.org" wrote: >Is there a way to programatically click on a line in a field whose list >behavior is set to multi-line and non-contiguous? > >TIA >Larry > >P.S. using "click at the location" didn't work >___ >use-livecode mailing list >use-livecode@lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: programatically click?
Set the hilitedlines of the field. On April 22, 2014 9:43:55 AM CDT, la...@significantplanet.org wrote: >Is there a way to programatically click on a line in a field whose list >behavior is set to multi-line and non-contiguous? > >TIA >Larry > >P.S. using "click at the location" didn't work >___ >use-livecode mailing list >use-livecode@lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: programatically click?
Hi. using "click at the location" didn't work You certainly can click in a list field programatically, and you will see the appropriate line become selected. Check your coordinates? What did you do for "the location"? And when you do, a mouseUp message will be sent. Now this may not be the only way to do what you want, but your original thinking was perfectly sound. So what went wrong? Craig Newman -Original Message- From: larry To: How to use LiveCode Sent: Tue, Apr 22, 2014 11:12 am Subject: Re: programatically click? Hi John, You put me onto a train of thought. Here is what works: set the hilitedline of field column3 to thisLine call "mouseUp" of field column3 Thanks, Larry - Original Message - From: "John Dixon" To: "How to use LiveCode" Sent: Tuesday, April 22, 2014 8:48 AM Subject: RE: programatically click? > Would something like... > > select line x of fld x > > help ? > >> From: la...@significantplanet.org >> To: use-livecode@lists.runrev.com >> Subject: programatically click? >> Date: Tue, 22 Apr 2014 08:43:55 -0600 >> >> Is there a way to programatically click on a line in a field whose list behavior is set to multi-line and non-contiguous? >> >> TIA >> Larry >> >> P.S. using "click at the location" didn't work >> ___ >> use-livecode mailing list >> use-livecode@lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > ___ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: programatically click?
Hi John, You put me onto a train of thought. Here is what works: set the hilitedline of field column3 to thisLine call "mouseUp" of field column3 Thanks, Larry - Original Message - From: "John Dixon" To: "How to use LiveCode" Sent: Tuesday, April 22, 2014 8:48 AM Subject: RE: programatically click? > Would something like... > > select line x of fld x > > help ? > >> From: la...@significantplanet.org >> To: use-livecode@lists.runrev.com >> Subject: programatically click? >> Date: Tue, 22 Apr 2014 08:43:55 -0600 >> >> Is there a way to programatically click on a line in a field whose list >> behavior is set to multi-line and non-contiguous? >> >> TIA >> Larry >> >> P.S. using "click at the location" didn't work >> ___ >> use-livecode mailing list >> use-livecode@lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > ___ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
RE: programatically click?
Would something like... select line x of fld x help ? > From: la...@significantplanet.org > To: use-livecode@lists.runrev.com > Subject: programatically click? > Date: Tue, 22 Apr 2014 08:43:55 -0600 > > Is there a way to programatically click on a line in a field whose list > behavior is set to multi-line and non-contiguous? > > TIA > Larry > > P.S. using "click at the location" didn't work > ___ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
programatically click?
Is there a way to programatically click on a line in a field whose list behavior is set to multi-line and non-contiguous? TIA Larry P.S. using "click at the location" didn't work ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Email Using LiveCode Server?
Hi Scott, if you need to reply to the address the customer entered in the form, then you could adjust the script a little bit: // add the parameter pReplyTo to the parameter list //command mail pTo, pSub, pMsg, pFrom, pCc, pBcc, pHtml, pAtts command mail pTo, pSub, pMsg, pFrom, pReplyTo, pCc, pBcc, pHtml, pAtts local tMsg -- build the message header, adding the from, to and subject details -- we also put any cc addresses in here, but not bcc (bcc addresses hidden) put "From:" && pFrom & return & "To:" && pTo & return & "Subject:" && pSub & return into tMsg //add this three lines // if pReplyTo is not empty then put "Reply-to:" && pReplyTo & return after tMsg end if // END add this three lines // if pCc is not empty then put "Cc:" && pCc & return after tMsg end if . . . . ?> You just have to set the pReplyTo variable with the email address of the customer. And don´t forget to call the command "mail" with the newly added parameter mail pTo, pSub, pMsg, pFrom, pReplyTo, pCc, pBcc, pHtml, pAtts With that adjustments the email is sent and you can still reply to the customer address. Regards, Matthias Am 22.04.2014 um 01:06 schrieb Scott Rossi : > Thanks to Alex and Matthias for the responses. Matthias's comment > prompted me to do some more searching and I found the problem, which was > partly script related, and partly host related: outside-domain email > addresses are not allowed. > > Some time ago, DreamHost stepped up their anti-spam practices, and > disabled the ability of sending mail from an address that is not connected > to any of your hosted domains. Clearly this makes sense. But the form I > have uses the sender's email in the "from" variable, which apparently gets > rejected by the mail process. As soon as I changed the "from" address to > one of my domain addresses, sendmail worked right away. > > [ bloody forehead slap ] > > Thanks all. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > On 4/21/14 11:51 AM, "Scott Rossi" wrote: > >> I'm wondering if anyone has a working example of sending email from >> LiveCode server. >> >> I'm trying to send mail using LC server on a site, and following the >> RunRev >> lesson: >> http://lessons.runrev.com/s/lessons/m/4070/l/8184-Sending-Emails-From-revS >> e >> rver-Scripts > > > > ___ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Email Using LiveCode Server?
On 22/04/14 00:06, Scott Rossi wrote: > Thanks to Alex and Matthias for the responses. Matthias's comment > prompted me to do some more searching and I found the problem, which was > partly script related, and partly host related: outside-domain email > addresses are not allowed. > > Some time ago, DreamHost stepped up their anti-spam practices, and > disabled the ability of sending mail from an address that is not connected > to any of your hosted domains. Clearly this makes sense. But the form I > have uses the sender's email in the "from" variable, which apparently gets > rejected by the mail process. As soon as I changed the "from" address to > one of my domain addresses, sendmail worked right away. > Maybe that is only one some Dreamhost servers because I have a web to email form hosted at dreamhost that uses the submitter's sender address in the from: and reply-to: fields and it has always worked ok. Admittedly it's written in PHP rather than LC but I wouldn't have thought that would make any difference. Martin ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Email Using LiveCode Server?
What about using a service like mandrill to handle the sending of emails? Simon On Tue, Apr 22, 2014 at 4:45 AM, J. Landman Gay wrote: > On 4/21/14, 6:06 PM, Scott Rossi wrote: > >> Some time ago, DreamHost stepped up their anti-spam practices, and >> disabled the ability of sending mail from an address that is not connected >> to any of your hosted domains. Clearly this makes sense. But the form I >> have uses the sender's email in the "from" variable, which apparently gets >> rejected by the mail process. As soon as I changed the "from" address to >> one of my domain addresses, sendmail worked right away. >> > > Thanks for this, I wouldn't have guessed. It does make sense, but I > wouldn't have figured it out. > > -- > Jacqueline Landman Gay | jac...@hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > ___ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- *Simon Smith* *seo, online marketing, web development* w. http://www.simonsmith.co m. +27 83 306 7862 ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode