From revolution at derbrill.de Fri Nov 1 02:42:35 2013 From: revolution at derbrill.de (Malte Brill) Date: Fri, 1 Nov 2013 07:42:35 +0100 Subject: Stealing images from the galactic gauntlet zip file? In-Reply-To: References: Message-ID: Cyril Pruszko wrote: > Generally, using copyright materials is allowed in teaching situations. > If you are in the US? There is no fair use act in germany for example. So best to enquire with copyright holders for your special situation. If you get written permit to use stuff, there will be no "misunderstandings" that potentially need to be cleared up. 3 cents due to Inflation? Malte From dave at applicationinsight.com Fri Nov 1 04:26:59 2013 From: dave at applicationinsight.com (Dave Kilroy) Date: Fri, 1 Nov 2013 01:26:59 -0700 (PDT) Subject: Email on pancake is down despite email status of "OK" on Message-ID: <1383294419304-4671724.post@n4.nabble.com> This morning I can't get any email, the server rejects all my email passwords (my websites and databases seem fine) When I try to log into cPanel I get the following message: Sorry for the inconvenience! The filesystem mounted at / on this server is running out of disk space. cPanel operations have been temporarily suspended to prevent something bad from happening. Please ask your system admin to remove any files not in use on that partition. I've contacted support and hopefully will get a resolution soon Hope it's just me but check your email is working! Dave ----- "Some are born coders, some achieve coding, and some have coding thrust upon them." - William Shakespeare & Hugh Senior -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Email-on-pancake-is-down-despite-email-status-of-OK-on-tp4671724.html Sent from the Revolution - User mailing list archive at Nabble.com. From toolbook at kestner.de Fri Nov 1 04:48:27 2013 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Fri, 1 Nov 2013 09:48:27 +0100 Subject: AW: Stealing images from the galactic gauntlet zip file? In-Reply-To: References: <5272ADBA.8020802@gmail.com>, <5272D2A5.50508@economy-x-talk.com> Message-ID: <001501ced6df$225d1620$67174260$@de> Sorry, but thats the "typical" US (best nation on earth) thinking. Copyright is always a national law, same as data privacy. Sorry Cyril, this isn't meant personally, but I am soooo pissed off of the NSA and US government acting in Berlin and the world. Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag > von Cyril Pruszko > Gesendet: Freitag, 1. November 2013 01:27 > An: How to use LiveCode > Betreff: RE: Stealing images from the galactic gauntlet zip file? > > This may help (bolding is mine): > Section 107 of the Copyright Act states:the fair use of a copyrighted work, > including such use by reproduction in copies or phono records or by any > other means specified by that section, for purposes such as criticism, > comment, news reporting, teaching (including multiple copies for classroom > use), scholarship, or research, is not an infringement of copyright.In > determining whether the use made of a work in any particular case is a fair > use the factors to be considered shall include?the purpose and character of > the use, including whether such use is of a commercial nature or is for > nonprofit educational purposes;the nature of the copyrighted work; the > amount and substantiality of the portion used in relation to the > copyrighted work as a whole; and the effect of the use upon the potential > market for or value of the copyrighted work.Source: 17 USC Section 107. > Generally, using copyright materials is allowed in teaching situations. > Regards, > > > Date: Thu, 31 Oct 2013 22:59:01 +0100 > > From: m.schonewille at economy-x-talk.com > > To: use-livecode at lists.runrev.com > > Subject: Re: Stealing images from the galactic gauntlet zip file? > > > > Hi Richmond, > > > > As far as I know, RunRev doesn't do difficult about his, but legally > > it is not OK. If no license is available, any authored work is > > automatically copyrighted. > > > > -- > > Best regards, > > > > Mark Schonewille > > > > Economy-x-Talk Consulting and Software Engineering > > Homepage: http://economy-x-talk.com > > Twitter: http://twitter.com/xtalkprogrammer > > KvK: 50277553 > > > > Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other > > colour spaces. http://www.color-converter.com > > > > Buy my new book "Programming LiveCode for the Real Beginner" > > http://qery.us/3fi > > > > Fill out this survey please > > http://livecodebeginner.economy-x-talk.com/survey/ > > > > On 10/31/2013 20:21, Richmond wrote: > > > I want to "steal" some of the images from the galactic gauntlet zip > > > file to use in my up-coming Livecode classes starting in > > > mid-November. > > > > > > Is that OK? > > > > > > There seems to be no licence in the zip file. > > > > > > Richmond. > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From selander at tkf.att.ne.jp Fri Nov 1 04:48:48 2013 From: selander at tkf.att.ne.jp (Tim Selander) Date: Fri, 01 Nov 2013 17:48:48 +0900 Subject: Email on pancake is down despite email status of "OK" on In-Reply-To: <1383294419304-4671724.post@n4.nabble.com> References: <1383294419304-4671724.post@n4.nabble.com> Message-ID: <52736AF0.5080904@tkf.att.ne.jp> Exactly the same problems here in Tokyo. David at on-rev says they fixed it, but... the problems remain. Sorry, time to dump on-rev. Tim Selander Tokyo, Japan On 13/11/01 17:26, Dave Kilroy wrote: > This morning I can't get any email, the server rejects all my email passwords > (my websites and databases seem fine) > > When I try to log into cPanel I get the following message: > > Sorry for the inconvenience! > The filesystem mounted at / on this server is running out of disk space. > cPanel operations have been temporarily suspended to prevent something bad > from happening. Please ask your system admin to remove any files not in use > on that partition. > > I've contacted support and hopefully will get a resolution soon > > Hope it's just me but check your email is working! > > Dave > > > > ----- > "Some are born coders, some achieve coding, and some have coding thrust upon them." - William Shakespeare & Hugh Senior > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Email-on-pancake-is-down-despite-email-status-of-OK-on-tp4671724.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From smudge.andy at googlemail.com Fri Nov 1 05:35:07 2013 From: smudge.andy at googlemail.com (AndyP) Date: Fri, 1 Nov 2013 02:35:07 -0700 (PDT) Subject: Email on pancake is down despite email status of "OK" on In-Reply-To: <1383294419304-4671724.post@n4.nabble.com> References: <1383294419304-4671724.post@n4.nabble.com> Message-ID: <1383298507979-4671726.post@n4.nabble.com> Hi, Same here on Pancake. web status says all is ok. http://on-rev.com/support/server-status/ Contacted support earlier. Heather replied and is looking into the problem. ----- Andy Piddock My software never has bugs. It just develops random features. Your LiveCode Work Desks - New Blog http://livecodemydesk.blogspot.de/ PointandSee is a FREE simple but full featured under cursor colour picker / finder. http://www.pointandsee.co.uk - made with LiveCode -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Email-on-pancake-is-down-despite-email-status-of-OK-on-tp4671724p4671726.html Sent from the Revolution - User mailing list archive at Nabble.com. From dave at applicationinsight.com Fri Nov 1 06:06:16 2013 From: dave at applicationinsight.com (Dave Kilroy) Date: Fri, 1 Nov 2013 03:06:16 -0700 (PDT) Subject: Email on pancake is down despite email status of "OK" on In-Reply-To: <1383298507979-4671726.post@n4.nabble.com> References: <1383294419304-4671724.post@n4.nabble.com> <1383298507979-4671726.post@n4.nabble.com> Message-ID: <1383300376860-4671728.post@n4.nabble.com> Tim and Andy I'm very sorry you're experiencing this too (but am also a bit relieved that it's not just me as I was starting to think that someone might have cracked my cPanel login credentials and locked me out) BTW FTP is also broken for me, both Transmit or FileZilla are refused entry by the server. I also got a message from Heather "Thank you for your request. We are working on it and will be back in touch when it is fixed." And yes, some irony that the on-rev server status is unaware of what is going on - but is it only the three of us with this problem? Dave ----- "Some are born coders, some achieve coding, and some have coding thrust upon them." - William Shakespeare & Hugh Senior -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Email-on-pancake-is-down-despite-email-status-of-OK-on-tp4671724p4671728.html Sent from the Revolution - User mailing list archive at Nabble.com. From richmondmathewson at gmail.com Fri Nov 1 06:09:45 2013 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 01 Nov 2013 12:09:45 +0200 Subject: Stealing images from the galactic gauntlet zip file? In-Reply-To: <5272D2A5.50508@economy-x-talk.com> References: <5272ADBA.8020802@gmail.com> <5272D2A5.50508@economy-x-talk.com> Message-ID: <52737DE9.7020109@gmail.com> On 31/10/13 23:59, Mark Schonewille wrote: > Hi Richmond, > > As far as I know, RunRev doesn't do difficult about his, but legally > it is not OK. If no license is available, any authored work is > automatically copyrighted. > Thanks: will look for alternative images. Richmond. > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other > colour spaces. http://www.color-converter.com > > Buy my new book "Programming LiveCode for the Real Beginner" > http://qery.us/3fi > > Fill out this survey please > http://livecodebeginner.economy-x-talk.com/survey/ > > On 10/31/2013 20:21, Richmond wrote: >> I want to "steal" some of the images from the galactic gauntlet zip file >> to use >> in my up-coming Livecode classes starting in mid-November. >> >> Is that OK? >> >> There seems to be no licence in the zip file. >> >> Richmond. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From smudge.andy at googlemail.com Fri Nov 1 06:16:21 2013 From: smudge.andy at googlemail.com (AndyP) Date: Fri, 1 Nov 2013 03:16:21 -0700 (PDT) Subject: Email on pancake is down despite email status of "OK" on In-Reply-To: <1383300376860-4671728.post@n4.nabble.com> References: <1383294419304-4671724.post@n4.nabble.com> <1383298507979-4671726.post@n4.nabble.com> <1383300376860-4671728.post@n4.nabble.com> Message-ID: <1383300981082-4671730.post@n4.nabble.com> I doubt it's just affecting us. Probably we have daylight, the states are just waking up! ----- Andy Piddock My software never has bugs. It just develops random features. Your LiveCode Work Desks - New Blog http://livecodemydesk.blogspot.de/ PointandSee is a FREE simple but full featured under cursor colour picker / finder. http://www.pointandsee.co.uk - made with LiveCode -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Email-on-pancake-is-down-despite-email-status-of-OK-on-tp4671724p4671730.html Sent from the Revolution - User mailing list archive at Nabble.com. From jbv at souslelogo.com Fri Nov 1 06:24:09 2013 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Fri, 1 Nov 2013 12:24:09 +0200 Subject: Email on pancake is down despite email status of "OK" on In-Reply-To: <1383300981082-4671730.post@n4.nabble.com> References: <1383294419304-4671724.post@n4.nabble.com> <1383298507979-4671726.post@n4.nabble.com> <1383300376860-4671728.post@n4.nabble.com> <1383300981082-4671730.post@n4.nabble.com> Message-ID: Hi list, We are on pancake too and I can log to cPanel without problem and work on phpMyAdmin etc. jbv From williamdesmet at gmail.com Fri Nov 1 06:34:41 2013 From: williamdesmet at gmail.com (William de Smet) Date: Fri, 1 Nov 2013 11:34:41 +0100 Subject: mobilePlaySoundOnChannel with more sounds error? In-Reply-To: <2FB4B15B-5DF2-481F-ACC8-896CE8BE7F32@sahores-conseil.com> References: <3B113C21-80C2-4D78-BBCB-6FD4E3D5CEF1@sahores-conseil.com> <2FB4B15B-5DF2-481F-ACC8-896CE8BE7F32@sahores-conseil.com> Message-ID: Hi Pierre, Strangely enough it doesn't work for me. It did put 'soundlevelonoff' in a button but no sound is played. And yes I changed your code to use my own soundfiles. Could it be LC 6.1.2? greetings, William 2013/11/1 Pierre Sahores > Hi William, > > See the message "soundFinishedOnChannel" in the dictionary and its > associated example snippet) . It's automatically send by LC each time a > sound finish to play on any opened channel and, can in this way handle what > i want it to do on the "firstChannel" channel witch is inited in calling > the "soundlevelonoff" command. More clear ? > > To start and stop playing the referenced sounds, a simple push button is > usable : > > > on mouseup > > soundlevelonoff > > mobileClearTouches > > end mouse up > > Best, > > Pierre > > > Le 31 oct. 2013 ? 18:05, William de Smet a ?crit : > > > Hi Pierre, > > > > Thanks for your reply. > > I can't get it to work yet. > > You use "firstChannel" as your channel. > > How is this connected with 'on soundFinishedOnChannel tchannel, the > sound' > > Is there code missing? > > > > I am on LC 6.1.2. > > > > > > greetings, > > > > William > > > > > > 2013/10/30 Pierre Sahores > > > >> Hi William, > >> > >> See below as an example working case (iOS/Android) : > >> > >>> on preopenstack > >>> put specialFolderPath("engine") & "/CityChic.mp3" into Melodie[3] > >>> put specialFolderPath("engine") & "/CitySport.mp3" into Melodie[4] > >>> put specialFolderPath("engine") & "/Elegance.mp3" into Melodie[1] > >>> put specialFolderPath("engine") & "/Graphique.mp3" into Melodie[2] > >>> end preopenstack > >> > >> > >>> on soundlevelonoff > >>> if "firstChannel" is not in mobileSoundChannels() then > >>> mobilePlaySoundOnChannel Melodie[random("4")], "firstChannel", now > >>> if "soundswitcher" is in the target > >>> then set the icon of the target to 7908 > >>> mobileSetSoundChannelVolume "firstChannel", 100 > >>> else if mobileSoundChannelStatus("firstChannel") is "paused" then > >>> if "soundswitcher" is in the target > >>> then set the icon of the target to 7908 > >>> mobileResumePlayingOnChannel "firstChannel" > >>> else if "soundswitcher" is in the target then > >>> mobilePausePlayingOnChannel "firstChannel" > >>> set the icon of the target to 7909 > >>> else mobilePausePlayingOnChannel "firstChannel" > >>> end soundlevelonoff > >> > >>> on soundFinishedOnChannel tchannel, thesound > >>> if thesound is Melodie[1] > >>> then mobilePlaySoundOnChannel Melodie[2], tchannel, now > >>> else if thesound is Melodie[2] > >>> then mobilePlaySoundOnChannel Melodie[3], tchannel, now > >>> else if thesound is Melodie[3] > >>> then mobilePlaySoundOnChannel Melodie[4], tchannel, now > >>> else mobilePlaySoundOnChannel Melodie[1], tchannel, now > >>> end soundFinishedOnChannel > >> > >> Best Regards, > >> > >> Pierre > > -- > Pierre Sahores > mobile : 06 03 95 77 70 > www.sahores-conseil.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dave at applicationinsight.com Fri Nov 1 06:52:26 2013 From: dave at applicationinsight.com (Dave Kilroy) Date: Fri, 1 Nov 2013 03:52:26 -0700 (PDT) Subject: mobilePlaySoundOnChannel with more sounds error? In-Reply-To: References: <3B113C21-80C2-4D78-BBCB-6FD4E3D5CEF1@sahores-conseil.com> <2FB4B15B-5DF2-481F-ACC8-896CE8BE7F32@sahores-conseil.com> Message-ID: <1383303146656-4671733.post@n4.nabble.com> Hi William soundFinishedOnChannel works for me on 6.1.2 (iOS, not used it on Android yet) Dave ----- "Some are born coders, some achieve coding, and some have coding thrust upon them." - William Shakespeare & Hugh Senior -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/mobilePlaySoundOnChannel-with-more-sounds-error-tp4671645p4671733.html Sent from the Revolution - User mailing list archive at Nabble.com. From sc at sahores-conseil.com Fri Nov 1 06:53:56 2013 From: sc at sahores-conseil.com (Pierre Sahores) Date: Fri, 1 Nov 2013 11:53:56 +0100 Subject: mobilePlaySoundOnChannel with more sounds error? In-Reply-To: References: <3B113C21-80C2-4D78-BBCB-6FD4E3D5CEF1@sahores-conseil.com> <2FB4B15B-5DF2-481F-ACC8-896CE8BE7F32@sahores-conseil.com> Message-ID: <969F3E0A-5B01-4D79-8DE5-063B32B258C9@sahores-conseil.com> Hi William, Works fine there against LC 6.1.2./Xcode 4.6.1. Will extract and send you and to RevOnline an example stack tonight. Best, Pierre Le 1 nov. 2013 ? 11:34, William de Smet a ?crit : > Hi Pierre, > > Strangely enough it doesn't work for me. > It did put 'soundlevelonoff' in a button but no sound is played. > And yes I changed your code to use my own soundfiles. > > Could it be LC 6.1.2? > > greetings, > > William > > > 2013/11/1 Pierre Sahores > >> Hi William, >> >> See the message "soundFinishedOnChannel" in the dictionary and its >> associated example snippet) . It's automatically send by LC each time a >> sound finish to play on any opened channel and, can in this way handle what >> i want it to do on the "firstChannel" channel witch is inited in calling >> the "soundlevelonoff" command. More clear ? >> >> To start and stop playing the referenced sounds, a simple push button is >> usable : >> >>> on mouseup >>> soundlevelonoff >>> mobileClearTouches >>> end mouse up >> >> Best, >> >> Pierre >> >> >> Le 31 oct. 2013 ? 18:05, William de Smet a ?crit : >> >>> Hi Pierre, >>> >>> Thanks for your reply. >>> I can't get it to work yet. >>> You use "firstChannel" as your channel. >>> How is this connected with 'on soundFinishedOnChannel tchannel, the >> sound' >>> Is there code missing? >>> >>> I am on LC 6.1.2. >>> >>> >>> greetings, >>> >>> William >>> >>> >>> 2013/10/30 Pierre Sahores >>> >>>> Hi William, >>>> >>>> See below as an example working case (iOS/Android) : >>>> >>>>> on preopenstack >>>>> put specialFolderPath("engine") & "/CityChic.mp3" into Melodie[3] >>>>> put specialFolderPath("engine") & "/CitySport.mp3" into Melodie[4] >>>>> put specialFolderPath("engine") & "/Elegance.mp3" into Melodie[1] >>>>> put specialFolderPath("engine") & "/Graphique.mp3" into Melodie[2] >>>>> end preopenstack >>>> >>>> >>>>> on soundlevelonoff >>>>> if "firstChannel" is not in mobileSoundChannels() then >>>>> mobilePlaySoundOnChannel Melodie[random("4")], "firstChannel", now >>>>> if "soundswitcher" is in the target >>>>> then set the icon of the target to 7908 >>>>> mobileSetSoundChannelVolume "firstChannel", 100 >>>>> else if mobileSoundChannelStatus("firstChannel") is "paused" then >>>>> if "soundswitcher" is in the target >>>>> then set the icon of the target to 7908 >>>>> mobileResumePlayingOnChannel "firstChannel" >>>>> else if "soundswitcher" is in the target then >>>>> mobilePausePlayingOnChannel "firstChannel" >>>>> set the icon of the target to 7909 >>>>> else mobilePausePlayingOnChannel "firstChannel" >>>>> end soundlevelonoff >>>> >>>>> on soundFinishedOnChannel tchannel, thesound >>>>> if thesound is Melodie[1] >>>>> then mobilePlaySoundOnChannel Melodie[2], tchannel, now >>>>> else if thesound is Melodie[2] >>>>> then mobilePlaySoundOnChannel Melodie[3], tchannel, now >>>>> else if thesound is Melodie[3] >>>>> then mobilePlaySoundOnChannel Melodie[4], tchannel, now >>>>> else mobilePlaySoundOnChannel Melodie[1], tchannel, now >>>>> end soundFinishedOnChannel >>>> >>>> Best Regards, >>>> >>>> Pierre >> >> -- >> Pierre Sahores >> mobile : 06 03 95 77 70 >> www.sahores-conseil.com >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com From williamdesmet at gmail.com Fri Nov 1 06:57:43 2013 From: williamdesmet at gmail.com (William de Smet) Date: Fri, 1 Nov 2013 11:57:43 +0100 Subject: mobilePlaySoundOnChannel with more sounds error? In-Reply-To: <1383303146656-4671733.post@n4.nabble.com> References: <3B113C21-80C2-4D78-BBCB-6FD4E3D5CEF1@sahores-conseil.com> <2FB4B15B-5DF2-481F-ACC8-896CE8BE7F32@sahores-conseil.com> <1383303146656-4671733.post@n4.nabble.com> Message-ID: Hi Dave, Good to hear it works for you. So it is not LC 6.1.2. It must be me then :-). @Pierre: that's very kind of you. greetings, William 2013/11/1 Dave Kilroy > Hi William > > soundFinishedOnChannel works for me on 6.1.2 (iOS, not used it on Android > yet) > > Dave > > > > ----- > "Some are born coders, some achieve coding, and some have coding thrust > upon them." - William Shakespeare & Hugh Senior > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/mobilePlaySoundOnChannel-with-more-sounds-error-tp4671645p4671733.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dave at applicationinsight.com Fri Nov 1 07:09:42 2013 From: dave at applicationinsight.com (Dave Kilroy) Date: Fri, 1 Nov 2013 04:09:42 -0700 (PDT) Subject: mobilePlaySoundOnChannel with more sounds error? In-Reply-To: References: <3B113C21-80C2-4D78-BBCB-6FD4E3D5CEF1@sahores-conseil.com> <2FB4B15B-5DF2-481F-ACC8-896CE8BE7F32@sahores-conseil.com> <1383303146656-4671733.post@n4.nabble.com> Message-ID: <1383304182110-4671736.post@n4.nabble.com> William I should have done it like Pierre ... it works for me under LC 6.1.2 on OSX(Mavericks) with Xcode 5.01 and I tested it on iOS6 & 7 ----- "Some are born coders, some achieve coding, and some have coding thrust upon them." - William Shakespeare & Hugh Senior -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/mobilePlaySoundOnChannel-with-more-sounds-error-tp4671645p4671736.html Sent from the Revolution - User mailing list archive at Nabble.com. From dave at applicationinsight.com Fri Nov 1 07:27:03 2013 From: dave at applicationinsight.com (Dave Kilroy) Date: Fri, 1 Nov 2013 04:27:03 -0700 (PDT) Subject: Email on pancake is down despite email status of "OK" on In-Reply-To: References: <1383294419304-4671724.post@n4.nabble.com> <1383298507979-4671726.post@n4.nabble.com> <1383300376860-4671728.post@n4.nabble.com> <1383300981082-4671730.post@n4.nabble.com> Message-ID: <1383305223241-4671737.post@n4.nabble.com> OK I'm back up! I got no notification, just checked and email, FTP and cPanel all working - those who experienced this maybe you should check yours :) Dave ----- "Some are born coders, some achieve coding, and some have coding thrust upon them." - William Shakespeare & Hugh Senior -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Email-on-pancake-is-down-despite-email-status-of-OK-on-tp4671724p4671737.html Sent from the Revolution - User mailing list archive at Nabble.com. From smudge.andy at googlemail.com Fri Nov 1 07:27:45 2013 From: smudge.andy at googlemail.com (AndyP) Date: Fri, 1 Nov 2013 04:27:45 -0700 (PDT) Subject: Email on pancake is down despite email status of "OK" on In-Reply-To: References: <1383294419304-4671724.post@n4.nabble.com> <1383298507979-4671726.post@n4.nabble.com> <1383300376860-4671728.post@n4.nabble.com> <1383300981082-4671730.post@n4.nabble.com> Message-ID: <1383305265967-4671738.post@n4.nabble.com> Email just came back up on Pancake. ----- Andy Piddock My software never has bugs. It just develops random features. Copy the new cloud space, get your free 15GB space now: Get Copy Your LiveCode Work Desks - New Blog http://livecodemydesk.blogspot.de/ PointandSee is a FREE simple but full featured under cursor colour picker / finder. http://www.pointandsee.co.uk - made with LiveCode -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Email-on-pancake-is-down-despite-email-status-of-OK-on-tp4671724p4671738.html Sent from the Revolution - User mailing list archive at Nabble.com. From admin at FlexibleLearning.com Fri Nov 1 08:54:46 2013 From: admin at FlexibleLearning.com (FlexibleLearning.com) Date: Fri, 1 Nov 2013 12:54:46 -0000 Subject: FieldFormatter (was RE:CloseFieldEditor and OpenFieldEditor) In-Reply-To: Message-ID: I am looking forward to it as well, but at the moment it looks like DataGrids will not be supported. FieldFormatter relies on the ability to select a persistent field. DataGrids do not have selectable fields and as each cell is non-persistent (each time you edit a cell, its id changes) there is no 'field' as such to specify. Another reason I dislike the way Datagrids are implemented, but that's off-topic. Since this is a 'field formatter' and not a 'datagrid formatter', support for this strange creature that is a DataGrid may have to be postponed to a later version (if indeed there is a way to do it at all). Hugh Senior FLCo Ray wrote: Is there a message sent when a user double clicks a cell in a data grid to open it for editing? I'd like to think the closeFieldEditor handler (which is sent when the cell is closed back up) would have a reciprocal openFieldEditor when a cell is opened, but evidently it doesn't. By the way, Hugh, I'm looking forward to you FeldFormatter which you mentioned earlier today is almost ready. Ray Horsley LinkIt! Software From peterwawood at gmail.com Fri Nov 1 09:18:23 2013 From: peterwawood at gmail.com (Peter W A Wood) Date: Fri, 1 Nov 2013 21:18:23 +0800 Subject: Stealing images from the galactic gauntlet zip file? In-Reply-To: <52737DE9.7020109@gmail.com> References: <5272ADBA.8020802@gmail.com> <5272D2A5.50508@economy-x-talk.com> <52737DE9.7020109@gmail.com> Message-ID: <4AB30504-F1DC-4067-B763-8CB1BC2E9C79@gmail.com> Richmond I'd be very surprised if RunRev wouldn't give you permission to use the images in your LiveCode classes. You did ask Heather, didn't you? Regards Peter On 1 Nov 2013, at 18:09, Richmond wrote: > On 31/10/13 23:59, Mark Schonewille wrote: >> Hi Richmond, >> >> As far as I know, RunRev doesn't do difficult about his, but legally it is not OK. If no license is available, any authored work is automatically copyrighted. >> > > Thanks: will look for alternative images. > > Richmond. > >> -- >> Best regards, >> >> Mark Schonewille >> >> Economy-x-Talk Consulting and Software Engineering >> Homepage: http://economy-x-talk.com >> Twitter: http://twitter.com/xtalkprogrammer >> KvK: 50277553 >> >> Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com >> >> Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi >> >> Fill out this survey please >> http://livecodebeginner.economy-x-talk.com/survey/ >> >> On 10/31/2013 20:21, Richmond wrote: >>> I want to "steal" some of the images from the galactic gauntlet zip file >>> to use >>> in my up-coming Livecode classes starting in mid-November. >>> >>> Is that OK? >>> >>> There seems to be no licence in the zip file. >>> >>> Richmond. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From gregory.lypny at videotron.ca Fri Nov 1 09:06:42 2013 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Fri, 01 Nov 2013 09:06:42 -0400 Subject: LiveCode Server Installation In-Reply-To: References: Message-ID: <016E0E6F-FE8F-44E6-8FE9-E96EB32CE3AA@videotron.ca> Hello everyone, Are the instructions for LiveCode Server that are posted on the LiveCode developers? guide page valid for server version 6.1.0? Does this version of the server work with OS X Mavericks? The reason that I ask is that I upgraded to Mavericks, and replaced LiveCode Server 5.0.2 with 6.1.0, including the drivers and externals folders, in the CGI-Executables folder. I restarted the computer, and the server test page no longer works. Regards, Gregory From ambassador at fourthworld.com Fri Nov 1 10:19:07 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 01 Nov 2013 07:19:07 -0700 Subject: Calling all Linux users (was Stacks resizing on Ubuntu?) Message-ID: <5273B85B.1060205@fourthworld.com> A few days ago I wrote: > I've started seeing an oddity with LiveCode 6.1.2 on Ubuntu 13.10 in > which stacks are resizing, with a little extra space at the bottom of > some stacks roughly the same height as the top panel. > > Anyone else seeing this? > > It's not persistent, and I'm still pinning down a recipe, but if any of > you have details to share please do and I'll include it with my report. Since then I've been able to pin down a recipe: the problem occurs whenever a stack is re-opened but has not been purged from memory in the interim. In such cases, when the stack is re-opened it's shortened by 29 pixels - details in the RQCC: I'm not seeing this on Mac or Windows, so it would be very helpful if any others here using Linux could test this with whatever distro you're using and add your results to that RQCC report, which should help us determine if this is a Gnome thing, an Ubuntu thing, or something else. The sample stack and recipe provided in the report should make it easy to reproduce. Thanks in advance for your help on this. -- 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 From heather at runrev.com Fri Nov 1 12:30:23 2013 From: heather at runrev.com (Heather Laine) Date: Fri, 1 Nov 2013 16:30:23 +0000 Subject: Stealing images from the galactic gauntlet zip file? In-Reply-To: <4AB30504-F1DC-4067-B763-8CB1BC2E9C79@gmail.com> References: <5272ADBA.8020802@gmail.com> <5272D2A5.50508@economy-x-talk.com> <52737DE9.7020109@gmail.com> <4AB30504-F1DC-4067-B763-8CB1BC2E9C79@gmail.com> Message-ID: <81B789EA-21A3-47B7-9536-2BECFA47A605@runrev.com> Galactic Gauntlet, its code, and its images, were provided to the community as a service and a resource. Please feel free to use these images and the code as you wish. We appreciate an attribution. Regards, Heather On 1 Nov 2013, at 13:18, Peter W A Wood wrote: > Richmond > > I'd be very surprised if RunRev wouldn't give you permission to use the images in your LiveCode classes. You did ask Heather, didn't you? > > Regards > > Peter > > > On 1 Nov 2013, at 18:09, Richmond wrote: > >> On 31/10/13 23:59, Mark Schonewille wrote: >>> Hi Richmond, >>> >>> As far as I know, RunRev doesn't do difficult about his, but legally it is not OK. If no license is available, any authored work is automatically copyrighted. >>> >> >> Thanks: will look for alternative images. >> >> Richmond. >> >>> -- >>> Best regards, >>> >>> Mark Schonewille >>> >>> Economy-x-Talk Consulting and Software Engineering >>> Homepage: http://economy-x-talk.com >>> Twitter: http://twitter.com/xtalkprogrammer >>> KvK: 50277553 >>> >>> Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com >>> >>> Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi >>> >>> Fill out this survey please >>> http://livecodebeginner.economy-x-talk.com/survey/ >>> >>> On 10/31/2013 20:21, Richmond wrote: >>>> I want to "steal" some of the images from the galactic gauntlet zip file >>>> to use >>>> in my up-coming Livecode classes starting in mid-November. >>>> >>>> Is that OK? >>>> >>>> There seems to be no licence in the zip file. >>>> >>>> Richmond. >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode Heather Laine Customer Services Manager http://www.livecode.com/ From richmondmathewson at gmail.com Fri Nov 1 12:39:35 2013 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 01 Nov 2013 18:39:35 +0200 Subject: Stealing images from the galactic gauntlet zip file? In-Reply-To: <81B789EA-21A3-47B7-9536-2BECFA47A605@runrev.com> References: <5272ADBA.8020802@gmail.com> <5272D2A5.50508@economy-x-talk.com> <52737DE9.7020109@gmail.com> <4AB30504-F1DC-4067-B763-8CB1BC2E9C79@gmail.com> <81B789EA-21A3-47B7-9536-2BECFA47A605@runrev.com> Message-ID: <5273D947.30506@gmail.com> On 1.11.2013 18:30, Heather Laine wrote: > Galactic Gauntlet, its code, and its images, were provided to the community as a service and a resource. Please feel free to use these images and the code as you wish. We appreciate an attribution. > > Regards, > > Heather That's very generous. Any "stuff" my pupils make which incorporate those images will be made available to the Livecode Community. Richmond. > On 1 Nov 2013, at 13:18, Peter W A Wood wrote: > >> Richmond >> >> I'd be very surprised if RunRev wouldn't give you permission to use the images in your LiveCode classes. You did ask Heather, didn't you? >> >> Regards >> >> Peter >> >> >> On 1 Nov 2013, at 18:09, Richmond wrote: >> >>> On 31/10/13 23:59, Mark Schonewille wrote: >>>> Hi Richmond, >>>> >>>> As far as I know, RunRev doesn't do difficult about his, but legally it is not OK. If no license is available, any authored work is automatically copyrighted. >>>> >>> Thanks: will look for alternative images. >>> >>> Richmond. >>> >>>> -- >>>> Best regards, >>>> >>>> Mark Schonewille >>>> >>>> Economy-x-Talk Consulting and Software Engineering >>>> Homepage: http://economy-x-talk.com >>>> Twitter: http://twitter.com/xtalkprogrammer >>>> KvK: 50277553 >>>> >>>> Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com >>>> >>>> Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi >>>> >>>> Fill out this survey please >>>> http://livecodebeginner.economy-x-talk.com/survey/ >>>> >>>> On 10/31/2013 20:21, Richmond wrote: >>>>> I want to "steal" some of the images from the galactic gauntlet zip file >>>>> to use >>>>> in my up-coming Livecode classes starting in mid-November. >>>>> >>>>> Is that OK? >>>>> >>>>> There seems to be no licence in the zip file. >>>>> >>>>> Richmond. >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at 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 at 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 at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > Heather Laine > Customer Services Manager > http://www.livecode.com/ > > > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From rman at free.fr Fri Nov 1 11:25:27 2013 From: rman at free.fr (Robert Mann) Date: Fri, 1 Nov 2013 08:25:27 -0700 (PDT) Subject: Email on pancake is down despite email status of "OK" on In-Reply-To: <1383294419304-4671724.post@n4.nabble.com> References: <1383294419304-4671724.post@n4.nabble.com> Message-ID: <1383319527528-4671743.post@n4.nabble.com> Hi! same here on planet TIO But mail & cPanels are now back on the horizon on my on-rev account. I just wonder if any messages have been lost? I have not had any mails since 10 days on that account. Robert (from France) -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Email-on-pancake-is-down-despite-email-status-of-OK-on-tp4671724p4671743.html Sent from the Revolution - User mailing list archive at Nabble.com. From harrison at all-auctions.com Fri Nov 1 12:56:44 2013 From: harrison at all-auctions.com (Rick Harrison) Date: Fri, 1 Nov 2013 12:56:44 -0400 Subject: LiveCode Server Installation In-Reply-To: <016E0E6F-FE8F-44E6-8FE9-E96EB32CE3AA@videotron.ca> References: <016E0E6F-FE8F-44E6-8FE9-E96EB32CE3AA@videotron.ca> Message-ID: Hi Gregory, I?m running a test LiveCode Server 6.1 under Mountain Lion which works fine. I was considering upgrading to Mavericks, but after hearing of your difficulties I?ve decided to wait before upgrading to Mavericks. I?m cheering for you anyway! Please let us know when you achieve success! Thanks, Rick On Nov 1, 2013, at 9:06 AM, Gregory Lypny wrote: > Hello everyone, > > Are the instructions for LiveCode Server that are posted on the LiveCode developers? guide page valid for server version 6.1.0? Does this version of the server work with OS X Mavericks? > > The reason that I ask is that I upgraded to Mavericks, and replaced LiveCode Server 5.0.2 with 6.1.0, including the drivers and externals folders, in the CGI-Executables folder. I restarted the computer, and the server test page no longer works. > > Regards, > > Gregory > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mac at mauraoconnell.com Fri Nov 1 13:35:39 2013 From: mac at mauraoconnell.com (Mac Bennett) Date: Fri, 1 Nov 2013 12:35:39 -0500 Subject: LiveCode Server Installation In-Reply-To: <016E0E6F-FE8F-44E6-8FE9-E96EB32CE3AA@videotron.ca> References: <016E0E6F-FE8F-44E6-8FE9-E96EB32CE3AA@videotron.ca> Message-ID: Sometimes a new OS X release contains lots of changes to the web server. You might need to check httpd.conf to make sure the server is configured as it was before; and test to see if a plain vanilla http page is served. I switched to macports just to avoid having the local dev server broken every time a new OS X version was installed. On Nov 1, 2013, at 8:06 AM, Gregory Lypny wrote: > Hello everyone, > > Are the instructions for LiveCode Server that are posted on the LiveCode developers? guide page valid for server version 6.1.0? Does this version of the server work with OS X Mavericks? > > The reason that I ask is that I upgraded to Mavericks, and replaced LiveCode Server 5.0.2 with 6.1.0, including the drivers and externals folders, in the CGI-Executables folder. I restarted the computer, and the server test page no longer works. > > Regards, > > Gregory > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Fri Nov 1 14:29:37 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Fri, 1 Nov 2013 14:29:37 -0400 Subject: 6.5 rc 1 Message-ID: One of the things that Kevin told me during our phone call was that I should expect the schedules for the next several versions to be "compressed" - but I'm quite (happily) surprised that 6.5 is at rc1 level already. -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From bertshuler at yahoo.com Fri Nov 1 15:47:53 2013 From: bertshuler at yahoo.com (Bert Shuler) Date: Fri, 1 Nov 2013 12:47:53 -0700 Subject: RELEASE: LiveCode 6.5-rc-1 In-Reply-To: <5273EC5A.8090007@runrev.com> References: <5273EC5A.8090007@runrev.com> Message-ID: <9F14E3B6-9EB9-4C4F-B132-1A66BE923E19@yahoo.com> > * libUrlSetSSLVerification now supported on mobile platforms Does this mean encrypt now works on mobile platforms? On Nov 1, 2013, at 11:00 AM, Michael McCreary wrote: > Dear list members, > > We are pleased to announce the release of LiveCode 6.5.0-rc-1. > > Warning: this is not a stable release. Please ensure you back up your stacks before testing them. > > The primary focus of LiveCode 6.5 is resolution independence. This provides mobile developers with the ability to write applications which run seamlessly mobile devices of differing pixel densities. > > We now consider LiveCode 6.5 to be feature complete, hence why we have moved to the RC stage. As much has changed in this release, we urge you to test LiveCode 6.5 thoroughly to make sure as many bugs as possible have been squashed before the final release. > > This beta release contains the following changes: > > * Server graphics support > * Full screen scaling mode. > * PCRE library updated to version 8.33 > * libUrlSetSSLVerification now supported on mobile platforms > * Resolution Independence > * New global property colorDialogColors > * Integration of revFont external > * Enhanced 'filter' command > * Text Measurement > * The optional *recursively* adverb has been added to union and intersect commands > * Xpath functions > > 34 bug fixes: > 11367 - Gradient inspector does not draw fully > 11359 - Redraw issues with inner glow and inner shadow. > 11351 - "recursively" option for array union and intersect not working. > 11349 - Content outside of card rect can be seen in show all fullscreenmode when acceleratedRendering is true. > 11338 - Character backColor not rendered in fields. > 11336 - The fullscreenModes are now camel-case. > 11335 - In fullscreen mode on Mac, the window resize handle still appears. > 11332 - Text not rendered in correct location in -ui mode when taking snapshot of object. > 11330 - Visual effects not displayed correctly on iOS when fullscreenmode is 'no border', and stack extends outside of the visible screen. > 11329 - Dynamic layers do not render correctly when fullscreenmode causes stack to not be at top-left of screen. > 11327 - Opening large scripts takes longer in 6.5 than 6.1.2 > 11325 - Graphic effects rendered incorrectly when non-Normal blend mode used. > 11324 - Borders still rendered even if borderWidth == 0. > 11315 - Instability of LiveCode when gradients are being / have been displayed. > 11314 - Image transparency is lost when setting the imagedata > 11198 - Fix color issues on PowerPC Mac > 11174 - Conical, spiral, XY and sqrtXY gradients render incorrectly. > 11310 - Italic fonts clipped on right hand side on iOS > 11309 - Text clips for certain fonts on Mac > 11297 - Setting the color of a graphic effect resets its opacity > 11283 - Italic fonts are not rendered on Mac. > 11280 - Project browser does not expand cards of substacks > 11241 - Non-3D borders are always black. > 11227 - Android native controls are positioned incorrectly. > 11221 - Field background pattern not working. > 11179 - Images with an angle other than 0 are not drawn. > 11178 - Import from paint always fails. > 11176 - MouseDoubleUp messages are not sent on Linux. > 11068 - Resolving object chunks does not throw an error for long chunk references. > 10995 - Standalones now set default font settings the same as the IDE. > 10980 - Setting the filename of an image which already has a filename causes the property to be unset and 'could not load image' in the result. > 10977 - Setting the image filename to empty unsets the image text and vice-versa > 10964 - Inconsistent rounding of floating point values. > 6720 - Scrollbar properties not returned in correct format. > > This release can be downloaded from: > > http://downloads.livecode.com/livecode/6_5_0/ > > Warm Regards, > > The LiveCode Team. > -- > Michael McCreary . Runtime Revolution Ltd > LiveCode - Unleash Your Killer App > > mail : 25a Thistle Street Lane South West, Edinburgh, EH2 1EW > email : michael.mccreary at runrev.com > company : +44(0) 845 219 89 23 > fax : +44(0) 845 458 8487 > web : www.runrev.com > > _______________________________________________ > livecode-dev mailing list > livecode-dev at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/livecode-dev From yvescoppe at skynet.be Fri Nov 1 16:58:26 2013 From: yvescoppe at skynet.be (Yves COPPE) Date: Fri, 1 Nov 2013 21:58:26 +0100 Subject: Notifications in Mavericks Message-ID: Hi list, I?ve tried the Apple Script command for notifications in Mac OS X 9 given in the user-list Fantastic ! but 3 questions 1) int the ? notification ? parameter, i?d like to put a text with multiple lines (separated with cr) At this moment, only the first line of the text is displayed? 2) is it possible to add an interaction on the notification window (for example if the user click on it) or controls (a btn for example) 3) is it possible to add a parameter how long the notification window is displayed At this moment this window disappear after a few seconds and i?d like to increase the display with a fw seconds more. Thank you for your help. Greetings. Yves COPPE yvescoppe at skynet.be From monte at sweattechnologies.com Fri Nov 1 17:13:05 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Sat, 2 Nov 2013 08:13:05 +1100 Subject: Notifications in Mavericks In-Reply-To: References: Message-ID: <1CE28F30-9D2A-4889-9B67-4B84E46B21A0@sweattechnologies.com> On 02/11/2013, at 7:58 AM, Yves COPPE wrote: > 1) int the ? notification ? parameter, i?d like to put a text with multiple lines (separated with cr) > At this moment, only the first line of the text is displayed? I don't know about in applescript but in my external you can add title, subtitle and message > > 2) is it possible to add an interaction on the notification window > (for example if the user click on it) > or controls (a btn for example) I asked the OP about getting a callback but didn't get an answer. My external sends a message when the user clicks on it. I haven't yet implemented the somewhat annoying stay there until you click on it (alert) type mainly because I don't think there's a great deal of interest in the external... also user preferences and a plist key come into play with the alert type. > > 3) is it possible to add a parameter how long the notification window is displayed > At this moment this window disappear after a few seconds and i?d like to increase the display with a fw seconds more. It doesn't look like it. It sounds like you really want the alert type ;-) Cheers -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From yvescoppe at skynet.be Fri Nov 1 17:28:11 2013 From: yvescoppe at skynet.be (Yves COPPE) Date: Fri, 1 Nov 2013 22:28:11 +0100 Subject: Notifications in Mavericks In-Reply-To: <1CE28F30-9D2A-4889-9B67-4B84E46B21A0@sweattechnologies.com> References: <1CE28F30-9D2A-4889-9B67-4B84E46B21A0@sweattechnologies.com> Message-ID: Hi, Do you mean an external for the notifications on IOS or on OS X ? Greetings. Yves COPPE yvescoppe at skynet.be Le 1 nov. 2013 ? 22:13, Monte Goulding a ?crit : > > On 02/11/2013, at 7:58 AM, Yves COPPE wrote: > >> 1) int the ? notification ? parameter, i?d like to put a text with multiple lines (separated with cr) >> At this moment, only the first line of the text is displayed? > > I don't know about in applescript but in my external you can add title, subtitle and message >> >> 2) is it possible to add an interaction on the notification window >> (for example if the user click on it) >> or controls (a btn for example) > > I asked the OP about getting a callback but didn't get an answer. My external sends a message when the user clicks on it. I haven't yet implemented the somewhat annoying stay there until you click on it (alert) type mainly because I don't think there's a great deal of interest in the external... also user preferences and a plist key come into play with the alert type. >> >> 3) is it possible to add a parameter how long the notification window is displayed >> At this moment this window disappear after a few seconds and i?d like to increase the display with a fw seconds more. > > It doesn't look like it. It sounds like you really want the alert type ;-) > > Cheers > > -- > Monte Goulding > > M E R Goulding - software development services > mergExt - There's an external for that! > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From monte at sweattechnologies.com Fri Nov 1 17:46:17 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Sat, 2 Nov 2013 08:46:17 +1100 Subject: Notifications in Mavericks In-Reply-To: References: <1CE28F30-9D2A-4889-9B67-4B84E46B21A0@sweattechnologies.com> Message-ID: <0C5D7945-51E6-42FB-8716-117F19FB9C5D@sweattechnologies.com> On 02/11/2013, at 8:28 AM, Yves COPPE wrote: > Do you mean an external for the notifications on IOS or on OS X ? OS X -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From endernafi at gmail.com Fri Nov 1 18:05:06 2013 From: endernafi at gmail.com (Ender Nafi Elekcioglu) Date: Sat, 2 Nov 2013 00:05:06 +0200 Subject: Unicode to Ascii Substitution Message-ID: Hi folks, I have to sort a list of books whose names contain diacritic Latin chars like ??", "?", etc. *sort international* works only partially, I mean not for all characters? {for example, it puts ??? after ?o?, but doesn?t put ??? after ?c?} So, I thought; I can place a hidden column into the table on-the-fly which has the book names without diacritical chars. Here is a sample code of the iterating script: _set the useUnicode to true _replace numToChar(199) with numToChar(67) in tBookName which should replace all ??? letters with ?C? in that particular book?s name. Except, it doesn?t :) I?ve tried both UTF-8 table {http://www.utf8-chartable.de/unicode-utf8-table.pl}? and UTF-16 table {http://www.fileformat.info/info/charset/UTF-16/list.htm}. I?m converting hex values of that tables to decimals, of course. What am I doing wrong? Thanks for any help? Best, ~ Ender Nafi From monte at sweattechnologies.com Fri Nov 1 18:10:54 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Sat, 2 Nov 2013 09:10:54 +1100 Subject: Unicode to Ascii Substitution In-Reply-To: References: Message-ID: <9CEEE641-2F6E-41EA-8F20-156426AA671F@sweattechnologies.com> I haven't looked at what the engine does for international sort but it's complicated because some languages different ordering of the same characters. Given there's no way to specify the language I suspect this is the problem... On 02/11/2013, at 9:05 AM, Ender Nafi Elekcioglu wrote: > Hi folks, > > I have to sort a list of books whose names contain diacritic Latin chars like ??", "?", etc. > *sort international* works only partially, I mean not for all characters > {for example, it puts ??? after ?o?, but doesn?t put ??? after ?c?} > > So, I thought; I can place a hidden column into the table on-the-fly which has the book names without diacritical chars. > Here is a sample code of the iterating script: > _set the useUnicode to true > _replace numToChar(199) with numToChar(67) in tBookName > which should replace all ??? letters with ?C? in that particular book?s name. > > Except, it doesn?t :) > > I?ve tried both UTF-8 table {http://www.utf8-chartable.de/unicode-utf8-table.pl} > and UTF-16 table {http://www.fileformat.info/info/charset/UTF-16/list.htm}. > I?m converting hex values of that tables to decimals, of course. > > > What am I doing wrong? > > Thanks for any help? > > > Best, > > ~ Ender Nafi > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From vclement at gmail.com Fri Nov 1 18:12:05 2013 From: vclement at gmail.com (Vaughn Clement) Date: Fri, 1 Nov 2013 15:12:05 -0700 Subject: Unable to compile a IOS app Message-ID: Hi All Has anyone had this error when building an IOS standalone app? "Linking for armv7 failed with g==: failed to exec/Application/Xcode.app/Contents/Developer/usr/bin/clang ++: no such file directory" I running LC 6.1.2 in OS 10.9 mac Mavericks, using Xcode 5.0 Preferences is good with a green indicator. I can run the simulator on all IOS apps no problems. I have 2 apps I tried to compile and I get the same error on both. Thank you Vaughn Clement Apps by Vaughn Clement (Support) *http://www.appsbyvaughnclement.com/tools/home-page/* Skype: vaughn.clement https://secure.join.me/appsbyvclement FaceTime: vclement at gmail.com LogMeIn also avaialble Call on "ooVoo" at address: vaughnclement or 9282549062 Ph. 928-254-9062 Cloud Hosting Registration Web Site: https://my.oditech.com/cart.php?a=add&pid=41 From endernafi at gmail.com Fri Nov 1 18:15:05 2013 From: endernafi at gmail.com (Ender Nafi Elekcioglu) Date: Sat, 2 Nov 2013 00:15:05 +0200 Subject: Unicode to Ascii Substitution In-Reply-To: <9CEEE641-2F6E-41EA-8F20-156426AA671F@sweattechnologies.com> References: <9CEEE641-2F6E-41EA-8F20-156426AA671F@sweattechnologies.com> Message-ID: Hi Monte, *sort international* may not work because of the reason you mentioned; but _set the useUnicode to true _replace numToChar(199) with numToChar(67) in tBookName has nothing to do with the language choice, right? It?s plain UTF table replacement. Do you have any idea why this doesn?t work? Best, ~ Ender Nafi On November 2, 2013 at 0:11:20, Monte Goulding (monte at sweattechnologies.com) wrote: I haven't looked at what the engine does for international sort but it's complicated because some languages different ordering of the same characters. Given there's no way to specify the language I suspect this is the problem... From endernafi at gmail.com Fri Nov 1 18:19:38 2013 From: endernafi at gmail.com (Ender Nafi Elekcioglu) Date: Sat, 2 Nov 2013 00:19:38 +0200 Subject: Unicode to Ascii Substitution In-Reply-To: <9F27C3F9-F4BF-4974-99D4-CD4E2E97F9F8@sweattechnologies.com> References: <9CEEE641-2F6E-41EA-8F20-156426AA671F@sweattechnologies.com> <9F27C3F9-F4BF-4974-99D4-CD4E2E97F9F8@sweattechnologies.com> Message-ID: UTF-8 On November 2, 2013 at 0:18:31, Monte Goulding (monte at sweattechnologies.com) wrote: What encoding is your data in? From endernafi at gmail.com Fri Nov 1 18:36:06 2013 From: endernafi at gmail.com (Ender Nafi Elekcioglu) Date: Sat, 2 Nov 2013 00:36:06 +0200 Subject: Unicode to Ascii Substitution In-Reply-To: References: <9CEEE641-2F6E-41EA-8F20-156426AA671F@sweattechnologies.com> <9F27C3F9-F4BF-4974-99D4-CD4E2E97F9F8@sweattechnologies.com> Message-ID: Monte, you?re a life saver :) It worked like a charm. By the way, I won?t use *sort international*. I?ll sort the container by the converted-to-ascii names but display the actual unicode name of the book. Thank you very much? Best, ~ Ender Nafi On November 2, 2013 at 0:28:45, Monte Goulding (monte at sweattechnologies.com) wrote: OK then: set the useUnicode to true replace uniDecode(numToChar(199),"UTF8") with?uniDecode(numToChar(67),"UTF8") in tBookName Just to explain. useUnicode makes numToChar return UTF16 chars (two bytes). You need to then change the encoding to UTF8. However, the sort international command docs don't mention anything about it using UTF8. I suspect you need to convert all the data to native chars to use it. Cheers -- Monte Goulding M E R Goulding?- software development services mergExt?- There's an external for that! From yvescoppe at skynet.be Fri Nov 1 19:07:43 2013 From: yvescoppe at skynet.be (Yves COPPE) Date: Sat, 2 Nov 2013 00:07:43 +0100 Subject: Notifications in Mavericks In-Reply-To: <0C5D7945-51E6-42FB-8716-117F19FB9C5D@sweattechnologies.com> References: <1CE28F30-9D2A-4889-9B67-4B84E46B21A0@sweattechnologies.com> <0C5D7945-51E6-42FB-8716-117F19FB9C5D@sweattechnologies.com> Message-ID: <88C19724-DF97-4834-B93D-6A9C583BBA19@skynet.be> Hi Monte, cCan you I?ve me (in the list or off list) the link to this external for OSX ? Thank you Greetings. Yves COPPE yvescoppe at skynet.be Le 1 nov. 2013 ? 22:46, Monte Goulding a ?crit : > > On 02/11/2013, at 8:28 AM, Yves COPPE wrote: > >> Do you mean an external for the notifications on IOS or on OS X ? > > OS X > > -- > Monte Goulding > > M E R Goulding - software development services > mergExt - There's an external for that! > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From monte at sweattechnologies.com Fri Nov 1 19:11:19 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Sat, 2 Nov 2013 10:11:19 +1100 Subject: Notifications in Mavericks In-Reply-To: <88C19724-DF97-4834-B93D-6A9C583BBA19@skynet.be> References: <1CE28F30-9D2A-4889-9B67-4B84E46B21A0@sweattechnologies.com> <0C5D7945-51E6-42FB-8716-117F19FB9C5D@sweattechnologies.com> <88C19724-DF97-4834-B93D-6A9C583BBA19@skynet.be> Message-ID: On 02/11/2013, at 10:07 AM, Yves COPPE wrote: > Can you I?ve me (in the list or off list) the link to this external for OSX ? I haven't yet released it -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From yvescoppe at skynet.be Fri Nov 1 19:14:25 2013 From: yvescoppe at skynet.be (Yves COPPE) Date: Sat, 2 Nov 2013 00:14:25 +0100 Subject: Notifications in Mavericks In-Reply-To: References: <1CE28F30-9D2A-4889-9B67-4B84E46B21A0@sweattechnologies.com> <0C5D7945-51E6-42FB-8716-117F19FB9C5D@sweattechnologies.com> <88C19724-DF97-4834-B93D-6A9C583BBA19@skynet.be> Message-ID: Hi, How ! I understand why I didn?t find it ! Are you working on ? Will it be released soon ? Thanks. yvescoppe at skynet.be Le 2 nov. 2013 ? 00:11, Monte Goulding a ?crit : > > On 02/11/2013, at 10:07 AM, Yves COPPE wrote: > >> Can you I?ve me (in the list or off list) the link to this external for OSX ? > > I haven't yet released it > > -- > Monte Goulding > > M E R Goulding - software development services > mergExt - There's an external for that! > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Fri Nov 1 19:32:16 2013 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Sat, 2 Nov 2013 00:32:16 +0100 Subject: Notifications in Mavericks In-Reply-To: References: <1CE28F30-9D2A-4889-9B67-4B84E46B21A0@sweattechnologies.com> <0C5D7945-51E6-42FB-8716-117F19FB9C5D@sweattechnologies.com> <88C19724-DF97-4834-B93D-6A9C583BBA19@skynet.be> Message-ID: I also was wondering why i couldn?t find it at http://mergext.com and i was already to ask where to find it. But after reading Montes email again i noticed his "I don't think there's a great deal of interest in the external... ". Nevertheless, i am also interested in that external. Regards, Matthias Am 02.11.2013 um 00:14 schrieb Yves COPPE : > Hi, > > How ! I understand why I didn?t find it ! > Are you working on ? > Will it be released soon ? > > Thanks. > > yvescoppe at skynet.be > > Le 2 nov. 2013 ? 00:11, Monte Goulding a ?crit : > >> >> On 02/11/2013, at 10:07 AM, Yves COPPE wrote: >> >>> Can you I?ve me (in the list or off list) the link to this external for OSX ? >> >> I haven't yet released it >> >> -- >> Monte Goulding >> >> M E R Goulding - software development services >> mergExt - There's an external for that! >> >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode Matthias Rebbe Tel: +49 5741 310000 +49 160 5504462 eMail: matthias underscore livecode underscore 150811 at m dash r dash d dot de From monte at sweattechnologies.com Fri Nov 1 19:46:20 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Sat, 2 Nov 2013 10:46:20 +1100 Subject: Notifications in Mavericks In-Reply-To: References: <1CE28F30-9D2A-4889-9B67-4B84E46B21A0@sweattechnologies.com> <0C5D7945-51E6-42FB-8716-117F19FB9C5D@sweattechnologies.com> <88C19724-DF97-4834-B93D-6A9C583BBA19@skynet.be> Message-ID: <19CAF11B-E8C7-45F3-AFD8-4D75EF06FE57@sweattechnologies.com> On 02/11/2013, at 10:32 AM, Matthias Rebbe wrote: > I also was wondering why i couldn?t find it at http://mergext.com and i was already to ask where to find it. > But after reading Montes email again i noticed his "I don't think there's a great deal of interest in the external... ". > > Nevertheless, i am also interested in that external. Ah... well interest in it changes things ;-) I asked for interest a few weeks back. When I get a chance I'll add it to the suite. Cheers -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From mwieder at ahsoftware.net Fri Nov 1 19:53:06 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 1 Nov 2013 16:53:06 -0700 Subject: Calling all Linux users (was Stacks resizing on Ubuntu?) In-Reply-To: <5273B85B.1060205@fourthworld.com> References: <5273B85B.1060205@fourthworld.com> Message-ID: <16666036677.20131101165306@ahsoftware.net> Richard- Added this comment to the bug report: Data point: the sample stack works fine here following the above recipe in 64-bit linux mint 14 with a cinnamon desktop. -- -Mark Wieder ahsoftware at gmail.com From sc at sahores-conseil.com Fri Nov 1 20:05:08 2013 From: sc at sahores-conseil.com (Pierre Sahores) Date: Sat, 2 Nov 2013 01:05:08 +0100 Subject: mobilePlaySoundOnChannel with more sounds error? In-Reply-To: References: <3B113C21-80C2-4D78-BBCB-6FD4E3D5CEF1@sahores-conseil.com> <2FB4B15B-5DF2-481F-ACC8-896CE8BE7F32@sahores-conseil.com> <1383303146656-4671733.post@n4.nabble.com> Message-ID: <46A97FBA-46DA-4EE1-B203-13BD16C0A3E5@sahores-conseil.com> Hi again William, See the mobilesoundplayer sample stack iOS & Android compatible i just uploaded to RevOnline with Android, iOS, mobile, sound as tags. Works fine against real Android 2 to 4 and iOS 5 to 7 tablets and mobiles devices (simulators untested). Best, Pierre Le 1 nov. 2013 ? 11:57, William de Smet a ?crit : > Hi Dave, > > Good to hear it works for you. > So it is not LC 6.1.2. > It must be me then :-). > > @Pierre: that's very kind of you. > > > greetings, > > William > > > 2013/11/1 Dave Kilroy > >> Hi William >> >> soundFinishedOnChannel works for me on 6.1.2 (iOS, not used it on Android >> yet) >> >> Dave >> >> >> >> ----- >> "Some are born coders, some achieve coding, and some have coding thrust >> upon them." - William Shakespeare & Hugh Senior >> >> -- >> View this message in context: >> http://runtime-revolution.278305.n4.nabble.com/mobilePlaySoundOnChannel-with-more-sounds-error-tp4671645p4671733.html >> Sent from the Revolution - User mailing list archive at Nabble.com. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com From dochawk at gmail.com Fri Nov 1 22:07:51 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Fri, 1 Nov 2013 19:07:51 -0700 Subject: Stealing images from the galactic gauntlet zip file? In-Reply-To: <001501ced6df$225d1620$67174260$@de> References: <5272ADBA.8020802@gmail.com> <5272D2A5.50508@economy-x-talk.com> <001501ced6df$225d1620$67174260$@de> Message-ID: On Fri, Nov 1, 2013 at 1:48 AM, Tiemo Hollmann TB wrote: > Sorry Cyril, this isn't meant personally, but I am soooo pissed off of the > NSA and US government acting in Berlin and the world. > You think you have it bad *outside* the US on this? :( -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From cypruszko at hotmail.com Fri Nov 1 23:57:13 2013 From: cypruszko at hotmail.com (Cyril Pruszko) Date: Sat, 2 Nov 2013 03:57:13 +0000 Subject: AW: Stealing images from the galactic gauntlet zip file? In-Reply-To: <001501ced6df$225d1620$67174260$@de> References: <5272ADBA.8020802@gmail.com>, <5272D2A5.50508@economy-x-talk.com>, , <001501ced6df$225d1620$67174260$@de> Message-ID: No, international copyright law is provided for by the Berne Convention of 1886. Most nations accept it. Among many of the exemptions and exclusions that were allowed is the use of copyrighted material for teaching. Fair use is a descendant of the Statute of Anne of 1709, enacted by Great Britain. It has since existed in common law but the US first officially recognized it in its copyright laws. Many other countries have since implemented laws regarding fair use. But you are correct in that countries are free to define it as they want either more or less liberally. > From: toolbook at kestner.de > To: use-livecode at lists.runrev.com > Subject: AW: Stealing images from the galactic gauntlet zip file? > Date: Fri, 1 Nov 2013 09:48:27 +0100 > > Sorry, but thats the "typical" US (best nation on earth) thinking. > Copyright is always a national law, same as data privacy. > > Sorry Cyril, this isn't meant personally, but I am soooo pissed off of the > NSA and US government acting in Berlin and the world. > > Tiemo > > > -----Urspr?ngliche Nachricht----- > > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im > Auftrag > > von Cyril Pruszko > > Gesendet: Freitag, 1. November 2013 01:27 > > An: How to use LiveCode > > Betreff: RE: Stealing images from the galactic gauntlet zip file? > > > > This may help (bolding is mine): > > Section 107 of the Copyright Act states:the fair use of a copyrighted > work, > > including such use by reproduction in copies or phono records or by any > > other means specified by that section, for purposes such as criticism, > > comment, news reporting, teaching (including multiple copies for classroom > > use), scholarship, or research, is not an infringement of copyright.In > > determining whether the use made of a work in any particular case is a > fair > > use the factors to be considered shall include?the purpose and character > of > > the use, including whether such use is of a commercial nature or is for > > nonprofit educational purposes;the nature of the copyrighted work; the > > amount and substantiality of the portion used in relation to the > > copyrighted work as a whole; and the effect of the use upon the potential > > market for or value of the copyrighted work.Source: 17 USC Section 107. > > Generally, using copyright materials is allowed in teaching situations. > > Regards, > > > > > Date: Thu, 31 Oct 2013 22:59:01 +0100 > > > From: m.schonewille at economy-x-talk.com > > > To: use-livecode at lists.runrev.com > > > Subject: Re: Stealing images from the galactic gauntlet zip file? > > > > > > Hi Richmond, > > > > > > As far as I know, RunRev doesn't do difficult about his, but legally > > > it is not OK. If no license is available, any authored work is > > > automatically copyrighted. > > > > > > -- > > > Best regards, > > > > > > Mark Schonewille > > > > > > Economy-x-Talk Consulting and Software Engineering > > > Homepage: http://economy-x-talk.com > > > Twitter: http://twitter.com/xtalkprogrammer > > > KvK: 50277553 > > > > > > Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other > > > colour spaces. http://www.color-converter.com > > > > > > Buy my new book "Programming LiveCode for the Real Beginner" > > > http://qery.us/3fi > > > > > > Fill out this survey please > > > http://livecodebeginner.economy-x-talk.com/survey/ > > > > > > On 10/31/2013 20:21, Richmond wrote: > > > > I want to "steal" some of the images from the galactic gauntlet zip > > > > file to use in my up-coming Livecode classes starting in > > > > mid-November. > > > > > > > > Is that OK? > > > > > > > > There seems to be no licence in the zip file. > > > > > > > > Richmond. > > > > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dochawk at gmail.com Sat Nov 2 12:08:18 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 2 Nov 2013 09:08:18 -0700 Subject: AW: Stealing images from the galactic gauntlet zip file? In-Reply-To: References: <5272ADBA.8020802@gmail.com> <5272D2A5.50508@economy-x-talk.com> <001501ced6df$225d1620$67174260$@de> Message-ID: On Fri, Nov 1, 2013 at 8:57 PM, Cyril Pruszko wrote: > Fair use is a descendant of the Statute of Anne of 1709, enacted by Great > Britain. It has since existed in common law but the US first officially > recognized it in its copyright laws. Uhmm . . . The Statute of Anne is a statute, not Common Law. It modified and displaced part of the Common Law of England, but ouldn't possibly beocme part of it. >From the limited amount I know about 18th century legal practice here, I presume it would have been accepted as law in the US until there was a US statute (The Constitution explicitly accepted the existing Common Law) -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From richmondmathewson at gmail.com Sat Nov 2 12:24:59 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 02 Nov 2013 18:24:59 +0200 Subject: AW: Stealing images from the galactic gauntlet zip file? In-Reply-To: References: <5272ADBA.8020802@gmail.com> <5272D2A5.50508@economy-x-talk.com> <001501ced6df$225d1620$67174260$@de> Message-ID: <5275275B.5010501@gmail.com> On 2.11.2013 18:08, Dr. Hawkins wrote: > On Fri, Nov 1, 2013 at 8:57 PM, Cyril Pruszko wrote: > >> Fair use is a descendant of the Statute of Anne of 1709, enacted by Great >> Britain. It has since existed in common law but the US first officially >> recognized it in its copyright laws. > > Uhmm . . . > > The Statute of Anne is a statute, not Common Law. > > It modified and displaced part of the Common Law of England, but ouldn't > possibly beocme part of it. > > From the limited amount I know about 18th century legal practice here, I > presume it would have been accepted as law in the US until there was a US > statute (The Constitution explicitly accepted the existing Common Law) > > The Statute of Anne of 1709 is only valid if people agree to be bound by a statute coming from a ruler and/or political body held to be legitimate. Various ideas come into play here, such as 'social contract'. Jacobites do not accept any 'monarchs' in Britain since 1688, and their parliaments, as having anything further than de facto legitimacy; nor, for that matter a colony that declared a unilateral declaration of independence from that illegitimate body. As His Britannic Majesty King Francis II, the legal monarch of the countries inwith the British Isles and the North American colonies, has made no comment whatsoever about copyright, and nor have any of our previous monarch, one might almost say that those who are Jacobites regard 'copyright' as some sort of nebulous idea that exists in the heads of fantasists who believe in the legitimacy of various spurious political bodies such as "The United States of America" and "The United Kingdom". So, Jacobites are best to work on a far simpler basis, that is by asking whoever has produced some work whether they would object to it being used elsewhere. This all seems so much easier than copyright, copyleft, and copywrong. Richmond. From vclement at gmail.com Sat Nov 2 12:51:24 2013 From: vclement at gmail.com (Vaughn Clement) Date: Sat, 2 Nov 2013 09:51:24 -0700 Subject: Unable to compile a IOS app In-Reply-To: References: Message-ID: Hi I need to correct my typed description of the error: "Linking for armv7 failed with g++: failed to exec/Application/Xcode.app/ Contents/Developer/usr/bin/clang ++: no such file directory" Thank you Vaughn Clement Apps by Vaughn Clement (Support) *http://www.appsbyvaughnclement.com/tools/home-page/ * Skype: vaughn.clement https://secure.join.me/appsbyvclement FaceTime: vclement at gmail.com LogMeIn also avaialble Call on "ooVoo" at address: vaughnclement or 9282549062 Ph. 928-254-9062 Cloud Hosting Registration Web Site: https://my.oditech.com/cart.php?a=add&pid=41 On Fri, Nov 1, 2013 at 3:12 PM, Vaughn Clement wrote: > Hi All > > Has anyone had this error when building an IOS standalone app? > > "Linking for armv7 failed with g==: failed to > exec/Application/Xcode.app/Contents/Developer/usr/bin/clang ++: no such > file directory" > > I running LC 6.1.2 in OS 10.9 mac Mavericks, using Xcode 5.0 > Preferences is good with a green indicator. > I can run the simulator on all IOS apps no problems. > I have 2 apps I tried to compile and I get the same error on both. > > Thank you > > Vaughn Clement > > Apps by Vaughn Clement (Support) > *http://www.appsbyvaughnclement.com/tools/home-page/ > * > Skype: vaughn.clement > https://secure.join.me/appsbyvclement > FaceTime: vclement at gmail.com > LogMeIn also avaialble > Call on "ooVoo" at address: vaughnclement or 9282549062 > Ph. 928-254-9062 > Cloud Hosting Registration Web Site: > https://my.oditech.com/cart.php?a=add&pid=41 > From dochawk at gmail.com Sat Nov 2 13:52:16 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 2 Nov 2013 10:52:16 -0700 Subject: error in test contion In-Reply-To: References: <526AF47A.5050107@tweedly.net> <52716E8B.7060908@tweedly.net> Message-ID: And it continues: put (the prgVrsn of stack "mcp") <> progVersion into t1 if t1 then yields executing at 10:46:29 AM Type if-then: error in statement Object mcp Line if t1 then Hint openMcp t1 should have been true on this run. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From ambassador at fourthworld.com Sat Nov 2 14:07:33 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 02 Nov 2013 11:07:33 -0700 Subject: error in test contion In-Reply-To: References: Message-ID: <52753F65.8020800@fourthworld.com> Dr. Hawkins wrote: > And it continues: > > put (the prgVrsn of stack "mcp") <> progVersion into t1 > if t1 then > > yields > > executing at 10:46:29 AM > Type if-then: error in statement > Object mcp > Line if t1 then > Hint openMcp > > > t1 should have been true on this run. This should work: put ( (the prgVrsn of stack "mcp") <> progVersion) into t1 -- 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 From dochawk at gmail.com Sat Nov 2 14:37:50 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 2 Nov 2013 11:37:50 -0700 Subject: My 15 seconds with 6.5-RC1 (no edit group) Message-ID: I downloaded 6.5-RC1 (at home, no less!). I saved my project, and bumped the version number. I ensured that I could save the script of the main stack without the shadow error (i can't under 6.1). I went to remove a subgroup. I selected the group, and clicked "edit group". No dice. The text blinks, but I still have the whole card displayed . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From richmondmathewson at gmail.com Sat Nov 2 14:42:32 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 02 Nov 2013 20:42:32 +0200 Subject: My 15 seconds with 6.5-RC1 (no edit group) In-Reply-To: References: Message-ID: <52754798.5090302@gmail.com> On 2.11.2013 20:37, Dr. Hawkins wrote: > I downloaded 6.5-RC1 (at home, no less!). > > I saved my project, and bumped the version number. > > I ensured that I could save the script of the main stack without the shadow > error (i can't under 6.1). > > I went to remove a subgroup. > > I selected the group, and clicked "edit group". > > No dice. The text blinks, but I still have the whole card displayed . . . > I wonder why you didn't download either 6.5.0 dp2 I do know that a lot has happened between dp1 and dp2 or 6.1.2 and 6.1.3 rc1? Richmond. From dochawk at gmail.com Sat Nov 2 14:50:19 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 2 Nov 2013 11:50:19 -0700 Subject: My 15 seconds with 6.5-RC1 (no edit group) In-Reply-To: <52754798.5090302@gmail.com> References: <52754798.5090302@gmail.com> Message-ID: On Sat, Nov 2, 2013 at 11:42 AM, Richmond wrote: > On 2.11.2013 20:37, Dr. Hawkins wrote: > >> I downloaded 6.5-RC1 (at home, no less!). >> > I wonder why you didn't download either 6.5.0 dp2 > I did. I can't compile with either 6.1.x or 6.5 dp1 due to the shadow error, which pretty much lives me dead in the water. So with an RC, I figured that I would try. I opened a news stack and made a couple of groups with a couple of controls each, and grouped them. RC1 seemed to edit these groups. Then I tried my stack again. This is a fairly complicated page (actually an editor for my display groups). I enabled the icon control strip (normally i just have the text--twenty nine years of macs, and I'm still not an icon bar kind of guy . .). It wouldn't start the edit, either. Then I tried the "Edit group" menu selection, which got me into the group editor. I cut the subgroup. Not even "stop editing group" could get me back out; I needed to use the application browser to reload the page. Then I tried to paste. Nope, no longer on the clipboard. Back to 5.5.4 . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From mwieder at ahsoftware.net Sat Nov 2 15:00:29 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 2 Nov 2013 12:00:29 -0700 Subject: My 15 seconds with 6.5-RC1 (no edit group) In-Reply-To: References: <52754798.5090302@gmail.com> Message-ID: <176134880320.20131102120029@ahsoftware.net> Richard- Saturday, November 2, 2013, 11:50:19 AM, you wrote: > Then I tried the "Edit group" menu selection, which got me into the group > editor. I cut the subgroup. Not even "stop editing group" could get me > back out; I needed to use the application browser to reload the page. > Then I tried to paste. Nope, no longer on the clipboard. All the stuff you've posted in this thread works for me, so I haven't followed too closely, but I just tried your latest. While I don't have any problems editing groups or subgroups (I normally have the toolbar hidden as well but enabled it for this test) I did discover one anomaly and I'll file a bug report on it: if you are editing a group and attempt to paste objects from the clipboard, edit mode is first disabled, so that your objects get pasted outside the group. -- -Mark Wieder ahsoftware at gmail.com From dochawk at gmail.com Sat Nov 2 16:49:23 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 2 Nov 2013 13:49:23 -0700 Subject: error in test contion In-Reply-To: <52753F65.8020800@fourthworld.com> References: <52753F65.8020800@fourthworld.com> Message-ID: On Sat, Nov 2, 2013 at 11:07 AM, Richard Gaskin wrote: > > This should work: > > put ( (the prgVrsn of stack "mcp") <> progVersion) into t1 > put progVersion put ((the prgVrsn of stack "mcp") <> progVersion) into t1 ck "t1 is " & t1 -- if ((the prgVrsn of stack "mcp") <> progVersion) then if t1 then the logger shows that, t1 is true yet I still get error executing at 1:41:29 PM Type if-then: error in statement Object mcp Line if t1 then Hint openMcp -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From ambassador at fourthworld.com Sat Nov 2 17:05:05 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 02 Nov 2013 14:05:05 -0700 Subject: error in test contion In-Reply-To: References: Message-ID: <52756901.2030001@fourthworld.com> Dr. Hawkins wrote: > On Sat, Nov 2, 2013 at 11:07 AM, Richard Gaskin wrote: >> >> This should work: >> >> put ( (the prgVrsn of stack "mcp") <> progVersion) into t1 >> > put progVersion > put ((the prgVrsn of stack "mcp") <> progVersion) into t1 > ck "t1 is " & t1 > -- if ((the prgVrsn of stack "mcp") <> progVersion) then > if t1 then > > the logger shows that, > > t1 is true > > yet I still get error > > executing at 1:41:29 PM > Type if-then: error in statement > Object mcp > Line if t1 then > Hint openMcp Have you double-checked the value of the prgVrsn property? -- 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 From dochawk at gmail.com Sat Nov 2 19:26:46 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 2 Nov 2013 16:26:46 -0700 Subject: error in test contion In-Reply-To: <52756901.2030001@fourthworld.com> References: <52756901.2030001@fourthworld.com> Message-ID: On Sat, Nov 2, 2013 at 2:05 PM, Richard Gaskin wrote: > Have you double-checked the value of the prgVrsn property? > Yes, as close as I can--this code never fails when I single-step through it; only when running on it's own, and only when t1 (or the underlying test when I try directly) is true. I also have a check-log, and when I have it write to this just before the test, t1 is indeed true. How can I possibly have a "tainted" logical value? -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Sat Nov 2 19:55:17 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 2 Nov 2013 16:55:17 -0700 Subject: error in test contion In-Reply-To: References: <52756901.2030001@fourthworld.com> Message-ID: from my log: prgVrsn: _131102e_ progVersion:_131102f_ t1 is true this came from: ck "prgVrsn: _" & (the prgVrsn of stack "mcp") & "_" ck "progVersion:_" & progVersion & "_" put ((the prgVrsn of stack "mcp") <> progVersion) into t1 ck "t1 is " & t1 at which point, if t1 then causes the fault. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From alex at tweedly.net Sat Nov 2 20:12:31 2013 From: alex at tweedly.net (Alex Tweedly) Date: Sun, 03 Nov 2013 00:12:31 +0000 Subject: error in test contion In-Reply-To: References: <52756901.2030001@fourthworld.com> Message-ID: <527594EF.5060308@tweedly.net> OK, it's time to clutch at straws :-) Straw 1. The error report is misleading, and it's a subsequent statement that causes the problem. - make sure the first statement within the if-then test and its alternate both log some output and see if it does happen. Straw 2. Add a line like "put true into t1" after the logging, before the if-test Straw 3. The report mentions "openMcp". Is there anything, anywhere called that ? -- Alex. On 02/11/2013 23:55, Dr. Hawkins wrote: > from my log: > > prgVrsn: _131102e_ > progVersion:_131102f_ > t1 is true > > this came from: > ck "prgVrsn: _" & (the prgVrsn of stack "mcp") & "_" > ck "progVersion:_" & progVersion & "_" > put ((the prgVrsn of stack "mcp") <> progVersion) into t1 > ck "t1 is " & t1 > > at which point, > > if t1 then > > causes the fault. From pete at lcsql.com Sat Nov 2 20:12:26 2013 From: pete at lcsql.com (Peter Haworth) Date: Sat, 2 Nov 2013 17:12:26 -0700 Subject: error in test contion In-Reply-To: References: <52756901.2030001@fourthworld.com> Message-ID: Could it be a statement further down the if statement block that is causing the problem? I know the error points to the line with the if statement but I think I've seen instances before of error messages pointing to the "root" line rather than the line that actually caused the error. Pete lcSQL Software On Sat, Nov 2, 2013 at 4:55 PM, Dr. Hawkins wrote: > from my log: > > prgVrsn: _131102e_ > progVersion:_131102f_ > t1 is true > > this came from: > ck "prgVrsn: _" & (the prgVrsn of stack "mcp") & "_" > ck "progVersion:_" & progVersion & "_" > put ((the prgVrsn of stack "mcp") <> progVersion) into t1 > ck "t1 is " & t1 > > at which point, > > if t1 then > > causes the fault. > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From john at onechip.com Sat Nov 2 20:18:58 2013 From: john at onechip.com (John) Date: Sat, 2 Nov 2013 17:18:58 -0700 Subject: a conundrum In-Reply-To: <526E98F5.5000400@hyperactivesw.com> References: <8D87B21D-C9A0-4004-A13B-0FE4839348EE@OneChip.com> <526E98F5.5000400@hyperactivesw.com> Message-ID: Jaque, Apparently not. I started using 6.5 RC1 and the issue went away (the app launches and the document opens) while bug 10935 is still listed as pending. I don?t know why it is fixed (nothing in the release notes appears to be directly related) but I am a happy camper. Mark, I didn?t have a chance to try your suggestion of moving the script but if it breaks again I will give it a go. Thanks, John On Oct 28, 2013, at 10:03 AM, J. Landman Gay wrote: > > I wonder if it is related this: > > > From capellan2000 at gmail.com Sat Nov 2 20:44:00 2013 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sat, 2 Nov 2013 17:44:00 -0700 (PDT) Subject: [REQUEST] Code to slant, skew and distort images In-Reply-To: <1381106429864-4670724.post@n4.nabble.com> References: <1381089886669-4670708.post@n4.nabble.com> <1381096618716-4670716.post@n4.nabble.com> <1381106429864-4670724.post@n4.nabble.com> Message-ID: <1383439440119-4671786.post@n4.nabble.com> Hi All, Searching for code to slant, skew and distort images I have found again this clever stack by Chipp Walters: http://www2.altuit.com/webs/altuit2/RunRev/altConvolve2.zip The most surprising find is that "external.dll" (the original sample DLL created by Scott Raney from MetaCard) included in this download, still works in the latest LiveCode versions!!! After learning about the impressive capabilities of Mac OS X core effects: https://developer.apple.com/library/mac/documentation/GraphicsImaging/Reference/CoreImageFilterReference/Reference/reference.html I just keep wondering if Android, Linux and Windows offers similar images filters. At least a small fraction, not everything that Apple's Core Image offers. Thanks in advance! Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/REQUEST-Code-to-slant-skew-and-distort-images-tp4670708p4671786.html Sent from the Revolution - User mailing list archive at Nabble.com. From mwieder at ahsoftware.net Sat Nov 2 20:51:22 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 2 Nov 2013 17:51:22 -0700 Subject: error in test contion In-Reply-To: References: <52753F65.8020800@fourthworld.com> Message-ID: <119337100.20131102175122@ahsoftware.net> Richard- Saturday, November 2, 2013, 1:49:23 PM, you wrote: > yet I still get error > executing at 1:41:29 PM > Type if-then: error in statement > Object mcp > Line if t1 then > Hint openMcp The error message says that "mcp" is the problem. You appear to be invoking an "openMcp" handler. Is the mcp stack actually open in memory when you check the custom property? If it isn't then you'll get an error that really means "I can't find that stack", no matter what the actual error text is. -- -Mark Wieder ahsoftware at gmail.com From scott at tactilemedia.com Sat Nov 2 21:40:32 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Sat, 02 Nov 2013 18:40:32 -0700 Subject: [REQUEST] Code to slant, skew and distort images In-Reply-To: <1383439440119-4671786.post@n4.nabble.com> Message-ID: Hi Al: As far as I know, these capabilities have never been available, either by RunRev or by 3rd parties. We could do some nice 2-1/2D effects with these capabilities, for sure, but they need to be added to the engine (along with sub-pixel positioning). Somewhat frustrating that one can do a fair number of image transformations using CSS and/or Javascript, but not LiveCode: http://developer.mozilla.org/en-US/docs/Web/CSS/transform Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 11/2/13 5:44 PM, "Alejandro Tejada" wrote: >Hi All, > >Searching for code to slant, skew and distort images >I have found again this clever stack by Chipp Walters: >http://www2.altuit.com/webs/altuit2/RunRev/altConvolve2.zip > >The most surprising find is that "external.dll" (the original sample DLL >created by Scott Raney from MetaCard) included in this download, >still works in the latest LiveCode versions!!! > >After learning about the impressive capabilities of >Mac OS X core effects: >https://developer.apple.com/library/mac/documentation/GraphicsImaging/Refe >rence/CoreImageFilterReference/Reference/reference.html > >I just keep wondering if Android, Linux and Windows offers >similar images filters. At least a small fraction, not everything >that Apple's Core Image offers. > >Thanks in advance! > >Al > > > >-- >View this message in context: >http://runtime-revolution.278305.n4.nabble.com/REQUEST-Code-to-slant-skew- >and-distort-images-tp4670708p4671786.html >Sent from the Revolution - User mailing list archive at Nabble.com. > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode > From capellan2000 at gmail.com Sat Nov 2 22:02:04 2013 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sat, 2 Nov 2013 19:02:04 -0700 (PDT) Subject: [REQUEST] Code to slant, skew and distort images In-Reply-To: References: <1381089886669-4670708.post@n4.nabble.com> <1381096618716-4670716.post@n4.nabble.com> <1381106429864-4670724.post@n4.nabble.com> <1383439440119-4671786.post@n4.nabble.com> Message-ID: <1383444124982-4671789.post@n4.nabble.com> Hi Scott, Scott Rossi wrote > As far as I know, these capabilities have never been available, either by > RunRev or by 3rd parties. We could do some nice 2-1/2D effects with these > capabilities, for sure, but they need to be added to the engine (along > with sub-pixel positioning). > Somewhat frustrating that one can do a fair number of image > transformations using CSS and/or Javascript, but not LiveCode: > http://developer.mozilla.org/en-US/docs/Web/CSS/transform If imagemagick do not add 50 megabytes to every application, certainly, would be an ideal candidate: http://www.imagemagick.org/script/license.php "Before we get to the text of the license, lets just review what the license says in simple terms: It allows you to: freely download and use ImageMagick software, in whole or in part, for personal, company internal, or commercial purposes; use ImageMagick software in packages or distributions that you create; link against a library under a different license; link code under a different license against a library under this license; merge code into a work under a different license; extend patent grants to any code using code under this license; and extend patent protection." Let's keep the hope! Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/REQUEST-Code-to-slant-skew-and-distort-images-tp4670708p4671789.html Sent from the Revolution - User mailing list archive at Nabble.com. From rjd318 at gmail.com Sat Nov 2 22:07:00 2013 From: rjd318 at gmail.com (Jose Damaso) Date: Sat, 2 Nov 2013 21:07:00 -0500 Subject: start ssh session on mac Message-ID: Hi - is there a way to start a ssh terminal session on the Mac? I can launch the terminal.app but was hoping to be able to pass the user and server (perhaps even the password) to that terminal also. Security concerns aside of course =) From monte at sweattechnologies.com Sat Nov 2 22:18:32 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Sun, 3 Nov 2013 13:18:32 +1100 Subject: [REQUEST] Code to slant, skew and distort images In-Reply-To: References: Message-ID: <05C89CC7-6D1C-4CE6-8C0C-62808D492702@sweattechnologies.com> On 03/11/2013, at 12:40 PM, Scott Rossi wrote: > As far as I know, these capabilities have never been available, either by > RunRev or by 3rd parties. We could do some nice 2-1/2D effects with these > capabilities, for sure, but they need to be added to the engine (along > with sub-pixel positioning). > > Somewhat frustrating that one can do a fair number of image > transformations using CSS and/or Javascript, but not LiveCode: > http://developer.mozilla.org/en-US/docs/Web/CSS/transform FWIW I asked here (http://forums.runrev.com/viewtopic.php?f=66&t=16617) about affine transformations on individual objects. Not going to happen for a while. It could be different for images though and work somewhat like (and integrate with the angle property). Cheers -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From sundown at pacifier.com Sat Nov 2 23:06:59 2013 From: sundown at pacifier.com (JB) Date: Sat, 2 Nov 2013 20:06:59 -0700 Subject: OT: Time Machine Alternatives? In-Reply-To: <4237695239.20131025210401@ahsoftware.net> References: <4237695239.20131025210401@ahsoftware.net> Message-ID: <17A2F30E-1810-4391-99E1-42D1E07BE794@pacifier.com> Hi Mark, In my response to your message I stated that I have never had any problem with linked-files in Time Machine. I know Halloween was a few days ago but I think you need to consider your powers. Now one of my folders has been hexed. It appears to be linking to a different folder on my hard drive instead of the original folder and when I view my Tima Machine backup all of the folders have been changed to view the same improper link. I suspect the problem was created somehow by Apple TV/ I have recently installed Apple TV and when I used it to play songs from iTunes everything was fine but when I shuffled the songs to play soon after I noticed the problem and went to Time Machine to restore my original folder and they were all linked wrong too. I know this is not the problem you had but it is related to links and Time Machine. I suspect all the files are still there they just are not being seen due to a corrupted link. I have no reason to believe you intended to hex me so I am not going to thank you. -=>JB<=- On Oct 25, 2013, at 9:04 PM, Mark Wieder wrote: > Thanks to all who replied. I'm investigating all the alternatives. Now > if Time Machine would just recognize my Drobo FS I think I'd be in > good shape. But while I've used Carbon Copy Pro in the past to make > archival backups, I didn't realize it would do incremental backups. > Need to look into that. > > -- > -Mark Wieder > ahsoftware at gmail.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From capellan2000 at gmail.com Sat Nov 2 23:40:36 2013 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sat, 2 Nov 2013 20:40:36 -0700 (PDT) Subject: [REQUEST] Code to slant, skew and distort images In-Reply-To: <05C89CC7-6D1C-4CE6-8C0C-62808D492702@sweattechnologies.com> References: <1381089886669-4670708.post@n4.nabble.com> <1381096618716-4670716.post@n4.nabble.com> <1381106429864-4670724.post@n4.nabble.com> <1383439440119-4671786.post@n4.nabble.com> <05C89CC7-6D1C-4CE6-8C0C-62808D492702@sweattechnologies.com> Message-ID: <1383450036277-4671793.post@n4.nabble.com> Well, keeping the promised priorities in order is essential. :) Monte Goulding wrote > FWIW I asked here (http://forums.runrev.com/viewtopic.php?f=66&t=16617) > about affine transformations on individual objects. Not going to happen > for a while. > It could be different for images though and work somewhat like (and > integrate with > the angle property). Interesting enough, I found this alternative to ImageMagick: http://www.graphicsmagick.org/ Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/REQUEST-Code-to-slant-skew-and-distort-images-tp4670708p4671793.html Sent from the Revolution - User mailing list archive at Nabble.com. From kee at kagi.com Sun Nov 3 01:31:16 2013 From: kee at kagi.com (kee nethery) Date: Sat, 2 Nov 2013 23:31:16 -0700 Subject: Livecode server install on Mavericks? Message-ID: <7402BD98-AECC-4760-B643-F6EDE768A2DE@kagi.com> I?m trying to install Livecode server on my Mac running Mavericks. Are there instructions someplace on how to do this install? I?ve tried using: http://lessons.runrev.com/s/lessons/m/4070/l/36653-how-do-i-install-livecode-server-on-os-x-with-apache but it does not provide examples and it skips steps that it thinks are obvious. I did download Server OS X and get that running but somehow all my messing around trying to get livecode server running has borked that up so that it no longer even serves up the default index.html page. Kee From gregory.lypny at videotron.ca Sun Nov 3 09:14:33 2013 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Sun, 03 Nov 2013 09:14:33 -0500 Subject: LiveCode Server Installation In-Reply-To: References: Message-ID: <5C5AF616-BBDB-417C-8985-E7E148623918@videotron.ca> Hello Rick Harrison and Mac Benett, I was able to get LiveCode Server 6.1.0 working under OS X Mavericks. I had to re-edit the httpd.conf file to include the necessary LiveCode lines, so I guess the instructions at the LiveCode website are still valid. I was able to run a short script that displays the date and other little tidbits. Regards, Gregory From harrison at all-auctions.com Sun Nov 3 10:22:19 2013 From: harrison at all-auctions.com (Rick Harrison) Date: Sun, 3 Nov 2013 10:22:19 -0500 Subject: LiveCode Server Installation In-Reply-To: <5C5AF616-BBDB-417C-8985-E7E148623918@videotron.ca> References: <5C5AF616-BBDB-417C-8985-E7E148623918@videotron.ca> Message-ID: <8D2E8AD0-81D9-4F2A-B665-15083EEE3CC6@all-auctions.com> Hi Gregory, Yay!!! Glad to hear you got it working. Thanks, now we know what to do! Rick On Nov 3, 2013, at 9:14 AM, Gregory Lypny wrote: > Hello Rick Harrison and Mac Benett, > > I was able to get LiveCode Server 6.1.0 working under OS X Mavericks. I had to re-edit the httpd.conf file to include the necessary LiveCode lines, so I guess the instructions at the LiveCode website are still valid. I was able to run a short script that displays the date and other little tidbits. > > Regards, > > Gregory > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dochawk at gmail.com Sun Nov 3 10:22:48 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Sun, 3 Nov 2013 07:22:48 -0800 Subject: start ssh session on mac In-Reply-To: References: Message-ID: On Sat, Nov 2, 2013 at 7:07 PM, Jose Damaso wrote: > Hi - is there a way to start a ssh terminal session on the Mac? I can > launch the terminal.app but was hoping to be able to pass the user and > server (perhaps even the password) to that terminal also. Security concerns > aside of course =) > a quick google found that for 10.6 and later, yes. And note the last comment . . . from http://stackoverflow.com/questions/1308755/launch-an-app-on-os-x-with-command-line As was mentioned here, the 'open' command in 10.6 now has an 'args' flag, so you can call: open -n ./AppName.app --args -AppCommandLineArg share |improve this answer answered Oct 18 '09 at 1:48 community wiki John McDonnell up vote 9 down vote An application bundle (a .app file) is actually a bunch of directories. Instead of using 'open' and the .app name, you can actually move in to it and start the actual binary. For instance: $ cd /Applications/LittleSnapper.app/ $ ls Contents $ cd Contents/MacOS/ $ ./LittleSnapper That is the actual binary that might accept arguments (or not, in LittleSnapper's case). share |improve this answer answered Aug 20 '09 at 21:01 MathieuK 2,6451024 1 The binary accepts arguments, I am sure. I wrote it. Invoking 'open' doesn't allow passing arguments. I am pretty sure about this. And yes, my script is calling 'open binary' directly, not trying to open the bundle. ? psychotik Aug 20 '09 at 21:05 -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From mac at mauraoconnell.com Sun Nov 3 11:31:28 2013 From: mac at mauraoconnell.com (Mac Bennett) Date: Sun, 3 Nov 2013 10:31:28 -0600 Subject: LiveCode Server Installation In-Reply-To: <5C5AF616-BBDB-417C-8985-E7E148623918@videotron.ca> References: <5C5AF616-BBDB-417C-8985-E7E148623918@videotron.ca> Message-ID: <19C194D3-5B7C-4CFD-BAD8-6C9C47DEE80F@mauraoconnell.com> Glad you got it working. Did you buy the "OS X Server" app? It is possible to run a local server using the open-source MacPorts ( http://macports.org ); it does require a bit of commandline stuff, but it's all spelled out clearly. The main install is just a double-click pkg. If I can do it, anyone can. I'll have to look closer at Apple's server app, as it seems to have some new features. Going to wait on installing Mavericks until it's been updated a couple of times. On Nov 3, 2013, at 8:14 AM, Gregory Lypny wrote: > Hello Rick Harrison and Mac Benett, > > I was able to get LiveCode Server 6.1.0 working under OS X Mavericks. I had to re-edit the httpd.conf file to include the necessary LiveCode lines, so I guess the instructions at the LiveCode website are still valid. I was able to run a short script that displays the date and other little tidbits. > > Regards, > > Gregory > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Sun Nov 3 11:52:08 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 03 Nov 2013 18:52:08 +0200 Subject: Misunderstanding developer previews versus release candidates Message-ID: <52767F38.8070202@gmail.com> The title really says it all. LC 6.0.0 went through 5 developer previews and 7 release candidates. LC 6.0.1 went through NO developer previews and 1 release candidate. LC 6.0.2 went through NO developer previews and 1 release candidate. LC 6.1.0 went through 2 developer previews and 3 release candidates. LC 6.1.1 went through NO developer previews and 6 release candidates. LC 6.1.2 went through NO developer previews and 3 release candidates. LC 6.1.3 to date has NO developer previews and 1 release candidate. LC 6.5.0 to date has 2 developer previews and 1 release candidate. So, what with all the "funny numbers" after the 6, the developer previews and their numbers, and the release Candidates and their numbers. Coupled with the fact that 6.5.0 seems to be stealing a march on 6.1.3 rather than creeping up behind it. I really wonder if those "funny numbers", the 'dp' and 'rc' suffixes (beyond marking some sort of sequentiality - which seems broken re 6.1.3 and 6.5.0) are any guide at all to such things as stability, usability and so on. ------------------ I am sure that will get the expected sententious answer to this message from one of RunRev's uncritical cheer-leaders, and it will just trot out the official line. However, various people on this use-list have indicated with their unfortunate experiences with various versions that things may not be quite that simple. Richmond. From jacque at hyperactivesw.com Sun Nov 3 13:01:15 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 03 Nov 2013 12:01:15 -0600 Subject: Misunderstanding developer previews versus release candidates In-Reply-To: <52767F38.8070202@gmail.com> References: <52767F38.8070202@gmail.com> Message-ID: <52768F6B.3070401@hyperactivesw.com> On 11/3/13 10:52 AM, Richmond wrote: > The title really says it all. > > LC 6.0.0 went through 5 developer previews and 7 release candidates. > > LC 6.0.1 went through NO developer previews and 1 release candidate. > > LC 6.0.2 went through NO developer previews and 1 release candidate. > > LC 6.1.0 went through 2 developer previews and 3 release candidates. > > LC 6.1.1 went through NO developer previews and 6 release candidates. > > LC 6.1.2 went through NO developer previews and 3 release candidates. > > LC 6.1.3 to date has NO developer previews and 1 release candidate. > > LC 6.5.0 to date has 2 developer previews and 1 release candidate. > > So, what with all the "funny numbers" after the 6, the developer > previews and their numbers, > and the release Candidates and their numbers. Increases in the third number position are minor bug fix releases with no new features or major changes. If they've proved stable in-house, they are apt to go directly to release candidate for final testing. Changes to the second-postion number indicate more significant changes and/or feature additions. They need to go through more testing and are usually first released as developer previews. Changes to first-position numbers are significant rewrites with lots of major changes and additions. They go through lots of releases in both previews and release candidates. RR has spelled this out before but I can't remember where. I suspect that 6.5 had fewer developer previews than usual because they received fewer bug reports on it. That's just an assumption on my part, based on my own experience, because I didn't even download a version of 6.5 until yesterday; I didn't have time to test and it wasn't ready for real work yet. (And I haven't found anything significantly wrong since last night either, but who knows.) > ------------------ > > I am sure that will get the expected sententious answer to this message > from one of RunRev's > uncritical cheer-leaders, and it will just trot out the official line. I suppose that's me, quoting the "official line", but it seems sensible. It's how most software versioning and release cycles work. In fact, I'm not sure exactly what your complaint is; the system is normal operating procedure. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mpetrides at earthlink.net Sun Nov 3 13:13:42 2013 From: mpetrides at earthlink.net (Marian Petrides, MD) Date: Sun, 3 Nov 2013 12:13:42 -0600 Subject: Misunderstanding developer previews versus release candidates In-Reply-To: <52768F6B.3070401@hyperactivesw.com> References: <52767F38.8070202@gmail.com> <52768F6B.3070401@hyperactivesw.com> Message-ID: <06C12A2B-493F-4B8A-8D35-5947CBFA34BE@earthlink.net> Jacque observed: >>>>> I didn't even download a version of 6.5 until yesterday; I didn't have time to test and it wasn't ready for real work yet. <<<<< And I think that says it all. If you don't have the time (or patience) to beta test, then wait for the release version. Trying to read much more than has been officially stated into pre-release version numbers is unlikely to be a fruitful venture. From roger.e.eller at sealedair.com Sun Nov 3 13:23:07 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Sun, 3 Nov 2013 13:23:07 -0500 Subject: Misunderstanding developer previews versus release candidates In-Reply-To: <52768F6B.3070401@hyperactivesw.com> References: <52767F38.8070202@gmail.com> <52768F6B.3070401@hyperactivesw.com> Message-ID: On Nov 3, 2013 1:01 PM, "J. Landman Gay" wrote: > > If they've proved stable in-house, they are apt to go directly to release candidate for final testing. > Speaking of apt, I wonder if the Linux version of LC Community will ever become accessible via apt-get, as are most Linux software. > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com ~Roger From richmondmathewson at gmail.com Sun Nov 3 13:34:17 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 03 Nov 2013 20:34:17 +0200 Subject: Misunderstanding developer previews versus release candidates In-Reply-To: <52768F6B.3070401@hyperactivesw.com> References: <52767F38.8070202@gmail.com> <52768F6B.3070401@hyperactivesw.com> Message-ID: <52769729.4040504@gmail.com> On 3.11.2013 20:01, J. Landman Gay wrote: > On 11/3/13 10:52 AM, Richmond wrote: >> The title really says it all. >> >> LC 6.0.0 went through 5 developer previews and 7 release candidates. >> >> LC 6.0.1 went through NO developer previews and 1 release candidate. >> >> LC 6.0.2 went through NO developer previews and 1 release candidate. >> >> LC 6.1.0 went through 2 developer previews and 3 release candidates. >> >> LC 6.1.1 went through NO developer previews and 6 release candidates. >> >> LC 6.1.2 went through NO developer previews and 3 release candidates. >> >> LC 6.1.3 to date has NO developer previews and 1 release candidate. >> >> LC 6.5.0 to date has 2 developer previews and 1 release candidate. >> >> So, what with all the "funny numbers" after the 6, the developer >> previews and their numbers, >> and the release Candidates and their numbers. > > Increases in the third number position are minor bug fix releases with > no new features or major changes. If they've proved stable in-house, > they are apt to go directly to release candidate for final testing. > > Changes to the second-postion number indicate more significant changes > and/or feature additions. They need to go through more testing and are > usually first released as developer previews. > > Changes to first-position numbers are significant rewrites with lots > of major changes and additions. They go through lots of releases in > both previews and release candidates. > > RR has spelled this out before but I can't remember where. I suspect > that 6.5 had fewer developer previews than usual because they received > fewer bug reports on it. That's just an assumption on my part, based > on my own experience, because I didn't even download a version of 6.5 > until yesterday; I didn't have time to test and it wasn't ready for > real work yet. (And I haven't found anything significantly wrong since > last night either, but who knows.) > >> ------------------ >> >> I am sure that will get the expected sententious answer to this message >> from one of RunRev's >> uncritical cheer-leaders, and it will just trot out the official line. > > I suppose that's me, quoting the "official line", but it seems > sensible. It's how most software versioning and release cycles work. > In fact, I'm not sure exactly what your complaint is; the system is > normal operating procedure. > Somehow, Jacqueline, I find it hard to describe you as 'sententious'. From richmondmathewson at gmail.com Sun Nov 3 13:36:15 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 03 Nov 2013 20:36:15 +0200 Subject: Misunderstanding developer previews versus release candidates In-Reply-To: References: <52767F38.8070202@gmail.com> <52768F6B.3070401@hyperactivesw.com> Message-ID: <5276979F.4050100@gmail.com> On 3.11.2013 20:23, Roger Eller wrote: > On Nov 3, 2013 1:01 PM, "J. Landman Gay" wrote: >> If they've proved stable in-house, they are apt to go directly to release > candidate for final testing. > Speaking of apt, I wonder if the Linux version of LC Community will ever > become accessible via apt-get, as are most Linux software. > Surely that should read: "as IS most Linux software" 'software' being (last time I looked) both an uncountable and a mass noun. Richmond. >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com > ~Roger > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mwieder at ahsoftware.net Sun Nov 3 13:35:41 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 3 Nov 2013 10:35:41 -0800 Subject: Misunderstanding developer previews versus release candidates In-Reply-To: <52767F38.8070202@gmail.com> References: <52767F38.8070202@gmail.com> Message-ID: <4364196430.20131103103541@ahsoftware.net> Richmond- Sunday, November 3, 2013, 8:52:08 AM, you wrote: > The title really says it all. Looks to me like you're probably basing this on the files stored at downloads.YouKnowWhat.com. Rest assured that there have been dp releases for each of these. They haven't always been announced on this list. -- -Mark Wieder ahsoftware at gmail.com From roger.e.eller at sealedair.com Sun Nov 3 13:41:11 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Sun, 3 Nov 2013 13:41:11 -0500 Subject: Misunderstanding developer previews versus release candidates In-Reply-To: <5276979F.4050100@gmail.com> References: <52767F38.8070202@gmail.com> <52768F6B.3070401@hyperactivesw.com> <5276979F.4050100@gmail.com> Message-ID: Oh Richmond! I meant to say "software titles". ;-p On Nov 3, 2013 1:36 PM, "Richmond" wrote: > On 3.11.2013 20:23, Roger Eller wrote: > >> On Nov 3, 2013 1:01 PM, "J. Landman Gay" wrote: >> >>> If they've proved stable in-house, they are apt to go directly to release >>> >> candidate for final testing. >> Speaking of apt, I wonder if the Linux version of LC Community will ever >> become accessible via apt-get, as are most Linux software. >> >> > Surely that should read: > > "as IS most Linux software" > > 'software' being (last time I looked) both an uncountable and a mass noun. > > Richmond. > > -- >>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>> HyperActive Software | http://www.hyperactivesw.com >>> >> ~Roger >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From richmondmathewson at gmail.com Sun Nov 3 13:46:57 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 03 Nov 2013 20:46:57 +0200 Subject: Misunderstanding developer previews versus release candidates In-Reply-To: <4364196430.20131103103541@ahsoftware.net> References: <52767F38.8070202@gmail.com> <4364196430.20131103103541@ahsoftware.net> Message-ID: <52769A21.9080004@gmail.com> On 3.11.2013 20:35, Mark Wieder wrote: > Richmond- > > Sunday, November 3, 2013, 8:52:08 AM, you wrote: > >> The title really says it all. > Looks to me like you're probably basing this on the files stored at > downloads.YouKnowWhat.com. Rest assured that there have been dp > releases for each of these. Yeah, well, I (like you :/) have nothing better to do than check the download site every the minutes through the day for random dp releases that are later pulled. > They haven't always been announced on this > list. > Well, as you should know; I was the one who "shouted too soon" as I caught a 'bastard' 6.5.0 dp2 "on the hop". Whatever, I do feel that all those funnt numbers, plus the dp and rc stuff is largely nonsense; especially as there are people on the use-list who are finding significant steps backward with functionality in recent versions. This is NOT an attempt by me to rubbish RunRev's numbering scheme, it is an attempt to get some answers as to whether they really make sense or are relatively random. On the Roadmap web page there is mention of nightly builds; maybe they exist, but, if they do, they are not accessible to those of us who have the time and inclination to try and crash them; which, is the whole point of Beta testing. The word 'Community' is polysemantic; but, notwithstanding that, there is some sort of a Livecode developer community, and at least some of them are willing to help, but without nightly builds that isn't that easy. Richmond. From jacque at hyperactivesw.com Sun Nov 3 14:03:12 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 03 Nov 2013 13:03:12 -0600 Subject: Misunderstanding developer previews versus release candidates In-Reply-To: <52769729.4040504@gmail.com> References: <52767F38.8070202@gmail.com> <52768F6B.3070401@hyperactivesw.com> <52769729.4040504@gmail.com> Message-ID: <52769DF0.8020502@hyperactivesw.com> On 11/3/13 12:34 PM, Richmond wrote: > Somehow, Jacqueline, I find it hard to describe you as 'sententious'. Maybe that's because I've seen you in a kilt and didn't criticize your socks. :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From richmondmathewson at gmail.com Sun Nov 3 14:05:24 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 03 Nov 2013 21:05:24 +0200 Subject: Misunderstanding developer previews versus release candidates In-Reply-To: References: <52767F38.8070202@gmail.com> <52768F6B.3070401@hyperactivesw.com> <5276979F.4050100@gmail.com> Message-ID: <52769E74.5080907@gmail.com> On 3.11.2013 20:41, Roger Eller wrote: > Oh Richmond! I meant to say "software titles". ;-p No worries: red wine! > On Nov 3, 2013 1:36 PM, "Richmond" wrote: > >> On 3.11.2013 20:23, Roger Eller wrote: >> >>> On Nov 3, 2013 1:01 PM, "J. Landman Gay" wrote: >>> >>>> If they've proved stable in-house, they are apt to go directly to release >>>> >>> candidate for final testing. >>> Speaking of apt, I wonder if the Linux version of LC Community will ever >>> become accessible via apt-get, as are most Linux software. >>> >>> >> Surely that should read: >> >> "as IS most Linux software" >> >> 'software' being (last time I looked) both an uncountable and a mass noun. >> >> Richmond. >> >> -- >>>> Jacqueline Landman Gay | jacque at hyperactivesw.com >>>> HyperActive Software | http://www.hyperactivesw.com >>>> >>> ~Roger >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Sun Nov 3 14:08:42 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 03 Nov 2013 21:08:42 +0200 Subject: Misunderstanding developer previews versus release candidates In-Reply-To: <52769DF0.8020502@hyperactivesw.com> References: <52767F38.8070202@gmail.com> <52768F6B.3070401@hyperactivesw.com> <52769729.4040504@gmail.com> <52769DF0.8020502@hyperactivesw.com> Message-ID: <52769F3A.1090607@gmail.com> On 3.11.2013 21:03, J. Landman Gay wrote: > On 11/3/13 12:34 PM, Richmond wrote: > >> Somehow, Jacqueline, I find it hard to describe you as 'sententious'. > > Maybe that's because I've seen you in a kilt and didn't criticize your > socks. :) > If you had known the truth about 'those' socks you would have been incredibly offensive. When I had to hop on the plane to Edinburgh I found only one pair of kilt socks here in Bulgaria, and they had holes 'below the water-line'; and those are the socks I wore at the conference. Even more depressing; about a year ago I got my kilt out of the cupboard to find that moths had eaten a good 75% of it; so it went in the bin. I am now that most terrible and terrifying of creatures: a kilt-less Scot. Richmond. From jacque at hyperactivesw.com Sun Nov 3 14:08:54 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 03 Nov 2013 13:08:54 -0600 Subject: Misunderstanding developer previews versus release candidates In-Reply-To: <52769A21.9080004@gmail.com> References: <52767F38.8070202@gmail.com> <4364196430.20131103103541@ahsoftware.net> <52769A21.9080004@gmail.com> Message-ID: <52769F46.4060001@hyperactivesw.com> On 11/3/13 12:46 PM, Richmond wrote: > Whatever, I do feel that all those funnt numbers, plus the dp and rc > stuff is largely nonsense; I think Bulgarian is largely nonsense too, but that's only because I don't speak it. There really is a system to the numbering scheme. > This is NOT an attempt by me to rubbish RunRev's numbering scheme, it is > an attempt to get some answers as to whether they really make sense or > are relatively random. They're orderly and meaningful. The numbering sequence tells you the type and scope of the release, how stable it is thought to be, and whether it is a final, public release. > On the Roadmap web page there is mention of nightly builds; maybe they > exist, but, if they do, they are not accessible to those of us who have > the time and inclination to try and crash them; which, is the whole point > of Beta testing. It's my understanding (which could be wrong) that nightly builds refer to the source code, not the compiled apps. I don't think they really are nightly but they happen more often than the ones peons like us can access. So dig into git and compile away. :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From richmondmathewson at gmail.com Sun Nov 3 14:12:17 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 03 Nov 2013 21:12:17 +0200 Subject: Misunderstanding developer previews versus release candidates In-Reply-To: <52769F46.4060001@hyperactivesw.com> References: <52767F38.8070202@gmail.com> <4364196430.20131103103541@ahsoftware.net> <52769A21.9080004@gmail.com> <52769F46.4060001@hyperactivesw.com> Message-ID: <5276A011.2050400@gmail.com> On 3.11.2013 21:08, J. Landman Gay wrote: > > > It's my understanding (which could be wrong) that nightly builds refer > to the source code, not the compiled apps. I don't think they really > are nightly but they happen more often than the ones peons like us can > access. So dig into git and compile away. :) > How do I access the GIT repository so I can complile those builds? Richmond. From richmondmathewson at gmail.com Sun Nov 3 14:27:34 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 03 Nov 2013 21:27:34 +0200 Subject: RunRev: GIT repository of code. Message-ID: <5276A3A6.1020301@gmail.com> Bl**dy Richmond has to do the advertising again, as RunRev have been hiding their light under bushels: https://github.com/runrev Richmond. From richmondmathewson at gmail.com Sun Nov 3 14:31:12 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 03 Nov 2013 21:31:12 +0200 Subject: Livecode on Linux Message-ID: <5276A480.8080707@gmail.com> https://github.com/runrev/livecode "Our 'production' system is Ubuntu 6.06" isn't that just a tad out of date? In my school I don't have any Ubuntu systems running released before 2007 as I find that LC community doesn't behave very well on them. Richmond. From monte at sweattechnologies.com Sun Nov 3 14:32:27 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon, 4 Nov 2013 06:32:27 +1100 Subject: RunRev: GIT repository of code. In-Reply-To: <5276A3A6.1020301@gmail.com> References: <5276A3A6.1020301@gmail.com> Message-ID: <3A8AFAEE-DF08-4691-99BB-3FA802B6622F@sweattechnologies.com> On 04/11/2013, at 6:27 AM, Richmond wrote: > Bl**dy Richmond has to do the advertising again, as RunRev have been > hiding their light under bushels: > > https://github.com/runrev Er, unless there's been a 6 month delay in this post getting through you might have missed this http://livecode.com/community/contribute-to-livecode/ ;-) And yeah, it was announced in quite a few places when it was first pushed (early April)... Cheers -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From ambassador at fourthworld.com Sun Nov 3 14:32:37 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 03 Nov 2013 11:32:37 -0800 Subject: Misunderstanding developer previews versus release candidates In-Reply-To: <52768F6B.3070401@hyperactivesw.com> References: <52768F6B.3070401@hyperactivesw.com> Message-ID: <5276A4D5.5020401@fourthworld.com> Version numbers are communicative learning tools for developers and testers alike. When a company finds itself with more RCs than DPs, clearly they've become too optimistic and should anticipate lengthening the DP series in the next round. And any time a company finds itself with two different versions both in RC at the same time, a certain cool-headed control of the process has been lost and it's time to adjust expectations on at least one of those tracks. If designations like "RC" and "DP" are used interchangeably, we create a world in which words have no meaning, and the value we might otherwise enjoy from clear communication becomes unnecessarily lost. -- Richard Gaskin Fourth World Systems Software Design and Development for Desktop, Mobile, and Web ____________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From richmondmathewson at gmail.com Sun Nov 3 14:34:38 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 03 Nov 2013 21:34:38 +0200 Subject: RunRev: GIT repository of code. In-Reply-To: <3A8AFAEE-DF08-4691-99BB-3FA802B6622F@sweattechnologies.com> References: <5276A3A6.1020301@gmail.com> <3A8AFAEE-DF08-4691-99BB-3FA802B6622F@sweattechnologies.com> Message-ID: <5276A54E.1000307@gmail.com> On 3.11.2013 21:32, Monte Goulding wrote: > On 04/11/2013, at 6:27 AM, Richmond wrote: > >> Bl**dy Richmond has to do the advertising again, as RunRev have been >> hiding their light under bushels: >> >> https://github.com/runrev > Er, unless there's been a 6 month delay in this post getting through you might have missed this http://livecode.com/community/contribute-to-livecode/ ;-) > > And yeah, it was announced in quite a few places when it was first pushed (early April)... > > Cheers > > -- > Monte Goulding > > M E R Goulding - software development services > mergExt - There's an external for that! > > > Don't worry, Monte, I am an expert at missing things! However, it might behoove RunReb to have a permanent link on their web-page so that late-comers can find their way there. Richmond. From monte at sweattechnologies.com Sun Nov 3 14:37:34 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon, 4 Nov 2013 06:37:34 +1100 Subject: RunRev: GIT repository of code. In-Reply-To: <5276A54E.1000307@gmail.com> References: <5276A3A6.1020301@gmail.com> <3A8AFAEE-DF08-4691-99BB-3FA802B6622F@sweattechnologies.com> <5276A54E.1000307@gmail.com> Message-ID: On 04/11/2013, at 6:34 AM, Richmond wrote: > However, it might behoove RunReb to have a permanent link on their web-page so > that late-comers can find their way there. Didn't I just post you a page with exactly that? It's only two clicks off the site index and there's big buttons to get there... Here it is again: http://livecode.com/community/contribute-to-livecode/ Cheers -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From monte at sweattechnologies.com Sun Nov 3 14:40:31 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon, 4 Nov 2013 06:40:31 +1100 Subject: Livecode on Linux In-Reply-To: <5276A480.8080707@gmail.com> References: <5276A480.8080707@gmail.com> Message-ID: <251970D3-9D89-4227-819B-7F9D90BE3BC1@sweattechnologies.com> On 04/11/2013, at 6:31 AM, Richmond wrote: > "Our 'production' system is Ubuntu 6.06" > > isn't that just a tad out of date? > > In my school I don't have any Ubuntu systems running released before 2007 as I find > that LC community doesn't behave very well on them. Lol... aren't you the one always installing LC on ancient Macs? I believe it's a lowest common denominator thing and using an old version like that allows the Linux version to cover more distros and releases. Cheers -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From jacque at hyperactivesw.com Sun Nov 3 14:40:54 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 03 Nov 2013 13:40:54 -0600 Subject: Misunderstanding developer previews versus release candidates In-Reply-To: <5276A4D5.5020401@fourthworld.com> References: <52768F6B.3070401@hyperactivesw.com> <5276A4D5.5020401@fourthworld.com> Message-ID: <5276A6C6.5050005@hyperactivesw.com> On 11/3/13 1:32 PM, Richard Gaskin wrote: > And any time a company finds itself with two different versions both in > RC at the same time, a certain cool-headed control of the process has > been lost and it's time to adjust expectations on at least one of those > tracks. How would you manage versioning in two parallel tracks then? I figured the 6.1.x versions were bug fixes to tide us over until 6.5 is ready. The 6.5 release is the big one. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From richmondmathewson at gmail.com Sun Nov 3 14:42:28 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 03 Nov 2013 21:42:28 +0200 Subject: RunRev: GIT repository of code. In-Reply-To: References: <5276A3A6.1020301@gmail.com> <3A8AFAEE-DF08-4691-99BB-3FA802B6622F@sweattechnologies.com> <5276A54E.1000307@gmail.com> Message-ID: <5276A724.1090004@gmail.com> On 3.11.2013 21:37, Monte Goulding wrote: > On 04/11/2013, at 6:34 AM, Richmond wrote: > >> However, it might behoove RunReb to have a permanent link on their web-page so >> that late-comers can find their way there. > Didn't I just post you a page with exactly that? It's only two clicks off the site index and there's big buttons to get there... > > Here it is again: > http://livecode.com/community/contribute-to-livecode/ > > Cheers > > -- > Monte Goulding > > I am not as stupid as I may appear. You did, indeed, post me a page which is "only two clicks off the site index", bit, is, nevertheless, difficult to find. The problem may lie with whoever designed RunRev's website. Richmond. From monte at sweattechnologies.com Sun Nov 3 14:49:28 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon, 4 Nov 2013 06:49:28 +1100 Subject: RunRev: GIT repository of code. In-Reply-To: <5276A724.1090004@gmail.com> References: <5276A3A6.1020301@gmail.com> <3A8AFAEE-DF08-4691-99BB-3FA802B6622F@sweattechnologies.com> <5276A54E.1000307@gmail.com> <5276A724.1090004@gmail.com> Message-ID: <387F919F-B8EA-46C4-B17D-02321B92B27F@sweattechnologies.com> On 04/11/2013, at 6:42 AM, Richmond wrote: > You did, indeed, post me a page which is "only two clicks off the site index", bit, is, nevertheless, > difficult to find. There's quite a bit of content on livecode.com so you can't have everything on the index. While the repo is interesting it's not really critical info for the majority of LC users. Only really for contributors so having the info where it is does work for the people that need it. Cheers -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From ambassador at fourthworld.com Sun Nov 3 14:49:48 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sun, 03 Nov 2013 11:49:48 -0800 Subject: Misunderstanding developer previews versus release candidates,> J. Landman Gay jacque at hyperactivesw.com Message-ID: <5276A8DC.1010502@fourthworld.com> J. Landman Gay wrote: > On 11/3/13 1:32 PM, Richard Gaskin wrote: > >> And any time a company finds itself with two different versions both in >> RC at the same time, a certain cool-headed control of the process has >> been lost and it's time to adjust expectations on at least one of those >> tracks. > > How would you manage versioning in two parallel tracks then? Just don't call them both "RC". Reserve "RC" for things that are actually and very literally a "Release Candidate". Anything known to be unfit for release doesn't merit "RC". > I figured the 6.1.x versions were bug fixes to tide us over until 6.5 is > ready. The 6.5 release is the big one. Excellent example: everyone expects 6.5 to be at this time much farther from completion than 6.1.3, suggesting that it's really a "DP", very far indeed from being anyone's idea of a candidate for release. -- Richard Gaskin Fourth World Systems Software Design and Development for Desktop, Mobile, and Web ____________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From richmondmathewson at gmail.com Sun Nov 3 14:50:35 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 03 Nov 2013 21:50:35 +0200 Subject: Livecode on Linux In-Reply-To: <251970D3-9D89-4227-819B-7F9D90BE3BC1@sweattechnologies.com> References: <5276A480.8080707@gmail.com> <251970D3-9D89-4227-819B-7F9D90BE3BC1@sweattechnologies.com> Message-ID: <5276A90B.8090506@gmail.com> On 3.11.2013 21:40, Monte Goulding wrote: > On 04/11/2013, at 6:31 AM, Richmond wrote: > >> "Our 'production' system is Ubuntu 6.06" >> >> isn't that just a tad out of date? >> >> In my school I don't have any Ubuntu systems running released before 2007 as I find >> that LC community doesn't behave very well on them. > Lol... aren't you the one always installing LC on ancient Macs? I believe it's a lowest common denominator thing and using an old version like that allows the Linux version to cover more distros and releases. Yes; you are right about my running LC on ancient Macs (although at 13 years my oldest Mac I actually use [G3 iMac] is significantly less ancient than I am at 51]). That does not stop the fact that I recently had to 'upgrade' most of the Pentium 4 machines in my school to Edubuntu 7.04 for the simple reason that with earlier recensions on Ubuntu Livecode 6.1 was "going all funny" and not loading properly. Richmond. > Cheers > > -- > Monte Goulding > > M E R Goulding - software development services > mergExt - There's an external for that! > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Sun Nov 3 14:52:57 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 03 Nov 2013 21:52:57 +0200 Subject: Misunderstanding developer previews versus release candidates,> J. Landman Gay jacque at hyperactivesw.com In-Reply-To: <5276A8DC.1010502@fourthworld.com> References: <5276A8DC.1010502@fourthworld.com> Message-ID: <5276A999.9030400@gmail.com> On 3.11.2013 21:49, Richard Gaskin wrote: > J. Landman Gay wrote: >> On 11/3/13 1:32 PM, Richard Gaskin wrote: >> >>> And any time a company finds itself with two different versions both in >>> RC at the same time, a certain cool-headed control of the process has >>> been lost and it's time to adjust expectations on at least one of those >>> tracks. >> >> How would you manage versioning in two parallel tracks then? > > Just don't call them both "RC". > > Reserve "RC" for things that are actually and very literally a > "Release Candidate". > > Anything known to be unfit for release doesn't merit "RC". > >> I figured the 6.1.x versions were bug fixes to tide us over until 6.5 is >> ready. The 6.5 release is the big one. > > Excellent example: everyone expects 6.5 to be at this time much > farther from completion than 6.1.3, suggesting that it's really a > "DP", very far indeed from being anyone's idea of a candidate for > release. > Now that begins to make sense: The thing that really threw me was the rc-1 release of 6.5.0; at which point I began to wonder what the point of a 6.1.3 version was. Richmond. From john at onechip.com Sun Nov 3 15:05:34 2013 From: john at onechip.com (John) Date: Sun, 3 Nov 2013 12:05:34 -0800 Subject: Full screen in Mavericks (10.9) Message-ID: When I use the green jewel to expand an app to full screen in Mavericks it works fine on the main monitor but, on a second monitor, it expands the window so that it?s title bar is underneath the menu bar on the second monitor. When that happens you can?t move the window. Other than checking for which monitor the app is on and resizing the app window after it expanded too far, does anyone have a more elegant workaround? Thanks, John From john at onechip.com Sun Nov 3 15:21:23 2013 From: john at onechip.com (John) Date: Sun, 3 Nov 2013 12:21:23 -0800 Subject: Full screen in Mavericks (10.9) In-Reply-To: References: Message-ID: Submitted as bug 11380. http://quality.runrev.com/show_bug.cgi?id=11380 Thanks, John On Nov 3, 2013, at 12:05 PM, John wrote: > When I use the green jewel to expand an app to full screen in Mavericks it works fine on the main monitor but, on a second monitor, it expands the window so that it?s title bar is underneath the menu bar on the second monitor. When that happens you can?t move the window. Other than checking for which monitor the app is on and resizing the app window after it expanded too far, does anyone have a more elegant workaround? > > Thanks, > John > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From monte at sweattechnologies.com Sun Nov 3 15:27:49 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon, 4 Nov 2013 07:27:49 +1100 Subject: Full screen in Mavericks (10.9) In-Reply-To: References: Message-ID: <9FEFE190-845D-4F81-9ED8-D3CE7D5F1B86@sweattechnologies.com> On 04/11/2013, at 7:05 AM, John wrote: > When I use the green jewel to expand an app to full screen in Mavericks it works fine on the main monitor but, on a second monitor, it expands the window so that it?s title bar is underneath the menu bar on the second monitor. When that happens you can?t move the window. Other than checking for which monitor the app is on and resizing the app window after it expanded too far, does anyone have a more elegant workaround? Ah... we probably need to extend windowBoundingRect to windowBoundingRects... -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From harrison at all-auctions.com Sun Nov 3 16:23:22 2013 From: harrison at all-auctions.com (Rick Harrison) Date: Sun, 3 Nov 2013 16:23:22 -0500 Subject: Setting Colors for Graphic Objects In-Reply-To: <5276A480.8080707@gmail.com> References: <5276A480.8080707@gmail.com> Message-ID: <07AB6FC4-3647-4353-9501-588068414975@all-auctions.com> Hi there, I have a white filled oval graphic that I?m trying to change to black. set the backgroundColor of graphic "OvalTest" of this card to "#000000" set the foregroundColor of graphic "OvalTest" of this card to "#000000" wait 1 second hide graphic "OvalTest" of this card wait 1 second show graphic "OvalTest" of this card When I go into the ?Colors and Patterns? for this graphic it shows they were set to black, yet the graphic object still appears to be white! What is going on here? Is this a bug? Let me know what you get if you try this. Thanks, Rick From gregory.lypny at videotron.ca Sun Nov 3 16:54:32 2013 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Sun, 03 Nov 2013 16:54:32 -0500 Subject: LiveCode Server Installation In-Reply-To: References: Message-ID: <01C80365-C294-438C-AC82-04BAD72E4749@videotron.ca> Hi Mac, No, just using the whatever version of Apache is built in. Gregory On Sun, Nov 3, 2013, at 2:50 PM, Mac Bennett wrote: > Did you buy the "OS X Server" app? From mwieder at ahsoftware.net Sun Nov 3 16:58:11 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 3 Nov 2013 13:58:11 -0800 Subject: Misunderstanding developer previews versus release candidates, > J. Landman Gay jacque at hyperactivesw.com In-Reply-To: <5276A999.9030400@gmail.com> References: <5276A8DC.1010502@fourthworld.com> <5276A999.9030400@gmail.com> Message-ID: <976346123.20131103135811@ahsoftware.net> Richmond- Sunday, November 3, 2013, 11:52:57 AM, you wrote: > The thing that really threw me was the rc-1 release of 6.5.0; at which > point I began to wonder what the point > of a 6.1.3 version was. Yes, I believe we're all in that same boat. I'm sure at the time someone thought this was a good idea. -- -Mark Wieder ahsoftware at gmail.com From dunbarx at aol.com Sun Nov 3 17:59:37 2013 From: dunbarx at aol.com (dunbarx at aol.com) Date: Sun, 3 Nov 2013 17:59:37 -0500 (EST) Subject: Setting Colors for Graphic Objects In-Reply-To: <07AB6FC4-3647-4353-9501-588068414975@all-auctions.com> References: <5276A480.8080707@gmail.com> <07AB6FC4-3647-4353-9501-588068414975@all-auctions.com> Message-ID: <8D0A6FF80D35164-19AC-40FAF@webmail-m250.sysops.aol.com> Hi. Have you set the "opaque" property to "true"? The default is "false" Craig Newman set the backgroundColor of graphic "OvalTest" of this card to "#000000" set the foregroundColor of graphic "OvalTest" of this card to "#000000" wait 1 second hide graphic "OvalTest" of this card wait 1 second show graphic "OvalTest" of this card -----Original Message----- From: Rick Harrison To: How to use LiveCode Sent: Sun, Nov 3, 2013 4:24 pm Subject: Setting Colors for Graphic Objects Hi there, I have a white filled oval graphic that I?m trying to change to black. set the backgroundColor of graphic "OvalTest" of this card to "#000000" set the foregroundColor of graphic "OvalTest" of this card to "#000000" wait 1 second hide graphic "OvalTest" of this card wait 1 second show graphic "OvalTest" of this card When I go into the ?Colors and Patterns? for this graphic it shows they were set to black, yet the graphic object still appears to be white! What is going on here? Is this a bug? Let me know what you get if you try this. Thanks, Rick _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Sun Nov 3 18:00:52 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 03 Nov 2013 17:00:52 -0600 Subject: Setting Colors for Graphic Objects In-Reply-To: <07AB6FC4-3647-4353-9501-588068414975@all-auctions.com> References: <5276A480.8080707@gmail.com> <07AB6FC4-3647-4353-9501-588068414975@all-auctions.com> Message-ID: <5276D5A4.7070809@hyperactivesw.com> On 11/3/13 3:23 PM, Rick Harrison wrote: > When I go into the ?Colors and Patterns? for this graphic > it shows they were set to black, yet the graphic object still appears to be white! Is the graphic opaque? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From harrison at all-auctions.com Sun Nov 3 18:31:20 2013 From: harrison at all-auctions.com (Rick Harrison) Date: Sun, 3 Nov 2013 18:31:20 -0500 Subject: Setting Colors for Graphic Objects In-Reply-To: <5276D5A4.7070809@hyperactivesw.com> References: <5276A480.8080707@gmail.com> <07AB6FC4-3647-4353-9501-588068414975@all-auctions.com> <5276D5A4.7070809@hyperactivesw.com> Message-ID: <13DF599A-583C-47A0-9F95-31014F52423A@all-auctions.com> Hi Craig and Jaque, Thanks, that was the problem. I thought I had done that already but apparently not. At least it was an easy fix thanks to you! Cheers, Rick On Nov 3, 2013, at 6:00 PM, J. Landman Gay wrote: > On 11/3/13 3:23 PM, Rick Harrison wrote: > >> When I go into the ?Colors and Patterns? for this graphic >> it shows they were set to black, yet the graphic object still appears to be white! > > Is the graphic opaque? > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dochawk at gmail.com Sun Nov 3 20:29:51 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Sun, 3 Nov 2013 17:29:51 -0800 Subject: Misunderstanding developer previews versus release candidates In-Reply-To: <52767F38.8070202@gmail.com> References: <52767F38.8070202@gmail.com> Message-ID: On Sun, Nov 3, 2013 at 8:52 AM, Richmond wrote: > I really wonder if those "funny numbers", the 'dp' and 'rc' suffixes > (beyond marking some sort of sequentiality - which seems broken re 6.1.3 > and 6.5.0) are any guide at all to such things as stability, usability and > so on. Looks like a fairly typical pattern. Developer previews when new features are being added, while the features are still experimental. This is the notion of an "alpha" release: it runs, but is likely to bomb out on you, or do weird things, or set the building on fire. But you can see what it does. Beta releases are feature complete/feature locked, and the known bugs are out, but more are expected, and they need these tested. These are often called Release Candidates these days. And then there's the actual release, followed by point releases fixing things (e.g., 6.0.x), or adding minor things (6.1.x). I've never really understood the x.5.y releases rather than x.1.0 . . . That said, LiveCode's releases are, quality/bug wise, more like most people would call beta.. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dochawk at gmail.com Sun Nov 3 20:42:20 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Sun, 3 Nov 2013 17:42:20 -0800 Subject: Misunderstanding developer previews versus release candidates,> J. Landman Gay jacque at hyperactivesw.com In-Reply-To: <5276A999.9030400@gmail.com> References: <5276A8DC.1010502@fourthworld.com> <5276A999.9030400@gmail.com> Message-ID: On Sun, Nov 3, 2013 at 11:52 AM, Richmond wrote: > > The thing that really threw me was the rc-1 release of 6.5.0; at which > point I began to wonder what the point > of a 6.1.3 version was. It's 6.0 and 6.1 that I don't understand existing . . . :) On a sane release pattern, you still issue the bug fixes, security patches, and hardware updates for the prior version--so there should still be one or two 5.5.x releases coming. Once 6.1 is finally stable, only security patches would go to 5.5. For many things, when the cutting edge doesn't matter, staying a version behind makes a lot of sense, especially if you don't need something from the new one. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From roger.e.eller at sealedair.com Sun Nov 3 20:55:56 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Sun, 3 Nov 2013 20:55:56 -0500 Subject: Misunderstanding developer previews versus release candidates Message-ID: On Nov 3, 2013 8:42 PM, "Dr. Hawkins" wrote: > > On Sun, Nov 3, 2013 at 11:52 AM, Richmond wrote: > > > The thing that really threw me was the rc-1 release of 6.5.0; at which > > point I began to wonder what the point > > of a 6.1.3 version was. > > Once 6.1 is finally stable, only security patches would go to 5.5. > Hmm... I don't think I can remember ever seeing security patches, or vulnerabilities mentioned in LiveCode updates. I guess now that the public awareness of LC has begun to increase, we will see such worrisome events in our world too, just as we do with Java, and others. > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 ~Roger From jbv at souslelogo.com Mon Nov 4 06:47:34 2013 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Mon, 4 Nov 2013 13:47:34 +0200 Subject: Mac OS 10.7.5 + LC 4.5.3 + standalone question In-Reply-To: <13DF599A-583C-47A0-9F95-31014F52423A@all-auctions.com> References: <5276A480.8080707@gmail.com> <07AB6FC4-3647-4353-9501-588068414975@all-auctions.com> <5276D5A4.7070809@hyperactivesw.com> <13DF599A-583C-47A0-9F95-31014F52423A@all-auctions.com> Message-ID: <275d37c4530c1fb6f53f16084337ccce.squirrel@185.8.104.234> Hi list, One of my client is using Mac OS 10.7.5 and from time to time I send him updates for a standalone made with LC 4.5.3 When he was on 10.5.8 everything was fine, but now the standalone won't launch and the icon keeps bouncing in the dock... Furthermore, setting GateKeeper to "anywhere" doesn't help. Any clue ? Thanks, jbv From feed at smpcsupport.com Mon Nov 4 06:50:59 2013 From: feed at smpcsupport.com (LiveCode Feeds) Date: Mon, 04 Nov 2013 22:50:59 +1100 Subject: Making Games with LiveCode Blog? Message-ID: <1383565859.52778a2306ef6@www.server101.com> Hi, I am thinking about starting a regular blog that will focus on making games with LiveCode. If I go ahead, it would be partially just for my own satisfaction. But it will probably be more work than I imagine, and so I am wondering what level of interest there is? If there is lots then I am more likely to try and make it happen. Note, the blog won't be about First Person Shooters, or the next Need For Speed clone as these do not play to the strengths of LiveCode. More like "Indie" style games that keep things simple, to make them achievable. With graphics in 2D, (or 2.5D?) and a retro, classic feel. Hey, some may not use graphics (shock!) and be text based. Are you interested in using LiveCode to make games? I am just thinking about this, so any and all comments will be appreciated. Comments either way, whether "that's interesting", or "you'll be wasting your time" will be welcome and carefully tallied. Scott. -- RunRevPlanet.com Components, Libraries, Tools and Resources for LiveCode http://www.runrevplanet.com/ From endernafi at gmail.com Mon Nov 4 07:54:40 2013 From: endernafi at gmail.com (Ender Nafi Elekcioglu) Date: Mon, 4 Nov 2013 14:54:40 +0200 Subject: Making Games with LiveCode Blog? In-Reply-To: <1383565859.52778a2306ef6@www.server101.com> References: <1383565859.52778a2306ef6@www.server101.com> Message-ID: Scott, *that?s interesting* ;-) No, seriously, I don?t think it?s a waste of time. Casual indie games are a promising play ground. I?m surprised how many projects are coming to my office these days. I even started to think switching to Corona, Marmalade, etc. So, I?d like to see what others achieve with LiveCode. As far as I know, Splash21?s Dog Tales looks promising especially in terms of sprite animations. A dedicated blog would be a valuable source. Best, ~ Ender Nafi From malamoud.public at free.fr Mon Nov 4 09:24:26 2013 From: malamoud.public at free.fr (Georges Malamoud) Date: Mon, 4 Nov 2013 15:24:26 +0100 Subject: Making Games with LiveCode Blog? Message-ID: <52BB2CEE-1640-4FD5-ACD5-98E338A8B706@free.fr> > Are you interested in using LiveCode to make games? > > I am just thinking about this, so any and all comments will be appreciated. > Comments either way, whether "that's interesting", or "you'll be wasting your > time" will be welcome and carefully tallied. Yes I am finishing one (mobile) and yes, it is a promising tool, especially for customizable games ;) From harrison at all-auctions.com Mon Nov 4 09:33:03 2013 From: harrison at all-auctions.com (Rick Harrison) Date: Mon, 4 Nov 2013 09:33:03 -0500 Subject: Making Games with LiveCode Blog? In-Reply-To: <1383565859.52778a2306ef6@www.server101.com> References: <1383565859.52778a2306ef6@www.server101.com> Message-ID: <275974D2-1F2F-4B4A-97F2-CB3E2C7CA3C5@all-auctions.com> Hi Scott, I?m currently working on making a couple of games, so please count me in as a yes! Thanks, Rick On Nov 4, 2013, at 6:50 AM, LiveCode Feeds wrote: > Hi, > > I am thinking about starting a regular blog that will focus on making games with > LiveCode. If I go ahead, it would be partially just for my own satisfaction. > > But it will probably be more work than I imagine, and so I am wondering what > level of interest there is? If there is lots then I am more likely to try and > make it happen. > > Note, the blog won't be about First Person Shooters, or the next Need For Speed > clone as these do not play to the strengths of LiveCode. > > More like "Indie" style games that keep things simple, to make them achievable. > With graphics in 2D, (or 2.5D?) and a retro, classic feel. Hey, some may not use > graphics (shock!) and be text based. > > Are you interested in using LiveCode to make games? > > I am just thinking about this, so any and all comments will be appreciated. > Comments either way, whether "that's interesting", or "you'll be wasting your > time" will be welcome and carefully tallied. > > Scott. > -- > RunRevPlanet.com > Components, Libraries, Tools and Resources for LiveCode > http://www.runrevplanet.com/ > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From harrison at all-auctions.com Mon Nov 4 09:39:01 2013 From: harrison at all-auctions.com (Rick Harrison) Date: Mon, 4 Nov 2013 09:39:01 -0500 Subject: Play Movies in Background Layer? In-Reply-To: <1383565859.52778a2306ef6@www.server101.com> References: <1383565859.52778a2306ef6@www.server101.com> Message-ID: <5519AF42-E062-4C7B-9D35-BA895BBFAC7E@all-auctions.com> Hi there, I?m currently working on a game in which I would like to be able to play a movie in a player which is behind other graphics. Whenever I tell the movie to play, LiveCode automatically brings the player to the top layer, thus defeating my purpose. Can this be done at all? If not are there any work arounds? Thanks, Rick From sundown at pacifier.com Mon Nov 4 09:37:50 2013 From: sundown at pacifier.com (JB) Date: Mon, 4 Nov 2013 06:37:50 -0800 Subject: Making Games with LiveCode Blog? In-Reply-To: <1383565859.52778a2306ef6@www.server101.com> References: <1383565859.52778a2306ef6@www.server101.com> Message-ID: <0926FD60-F748-4CF0-BF6B-D5581E09F601@pacifier.com> I think there is good money potential in indie games and it would be a boost for LiveCode if people are able to make them easy and with the same professional look and feel that others have now. -=>JB<=- On Nov 4, 2013, at 3:50 AM, LiveCode Feeds wrote: > Hi, > > I am thinking about starting a regular blog that will focus on making games with > LiveCode. If I go ahead, it would be partially just for my own satisfaction. > > But it will probably be more work than I imagine, and so I am wondering what > level of interest there is? If there is lots then I am more likely to try and > make it happen. > > Note, the blog won't be about First Person Shooters, or the next Need For Speed > clone as these do not play to the strengths of LiveCode. > > More like "Indie" style games that keep things simple, to make them achievable. > With graphics in 2D, (or 2.5D?) and a retro, classic feel. Hey, some may not use > graphics (shock!) and be text based. > > Are you interested in using LiveCode to make games? > > I am just thinking about this, so any and all comments will be appreciated. > Comments either way, whether "that's interesting", or "you'll be wasting your > time" will be welcome and carefully tallied. > > Scott. > -- > RunRevPlanet.com > Components, Libraries, Tools and Resources for LiveCode > http://www.runrevplanet.com/ > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From toolbook at kestner.de Mon Nov 4 09:52:59 2013 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Mon, 4 Nov 2013 15:52:59 +0100 Subject: AW: Mac OS 10.7.5 + LC 4.5.3 + standalone question In-Reply-To: <275d37c4530c1fb6f53f16084337ccce.squirrel@185.8.104.234> References: <5276A480.8080707@gmail.com> <07AB6FC4-3647-4353-9501-588068414975@all-auctions.com> <5276D5A4.7070809@hyperactivesw.com> <13DF599A-583C-47A0-9F95-31014F52423A@all-auctions.com> <275d37c4530c1fb6f53f16084337ccce.squirrel@185.8.104.234> Message-ID: <008901ced96d$8e6d1820$ab474860$@de> With 10.7 Apple changed some directory permissions "without warning", as e.g for /library/preferences/... I had to switch some paths from there to other destinations to get my program run again under 10.7 and above. Just my 2 cents. Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag > von jbv at souslelogo.com > Gesendet: Montag, 4. November 2013 12:48 > An: How to use LiveCode > Betreff: Mac OS 10.7.5 + LC 4.5.3 + standalone question > > Hi list, > > One of my client is using Mac OS 10.7.5 and from time to time I send him > updates for a standalone made with LC 4.5.3 When he was on 10.5.8 > everything was fine, but now the standalone won't launch and the icon keeps > bouncing in the dock... Furthermore, setting GateKeeper to "anywhere" > doesn't help. > Any clue ? > > Thanks, > jbv > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mpetrides at earthlink.net Mon Nov 4 10:21:25 2013 From: mpetrides at earthlink.net (Marian Petrides MD) Date: Mon, 4 Nov 2013 09:21:25 -0600 Subject: Making Games with LiveCode Blog? In-Reply-To: <0926FD60-F748-4CF0-BF6B-D5581E09F601@pacifier.com> References: <1383565859.52778a2306ef6@www.server101.com> <0926FD60-F748-4CF0-BF6B-D5581E09F601@pacifier.com> Message-ID: <07C35748-C397-4FFD-8D6F-1095F65133C1@earthlink.net> Count me in. I haven?t used LiveCode (or done any programming for that matter) in quite a while. Maybe this will get me off my duff. ;-) If not, it should be interesting reading nonetheless. > On Nov 4, 2013, at 3:50 AM, LiveCode Feeds wrote: > >> Hi, >> >> I am thinking about starting a regular blog that will focus on making games with >> LiveCode. If I go ahead, it would be partially just for my own satisfaction. >> >> But it will probably be more work than I imagine, and so I am wondering what >> level of interest there is? If there is lots then I am more likely to try and >> make it happen. >> >> Note, the blog won't be about First Person Shooters, or the next Need For Speed >> clone as these do not play to the strengths of LiveCode. >> >> More like "Indie" style games that keep things simple, to make them achievable. >> With graphics in 2D, (or 2.5D?) and a retro, classic feel. Hey, some may not use >> graphics (shock!) and be text based. >> >> Are you interested in using LiveCode to make games? >> >> I am just thinking about this, so any and all comments will be appreciated. >> Comments either way, whether "that's interesting", or "you'll be wasting your >> time" will be welcome and carefully tallied. >> >> Scott. >> -- >> RunRevPlanet.com >> Components, Libraries, Tools and Resources for LiveCode >> http://www.runrevplanet.com/ >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From prothero at earthednet.org Mon Nov 4 10:26:17 2013 From: prothero at earthednet.org (Earthednet-wp) Date: Mon, 4 Nov 2013 07:26:17 -0800 Subject: Making Games with LiveCode Blog? In-Reply-To: <07C35748-C397-4FFD-8D6F-1095F65133C1@earthlink.net> References: <1383565859.52778a2306ef6@www.server101.com> <0926FD60-F748-4CF0-BF6B-D5581E09F601@pacifier.com> <07C35748-C397-4FFD-8D6F-1095F65133C1@earthlink.net> Message-ID: <321CBC9E-F1EC-493A-9AC5-EE1BC4CB8E9E@earthednet.org> I'm interested in educational games and simulations. Bill William Prothero http://es.earthednet.org > On Nov 4, 2013, at 7:21 AM, Marian Petrides MD wrote: > > Count me in. I haven?t used LiveCode (or done any programming for that matter) in quite a while. Maybe this will get me off my duff. ;-) If not, it should be interesting reading nonetheless. > > >>> On Nov 4, 2013, at 3:50 AM, LiveCode Feeds wrote: >>> >>> Hi, >>> >>> I am thinking about starting a regular blog that will focus on making games with >>> LiveCode. If I go ahead, it would be partially just for my own satisfaction. >>> >>> But it will probably be more work than I imagine, and so I am wondering what >>> level of interest there is? If there is lots then I am more likely to try and >>> make it happen. >>> >>> Note, the blog won't be about First Person Shooters, or the next Need For Speed >>> clone as these do not play to the strengths of LiveCode. >>> >>> More like "Indie" style games that keep things simple, to make them achievable. >>> With graphics in 2D, (or 2.5D?) and a retro, classic feel. Hey, some may not use >>> graphics (shock!) and be text based. >>> >>> Are you interested in using LiveCode to make games? >>> >>> I am just thinking about this, so any and all comments will be appreciated. >>> Comments either way, whether "that's interesting", or "you'll be wasting your >>> time" will be welcome and carefully tallied. >>> >>> Scott. >>> -- >>> RunRevPlanet.com >>> Components, Libraries, Tools and Resources for LiveCode >>> http://www.runrevplanet.com/ >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From lfredricks at proactive-intl.com Mon Nov 4 10:57:00 2013 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Mon, 4 Nov 2013 07:57:00 -0800 Subject: [!! SPAM] Making Games with LiveCode Blog? In-Reply-To: <1383565859.52778a2306ef6@www.server101.com> References: <1383565859.52778a2306ef6@www.server101.com> Message-ID: > Are you interested in using LiveCode to make games? > > I am just thinking about this, so any and all comments will > be appreciated. > Comments either way, whether "that's interesting", or "you'll > be wasting your time" will be welcome and carefully tallied. I think its an excellent idea. As LiveCode evolves, its going to become possible to make better and better games (performance wise). A lot of people get into development because they want to make games. Also, the LiveCode way of doing things is really good for many types of games that aren't 3D real time types. Im not knocking Franklin 3D by saying that, but just out of the box, I see big advantages with using LiveCode for many 2D games vs others. Best regards, Lynn Fredricks President Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server From ambassador at fourthworld.com Mon Nov 4 11:03:19 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 04 Nov 2013 08:03:19 -0800 Subject: Making Games with LiveCode Blog? In-Reply-To: <1383565859.52778a2306ef6@www.server101.com> References: <1383565859.52778a2306ef6@www.server101.com> Message-ID: <5277C547.2040203@fourthworld.com> Scott wrote: > I am thinking about starting a regular blog that will focus on making games with > LiveCode. If I go ahead, it would be partially just for my own satisfaction. > > But it will probably be more work than I imagine, and so I am wondering what > level of interest there is? If there is lots then I am more likely to try and > make it happen. We can expect that the audience for LiveCode today is very different, and no doubt smaller by orders of magnitude, than the audience just a few years from now. While there's always a risk with undertaking any new venture, the return on your investment will likely be high over time as the audience grows. Take it slow if you like, adding new stuff even just as time permits. But even with that, the long-term SEO value will become self-evident soon enough. This absolutely mind-blowingly useful compendium of game-related algos may be inspiring: -- 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 From Camm29 at tesco.net Mon Nov 4 11:36:02 2013 From: Camm29 at tesco.net (Camm) Date: Mon, 4 Nov 2013 16:36:02 -0000 Subject: FullScreenMode Message-ID: <000001ced97b$f3997b90$dacc72b0$@tesco.net> Hi , The FullScreenMode scaling works fine except button and field texts get cut short on Windows desktop? Any ideas or is this a bug... Regards Camm From prothero at earthednet.org Mon Nov 4 13:40:53 2013 From: prothero at earthednet.org (Earthednet-wp) Date: Mon, 4 Nov 2013 10:40:53 -0800 Subject: Making Games with LiveCode Blog? In-Reply-To: <5277C547.2040203@fourthworld.com> References: <1383565859.52778a2306ef6@www.server101.com> <5277C547.2040203@fourthworld.com> Message-ID: <967F9918-9973-4C12-9B3B-14CF6C71F5E2@earthednet.org> Richard, Thanks for this posting. A wealth of information about game creation. Best, Bill William Prothero http://es.earthednet.org > On Nov 4, 2013, at 8:03 AM, Richard Gaskin wrote: > > Scott wrote: > >> I am thinking about starting a regular blog that will focus on making games with >> LiveCode. If I go ahead, it would be partially just for my own satisfaction. >> >> But it will probably be more work than I imagine, and so I am wondering what >> level of interest there is? If there is lots then I am more likely to try and >> make it happen. > > We can expect that the audience for LiveCode today is very different, and no doubt smaller by orders of magnitude, than the audience just a few years from now. > > While there's always a risk with undertaking any new venture, the return on your investment will likely be high over time as the audience grows. > > Take it slow if you like, adding new stuff even just as time permits. But even with that, the long-term SEO value will become self-evident soon enough. > > This absolutely mind-blowingly useful compendium of game-related algos may be inspiring: > > > -- > 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mwieder at ahsoftware.net Mon Nov 4 13:51:57 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 4 Nov 2013 10:51:57 -0800 Subject: Making Games with LiveCode Blog? In-Reply-To: <5277C547.2040203@fourthworld.com> References: <1383565859.52778a2306ef6@www.server101.com> <5277C547.2040203@fourthworld.com> Message-ID: <71151571873.20131104105157@ahsoftware.net> Richard- Monday, November 4, 2013, 8:03:19 AM, you wrote: > This absolutely mind-blowingly useful compendium of game-related algos > may be inspiring: > Thanks! -- -Mark Wieder ahsoftware at gmail.com From martyknappster at gmail.com Mon Nov 4 13:55:30 2013 From: martyknappster at gmail.com (Marty Knapp) Date: Mon, 04 Nov 2013 10:55:30 -0800 Subject: RESTful web service In-Reply-To: References: <5272AA58.9060904@gmail.com> Message-ID: <5277EDA2.5080409@gmail.com> Thanks Thierry - I'll take a look at those. As far as OAuth, I see there was some discussion a while back and Andre was apparently working on a library. But the trail seems to have gone cold. Has anyone gone down this road with LC and had any success? Marty > Hi Marty, > > Might interest you or others... > > http://post.oreilly.com/form/oreilly/viewhtml/9z1zhk4cgfsg0s8tvs9ri7k3oc9ano644einvaod8f8?imm_mid=0b276b&cmp=em-prog-books-videos-lp-owo_rest_direct_wkrest > > > Regards, > > Thierry > > > > ------------------------------------------------ > Thierry Douez - http://sunny-tdz.com > Maker of sunnYperl - sunnYmidi - sunnYmage > > > 2013/10/31 Marty Knapp > >> So I have a potential project in front of me, involving a bunch of stuff I >> have no experience with yet. So please excuse my ignorance as I inquire >> about this! >> >> It involves connecting to a RESTful web service via OAuth (v1.0a) and >> sending and receiving XML data. First of all, is the OAuth authentication >> possible with LC? I found a couple of lessons on the LC site that pertain >> to web services and xml, but they?re a bit sketchy (for me). Can anyone >> provide some input and/or sources of tutorials or example stacks? >> >> Thanks! >> Marty >> From jacque at hyperactivesw.com Mon Nov 4 15:39:23 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 04 Nov 2013 14:39:23 -0600 Subject: Play Movies in Background Layer? In-Reply-To: <5519AF42-E062-4C7B-9D35-BA895BBFAC7E@all-auctions.com> References: <1383565859.52778a2306ef6@www.server101.com> <5519AF42-E062-4C7B-9D35-BA895BBFAC7E@all-auctions.com> Message-ID: <527805FB.5020005@hyperactivesw.com> On 11/4/13 8:39 AM, Rick Harrison wrote: > Hi there, > > I?m currently working on a game in which > I would like to be able to play a movie > in a player which is behind other graphics. > > Whenever I tell the movie to play, LiveCode > automatically brings the player to the > top layer, thus defeating my purpose. > > Can this be done at all? > If not are there any work arounds? See "alwaysBuffer" in the dictionary. If the alwaysBuffer of player is true you can place other objects on top of it. But there are side effects and won't work on Windows if you aren't using QuickTime. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dochawk at gmail.com Mon Nov 4 15:49:52 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Mon, 4 Nov 2013 12:49:52 -0800 Subject: error in test contion In-Reply-To: <119337100.20131102175122@ahsoftware.net> References: <52753F65.8020800@fourthworld.com> <119337100.20131102175122@ahsoftware.net> Message-ID: On Sat, Nov 2, 2013 at 5:51 PM, Mark Wieder wrote: > The error message says that "mcp" is the problem. You appear to be > invoking an "openMcp" handler. Is the mcp stack actually open in > memory when you check the custom property? If it isn't then you'll get > an error that really means "I can't find that stack", no matter what > the actual error text is. > openMcp is a routine run from openStack when the stack is mcp; it handles general setups. So the stack is already open. It seems that the actual error is a few lines later: ck "ck2" go invisible cd "General" of stack "revStandaloneSettings" ck "ck2.1" ck 2 is logged, but not ck 2.1 (I go to this card to reset program version information for the standalones). What can possibly be wrong with that line? It just brings up a card invisibly. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From pete at lcsql.com Mon Nov 4 16:16:44 2013 From: pete at lcsql.com (Peter Haworth) Date: Mon, 4 Nov 2013 13:16:44 -0800 Subject: error in test contion In-Reply-To: References: <52753F65.8020800@fourthworld.com> <119337100.20131102175122@ahsoftware.net> Message-ID: >From what I can see, the revStandaloneSettings stack doesn't exist until you select "Standalone Application Settings" from the FIle menu. Pete lcSQL Software On Mon, Nov 4, 2013 at 12:49 PM, Dr. Hawkins wrote: > On Sat, Nov 2, 2013 at 5:51 PM, Mark Wieder > wrote: > > > The error message says that "mcp" is the problem. You appear to be > > invoking an "openMcp" handler. Is the mcp stack actually open in > > memory when you check the custom property? If it isn't then you'll get > > an error that really means "I can't find that stack", no matter what > > the actual error text is. > > > > openMcp is a routine run from openStack when the stack is mcp; it handles > general setups. So the stack is already open. > > It seems that the actual error is a few lines later: > > ck "ck2" > go invisible cd "General" of stack "revStandaloneSettings" > ck "ck2.1" > > ck 2 is logged, but not ck 2.1 > > (I go to this card to reset program version information for the > standalones). > > What can possibly be wrong with that line? It just brings up a card > invisibly. > > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From rdimola at evergreeninfo.net Mon Nov 4 16:21:09 2013 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Mon, 4 Nov 2013 16:21:09 -0500 Subject: on-rev.com files missing. In-Reply-To: References: <52753F65.8020800@fourthworld.com> <119337100.20131102175122@ahsoftware.net> Message-ID: <001101ced9a3$c84b2e70$58e18b50$@net> I just noticed that all the files I had in the www folder are gone. That www root folder is now empty except for a folder named "victim.com". Anyone else having a problem? Is this a hack? Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net From mwieder at ahsoftware.net Mon Nov 4 16:42:09 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 4 Nov 2013 13:42:09 -0800 Subject: error in test contion In-Reply-To: References: <52753F65.8020800@fourthworld.com> <119337100.20131102175122@ahsoftware.net> Message-ID: <37162020580.20131104134209@ahsoftware.net> > From what I can see, the revStandaloneSettings stack doesn't exist until > you select "Standalone Application Settings" from the FIle menu. Or rather, it exists as a disk file but it's not loaded into memory. Have you changed the defaultFolder at the time you try to load the stack? You might try logging the defaultFolder just before trying the load command. -- -Mark Wieder ahsoftware at gmail.com From matthias_livecode_150811 at m-r-d.de Mon Nov 4 17:09:57 2013 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Mon, 4 Nov 2013 23:09:57 +0100 Subject: on-rev.com files missing. In-Reply-To: <001101ced9a3$c84b2e70$58e18b50$@net> References: <52753F65.8020800@fourthworld.com> <119337100.20131102175122@ahsoftware.net> <001101ced9a3$c84b2e70$58e18b50$@net> Message-ID: Hi Ralph, i am sorry, but it seems your site was hacked. Did you run a Joomla CMS on your site? If i remember right than one of my customers had a similar problem on a non on-rev system. All files in the public_html folder disappeared. Instead of those files there was just a single folder with exact the same name "victim.com". Regards, Matthias Am 04.11.2013 um 22:21 schrieb Ralph DiMola : > I just noticed that all the files I had in the www folder are gone. That www > root folder is now empty except for a folder named "victim.com". > > Anyone else having a problem? Is this a hack? > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode Matthias Rebbe Tel: +49 5741 310000 +49 160 5504462 eMail: matthias underscore livecode underscore 150811 at m dash r dash d dot de From rdimola at evergreeninfo.net Mon Nov 4 17:14:51 2013 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Mon, 4 Nov 2013 17:14:51 -0500 Subject: on-rev.com files missing. In-Reply-To: References: <52753F65.8020800@fourthworld.com> <119337100.20131102175122@ahsoftware.net> <001101ced9a3$c84b2e70$58e18b50$@net> Message-ID: <001801ced9ab$488f50f0$d9adf2d0$@net> Did you run a Joomla CMS on your site? Yes... Whaaaaaaaaaaaaaaaaa Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net Phone: 518-636-3998 Ex:11 Cell: 518-796-9332 -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Matthias Rebbe Sent: Monday, November 04, 2013 5:10 PM To: How to use LiveCode Subject: Re: on-rev.com files missing. Hi Ralph, i am sorry, but it seems your site was hacked. Did you run a Joomla CMS on your site? If i remember right than one of my customers had a similar problem on a non on-rev system. All files in the public_html folder disappeared. Instead of those files there was just a single folder with exact the same name "victim.com". Regards, Matthias Am 04.11.2013 um 22:21 schrieb Ralph DiMola : > I just noticed that all the files I had in the www folder are gone. > That www root folder is now empty except for a folder named "victim.com". > > Anyone else having a problem? Is this a hack? > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode Matthias Rebbe Tel: +49 5741 310000 +49 160 5504462 eMail: matthias underscore livecode underscore 150811 at m dash r dash d dot de _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From feed at smpcsupport.com Mon Nov 4 17:50:02 2013 From: feed at smpcsupport.com (RunRevPlanet) Date: Tue, 05 Nov 2013 09:50:02 +1100 Subject: Making Games with LiveCode Blog? Message-ID: <1383605402.5278249acf7a0@www.server101.com> Hi There, Rick, Marian, William (and anyone else who may have posted between me checking the feed and writing this) thanks for the encouragement. JB, "professional look and feel" in terms of artwork is not my strong suit, but showing LiveCode code achieving certain results would probably be the focus. Richard, thank you for the link. Imagine if a resource like that had algorithms in the LiveCode language! Not that I plan to attempt anything so comprehensive, just a modest blog. Georges, when you say "customizable games" do mean where the user can create their own content? As some already have, or are working on games, you may be well ahead of me so don't get your expectations too high. I expect to start with simple stuff (Pong anyone?) and see where it takes me. Cheers, -- Scott McDonald "Components, Controls, Tools and Resources for LiveCode" www.runrevplanet.com From matthias_livecode_150811 at m-r-d.de Mon Nov 4 17:52:00 2013 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Mon, 4 Nov 2013 23:52:00 +0100 Subject: on-rev.com files missing. In-Reply-To: <001801ced9ab$488f50f0$d9adf2d0$@net> References: <52753F65.8020800@fourthworld.com> <119337100.20131102175122@ahsoftware.net> <001101ced9a3$c84b2e70$58e18b50$@net> <001801ced9ab$488f50f0$d9adf2d0$@net> Message-ID: <309FD404-CA08-4433-88CA-959313024ED6@m-r-d.de> Ralph, for the future i would recommend to use the 5g Blacklist in your htaccess file. You find it at http://perishablepress.com/5g-blacklist-2013/ Regards, Matthias Am 04.11.2013 um 23:14 schrieb Ralph DiMola : > Did you run a Joomla CMS on your site? Yes... Whaaaaaaaaaaaaaaaaa > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > Phone: 518-636-3998 Ex:11 > Cell: 518-796-9332 > > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf > Of Matthias Rebbe > Sent: Monday, November 04, 2013 5:10 PM > To: How to use LiveCode > Subject: Re: on-rev.com files missing. > > Hi Ralph, > > i am sorry, but it seems your site was hacked. Did you run a Joomla CMS on > your site? > If i remember right than one of my customers had a similar problem on a non > on-rev system. > All files in the public_html folder disappeared. Instead of those files > there was just a single folder with exact the same name "victim.com". > > Regards, > > Matthias > > Am 04.11.2013 um 22:21 schrieb Ralph DiMola : > >> I just noticed that all the files I had in the www folder are gone. >> That www root folder is now empty except for a folder named "victim.com". >> >> Anyone else having a problem? Is this a hack? >> >> Ralph DiMola >> IT Director >> Evergreen Information Services >> rdimola at evergreeninfo.net >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > Matthias Rebbe > Tel: +49 5741 310000 > +49 160 5504462 > eMail: matthias underscore livecode underscore 150811 at m dash r dash d dot > de > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode Matthias Rebbe Tel: +49 5741 310000 +49 160 5504462 eMail: matthias underscore livecode underscore 150811 at m dash r dash d dot de From lvhdgc7 at gmail.com Mon Nov 4 18:17:35 2013 From: lvhdgc7 at gmail.com (tbodine) Date: Mon, 4 Nov 2013 15:17:35 -0800 (PST) Subject: Making Games with LiveCode Blog? In-Reply-To: <321CBC9E-F1EC-493A-9AC5-EE1BC4CB8E9E@earthednet.org> References: <1383565859.52778a2306ef6@www.server101.com> <0926FD60-F748-4CF0-BF6B-D5581E09F601@pacifier.com> <07C35748-C397-4FFD-8D6F-1095F65133C1@earthlink.net> <321CBC9E-F1EC-493A-9AC5-EE1BC4CB8E9E@earthednet.org> Message-ID: <1383607055566-4671867.post@n4.nabble.com> Ditto. Educational games. -- Tom Bodine -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Making-Games-with-LiveCode-Blog-tp4671843p4671867.html Sent from the Revolution - User mailing list archive at Nabble.com. From pete at lcsql.com Mon Nov 4 19:09:26 2013 From: pete at lcsql.com (Peter Haworth) Date: Mon, 4 Nov 2013 16:09:26 -0800 Subject: error in test contion In-Reply-To: <37162020580.20131104134209@ahsoftware.net> References: <52753F65.8020800@fourthworld.com> <119337100.20131102175122@ahsoftware.net> <37162020580.20131104134209@ahsoftware.net> Message-ID: You're right, I meant not in memory. Maybe he can go to the fully qualified filename of the stack? Pete lcSQL Software On Mon, Nov 4, 2013 at 1:42 PM, Mark Wieder wrote: > > From what I can see, the revStandaloneSettings stack doesn't exist until > > you select "Standalone Application Settings" from the FIle menu. > > Or rather, it exists as a disk file but it's not loaded into memory. > Have you changed the defaultFolder at the time you try to load the > stack? You might try logging the defaultFolder just before trying the > load command. > > -- > -Mark Wieder > ahsoftware at gmail.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From terry.judd at unimelb.edu.au Mon Nov 4 19:14:05 2013 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Tue, 5 Nov 2013 00:14:05 +0000 Subject: Getting LC server to work on OSX Message-ID: <240F7D8E-A856-4E3F-A92F-27457C6B3BD8@unimelb.edu.au> I thought I'd finally dip my toe in and see how the LC server works. So, I downloaded the server (6.1.0) and followed the instructions in the relevant lesson... http://lessons.runrev.com/s/lessons/m/4070/l/36653-how-do-i-install-livecode-server-on-os-x-with-apache 1. I placed the LC server folder in my home folder... /Users/tsj/LiveCodeServer-6_1_0-Mac 2. Created a livecode-cig folder in my Sites folder /Users/tsj/Sites/livecode-cgi 3. And edited my .conf file so it looks like this... Options Indexes MultiViews AllowOverride None Order allow,deny Allow from all AddHandler livecode-script .lc Action livecode-script /livecode-cgi/livecode-server Options ExecCGI Order allow,deny Allow from all ScriptAlias /livecode-cgi/livecode-server "/Users/tsj/LiveCodeServer-6_1_0-Mac/livecode-server" 4. I then put a test file in my Sites folder (test.lc as per the example in the lesson)... But when I access the script (http://localhost/~tsj/test.lc) I consistently get a 403 error... Forbidden You don't have permission to access /livecode-cgi/livecode-server/~tsj/test.lc on this server. Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request. Apache/2.2.24 (Unix) DAV/2 Server at localhost Port 80 What am I missing? Terry... Dr Terry Judd Senior Lecturer in Medical Education Medical Education Unit Faculty of Medicine, Dentistry & Health Sciences The University of Melbourne From mwieder at ahsoftware.net Mon Nov 4 19:23:50 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 4 Nov 2013 16:23:50 -0800 Subject: error in test contion In-Reply-To: References: <52753F65.8020800@fourthworld.com> <119337100.20131102175122@ahsoftware.net> <37162020580.20131104134209@ahsoftware.net> Message-ID: <42171721912.20131104162350@ahsoftware.net> Pete- Monday, November 4, 2013, 4:09:26 PM, you wrote: > You're right, I meant not in memory. Maybe he can go to the fully > qualified filename of the stack? Well, I tried loading the stack from the messagebox before posting that and it worked. It also works from a button on a blank card, and the defaultFolder is the home directory of the stack, so that doesn't seem to be the answer. I can change the defaultFolder and it still brings up the page. I can't get it to fail. -- -Mark Wieder ahsoftware at gmail.com From dochawk at gmail.com Mon Nov 4 20:09:32 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Mon, 4 Nov 2013 17:09:32 -0800 Subject: error in test contion In-Reply-To: <42171721912.20131104162350@ahsoftware.net> References: <52753F65.8020800@fourthworld.com> <119337100.20131102175122@ahsoftware.net> <37162020580.20131104134209@ahsoftware.net> <42171721912.20131104162350@ahsoftware.net> Message-ID: On Mon, Nov 4, 2013 at 4:23 PM, Mark Wieder wrote: > > > Well, I tried loading the stack from the messagebox before posting > that and it worked. It also works from a button on a blank card, and > the defaultFolder is the home directory of the stack, so that doesn't > seem to be the answer. I can change the defaultFolder and it still > brings up the page. I can't get it to fail. > When I get it, I then quit the IDE, and launch again, which seems to be making the changes I need in the versions; it only seems to fail once on each change. Sometimes I see the opened revStandaloneSettings stack, but I haven't identified that pattern yet. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From capellan2000 at gmail.com Mon Nov 4 21:27:10 2013 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Mon, 4 Nov 2013 18:27:10 -0800 (PST) Subject: Making Games with LiveCode Blog? In-Reply-To: <1383565859.52778a2306ef6@www.server101.com> References: <1383565859.52778a2306ef6@www.server101.com> Message-ID: <1383618429909-4671872.post@n4.nabble.com> Yes, I am interested in your LiveCode's Games blog. Could you allow to translate your pages? :D Have a nice week! Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Making-Games-with-LiveCode-Blog-tp4671843p4671872.html Sent from the Revolution - User mailing list archive at Nabble.com. From stephenREVOLUTION2 at barncard.com Mon Nov 4 21:47:09 2013 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Mon, 4 Nov 2013 18:47:09 -0800 Subject: Getting LC server to work on OSX In-Reply-To: <240F7D8E-A856-4E3F-A92F-27457C6B3BD8@unimelb.edu.au> References: <240F7D8E-A856-4E3F-A92F-27457C6B3BD8@unimelb.edu.au> Message-ID: did you set the permissions of ALL the server files? here's what worked for me (using Linux online at Dreamhost) http://media.barncard.com/downloads/LIVECODE-SERVER-SETUP.pdf not tested on mac server. On Mon, Nov 4, 2013 at 4:14 PM, Terry Judd wrote: > > > What am I missing? > > Terry... > > Dr Terry Judd > Senior Lecturer in Medical Education > Medical Education Unit > Faculty of Medicine, Dentistry & Health Sciences > The University of Melbourne > > > Stephen Barncard San Francisco Ca. USA more about sqb From feed at smpcsupport.com Tue Nov 5 00:20:02 2013 From: feed at smpcsupport.com (RunRevPlanet) Date: Tue, 05 Nov 2013 16:20:02 +1100 Subject: Making Games with LiveCode Blog? Message-ID: <1383628802.527880022cc84@www.server101.com> Hi There, Al, provided there is appropriate accreditation and a link back to the original article I can't see a problem. Having said that, the site doesn't exist yet. Tom and Bill, about the preference for educational games I don't know if they will be specifically covered. My hope is to cover general examples of developing games in LiveCode, which you could adapt to make into simulations or something of educational value. Regards, -- Scott McDonald "Components, Controls, Tools and Resources for LiveCode" www.runrevplanet.com From terry.judd at unimelb.edu.au Tue Nov 5 00:30:40 2013 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Tue, 5 Nov 2013 05:30:40 +0000 Subject: Getting LC server to work on OSX In-Reply-To: References: <240F7D8E-A856-4E3F-A92F-27457C6B3BD8@unimelb.edu.au> Message-ID: Thanks Stephen - you're a legend! Terry... On 05/11/2013, at 01:47 PM, stephen barncard wrote: > did you set the permissions of ALL the server files? > here's what worked for me (using Linux online at Dreamhost) > > http://media.barncard.com/downloads/LIVECODE-SERVER-SETUP.pdf > > not tested on mac server. > > > On Mon, Nov 4, 2013 at 4:14 PM, Terry Judd wrote: > >> >> >> What am I missing? >> >> Terry... >> >> Dr Terry Judd >> Senior Lecturer in Medical Education >> Medical Education Unit >> Faculty of Medicine, Dentistry & Health Sciences >> The University of Melbourne >> >> >> > > Stephen Barncard > San Francisco Ca. USA > > more about sqb > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > Dr Terry Judd Senior Lecturer in Medical Education Medical Education Unit Faculty of Medicine, Dentistry & Health Sciences The University of Melbourne From malamoud.public at free.fr Tue Nov 5 03:25:53 2013 From: malamoud.public at free.fr (Georges Malamoud) Date: Tue, 5 Nov 2013 09:25:53 +0100 Subject: Making Games with LiveCode Blog? Message-ID: Hello 1) So the idea of a blog/site on ? Livecode for games ? seems to have some success, bravo ! I am sure that some of us would like to participate in some way : a collaborative blog ? a community on a small specific social solution easy to install ? There are clearly a lot of different types of games (including pong :b). I would be willing to add some content after a while if it is welcome. 2) To answer your question, the customization of games would be two things : add you own content on a framework for advanced users, but also create your own skins and sprites for games (and share them). From gbojsza at gmail.com Tue Nov 5 07:16:32 2013 From: gbojsza at gmail.com (Glen Bojsza) Date: Tue, 5 Nov 2013 07:16:32 -0500 Subject: Feasible --> Practical? revBrowser automation Message-ID: Hello everyone, I am looking for advice and opinions regarding the following. We have a product that uses a web application that requires the user to input values in particular fields and possibly make selections via drop down menus and check boxes. Once the user has completed the input and selections they push a submit button and the information is sent and within a few seconds a response is received with a web page that has returned values (not the original but calculated based on the user input values and also particular selections shown in drop down menus (no check boxes are ever returned). We have a table with all the necessary information that needs to be input each time and then the user needs to record the returned information. The table contains several thousand lines (this equals several thousand times the procedure described above will need to be done). Can this be done using the revBrowser and reading the values in, submitting it and then reading from the response web page? I know reading from the web page can be done by parsing the html code but what about the first two steps? I appreciate any suggestions or reference projects that have something similar in whole or partial. regards, Glen From feed at smpcsupport.com Tue Nov 5 07:55:26 2013 From: feed at smpcsupport.com (RunRevPlanet) Date: Tue, 05 Nov 2013 23:55:26 +1100 Subject: Making Games with LiveCode Blog? Message-ID: <1383656126.5278eabec05f0@www.server101.com> Hi Georges, It is exciting that people want to get involved. I was expecting to have HTML+CSS pages (with a sprinkling of LiveCode Server scripts) on some under-utilised shared hosting that I have, but from your and other comments there appears to be not only interest in my blog plan, but also something more. Some sort of "Hub" that focuses on game related articles and resources specifically for LiveCode, fostering community and sharing would be excellent! It is actually like you read my mind, because I was planning for the blog to be a "trial" to see if something more ambitious would be a wasted effort, or not. So once I get my first idea up, that is something I would be keen to pursue further. About the customisation, I have often thought that it would be neat to have a "Game Maker" like tool written in LiveCode, but that is probably way too ambitious? As an artistically challenged coder, I like the idea of sharing sprites and resources. I really believe that LiveCode has *huge* potential as a casual/indie game development tool. -- Scott McDonald "Components, Controls, Tools and Resources for LiveCode" www.runrevplanet.com From matthias_livecode_150811 at m-r-d.de Tue Nov 5 08:23:04 2013 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Tue, 5 Nov 2013 14:23:04 +0100 Subject: Getting LC server to work on OSX In-Reply-To: <240F7D8E-A856-4E3F-A92F-27457C6B3BD8@unimelb.edu.au> References: <240F7D8E-A856-4E3F-A92F-27457C6B3BD8@unimelb.edu.au> Message-ID: <3BD234B1-2D45-4BD9-BBB1-0880AC1B2D10@m-r-d.de> I know your problem is already solved. But i would like to share how i use livecode server under mac os x. I am using DesktopServer from http://www.desktopserver.com This tool, which uses xampp as the "base", let you create a virtual webserver with a user definable fictional domain name with just a few clicks. It even installs wordpress for you for that virtual domain if you want. You can create as many virtual servers as you like. You can select a template called "blueprint" when creating a virtual server. For livecode-server-use i created a special template which contains a blank index.html, an index.lc and an .htaccess file (which contains the need code for livecode server integration). To use livecode-server with my virtual webservers i just had to install livecode-server within the cgi-bin of desktopserver once. The .htaccess of the template i created does the rest. Before DesktopServer, i used Xampp Pro, but now i prefer DesktopServer for my work. It?s much easier to work with. There are 2 version of DesktopServer: a limited free version and a premium version. A nice feature of the premium version is, you can very easily deploy your virtual wordpress site to a live server. Maybe this is interesting for the one or the other. Regards, Matthias Am 05.11.2013 um 01:14 schrieb Terry Judd : > I thought I'd finally dip my toe in and see how the LC server works. > > So, I downloaded the server (6.1.0) and followed the instructions in the relevant lesson... > > http://lessons.runrev.com/s/lessons/m/4070/l/36653-how-do-i-install-livecode-server-on-os-x-with-apache > > 1. I placed the LC server folder in my home folder... > > /Users/tsj/LiveCodeServer-6_1_0-Mac > > 2. Created a livecode-cig folder in my Sites folder > > /Users/tsj/Sites/livecode-cgi > > 3. And edited my .conf file so it looks like this... > > > Options Indexes MultiViews > AllowOverride None > Order allow,deny > Allow from all > AddHandler livecode-script .lc > Action livecode-script /livecode-cgi/livecode-server > > > > Options ExecCGI > Order allow,deny > Allow from all > > > ScriptAlias /livecode-cgi/livecode-server "/Users/tsj/LiveCodeServer-6_1_0-Mac/livecode-server" > > 4. I then put a test file in my Sites folder (test.lc as per the example in the lesson)... > > But when I access the script (http://localhost/~tsj/test.lc) I consistently get a 403 error... > > Forbidden > You don't have permission to access /livecode-cgi/livecode-server/~tsj/test.lc on this server. > Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request. > Apache/2.2.24 (Unix) DAV/2 Server at localhost Port 80 > > What am I missing? > > Terry... > > Dr Terry Judd > Senior Lecturer in Medical Education > Medical Education Unit > Faculty of Medicine, Dentistry & Health Sciences > The University of Melbourne > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode Matthias Rebbe Tel: +49 5741 310000 +49 160 5504462 eMail: matthias underscore livecode underscore 150811 at m dash r dash d dot de From chipp at altuit.com Tue Nov 5 10:48:25 2013 From: chipp at altuit.com (Chipp Walters) Date: Tue, 5 Nov 2013 10:48:25 -0500 Subject: How to download free version? Message-ID: Hey guys, trying to help someone dl the community version and I can't get a link. I get an email telling me to download $50 worth of tests, but no link to download the free version. Anyone have it? TIA!! From ambassador at fourthworld.com Tue Nov 5 10:50:04 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 05 Nov 2013 07:50:04 -0800 Subject: How to download free version? In-Reply-To: References: Message-ID: <527913AC.9050804@fourthworld.com> Chipp Walters wrote: > Hey guys, trying to help someone dl the community version and I can't get a > link. I get an email telling me to download $50 worth of tests, but no link > to download the free version. Anyone have it? TIA!! -- 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 From neil at runrev.com Tue Nov 5 10:51:47 2013 From: neil at runrev.com (Neil Roger) Date: Tue, 05 Nov 2013 15:51:47 +0000 Subject: How to download free version? In-Reply-To: References: Message-ID: <52791413.8020004@runrev.com> Hi Chipp, You should be able to access LiveCode Community from the products page of your LiveCode account. Alternatively you can access it from here- http://downloads.livecode.com/livecode/ Kind Regards, Neil Roger -- RunRev Support Team ~ http://www.runrev.com LiveCode ? Realize fast, compile-free coding ? On 05/11/2013 15:48, Chipp Walters wrote: > Hey guys, trying to help someone dl the community version and I can't get a > link. I get an email telling me to download $50 worth of tests, but no link > to download the free version. Anyone have it? TIA!! > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Tue Nov 5 10:58:28 2013 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Tue, 5 Nov 2013 10:58:28 -0500 Subject: on-rev.com files missing. In-Reply-To: <94ED61F7-0DD9-401D-ADDA-B1BC1EBCB33C@runrev.com> References: <52753F65.8020800@fourthworld.com> <119337100.20131102175122@ahsoftware.net> <001101ced9a3$c84b2e70$58e18b50$@net> <8FE140AC-6BCF-487F-A48D-D880936412B8@dickey.com.au> <94ED61F7-0DD9-401D-ADDA-B1BC1EBCB33C@runrev.com> Message-ID: <003801ceda3f$dec106b0$9c431410$@net> First of all thanks to RR hosting support and David W. for their prompt response to my "urgent" support request!! Also thanks to the list for letting me know this was confined to my account and also for the tips and suggestions from the usual suspects!! I did not want to start a use-list panic but wanted to either get some info or give a heads up to all of you good folks on the lists. The on-rev support has been as good as it gets in the industry. I have never seen one-on-one support within 30 minutes for any of the enterprise level SW or services that we run here. I was back up and running is short order. On-rev.com had backups at their finger tips and were able to scrub the site before restoring it. Thanks again on-rev! (I owe David a beer in San Diego) Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: livecode-dev [mailto:livecode-dev-bounces at lists.runrev.com] On Behalf Of Heather Laine Sent: Tuesday, November 05, 2013 3:26 AM To: LiveCode Developer List Subject: Re: on-rev.com files missing. Folks. Once again, this list is not the place to get support. We do not monitor this list 24/7. Ralph very sensibly raised an urgent ticket and his issue has now been dealt with. It was an issue entirely individual to his account, with no implications for other accounts on the server. Regards, Heather On 4 Nov 2013, at 22:58, Andrew Paul Dickey wrote: > Hello Ralph, > > Just checked my domains hosted on on-rev. My files are OK at this point in time. I am on server: diesel. > > It does raise the issue of backups/disaster recovery. Worst case as most accounts have recently been migrated they should be able to recover your lost files, if not from the migration from a current backup of the server. > > Kind regards, Andrew > > > On 05/11/2013, at 8:21 AM, Ralph DiMola wrote: > >> I just noticed that all the files I had in the www folder are gone. >> That www root folder is now empty except for a folder named "victim.com". >> >> Anyone else having a problem? Is this a hack? >> >> Ralph DiMola >> IT Director >> Evergreen Information Services >> rdimola at evergreeninfo.net >> >> >> _______________________________________________ >> livecode-dev mailing list >> livecode-dev at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/livecode-dev > > > _______________________________________________ > livecode-dev mailing list > livecode-dev at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/livecode-dev Heather Laine Customer Services Manager http://www.livecode.com/ _______________________________________________ livecode-dev mailing list livecode-dev at lists.runrev.com http://lists.runrev.com/mailman/listinfo/livecode-dev From matthias_livecode_150811 at m-r-d.de Tue Nov 5 11:58:28 2013 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Tue, 5 Nov 2013 17:58:28 +0100 Subject: Getting LC server to work on OSX In-Reply-To: <3BD234B1-2D45-4BD9-BBB1-0880AC1B2D10@m-r-d.de> References: <240F7D8E-A856-4E3F-A92F-27457C6B3BD8@unimelb.edu.au> <3BD234B1-2D45-4BD9-BBB1-0880AC1B2D10@m-r-d.de> Message-ID: <13EEF4B5-F4CE-46C8-8FA0-C136E0FAF201@m-r-d.de> Hi, Scott Rossi just informed me that i have posted a wrong url. The correct one for DesktopServer is http://serverpress.com Btw. what i forgot. DesktopServer runs on Mac and on Windows. Regards, Matthias Am 05.11.2013 um 14:23 schrieb Matthias Rebbe : > I know your problem is already solved. > > But i would like to share how i use livecode server under mac os x. > > I am using DesktopServer from http://www.desktopserver.com > > This tool, which uses xampp as the "base", let you create a virtual webserver with a user definable fictional domain name with just a few clicks. It even installs wordpress for you for that virtual domain if you want. You can create as many virtual servers as you like. You can select a template called "blueprint" when creating a virtual server. For livecode-server-use i created a special template which contains a > blank index.html, an index.lc and an .htaccess file (which contains the need code for livecode server integration). > > To use livecode-server with my virtual webservers i just had to install livecode-server within the cgi-bin of desktopserver once. The .htaccess of the template i created does the rest. > > Before DesktopServer, i used Xampp Pro, but now i prefer DesktopServer for my work. It?s much easier to work with. > > There are 2 version of DesktopServer: a limited free version and a premium version. > > A nice feature of the premium version is, you can very easily deploy your virtual wordpress site to a live server. > > Maybe this is interesting for the one or the other. > > Regards, > > Matthias > > > Am 05.11.2013 um 01:14 schrieb Terry Judd : > >> I thought I'd finally dip my toe in and see how the LC server works. >> >> So, I downloaded the server (6.1.0) and followed the instructions in the relevant lesson... >> >> http://lessons.runrev.com/s/lessons/m/4070/l/36653-how-do-i-install-livecode-server-on-os-x-with-apache >> >> 1. I placed the LC server folder in my home folder... >> >> /Users/tsj/LiveCodeServer-6_1_0-Mac >> >> 2. Created a livecode-cig folder in my Sites folder >> >> /Users/tsj/Sites/livecode-cgi >> >> 3. And edited my .conf file so it looks like this... >> >> >> Options Indexes MultiViews >> AllowOverride None >> Order allow,deny >> Allow from all >> AddHandler livecode-script .lc >> Action livecode-script /livecode-cgi/livecode-server >> >> >> >> Options ExecCGI >> Order allow,deny >> Allow from all >> >> >> ScriptAlias /livecode-cgi/livecode-server "/Users/tsj/LiveCodeServer-6_1_0-Mac/livecode-server" >> >> 4. I then put a test file in my Sites folder (test.lc as per the example in the lesson)... >> >> But when I access the script (http://localhost/~tsj/test.lc) I consistently get a 403 error... >> >> Forbidden >> You don't have permission to access /livecode-cgi/livecode-server/~tsj/test.lc on this server. >> Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request. >> Apache/2.2.24 (Unix) DAV/2 Server at localhost Port 80 >> >> What am I missing? >> >> Terry... >> >> Dr Terry Judd >> Senior Lecturer in Medical Education >> Medical Education Unit >> Faculty of Medicine, Dentistry & Health Sciences >> The University of Melbourne >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > Matthias Rebbe > Tel: +49 5741 310000 > +49 160 5504462 > eMail: matthias underscore livecode underscore 150811 at m dash r dash d dot de > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode Matthias Rebbe Tel: +49 5741 310000 +49 160 5504462 eMail: matthias underscore livecode underscore 150811 at m dash r dash d dot de From jacque at hyperactivesw.com Tue Nov 5 17:10:25 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 05 Nov 2013 16:10:25 -0600 Subject: Commas in stack names Message-ID: <52796CD1.1060800@hyperactivesw.com> Is there a reason a stack name can't include a comma? The engine replaces them with underscores. I know Windows doesn't like file names with commas, but this is about the stack name. The automatic replacement is wreaking havoc with my scripts. I don't have any control over what the stack is named, so I can't just remove the commas. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From monte at sweattechnologies.com Tue Nov 5 17:19:30 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed, 6 Nov 2013 09:19:30 +1100 Subject: Commas in stack names In-Reply-To: <52796CD1.1060800@hyperactivesw.com> References: <52796CD1.1060800@hyperactivesw.com> Message-ID: <3A23F980-1B43-4BA3-9BEE-A3D0815CE478@sweattechnologies.com> On 06/11/2013, at 9:10 AM, J. Landman Gay wrote: > Is there a reason a stack name can't include a comma? The engine replaces them with underscores. > > I know Windows doesn't like file names with commas, but this is about the stack name. The automatic replacement is wreaking havoc with my scripts. I don't have any control over what the stack is named, so I can't just remove the commas. Hmm... how did they get comma in the first place if it's the engine automatically replacing it? -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From harrison at all-auctions.com Tue Nov 5 14:19:31 2013 From: harrison at all-auctions.com (Rick Harrison) Date: Tue, 5 Nov 2013 14:19:31 -0500 Subject: Play Movies in Background Layer? In-Reply-To: <527805FB.5020005@hyperactivesw.com> References: <1383565859.52778a2306ef6@www.server101.com> <5519AF42-E062-4C7B-9D35-BA895BBFAC7E@all-auctions.com> <527805FB.5020005@hyperactivesw.com> Message-ID: <85761170-BF57-473A-BBDA-CAFB501DB46F@all-auctions.com> Hi Jacque, Wow, alwaysBuffer worked just fine for this! Talk about an obscure feature this imparts. How would one even guess at that property? Thanks! Rick On Nov 4, 2013, at 3:39 PM, J. Landman Gay wrote: > On 11/4/13 8:39 AM, Rick Harrison wrote: >> Hi there, >> >> I?m currently working on a game in which >> I would like to be able to play a movie >> in a player which is behind other graphics. >> >> Whenever I tell the movie to play, LiveCode >> automatically brings the player to the >> top layer, thus defeating my purpose. >> >> Can this be done at all? >> If not are there any work arounds? > > See "alwaysBuffer" in the dictionary. If the alwaysBuffer of player is true you can place other objects on top of it. But there are side effects and won't work on Windows if you aren't using QuickTime. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mwieder at ahsoftware.net Tue Nov 5 17:37:00 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 5 Nov 2013 14:37:00 -0800 Subject: Commas in stack names In-Reply-To: <3A23F980-1B43-4BA3-9BEE-A3D0815CE478@sweattechnologies.com> References: <52796CD1.1060800@hyperactivesw.com> <3A23F980-1B43-4BA3-9BEE-A3D0815CE478@sweattechnologies.com> Message-ID: <138251711967.20131105143700@ahsoftware.net> Jacque- Tuesday, November 5, 2013, 2:19:30 PM, Monte wrote: > Hmm... how did they get comma in the first place if it's the > engine automatically replacing it? Monte beat me to it. Curious... -- -Mark Wieder ahsoftware at gmail.com From monte at sweattechnologies.com Tue Nov 5 17:40:07 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed, 6 Nov 2013 09:40:07 +1100 Subject: [ANN] New open source external mergContact Message-ID: Hi there LiveCoders I've just released a new open source (MIT licensed) external for iOS. It's a simple one that uses a contact ID to get the image of a contact from the address book in either thumbnail or original format. The source is here: https://github.com/montegoulding/mergContact The binaries are available under a free account at mergExt.com Enjoy! Cheers Monte -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From jacque at hyperactivesw.com Tue Nov 5 17:40:16 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 05 Nov 2013 16:40:16 -0600 Subject: Commas in stack names In-Reply-To: <3A23F980-1B43-4BA3-9BEE-A3D0815CE478@sweattechnologies.com> References: <52796CD1.1060800@hyperactivesw.com> <3A23F980-1B43-4BA3-9BEE-A3D0815CE478@sweattechnologies.com> Message-ID: <527973D0.4010007@hyperactivesw.com> On 11/5/13 4:19 PM, Monte Goulding wrote: > > On 06/11/2013, at 9:10 AM, J. Landman Gay wrote: > >> Is there a reason a stack name can't include a comma? The engine >> replaces them with underscores. >> >> I know Windows doesn't like file names with commas, but this is >> about the stack name. The automatic replacement is wreaking havoc >> with my scripts. I don't have any control over what the stack is >> named, so I can't just remove the commas. > > Hmm... how did they get comma in the first place if it's the engine > automatically replacing it? I have a tool that builds stacks. The stack name is pulled from a text file, and sometimes the name has a comma. We can't change that. When the build tool sets the stack name, the engine replaces commas with underscores. The standalone that runs these stacks tries to go to a stack of the original name, pulled from a display list, but it is no longer valid because the engine changed it and navigation fails. So I have a bunch of fixing to do. So I'm wondering why stacks can't have commas in their names. Cards can. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From monte at sweattechnologies.com Tue Nov 5 18:05:16 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed, 6 Nov 2013 10:05:16 +1100 Subject: Commas in stack names In-Reply-To: <527973D0.4010007@hyperactivesw.com> References: <52796CD1.1060800@hyperactivesw.com> <3A23F980-1B43-4BA3-9BEE-A3D0815CE478@sweattechnologies.com> <527973D0.4010007@hyperactivesw.com> Message-ID: <3D03D248-C104-405D-B6BB-25B6705DBCC9@sweattechnologies.com> On 06/11/2013, at 9:40 AM, J. Landman Gay wrote: > I have a tool that builds stacks. The stack name is pulled from a text file, and sometimes the name has a comma. We can't change that. When the build tool sets the stack name, the engine replaces commas with underscores. > > The standalone that runs these stacks tries to go to a stack of the original name, pulled from a display list, but it is no longer valid because the engine changed it and navigation fails. So I have a bunch of fixing to do. > > So I'm wondering why stacks can't have commas in their names. Cards can. There's a comment in the source where comma is replaced with _ just saying it's not allowed but not saying why. It's possibly not the best idea to have commas in any object name just incase there's any code that creates comma delimited lists with object names in them but I can't see any real reason why stack names are treated differently. You should possibly file a docs bug on this. Cheers -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From eriks at sisyph.us Tue Nov 5 18:10:50 2013 From: eriks at sisyph.us (Erik Schwartz) Date: Tue, 5 Nov 2013 15:10:50 -0800 Subject: On-Rev desktop client Message-ID: Is there a version of the on-rev desktop client that is currently functional? Not having a debugger or a real IDE is a big pain in the butt. Thanks, Erik -- ============================================= eriks at sisyph.us http://sisyph.us (530) 213-ERIK http://twitter.com/eriks (530) 213-3745 http://www.linkedin.com/in/erikschwartz Archery stuff: http://barebow.tumblr.com/ ============================================= From paulhibbert at mac.com Tue Nov 5 18:23:03 2013 From: paulhibbert at mac.com (Paul Hibbert) Date: Tue, 05 Nov 2013 15:23:03 -0800 Subject: On-Rev desktop client In-Reply-To: References: Message-ID: Sadly no. When I asked support about this a while ago I was just pointed in the direction of 3rd party software. :-/ The On-rev client was just about useable until the recent server change, now it's totally dead and for some obscure reason RR don't seem to want to do anything about it. I know I would like to see it resurrected, especially if it's updated with a secure connection, but it doesn't seem like too many others are interested. Paul On 2013-11-05, at 3:10 PM, Erik Schwartz wrote: > Is there a version of the on-rev desktop client that is currently > functional? Not having a debugger or a real IDE is a big pain in the butt. > > Thanks, > > Erik > > -- > ============================================= > eriks at sisyph.us http://sisyph.us > (530) 213-ERIK http://twitter.com/eriks > (530) 213-3745 http://www.linkedin.com/in/erikschwartz > Archery stuff: http://barebow.tumblr.com/ > ============================================= > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Tue Nov 5 18:23:16 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 05 Nov 2013 17:23:16 -0600 Subject: Commas in stack names In-Reply-To: <3D03D248-C104-405D-B6BB-25B6705DBCC9@sweattechnologies.com> References: <52796CD1.1060800@hyperactivesw.com> <3A23F980-1B43-4BA3-9BEE-A3D0815CE478@sweattechnologies.com> <527973D0.4010007@hyperactivesw.com> <3D03D248-C104-405D-B6BB-25B6705DBCC9@sweattechnologies.com> Message-ID: <52797DE4.3000300@hyperactivesw.com> On 11/5/13 5:05 PM, Monte Goulding wrote: > There's a comment in the source where comma is replaced with _ just > saying it's not allowed but not saying why. It's possibly not the > best idea to have commas in any object name just incase there's any > code that creates comma delimited lists with object names in them but > I can't see any real reason why stack names are treated differently. > You should possibly file a docs bug on this. I'd like to know why. It doesn't seem like a docs bug to me, it seems like an arbitrary decision, but yes, it should be documented. It would have saved me a lot of work. I'll see if I can add a user note. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From monte at sweattechnologies.com Tue Nov 5 18:25:41 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed, 6 Nov 2013 10:25:41 +1100 Subject: Commas in stack names In-Reply-To: <52797DE4.3000300@hyperactivesw.com> References: <52796CD1.1060800@hyperactivesw.com> <3A23F980-1B43-4BA3-9BEE-A3D0815CE478@sweattechnologies.com> <527973D0.4010007@hyperactivesw.com> <3D03D248-C104-405D-B6BB-25B6705DBCC9@sweattechnologies.com> <52797DE4.3000300@hyperactivesw.com> Message-ID: <265D7C59-DABA-4AE4-A00A-7156932FACAB@sweattechnologies.com> On 06/11/2013, at 10:23 AM, J. Landman Gay wrote: > I'd like to know why. It doesn't seem like a docs bug to me, it seems like an arbitrary decision, but yes, it should be documented. It would have saved me a lot of work. > > I'll see if I can add a user note. I suspect it's been in there a long time because the comment doesn't have initials or a date... -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From jacque at hyperactivesw.com Tue Nov 5 18:28:44 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 05 Nov 2013 17:28:44 -0600 Subject: Play Movies in Background Layer? In-Reply-To: <85761170-BF57-473A-BBDA-CAFB501DB46F@all-auctions.com> References: <1383565859.52778a2306ef6@www.server101.com> <5519AF42-E062-4C7B-9D35-BA895BBFAC7E@all-auctions.com> <527805FB.5020005@hyperactivesw.com> <85761170-BF57-473A-BBDA-CAFB501DB46F@all-auctions.com> Message-ID: <52797F2C.6010405@hyperactivesw.com> On 11/5/13 1:19 PM, Rick Harrison wrote: > Hi Jacque, > > Wow, alwaysBuffer worked just fine for this! > Talk about an obscure feature this imparts. > How would one even guess at that property? I guess you'd have to ask on the mailing list. :) Of course, a true geek would read the dictionary cover to cover like a novel, but people make fun of you when you do that. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From eriks at sisyph.us Tue Nov 5 18:30:55 2013 From: eriks at sisyph.us (Erik Schwartz) Date: Tue, 5 Nov 2013 15:30:55 -0800 Subject: On-Rev desktop client In-Reply-To: References: Message-ID: Did they suggest some 3rd party software that had a LC debugger in it? Right now I am getting errors kicked out with row numbers in the error messages that do not exist in the file. row 601, col 6: Operators *: error in left operand But there are 504 rows in the file On Tue, Nov 5, 2013 at 3:23 PM, Paul Hibbert wrote: > Sadly no. > > When I asked support about this a while ago I was just pointed in the > direction of 3rd party software. :-/ > > The On-rev client was just about useable until the recent server change, > now it's totally dead and for some obscure reason RR don't seem to want to > do anything about it. > > I know I would like to see it resurrected, especially if it's updated with > a secure connection, but it doesn't seem like too many others are > interested. > > Paul > > On 2013-11-05, at 3:10 PM, Erik Schwartz wrote: > > > Is there a version of the on-rev desktop client that is currently > > functional? Not having a debugger or a real IDE is a big pain in the > butt. > > > > Thanks, > > > > Erik > > > > -- > > ============================================= > > eriks at sisyph.us > http://sisyph.us > > (530) 213-ERIK http://twitter.com/eriks > > (530) 213-3745 http://www.linkedin.com/in/erikschwartz > > Archery stuff: http://barebow.tumblr.com/ > > ============================================= > > _______________________________________________ > > use-livecode mailing list > > use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- ============================================= eriks at sisyph.us http://sisyph.us (530) 213-ERIK http://twitter.com/eriks (530) 213-3745 http://www.linkedin.com/in/erikschwartz Archery stuff: http://barebow.tumblr.com/ ============================================= From jacque at hyperactivesw.com Tue Nov 5 18:34:14 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 05 Nov 2013 17:34:14 -0600 Subject: Commas in stack names In-Reply-To: <265D7C59-DABA-4AE4-A00A-7156932FACAB@sweattechnologies.com> References: <52796CD1.1060800@hyperactivesw.com> <3A23F980-1B43-4BA3-9BEE-A3D0815CE478@sweattechnologies.com> <527973D0.4010007@hyperactivesw.com> <3D03D248-C104-405D-B6BB-25B6705DBCC9@sweattechnologies.com> <52797DE4.3000300@hyperactivesw.com> <265D7C59-DABA-4AE4-A00A-7156932FACAB@sweattechnologies.com> Message-ID: <52798076.7070607@hyperactivesw.com> On 11/5/13 5:25 PM, Monte Goulding wrote: > > On 06/11/2013, at 10:23 AM, J. Landman Gay wrote: > >> I'd like to know why. It doesn't seem like a docs bug to me, it seems like an arbitrary decision, but yes, it should be documented. It would have saved me a lot of work. >> >> I'll see if I can add a user note. > > I suspect it's been in there a long time because the comment doesn't have initials or a date... Well I guess it doesn't cause problems often, since I haven't noticed it for all these years. But it sure bit me this time. Someone who has the skills might think about changing the behavior... ;) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From monte at sweattechnologies.com Tue Nov 5 18:35:30 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed, 6 Nov 2013 10:35:30 +1100 Subject: Commas in stack names In-Reply-To: <52798076.7070607@hyperactivesw.com> References: <52796CD1.1060800@hyperactivesw.com> <3A23F980-1B43-4BA3-9BEE-A3D0815CE478@sweattechnologies.com> <527973D0.4010007@hyperactivesw.com> <3D03D248-C104-405D-B6BB-25B6705DBCC9@sweattechnologies.com> <52797DE4.3000300@hyperactivesw.com> <265D7C59-DABA-4AE4-A00A-7156932FACAB@sweattechnologies.com> <52798076.7070607@hyperactivesw.com> Message-ID: <75C481E7-E5F4-4AD3-AA36-4E3B4A1A4E2D@sweattechnologies.com> On 06/11/2013, at 10:34 AM, J. Landman Gay wrote: > Someone who has the skills might think about changing the behavior... ;) Well it's only deleting 2 lines (one of which is a comment... but who knows the repercussions? -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From dunbarx at aol.com Tue Nov 5 18:38:01 2013 From: dunbarx at aol.com (dunbarx at aol.com) Date: Tue, 5 Nov 2013 18:38:01 -0500 (EST) Subject: Commas in stack names In-Reply-To: <52797DE4.3000300@hyperactivesw.com> References: <52796CD1.1060800@hyperactivesw.com> <3A23F980-1B43-4BA3-9BEE-A3D0815CE478@sweattechnologies.com> <527973D0.4010007@hyperactivesw.com> <3D03D248-C104-405D-B6BB-25B6705DBCC9@sweattechnologies.com> <52797DE4.3000300@hyperactivesw.com> Message-ID: <8D0A8973303CC3D-EDC-60B2B@webmail-m167.sysops.aol.com> Jacque. Couldn't you substitute some arcane char for the comma, and restore it when you rebuild your navigation pathname? Craig -----Original Message----- From: J. Landman Gay To: How to use LiveCode Sent: Tue, Nov 5, 2013 6:23 pm Subject: Re: Commas in stack names On 11/5/13 5:05 PM, Monte Goulding wrote: > There's a comment in the source where comma is replaced with _ just > saying it's not allowed but not saying why. It's possibly not the > best idea to have commas in any object name just incase there's any > code that creates comma delimited lists with object names in them but > I can't see any real reason why stack names are treated differently. > You should possibly file a docs bug on this. I'd like to know why. It doesn't seem like a docs bug to me, it seems like an arbitrary decision, but yes, it should be documented. It would have saved me a lot of work. I'll see if I can add a user note. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Tue Nov 5 18:54:53 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 05 Nov 2013 17:54:53 -0600 Subject: Commas in stack names In-Reply-To: <8D0A8973303CC3D-EDC-60B2B@webmail-m167.sysops.aol.com> References: <52796CD1.1060800@hyperactivesw.com> <3A23F980-1B43-4BA3-9BEE-A3D0815CE478@sweattechnologies.com> <527973D0.4010007@hyperactivesw.com> <3D03D248-C104-405D-B6BB-25B6705DBCC9@sweattechnologies.com> <52797DE4.3000300@hyperactivesw.com> <8D0A8973303CC3D-EDC-60B2B@webmail-m167.sysops.aol.com> Message-ID: <5279854D.4090403@hyperactivesw.com> On 11/5/13 5:38 PM, dunbarx at aol.com wrote: > Jacque. > > > Couldn't you substitute some arcane char for the comma, and restore > it when you rebuild your navigation pathname? I could, but I decided to just delete the commas when naming the stacks (the names aren't visible in the title bar.) Most of my navigation funnels through two handlers so adapting those wasn't hard, but I need to scan a couple thousand lines of script to check for, as Monte said, "repercussions." I've been at it all afternoon. When I got irritated enough, I wrote to the list. I'm about done now, but sheesh. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From paulhibbert at mac.com Tue Nov 5 19:01:06 2013 From: paulhibbert at mac.com (Paul Hibbert) Date: Tue, 05 Nov 2013 16:01:06 -0800 Subject: On-Rev desktop client In-Reply-To: References: Message-ID: <17F2A8FD-F308-43DA-BF1C-DD4168949926@mac.com> Sorry no debugger, they just suggested TextMate ($55 from http://macromates.com) & CyberDuck (I think, it was quite a while ago!). I ended up using TextWrangler as it's free. http://www.barebones.com/products/textwrangler The colouring scheme isn't right, but I can manage without that, still no debugger though. Can you check your code in a LC script? That's what I try to do if I get stuck, but it can be a pain as you need to break it down into sections and remove any HTML and maybe apply substitute data. In this case it looks to me like row 601 is performing a multiplication (Operators *) and the first (left operand) part of the equation is not compatible data, i.e. it's probably not a number, so I would start by looking at where that data comes from - but I could be totally wrong! Sorry I can't be more help. Paul On 2013-11-05, at 3:30 PM, Erik Schwartz wrote: > Did they suggest some 3rd party software that had a LC debugger in it? > > Right now I am getting errors kicked out with row numbers in the error > messages that do not exist in the file. > > row 601, col 6: Operators *: error in left operand > > But there are 504 rows in the file > > > On Tue, Nov 5, 2013 at 3:23 PM, Paul Hibbert wrote: > >> Sadly no. >> >> When I asked support about this a while ago I was just pointed in the >> direction of 3rd party software. :-/ >> >> The On-rev client was just about useable until the recent server change, >> now it's totally dead and for some obscure reason RR don't seem to want to >> do anything about it. >> >> I know I would like to see it resurrected, especially if it's updated with >> a secure connection, but it doesn't seem like too many others are >> interested. >> >> Paul >> >> On 2013-11-05, at 3:10 PM, Erik Schwartz wrote: >> >>> Is there a version of the on-rev desktop client that is currently >>> functional? Not having a debugger or a real IDE is a big pain in the >> butt. >>> >>> Thanks, >>> >>> Erik >>> >>> -- >>> ============================================= >>> eriks at sisyph.us >> http://sisyph.us >>> (530) 213-ERIK http://twitter.com/eriks >>> (530) 213-3745 http://www.linkedin.com/in/erikschwartz >>> Archery stuff: http://barebow.tumblr.com/ >>> ============================================= >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at 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 at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > ============================================= > eriks at sisyph.us http://sisyph.us > (530) 213-ERIK http://twitter.com/eriks > (530) 213-3745 http://www.linkedin.com/in/erikschwartz > Archery stuff: http://barebow.tumblr.com/ > ============================================= > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mwieder at ahsoftware.net Tue Nov 5 19:19:10 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 5 Nov 2013 16:19:10 -0800 Subject: Commas in stack names In-Reply-To: <5279854D.4090403@hyperactivesw.com> References: <52796CD1.1060800@hyperactivesw.com> <3A23F980-1B43-4BA3-9BEE-A3D0815CE478@sweattechnologies.com> <527973D0.4010007@hyperactivesw.com> <3D03D248-C104-405D-B6BB-25B6705DBCC9@sweattechnologies.com> <52797DE4.3000300@hyperactivesw.com> <8D0A8973303CC3D-EDC-60B2B@webmail-m167.sysops.aol.com> <5279854D.4090403@hyperactivesw.com> Message-ID: <149257841722.20131105161910@ahsoftware.net> Jacque- Tuesday, November 5, 2013, 3:54:53 PM, you wrote: >> Couldn't you substitute some arcane char for the comma, and restore >> it when you rebuild your navigation pathname? > I could, but I decided to just delete the commas when naming the stacks When I have to do something like this (converting property names to xml tags, for instance) I do it with two line of code: replace comma with "__COMMA__" in tText Then to get it back to the original file name just replace "__COMMA__" with comma in tText -- -Mark Wieder ahsoftware at gmail.com From endernafi at gmail.com Tue Nov 5 19:41:12 2013 From: endernafi at gmail.com (Ender Nafi Elekcioglu) Date: Wed, 6 Nov 2013 02:41:12 +0200 Subject: Play Movies in Background Layer? In-Reply-To: <52797F2C.6010405@hyperactivesw.com> References: <1383565859.52778a2306ef6@www.server101.com> <5519AF42-E062-4C7B-9D35-BA895BBFAC7E@all-auctions.com> <527805FB.5020005@hyperactivesw.com> <85761170-BF57-473A-BBDA-CAFB501DB46F@all-auctions.com> <52797F2C.6010405@hyperactivesw.com> Message-ID: Jacque: "a true geek would read the dictionary cover to cover like a novel? The dictionary performs its search only within the keywords. If it could search within the *context*, I mean the description area, life would be easier. I?ve offered this to Neil, once; of course, I didn?t know about quality?runrev?com and enhancement requests, back then. I don?t know whether it?s a hard task or the team has any time for this kind of minor, collateral tasks. Anyhow, it's one of the features of DreamCode. Yes, I?m making a list named DreamCode; a dreamy LiveCode ;-) If only I?d be a C++ guru or had enough money to gather lots of C++ guru?s :) ~ Ender Nafi From scott at tactilemedia.com Tue Nov 5 20:17:28 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 5 Nov 2013 17:17:28 -0800 Subject: On-Rev desktop client In-Reply-To: <17F2A8FD-F308-43DA-BF1C-DD4168949926@mac.com> References: <17F2A8FD-F308-43DA-BF1C-DD4168949926@mac.com> Message-ID: Paul, does TextWrangler display a LiveCode script with correct indenting/formatting? If so, does it need any kind of plugin or similar for this? I've been wanting an offline(outside the IDE) editor for a long time, but have never found anything that would properly format LiveCode scripts. Thanks & Regards, Scott Rossi Creative Director Tactile Media, UX Design On Nov 5, 2013, at 4:01 PM, Paul Hibbert wrote: > Sorry no debugger, they just suggested TextMate ($55 from http://macromates.com) & CyberDuck (I think, it was quite a while ago!). > > I ended up using TextWrangler as it's free. http://www.barebones.com/products/textwrangler The colouring scheme isn't right, but I can manage without that, still no debugger though. > > Can you check your code in a LC script? That's what I try to do if I get stuck, but it can be a pain as you need to break it down into sections and remove any HTML and maybe apply substitute data. > > In this case it looks to me like row 601 is performing a multiplication (Operators *) and the first (left operand) part of the equation is not compatible data, i.e. it's probably not a number, so I would start by looking at where that data comes from - but I could be totally wrong! > > Sorry I can't be more help. > > Paul > > > On 2013-11-05, at 3:30 PM, Erik Schwartz wrote: > >> Did they suggest some 3rd party software that had a LC debugger in it? >> >> Right now I am getting errors kicked out with row numbers in the error >> messages that do not exist in the file. >> >> row 601, col 6: Operators *: error in left operand >> >> But there are 504 rows in the file >> >> >> On Tue, Nov 5, 2013 at 3:23 PM, Paul Hibbert wrote: >> >>> Sadly no. >>> >>> When I asked support about this a while ago I was just pointed in the >>> direction of 3rd party software. :-/ >>> >>> The On-rev client was just about useable until the recent server change, >>> now it's totally dead and for some obscure reason RR don't seem to want to >>> do anything about it. >>> >>> I know I would like to see it resurrected, especially if it's updated with >>> a secure connection, but it doesn't seem like too many others are >>> interested. >>> >>> Paul >>> >>> On 2013-11-05, at 3:10 PM, Erik Schwartz wrote: >>> >>>> Is there a version of the on-rev desktop client that is currently >>>> functional? Not having a debugger or a real IDE is a big pain in the >>> butt. >>>> >>>> Thanks, >>>> >>>> Erik >>>> >>>> -- >>>> ============================================= >>>> eriks at sisyph.us >>> http://sisyph.us >>>> (530) 213-ERIK http://twitter.com/eriks >>>> (530) 213-3745 http://www.linkedin.com/in/erikschwartz >>>> Archery stuff: http://barebow.tumblr.com/ >>>> ============================================= >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at 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 at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> >> -- >> ============================================= >> eriks at sisyph.us http://sisyph.us >> (530) 213-ERIK http://twitter.com/eriks >> (530) 213-3745 http://www.linkedin.com/in/erikschwartz >> Archery stuff: http://barebow.tumblr.com/ >> ============================================= >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From revdev at pdslabs.net Tue Nov 5 20:24:42 2013 From: revdev at pdslabs.net (Phil Davis) Date: Tue, 05 Nov 2013 17:24:42 -0800 Subject: On-Rev desktop client In-Reply-To: <17F2A8FD-F308-43DA-BF1C-DD4168949926@mac.com> References: <17F2A8FD-F308-43DA-BF1C-DD4168949926@mac.com> Message-ID: <52799A5A.4000402@pdslabs.net> The absence of an on-rev desktop client is one thing that pushed me (hard!) toward doing all 'real' processing in the scripts of stacks that the .lc page 'starts using'. That way I can do all my server programming in the IDE. Of course my approach may not be optimum if you organizing your .lc page code like PHP. Phil Davis On 11/5/13, 4:01 PM, Paul Hibbert wrote: > Sorry no debugger, they just suggested TextMate ($55 from http://macromates.com) & CyberDuck (I think, it was quite a while ago!). > > I ended up using TextWrangler as it's free. http://www.barebones.com/products/textwrangler The colouring scheme isn't right, but I can manage without that, still no debugger though. > > Can you check your code in a LC script? That's what I try to do if I get stuck, but it can be a pain as you need to break it down into sections and remove any HTML and maybe apply substitute data. > > In this case it looks to me like row 601 is performing a multiplication (Operators *) and the first (left operand) part of the equation is not compatible data, i.e. it's probably not a number, so I would start by looking at where that data comes from - but I could be totally wrong! > > Sorry I can't be more help. > > Paul > > > On 2013-11-05, at 3:30 PM, Erik Schwartz wrote: > >> Did they suggest some 3rd party software that had a LC debugger in it? >> >> Right now I am getting errors kicked out with row numbers in the error >> messages that do not exist in the file. >> >> row 601, col 6: Operators *: error in left operand >> >> But there are 504 rows in the file >> >> >> On Tue, Nov 5, 2013 at 3:23 PM, Paul Hibbert wrote: >> >>> Sadly no. >>> >>> When I asked support about this a while ago I was just pointed in the >>> direction of 3rd party software. :-/ >>> >>> The On-rev client was just about useable until the recent server change, >>> now it's totally dead and for some obscure reason RR don't seem to want to >>> do anything about it. >>> >>> I know I would like to see it resurrected, especially if it's updated with >>> a secure connection, but it doesn't seem like too many others are >>> interested. >>> >>> Paul >>> >>> On 2013-11-05, at 3:10 PM, Erik Schwartz wrote: >>> >>>> Is there a version of the on-rev desktop client that is currently >>>> functional? Not having a debugger or a real IDE is a big pain in the >>> butt. >>>> Thanks, >>>> >>>> Erik >>>> >>>> -- >>>> ============================================= >>>> eriks at sisyph.us >>> http://sisyph.us >>>> (530) 213-ERIK http://twitter.com/eriks >>>> (530) 213-3745 http://www.linkedin.com/in/erikschwartz >>>> Archery stuff: http://barebow.tumblr.com/ >>>> ============================================= >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at 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 at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> -- >> ============================================= >> eriks at sisyph.us http://sisyph.us >> (530) 213-ERIK http://twitter.com/eriks >> (530) 213-3745 http://www.linkedin.com/in/erikschwartz >> Archery stuff: http://barebow.tumblr.com/ >> ============================================= >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Phil Davis From monte at sweattechnologies.com Tue Nov 5 20:29:17 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed, 6 Nov 2013 12:29:17 +1100 Subject: On-Rev desktop client In-Reply-To: References: <17F2A8FD-F308-43DA-BF1C-DD4168949926@mac.com> Message-ID: On 06/11/2013, at 12:17 PM, Scott Rossi wrote: > Paul, does TextWrangler display a LiveCode script with correct indenting/formatting? If so, does it need any kind of plugin or similar for this? > > I've been wanting an offline(outside the IDE) editor for a long time, but have never found anything that would properly format LiveCode scripts. Ralf has some support for TextMate on revIgniter.com I use TextMate 2 which is is GPL Cheers -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From paulhibbert at mac.com Tue Nov 5 20:48:55 2013 From: paulhibbert at mac.com (Paul Hibbert) Date: Tue, 05 Nov 2013 17:48:55 -0800 Subject: On-Rev desktop client In-Reply-To: References: <17F2A8FD-F308-43DA-BF1C-DD4168949926@mac.com> Message-ID: <26E0F3EA-F4AF-41CC-9D0C-B43EBCBA9D8B@mac.com> Scott, No, sorry it's just a simple text/code editor, it's a cut down version of BBEdit AFAIK and is made by BareBones. I just use if for editing .irev files in place of the On-Rev client. Paul On 2013-11-05, at 5:17 PM, Scott Rossi wrote: > Paul, does TextWrangler display a LiveCode script with correct indenting/formatting? If so, does it need any kind of plugin or similar for this? > > I've been wanting an offline(outside the IDE) editor for a long time, but have never found anything that would properly format LiveCode scripts. > > Thanks & Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > > On Nov 5, 2013, at 4:01 PM, Paul Hibbert wrote: > >> Sorry no debugger, they just suggested TextMate ($55 from http://macromates.com) & CyberDuck (I think, it was quite a while ago!). >> >> I ended up using TextWrangler as it's free. http://www.barebones.com/products/textwrangler The colouring scheme isn't right, but I can manage without that, still no debugger though. >> >> Can you check your code in a LC script? That's what I try to do if I get stuck, but it can be a pain as you need to break it down into sections and remove any HTML and maybe apply substitute data. >> >> In this case it looks to me like row 601 is performing a multiplication (Operators *) and the first (left operand) part of the equation is not compatible data, i.e. it's probably not a number, so I would start by looking at where that data comes from - but I could be totally wrong! >> >> Sorry I can't be more help. >> >> Paul >> >> >> On 2013-11-05, at 3:30 PM, Erik Schwartz wrote: >> >>> Did they suggest some 3rd party software that had a LC debugger in it? >>> >>> Right now I am getting errors kicked out with row numbers in the error >>> messages that do not exist in the file. >>> >>> row 601, col 6: Operators *: error in left operand >>> >>> But there are 504 rows in the file >>> >>> >>> On Tue, Nov 5, 2013 at 3:23 PM, Paul Hibbert wrote: >>> >>>> Sadly no. >>>> >>>> When I asked support about this a while ago I was just pointed in the >>>> direction of 3rd party software. :-/ >>>> >>>> The On-rev client was just about useable until the recent server change, >>>> now it's totally dead and for some obscure reason RR don't seem to want to >>>> do anything about it. >>>> >>>> I know I would like to see it resurrected, especially if it's updated with >>>> a secure connection, but it doesn't seem like too many others are >>>> interested. >>>> >>>> Paul >>>> >>>> On 2013-11-05, at 3:10 PM, Erik Schwartz wrote: >>>> >>>>> Is there a version of the on-rev desktop client that is currently >>>>> functional? Not having a debugger or a real IDE is a big pain in the >>>> butt. >>>>> >>>>> Thanks, >>>>> >>>>> Erik >>>>> >>>>> -- >>>>> ============================================= >>>>> eriks at sisyph.us >>>> http://sisyph.us >>>>> (530) 213-ERIK http://twitter.com/eriks >>>>> (530) 213-3745 http://www.linkedin.com/in/erikschwartz >>>>> Archery stuff: http://barebow.tumblr.com/ >>>>> ============================================= >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at 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 at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> >>> -- >>> ============================================= >>> eriks at sisyph.us http://sisyph.us >>> (530) 213-ERIK http://twitter.com/eriks >>> (530) 213-3745 http://www.linkedin.com/in/erikschwartz >>> Archery stuff: http://barebow.tumblr.com/ >>> ============================================= >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From Nakia.Brewer at westrac.com.au Tue Nov 5 21:21:04 2013 From: Nakia.Brewer at westrac.com.au (Nakia Brewer) Date: Wed, 6 Nov 2013 02:21:04 +0000 Subject: HTTPS Message-ID: <67116DB20798A94285EEE12A67079A283261E783@MHSEXC02.westrac.com.au> Hi, I have asked about this issue on the Forum some time ago but never got back to testing it further. I have a desktop application that needs to communicate to a REST API over HTTPS and I am having issues with what I think is a certificate problem when I try and use the application on my work network. NOTE - This issues doesn't occur at my home network. So, to explain the issue. When I do a HTTPS Request (Via GET) I get returned a Error 10061 on socket - IT can NOT see my request at the Proxy Now if I do a simple HTTP Request (Via GET) it works correctly - IT can confirm they are seeing my request at the Proxy. I have tried setting the libUrlSetSSlVerification false but to no avail. I don't know much about SSL or anything but is it fair for me to assume that the work network is denying my connection because it is HTTPS without a certificate? If that is the case I have found how to point to certificates but have no idea where/how to generate a certificate that would be valid so the connection works? I hope this makes some sense and I look forward to any idea's you all may have! Thanks Nakia 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. From pete at lcsql.com Tue Nov 5 21:25:32 2013 From: pete at lcsql.com (Peter Haworth) Date: Tue, 5 Nov 2013 18:25:32 -0800 Subject: Play Movies in Background Layer? In-Reply-To: References: <1383565859.52778a2306ef6@www.server101.com> <5519AF42-E062-4C7B-9D35-BA895BBFAC7E@all-auctions.com> <527805FB.5020005@hyperactivesw.com> <85761170-BF57-473A-BBDA-CAFB501DB46F@all-auctions.com> <52797F2C.6010405@hyperactivesw.com> Message-ID: Try Bjornke's BvG Docu 2 plugin, much better than the dictionary. Pete lcSQL Software On Nov 5, 2013 4:41 PM, "Ender Nafi Elekcioglu" wrote: > Jacque: "a true geek would read the dictionary cover to cover like a novel? > > > The dictionary performs its search only within the keywords. > If it could search within the *context*, I mean the description area, life > would be easier. > > I?ve offered this to Neil, once; > of course, I didn?t know about quality?runrev?com and enhancement > requests, back then. > > I don?t know whether it?s a hard task or the team has any time for this > kind of minor, collateral tasks. > > Anyhow, it's one of the features of DreamCode. > Yes, I?m making a list named DreamCode; a dreamy LiveCode ;-) > If only I?d be a C++ guru or had enough money to gather lots of C++ guru?s > :) > > > ~ Ender Nafi > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Tue Nov 5 21:51:18 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 05 Nov 2013 20:51:18 -0600 Subject: HTTPS In-Reply-To: <67116DB20798A94285EEE12A67079A283261E783@MHSEXC02.westrac.com.au> References: <67116DB20798A94285EEE12A67079A283261E783@MHSEXC02.westrac.com.au> Message-ID: <5279AEA6.2040400@hyperactivesw.com> On 11/5/13 8:21 PM, Nakia Brewer wrote: > Hi, > > I have asked about this issue on the Forum some time ago but never got back to testing it further. > I have a desktop application that needs to communicate to a REST API over HTTPS and I am having issues with what I think is a certificate problem when I try and use the application on my work network. > NOTE - This issues doesn't occur at my home network. > > So, to explain the issue. > When I do a HTTPS Request (Via GET) I get returned a Error 10061 on socket > - IT can NOT see my request at the Proxy > > Now if I do a simple HTTP Request (Via GET) it works correctly > - IT can confirm they are seeing my request at the Proxy. > > I have tried setting the libUrlSetSSlVerification false but to no avail. > I don't know much about SSL or anything but is it fair for me to assume that the work network is denying my connection because it is HTTPS without a certificate? > If that is the case I have found how to point to certificates but have no idea where/how to generate a certificate that would be valid so the connection works? > > I hope this makes some sense and I look forward to any idea's you all may have! As I understand it, libURL (the internet library) doesn't support HTTPS via proxies. I am facing a similar issue right now. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Tue Nov 5 21:55:40 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 05 Nov 2013 20:55:40 -0600 Subject: On-Rev desktop client In-Reply-To: References: <17F2A8FD-F308-43DA-BF1C-DD4168949926@mac.com> Message-ID: <5279AFAC.4040103@hyperactivesw.com> On 11/5/13 7:17 PM, Scott Rossi wrote: > I've been wanting an offline(outside the IDE) editor for a long time, > but have never found anything that would properly format LiveCode > scripts. Trevor wrote a plugin for BBEdit that I used for a long time until it broke in a BBEdit update a while back. I don't think it did formatting but I know it did coloration and understood all the keywords. So I think the solution is heckling. :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From peterwawood at gmail.com Tue Nov 5 21:55:43 2013 From: peterwawood at gmail.com (Peter W A Wood) Date: Wed, 6 Nov 2013 10:55:43 +0800 Subject: Making Games with LiveCode Blog? In-Reply-To: <1383605402.5278249acf7a0@www.server101.com> References: <1383605402.5278249acf7a0@www.server101.com> Message-ID: <53BEF8F1-6E64-4C40-BE91-AC8A4429B43E@gmail.com> Hi Scott This sounds a really great initiative. Added to your LiveCode super site and the incredible LiveCode links, it must surely get you MVP status (if RunRev introduces such a programme). Cheers Peter http://LiveCode1001.blogspot.com On 5 Nov 2013, at 06:50, RunRevPlanet wrote: > Hi There, > > Rick, Marian, William (and anyone else who may have posted between me checking > the feed and writing this) thanks for the encouragement. > > JB, "professional look and feel" in terms of artwork is not my strong suit, but > showing LiveCode code achieving certain results would probably be the focus. > > Richard, thank you for the link. Imagine if a resource like that had algorithms > in the LiveCode language! Not that I plan to attempt anything so comprehensive, > just a modest blog. > > Georges, when you say "customizable games" do mean where the user can create > their own content? > > As some already have, or are working on games, you may be well ahead of me so > don't get your expectations too high. I expect to start with simple stuff (Pong > anyone?) and see where it takes me. > > Cheers, > -- > Scott McDonald > "Components, Controls, Tools and Resources for LiveCode" > www.runrevplanet.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From Nakia.Brewer at westrac.com.au Tue Nov 5 22:00:54 2013 From: Nakia.Brewer at westrac.com.au (Nakia Brewer) Date: Wed, 6 Nov 2013 03:00:54 +0000 Subject: HTTPS In-Reply-To: <5279AEA6.2040400@hyperactivesw.com> References: <67116DB20798A94285EEE12A67079A283261E783@MHSEXC02.westrac.com.au> <5279AEA6.2040400@hyperactivesw.com> Message-ID: <67116DB20798A94285EEE12A67079A283261E884@MHSEXC02.westrac.com.au> Oh no....That means I may have to shell out to cURL... Can anyone recommend any other way I may be able to achieve what I need? -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of J. Landman Gay Sent: Wednesday, 06 November 2013 13:51 To: How to use LiveCode Subject: Re: HTTPS On 11/5/13 8:21 PM, Nakia Brewer wrote: > Hi, > > I have asked about this issue on the Forum some time ago but never got back to testing it further. > I have a desktop application that needs to communicate to a REST API over HTTPS and I am having issues with what I think is a certificate problem when I try and use the application on my work network. > NOTE - This issues doesn't occur at my home network. > > So, to explain the issue. > When I do a HTTPS Request (Via GET) I get returned a Error 10061 on socket > - IT can NOT see my request at the Proxy > > Now if I do a simple HTTP Request (Via GET) it works correctly > - IT can confirm they are seeing my request at the Proxy. > > I have tried setting the libUrlSetSSlVerification false but to no avail. > I don't know much about SSL or anything but is it fair for me to assume that the work network is denying my connection because it is HTTPS without a certificate? > If that is the case I have found how to point to certificates but have no idea where/how to generate a certificate that would be valid so the connection works? > > I hope this makes some sense and I look forward to any idea's you all may have! As I understand it, libURL (the internet library) doesn't support HTTPS via proxies. I am facing a similar issue right now. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com _______________________________________________ use-livecode mailing list use-livecode at 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. From Nakia.Brewer at westrac.com.au Tue Nov 5 22:45:21 2013 From: Nakia.Brewer at westrac.com.au (Nakia Brewer) Date: Wed, 6 Nov 2013 03:45:21 +0000 Subject: HTTPS In-Reply-To: <5279AEA6.2040400@hyperactivesw.com> References: <67116DB20798A94285EEE12A67079A283261E783@MHSEXC02.westrac.com.au> <5279AEA6.2040400@hyperactivesw.com> Message-ID: <67116DB20798A94285EEE12A67079A283261E9ED@MHSEXC02.westrac.com.au> Is it fair for me to assume that because I am using a raw expression and not referring libURL that I am not using the libURL Library? Or is libURL used for all internet requests? My call for example; set the httpHeaders to "Proxy-Authorization: Basic" && base64Encode(tUsername & colon & tPassword) &cr&"Content-Type:application/xml"&cr&"Accept:application/xml" get URL ("https://" & userName & ":" & URLEncode(userPass) &"@"&theSubDomain&".harvestapp.com/daily") -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of J. Landman Gay Sent: Wednesday, 06 November 2013 13:51 To: How to use LiveCode Subject: Re: HTTPS On 11/5/13 8:21 PM, Nakia Brewer wrote: > Hi, > > I have asked about this issue on the Forum some time ago but never got back to testing it further. > I have a desktop application that needs to communicate to a REST API over HTTPS and I am having issues with what I think is a certificate problem when I try and use the application on my work network. > NOTE - This issues doesn't occur at my home network. > > So, to explain the issue. > When I do a HTTPS Request (Via GET) I get returned a Error 10061 on socket > - IT can NOT see my request at the Proxy > > Now if I do a simple HTTP Request (Via GET) it works correctly > - IT can confirm they are seeing my request at the Proxy. > > I have tried setting the libUrlSetSSlVerification false but to no avail. > I don't know much about SSL or anything but is it fair for me to assume that the work network is denying my connection because it is HTTPS without a certificate? > If that is the case I have found how to point to certificates but have no idea where/how to generate a certificate that would be valid so the connection works? > > I hope this makes some sense and I look forward to any idea's you all may have! As I understand it, libURL (the internet library) doesn't support HTTPS via proxies. I am facing a similar issue right now. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com _______________________________________________ use-livecode mailing list use-livecode at 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. From stephenREVOLUTION2 at barncard.com Tue Nov 5 23:19:36 2013 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Tue, 5 Nov 2013 20:19:36 -0800 Subject: On-Rev desktop client In-Reply-To: <5279AFAC.4040103@hyperactivesw.com> References: <17F2A8FD-F308-43DA-BF1C-DD4168949926@mac.com> <5279AFAC.4040103@hyperactivesw.com> Message-ID: Ralf's bundle currently only works with Textmate v1 currently On Tue, Nov 5, 2013 at 6:55 PM, J. Landman Gay wrote: > On 11/5/13 7:17 PM, Scott Rossi wrote: > > I've been wanting an offline(outside the IDE) editor for a long time, >> but have never found anything that would properly format LiveCode >> scripts. >> > > Trevor wrote a plugin for BBEdit that I used for a long time until it > broke in a BBEdit update a while back. I don't think it did formatting but > I know it did coloration and understood all the keywords. > > So I think the solution is heckling. :) > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb From monte at sweattechnologies.com Tue Nov 5 23:26:57 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed, 6 Nov 2013 15:26:57 +1100 Subject: On-Rev desktop client In-Reply-To: References: <17F2A8FD-F308-43DA-BF1C-DD4168949926@mac.com> <5279AFAC.4040103@hyperactivesw.com> Message-ID: <8FA56CF7-E53B-4BB5-A9C3-52C56CEC2B39@sweattechnologies.com> On 06/11/2013, at 3:19 PM, stephen barncard wrote: > Ralf's bundle currently only works with Textmate v1 currently Hmm... seems to work for me... I can't remember doing anything interesting to make it work... maybe I did? -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From jacque at hyperactivesw.com Tue Nov 5 23:50:00 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 05 Nov 2013 22:50:00 -0600 Subject: HTTPS In-Reply-To: <67116DB20798A94285EEE12A67079A283261E9ED@MHSEXC02.westrac.com.au> References: <67116DB20798A94285EEE12A67079A283261E783@MHSEXC02.westrac.com.au> <5279AEA6.2040400@hyperactivesw.com> <67116DB20798A94285EEE12A67079A283261E9ED@MHSEXC02.westrac.com.au> Message-ID: <5279CA78.8080800@hyperactivesw.com> Yes, all internet connectivity goes through libURL. You do have use shell if you want to bypass it. On 11/5/13 9:45 PM, Nakia Brewer wrote: > Is it fair for me to assume that because I am using a raw expression and not referring libURL that I am not using the libURL Library? > Or is libURL used for all internet requests? > > My call for example; > set the httpHeaders to "Proxy-Authorization: Basic" && base64Encode(tUsername & colon & tPassword) &cr&"Content-Type:application/xml"&cr&"Accept:application/xml" > get URL ("https://" & userName & ":" & URLEncode(userPass) &"@"&theSubDomain&".harvestapp.com/daily") > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of J. Landman Gay > Sent: Wednesday, 06 November 2013 13:51 > To: How to use LiveCode > Subject: Re: HTTPS > > On 11/5/13 8:21 PM, Nakia Brewer wrote: >> Hi, >> >> I have asked about this issue on the Forum some time ago but never got back to testing it further. >> I have a desktop application that needs to communicate to a REST API over HTTPS and I am having issues with what I think is a certificate problem when I try and use the application on my work network. >> NOTE - This issues doesn't occur at my home network. >> >> So, to explain the issue. >> When I do a HTTPS Request (Via GET) I get returned a Error 10061 on socket >> - IT can NOT see my request at the Proxy >> >> Now if I do a simple HTTP Request (Via GET) it works correctly >> - IT can confirm they are seeing my request at the Proxy. >> >> I have tried setting the libUrlSetSSlVerification false but to no avail. >> I don't know much about SSL or anything but is it fair for me to assume that the work network is denying my connection because it is HTTPS without a certificate? >> If that is the case I have found how to point to certificates but have no idea where/how to generate a certificate that would be valid so the connection works? >> >> I hope this makes some sense and I look forward to any idea's you all may have! > > As I understand it, libURL (the internet library) doesn't support HTTPS > via proxies. I am facing a similar issue right now. > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From Nakia.Brewer at westrac.com.au Tue Nov 5 23:56:01 2013 From: Nakia.Brewer at westrac.com.au (Nakia Brewer) Date: Wed, 6 Nov 2013 04:56:01 +0000 Subject: HTTPS In-Reply-To: <5279CA78.8080800@hyperactivesw.com> References: <67116DB20798A94285EEE12A67079A283261E783@MHSEXC02.westrac.com.au> <5279AEA6.2040400@hyperactivesw.com> <67116DB20798A94285EEE12A67079A283261E9ED@MHSEXC02.westrac.com.au> <5279CA78.8080800@hyperactivesw.com> Message-ID: <67116DB20798A94285EEE12A67079A283261ECEA@MHSEXC02.westrac.com.au> Okay, does anyone happen to know if the custom libURL in GLX Application Framework gets over this issue? I am happy to convert it to GLX If need be :) -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of J. Landman Gay Sent: Wednesday, 06 November 2013 15:50 To: How to use LiveCode Subject: Re: HTTPS Yes, all internet connectivity goes through libURL. You do have use shell if you want to bypass it. On 11/5/13 9:45 PM, Nakia Brewer wrote: > Is it fair for me to assume that because I am using a raw expression and not referring libURL that I am not using the libURL Library? > Or is libURL used for all internet requests? > > My call for example; > set the httpHeaders to "Proxy-Authorization: Basic" && base64Encode(tUsername & colon & tPassword) &cr&"Content-Type:application/xml"&cr&"Accept:application/xml" > get URL ("https://" & userName & ":" & URLEncode(userPass) &"@"&theSubDomain&".harvestapp.com/daily") > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of J. Landman Gay > Sent: Wednesday, 06 November 2013 13:51 > To: How to use LiveCode > Subject: Re: HTTPS > > On 11/5/13 8:21 PM, Nakia Brewer wrote: >> Hi, >> >> I have asked about this issue on the Forum some time ago but never got back to testing it further. >> I have a desktop application that needs to communicate to a REST API over HTTPS and I am having issues with what I think is a certificate problem when I try and use the application on my work network. >> NOTE - This issues doesn't occur at my home network. >> >> So, to explain the issue. >> When I do a HTTPS Request (Via GET) I get returned a Error 10061 on socket >> - IT can NOT see my request at the Proxy >> >> Now if I do a simple HTTP Request (Via GET) it works correctly >> - IT can confirm they are seeing my request at the Proxy. >> >> I have tried setting the libUrlSetSSlVerification false but to no avail. >> I don't know much about SSL or anything but is it fair for me to assume that the work network is denying my connection because it is HTTPS without a certificate? >> If that is the case I have found how to point to certificates but have no idea where/how to generate a certificate that would be valid so the connection works? >> >> I hope this makes some sense and I look forward to any idea's you all may have! > > As I understand it, libURL (the internet library) doesn't support HTTPS > via proxies. I am facing a similar issue right now. > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com _______________________________________________ use-livecode mailing list use-livecode at 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. From jacque at hyperactivesw.com Wed Nov 6 00:36:19 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 05 Nov 2013 23:36:19 -0600 Subject: HTTPS In-Reply-To: <67116DB20798A94285EEE12A67079A283261ECEA@MHSEXC02.westrac.com.au> References: <67116DB20798A94285EEE12A67079A283261E783@MHSEXC02.westrac.com.au> <5279AEA6.2040400@hyperactivesw.com> <67116DB20798A94285EEE12A67079A283261E9ED@MHSEXC02.westrac.com.au> <5279CA78.8080800@hyperactivesw.com> <67116DB20798A94285EEE12A67079A283261ECEA@MHSEXC02.westrac.com.au> Message-ID: <5279D553.4070908@hyperactivesw.com> Unfortunately GLX doesn't support HTTPS through a proxy, though it does support most types of proxies when you send regular HTTP requests. On 11/5/13 10:56 PM, Nakia Brewer wrote: > Okay, does anyone happen to know if the custom libURL in GLX Application Framework gets over this issue? > I am happy to convert it to GLX If need be :) > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of J. Landman Gay > Sent: Wednesday, 06 November 2013 15:50 > To: How to use LiveCode > Subject: Re: HTTPS > > Yes, all internet connectivity goes through libURL. You do have use > shell if you want to bypass it. > > > On 11/5/13 9:45 PM, Nakia Brewer wrote: >> Is it fair for me to assume that because I am using a raw expression and not referring libURL that I am not using the libURL Library? >> Or is libURL used for all internet requests? >> >> My call for example; >> set the httpHeaders to "Proxy-Authorization: Basic" && base64Encode(tUsername & colon & tPassword) &cr&"Content-Type:application/xml"&cr&"Accept:application/xml" >> get URL ("https://" & userName & ":" & URLEncode(userPass) &"@"&theSubDomain&".harvestapp.com/daily") >> >> -----Original Message----- >> From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of J. Landman Gay >> Sent: Wednesday, 06 November 2013 13:51 >> To: How to use LiveCode >> Subject: Re: HTTPS >> >> On 11/5/13 8:21 PM, Nakia Brewer wrote: >>> Hi, >>> >>> I have asked about this issue on the Forum some time ago but never got back to testing it further. >>> I have a desktop application that needs to communicate to a REST API over HTTPS and I am having issues with what I think is a certificate problem when I try and use the application on my work network. >>> NOTE - This issues doesn't occur at my home network. >>> >>> So, to explain the issue. >>> When I do a HTTPS Request (Via GET) I get returned a Error 10061 on socket >>> - IT can NOT see my request at the Proxy >>> >>> Now if I do a simple HTTP Request (Via GET) it works correctly >>> - IT can confirm they are seeing my request at the Proxy. >>> >>> I have tried setting the libUrlSetSSlVerification false but to no avail. >>> I don't know much about SSL or anything but is it fair for me to assume that the work network is denying my connection because it is HTTPS without a certificate? >>> If that is the case I have found how to point to certificates but have no idea where/how to generate a certificate that would be valid so the connection works? >>> >>> I hope this makes some sense and I look forward to any idea's you all may have! >> >> As I understand it, libURL (the internet library) doesn't support HTTPS >> via proxies. I am facing a similar issue right now. >> > > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From Nakia.Brewer at westrac.com.au Wed Nov 6 00:37:47 2013 From: Nakia.Brewer at westrac.com.au (Nakia Brewer) Date: Wed, 6 Nov 2013 05:37:47 +0000 Subject: HTTPS In-Reply-To: <5279D553.4070908@hyperactivesw.com> References: <67116DB20798A94285EEE12A67079A283261E783@MHSEXC02.westrac.com.au> <5279AEA6.2040400@hyperactivesw.com> <67116DB20798A94285EEE12A67079A283261E9ED@MHSEXC02.westrac.com.au> <5279CA78.8080800@hyperactivesw.com> <67116DB20798A94285EEE12A67079A283261ECEA@MHSEXC02.westrac.com.au>, <5279D553.4070908@hyperactivesw.com> Message-ID: So it looks like cURL is my only option... Sent from my iPhone > On 6 Nov 2013, at 4:36 pm, "J. Landman Gay" wrote: > > Unfortunately GLX doesn't support HTTPS through a proxy, though it does support most types of proxies when you send regular HTTP requests. > > >> On 11/5/13 10:56 PM, Nakia Brewer wrote: >> Okay, does anyone happen to know if the custom libURL in GLX Application Framework gets over this issue? >> I am happy to convert it to GLX If need be :) >> >> -----Original Message----- >> From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of J. Landman Gay >> Sent: Wednesday, 06 November 2013 15:50 >> To: How to use LiveCode >> Subject: Re: HTTPS >> >> Yes, all internet connectivity goes through libURL. You do have use >> shell if you want to bypass it. >> >> >>> On 11/5/13 9:45 PM, Nakia Brewer wrote: >>> Is it fair for me to assume that because I am using a raw expression and not referring libURL that I am not using the libURL Library? >>> Or is libURL used for all internet requests? >>> >>> My call for example; >>> set the httpHeaders to "Proxy-Authorization: Basic" && base64Encode(tUsername & colon & tPassword) &cr&"Content-Type:application/xml"&cr&"Accept:application/xml" >>> get URL ("https://" & userName & ":" & URLEncode(userPass) &"@"&theSubDomain&".harvestapp.com/daily") >>> >>> -----Original Message----- >>> From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of J. Landman Gay >>> Sent: Wednesday, 06 November 2013 13:51 >>> To: How to use LiveCode >>> Subject: Re: HTTPS >>> >>>> On 11/5/13 8:21 PM, Nakia Brewer wrote: >>>> Hi, >>>> >>>> I have asked about this issue on the Forum some time ago but never got back to testing it further. >>>> I have a desktop application that needs to communicate to a REST API over HTTPS and I am having issues with what I think is a certificate problem when I try and use the application on my work network. >>>> NOTE - This issues doesn't occur at my home network. >>>> >>>> So, to explain the issue. >>>> When I do a HTTPS Request (Via GET) I get returned a Error 10061 on socket >>>> - IT can NOT see my request at the Proxy >>>> >>>> Now if I do a simple HTTP Request (Via GET) it works correctly >>>> - IT can confirm they are seeing my request at the Proxy. >>>> >>>> I have tried setting the libUrlSetSSlVerification false but to no avail. >>>> I don't know much about SSL or anything but is it fair for me to assume that the work network is denying my connection because it is HTTPS without a certificate? >>>> If that is the case I have found how to point to certificates but have no idea where/how to generate a certificate that would be valid so the connection works? >>>> >>>> I hope this makes some sense and I look forward to any idea's you all may have! >>> >>> As I understand it, libURL (the internet library) doesn't support HTTPS >>> via proxies. I am facing a similar issue right now. > > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at 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. From stephenREVOLUTION2 at barncard.com Wed Nov 6 00:48:29 2013 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Tue, 5 Nov 2013 21:48:29 -0800 Subject: On-Rev desktop client In-Reply-To: <8FA56CF7-E53B-4BB5-A9C3-52C56CEC2B39@sweattechnologies.com> References: <17F2A8FD-F308-43DA-BF1C-DD4168949926@mac.com> <5279AFAC.4040103@hyperactivesw.com> <8FA56CF7-E53B-4BB5-A9C3-52C56CEC2B39@sweattechnologies.com> Message-ID: On Tue, Nov 5, 2013 at 8:26 PM, Monte Goulding wrote: > Hmm... seems to work for me... I can't remember doing anything interesting > to make it work... maybe I did? the bundlle format has changed in V2. 2.0 is still called a 'preview'. Officially "TextMate version 2.0-alpha.9495" ?. I just checked again - no 'iRev' setting. And in Textmate 1.5.11 it all is there. sqb -- Stephen Barncard San Francisco Ca. USA more about sqb From pderocco at ix.netcom.com Wed Nov 6 00:57:48 2013 From: pderocco at ix.netcom.com (Paul D. DeRocco) Date: Tue, 5 Nov 2013 21:57:48 -0800 Subject: Where to put externals so IDE finds them? Message-ID: <9BA4FBDA058F415F9F04D54170D3B1B6@PAULD> The tutorial on Desktop Externals says to create the following hierarchy in the Documents folder: My LiveCode / Externals/ Runtime/ Windows/ x86-32/ Externals/ Mac OS X/ Universal/ Externals/ PowerPC-32/ Externals/ x86-32/ Externals/ In the web page, there is no indenting at all, but the above one-column indenting (obtained by copying from the web page to the clipboard) is nonsensical anyway. Someone asked about this in 2008, and in five years it hasn't been answered. So what's the answer? What's the actual hierarchy? And please answer in plain ASCII, not in HTML, so that we can see the actual indentation that shows the nesting of the directories. Also, immediately following this, it says this: "Note: You only need the Runtime hierarchy for building Standalones containing your externals." But in my experience, externals for standalones are found by the standalone wherever you've programmed it to look for them with the externals property of the main stack, which includes a complete pathname (whether you like it or not). So the above hierarchy looks to me like it only applies to .rev files loaded into the IDE, because in that case the externals don't automatically get loaded on startup, because "startup" happened when the IDE was started, not when the application stack was loaded. Am I right, or am I confused? -- Ciao, Paul D. DeRocco Paul mailto:pderocco at ix.netcom.com From monte at sweattechnologies.com Wed Nov 6 01:05:19 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed, 6 Nov 2013 17:05:19 +1100 Subject: On-Rev desktop client In-Reply-To: References: <17F2A8FD-F308-43DA-BF1C-DD4168949926@mac.com> <5279AFAC.4040103@hyperactivesw.com> <8FA56CF7-E53B-4BB5-A9C3-52C56CEC2B39@sweattechnologies.com> Message-ID: On 06/11/2013, at 4:48 PM, stephen barncard wrote: > > the bundlle format has changed in V2. > > 2.0 is still called a 'preview'. Officially "TextMate version > 2.0-alpha.9495" > > ?. I just checked again - no 'iRev' setting. And in Textmate 1.5.11 it > all is there. OK, it was a while back... maybe I did something to get it to work... I do vaguely remember doing something... -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From monte at sweattechnologies.com Wed Nov 6 01:08:12 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed, 6 Nov 2013 17:08:12 +1100 Subject: Where to put externals so IDE finds them? In-Reply-To: <9BA4FBDA058F415F9F04D54170D3B1B6@PAULD> References: <9BA4FBDA058F415F9F04D54170D3B1B6@PAULD> Message-ID: On 06/11/2013, at 4:57 PM, Paul D. DeRocco wrote: > My LiveCode / > Externals/ -- put them here for IDE support along with the externals.txt file > Runtime/ > Windows/ > x86-32/ > Externals/ > Mac OS X/ > Universal/ > Externals/ > PowerPC-32/ > Externals/ > x86-32/ > Externals/ -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From monte at sweattechnologies.com Wed Nov 6 01:12:46 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed, 6 Nov 2013 17:12:46 +1100 Subject: Where to put externals so IDE finds them? In-Reply-To: References: <9BA4FBDA058F415F9F04D54170D3B1B6@PAULD> Message-ID: <175E55F7-1DD3-4AEA-9BD6-53DA31DFC1CB@sweattechnologies.com> Woops: On 06/11/2013, at 5:08 PM, Monte Goulding wrote: > > On 06/11/2013, at 4:57 PM, Paul D. DeRocco wrote: > >> My LiveCode / >> Externals/ > -- put them here for IDE support along with the externals.txt file >> Runtime/ >> Windows/ >> x86-32/ >> Externals/ >> Mac OS X/ >> Universal/ >> Externals/ >> PowerPC-32/ >> Externals/ >> x86-32/ >> Externals/ > > -- > M E R Goulding > Software development services > Bespoke application development for vertical markets > > mergExt - There's an external for that! > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From richmondmathewson at gmail.com Wed Nov 6 01:36:11 2013 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 06 Nov 2013 08:36:11 +0200 Subject: Commas in stack names In-Reply-To: <527973D0.4010007@hyperactivesw.com> References: <52796CD1.1060800@hyperactivesw.com> <3A23F980-1B43-4BA3-9BEE-A3D0815CE478@sweattechnologies.com> <527973D0.4010007@hyperactivesw.com> Message-ID: <5279E35B.7050104@gmail.com> On 6.11.2013 00:40, J. Landman Gay wrote: > On 11/5/13 4:19 PM, Monte Goulding wrote: >> >> On 06/11/2013, at 9:10 AM, J. Landman Gay wrote: >> >>> Is there a reason a stack name can't include a comma? The engine >>> replaces them with underscores. >>> >>> I know Windows doesn't like file names with commas, but this is >>> about the stack name. The automatic replacement is wreaking havoc >>> with my scripts. I don't have any control over what the stack is >>> named, so I can't just remove the commas. >> >> Hmm... how did they get comma in the first place if it's the engine >> automatically replacing it? > > I have a tool that builds stacks. The stack name is pulled from a text > file, and sometimes the name has a comma. We can't change that. When > the build tool sets the stack name, the engine replaces commas with > underscores. > > The standalone that runs these stacks tries to go to a stack of the > original name, pulled from a display list, but it is no longer valid > because the engine changed it and navigation fails. So I have a bunch > of fixing to do. > > So I'm wondering why stacks can't have commas in their names. Cards can. > I don't know the answer either, but . . . how about replacing all the commas in the text file with underscores before anything else? Richmond. From pderocco at ix.netcom.com Wed Nov 6 01:57:19 2013 From: pderocco at ix.netcom.com (Paul D. DeRocco) Date: Tue, 5 Nov 2013 22:57:19 -0800 Subject: Where to put externals so IDE finds them? In-Reply-To: <175E55F7-1DD3-4AEA-9BD6-53DA31DFC1CB@sweattechnologies.com> References: <9BA4FBDA058F415F9F04D54170D3B1B6@PAULD> <175E55F7-1DD3-4AEA-9BD6-53DA31DFC1CB@sweattechnologies.com> Message-ID: <93A8467DEF444D4695EED62AA386FBC0@PAULD> > From: Monte Goulding > > >> My LiveCode / > >> Externals/ > > -- put them here for IDE support along with the > externals.txt file > >> Runtime/ > >> Windows/ > >> x86-32/ > >> Externals/ > >> Mac OS X/ > >> Universal/ > >> Externals/ > >> PowerPC-32/ > >> Externals/ > >> x86-32/ > >> Externals/ Thanks. Putting it in the first Externals folder seems to work fine. So what about those other folders? Does a standalone automatically find and load all externals that are stored there (under the appropriate architecture) with no need to list them as stack properties, or does the standalone build system automatically find them there and copy them into the output packages, or what? I'm a little confused because the Property Inspector only allows us to set a full path in the externals property, so that implies there is no "search path" used by the standalone. Also, it can only be set to one particular file name, which doesn't port between platforms. So in order to get my standalones to find their externals no matter where they're put, I've taken to using the "startup" handler to set the properties inspector to the name of the DLL or bundle (based on the platform) with a relative path, so that the external can be moved around with the application. How do the above folders fit into that scheme? -- Ciao, Paul D. DeRocco Paul mailto:pderocco at ix.netcom.com From sc at sahores-conseil.com Wed Nov 6 04:39:18 2013 From: sc at sahores-conseil.com (Pierre Sahores) Date: Wed, 6 Nov 2013 10:39:18 +0100 Subject: Fwd: On-Rev desktop client References: <52799A5A.4000402@pdslabs.net> Message-ID: <0B908746-2F0F-4331-8110-D81D92F5B4F4@sahores-conseil.com> Same here and it's probably definitively the best way to avoid any on-rev client app need ;-) D?but du message r?exp?di? : > The absence of an on-rev desktop client is one thing that pushed me (hard!) toward doing all 'real' processing in the scripts of stacks that the .lc page 'starts using'. That way I can do all my server programming in the IDE. > > Of course my approach may not be optimum if you organizing your .lc page code like PHP. > > Phil Davis -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com From Nakia.Brewer at westrac.com.au Wed Nov 6 04:51:02 2013 From: Nakia.Brewer at westrac.com.au (Nakia Brewer) Date: Wed, 6 Nov 2013 09:51:02 +0000 Subject: HTTPS In-Reply-To: <5279D553.4070908@hyperactivesw.com> References: <67116DB20798A94285EEE12A67079A283261E783@MHSEXC02.westrac.com.au> <5279AEA6.2040400@hyperactivesw.com> <67116DB20798A94285EEE12A67079A283261E9ED@MHSEXC02.westrac.com.au> <5279CA78.8080800@hyperactivesw.com> <67116DB20798A94285EEE12A67079A283261ECEA@MHSEXC02.westrac.com.au>, <5279D553.4070908@hyperactivesw.com> Message-ID: Thinking I might try this library out and see if it simplifies things for cURL http://marksmith.on-rev.com/revstuff/files/libRevCurl.zip Sent from my iPhone On 6 Nov 2013, at 4:36 pm, "J. Landman Gay" > wrote: Unfortunately GLX doesn't support HTTPS through a proxy, though it does support most types of proxies when you send regular HTTP requests. On 11/5/13 10:56 PM, Nakia Brewer wrote: Okay, does anyone happen to know if the custom libURL in GLX Application Framework gets over this issue? I am happy to convert it to GLX If need be :) -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of J. Landman Gay Sent: Wednesday, 06 November 2013 15:50 To: How to use LiveCode Subject: Re: HTTPS Yes, all internet connectivity goes through libURL. You do have use shell if you want to bypass it. On 11/5/13 9:45 PM, Nakia Brewer wrote: Is it fair for me to assume that because I am using a raw expression and not referring libURL that I am not using the libURL Library? Or is libURL used for all internet requests? My call for example; set the httpHeaders to "Proxy-Authorization: Basic" && base64Encode(tUsername & colon & tPassword) &cr&"Content-Type:application/xml"&cr&"Accept:application/xml" get URL ("https://" & userName & ":" & URLEncode(userPass) &"@"&theSubDomain&".harvestapp.com/daily") -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of J. Landman Gay Sent: Wednesday, 06 November 2013 13:51 To: How to use LiveCode Subject: Re: HTTPS On 11/5/13 8:21 PM, Nakia Brewer wrote: Hi, I have asked about this issue on the Forum some time ago but never got back to testing it further. I have a desktop application that needs to communicate to a REST API over HTTPS and I am having issues with what I think is a certificate problem when I try and use the application on my work network. NOTE - This issues doesn't occur at my home network. So, to explain the issue. When I do a HTTPS Request (Via GET) I get returned a Error 10061 on socket - IT can NOT see my request at the Proxy Now if I do a simple HTTP Request (Via GET) it works correctly - IT can confirm they are seeing my request at the Proxy. I have tried setting the libUrlSetSSlVerification false but to no avail. I don't know much about SSL or anything but is it fair for me to assume that the work network is denying my connection because it is HTTPS without a certificate? If that is the case I have found how to point to certificates but have no idea where/how to generate a certificate that would be valid so the connection works? I hope this makes some sense and I look forward to any idea's you all may have! As I understand it, libURL (the internet library) doesn't support HTTPS via proxies. I am facing a similar issue right now. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com _______________________________________________ use-livecode mailing list use-livecode at 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. From feed at smpcsupport.com Wed Nov 6 07:11:39 2013 From: feed at smpcsupport.com (RunRevPlanet) Date: Wed, 06 Nov 2013 23:11:39 +1100 Subject: Making Games with LiveCode Blog? Message-ID: <1383739899.527a31fb75e7c@www.server101.com> Hi Peter, Thank you for the kind words. I really will need to do something now! ;) Otherwise it will have just been "talk". And, of course, your LiveCode1001 is very valued too. Cheers, -- Scott McDonald "Components, Controls, Tools and Resources for LiveCode" www.runrevplanet.com From dave at applicationinsight.com Wed Nov 6 10:42:30 2013 From: dave at applicationinsight.com (Dave Kilroy) Date: Wed, 6 Nov 2013 07:42:30 -0800 (PST) Subject: OT: Movember Message-ID: <1383752550478-4671933.post@n4.nabble.com> Moustaches anyone? I've set up a "Hairy LiveCoders" team at http://uk.movember.com/team/1440761 please join me if you would like to have an itchy top lip for the next month! Also, feel free to do some sponsoring... I'm hoping that Kevin will join me with his beard ... imagine the money he could raise! Dave ----- "Some are born coders, some achieve coding, and some have coding thrust upon them." - William Shakespeare & Hugh Senior -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-Movember-tp4671933.html Sent from the Revolution - User mailing list archive at Nabble.com. From bill at bluewatermaritime.com Wed Nov 6 10:45:32 2013 From: bill at bluewatermaritime.com (william humphrey) Date: Wed, 6 Nov 2013 11:45:32 -0400 Subject: 6.5 (dp 2) renders graphics badly Message-ID: I have noticed that 6.5 (dp 2) renders graphics badly. I hope that isn't something that will stay as it makes it unusable for me. From vclement at gmail.com Wed Nov 6 11:17:48 2013 From: vclement at gmail.com (Vaughn Clement) Date: Wed, 6 Nov 2013 09:17:48 -0700 Subject: Keyboard in IOS and Field Focus Message-ID: Hi All I am trying to find any approaches where the card objects "Text Input" can be adjusted when the keyboard covers the input field. I've spent hours looking for a "Standard Approach" where LiveCode addresses this need. The field focus seems to be the key to selecting the field and the relocation of the field to be moved into view from behind the popup keyboard is the issue. This needs to work where a background may or may not be present. I think that the background if present would allow the relocation in a script when the focus is set to an input field. But I cannot find anything that describes the script or any other options for moving the Input field/s up above the popup keyboard. If you have a solution I would like to see this scripting solution? Thank you Vaughn Clement Apps by Vaughn Clement (Support) *http://www.appsbyvaughnclement.com/tools/home-page/ * Skype: vaughn.clement https://secure.join.me/appsbyvclement FaceTime: vclement at gmail.com LogMeIn also avaialble Call on "ooVoo" at address: vaughnclement or 9282549062 Ph. 928-254-9062 Cloud Hosting Registration Web Site: https://my.oditech.com/cart.php?a=add&pid=41 From janschenkel at yahoo.com Wed Nov 6 11:34:18 2013 From: janschenkel at yahoo.com (Jan Schenkel) Date: Wed, 6 Nov 2013 08:34:18 -0800 (PST) Subject: 6.5 (dp 2) renders graphics badly In-Reply-To: Message-ID: <1383755658.50268.YahooMailBasic@web141105.mail.bf1.yahoo.com> Hi William, Is the 'antialiased' property "false" for those graphics by any chance? I've noticed some strange rendering for ovals and curves especially if it's turned off. On the other hand, the performance is such that antialiased can be turned on without worrying. Maybe it's better with LC 6.5-rc-1? Just yesterday evening, I opened up LC 6.5-dp-2 on my old iMac G5 running MacOS X 10.4 Tiger. It looked awful, with all sorts of color inversions, and horrendous text rendering. Then I fetched LC 6.5-rc-1 and these issues were gone. Jan Schenkel. ===== Quartam Reports & PDF Library for LiveCode www.quartam.com ===== "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) -------------------------------------------- On Wed, 11/6/13, william humphrey wrote: Subject: 6.5 (dp 2) renders graphics badly To: "How to use LiveCode" Date: Wednesday, November 6, 2013, 7:45 AM I have noticed that 6.5 (dp 2) renders graphics badly.???I hope that isn't something that will stay as it makes it unusable for me. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From bvlahos at mac.com Wed Nov 6 11:44:51 2013 From: bvlahos at mac.com (Bill Vlahos) Date: Wed, 06 Nov 2013 08:44:51 -0800 Subject: IEEE Meeting Southern California Message-ID: If you are in Southern California near Thousand Oaks you might be interested in this. On Wednesday, 13 November 2013, Bill Vlahos will discuss Writing Software for Consumers and Employers using LiveCode. Abstract Many jobs in the IT field can be greatly enhanced if you know how to write software or scripting. LiveCode is a 4th generation rapid application development environment that works on Macintosh, Windows, and Linux; and can build executable applications for Macintosh, Windows, Linux, iPhones, iPads, and Android. LiveCode syntax is very English-like and easy to understand, yet it can make very powerful and fast compiled applications. Bill Vlahos will talk about writing software using LiveCode, and how that can benefit you. About the Speaker Bill Vlahos has most recently been IT Manager and Network Manager at AeroVironment for 10 years, and in various IT positions at the Jet Propulsion Laboratory for 13 years before that. He has written the commercial consumer software application InfoWallet, the LiveCode IDE Task List plugin IcTaskList, and many in-house applications using the LiveCode software development platform. Meeting Info Registration: Meetings are free and open to the public. Please register to attend. https://meetings.vtools.ieee.org/meeting_view/list_meeting/21635 Pizza and networking: 6:30 PM Presentation, Q&A: 7:00 PM Location: Richter Auditorium, Ahmanson Science Center, California Lutheran University Parking: Do not park in the faculty/staff lots. Free parking is available in the visitor lot at the corner of Olsen Road and Mountclef Boulevard. Alternatively, CLU Public Safety has provided us with parking passes for on street parking. Additional maps: http://www.ieee-bv-cs.org/meetings/ Hope to see you there, Deron Johnson events at ieee-bv-cs.org IEEE Buenaventura Section, Computer Society Chapter From lists at mangomultimedia.com Wed Nov 6 11:56:20 2013 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed, 6 Nov 2013 11:56:20 -0500 Subject: 6.5 (dp 2) renders graphics badly In-Reply-To: References: Message-ID: On Wed, Nov 6, 2013 at 10:45 AM, william humphrey < bill at bluewatermaritime.com> wrote: > I have noticed that 6.5 (dp 2) renders graphics badly. I hope that > isn't something that will stay as it makes it unusable for me. > Unreported issues you see may very well stay as the development team might not know about them. All graphic rendering issues I've found and reported at http://quality.runrev.com are being quickly addressed. 6.5 rc-1 fixed a number of them. -- Trevor DeVore Blue Mango Learning Systems www.screensteps.com - www.clarify-it.com From bill at bluewatermaritime.com Wed Nov 6 11:58:59 2013 From: bill at bluewatermaritime.com (william humphrey) Date: Wed, 6 Nov 2013 12:58:59 -0400 Subject: 6.5 (dp 2) renders graphics badly In-Reply-To: <1383755658.50268.YahooMailBasic@web141105.mail.bf1.yahoo.com> References: <1383755658.50268.YahooMailBasic@web141105.mail.bf1.yahoo.com> Message-ID: That's good news. I'll try and figure out how to get LC 6.5-rc-1 as when I ask for update in 6.5 (dp 2) it says there are none. On Wed, Nov 6, 2013 at 12:34 PM, Jan Schenkel wrote: > Hi William, > > Is the 'antialiased' property "false" for those graphics by any chance? > I've noticed some strange rendering for ovals and curves especially if it's turned off. > On the other hand, the performance is such that antialiased can be turned on without worrying. > > Maybe it's better with LC 6.5-rc-1? > > Just yesterday evening, I opened up LC 6.5-dp-2 on my old iMac G5 running MacOS X 10.4 Tiger. > It looked awful, with all sorts of color inversions, and horrendous text rendering. > Then I fetched LC 6.5-rc-1 and these issues were gone. > > Jan Schenkel. > > ===== > Quartam Reports & PDF Library for LiveCode > www.quartam.com > > ===== > "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) > > -------------------------------------------- > On Wed, 11/6/13, william humphrey wrote: > > Subject: 6.5 (dp 2) renders graphics badly > To: "How to use LiveCode" > Date: Wednesday, November 6, 2013, 7:45 AM > > I have noticed that 6.5 (dp 2) > renders graphics badly. I hope that > isn't something that will stay as it makes it unusable for > me. > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- http://www.bluewatermaritime.com From richmondmathewson at gmail.com Wed Nov 6 12:00:24 2013 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 06 Nov 2013 19:00:24 +0200 Subject: 6.5 (dp 2) renders graphics badly In-Reply-To: References: <1383755658.50268.YahooMailBasic@web141105.mail.bf1.yahoo.com> Message-ID: <527A75A8.4050409@gmail.com> On 6.11.2013 18:58, william humphrey wrote: > That's good news. I'll try and figure out how to get LC 6.5-rc-1 as > when I ask for update in 6.5 (dp 2) it says there are none. http://downloads.livecode.com/livecode/6_5_0/ Richmond. > On Wed, Nov 6, 2013 at 12:34 PM, Jan Schenkel wrote: >> Hi William, >> >> Is the 'antialiased' property "false" for those graphics by any chance? >> I've noticed some strange rendering for ovals and curves especially if it's turned off. >> On the other hand, the performance is such that antialiased can be turned on without worrying. >> >> Maybe it's better with LC 6.5-rc-1? >> >> Just yesterday evening, I opened up LC 6.5-dp-2 on my old iMac G5 running MacOS X 10.4 Tiger. >> It looked awful, with all sorts of color inversions, and horrendous text rendering. >> Then I fetched LC 6.5-rc-1 and these issues were gone. >> >> Jan Schenkel. >> >> ===== >> Quartam Reports & PDF Library for LiveCode >> www.quartam.com >> >> ===== >> "As we grow older, we grow both wiser and more foolish at the same time." (La Rochefoucauld) >> >> -------------------------------------------- >> On Wed, 11/6/13, william humphrey wrote: >> >> Subject: 6.5 (dp 2) renders graphics badly >> To: "How to use LiveCode" >> Date: Wednesday, November 6, 2013, 7:45 AM >> >> I have noticed that 6.5 (dp 2) >> renders graphics badly. I hope that >> isn't something that will stay as it makes it unusable for >> me. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > From richmondmathewson at gmail.com Wed Nov 6 12:05:17 2013 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 06 Nov 2013 19:05:17 +0200 Subject: rc-42 Message-ID: <527A76CD.7070104@gmail.com> So; Let me get this right: 1. Livecode 6.1.3 release candidate 2 has just been released. 2. Livecode 6.5.0 release candidate 1 was released a few days ago. As 6.5.0, supposedly, is way more advanced than 6.1.3 why am I bothering with 6.1.3 ? Why are RunRev bothering to release further versions of 6.1.3 ? What am I missing? Richmond. From bill at bluewatermaritime.com Wed Nov 6 12:10:12 2013 From: bill at bluewatermaritime.com (william humphrey) Date: Wed, 6 Nov 2013 13:10:12 -0400 Subject: 6.5 (dp 2) renders graphics badly In-Reply-To: <527A75A8.4050409@gmail.com> References: <1383755658.50268.YahooMailBasic@web141105.mail.bf1.yahoo.com> <527A75A8.4050409@gmail.com> Message-ID: Doesn't fix the badly rendered jpegs to use 6.5-rc-1 either as dither or don't dither. Thanks for telling me where to report it. On Wed, Nov 6, 2013 at 1:00 PM, Richmond wrote: > On 6.11.2013 18:58, william humphrey wrote: >> >> That's good news. I'll try and figure out how to get LC 6.5-rc-1 as >> when I ask for update in 6.5 (dp 2) it says there are none. > > > http://downloads.livecode.com/livecode/6_5_0/ > > Richmond. > > >> On Wed, Nov 6, 2013 at 12:34 PM, Jan Schenkel >> wrote: >>> >>> Hi William, >>> >>> Is the 'antialiased' property "false" for those graphics by any chance? >>> I've noticed some strange rendering for ovals and curves especially if >>> it's turned off. >>> On the other hand, the performance is such that antialiased can be turned >>> on without worrying. >>> >>> Maybe it's better with LC 6.5-rc-1? >>> >>> Just yesterday evening, I opened up LC 6.5-dp-2 on my old iMac G5 running >>> MacOS X 10.4 Tiger. >>> It looked awful, with all sorts of color inversions, and horrendous text >>> rendering. >>> Then I fetched LC 6.5-rc-1 and these issues were gone. >>> >>> Jan Schenkel. >>> >>> ===== >>> Quartam Reports & PDF Library for LiveCode >>> www.quartam.com >>> >>> ===== >>> "As we grow older, we grow both wiser and more foolish at the same time." >>> (La Rochefoucauld) >>> >>> -------------------------------------------- >>> On Wed, 11/6/13, william humphrey wrote: >>> >>> Subject: 6.5 (dp 2) renders graphics badly >>> To: "How to use LiveCode" >>> Date: Wednesday, November 6, 2013, 7:45 AM >>> >>> I have noticed that 6.5 (dp 2) >>> renders graphics badly. I hope that >>> isn't something that will stay as it makes it unusable for >>> me. >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- http://www.bluewatermaritime.com From cmsheffield at icloud.com Wed Nov 6 12:11:03 2013 From: cmsheffield at icloud.com (Chris Sheffield) Date: Wed, 06 Nov 2013 10:11:03 -0700 Subject: rc-42 In-Reply-To: <527A76CD.7070104@gmail.com> References: <527A76CD.7070104@gmail.com> Message-ID: <50B34DED-71B7-4C71-85ED-D1FB815F480E@icloud.com> LC 6.1.3 contains a fairly specific bug fix or two that involve native scrollers in iOS apps. I guess RunRev thought it made more sense to do a quick 6.1.3 release rather than wait for a final 6.5 release, which I am grateful for. We (Read Naturally) are trying to get an app update into the app store, but we?ve been waiting for this particular fix. Chris -- Chris Sheffield Read Naturally, Inc. www.readnaturally.com On Nov 6, 2013, at 10:05 AM, Richmond wrote: > So; > > Let me get this right: > > 1. Livecode 6.1.3 release candidate 2 has just been released. > > 2. Livecode 6.5.0 release candidate 1 was released a few days ago. > > As 6.5.0, supposedly, is way more advanced than 6.1.3 why am I bothering with 6.1.3 ? > > Why are RunRev bothering to release further versions of 6.1.3 ? > > What am I missing? > > Richmond. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From heather at runrev.com Wed Nov 6 12:11:38 2013 From: heather at runrev.com (Heather Laine) Date: Wed, 6 Nov 2013 17:11:38 +0000 Subject: RELEASE: LiveCode 6.1.3-rc-2 Message-ID: <91429EC5-01BA-4B69-B65B-3A2B358BC51C@runrev.com> Dear list members, We are pleased to announce the release of LiveCode 6.1.3-rc-2. Warning: this is not a stable release. Please ensure you back up your stacks before testing them. This maintenance release contains the following changes: 7 bug fixes: * 11399 - iOS doesn't load any data unless the HTTP status code is 200 * 11385 - Ampersands in any of the Mac standalone settings prevent launching on Mavericks * 11379 - the childControlIds / childControlNames properties can return empty lines * 11289 - Some long URLs cause a crash in revBrowser * 11285 - Font settings don't work correctly in multi-line text fields on iOS 7 * 11242 - The iOS native scroller doesn't work correctly on iOS 7 * 11114 - secureMode restricts access to network This release can be downloaded from: http://downloads.livecode.com/livecode/6_1_3/ Warm Regards, The LiveCode Team. Heather Laine Customer Services Manager http://www.livecode.com/ From roger.e.eller at sealedair.com Wed Nov 6 12:15:19 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Wed, 6 Nov 2013 12:15:19 -0500 Subject: Keyboard in IOS and Field Focus In-Reply-To: References: Message-ID: Put the loc of fld "saidField" into tOrigLoc -- change the vertical point as you relocate the field. Move fld "saidField" to tOrigLoc --afterwards There is a property that you can look at to see if the keyboard is popped, but I don't remember what it is. ~Roger On Nov 6, 2013 11:18 AM, "Vaughn Clement" wrote: > Hi All > > I am trying to find any approaches where the card objects "Text Input" can > be adjusted when the keyboard covers the input field. I've spent hours > looking for a "Standard Approach" where LiveCode addresses this need. > > The field focus seems to be the key to selecting the field and the > relocation of the field to be moved into view from behind the popup > keyboard is the issue. > > This needs to work where a background may or may not be present. I think > that the background if present would allow the relocation in a script when > the focus is set to an input field. But I cannot find anything that > describes the script or any other options for moving the Input field/s up > above the popup keyboard. If you have a solution I would like to see this > scripting solution? > > Thank you > > Vaughn Clement > > Apps by Vaughn Clement (Support) > *http://www.appsbyvaughnclement.com/tools/home-page/ > * > Skype: vaughn.clement > https://secure.join.me/appsbyvclement > FaceTime: vclement at gmail.com > LogMeIn also avaialble > Call on "ooVoo" at address: vaughnclement or 9282549062 > Ph. 928-254-9062 > Cloud Hosting Registration Web Site: > https://my.oditech.com/cart.php?a=add&pid=41 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From richmondmathewson at gmail.com Wed Nov 6 12:20:15 2013 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 06 Nov 2013 19:20:15 +0200 Subject: 6.5 (dp 2) renders graphics badly In-Reply-To: References: <1383755658.50268.YahooMailBasic@web141105.mail.bf1.yahoo.com> <527A75A8.4050409@gmail.com> Message-ID: <527A7A4F.9090309@gmail.com> On 6.11.2013 19:10, william humphrey wrote: > Doesn't fix the badly rendered jpegs to use 6.5-rc-1 either as dither > or don't dither. Thanks for telling me where to report it. > > I don't quite understand what you mean. I imported 3 jpgs into a stack just now and they looked absolutely finr. Richmond. From bill at bluewatermaritime.com Wed Nov 6 12:22:45 2013 From: bill at bluewatermaritime.com (william humphrey) Date: Wed, 6 Nov 2013 13:22:45 -0400 Subject: 6.5 (dp 2) renders graphics badly In-Reply-To: <527A7A4F.9090309@gmail.com> References: <1383755658.50268.YahooMailBasic@web141105.mail.bf1.yahoo.com> <527A75A8.4050409@gmail.com> <527A7A4F.9090309@gmail.com> Message-ID: I have an image I can send you that shows it. The image is linked to the card. I am running Mavericks. I reported it on the new bugzilla just now. I will send a copy of the image to your email. On Wed, Nov 6, 2013 at 1:20 PM, Richmond wrote: > On 6.11.2013 19:10, william humphrey wrote: >> >> Doesn't fix the badly rendered jpegs to use 6.5-rc-1 either as dither >> or don't dither. Thanks for telling me where to report it. >> >> > > I don't quite understand what you mean. > > I imported 3 jpgs into a stack just now and they looked absolutely finr. > > Richmond. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- http://www.bluewatermaritime.com From rjb at robelko.com Wed Nov 6 12:12:48 2013 From: rjb at robelko.com (Robert Brenstein) Date: Wed, 6 Nov 2013 18:12:48 +0100 Subject: rc-42 In-Reply-To: <527A76CD.7070104@gmail.com> References: <527A76CD.7070104@gmail.com> Message-ID: On 06.11.2013 at 19:05 Uhr +0200 Richmond apparently wrote: >So; > >Let me get this right: > >1. Livecode 6.1.3 release candidate 2 has just been released. > >2. Livecode 6.5.0 release candidate 1 was released a few days ago. > >As 6.5.0, supposedly, is way more advanced than 6.1.3 why am I >bothering with 6.1.3 ? > >Why are RunRev bothering to release further versions of 6.1.3 ? > >What am I missing? > >Richmond. Sounds to me that after all the years of single-trunk racing, we finally have proper branch maintenance :-D RObert From dave at applicationinsight.com Wed Nov 6 12:26:34 2013 From: dave at applicationinsight.com (Dave Kilroy) Date: Wed, 6 Nov 2013 09:26:34 -0800 (PST) Subject: Keyboard in IOS and Field Focus In-Reply-To: References: Message-ID: <1383758794944-4671948.post@n4.nabble.com> Hi Vaughn In general on iOS I try to keep using LiveCode fields rather than going for native fields - I then have lots of functionality I'm used to - but do have to spend time making the field look pretty... So this is what I do: 1 - In my text entry field I make sure that 'TraversalOn' is set 2 - In the script of the field's card I have keyboardActivated and keyboardDeactivated handlers to catch the LiveCode messages and inside these I can call other handlers to move fields up and back down again catering for the keyboard 3 - Using the 'effective screenRect' provides the area of the app not taken up by the keyboard (when active) which you can use to calculate where to move the text entry field and other stuff to 4 - In the field's script I'll also have a returnInField handler where I can 'set the focus to nothing' to dismiss the keyboard (and can also 'set the focus to nothing' in a mouseDown handler in the card And that's about it really - I do some other stuff in resizeStack to check if the keyboard is showing so that the app can change orientation gracefully with the keyboard up if the user rotates the device - and I think the final thing to watch out for is to return everything to its proper place if the user opened the keyboard in portrait orientation and closed it in landscape Does this help? If not then please clarify... Dave ----- "Some are born coders, some achieve coding, and some have coding thrust upon them." - William Shakespeare & Hugh Senior -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Keyboard-in-IOS-and-Field-Focus-tp4671935p4671948.html Sent from the Revolution - User mailing list archive at Nabble.com. From mcgrath3 at mac.com Wed Nov 6 12:30:41 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Wed, 06 Nov 2013 12:30:41 -0500 Subject: [ANN] New open source external mergContact In-Reply-To: References: Message-ID: <8943B1B1-0D6C-40D3-A192-FBCA0DDDCF52@mac.com> Where exactly are the binaries on your site???? Thanks Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com On Nov 5, 2013, at 5:40 PM, Monte Goulding wrote: > The binaries are available under a free account at mergExt.com From bill at bluewatermaritime.com Wed Nov 6 12:38:16 2013 From: bill at bluewatermaritime.com (william humphrey) Date: Wed, 6 Nov 2013 13:38:16 -0400 Subject: 6.5 (dp 2) renders graphics badly In-Reply-To: References: <1383755658.50268.YahooMailBasic@web141105.mail.bf1.yahoo.com> <527A75A8.4050409@gmail.com> <527A7A4F.9090309@gmail.com> Message-ID: I highly recommend reporting problems with LiveCode like this to the new Bugzilla. I got an immediate follow-up. On Wed, Nov 6, 2013 at 1:22 PM, william humphrey wrote: > I have an image I can send you that shows it. The image is linked to > the card. I am running Mavericks. I reported it on the new bugzilla > just now. I will send a copy of the image to your email. > > On Wed, Nov 6, 2013 at 1:20 PM, Richmond wrote: >> On 6.11.2013 19:10, william humphrey wrote: >>> >>> Doesn't fix the badly rendered jpegs to use 6.5-rc-1 either as dither >>> or don't dither. Thanks for telling me where to report it. >>> >>> >> >> I don't quite understand what you mean. >> >> I imported 3 jpgs into a stack just now and they looked absolutely finr. >> >> Richmond. >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > -- > http://www.bluewatermaritime.com -- http://www.bluewatermaritime.com From andrew at ctech.me Wed Nov 6 13:47:20 2013 From: andrew at ctech.me (Andrew Kluthe) Date: Wed, 6 Nov 2013 12:47:20 -0600 Subject: rc-42 In-Reply-To: References: <527A76CD.7070104@gmail.com> Message-ID: Yup, specific platform fixes for more stable versions without the new big name experimental features in 6.5 On Wed, Nov 6, 2013 at 11:12 AM, Robert Brenstein wrote: > On 06.11.2013 at 19:05 Uhr +0200 Richmond apparently wrote: > >> So; >> >> Let me get this right: >> >> 1. Livecode 6.1.3 release candidate 2 has just been released. >> >> 2. Livecode 6.5.0 release candidate 1 was released a few days ago. >> >> As 6.5.0, supposedly, is way more advanced than 6.1.3 why am I bothering >> with 6.1.3 ? >> >> Why are RunRev bothering to release further versions of 6.1.3 ? >> >> What am I missing? >> >> Richmond. >> > > Sounds to me that after all the years of single-trunk racing, we finally > have proper branch maintenance :-D > > RObert > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Regards, Andrew Kluthe andrew at ctech.me From monte at sweattechnologies.com Wed Nov 6 14:18:23 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu, 7 Nov 2013 06:18:23 +1100 Subject: [ANN] New open source external mergContact In-Reply-To: <8943B1B1-0D6C-40D3-A192-FBCA0DDDCF52@mac.com> References: <8943B1B1-0D6C-40D3-A192-FBCA0DDDCF52@mac.com> Message-ID: <1407EFC8-7F4C-4708-8EA9-1DBA81B08027@sweattechnologies.com> On 07/11/2013, at 4:30 AM, Thomas McGrath III wrote: > Where exactly are the binaries on your site???? Woops... it's in the right directory now so there should be a link in the free externals section at the bottom of the downlod page Cheers -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From monte at sweattechnologies.com Wed Nov 6 14:56:06 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu, 7 Nov 2013 06:56:06 +1100 Subject: Where to put externals so IDE finds them? In-Reply-To: <93A8467DEF444D4695EED62AA386FBC0@PAULD> References: <9BA4FBDA058F415F9F04D54170D3B1B6@PAULD> <175E55F7-1DD3-4AEA-9BD6-53DA31DFC1CB@sweattechnologies.com> <93A8467DEF444D4695EED62AA386FBC0@PAULD> Message-ID: On 06/11/2013, at 5:57 PM, "Paul D. DeRocco" wrote: > Does a standalone automatically find > and load all externals that are stored there (under the appropriate > architecture) with no need to list them as stack properties Yes -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From ray at linkit.com Wed Nov 6 15:05:57 2013 From: ray at linkit.com (Ray) Date: Wed, 06 Nov 2013 15:05:57 -0500 Subject: Detect a Column Heading Clicked and Highlight the Column In-Reply-To: <1407EFC8-7F4C-4708-8EA9-1DBA81B08027@sweattechnologies.com> References: <8943B1B1-0D6C-40D3-A192-FBCA0DDDCF52@mac.com> <1407EFC8-7F4C-4708-8EA9-1DBA81B08027@sweattechnologies.com> Message-ID: <527AA125.6090907@LinkIt.Com> Anybody know how to do this in a datagrid? I'd like to keep the datagrid unsortable so I hope this doesn't require setting a property which will let users click a column heading and sort by it. Thanks, Ray From monte at sweattechnologies.com Wed Nov 6 15:10:51 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu, 7 Nov 2013 07:10:51 +1100 Subject: rc-42 In-Reply-To: References: <527A76CD.7070104@gmail.com> Message-ID: On 07/11/2013, at 5:47 AM, Andrew Kluthe wrote: > Yup, specific platform fixes for more stable versions without the new big > name experimental features in 6.5 Yep, the way Mark Waddingham has worked out the branching scheme for the LC repo allows for this until 6.5 is released. When a released a version becomes the head of the master branch from which all bugfixes and features are branched. So if a bug fix is made it can be integrated into both a maintenance release and the develop branch for the next feature release. I wouldn't expect 6.1 to be maintained after 6.5 is released but I would expect it to be maintained until it is released. While it is still possible if the bug is critical enough to branch a bugfix off an older release tag on the master branch it's probably going to be rare. Cheers -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From richmondmathewson at gmail.com Wed Nov 6 15:13:38 2013 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 06 Nov 2013 22:13:38 +0200 Subject: rc-42 In-Reply-To: References: <527A76CD.7070104@gmail.com> Message-ID: <527AA2F2.7010601@gmail.com> On 6.11.2013 22:10, Monte Goulding wrote: > On 07/11/2013, at 5:47 AM, Andrew Kluthe wrote: > >> Yup, specific platform fixes for more stable versions without the new big >> name experimental features in 6.5 > Yep, the way Mark Waddingham has worked out the branching scheme for the LC repo allows for this until 6.5 is released. When a released a version becomes the head of the master branch from which all bugfixes and features are branched. So if a bug fix is made it can be integrated into both a maintenance release and the develop branch for the next feature release. I wouldn't expect 6.1 to be maintained after 6.5 is released but I would expect it to be maintained until it is released. While it is still possible if the bug is critical enough to branch a bugfix off an older release tag on the master branch it's probably going to be rare. > > Cheers > > -- > Monte Goulding > > M E R Goulding - software development services > mergExt - There's an external for that! > > > Obviously I'm being stupid again, as I am unaware of the branching system. Can you be so kind as to point out to me where I may read about it in more detail. Richmond. From monte at sweattechnologies.com Wed Nov 6 15:23:34 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu, 7 Nov 2013 07:23:34 +1100 Subject: rc-42 In-Reply-To: <527AA2F2.7010601@gmail.com> References: <527A76CD.7070104@gmail.com> <527AA2F2.7010601@gmail.com> Message-ID: <27BE7E0E-0CBA-44CA-847E-4B510FD76CCE@sweattechnologies.com> On 07/11/2013, at 7:13 AM, Richmond wrote: > Obviously I'm being stupid again, as I am unaware of the branching system. > > Can you be so kind as to point out to me where I may read about it in more detail. Funnily enough the same page I pointed out the other day ;-) http://livecode.com/community/contribute-to-livecode/ -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From richmondmathewson at gmail.com Wed Nov 6 15:44:58 2013 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 06 Nov 2013 22:44:58 +0200 Subject: rc-42 In-Reply-To: <27BE7E0E-0CBA-44CA-847E-4B510FD76CCE@sweattechnologies.com> References: <527A76CD.7070104@gmail.com> <527AA2F2.7010601@gmail.com> <27BE7E0E-0CBA-44CA-847E-4B510FD76CCE@sweattechnologies.com> Message-ID: <527AAA4A.7050709@gmail.com> On 6.11.2013 22:23, Monte Goulding wrote: > On 07/11/2013, at 7:13 AM, Richmond wrote: > >> Obviously I'm being stupid again, as I am unaware of the branching system. >> >> Can you be so kind as to point out to me where I may read about it in more detail. > Funnily enough the same page I pointed out the other day ;-) > > http://livecode.com/community/contribute-to-livecode/ > > -- > Monte Goulding > > M E R Goulding - software development services > mergExt - There's an external for that! > > > That page is a mine of information; but, like most mines, quite a bit of work with pick and shovel is required to find the nuggets of gold. Thanks. Richmond. From monte at sweattechnologies.com Wed Nov 6 15:48:38 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu, 7 Nov 2013 07:48:38 +1100 Subject: rc-42 In-Reply-To: <527AAA4A.7050709@gmail.com> References: <527A76CD.7070104@gmail.com> <527AA2F2.7010601@gmail.com> <27BE7E0E-0CBA-44CA-847E-4B510FD76CCE@sweattechnologies.com> <527AAA4A.7050709@gmail.com> Message-ID: On 07/11/2013, at 7:44 AM, Richmond wrote: > That page is a mine of information; but, like most mines, quite a bit of work with pick > and shovel is required to find the nuggets of gold. Well... it's a complicated topic but here's an article about a branching model that's close to what we do on the engine: http://nvie.com/posts/a-successful-git-branching-model/ Cheers -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From zryip.theslug at gmail.com Wed Nov 6 15:51:09 2013 From: zryip.theslug at gmail.com (zryip theSlug) Date: Wed, 6 Nov 2013 21:51:09 +0100 Subject: Detect a Column Heading Clicked and Highlight the Column In-Reply-To: <527AA125.6090907@LinkIt.Com> References: <8943B1B1-0D6C-40D3-A192-FBCA0DDDCF52@mac.com> <1407EFC8-7F4C-4708-8EA9-1DBA81B08027@sweattechnologies.com> <527AA125.6090907@LinkIt.Com> Message-ID: Hi Ray, You can use DGH for this. 1. In the scripts topic, click on the "Columns sorting"'s install script button and select the "Disable sort" option 2. For highlighting a column by clicking on it's header, please follow this lesson: http://lessons.runrev.com/s/lessons/m/4068/l/56190-how-do-i-change-the-default-header-behavior-of-a-datagrid and install the "Select column" script. On Wed, Nov 6, 2013 at 9:05 PM, Ray wrote: > Anybody know how to do this in a datagrid? I'd like to keep the datagrid > unsortable so I hope this doesn't require setting a property which will let > users click a column heading and sort by it. > > Thanks, > > Ray > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode Best, -- Zryip TheSlug http://www.aslugontheroad.com From kee at kagi.com Wed Nov 6 15:52:10 2013 From: kee at kagi.com (kee nethery) Date: Wed, 6 Nov 2013 12:52:10 -0800 Subject: HTTPS In-Reply-To: References: <67116DB20798A94285EEE12A67079A283261E783@MHSEXC02.westrac.com.au> <5279AEA6.2040400@hyperactivesw.com> <67116DB20798A94285EEE12A67079A283261E9ED@MHSEXC02.westrac.com.au> <5279CA78.8080800@hyperactivesw.com> <67116DB20798A94285EEE12A67079A283261ECEA@MHSEXC02.westrac.com.au>, <5279D553.4070908@hyperactivesw.com> Message-ID: I?m trying to imagine how you would set up an HTTPS connection to a server through a proxy. The whole point of an HTTPS connection is to prevent a man-in-the-middle attack and a proxy is a prime example of a man-in-the-middle attack. http://stackoverflow.com/questions/516323/https-connections-over-proxy-servers Kee Nethery On Nov 6, 2013, at 1:51 AM, Nakia Brewer wrote: > Thinking I might try this library out and see if it simplifies things for cURL > > http://marksmith.on-rev.com/revstuff/files/libRevCurl.zip > > > Sent from my iPhone > > On 6 Nov 2013, at 4:36 pm, "J. Landman Gay" > wrote: > > Unfortunately GLX doesn't support HTTPS through a proxy, though it does support most types of proxies when you send regular HTTP requests. > > > On 11/5/13 10:56 PM, Nakia Brewer wrote: > Okay, does anyone happen to know if the custom libURL in GLX Application Framework gets over this issue? > I am happy to convert it to GLX If need be :) > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of J. Landman Gay > Sent: Wednesday, 06 November 2013 15:50 > To: How to use LiveCode > Subject: Re: HTTPS > > Yes, all internet connectivity goes through libURL. You do have use > shell if you want to bypass it. > > > On 11/5/13 9:45 PM, Nakia Brewer wrote: > Is it fair for me to assume that because I am using a raw expression and not referring libURL that I am not using the libURL Library? > Or is libURL used for all internet requests? > > My call for example; > set the httpHeaders to "Proxy-Authorization: Basic" && base64Encode(tUsername & colon & tPassword) &cr&"Content-Type:application/xml"&cr&"Accept:application/xml" > get URL ("https://" & userName & ":" & URLEncode(userPass) &"@"&theSubDomain&".harvestapp.com/daily") > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of J. Landman Gay > Sent: Wednesday, 06 November 2013 13:51 > To: How to use LiveCode > Subject: Re: HTTPS > > On 11/5/13 8:21 PM, Nakia Brewer wrote: > Hi, > > I have asked about this issue on the Forum some time ago but never got back to testing it further. > I have a desktop application that needs to communicate to a REST API over HTTPS and I am having issues with what I think is a certificate problem when I try and use the application on my work network. > NOTE - This issues doesn't occur at my home network. > > So, to explain the issue. > When I do a HTTPS Request (Via GET) I get returned a Error 10061 on socket > - IT can NOT see my request at the Proxy > > Now if I do a simple HTTP Request (Via GET) it works correctly > - IT can confirm they are seeing my request at the Proxy. > > I have tried setting the libUrlSetSSlVerification false but to no avail. > I don't know much about SSL or anything but is it fair for me to assume that the work network is denying my connection because it is HTTPS without a certificate? > If that is the case I have found how to point to certificates but have no idea where/how to generate a certificate that would be valid so the connection works? > > I hope this makes some sense and I look forward to any idea's you all may have! > > As I understand it, libURL (the internet library) doesn't support HTTPS > via proxies. I am facing a similar issue right now. > > > > > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mcgrath3 at mac.com Wed Nov 6 15:54:28 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Wed, 06 Nov 2013 15:54:28 -0500 Subject: Where to put externals so IDE finds them? In-Reply-To: References: <9BA4FBDA058F415F9F04D54170D3B1B6@PAULD> <175E55F7-1DD3-4AEA-9BD6-53DA31DFC1CB@sweattechnologies.com> <93A8467DEF444D4695EED62AA386FBC0@PAULD> Message-ID: I tried the demo and keep getting this error in the simulator: 219,5,11,mergContactImage 465,5,1 Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com On Nov 6, 2013, at 2:56 PM, Monte Goulding wrote: > > On 06/11/2013, at 5:57 PM, "Paul D. DeRocco" wrote: > >> Does a standalone automatically find >> and load all externals that are stored there (under the appropriate >> architecture) with no need to list them as stack properties > > Yes > > -- > Monte Goulding > > M E R Goulding - software development services > mergExt - There's an external for that! > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From kee at kagi.com Wed Nov 6 15:56:11 2013 From: kee at kagi.com (kee nethery) Date: Wed, 6 Nov 2013 12:56:11 -0800 Subject: On-Rev desktop client In-Reply-To: <0B908746-2F0F-4331-8110-D81D92F5B4F4@sahores-conseil.com> References: <52799A5A.4000402@pdslabs.net> <0B908746-2F0F-4331-8110-D81D92F5B4F4@sahores-conseil.com> Message-ID: When you do the server in stacks with ?starts using? does the stack have contention issues when 10 people are hitting the CGI at the exact same time? Or does it open a copy of the stack, do it?s thing, and return data out the CGI connection without causing problems for all the other CGI connections happening at the same time? I guess the big tell is, if you set a field in the stack from one connection, can you see that value with the next CGI connection, ie is the stack shared and used one at a time? Kee On Nov 6, 2013, at 1:39 AM, Pierre Sahores wrote: > Same here and it's probably definitively the best way to avoid any on-rev client app need ;-) > > D?but du message r?exp?di? : > >> The absence of an on-rev desktop client is one thing that pushed me (hard!) toward doing all 'real' processing in the scripts of stacks that the .lc page 'starts using'. That way I can do all my server programming in the IDE. >> >> Of course my approach may not be optimum if you organizing your .lc page code like PHP. >> >> Phil Davis > > -- > Pierre Sahores > mobile : 06 03 95 77 70 > www.sahores-conseil.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From Nakia.Brewer at westrac.com.au Wed Nov 6 16:00:00 2013 From: Nakia.Brewer at westrac.com.au (Nakia Brewer) Date: Wed, 6 Nov 2013 21:00:00 +0000 Subject: HTTPS In-Reply-To: References: <67116DB20798A94285EEE12A67079A283261E783@MHSEXC02.westrac.com.au> <5279AEA6.2040400@hyperactivesw.com> <67116DB20798A94285EEE12A67079A283261E9ED@MHSEXC02.westrac.com.au> <5279CA78.8080800@hyperactivesw.com> <67116DB20798A94285EEE12A67079A283261ECEA@MHSEXC02.westrac.com.au>, <5279D553.4070908@hyperactivesw.com> Message-ID: <67116DB20798A94285EEE12A67079A2832620974@MHSEXC02.westrac.com.au> I'm not overly sure to be honest but it's an issue I imagine many people have to overcome as many large corporate networks now route all traffic through proxies.. -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of kee nethery Sent: Thursday, 07 November 2013 07:52 To: How to use LiveCode Subject: Re: HTTPS I'm trying to imagine how you would set up an HTTPS connection to a server through a proxy. The whole point of an HTTPS connection is to prevent a man-in-the-middle attack and a proxy is a prime example of a man-in-the-middle attack. http://stackoverflow.com/questions/516323/https-connections-over-proxy-servers Kee Nethery On Nov 6, 2013, at 1:51 AM, Nakia Brewer wrote: > Thinking I might try this library out and see if it simplifies things for cURL > > http://marksmith.on-rev.com/revstuff/files/libRevCurl.zip > > > Sent from my iPhone > > On 6 Nov 2013, at 4:36 pm, "J. Landman Gay" > wrote: > > Unfortunately GLX doesn't support HTTPS through a proxy, though it does support most types of proxies when you send regular HTTP requests. > > > On 11/5/13 10:56 PM, Nakia Brewer wrote: > Okay, does anyone happen to know if the custom libURL in GLX Application Framework gets over this issue? > I am happy to convert it to GLX If need be :) > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of J. Landman Gay > Sent: Wednesday, 06 November 2013 15:50 > To: How to use LiveCode > Subject: Re: HTTPS > > Yes, all internet connectivity goes through libURL. You do have use > shell if you want to bypass it. > > > On 11/5/13 9:45 PM, Nakia Brewer wrote: > Is it fair for me to assume that because I am using a raw expression and not referring libURL that I am not using the libURL Library? > Or is libURL used for all internet requests? > > My call for example; > set the httpHeaders to "Proxy-Authorization: Basic" && base64Encode(tUsername & colon & tPassword) &cr&"Content-Type:application/xml"&cr&"Accept:application/xml" > get URL ("https://" & userName & ":" & URLEncode(userPass) &"@"&theSubDomain&".harvestapp.com/daily") > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of J. Landman Gay > Sent: Wednesday, 06 November 2013 13:51 > To: How to use LiveCode > Subject: Re: HTTPS > > On 11/5/13 8:21 PM, Nakia Brewer wrote: > Hi, > > I have asked about this issue on the Forum some time ago but never got back to testing it further. > I have a desktop application that needs to communicate to a REST API over HTTPS and I am having issues with what I think is a certificate problem when I try and use the application on my work network. > NOTE - This issues doesn't occur at my home network. > > So, to explain the issue. > When I do a HTTPS Request (Via GET) I get returned a Error 10061 on socket > - IT can NOT see my request at the Proxy > > Now if I do a simple HTTP Request (Via GET) it works correctly > - IT can confirm they are seeing my request at the Proxy. > > I have tried setting the libUrlSetSSlVerification false but to no avail. > I don't know much about SSL or anything but is it fair for me to assume that the work network is denying my connection because it is HTTPS without a certificate? > If that is the case I have found how to point to certificates but have no idea where/how to generate a certificate that would be valid so the connection works? > > I hope this makes some sense and I look forward to any idea's you all may have! > > As I understand it, libURL (the internet library) doesn't support HTTPS > via proxies. I am facing a similar issue right now. > > > > > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 at 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 at 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. From monte at sweattechnologies.com Wed Nov 6 16:02:02 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu, 7 Nov 2013 08:02:02 +1100 Subject: Where to put externals so IDE finds them? In-Reply-To: References: <9BA4FBDA058F415F9F04D54170D3B1B6@PAULD> <175E55F7-1DD3-4AEA-9BD6-53DA31DFC1CB@sweattechnologies.com> <93A8467DEF444D4695EED62AA386FBC0@PAULD> Message-ID: <1522DCFC-A778-4C5A-9CA1-211591EB4A98@sweattechnologies.com> On 07/11/2013, at 7:54 AM, Thomas McGrath III wrote: > I tried the demo and keep getting this error in the simulator: > > 219,5,11,mergContactImage > 465,5,1 Hmm... could you check the path to the lcext in the copy files would be found? -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From monte at sweattechnologies.com Wed Nov 6 16:04:47 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu, 7 Nov 2013 08:04:47 +1100 Subject: On-Rev desktop client In-Reply-To: References: <52799A5A.4000402@pdslabs.net> <0B908746-2F0F-4331-8110-D81D92F5B4F4@sahores-conseil.com> Message-ID: <4065E650-7C92-4DE3-A24B-97FB86D82A42@sweattechnologies.com> On 07/11/2013, at 7:56 AM, kee nethery wrote: > When you do the server in stacks with ?starts using? does the stack have contention issues when 10 people are hitting the CGI at the exact same time? Or does it open a copy of the stack, do it?s thing, and return data out the CGI connection without causing problems for all the other CGI connections happening at the same time? > > I guess the big tell is, if you set a field in the stack from one connection, can you see that value with the next CGI connection, ie is the stack shared and used one at a time? Each hit to a CGI runs as a separate process... you would have issues if you saved the stack in an attempt to use it like a database though. Cheers -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From monte at sweattechnologies.com Wed Nov 6 16:05:18 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu, 7 Nov 2013 08:05:18 +1100 Subject: HTTPS In-Reply-To: References: <67116DB20798A94285EEE12A67079A283261E783@MHSEXC02.westrac.com.au> <5279AEA6.2040400@hyperactivesw.com> <67116DB20798A94285EEE12A67079A283261E9ED@MHSEXC02.westrac.com.au> <5279CA78.8080800@hyperactivesw.com> <67116DB20798A94285EEE12A67079A283261ECEA@MHSEXC02.westrac.com.au>, <5279D553.4070908@hyperactivesw.com> Message-ID: <09BB0857-6F61-4712-B4AE-34C84CA51966@sweattechnologies.com> On 07/11/2013, at 7:52 AM, kee nethery wrote: > I?m trying to imagine how you would set up an HTTPS connection to a server through a proxy. The whole point of an HTTPS connection is to prevent a man-in-the-middle attack and a proxy is a prime example of a man-in-the-middle attack. > > http://stackoverflow.com/questions/516323/https-connections-over-proxy-servers There's a protocol called CONNECT. It doesn't look that complicated but it's not in libURL. Cheers -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From Nakia.Brewer at westrac.com.au Wed Nov 6 16:10:52 2013 From: Nakia.Brewer at westrac.com.au (Nakia Brewer) Date: Wed, 6 Nov 2013 21:10:52 +0000 Subject: HTTPS In-Reply-To: <09BB0857-6F61-4712-B4AE-34C84CA51966@sweattechnologies.com> References: <67116DB20798A94285EEE12A67079A283261E783@MHSEXC02.westrac.com.au> <5279AEA6.2040400@hyperactivesw.com> <67116DB20798A94285EEE12A67079A283261E9ED@MHSEXC02.westrac.com.au> <5279CA78.8080800@hyperactivesw.com> <67116DB20798A94285EEE12A67079A283261ECEA@MHSEXC02.westrac.com.au>, <5279D553.4070908@hyperactivesw.com> <09BB0857-6F61-4712-B4AE-34C84CA51966@sweattechnologies.com> Message-ID: <67116DB20798A94285EEE12A67079A28326209EF@MHSEXC02.westrac.com.au> It's frustrating to say the least, especially seeing as I can do a few test with the REST Add-on for Firefox and it all works.. switch to LC and bamm, no dice! -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Monte Goulding Sent: Thursday, 07 November 2013 08:05 To: How to use LiveCode Subject: Re: HTTPS On 07/11/2013, at 7:52 AM, kee nethery wrote: > I'm trying to imagine how you would set up an HTTPS connection to a server through a proxy. The whole point of an HTTPS connection is to prevent a man-in-the-middle attack and a proxy is a prime example of a man-in-the-middle attack. > > http://stackoverflow.com/questions/516323/https-connections-over-proxy-servers There's a protocol called CONNECT. It doesn't look that complicated but it's not in libURL. Cheers -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! _______________________________________________ use-livecode mailing list use-livecode at 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. From mcgrath3 at mac.com Wed Nov 6 16:23:29 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Wed, 06 Nov 2013 16:23:29 -0500 Subject: Where to put externals so IDE finds them? In-Reply-To: <1522DCFC-A778-4C5A-9CA1-211591EB4A98@sweattechnologies.com> References: <9BA4FBDA058F415F9F04D54170D3B1B6@PAULD> <175E55F7-1DD3-4AEA-9BD6-53DA31DFC1CB@sweattechnologies.com> <93A8467DEF444D4695EED62AA386FBC0@PAULD> <1522DCFC-A778-4C5A-9CA1-211591EB4A98@sweattechnologies.com> Message-ID: <7DCDF5A3-70F3-4814-8273-AD1938341C8C@mac.com> That fixed it. Thanks -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com On Nov 6, 2013, at 4:02 PM, Monte Goulding wrote: > > On 07/11/2013, at 7:54 AM, Thomas McGrath III wrote: > >> I tried the demo and keep getting this error in the simulator: >> >> 219,5,11,mergContactImage >> 465,5,1 > > Hmm... could you check the path to the lcext in the copy files would be found? > > -- > Monte Goulding > > M E R Goulding - software development services > mergExt - There's an external for that! > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From monte at sweattechnologies.com Wed Nov 6 16:24:54 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu, 7 Nov 2013 08:24:54 +1100 Subject: Where to put externals so IDE finds them? In-Reply-To: <7DCDF5A3-70F3-4814-8273-AD1938341C8C@mac.com> References: <9BA4FBDA058F415F9F04D54170D3B1B6@PAULD> <175E55F7-1DD3-4AEA-9BD6-53DA31DFC1CB@sweattechnologies.com> <93A8467DEF444D4695EED62AA386FBC0@PAULD> <1522DCFC-A778-4C5A-9CA1-211591EB4A98@sweattechnologies.com> <7DCDF5A3-70F3-4814-8273-AD1938341C8C@mac.com> Message-ID: <83BC4C44-65A4-47AB-9EA7-A33F864AF4C2@sweattechnologies.com> Whew ;-) On 07/11/2013, at 8:23 AM, Thomas McGrath III wrote: > That fixed it. -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From kee at kagi.com Wed Nov 6 16:36:14 2013 From: kee at kagi.com (kee nethery) Date: Wed, 6 Nov 2013 13:36:14 -0800 Subject: HTTPS In-Reply-To: <67116DB20798A94285EEE12A67079A28326209EF@MHSEXC02.westrac.com.au> References: <67116DB20798A94285EEE12A67079A283261E783@MHSEXC02.westrac.com.au> <5279AEA6.2040400@hyperactivesw.com> <67116DB20798A94285EEE12A67079A283261E9ED@MHSEXC02.westrac.com.au> <5279CA78.8080800@hyperactivesw.com> <67116DB20798A94285EEE12A67079A283261ECEA@MHSEXC02.westrac.com.au>, <5279D553.4070908@hyperactivesw.com> <09BB0857-6F61-4712-B4AE-34C84CA51966@sweattechnologies.com> <67116DB20798A94285EEE12A67079A28326209EF@MHSEXC02.westrac.com.au> Message-ID: <4B79F3E5-2A39-4621-A669-E88D37B6B0C7@kagi.com> You might want to talk to the IT staff at that site to find out what they suggest for operating through the proxy. Could be some appliance firewall acting as the proxy needs something in it?s setup to make this work. Kee On Nov 6, 2013, at 1:10 PM, Nakia Brewer wrote: > It's frustrating to say the least, especially seeing as I can do a few test with the > REST Add-on for Firefox and it all works.. switch to LC and bamm, no dice! > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Monte Goulding > Sent: Thursday, 07 November 2013 08:05 > To: How to use LiveCode > Subject: Re: HTTPS > > > On 07/11/2013, at 7:52 AM, kee nethery wrote: > >> I'm trying to imagine how you would set up an HTTPS connection to a server through a proxy. The whole point of an HTTPS connection is to prevent a man-in-the-middle attack and a proxy is a prime example of a man-in-the-middle attack. >> >> http://stackoverflow.com/questions/516323/https-connections-over-proxy-servers > > There's a protocol called CONNECT. It doesn't look that complicated but it's not in libURL. > > Cheers > > -- > Monte Goulding > > M E R Goulding - software development services > mergExt - There's an external for that! > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From Nakia.Brewer at westrac.com.au Wed Nov 6 16:38:36 2013 From: Nakia.Brewer at westrac.com.au (Nakia Brewer) Date: Wed, 6 Nov 2013 21:38:36 +0000 Subject: HTTPS In-Reply-To: <4B79F3E5-2A39-4621-A669-E88D37B6B0C7@kagi.com> References: <67116DB20798A94285EEE12A67079A283261E783@MHSEXC02.westrac.com.au> <5279AEA6.2040400@hyperactivesw.com> <67116DB20798A94285EEE12A67079A283261E9ED@MHSEXC02.westrac.com.au> <5279CA78.8080800@hyperactivesw.com> <67116DB20798A94285EEE12A67079A283261ECEA@MHSEXC02.westrac.com.au>, <5279D553.4070908@hyperactivesw.com> <09BB0857-6F61-4712-B4AE-34C84CA51966@sweattechnologies.com> <67116DB20798A94285EEE12A67079A28326209EF@MHSEXC02.westrac.com.au> <4B79F3E5-2A39-4621-A669-E88D37B6B0C7@kagi.com> Message-ID: <67116DB20798A94285EEE12A67079A2832620A8F@MHSEXC02.westrac.com.au> Thanks, that is today's plan.. I'm hoping I could maybe convince them to add an exception to let this program not go through any proxy.. -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of kee nethery Sent: Thursday, 07 November 2013 08:36 To: How to use LiveCode Subject: Re: HTTPS You might want to talk to the IT staff at that site to find out what they suggest for operating through the proxy. Could be some appliance firewall acting as the proxy needs something in it's setup to make this work. Kee On Nov 6, 2013, at 1:10 PM, Nakia Brewer wrote: > It's frustrating to say the least, especially seeing as I can do a few test with the > REST Add-on for Firefox and it all works.. switch to LC and bamm, no dice! > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Monte Goulding > Sent: Thursday, 07 November 2013 08:05 > To: How to use LiveCode > Subject: Re: HTTPS > > > On 07/11/2013, at 7:52 AM, kee nethery wrote: > >> I'm trying to imagine how you would set up an HTTPS connection to a server through a proxy. The whole point of an HTTPS connection is to prevent a man-in-the-middle attack and a proxy is a prime example of a man-in-the-middle attack. >> >> http://stackoverflow.com/questions/516323/https-connections-over-proxy-servers > > There's a protocol called CONNECT. It doesn't look that complicated but it's not in libURL. > > Cheers > > -- > Monte Goulding > > M E R Goulding - software development services > mergExt - There's an external for that! > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 at 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 at 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. From vclement at gmail.com Wed Nov 6 16:46:19 2013 From: vclement at gmail.com (Vaughn Clement) Date: Wed, 6 Nov 2013 14:46:19 -0700 Subject: Keyboard in IOS and Field Focus In-Reply-To: <1383758794944-4671948.post@n4.nabble.com> References: <1383758794944-4671948.post@n4.nabble.com> Message-ID: Hi Dave Your Comments: In general on iOS I try to keep using LiveCode fields rather than going for native fields *** Please explain what your calling "NativeFields" and LiveCode fields? - I then have lots of functionality I'm used to - but do have to spend time making the field look pretty... *** How do the fields look different? So this is what I do: 1 - In my text entry field I make sure that 'TraversalOn' is set *** Is this found in the property inspector? 2 - In the script of the field's card I have keyboardActivated and keyboardDeactivated handlers to catch the LiveCode messages and inside these I can call other handlers to move fields up and back down again catering for the keyboard *** This is the interesting think about LiveCode is there are so many ways to code things. Do you have an example of this script? 3 - Using the 'effective screenRect' provides the area of the app not taken up by the keyboard (when active) which you can use to calculate where to move the text entry field and other stuff to *** I have many fields and labels to move, so can I move the entire "group" up when the user clicks in the text field behind the keyboard? This way only the fields under a keyboard would trigger the group to move up showing the objects that are behind the keyboard. 4 - In the field's script I'll also have a returnInField handler where I can 'set the focus to nothing' to dismiss the keyboard (and can also 'set the focus to nothing' in a mouseDown handler in the card *** Can this work where the user exits the field and the focus change removes the keyboard and gives the expected change where the group fields return to the normal state down and shown in the normal place? And that's about it really - I do some other stuff in resizeStack to check if the keyboard is showing so that the app can change orientation gracefully with the keyboard up if the user rotates the device - and I think the final thing to watch out for is to return everything to its proper place if the user opened the keyboard in portrait orientation and closed it in landscape *** In this app I set the Landscape to true with no change to portrait. Does this help? If not then please clarify... Thank you Vaughn Clement Apps by Vaughn Clement (Support) *http://www.appsbyvaughnclement.com/tools/home-page/ * Skype: vaughn.clement https://secure.join.me/appsbyvclement FaceTime: vclement at gmail.com LogMeIn also avaialble Call on "ooVoo" at address: vaughnclement or 9282549062 Ph. 928-254-9062 Cloud Hosting Registration Web Site: https://my.oditech.com/cart.php?a=add&pid=41 On Wed, Nov 6, 2013 at 10:26 AM, Dave Kilroy wrote: > Hi Vaughn > > In general on iOS I try to keep using LiveCode fields rather than going for > native fields - I then have lots of functionality I'm used to - but do have > to spend time making the field look pretty... > > So this is what I do: > > 1 - In my text entry field I make sure that 'TraversalOn' is set > 2 - In the script of the field's card I have keyboardActivated and > keyboardDeactivated handlers to catch the LiveCode messages and inside > these > I can call other handlers to move fields up and back down again catering > for > the keyboard > 3 - Using the 'effective screenRect' provides the area of the app not taken > up by the keyboard (when active) which you can use to calculate where to > move the text entry field and other stuff to > 4 - In the field's script I'll also have a returnInField handler where I > can > 'set the focus to nothing' to dismiss the keyboard (and can also 'set the > focus to nothing' in a mouseDown handler in the card > > And that's about it really - I do some other stuff in resizeStack to check > if the keyboard is showing so that the app can change orientation > gracefully > with the keyboard up if the user rotates the device - and I think the final > thing to watch out for is to return everything to its proper place if the > user opened the keyboard in portrait orientation and closed it in landscape > > Does this help? If not then please clarify... > > Dave > > > > ----- > "Some are born coders, some achieve coding, and some have coding thrust > upon them." - William Shakespeare & Hugh Senior > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/Keyboard-in-IOS-and-Field-Focus-tp4671935p4671948.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From sc at sahores-conseil.com Wed Nov 6 16:55:20 2013 From: sc at sahores-conseil.com (Pierre Sahores) Date: Wed, 6 Nov 2013 22:55:20 +0100 Subject: On-Rev desktop client In-Reply-To: References: <52799A5A.4000402@pdslabs.net> <0B908746-2F0F-4331-8110-D81D92F5B4F4@sahores-conseil.com> Message-ID: Hi Kee, You second tough matters : to be used in a full reliable way, the stack has to be used as a simple read-only handlers container. In this way, the lc script witch call it is't able to cause any interlocking problem with one of the other Apache managed CGI connections happening in the same time, just alike is goes with other standard CGI platform (PHP, Perl, RoR, Tomcat,?). To get such a configuration 100% reliable, we need to avoid to see the server-side container stack as some kind of possible dynamic updatable GUI component. It's never the way server-side can act at its best. At, this point, the optimal way to run LC-Server as a Web Application's Server at its best level without reinventing the wheel is probably to integrate closely its empowered apps with the RevIgniter (port from the PHP's CodeIgniter to LiveCode, by Ralf Bitter) and JQuery frameworks. Regards, Pierre Le 6 nov. 2013 ? 21:56, kee nethery a ?crit : > When you do the server in stacks with ?starts using? does the stack have contention issues when 10 people are hitting the CGI at the exact same time? Or does it open a copy of the stack, do it?s thing, and return data out the CGI connection without causing problems for all the other CGI connections happening at the same time? > > I guess the big tell is, if you set a field in the stack from one connection, can you see that value with the next CGI connection, ie is the stack shared and used one at a time? > > Kee > > > On Nov 6, 2013, at 1:39 AM, Pierre Sahores wrote: > >> Same here and it's probably definitively the best way to avoid any on-rev client app need ;-) >> >> D?but du message r?exp?di? : >> >>> The absence of an on-rev desktop client is one thing that pushed me (hard!) toward doing all 'real' processing in the scripts of stacks that the .lc page 'starts using'. That way I can do all my server programming in the IDE. >>> >>> Of course my approach may not be optimum if you organizing your .lc page code like PHP. >>> >>> Phil Davis >> >> -- >> Pierre Sahores >> mobile : 06 03 95 77 70 >> www.sahores-conseil.com >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com From mkoob at rogers.com Wed Nov 6 08:27:09 2013 From: mkoob at rogers.com (Martin Koob) Date: Wed, 6 Nov 2013 05:27:09 -0800 (PST) Subject: On-Rev desktop client In-Reply-To: References: Message-ID: <1383744429581-4671931.post@n4.nabble.com> This is just a guess but I think the discrepancy regarding the number of lines may be because you have included other scripts in your main file. As I understand it the server looks at this as one long script. So you could try to assemble the script file as the server sees it. open the main script look for any includes and paste the script from the includes into the main file and see if you can triangulate row 604 this way. Martin Erik Schwartz wrote > Did they suggest some 3rd party software that had a LC debugger in it? > > Right now I am getting errors kicked out with row numbers in the error > messages that do not exist in the file. > > row 601, col 6: Operators *: error in left operand > > But there are 504 rows in the file -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/On-Rev-desktop-client-tp4671894p4671931.html Sent from the Revolution - User mailing list archive at Nabble.com. From bertshuler at yahoo.com Wed Nov 6 18:05:18 2013 From: bertshuler at yahoo.com (Bert Shuler) Date: Wed, 6 Nov 2013 15:05:18 -0800 Subject: HTTPS In-Reply-To: <67116DB20798A94285EEE12A67079A2832620A8F@MHSEXC02.westrac.com.au> References: <67116DB20798A94285EEE12A67079A283261E783@MHSEXC02.westrac.com.au> <5279AEA6.2040400@hyperactivesw.com> <67116DB20798A94285EEE12A67079A283261E9ED@MHSEXC02.westrac.com.au> <5279CA78.8080800@hyperactivesw.com> <67116DB20798A94285EEE12A67079A283261ECEA@MHSEXC02.westrac.com.au>, <5279D553.4070908@hyperactivesw.com> <09BB0857-6F61-4712-B4AE-34C84CA51966@sweattechnologies.com> <67116DB20798A94285EEE12A67079A28326209EF@MHSEXC02.westrac.com.au> <4B79F3E5-2A39-4621-A669-E88D37B6B0C7@kagi.com> <67116DB20798A94285EEE12A67079A2832620A8F@MHSEXC02.westrac.com.au> Message-ID: <4045DE43-F5AE-4C6A-ABD2-3D11A2C29F69@yahoo.com> When using https via a proxy, it used the HTTP/HTTPS proxy CONNECT parameter. It is described in this RFC. Although the RFC is expired, it is the defacto standard: http://www.web-cache.com/Writings/Internet-Drafts/draft-luotonen-web-proxy-tunneling-01.txt On Nov 6, 2013, at 1:38 PM, Nakia Brewer wrote: > Thanks, that is today's plan.. I'm hoping I could maybe convince them to add an exception to let this program not go through any proxy.. > > > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of kee nethery > Sent: Thursday, 07 November 2013 08:36 > To: How to use LiveCode > Subject: Re: HTTPS > > You might want to talk to the IT staff at that site to find out what they suggest for operating through the proxy. Could be some appliance firewall acting as the proxy needs something in it's setup to make this work. > > Kee > > > On Nov 6, 2013, at 1:10 PM, Nakia Brewer wrote: > >> It's frustrating to say the least, especially seeing as I can do a few test with the >> REST Add-on for Firefox and it all works.. switch to LC and bamm, no dice! >> >> -----Original Message----- >> From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Monte Goulding >> Sent: Thursday, 07 November 2013 08:05 >> To: How to use LiveCode >> Subject: Re: HTTPS >> >> >> On 07/11/2013, at 7:52 AM, kee nethery wrote: >> >>> I'm trying to imagine how you would set up an HTTPS connection to a server through a proxy. The whole point of an HTTPS connection is to prevent a man-in-the-middle attack and a proxy is a prime example of a man-in-the-middle attack. >>> >>> http://stackoverflow.com/questions/516323/https-connections-over-proxy-servers >> >> There's a protocol called CONNECT. It doesn't look that complicated but it's not in libURL. >> >> Cheers >> >> -- >> Monte Goulding >> >> M E R Goulding - software development services >> mergExt - There's an external for that! >> >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From kee at kagi.com Wed Nov 6 18:36:37 2013 From: kee at kagi.com (kee nethery) Date: Wed, 6 Nov 2013 15:36:37 -0800 Subject: On-Rev desktop client In-Reply-To: References: <52799A5A.4000402@pdslabs.net> <0B908746-2F0F-4331-8110-D81D92F5B4F4@sahores-conseil.com> Message-ID: Using the stack as a container for read-only scripts is good. Gives me the ability to use the IDE to debug the code. As long as I know the caveats, this seems like a good way to do a CGI. Now if I can figure out why my livecode server installation is still not working on my Mac ? Kee On Nov 6, 2013, at 1:55 PM, Pierre Sahores wrote: > Hi Kee, > > You second tough matters : to be used in a full reliable way, the stack has to be used as a simple read-only handlers container. In this way, the lc script witch call it is't able to cause any interlocking problem with one of the other Apache managed CGI connections happening in the same time, just alike is goes with other standard CGI platform (PHP, Perl, RoR, Tomcat,?). > > To get such a configuration 100% reliable, we need to avoid to see the server-side container stack as some kind of possible dynamic updatable GUI component. It's never the way server-side can act at its best. > > At, this point, the optimal way to run LC-Server as a Web Application's Server at its best level without reinventing the wheel is probably to integrate closely its empowered apps with the RevIgniter (port from the PHP's CodeIgniter to LiveCode, by Ralf Bitter) and JQuery frameworks. > > Regards, > > Pierre From ethan at lish.net Wed Nov 6 19:33:45 2013 From: ethan at lish.net (ethan at lish.net) Date: Wed, 06 Nov 2013 19:33:45 -0500 Subject: Data at Rest encryption Message-ID: <527ADFE9.2060101@lish.net> Greetings, Looking to see if anyone has a solution for encryption of data at rest (files) within the application sand-box. It looks like Apple has provided for the libraries / attributes; https://developer.apple.com/library/ios ... ricks.html says..... "Protecting Data Using On-Disk Encryption ..... Data protection is available on most iOS devices and is subject to the following requirements: The file system on the user?s device must support data protection. This is true for newer devices, but for some earlier devices, the user might have to reformat the device?s disk and restore any content from a backup. The user must have an active passcode lock set for the device. To protect a file, your app must add an attribute to the file indicating the desired level of protection. Add this attribute using either the NSData class or the NSFileManager class. ...." Is there any way this can be exposed at the Livecode layer? Thanks, E -- Ethan at Lish.net 240.449.8270 From monte at sweattechnologies.com Wed Nov 6 19:44:26 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu, 7 Nov 2013 11:44:26 +1100 Subject: Data at Rest encryption In-Reply-To: <527ADFE9.2060101@lish.net> References: <527ADFE9.2060101@lish.net> Message-ID: See the iphoneSetFileDataProtection command in the dictionary. If the user doesn't have a password then it offers you nothing. If you want to encrypt data on iOS then either you can use my external mergAES or you can wait for LC 6.6 (I think) where the encrypt command will be available. On 07/11/2013, at 11:33 AM, ethan at lish.net wrote: > Greetings, > > Looking to see if anyone has a solution for encryption of data at rest > (files) within the application sand-box. > > It looks like Apple has provided for the libraries / attributes; > > https://developer.apple.com/library/ios ... ricks.html says..... > "Protecting Data Using On-Disk Encryption > ..... > Data protection is available on most iOS devices and is subject to the > following requirements: > The file system on the user?s device must support data protection. This > is true for newer devices, but for some earlier devices, the user might > have to reformat the device?s disk and restore any content from a backup. > The user must have an active passcode lock set for the device. > > To protect a file, your app must add an attribute to the file indicating > the desired level of protection. Add this attribute using either the > NSData class or the NSFileManager class. > ...." > > Is there any way this can be exposed at the Livecode layer? > > Thanks, > E > > -- > Ethan at Lish.net > 240.449.8270 > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From m.schonewille at economy-x-talk.com Wed Nov 6 19:50:29 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 07 Nov 2013 01:50:29 +0100 Subject: HTTPS In-Reply-To: References: <67116DB20798A94285EEE12A67079A283261E783@MHSEXC02.westrac.com.au> <5279AEA6.2040400@hyperactivesw.com> <67116DB20798A94285EEE12A67079A283261E9ED@MHSEXC02.westrac.com.au> <5279CA78.8080800@hyperactivesw.com> <67116DB20798A94285EEE12A67079A283261ECEA@MHSEXC02.westrac.com.au>, <5279D553.4070908@hyperactivesw.com> Message-ID: <527AE3D5.5070809@economy-x-talk.com> Hi Kee, I'd say it is exactly the opposite. Because servers and proxies make man-in-the-middle attacks possible, https was invented to make sure that these nodes see encrypted data only. If one would always use a direct connection without any proxies and servers, one wouldn't need the https protocol. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi Fill out this survey please http://livecodebeginner.economy-x-talk.com/survey/ On 11/6/2013 21:52, kee nethery wrote: > I?m trying to imagine how you would set up an HTTPS connection to a server through a proxy. The whole point of an HTTPS connection is to prevent a man-in-the-middle attack and a proxy is a prime example of a man-in-the-middle attack. > > http://stackoverflow.com/questions/516323/https-connections-over-proxy-servers > > Kee Nethery > > > On Nov 6, 2013, at 1:51 AM, Nakia Brewer wrote: > >> Thinking I might try this library out and see if it simplifies things for cURL >> >> http://marksmith.on-rev.com/revstuff/files/libRevCurl.zip >> >> >> Sent from my iPhone >> >> On 6 Nov 2013, at 4:36 pm, "J. Landman Gay" > wrote: >> >> Unfortunately GLX doesn't support HTTPS through a proxy, though it does support most types of proxies when you send regular HTTP requests. >> >> >> On 11/5/13 10:56 PM, Nakia Brewer wrote: >> Okay, does anyone happen to know if the custom libURL in GLX Application Framework gets over this issue? >> I am happy to convert it to GLX If need be :) >> >> -----Original Message----- >> From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of J. Landman Gay >> Sent: Wednesday, 06 November 2013 15:50 >> To: How to use LiveCode >> Subject: Re: HTTPS >> >> Yes, all internet connectivity goes through libURL. You do have use >> shell if you want to bypass it. >> >> >> On 11/5/13 9:45 PM, Nakia Brewer wrote: >> Is it fair for me to assume that because I am using a raw expression and not referring libURL that I am not using the libURL Library? >> Or is libURL used for all internet requests? >> >> My call for example; >> set the httpHeaders to "Proxy-Authorization: Basic" && base64Encode(tUsername & colon & tPassword) &cr&"Content-Type:application/xml"&cr&"Accept:application/xml" >> get URL ("https://" & userName & ":" & URLEncode(userPass) &"@"&theSubDomain&".harvestapp.com/daily") >> >> -----Original Message----- >> From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of J. Landman Gay >> Sent: Wednesday, 06 November 2013 13:51 >> To: How to use LiveCode >> Subject: Re: HTTPS >> >> On 11/5/13 8:21 PM, Nakia Brewer wrote: >> Hi, >> >> I have asked about this issue on the Forum some time ago but never got back to testing it further. >> I have a desktop application that needs to communicate to a REST API over HTTPS and I am having issues with what I think is a certificate problem when I try and use the application on my work network. >> NOTE - This issues doesn't occur at my home network. >> >> So, to explain the issue. >> When I do a HTTPS Request (Via GET) I get returned a Error 10061 on socket >> - IT can NOT see my request at the Proxy >> >> Now if I do a simple HTTP Request (Via GET) it works correctly >> - IT can confirm they are seeing my request at the Proxy. >> >> I have tried setting the libUrlSetSSlVerification false but to no avail. >> I don't know much about SSL or anything but is it fair for me to assume that the work network is denying my connection because it is HTTPS without a certificate? >> If that is the case I have found how to point to certificates but have no idea where/how to generate a certificate that would be valid so the connection works? >> >> I hope this makes some sense and I look forward to any idea's you all may have! >> >> As I understand it, libURL (the internet library) doesn't support HTTPS >> via proxies. I am facing a similar issue right now. >> >> >> >> >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From lists at mangomultimedia.com Wed Nov 6 20:18:02 2013 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed, 6 Nov 2013 20:18:02 -0500 Subject: HTTPS In-Reply-To: <09BB0857-6F61-4712-B4AE-34C84CA51966@sweattechnologies.com> References: <67116DB20798A94285EEE12A67079A283261E783@MHSEXC02.westrac.com.au> <5279AEA6.2040400@hyperactivesw.com> <67116DB20798A94285EEE12A67079A283261E9ED@MHSEXC02.westrac.com.au> <5279CA78.8080800@hyperactivesw.com> <67116DB20798A94285EEE12A67079A283261ECEA@MHSEXC02.westrac.com.au> <5279D553.4070908@hyperactivesw.com> <09BB0857-6F61-4712-B4AE-34C84CA51966@sweattechnologies.com> Message-ID: On Wed, Nov 6, 2013 at 4:05 PM, Monte Goulding wrote: > > There's a protocol called CONNECT. It doesn't look that complicated but > it's not in libURL. > If I recall correctly from my discussions with Mark Wadingham on this, the issue is a technical one with sockets. When using CONNECT the socket starts out normally but then must be upgraded to a secure connection. LiveCode sockets don't have this capability. So implementing CONNECT isn't possible at the moment. This problem should go away when the network layer is reworked as part of the Kickstarter goals. For the moment, however, the best solution I've found is to use curl. Just using curl won't get you out of the woods though. When dealing with corporate networks that use a proxy server you will most likely need code that will detect the proxy server and that usually involves processing a PAC file. -- Trevor DeVore Blue Mango Learning Systems www.screensteps.com - www.clarify-it.com From dan at clearvisiontech.com Wed Nov 6 20:58:36 2013 From: dan at clearvisiontech.com (Dan Friedman) Date: Wed, 6 Nov 2013 17:58:36 -0800 Subject: Drag and Drop to a Control In-Reply-To: References: Message-ID: <750C3F14-1A78-4F2D-84B2-3EE4A6F4013B@clearvisiontech.com> Ok, I have fiddled around with this most of the day and I am still at square one! I have a stack as a palette that lists files (each file listed is a group of it's own with an icon, the file name and last update date). I want to to drag from the palette stack (starting at one of the groups) to another stack and drop to a control (not just the stack). The control could be a field or an image. I would like to have a representation of dragging (could be changing the cursor icon or whatever). But, I want to process what was dropped. I can't figure it out. Any advise? -Dan From monte at sweattechnologies.com Wed Nov 6 21:33:04 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu, 7 Nov 2013 13:33:04 +1100 Subject: HTTPS In-Reply-To: References: <67116DB20798A94285EEE12A67079A283261E783@MHSEXC02.westrac.com.au> <5279AEA6.2040400@hyperactivesw.com> <67116DB20798A94285EEE12A67079A283261E9ED@MHSEXC02.westrac.com.au> <5279CA78.8080800@hyperactivesw.com> <67116DB20798A94285EEE12A67079A283261ECEA@MHSEXC02.westrac.com.au> <5279D553.4070908@hyperactivesw.com> <09BB0857-6F61-4712-B4AE-34C84CA51966@sweattechnologies.com> Message-ID: <4790C31B-B3D9-4ED3-BC98-E4BC0EA42C34@sweattechnologies.com> On 07/11/2013, at 12:18 PM, Trevor DeVore wrote: > If I recall correctly from my discussions with Mark Wadingham on this, the > issue is a technical one with sockets. When using CONNECT the socket starts > out normally but then must be upgraded to a secure connection. LiveCode > sockets don't have this capability. So implementing CONNECT isn't possible > at the moment. Ah... I thought it was client HTTP <-> proxy <-> server HTTPS sounds like I was wrong Cheers -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From monte at sweattechnologies.com Wed Nov 6 22:11:29 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu, 7 Nov 2013 14:11:29 +1100 Subject: HTTPS In-Reply-To: <4790C31B-B3D9-4ED3-BC98-E4BC0EA42C34@sweattechnologies.com> References: <67116DB20798A94285EEE12A67079A283261E783@MHSEXC02.westrac.com.au> <5279AEA6.2040400@hyperactivesw.com> <67116DB20798A94285EEE12A67079A283261E9ED@MHSEXC02.westrac.com.au> <5279CA78.8080800@hyperactivesw.com> <67116DB20798A94285EEE12A67079A283261ECEA@MHSEXC02.westrac.com.au> <5279D553.4070908@hyperactivesw.com> <09BB0857-6F61-4712-B4AE-34C84CA51966@sweattechnologies.com> <4790C31B-B3D9-4ED3-BC98-E4BC0EA42C34@sweattechnologies.com> Message-ID: On 07/11/2013, at 1:33 PM, Monte Goulding wrote: >> If I recall correctly from my discussions with Mark Wadingham on this, the >> issue is a technical one with sockets. When using CONNECT the socket starts >> out normally but then must be upgraded to a secure connection. LiveCode >> sockets don't have this capability. So implementing CONNECT isn't possible >> at the moment. > > Ah... I thought it was client HTTP <-> proxy <-> server HTTPS sounds like I was wrong Hmm.. it kinda looks like it wouldn't be that complicated to add a secure socket command. I could be wrong but it looks to me like it's just modifying the secure boolean and the sslstate before you want to start reading or writing with SSL... -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From dfepstein at comcast.net Wed Nov 6 22:20:15 2013 From: dfepstein at comcast.net (David Epstein) Date: Wed, 6 Nov 2013 22:20:15 -0500 Subject: PDF in a player object has resolution problem on a newer Mac Message-ID: When I set the width and height of a player object displaying a PDF to 1.5 times its formattedWidth and formattedHeight, I get -- exactly what I expect, a legible, scaled image, on my old PPC Mac Mini; but -- very poor resolution on my newer MacBook Air. (Resolution is fine if w and h are 100% of formattedWidth and formattedHeight, but not if I make it bigger). Can anybody explain this difference, or suggest a remedy? Thank you. David Epstein From Nakia.Brewer at westrac.com.au Wed Nov 6 22:23:48 2013 From: Nakia.Brewer at westrac.com.au (Nakia Brewer) Date: Thu, 7 Nov 2013 03:23:48 +0000 Subject: HTTPS In-Reply-To: References: <67116DB20798A94285EEE12A67079A283261E783@MHSEXC02.westrac.com.au> <5279AEA6.2040400@hyperactivesw.com> <67116DB20798A94285EEE12A67079A283261E9ED@MHSEXC02.westrac.com.au> <5279CA78.8080800@hyperactivesw.com> <67116DB20798A94285EEE12A67079A283261ECEA@MHSEXC02.westrac.com.au> <5279D553.4070908@hyperactivesw.com> <09BB0857-6F61-4712-B4AE-34C84CA51966@sweattechnologies.com> <4790C31B-B3D9-4ED3-BC98-E4BC0EA42C34@sweattechnologies.com> Message-ID: <67116DB20798A94285EEE12A67079A2832621062@MHSEXC02.westrac.com.au> If you are volunteering to have a go at fixing it I wouldn't mind :) -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Monte Goulding Sent: Thursday, 07 November 2013 14:11 To: How to use LiveCode Subject: Re: HTTPS On 07/11/2013, at 1:33 PM, Monte Goulding wrote: >> If I recall correctly from my discussions with Mark Wadingham on this, the >> issue is a technical one with sockets. When using CONNECT the socket starts >> out normally but then must be upgraded to a secure connection. LiveCode >> sockets don't have this capability. So implementing CONNECT isn't possible >> at the moment. > > Ah... I thought it was client HTTP <-> proxy <-> server HTTPS sounds like I was wrong Hmm.. it kinda looks like it wouldn't be that complicated to add a secure socket command. I could be wrong but it looks to me like it's just modifying the secure boolean and the sslstate before you want to start reading or writing with SSL... -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! _______________________________________________ use-livecode mailing list use-livecode at 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. From monte at sweattechnologies.com Wed Nov 6 22:31:03 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu, 7 Nov 2013 14:31:03 +1100 Subject: HTTPS In-Reply-To: <67116DB20798A94285EEE12A67079A2832621062@MHSEXC02.westrac.com.au> References: <67116DB20798A94285EEE12A67079A283261E783@MHSEXC02.westrac.com.au> <5279AEA6.2040400@hyperactivesw.com> <67116DB20798A94285EEE12A67079A283261E9ED@MHSEXC02.westrac.com.au> <5279CA78.8080800@hyperactivesw.com> <67116DB20798A94285EEE12A67079A283261ECEA@MHSEXC02.westrac.com.au> <5279D553.4070908@hyperactivesw.com> <09BB0857-6F61-4712-B4AE-34C84CA51966@sweattechnologies.com> <4790C31B-B3D9-4ED3-BC98-E4BC0EA42C34@sweattechnologies.com> <67116DB20798A94285EEE12A67079A2832621062@MHSEXC02.westrac.com.au> Message-ID: On 07/11/2013, at 2:23 PM, Nakia Brewer wrote: > If you are volunteering to have a go at fixing it I wouldn't mind :) Not today sorry... -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From mwieder at ahsoftware.net Wed Nov 6 23:27:09 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 6 Nov 2013 20:27:09 -0800 Subject: Regex Runner Message-ID: <15094423927.20131106202709@ahsoftware.net> Who knew regex could be such fun? http://boingboing.net/2013/11/06/regex-runner-a-game-to-teach.html -- -Mark Wieder mwieder at ahsoftware.net From scott at tactilemedia.com Thu Nov 7 00:51:18 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 06 Nov 2013 21:51:18 -0800 Subject: Drag and Drop to a Control In-Reply-To: <750C3F14-1A78-4F2D-84B2-3EE4A6F4013B@clearvisiontech.com> Message-ID: Hi Dan: Try looking here: http://lessons.runrev.com/s/lessons/m/4071/l/7124-pinning-drag-and-drop-to- the-mat-a-primer Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 11/6/13 5:58 PM, "Dan Friedman" wrote: >Ok, I have fiddled around with this most of the day and I am still at >square one! I have a stack as a palette that lists files (each file >listed is a group of it's own with an icon, the file name and last update >date). I want to to drag from the palette stack (starting at one of the >groups) to another stack and drop to a control (not just the stack). The >control could be a field or an image. I would like to have a >representation of dragging (could be changing the cursor icon or >whatever). But, I want to process what was dropped. I can't figure it >out. > >Any advise? > >-Dan >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode > From ray at linkit.com Thu Nov 7 01:08:00 2013 From: ray at linkit.com (Ray) Date: Thu, 07 Nov 2013 01:08:00 -0500 Subject: Drag and Drop to a Control In-Reply-To: <750C3F14-1A78-4F2D-84B2-3EE4A6F4013B@clearvisiontech.com> References: <750C3F14-1A78-4F2D-84B2-3EE4A6F4013B@clearvisiontech.com> Message-ID: <527B2E40.10403@LinkIt.Com> Dan, This may not do exactly what you're looking for but it may give you some ideas. In my case I want my users to always be able to drag files from the desktop to stacks they create using my "Tools" stack. After playing around a little, a lot actually, this is the system I found works well. It always calls a handler called dragDropFiles in my stack named Tools. Each time the user's stack is suspended I place a transparent field on it, making the field the same size as the stack of course, with this script: on dragEnter objName set the acceptDrop to true end dragEnter on dragDrop put dragData["files"] into totFilePaths send "dragDropFiles "&totFilePaths&"" to stack "Tools" in 15 end dragDrop In the Tools stack my dragDropFiles handler looks something like this: on dragDropFiles myFilePaths if myFilePaths= "" then put dragData["files"] into myFilePaths if myFilePaths= "" then exit dragDropFiles else wait until the mouse is up doDragDropStuff -- continue to examine and process the dropped files here end dragDropFiles Each time I return to the stack I delete the transparent field. Hope this helps, Ray On 11/6/2013 8:58 PM, Dan Friedman wrote: > Ok, I have fiddled around with this most of the day and I am still at square one! I have a stack as a palette that lists files (each file listed is a group of it's own with an icon, the file name and last update date). I want to to drag from the palette stack (starting at one of the groups) to another stack and drop to a control (not just the stack). The control could be a field or an image. I would like to have a representation of dragging (could be changing the cursor icon or whatever). But, I want to process what was dropped. I can't figure it out. > > Any advise? > > -Dan > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From Nakia.Brewer at westrac.com.au Thu Nov 7 01:51:02 2013 From: Nakia.Brewer at westrac.com.au (Nakia Brewer) Date: Thu, 7 Nov 2013 06:51:02 +0000 Subject: LibRevCurl Message-ID: <7210DCAE-1C47-4689-8AFA-E711678440BF@westrac.com.au> Hi, Just wondering if anyone is still using the late mark smiths libRevCurl library successfully? I am have worked through trying to get it going but seem to be getting no where fast.. Sent from my iPhone 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. From m_p_wilcox at yahoo.co.uk Thu Nov 7 06:27:56 2013 From: m_p_wilcox at yahoo.co.uk (Mark Wilcox) Date: Thu, 7 Nov 2013 11:27:56 +0000 (GMT) Subject: HTTPS In-Reply-To: <527AE3D5.5070809@economy-x-talk.com> References: <67116DB20798A94285EEE12A67079A283261E783@MHSEXC02.westrac.com.au> <5279AEA6.2040400@hyperactivesw.com> <67116DB20798A94285EEE12A67079A283261E9ED@MHSEXC02.westrac.com.au> <5279CA78.8080800@hyperactivesw.com> <67116DB20798A94285EEE12A67079A283261ECEA@MHSEXC02.westrac.com.au>, <5279D553.4070908@hyperactivesw.com> <527AE3D5.5070809@economy-x-talk.com> Message-ID: <1383823676.91977.YahooMailNeo@web28802.mail.ir2.yahoo.com> Mark Schonewille wrote: >> If one would always use a direct connection without any proxies and servers, one wouldn't need the https protocol. No. Haven't you ever heard of a packet sniffer? If you expand your statement to mean that packets go direct from one computer to another without passing through any other devices at all then it's closer to true but we'd need every computer in the world to have a physical wire connecting it to every other one and trust that no-one ever tampered with those wires. This is just absurd which is why it's such a big deal that the NSA has broken SSL and hence HTTPS. In the real world the internet only works because our data packets can be delivered to their destination down multiple routes through several intermediate devices. I wasn't aware of this lack of CONNECT before this thread - considering many major internet services have switched to HTTPS only in the last few years I'm surprised it hasn't been a big problem. Mark From m.schonewille at economy-x-talk.com Thu Nov 7 06:47:58 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 07 Nov 2013 12:47:58 +0100 Subject: HTTPS In-Reply-To: <1383823676.91977.YahooMailNeo@web28802.mail.ir2.yahoo.com> References: <67116DB20798A94285EEE12A67079A283261E783@MHSEXC02.westrac.com.au> <5279AEA6.2040400@hyperactivesw.com> <67116DB20798A94285EEE12A67079A283261E9ED@MHSEXC02.westrac.com.au> <5279CA78.8080800@hyperactivesw.com> <67116DB20798A94285EEE12A67079A283261ECEA@MHSEXC02.westrac.com.au>, <5279D553.4070908@hyperactivesw.com> <527AE3D5.5070809@economy-x-talk.com> <1383823676.91977.YahooMailNeo@web28802.mail.ir2.yahoo.com> Message-ID: <527B7DEE.9060107@economy-x-talk.com> Hi Mark, Of course I have heard of packet sniffers. However, if two people decide to make a direct connection between two computers, using one direct cable, they might as well ask their friend what is going through the cable instead of using a packet sniffer :-) -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi Fill out this survey please http://livecodebeginner.economy-x-talk.com/survey/ On 11/7/2013 12:27, Mark Wilcox wrote: > Mark Schonewille wrote: > > >>> If one would always use a direct connection without any proxies and servers, one wouldn't need the https protocol. > > No. Haven't you ever heard of a packet sniffer? If you expand your statement to mean that packets go direct from one computer to another without passing through any other devices at all then it's closer to true but we'd need every computer in the world to have a physical wire connecting it to every other one and trust that no-one ever tampered with those wires. This is just absurd which is why it's such a big deal that the NSA has broken SSL and hence HTTPS. > > In the real world the internet only works because our data packets can be delivered to their destination down multiple routes through several intermediate devices. > > I wasn't aware of this lack of CONNECT before this thread - considering many major internet services have switched to HTTPS only in the last few years I'm surprised it hasn't been a big problem. > > Mark > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dave at applicationinsight.com Thu Nov 7 06:55:38 2013 From: dave at applicationinsight.com (Dave Kilroy) Date: Thu, 7 Nov 2013 03:55:38 -0800 (PST) Subject: Keyboard in IOS and Field Focus In-Reply-To: References: <1383758794944-4671948.post@n4.nabble.com> Message-ID: <1383825338931-4671994.post@n4.nabble.com> Hi Vaughn If you want to use an ordinary LiveCode field in an iOS or Android application you just use it, as per normal However for mobile things are different, for example if you want to use a slider in iOS created by iOS itself (a native control) then you need to set everything up in Livecode so that when the app is built (during the compiling with Xcode I guess, not sure exactly where it happens) LiveCode knows to swap out special code a developer will include with an iOS 'native' slider. See the dictionary for more on this, for example if you search for "mobileControlCreate" in the dictionary you will see that the following two lines of code sets up a native text field (controlType = "input") to be created when the app is built: put "input" into tControlType mobileControlCreate tControlType, "myFirstInputField" Please note that while your app is in the IDE it will not have any iOS or Android controls, these are only added when built (either as standalones or for simulator) I've just found a lesson on using native controls here: http://lessons.runrev.com/s/3527/m/4069/l/29112-how-do-i-use-native-text-controls-on-mobile ------------- Yes 'TraversalOn' is in property inspector and you can also set and unset it with code If you run an app with Livecode fields in a simulator you'll see the fields in the 'motif' theme (along with all LiveCode controls) which makes them look like refugees from from 1990 - native fields on the other hand look nice! For example of moving fields up and down to cater for the keyboard check out this lesson: http://lessons.runrev.com/s/3527/m/4069/l/136724-move-a-native-mobile-text-input-control-so-it-is-not-covered-by-keyboard Yes you can group all your fields and move these up and down - it all depends on your GUI and what you are trying to do... I'm not sure if you need a 'focus on nothing' in an exitField handler, I just have one in a mouseDown handler in the card (where else can the person tap to leave the field?) and that seems to work - but again it will depend on your GUI and what you are trying to do... I think I've covered all your queries, let me know if I've missed any (or if you have any new ones) Dave ----- "Some are born coders, some achieve coding, and some have coding thrust upon them." - William Shakespeare & Hugh Senior -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Keyboard-in-IOS-and-Field-Focus-tp4671935p4671994.html Sent from the Revolution - User mailing list archive at Nabble.com. From m_p_wilcox at yahoo.co.uk Thu Nov 7 06:59:35 2013 From: m_p_wilcox at yahoo.co.uk (Mark Wilcox) Date: Thu, 7 Nov 2013 11:59:35 +0000 (GMT) Subject: HTTPS In-Reply-To: <527B7DEE.9060107@economy-x-talk.com> References: <67116DB20798A94285EEE12A67079A283261E783@MHSEXC02.westrac.com.au> <5279AEA6.2040400@hyperactivesw.com> <67116DB20798A94285EEE12A67079A283261E9ED@MHSEXC02.westrac.com.au> <5279CA78.8080800@hyperactivesw.com> <67116DB20798A94285EEE12A67079A283261ECEA@MHSEXC02.westrac.com.au>, <5279D553.4070908@hyperactivesw.com> <527AE3D5.5070809@economy-x-talk.com> <1383823676.91977.YahooMailNeo@web28802.mail.ir2.yahoo.com> <527B7DEE.9060107@economy-x-talk.com> Message-ID: <1383825575.36613.YahooMailNeo@web28806.mail.ir2.yahoo.com> OK, so your original remark was flippant? I misread. :) The need for HTTPS really has nothing to do with proxies or however many servers sit between you and the intended recipient. Even 2 computers on the same local network (directly connected) have all their traffic visible to other computers on that network - it's the nature of almost all the physical link layers we use. ________________________________ From: Mark Schonewille To: How to use LiveCode Sent: Thursday, 7 November 2013, 11:47 Subject: Re: HTTPS Hi Mark, Of course I have heard of packet sniffers. However, if two people decide to make a direct connection between two computers, using one direct cable, they might as well ask their friend what is going through the cable instead of using a packet sniffer :-) -- Best regards, Mark Schonewille From m.schonewille at economy-x-talk.com Thu Nov 7 07:21:35 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 07 Nov 2013 13:21:35 +0100 Subject: HTTPS In-Reply-To: <1383825575.36613.YahooMailNeo@web28806.mail.ir2.yahoo.com> References: <67116DB20798A94285EEE12A67079A283261E783@MHSEXC02.westrac.com.au> <5279AEA6.2040400@hyperactivesw.com> <67116DB20798A94285EEE12A67079A283261E9ED@MHSEXC02.westrac.com.au> <5279CA78.8080800@hyperactivesw.com> <67116DB20798A94285EEE12A67079A283261ECEA@MHSEXC02.westrac.com.au>, <5279D553.4070908@hyperactivesw.com> <527AE3D5.5070809@economy-x-talk.com> <1383823676.91977.YahooMailNeo@web28802.mail.ir2.yahoo.com> <527B7DEE.9060107@economy-x-talk.com> <1383825575.36613.YahooMailNeo@web28806.mail.ir2.yahoo.com> Message-ID: <527B85CF.3050807@economy-x-talk.com> Hi Mark, If two computers are directly connected with one single cable, then there are no other computers on the network. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi Fill out this survey please http://livecodebeginner.economy-x-talk.com/survey/ On 11/7/2013 12:59, Mark Wilcox wrote: > OK, so your original remark was flippant? I misread. :) > > The need for HTTPS really has nothing to do with proxies or however many servers sit between you and the intended recipient. Even 2 computers on the same local network (directly connected) have all their traffic visible to other computers on that network - it's the nature of almost all the physical link layers we use. > > > ________________________________ > From: Mark Schonewille > To: How to use LiveCode > Sent: Thursday, 7 November 2013, 11:47 > Subject: Re: HTTPS > > > Hi Mark, > > Of course I have heard of packet sniffers. However, if two people decide > to make a direct connection between two computers, using one direct > cable, they might as well ask their friend what is going through the > cable instead of using a packet sniffer :-) > > -- > Best regards, > > Mark Schonewille > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From rabit at revigniter.com Thu Nov 7 07:30:59 2013 From: rabit at revigniter.com (Ralf Bitter) Date: Thu, 7 Nov 2013 13:30:59 +0100 Subject: On-Rev desktop client In-Reply-To: References: <17F2A8FD-F308-43DA-BF1C-DD4168949926@mac.com> <5279AFAC.4040103@hyperactivesw.com> Message-ID: <776CC025-87E9-4368-BC9F-ED9759812B9B@revigniter.com> You can download the latest version of the revIgniter TextMate bundles compatible with TextMate 2 here: http://revigniter.com/accessory Best Ralf On 06.11.2013, at 05:19, stephen barncard wrote: > Ralf's bundle currently only works with Textmate v1 currently From andrew at ctech.me Thu Nov 7 09:22:24 2013 From: andrew at ctech.me (Andrew Kluthe) Date: Thu, 7 Nov 2013 08:22:24 -0600 Subject: LibRevCurl In-Reply-To: <7210DCAE-1C47-4689-8AFA-E711678440BF@westrac.com.au> References: <7210DCAE-1C47-4689-8AFA-E711678440BF@westrac.com.au> Message-ID: I really wanted to use it because consuming some endpoints from a REST APi that is returning a great deal of data blocks up my whole program. Alas, I couldn't get it to work. Beats me. Andrew On Thu, Nov 7, 2013 at 12:51 AM, Nakia Brewer wrote: > Hi, > > Just wondering if anyone is still using the late mark smiths libRevCurl > library successfully? > > I am have worked through trying to get it going but seem to be getting no > where fast.. > > > > Sent from my iPhone > 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Regards, Andrew Kluthe andrew at ctech.me From bvg at mac.com Thu Nov 7 09:23:17 2013 From: bvg at mac.com (=?windows-1252?Q?Bj=F6rnke_von_Gierke?=) Date: Thu, 07 Nov 2013 15:23:17 +0100 Subject: Play Movies in Background Layer? In-Reply-To: References: <1383565859.52778a2306ef6@www.server101.com> <5519AF42-E062-4C7B-9D35-BA895BBFAC7E@all-auctions.com> <527805FB.5020005@hyperactivesw.com> <85761170-BF57-473A-BBDA-CAFB501DB46F@all-auctions.com> <52797F2C.6010405@hyperactivesw.com> Message-ID: <483D9012-B75D-40B3-AE59-3E381D53F430@mac.com> So much love for my stack recently :) On 06.11.2013, at 03:25, Peter Haworth wrote: > Try Bjornke's BvG Docu 2 plugin, much better than the dictionary. -- Use an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ From toolbook at kestner.de Thu Nov 7 09:33:36 2013 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Thu, 7 Nov 2013 15:33:36 +0100 Subject: OT: looking for Proxy-Server-Simulation Message-ID: <007f01cedbc6$580dccb0$08296610$@de> Hi, I am looking for a freeware proxy-server software for testing my http proxy-server settings in my LC program on windows and mac without having a hardware proxy-server. On windows I have found proxymitron, which works pretty easy, but is not capable to simulate a proxy-server authentication with user and pw. Any recommendations for win and mac appreciated Thanks Tiemo From kevin at runrev.com Thu Nov 7 09:36:56 2013 From: kevin at runrev.com (Kevin Miller) Date: Thu, 07 Nov 2013 14:36:56 +0000 Subject: Misunderstanding developer previews versus release candidates In-Reply-To: <5276A4D5.5020401@fourthworld.com> Message-ID: Our release process is simple and pragmatic. The main difference between DP and RC is that by-en-large DPs are not feature complete, RCs are. As such DPs may have half finished features or have several features planned in the cycle missing. We are very reluctant to add features to RCs and will do so only if it is a minor addition of something low risk but very high value or urgent. Clearly a release that is not feature complete (DP) is not going to be released. An RC is turned into a release when the number of bugs reported against its falls below the level required by internal criteria. There is no reason that there should be more or less of one or the other. We could have one DP to get all the features in a given version we plan then take some considerable time to get it stable. The number of each is a function of how many features we need to add or how many bug reports we get back (and various new criteria that are being created as we add to the breadth of tests in our new internal automated test framework). Larger point release upgrades are far more likely to have more of one or both DP and RC. The purpose of having two cycles going at once is in direct response to customer demand! It is an innovation, a benefit created by our increased engineering capacity. Those commercial customers with complex shipping software are slower typically to jump from a 6.1 to a 6.5 or a 7, preferring to align such a shift with a new project or major upgrade of their own software. Creating an additional release with bug fixes in it helps us serve those needs better. History suggests that a x.x.x release will take far fewer RCs than a x.x release so the chances are that this will allow us to bring those fixes out faster. We have a lot of releases coming up over the next few months, the natural result of all the re-architecting we've been doing. Hopefully the explanation above helps to straighten things out as we enter this busy period. Kind regards, Kevin Kevin Miller ~ kevin at runrev.com ~ http://www.runrev.com/ LiveCode: Everyone can code On 04/11/2013 03:32, "Richard Gaskin" wrote: >Version numbers are communicative learning tools for developers and >testers alike. > >When a company finds itself with more RCs than DPs, clearly they've >become too optimistic and should anticipate lengthening the DP series in >the next round. > >And any time a company finds itself with two different versions both in >RC at the same time, a certain cool-headed control of the process has >been lost and it's time to adjust expectations on at least one of those >tracks. > >If designations like "RC" and "DP" are used interchangeably, we create a >world in which words have no meaning, and the value we might otherwise >enjoy from clear communication becomes unnecessarily lost. > >-- > Richard Gaskin > Fourth World Systems > Software Design and Development for Desktop, Mobile, and Web > ____________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode From pystcat at gmail.com Thu Nov 7 10:03:33 2013 From: pystcat at gmail.com (PystCat) Date: Thu, 7 Nov 2013 10:03:33 -0500 Subject: Keyboard in IOS and Field Focus In-Reply-To: <1383825338931-4671994.post@n4.nabble.com> References: <1383758794944-4671948.post@n4.nabble.com> <1383825338931-4671994.post@n4.nabble.com> Message-ID: How would you create a native on/off switch...? Where can I find a listing of the native iOS controls...? I only see the browser/multiline/input fields in the dictionary. > On Nov 7, 2013, at 6:55 AM, Dave Kilroy wrote: > > Hi Vaughn > > If you want to use an ordinary LiveCode field in an iOS or Android > application you just use it, as per normal > > However for mobile things are different, for example if you want to use a > slider in iOS created by iOS itself (a native control) then you need to set > everything up in Livecode so that when the app is built (during the > compiling with Xcode I guess, not sure exactly where it happens) LiveCode > knows to swap out special code a developer will include with an iOS 'native' > slider. > > See the dictionary for more on this, for example if you search for > "mobileControlCreate" in the dictionary you will see that the following two > lines of code sets up a native text field (controlType = "input") to be > created when the app is built: > > put "input" into tControlType > mobileControlCreate tControlType, "myFirstInputField" > > Please note that while your app is in the IDE it will not have any iOS or > Android controls, these are only added when built (either as standalones or > for simulator) > > I've just found a lesson on using native controls here: > http://lessons.runrev.com/s/3527/m/4069/l/29112-how-do-i-use-native-text-controls-on-mobile > > ------------- > > Yes 'TraversalOn' is in property inspector and you can also set and unset it > with code > > If you run an app with Livecode fields in a simulator you'll see the fields > in the 'motif' theme (along with all LiveCode controls) which makes them > look like refugees from from 1990 - native fields on the other hand look > nice! > > For example of moving fields up and down to cater for the keyboard check out > this lesson: > http://lessons.runrev.com/s/3527/m/4069/l/136724-move-a-native-mobile-text-input-control-so-it-is-not-covered-by-keyboard > > Yes you can group all your fields and move these up and down - it all > depends on your GUI and what you are trying to do... > > I'm not sure if you need a 'focus on nothing' in an exitField handler, I > just have one in a mouseDown handler in the card (where else can the person > tap to leave the field?) and that seems to work - but again it will depend > on your GUI and what you are trying to do... > > I think I've covered all your queries, let me know if I've missed any (or if > you have any new ones) > > Dave > > > > > ----- > "Some are born coders, some achieve coding, and some have coding thrust upon them." - William Shakespeare & Hugh Senior > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Keyboard-in-IOS-and-Field-Focus-tp4671935p4671994.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pystcat at gmail.com Thu Nov 7 10:03:33 2013 From: pystcat at gmail.com (PystCat) Date: Thu, 7 Nov 2013 10:03:33 -0500 Subject: Keyboard in IOS and Field Focus In-Reply-To: <1383825338931-4671994.post@n4.nabble.com> References: <1383758794944-4671948.post@n4.nabble.com> <1383825338931-4671994.post@n4.nabble.com> Message-ID: How would you create a native on/off switch...? Where can I find a listing of the native iOS controls...? I only see the browser/multiline/input fields in the dictionary. > On Nov 7, 2013, at 6:55 AM, Dave Kilroy wrote: > > Hi Vaughn > > If you want to use an ordinary LiveCode field in an iOS or Android > application you just use it, as per normal > > However for mobile things are different, for example if you want to use a > slider in iOS created by iOS itself (a native control) then you need to set > everything up in Livecode so that when the app is built (during the > compiling with Xcode I guess, not sure exactly where it happens) LiveCode > knows to swap out special code a developer will include with an iOS 'native' > slider. > > See the dictionary for more on this, for example if you search for > "mobileControlCreate" in the dictionary you will see that the following two > lines of code sets up a native text field (controlType = "input") to be > created when the app is built: > > put "input" into tControlType > mobileControlCreate tControlType, "myFirstInputField" > > Please note that while your app is in the IDE it will not have any iOS or > Android controls, these are only added when built (either as standalones or > for simulator) > > I've just found a lesson on using native controls here: > http://lessons.runrev.com/s/3527/m/4069/l/29112-how-do-i-use-native-text-controls-on-mobile > > ------------- > > Yes 'TraversalOn' is in property inspector and you can also set and unset it > with code > > If you run an app with Livecode fields in a simulator you'll see the fields > in the 'motif' theme (along with all LiveCode controls) which makes them > look like refugees from from 1990 - native fields on the other hand look > nice! > > For example of moving fields up and down to cater for the keyboard check out > this lesson: > http://lessons.runrev.com/s/3527/m/4069/l/136724-move-a-native-mobile-text-input-control-so-it-is-not-covered-by-keyboard > > Yes you can group all your fields and move these up and down - it all > depends on your GUI and what you are trying to do... > > I'm not sure if you need a 'focus on nothing' in an exitField handler, I > just have one in a mouseDown handler in the card (where else can the person > tap to leave the field?) and that seems to work - but again it will depend > on your GUI and what you are trying to do... > > I think I've covered all your queries, let me know if I've missed any (or if > you have any new ones) > > Dave > > > > > ----- > "Some are born coders, some achieve coding, and some have coding thrust upon them." - William Shakespeare & Hugh Senior > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Keyboard-in-IOS-and-Field-Focus-tp4671935p4671994.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From sschvarstein at gmail.com Thu Nov 7 10:13:33 2013 From: sschvarstein at gmail.com (Sergio Schvarstein) Date: Thu, 7 Nov 2013 16:13:33 +0100 Subject: Facebook game application Message-ID: <3F934A4B-FF73-4B9E-8270-10A79F4DC92B@gmail.com> Hi, Just a simple question: Is it possible to make a Facebook game application (e.g: Risk multiplayer game style) with LiveCode ? Sorry for my ignorance. Thanks and Regards. ______________________________ Sergio Schvarstein ______________________________ From bleiler at buffalo.edu Thu Nov 7 10:25:23 2013 From: bleiler at buffalo.edu (Timothy Bleiler) Date: Thu, 7 Nov 2013 10:25:23 -0500 Subject: https, MacOS and Certificates In-Reply-To: References: <1383758794944-4671948.post@n4.nabble.com> <1383825338931-4671994.post@n4.nabble.com> Message-ID: I've run into a problem using a secure server that appears to be related to MacOS keychain. I've been getting some simple information back from an active server page using this script Put "https://MyServer/MyActiveServerPage.aspx?uID=1001" into tURLString Get URL tURLString This is generating an error with certificates on some Macs but not all. On the Macs where the problem occurs, the URL can be accessed through the web browser but NOT through Livecode. This makes me suspect that the problem is not just with the certificates but with how liveCode is using the keychain system. There is no problem on windows. Anyone have any suggestions? Thanks, Tim Bleiler University at Buffalo From ambassador at fourthworld.com Thu Nov 7 10:25:47 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 07 Nov 2013 07:25:47 -0800 Subject: Misunderstanding developer previews versus release candidates In-Reply-To: References: Message-ID: <527BB0FB.2080403@fourthworld.com> Thanks for that background, Kevin. It certainly does make good sense to have more than one development track going on, and indeed it's been a great thing for all of us. My issue wasn't with having multiple tracks, but only with the much smaller issue of when the "DP"/"RC" label changes. If a given build is anticipated to have a much longer cycle, it raises the likelihood that it may still incorporate more significant changes than one which is closer to release. So I strongly support your team's multi-track efforts, and the effect on quick rollout have been tremendous. It's just helpful to communicate anticipated cycle length by sticking with "DP" as long as possible, changing to "RC" only when it's truly a candidate for release. This helps devs better anticipate feature and bug-fix sequencing, and helps avoid tester fatigue by more clearly communicating where they should focus their efforts if they're pressed for time. Kevin Miller wrote: > Our release process is simple and pragmatic. > > The main difference between DP and RC is that by-en-large DPs are not > feature complete, RCs are. As such DPs may have half finished features or > have several features planned in the cycle missing. We are very reluctant > to add features to RCs and will do so only if it is a minor addition of > something low risk but very high value or urgent. Clearly a release that > is not feature complete (DP) is not going to be released. An RC is turned > into a release when the number of bugs reported against its falls below > the level required by internal criteria. > > There is no reason that there should be more or less of one or the other. > We could have one DP to get all the features in a given version we plan > then take some considerable time to get it stable. The number of each is a > function of how many features we need to add or how many bug reports we > get back (and various new criteria that are being created as we add to the > breadth of tests in our new internal automated test framework). Larger > point release upgrades are far more likely to have more of one or both DP > and RC. > > The purpose of having two cycles going at once is in direct response to > customer demand! It is an innovation, a benefit created by our increased > engineering capacity. Those commercial customers with complex shipping > software are slower typically to jump from a 6.1 to a 6.5 or a 7, > preferring to align such a shift with a new project or major upgrade of > their own software. Creating an additional release with bug fixes in it > helps us serve those needs better. History suggests that a x.x.x release > will take far fewer RCs than a x.x release so the chances are that this > will allow us to bring those fixes out faster. > > We have a lot of releases coming up over the next few months, the natural > result of all the re-architecting we've been doing. Hopefully the > explanation above helps to straighten things out as we enter this busy > period. > > Kind regards, > > Kevin -- 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 From vclement at gmail.com Thu Nov 7 10:36:28 2013 From: vclement at gmail.com (Vaughn Clement) Date: Thu, 7 Nov 2013 08:36:28 -0700 Subject: Keyboard in IOS and Field Focus In-Reply-To: References: <1383758794944-4671948.post@n4.nabble.com> <1383825338931-4671994.post@n4.nabble.com> Message-ID: Hi Dave & PystCat It turns out that the lesson addresses most of the script requirements, but it does not address how the trigger for moving the Group up. I assume the text fields that get a focus can be used to trigger the script to move the group up. Then the hide keyboard key on deactivate would end the group move up and return the group to the original location. Your comments and help are priceless. I did not understand about native control requirement. That is a very useful thing to know. In LiveCode every rock you turn over reveals another rock to turnover. Thank you Vaughn Clement Apps by Vaughn Clement (Support) *http://www.appsbyvaughnclement.com/tools/home-page/ * Skype: vaughn.clement https://secure.join.me/appsbyvclement FaceTime: vclement at gmail.com LogMeIn also avaialble Call on "ooVoo" at address: vaughnclement or 9282549062 Ph. 928-254-9062 Cloud Hosting Registration Web Site: https://my.oditech.com/cart.php?a=add&pid=41 On Thu, Nov 7, 2013 at 8:03 AM, PystCat wrote: > How would you create a native on/off switch...? Where can I find a > listing of the native iOS controls...? I only see the > browser/multiline/input fields in the dictionary. > > > > On Nov 7, 2013, at 6:55 AM, Dave Kilroy > wrote: > > > > Hi Vaughn > > > > If you want to use an ordinary LiveCode field in an iOS or Android > > application you just use it, as per normal > > > > However for mobile things are different, for example if you want to use a > > slider in iOS created by iOS itself (a native control) then you need to > set > > everything up in Livecode so that when the app is built (during the > > compiling with Xcode I guess, not sure exactly where it happens) LiveCode > > knows to swap out special code a developer will include with an iOS > 'native' > > slider. > > > > See the dictionary for more on this, for example if you search for > > "mobileControlCreate" in the dictionary you will see that the following > two > > lines of code sets up a native text field (controlType = "input") to be > > created when the app is built: > > > > put "input" into tControlType > > mobileControlCreate tControlType, "myFirstInputField" > > > > Please note that while your app is in the IDE it will not have any iOS or > > Android controls, these are only added when built (either as standalones > or > > for simulator) > > > > I've just found a lesson on using native controls here: > > > http://lessons.runrev.com/s/3527/m/4069/l/29112-how-do-i-use-native-text-controls-on-mobile > > > > ------------- > > > > Yes 'TraversalOn' is in property inspector and you can also set and > unset it > > with code > > > > If you run an app with Livecode fields in a simulator you'll see the > fields > > in the 'motif' theme (along with all LiveCode controls) which makes them > > look like refugees from from 1990 - native fields on the other hand look > > nice! > > > > For example of moving fields up and down to cater for the keyboard check > out > > this lesson: > > > http://lessons.runrev.com/s/3527/m/4069/l/136724-move-a-native-mobile-text-input-control-so-it-is-not-covered-by-keyboard > > > > Yes you can group all your fields and move these up and down - it all > > depends on your GUI and what you are trying to do... > > > > I'm not sure if you need a 'focus on nothing' in an exitField handler, I > > just have one in a mouseDown handler in the card (where else can the > person > > tap to leave the field?) and that seems to work - but again it will > depend > > on your GUI and what you are trying to do... > > > > I think I've covered all your queries, let me know if I've missed any > (or if > > you have any new ones) > > > > Dave > > > > > > > > > > ----- > > "Some are born coders, some achieve coding, and some have coding thrust > upon them." - William Shakespeare & Hugh Senior > > > > -- > > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/Keyboard-in-IOS-and-Field-Focus-tp4671935p4671994.html > > Sent from the Revolution - User mailing list archive at Nabble.com. > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From m.schonewille at economy-x-talk.com Thu Nov 7 10:46:20 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 7 Nov 2013 16:46:20 +0100 Subject: Facebook game application In-Reply-To: <3F934A4B-FF73-4B9E-8270-10A79F4DC92B@gmail.com> References: <3F934A4B-FF73-4B9E-8270-10A79F4DC92B@gmail.com> Message-ID: Hi Sergio, When 32 bit machines were still common and the Revolution web plug-in was still recent, I made a FB application and it worked fine. Because the plug-in is not available for 64 bit machines, I don't think it still makes sense to use it for FB games. If you really want to use LC for a FB game, you could use LC Server, but that will give you about the same feature set as PHP. I don't think this is what you're looking for. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com We have time for new software development projects. Contact me for a quote. On 7 nov 2013, at 16:13, Sergio Schvarstein wrote: > Hi, > > Just a simple question: > Is it possible to make a Facebook game application (e.g: Risk multiplayer game style) with LiveCode ? > > Sorry for my ignorance. > > Thanks and Regards. > > ______________________________ > Sergio Schvarstein From dochawk at gmail.com Thu Nov 7 11:36:17 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Thu, 7 Nov 2013 08:36:17 -0800 Subject: opening stack "revStandaloneSettings" in a script [was:error in test contion Message-ID: I think I need to take another tack in all of this. stack "revStandaloneSettings" is part of the IDE. But when I try to open it, it does indeed open--but causes an error. So I have the window open, but the script bombs out. I've even tried setting the defaultStack to "revStandaloneSettings", but this doesn't add it to the openStacks. So how do I get the stack open so that I can modify it? (and as an aside, I think it would make more sense to have version numbers and such be properties that can use "set the . . ." type syntax, rather than loading fields sending messages to them . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From m.schonewille at economy-x-talk.com Thu Nov 7 12:09:33 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 07 Nov 2013 18:09:33 +0100 Subject: opening stack "revStandaloneSettings" in a script [was:error in test contion In-Reply-To: References: Message-ID: <527BC94D.6060102@economy-x-talk.com> Richard, This is the correct syntax: send "revStandaloneSettings" && quote & the short name of \ the topStack & quote to stack "revStandaloneSettings" You could replace the short name of the topStack with the short name of the mainstack of your project. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi Fill out this survey please http://livecodebeginner.economy-x-talk.com/survey/ On 11/7/2013 17:36, Dr. Hawkins wrote: > I think I need to take another tack in all of this. > > stack "revStandaloneSettings" is part of the IDE. But when I try to open > it, > it does indeed open--but causes an error. So I have the window open, but > the script bombs out. > > I've even tried setting the defaultStack to "revStandaloneSettings", but > this doesn't add it to the openStacks. > > So how do I get the stack open so that I can modify it? (and as an aside, > I think it would make more sense to have version numbers and such be > properties that can use "set the . . ." type syntax, rather than loading > fields sending messages to them . . . > From harrison at all-auctions.com Thu Nov 7 12:14:39 2013 From: harrison at all-auctions.com (Rick Harrison) Date: Thu, 7 Nov 2013 12:14:39 -0500 Subject: Facebook game application In-Reply-To: <3F934A4B-FF73-4B9E-8270-10A79F4DC92B@gmail.com> References: <3F934A4B-FF73-4B9E-8270-10A79F4DC92B@gmail.com> Message-ID: Hi Sergio, Most things are possible with LiveCode! Could you give a few more details about what types of things you are trying to accomplish? For example: I need to be able to programmatically data mine names and facial images to put into the game. An answer to such a question might be: First check to see that such a thing doesn?t violate the terms of service for FaceBook. Yes, you can use LiveCode to search for data in various pages. Hope that helps. If not please give us a little more to go on. Good luck, Rick On Nov 7, 2013, at 10:13 AM, Sergio Schvarstein wrote: > Hi, > > Just a simple question: > Is it possible to make a Facebook game application (e.g: Risk multiplayer game style) with LiveCode ? > > Sorry for my ignorance. > > Thanks and Regards. > > ______________________________ > Sergio Schvarstein > > > ______________________________ > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mwieder at ahsoftware.net Thu Nov 7 12:17:24 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 7 Nov 2013 09:17:24 -0800 Subject: opening stack "revStandaloneSettings" in a script [was:error in test contion In-Reply-To: References: Message-ID: <165140638775.20131107091724@ahsoftware.net> Richard- Thursday, November 7, 2013, 8:36:17 AM, you wrote: > So how do I get the stack open so that I can modify it? (and as an aside, > I think it would make more sense to have version numbers and such be > properties that can use "set the . . ." type syntax, rather than loading > fields sending messages to them . . . ? Do you really need to modify the revStandaloneSettings stack ? I thought your goal was to change the settings of the target stack. And in that case you want to look at the cRevStandaloneSettings of the target stack. -- -Mark Wieder ahsoftware at gmail.com From mwieder at ahsoftware.net Thu Nov 7 12:20:54 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 7 Nov 2013 09:20:54 -0800 Subject: Misunderstanding developer previews versus release candidates In-Reply-To: References: Message-ID: <137140848776.20131107092054@ahsoftware.net> Kevin- Thursday, November 7, 2013, 6:36:56 AM, you wrote: > Our release process is simple and pragmatic. Thanks. The way the rest of the world works is initial design in development : alpha feature complete : beta code complete : release candidate golden master -- -Mark Wieder ahsoftware at gmail.com From dochawk at gmail.com Thu Nov 7 12:35:28 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Thu, 7 Nov 2013 09:35:28 -0800 Subject: opening stack "revStandaloneSettings" in a script [was:error in test contion In-Reply-To: <165140638775.20131107091724@ahsoftware.net> References: <165140638775.20131107091724@ahsoftware.net> Message-ID: On Thu, Nov 7, 2013 at 9:17 AM, Mark Wieder wrote: > ? Do you really need to modify the revStandaloneSettings stack ? > I thought your goal was to change the settings of the target stack. > And in that case you want to look at the cRevStandaloneSettings of the > target stack. > When opening, I check to see if the program file name ends in livecode, indicating that I'm in the IDE (is there a better way?). If so, I build the revision numbers from the filename and set the values in revStandAloneSettings, and then send those fields closeField messages to cause the changes to actually happen. I just got tired of repeatedly typing the same numbers when building the standalones. The program uses it's version, saved as a stack property of the main stack, to see whether it needs to check the file formats in the databases (I save the version number of the program to these databases, too, for this kind of checking). -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From andrew at ctech.me Thu Nov 7 12:40:50 2013 From: andrew at ctech.me (Andrew Kluthe) Date: Thu, 7 Nov 2013 11:40:50 -0600 Subject: Misunderstanding developer previews versus release candidates In-Reply-To: <137140848776.20131107092054@ahsoftware.net> References: <137140848776.20131107092054@ahsoftware.net> Message-ID: > > The way the rest of the world works is That's a pretty generalized assumption. Release processes and version naming varies pretty wildly depending on how often you iterate and what goes into each iteration. Most of my applications (i'm an in-house development shop working on internal applications for a farm services company) get small updates weekly, daily, or sometimes even several times in a day between hot fixes and urgently needed features/additions. As a result the only way I could keep track of anything was base my version numbers off the date it was put out there. For example: an update released today to a specific application would be 13.11.7 and if I have to hotfix a feature that was added in a hurry on the same day I add a 4th number to increment. 13.11.7.1 etc. The first number being the year the second being the month and the third for the day and the optional 4th being the number of the release for that day. It doesn't make any sense to developers in a different situation than I am in but its the only way I have found that releasing as frequently as I do can be managed sanely. I think run-revs new release process/version numbers makes way more sense than it used to in pre-open-source-days. On Thu, Nov 7, 2013 at 11:20 AM, Mark Wieder wrote: > Kevin- > > Thursday, November 7, 2013, 6:36:56 AM, you wrote: > > > Our release process is simple and pragmatic. > > Thanks. The way the rest of the world works is > > initial design > in development : alpha > feature complete : beta > code complete : release candidate > golden master > > -- > -Mark Wieder > ahsoftware at gmail.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Regards, Andrew Kluthe andrew at ctech.me From ethan at lish.net Thu Nov 7 12:51:19 2013 From: ethan at lish.net (ethan at lish.net) Date: Thu, 07 Nov 2013 12:51:19 -0500 Subject: Misunderstanding developer previews versus release candidates In-Reply-To: References: <137140848776.20131107092054@ahsoftware.net> Message-ID: <527BD317.6020101@lish.net> It would be helpful if the download site (http://downloads.livecode.com/livecode/) was organized to reflect Kevin's write-up below and the published process on the website (http://livecode.com/community/release-process/) Not much too it, just put a HTML cover over it showing what is current for stable, maintenance and development. Maybe a footnote link to the historical or previous releases Here are some examples; Java -- https://java.com/en/download/manual.jsp Apache -- http://httpd.apache.org/download.cgi Drupal -- https://drupal.org/project/download Thanks, Ethan Ethan at Lish.net 240.449.8270 On 11/7/13, 12:40 PM, Andrew Kluthe wrote: >> The way the rest of the world works is > > That's a pretty generalized assumption. Release processes and version > naming varies pretty wildly depending on how often you iterate and what > goes into each iteration. > > Most of my applications (i'm an in-house development shop working on > internal applications for a farm services company) get small updates > weekly, daily, or sometimes even several times in a day between hot fixes > and urgently needed features/additions. As a result the only way I could > keep track of anything was base my version numbers off the date it was put > out there. For example: an update released today to a specific application > would be 13.11.7 and if I have to hotfix a feature that was added in a > hurry on the same day I add a 4th number to increment. 13.11.7.1 etc. The > first number being the year the second being the month and the third for > the day and the optional 4th being the number of the release for that day. > > It doesn't make any sense to developers in a different situation than I am > in but its the only way I have found that releasing as frequently as I do > can be managed sanely. > > I think run-revs new release process/version numbers makes way more sense > than it used to in pre-open-source-days. > > > On Thu, Nov 7, 2013 at 11:20 AM, Mark Wieder wrote: > >> Kevin- >> >> Thursday, November 7, 2013, 6:36:56 AM, you wrote: >> >>> Our release process is simple and pragmatic. >> Thanks. The way the rest of the world works is >> >> initial design >> in development : alpha >> feature complete : beta >> code complete : release candidate >> golden master >> >> -- >> -Mark Wieder >> ahsoftware at gmail.com >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > From rjb at robelko.com Thu Nov 7 12:49:53 2013 From: rjb at robelko.com (Robert Brenstein) Date: Thu, 7 Nov 2013 18:49:53 +0100 Subject: Misunderstanding developer previews versus release candidates In-Reply-To: References: Message-ID: On 07.11.2013 at 14:36 Uhr +0000 Kevin Miller apparently wrote: > >The purpose of having two cycles going at once is in direct response to >customer demand! It is an innovation, a benefit created by our increased >engineering capacity. Those commercial customers with complex shipping >software are slower typically to jump from a 6.1 to a 6.5 or a 7, >preferring to align such a shift with a new project or major upgrade of >their own software. Creating an additional release with bug fixes in it >helps us serve those needs better. History suggests that a x.x.x release >will take far fewer RCs than a x.x release so the chances are that this >will allow us to bring those fixes out faster. Richmond, the above is the actual response to your question. You got used to the development of Revolution/LiveCode being a single line (trunk), that is fixing bugs in the previous version was abandoned as soon as a newer version was released. Everyone who wanted bug fixes needed then to move to that newer version. Getting bug fixes on older versions (branches) supports the developers at large better since moving some, particularly bigger, projects to a new version is not always trivial or possible for external reasons. This new feature might not be interesting or useful to you, but it is surely welcome. RObert From jacque at hyperactivesw.com Thu Nov 7 13:19:13 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 07 Nov 2013 12:19:13 -0600 Subject: opening stack "revStandaloneSettings" in a script [was:error in test contion In-Reply-To: References: <165140638775.20131107091724@ahsoftware.net> Message-ID: <527BD9A1.5090907@hyperactivesw.com> On 11/7/13 11:35 AM, Dr. Hawkins wrote: > On Thu, Nov 7, 2013 at 9:17 AM, Mark Wieder wrote: > >> ? Do you really need to modify the revStandaloneSettings stack ? >> I thought your goal was to change the settings of the target stack. >> And in that case you want to look at the cRevStandaloneSettings of the >> target stack. >> > > When opening, I check to see if the program file name ends in livecode, > indicating that I'm in the IDE (is there a better way?). Check "the environment". If it's "development" then you're in the IDE. > > If so, I build the revision numbers from the filename and set the values in > revStandAloneSettings, and then send those fields closeField messages to > cause the changes to actually happen. > > I just got tired of repeatedly typing the same numbers when building the > standalones. Mark is right. These settings as stored in your mainstack in a custom property set called "revStandaloneSettings". Just change those. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From index at kenjikojima.com Thu Nov 7 13:33:50 2013 From: index at kenjikojima.com (Kenji Kojima) Date: Thu, 7 Nov 2013 13:33:50 -0500 Subject: ImageData problem, the results were different on Mac and Windows Message-ID: <748B091B-37E9-465E-AF8D-FE820B41BB5A@kenjikojima.com> Hi, Are Image data of MacOS and Windows different? I made a small test stack. The PNG image size was 4 x 3 pixels. LiveCode 5.5.5 The result of MacOS 10.9 ????????????????????? 0, 161, 40, 65 0, 54, 209, 214 0, 193, 227, 35 0, 171, 44, 47 0, 5, 175, 214 0, 109, 208, 240 0, 14, 181, 60 0, 171, 106, 135 0, 244, 164, 106 0, 244, 238, 170 0, 52, 82, 9 0, 86, 147, 228 ????????????????????? The result of Windows 8.1 ????????????????????? 0, 179, 61, 89 0, 77, 219, 223 0, 206, 233, 55 0, 187, 66, 69 0, 12, 191, 223 0, 132, 218, 243 0, 27, 196, 83 0, 187, 129, 156 0, 246, 181, 129 0, 246, 242, 186 0, 75, 106, 19 0, 110, 167, 234 ????????????????????? Are the results correct or a bug? or my script was wrong. The test stack is http://kenjikojima.com/livecode/download/imageDataTest.zip Thanks, -- Kenji Kojima / ???? http://www.kenjikojima.com/ From richmondmathewson at gmail.com Thu Nov 7 14:08:59 2013 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 07 Nov 2013 21:08:59 +0200 Subject: [OT] Scalable Vector Screenshots Message-ID: <527BE54B.1060901@gmail.com> Wow: I just found this: https://apps.ubuntu.com/cat/applications/oneiric/gtk-vector-screenshot/ I don't know of anything that will do this sort of thing for Macintosh or Windows. Richmond. From richmondmathewson at gmail.com Thu Nov 7 14:10:16 2013 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 07 Nov 2013 21:10:16 +0200 Subject: [OT] Scalable Vector Screenshots In-Reply-To: <527BE54B.1060901@gmail.com> References: <527BE54B.1060901@gmail.com> Message-ID: <527BE598.90402@gmail.com> On 7.11.2013 21:08, Richmond wrote: > Wow: I just found this: > https://apps.ubuntu.com/cat/applications/oneiric/gtk-vector-screenshot/ > > I don't know of anything that will do this sort of thing for Macintosh > or Windows. > > Richmond. Well, slowly and expensively: http://tinytutorials.wordpress.com/2012/02/06/create-a-vector-screenshot-with-illustrator/ From dochawk at gmail.com Thu Nov 7 14:25:00 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Thu, 7 Nov 2013 11:25:00 -0800 Subject: opening stack "revStandaloneSettings" in a script [was:error in test contion In-Reply-To: <527BD9A1.5090907@hyperactivesw.com> References: <165140638775.20131107091724@ahsoftware.net> <527BD9A1.5090907@hyperactivesw.com> Message-ID: On Thu, Nov 7, 2013 at 10:19 AM, J. Landman Gay wrote: > > When opening, I check to see if the program file name ends in livecode, >> indicating that I'm in the IDE (is there a better way?). >> > > Check "the environment". If it's "development" then you're in the IDE. > Thanks. That's much cleaner, and avoids a hypothetical abuse/hack . . . o actually happen. > > I just got tired of repeatedly typing the same numbers when building the > standalones. > Mark is right. These settings as stored in your mainstack in a custom > property set called "revStandaloneSettings". Just change those. > I only seem to have customKeys as a property set in the inspector. I also tried put the revStandaloneSettings of stack mcp and get empty. Or am I missing something obvious again? -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From monte at sweattechnologies.com Thu Nov 7 15:02:40 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 8 Nov 2013 07:02:40 +1100 Subject: On-Rev desktop client In-Reply-To: <776CC025-87E9-4368-BC9F-ED9759812B9B@revigniter.com> References: <17F2A8FD-F308-43DA-BF1C-DD4168949926@mac.com> <5279AFAC.4040103@hyperactivesw.com> <776CC025-87E9-4368-BC9F-ED9759812B9B@revigniter.com> Message-ID: <9FE3DFF9-A50D-4B45-846A-AAB224E01A9A@sweattechnologies.com> On 07/11/2013, at 11:30 PM, Ralf Bitter wrote: > You can download the latest version of the revIgniter > TextMate bundles compatible with TextMate 2 here: > > http://revigniter.com/accessory Ah.. I knew I didn't need to do anything special... ;-) Thanks Ralf! -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From pete at lcsql.com Thu Nov 7 15:15:45 2013 From: pete at lcsql.com (Peter Haworth) Date: Thu, 7 Nov 2013 12:15:45 -0800 Subject: opening stack "revStandaloneSettings" in a script [was:error in test contion In-Reply-To: References: <165140638775.20131107091724@ahsoftware.net> <527BD9A1.5090907@hyperactivesw.com> Message-ID: On Thu, Nov 7, 2013 at 11:25 AM, Dr. Hawkins wrote: > put the revStandaloneSettings of stack mcp I think it should be the cRevStandAloneSettings custom property set and you need to set the preference to include Livecode UI elements. Pete lcSQL Software From pete at lcsql.com Thu Nov 7 15:16:41 2013 From: pete at lcsql.com (Peter Haworth) Date: Thu, 7 Nov 2013 12:16:41 -0800 Subject: opening stack "revStandaloneSettings" in a script [was:error in test contion In-Reply-To: References: <165140638775.20131107091724@ahsoftware.net> <527BD9A1.5090907@hyperactivesw.com> Message-ID: On Thu, Nov 7, 2013 at 11:25 AM, Dr. Hawkins wrote: > I only seem to have customKeys as a property set in the inspector. I also > tried > put the revStandaloneSettings of stack mcp > Also, custom property sets are arrays so you can use a simple put statement in the message box to see them. Pete lcSQL Software From jacque at hyperactivesw.com Thu Nov 7 15:26:50 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 07 Nov 2013 14:26:50 -0600 Subject: opening stack "revStandaloneSettings" in a script [was:error in test contion In-Reply-To: References: <165140638775.20131107091724@ahsoftware.net> <527BD9A1.5090907@hyperactivesw.com> Message-ID: <527BF78A.3010702@hyperactivesw.com> On 11/7/13 1:25 PM, Dr. Hawkins wrote: > I only seem to have customKeys as a property set in the inspector. I also > tried > put the revStandaloneSettings of stack mcp > > and get empty. Pete's right, I omitted the "c" in cRevStandaloneSettings, and you do need to show the UI elements before you can see it. It's a custom property set, so you need to choose it from the property sets menu in the inspector. By script, you'd address it this way: set the cRevStandaloneSettings["MacOS,short version"] of this stack to "1.0" > > Or am I missing something obvious again? I'm not sure I'd call this obvious, but you can decide. :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Thu Nov 7 16:28:38 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 07 Nov 2013 15:28:38 -0600 Subject: https, MacOS and Certificates In-Reply-To: References: <1383758794944-4671948.post@n4.nabble.com> <1383825338931-4671994.post@n4.nabble.com> Message-ID: <527C0606.6080200@hyperactivesw.com> On 11/7/13 9:25 AM, Timothy Bleiler wrote: > I've been getting some simple information back from an active server > page using this script > > Put "https://MyServer/MyActiveServerPage.aspx?uID=1001" into > tURLString Get URL tURLString > > This is generating an error with certificates on some Macs but not > all. On the Macs where the problem occurs, the URL can be accessed > through the web browser but NOT through Livecode. This makes me > suspect that the problem is not just with the certificates but with > how liveCode is using the keychain system. LiveCode tries to find the default installed certificate in the OS and uses that when sending https requests. There's a known failure to find the certificate on Mac OS 10.6. Are the Macs that fail running that version of the OS? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mwieder at ahsoftware.net Thu Nov 7 16:30:17 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 7 Nov 2013 13:30:17 -0800 Subject: Misunderstanding developer previews versus release candidates In-Reply-To: References: <137140848776.20131107092054@ahsoftware.net> Message-ID: <116155811146.20131107133017@ahsoftware.net> Andrew- Thursday, November 7, 2013, 9:40:50 AM, you wrote: >> >> The way the rest of the world works is > That's a pretty generalized assumption. Yes, very much so. I was dealing with the SDLC up to the initial release, and trying not to complicate it too much with bug fixes, rollbacks, hotfixes, point releases, nightly builds, etc. Obviously YMMV. But the point I was trying to make is that a "release candidate" is "this is our final build unless some show-stopping bugs appear". -- -Mark Wieder ahsoftware at gmail.com From mwieder at ahsoftware.net Thu Nov 7 16:32:39 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 7 Nov 2013 13:32:39 -0800 Subject: opening stack "revStandaloneSettings" in a script [was:error in test contion In-Reply-To: <527BF78A.3010702@hyperactivesw.com> References: <165140638775.20131107091724@ahsoftware.net> <527BD9A1.5090907@hyperactivesw.com> <527BF78A.3010702@hyperactivesw.com> Message-ID: <180155953027.20131107133239@ahsoftware.net> Jacque- Thursday, November 7, 2013, 12:26:50 PM, you wrote: > Pete's right, I omitted the "c" in cRevStandaloneSettings That's ok - it was my omission to start with. -- -Mark Wieder ahsoftware at gmail.com From mwieder at ahsoftware.net Thu Nov 7 16:39:39 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 7 Nov 2013 13:39:39 -0800 Subject: ImageData problem, the results were different on Mac and Windows In-Reply-To: <748B091B-37E9-465E-AF8D-FE820B41BB5A@kenjikojima.com> References: <748B091B-37E9-465E-AF8D-FE820B41BB5A@kenjikojima.com> Message-ID: <57156373634.20131107133939@ahsoftware.net> Kenji- I get the same results on linux as you did on Win8.1. -- -Mark Wieder ahsoftware at gmail.com From index at kenjikojima.com Thu Nov 7 16:44:33 2013 From: index at kenjikojima.com (Kenji Kojima) Date: Thu, 7 Nov 2013 16:44:33 -0500 Subject: ImageData problem, the results were different on Mac and Windows In-Reply-To: <57156373634.20131107133939@ahsoftware.net> References: <748B091B-37E9-465E-AF8D-FE820B41BB5A@kenjikojima.com> <57156373634.20131107133939@ahsoftware.net> Message-ID: <86476FE8-7B0D-49CD-A9CC-06E5E35BF4DA@kenjikojima.com> Mark, How about on MacOS? -- Kenji Kojima / ???? http://www.kenjikojima.com/ On Nov 7, 2013, at 4:39 PM, Mark Wieder wrote: > Kenji- > > I get the same results on linux as you did on Win8.1. > > -- > -Mark Wieder > ahsoftware at gmail.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From sschvarstein at gmail.com Thu Nov 7 16:48:28 2013 From: sschvarstein at gmail.com (Sergio Schvarstein) Date: Thu, 7 Nov 2013 22:48:28 +0100 Subject: Game Center Message-ID: <568B5EF7-39EE-4A10-BDBE-69F0D8DE58FD@gmail.com> Another simple question: Is it possible to create an iOS game in LiveCode which connects with Apple Game Center ? Thanks. ______________________________ Sergio Schvarstein ______________________________ From monte at sweattechnologies.com Thu Nov 7 16:50:15 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 8 Nov 2013 08:50:15 +1100 Subject: Game Center In-Reply-To: <568B5EF7-39EE-4A10-BDBE-69F0D8DE58FD@gmail.com> References: <568B5EF7-39EE-4A10-BDBE-69F0D8DE58FD@gmail.com> Message-ID: <06595AA3-C1EF-4F69-AF11-DE10B18B6CFF@sweattechnologies.com> On 08/11/2013, at 8:48 AM, Sergio Schvarstein wrote: > Another simple question: > Is it possible to create an iOS game in LiveCode which connects with Apple Game Center ? Yes: http://mergext.com/home/merggk/ Cheers -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From mwieder at ahsoftware.net Thu Nov 7 16:48:11 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 7 Nov 2013 13:48:11 -0800 Subject: ImageData problem, the results were different on Mac and Windows In-Reply-To: <86476FE8-7B0D-49CD-A9CC-06E5E35BF4DA@kenjikojima.com> References: <748B091B-37E9-465E-AF8D-FE820B41BB5A@kenjikojima.com> <57156373634.20131107133939@ahsoftware.net> <86476FE8-7B0D-49CD-A9CC-06E5E35BF4DA@kenjikojima.com> Message-ID: <149156885386.20131107134811@ahsoftware.net> Kenji- Thursday, November 7, 2013, 1:44:33 PM, you wrote: > How about on MacOS? I'm still running 10.6, sorry. -- -Mark Wieder ahsoftware at gmail.com From pete at lcsql.com Thu Nov 7 16:55:34 2013 From: pete at lcsql.com (Peter Haworth) Date: Thu, 7 Nov 2013 13:55:34 -0800 Subject: opening stack "revStandaloneSettings" in a script [was:error in test contion In-Reply-To: <527BF78A.3010702@hyperactivesw.com> References: <165140638775.20131107091724@ahsoftware.net> <527BD9A1.5090907@hyperactivesw.com> <527BF78A.3010702@hyperactivesw.com> Message-ID: On Thu, Nov 7, 2013 at 12:26 PM, J. Landman Gay wrote: > set the cRevStandaloneSettings["MacOS,short version"] of this stack to > "1.0" > Hi Jacque, How do you feel about commas in property names :-) Pete lcSQL Software From index at kenjikojima.com Thu Nov 7 17:03:44 2013 From: index at kenjikojima.com (Kenji Kojima) Date: Thu, 7 Nov 2013 17:03:44 -0500 Subject: ImageData problem, the results were different on Mac and Windows In-Reply-To: <149156885386.20131107134811@ahsoftware.net> References: <748B091B-37E9-465E-AF8D-FE820B41BB5A@kenjikojima.com> <57156373634.20131107133939@ahsoftware.net> <86476FE8-7B0D-49CD-A9CC-06E5E35BF4DA@kenjikojima.com> <149156885386.20131107134811@ahsoftware.net> Message-ID: Mark, I tried on MacOS 10.6.8 too. It was same result as MacOS 10.9. Thanks anyway, -- Kenji Kojima / ???? http://www.kenjikojima.com/ On Nov 7, 2013, at 4:48 PM, Mark Wieder wrote: > Kenji- > > Thursday, November 7, 2013, 1:44:33 PM, you wrote: > >> How about on MacOS? > > I'm still running 10.6, sorry. > > -- > -Mark Wieder > ahsoftware at gmail.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From monte at sweattechnologies.com Thu Nov 7 17:08:23 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 8 Nov 2013 09:08:23 +1100 Subject: opening stack "revStandaloneSettings" in a script [was:error in test contion In-Reply-To: References: <165140638775.20131107091724@ahsoftware.net> <527BD9A1.5090907@hyperactivesw.com> <527BF78A.3010702@hyperactivesw.com> Message-ID: On 08/11/2013, at 8:55 AM, Peter Haworth wrote: > How do you feel about commas in property names :-) It's my fault... sorry... If I were doing it these days cRevStandaloneSettings would be multi-dimensional but that wasn't an option back then... Indeed at the time it was quite common to use commas in array keys to get pseudo multi-dimensional arrays. Because they are accessed using array / custom property set notation it's not a huge issue though. From memory the platform related keys are ,. You can't set the customPropertySet to cRevStandaloneSettings and then use regular property syntax but then again I haven't heard of anybody setting the customPropertySet for about a decade... Cheers -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From pete at lcsql.com Thu Nov 7 18:14:49 2013 From: pete at lcsql.com (Peter Haworth) Date: Thu, 7 Nov 2013 15:14:49 -0800 Subject: opening stack "revStandaloneSettings" in a script [was:error in test contion In-Reply-To: References: <165140638775.20131107091724@ahsoftware.net> <527BD9A1.5090907@hyperactivesw.com> <527BF78A.3010702@hyperactivesw.com> Message-ID: No problem Monte, I was referring to Jacque's recent escapades with commas in stack names. Pete lcSQL Software On Thu, Nov 7, 2013 at 2:08 PM, Monte Goulding wrote: > > On 08/11/2013, at 8:55 AM, Peter Haworth wrote: > > > How do you feel about commas in property names :-) > > It's my fault... sorry... If I were doing it these days > cRevStandaloneSettings would be multi-dimensional but that wasn't an option > back then... Indeed at the time it was quite common to use commas in array > keys to get pseudo multi-dimensional arrays. Because they are accessed > using array / custom property set notation it's not a huge issue though. > From memory the platform related keys are ,. You can't > set the customPropertySet to cRevStandaloneSettings and then use regular > property syntax but then again I haven't heard of anybody setting the > customPropertySet for about a decade... > > Cheers > > -- > M E R Goulding > Software development services > Bespoke application development for vertical markets > > mergExt - There's an external for that! > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From paulhibbert at mac.com Thu Nov 7 18:30:23 2013 From: paulhibbert at mac.com (Paul Hibbert) Date: Thu, 7 Nov 2013 15:30:23 -0800 Subject: ImageData problem, the results were different on Mac and Windows In-Reply-To: <149156885386.20131107134811@ahsoftware.net> References: <748B091B-37E9-465E-AF8D-FE820B41BB5A@kenjikojima.com> <57156373634.20131107133939@ahsoftware.net> <86476FE8-7B0D-49CD-A9CC-06E5E35BF4DA@kenjikojima.com> <149156885386.20131107134811@ahsoftware.net> Message-ID: <05B551C8-4D79-445C-965E-17F8FD513598@mac.com> Kenji, I see the same results on OS X 10.8.5 and Win 7. I also tried a PNG with no colour management (i.e. no embedded colour profile) and the result was still different from Mac to Win, I also tried 2 different Macs with totally different monitor profiles so it's not a monitor profile having an effect, more likely a difference between the way LC handles colour management the two OSs. I didn't see any discrepancy when I switched the image to a non colour managed JPG or a GIF, although the figures for the JPG were slightly different to the GIF. Colour managed JPEGs also exhibited the same sort of discrepancy. Can you use a non colour managed JPG or a GIF file instead of a PNG in your project? I do see this as an issue that really needs addressing. If you don't want to send in a bug report I would be happy to. Paul On 2013-11-07, at 1:48 PM, Mark Wieder wrote: > Kenji- > > Thursday, November 7, 2013, 1:44:33 PM, you wrote: > >> How about on MacOS? > > I'm still running 10.6, sorry. > > -- > -Mark Wieder > ahsoftware at gmail.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From monte at sweattechnologies.com Thu Nov 7 18:56:33 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 8 Nov 2013 10:56:33 +1100 Subject: opening stack "revStandaloneSettings" in a script [was:error in test contion In-Reply-To: References: <165140638775.20131107091724@ahsoftware.net> <527BD9A1.5090907@hyperactivesw.com> <527BF78A.3010702@hyperactivesw.com> Message-ID: On 08/11/2013, at 10:14 AM, Peter Haworth wrote: > No problem Monte, I was referring to Jacque's recent escapades with commas > in stack names. Ah... clearly you slept in the knife drawer last night -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From bleiler at buffalo.edu Thu Nov 7 19:04:41 2013 From: bleiler at buffalo.edu (Timothy Bleiler) Date: Thu, 7 Nov 2013 19:04:41 -0500 Subject: https, MacOS and Certificates In-Reply-To: <527C0606.6080200@hyperactivesw.com> References: <1383758794944-4671948.post@n4.nabble.com> <1383825338931-4671994.post@n4.nabble.com> <527C0606.6080200@hyperactivesw.com> Message-ID: <8A1DA031-1F60-42F4-AA07-A5336630106F@buffalo.edu> It's tricky. One that works is running 10.7, one used to work and now doesn't is running 10.7. One worked under 10.5 and failed when upgraded to 10.7. I only just tracked it down to this issue earlier today and haven't gotten any details back from other users yet. Tim On Nov 7, 2013, at 4:28 PM, "J. Landman Gay" wrote: > On 11/7/13 9:25 AM, Timothy Bleiler wrote: >> I've been getting some simple information back from an active server >> page using this script >> >> Put "https://MyServer/MyActiveServerPage.aspx?uID=1001" into >> tURLString Get URL tURLString >> >> This is generating an error with certificates on some Macs but not >> all. On the Macs where the problem occurs, the URL can be accessed >> through the web browser but NOT through Livecode. This makes me >> suspect that the problem is not just with the certificates but with >> how liveCode is using the keychain system. > > LiveCode tries to find the default installed certificate in the OS and uses that when sending https requests. There's a known failure to find the certificate on Mac OS 10.6. Are the Macs that fail running that version of the OS? > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Thu Nov 7 19:04:55 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 07 Nov 2013 18:04:55 -0600 Subject: opening stack "revStandaloneSettings" in a script [was:error in test contion In-Reply-To: References: <165140638775.20131107091724@ahsoftware.net> <527BD9A1.5090907@hyperactivesw.com> <527BF78A.3010702@hyperactivesw.com> Message-ID: <527C2AA7.9030301@hyperactivesw.com> On 11/7/13 3:55 PM, Peter Haworth wrote: > On Thu, Nov 7, 2013 at 12:26 PM, J. Landman Gay wrote: > >> set the cRevStandaloneSettings["MacOS,short version"] of this stack to >> "1.0" >> > > Hi Jacque, > How do you feel about commas in property names :-) Ha. I feel fine about them. Card names also. File names too, even. So how come we can't have them in stack names? Now look what you did, you got me started again. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Thu Nov 7 19:07:22 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 07 Nov 2013 18:07:22 -0600 Subject: ImageData problem, the results were different on Mac and Windows In-Reply-To: <05B551C8-4D79-445C-965E-17F8FD513598@mac.com> References: <748B091B-37E9-465E-AF8D-FE820B41BB5A@kenjikojima.com> <57156373634.20131107133939@ahsoftware.net> <86476FE8-7B0D-49CD-A9CC-06E5E35BF4DA@kenjikojima.com> <149156885386.20131107134811@ahsoftware.net> <05B551C8-4D79-445C-965E-17F8FD513598@mac.com> Message-ID: <527C2B3A.3030501@hyperactivesw.com> On 11/7/13 5:30 PM, Paul Hibbert wrote: > I didn't see any discrepancy when I switched the image to a non > colour managed JPG or a GIF, although the figures for the JPG were > slightly different to the GIF. Colour managed JPEGs also exhibited > the same sort of discrepancy. It sounds like the imagedata is returning the screen colors, not the image colors. Which would be appropriate I think. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mwieder at ahsoftware.net Thu Nov 7 19:31:06 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 7 Nov 2013 16:31:06 -0800 Subject: opening stack "revStandaloneSettings" in a script [was:error in test contion In-Reply-To: References: <165140638775.20131107091724@ahsoftware.net> <527BD9A1.5090907@hyperactivesw.com> <527BF78A.3010702@hyperactivesw.com> Message-ID: <135166660785.20131107163106@ahsoftware.net> Monte- Thursday, November 7, 2013, 2:08:23 PM, you wrote: > Because they are accessed using array / custom property set notation > it's not a huge issue though. It *is* a big deal if you try to convert the property list to xml. You can't have commas in xml tags, so you either have to convert them and then convert them back or use blah,blahblah syntax. Ran into this doing the stack-to-xml conversion. -- -Mark Wieder ahsoftware at gmail.com From jacque at hyperactivesw.com Thu Nov 7 19:36:41 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 07 Nov 2013 18:36:41 -0600 Subject: opening stack "revStandaloneSettings" in a script [was:error in test contion In-Reply-To: <135166660785.20131107163106@ahsoftware.net> References: <165140638775.20131107091724@ahsoftware.net> <527BD9A1.5090907@hyperactivesw.com> <527BF78A.3010702@hyperactivesw.com> <135166660785.20131107163106@ahsoftware.net> Message-ID: <527C3219.5040406@hyperactivesw.com> On 11/7/13 6:31 PM, Mark Wieder wrote: > Monte- > > Thursday, November 7, 2013, 2:08:23 PM, you wrote: > >> Because they are accessed using array / custom property set notation >> it's not a huge issue though. > > It *is* a big deal if you try to convert the property list to xml. You > can't have commas in xml tags, so you either have to convert them and > then convert them back or use blah,blahblah > syntax. Ran into this doing the stack-to-xml conversion. > Welcome to my world. :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From monte at sweattechnologies.com Thu Nov 7 19:58:22 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 8 Nov 2013 11:58:22 +1100 Subject: opening stack "revStandaloneSettings" in a script [was:error in test contion In-Reply-To: <135166660785.20131107163106@ahsoftware.net> References: <165140638775.20131107091724@ahsoftware.net> <527BD9A1.5090907@hyperactivesw.com> <527BF78A.3010702@hyperactivesw.com> <135166660785.20131107163106@ahsoftware.net> Message-ID: <0F921624-04E4-4B42-AD56-A5B9723D0ADB@sweattechnologies.com> On 08/11/2013, at 11:31 AM, Mark Wieder wrote: > It *is* a big deal if you try to convert the property list to xml. You > can't have commas in xml tags, so you either have to convert them and > then convert them back or use blah,blahblah > syntax. Ran into this doing the stack-to-xml conversion. Hmm... given you can have all sorts of chars in property keys it's probably not the best plan to use them as tags. Lots of other ways to skin that cat though. Attributes would be easy: 1.0 It's also worth pointing out that lots of people use spaces in custom property keys. dgProps is a good example of that. Cheers -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From jacque at hyperactivesw.com Thu Nov 7 21:10:03 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 07 Nov 2013 20:10:03 -0600 Subject: https, MacOS and Certificates In-Reply-To: <8A1DA031-1F60-42F4-AA07-A5336630106F@buffalo.edu> References: <1383758794944-4671948.post@n4.nabble.com> <1383825338931-4671994.post@n4.nabble.com> <527C0606.6080200@hyperactivesw.com> <8A1DA031-1F60-42F4-AA07-A5336630106F@buffalo.edu> Message-ID: <527C47FB.1030704@hyperactivesw.com> If/when you find out more details, could you let us know? I may have to deal with this too. On 11/7/13 6:04 PM, Timothy Bleiler wrote: > It's tricky. One that works is running 10.7, one used to work and now > doesn't is running 10.7. One worked under 10.5 and failed when > upgraded to 10.7. I only just tracked it down to this issue earlier > today and haven't gotten any details back from other users yet. > > Tim > > On Nov 7, 2013, at 4:28 PM, "J. Landman Gay" > wrote: > >> On 11/7/13 9:25 AM, Timothy Bleiler wrote: >>> I've been getting some simple information back from an active >>> server page using this script >>> >>> Put "https://MyServer/MyActiveServerPage.aspx?uID=1001" into >>> tURLString Get URL tURLString >>> >>> This is generating an error with certificates on some Macs but >>> not all. On the Macs where the problem occurs, the URL can be >>> accessed through the web browser but NOT through Livecode. This >>> makes me suspect that the problem is not just with the >>> certificates but with how liveCode is using the keychain system. >> >> LiveCode tries to find the default installed certificate in the OS >> and uses that when sending https requests. There's a known failure >> to find the certificate on Mac OS 10.6. Are the Macs that fail >> running that version of the OS? >> >> -- Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pete at lcsql.com Thu Nov 7 21:30:56 2013 From: pete at lcsql.com (Peter Haworth) Date: Thu, 7 Nov 2013 18:30:56 -0800 Subject: opening stack "revStandaloneSettings" in a script [was:error in test contion In-Reply-To: <527C2AA7.9030301@hyperactivesw.com> References: <165140638775.20131107091724@ahsoftware.net> <527BD9A1.5090907@hyperactivesw.com> <527BF78A.3010702@hyperactivesw.com> <527C2AA7.9030301@hyperactivesw.com> Message-ID: On Thu, Nov 7, 2013 at 4:04 PM, J. Landman Gay wrote: > Now look what you did, you got me started again. As Monte said, I slept in the knife drawer last night :-) Pete lcSQL Software From mwieder at ahsoftware.net Thu Nov 7 21:36:28 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 7 Nov 2013 18:36:28 -0800 Subject: opening stack "revStandaloneSettings" in a script [was:error in test contion In-Reply-To: References: <165140638775.20131107091724@ahsoftware.net> <527BD9A1.5090907@hyperactivesw.com> <527BF78A.3010702@hyperactivesw.com> <527C2AA7.9030301@hyperactivesw.com> Message-ID: <70174182357.20131107183628@ahsoftware.net> Pete- Thursday, November 7, 2013, 6:30:56 PM, you wrote: > As Monte said, I slept in the knife drawer last night :-) I had to go look that one up. -- -Mark Wieder ahsoftware at gmail.com From pete at lcsql.com Thu Nov 7 21:59:53 2013 From: pete at lcsql.com (Peter Haworth) Date: Thu, 7 Nov 2013 18:59:53 -0800 Subject: opening stack "revStandaloneSettings" in a script [was:error in test contion In-Reply-To: <70174182357.20131107183628@ahsoftware.net> References: <165140638775.20131107091724@ahsoftware.net> <527BD9A1.5090907@hyperactivesw.com> <527BF78A.3010702@hyperactivesw.com> <527C2AA7.9030301@hyperactivesw.com> <70174182357.20131107183628@ahsoftware.net> Message-ID: Had me puzzled for a while too. I assumed it must have something to do with "twisting the knife in a wound" but I guess it's more like being a smartass! Pete lcSQL Software On Thu, Nov 7, 2013 at 6:36 PM, Mark Wieder wrote: > Pete- > > Thursday, November 7, 2013, 6:30:56 PM, you wrote: > > > As Monte said, I slept in the knife drawer last night :-) > > I had to go look that one up. > > -- > -Mark Wieder > ahsoftware at gmail.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From stephenREVOLUTION2 at barncard.com Thu Nov 7 22:18:25 2013 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Thu, 7 Nov 2013 19:18:25 -0800 Subject: On-Rev desktop client In-Reply-To: <9FE3DFF9-A50D-4B45-846A-AAB224E01A9A@sweattechnologies.com> References: <17F2A8FD-F308-43DA-BF1C-DD4168949926@mac.com> <5279AFAC.4040103@hyperactivesw.com> <776CC025-87E9-4368-BC9F-ED9759812B9B@revigniter.com> <9FE3DFF9-A50D-4B45-846A-AAB224E01A9A@sweattechnologies.com> Message-ID: beautiful. Thanks Ralf. Somehow text looks better on the new version. On Thu, Nov 7, 2013 at 12:02 PM, Monte Goulding wrote: > > On 07/11/2013, at 11:30 PM, Ralf Bitter wrote: > > > You can download the latest version of the revIgniter > > TextMate bundles compatible with TextMate 2 here: > > > > http://revigniter.com/accessory > > > Ah.. I knew I didn't need to do anything special... ;-) > > Thanks Ralf! > > -- > Monte Goulding > > M E R Goulding - software development services > mergExt - There's an external for that! > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb From index at kenjikojima.com Thu Nov 7 23:21:14 2013 From: index at kenjikojima.com (Kenji Kojima) Date: Thu, 7 Nov 2013 23:21:14 -0500 Subject: ImageData problem, the results were different on Mac and Windows In-Reply-To: <05B551C8-4D79-445C-965E-17F8FD513598@mac.com> References: <748B091B-37E9-465E-AF8D-FE820B41BB5A@kenjikojima.com> <57156373634.20131107133939@ahsoftware.net> <86476FE8-7B0D-49CD-A9CC-06E5E35BF4DA@kenjikojima.com> <149156885386.20131107134811@ahsoftware.net> <05B551C8-4D79-445C-965E-17F8FD513598@mac.com> Message-ID: Paul, I will try a JPEG and a GIF. I have to research the color management of Mac and Win. Thank you, -- Kenji Kojima / ???? http://www.kenjikojima.com/ On Nov 7, 2013, at 6:30 PM, Paul Hibbert wrote: > Kenji, > > I see the same results on OS X 10.8.5 and Win 7. > > I also tried a PNG with no colour management (i.e. no embedded colour profile) and the result was still different from Mac to Win, I also tried 2 different Macs with totally different monitor profiles so it's not a monitor profile having an effect, more likely a difference between the way LC handles colour management the two OSs. > > I didn't see any discrepancy when I switched the image to a non colour managed JPG or a GIF, although the figures for the JPG were slightly different to the GIF. Colour managed JPEGs also exhibited the same sort of discrepancy. > > Can you use a non colour managed JPG or a GIF file instead of a PNG in your project? > > I do see this as an issue that really needs addressing. If you don't want to send in a bug report I would be happy to. > > Paul > > > On 2013-11-07, at 1:48 PM, Mark Wieder wrote: > >> Kenji- >> >> Thursday, November 7, 2013, 1:44:33 PM, you wrote: >> >>> How about on MacOS? >> >> I'm still running 10.6, sorry. >> >> -- >> -Mark Wieder >> ahsoftware at gmail.com >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From paulhibbert at mac.com Fri Nov 8 00:58:21 2013 From: paulhibbert at mac.com (Paul Hibbert) Date: Thu, 07 Nov 2013 21:58:21 -0800 Subject: ImageData problem, the results were different on Mac and Windows In-Reply-To: <527C2B3A.3030501@hyperactivesw.com> References: <748B091B-37E9-465E-AF8D-FE820B41BB5A@kenjikojima.com> <57156373634.20131107133939@ahsoftware.net> <86476FE8-7B0D-49CD-A9CC-06E5E35BF4DA@kenjikojima.com> <149156885386.20131107134811@ahsoftware.net> <05B551C8-4D79-445C-965E-17F8FD513598@mac.com> <527C2B3A.3030501@hyperactivesw.com> Message-ID: <06BBDEE6-B304-4C4D-B362-7956D2B772AD@mac.com> OK I can follow that, but it's the inconsistency that?s concerning me now. For another test I used a GIF as reference and compared both colour managed and non colour managed PNG and JPEGS to the the GIF, this is what I saw? Mac: PNG sRGB = Visually same as GIF, numerically same as GIF PNG NCM = Visually darker than GIF, numerically very different to GIF JPEG sRGB = Visually darker than GIF, numerically very different to GIF JPEG NCM = Visually same as GIF, numerically slightly different to GIF Win: PNG sRGB = Visually lighter than GIF, numerically very different to GIF PNG NCM = Visually same as GIF, numerically same as GIF JPEG sRGB = Visually same as GIF, numerically slightly different to GIF JPEG NCM = Visually same as GIF, numerically slightly different to GIF NCM = No Colour Management The index colour GIF file returned consistent numbers on both platforms, so that's why I used it for reference. The only difference between the sRGB files and NCM files is that the NCM version had no embedded colour profile, the colour data was the same. Visual references were only compared on the same platform. I know that Mac and Windows do handle colour management differently and this may be something we just have to live with, but it would be useful to understand why the discrepancies occur in LC, there may be a rational answer, but I can't see it right now. Incidentally, the original test showed another difference when run in LC 6.5 (rc1). Where each colour started with 0 for the Alpha channel in LC 5.5.5, it was returned as 255 in LC 6.5.0 (rc1), I only ran this on Mac as I haven't downloaded LC 6.5.0 on Win yet, I guess there's more testing to do! e.g. [0, 161, 40, 65] on LC 5.5.5 = [255, 161, 40, 65] on LC 6.5.0 Paul On 2013-11-07, at 4:07 PM, J. Landman Gay wrote: > On 11/7/13 5:30 PM, Paul Hibbert wrote: > >> I didn't see any discrepancy when I switched the image to a non >> colour managed JPG or a GIF, although the figures for the JPG were >> slightly different to the GIF. Colour managed JPEGs also exhibited >> the same sort of discrepancy. > > It sounds like the imagedata is returning the screen colors, not the image colors. Which would be appropriate I think. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From rabit at revigniter.com Fri Nov 8 02:48:16 2013 From: rabit at revigniter.com (Ralf Bitter) Date: Fri, 8 Nov 2013 08:48:16 +0100 Subject: On-Rev desktop client In-Reply-To: <9FE3DFF9-A50D-4B45-846A-AAB224E01A9A@sweattechnologies.com> References: <17F2A8FD-F308-43DA-BF1C-DD4168949926@mac.com> <5279AFAC.4040103@hyperactivesw.com> <776CC025-87E9-4368-BC9F-ED9759812B9B@revigniter.com> <9FE3DFF9-A50D-4B45-846A-AAB224E01A9A@sweattechnologies.com> Message-ID: <9AF7D97C-885D-4763-9091-F542937C8E54@revigniter.com> And I knew no one needed to do anything special, so I decided not to do anything special :) Ralf On 07.11.2013, at 21:02, Monte Goulding wrote: > Ah.. I knew I didn't need to do anything special... ;-) > > Thanks Ralf! From endernafi at gmail.com Fri Nov 8 04:29:29 2013 From: endernafi at gmail.com (Ender Nafi Elekcioglu) Date: Fri, 8 Nov 2013 11:29:29 +0200 Subject: Algorithm for Direction Change upon Collision Message-ID: Hi folks, I?m dealing with this problem for a week now and I am officially stuck. A little push, any insight would be great. It?ll be a particle animation {sparkle effect} for an iOS app. But for the base structure, I?m trying to make it dead simple; so, think an Airhockey game in which there are ~20 pucks constantly colliding and changing direction. TactileMedia?s excellent ?bouncer2.rev? stack doesn?t help, ?cause it?s performance falls short for my situation. Try it with 4 balls instead of 2 and it starts to crawl. I need at least 20. AnimationEngine doesn?t help much, its performance is not sufficient enough, likewise. I had to write my own handlers. Good news is, I managed to achieve 100+ balls at 30fps without collision detection and near 40 balls at 30fps with collision detection. Bad news is, my collision handler doesn?t work correctly, hence this question :) Here?s my algorithm: * on openCard -> create pucks -> set its speed random as a custom property -> set its destination / direction random as a custom property -> put the long id?s into an array for further calculations * on each screenUpdate ** for each puck -> check any collision via intersect() -> if yes, update the speed and direction of both collided pucks -> move each puck {either with updated or standard params} The problem is: collided pucks can?t get the chance to move in their fresh updated directions. Apparently intersect() has 2 - 4 pixels threshold; actually it?s not a threshold, well, I don?t know what it is. Probably, it?s related to the speed of the pucks and screen update delay. I?ve recorded the stats and looked at the collided grcs? rects;? I see that they?re not precisely side-by-side. One?s right is 202 and the other one?s left is 198, for example. Back to the problem: They collide,? collision handler updates their direction,? but in next screen update they?re still collided because of the aforementioned issue, so their directions are getting transposed again, and again, and again, ?? After 20 - 30 seconds, all pucks are gathered somewhere just trembling crazily. I know that I have to create a flag as a custom property saying ?this puck?s already handled, don?t check it? to the intersect() function. But no matter which path I chose to accomplish this, it became dead end. Any quick ideas, anyone? Thank you very much, ~ Ender Nafi From m_p_wilcox at yahoo.co.uk Fri Nov 8 04:54:47 2013 From: m_p_wilcox at yahoo.co.uk (Mark Wilcox) Date: Fri, 8 Nov 2013 09:54:47 +0000 (GMT) Subject: Algorithm for Direction Change upon Collision In-Reply-To: References: Message-ID: <1383904487.81053.YahooMailNeo@web28805.mail.ir2.yahoo.com> >> I know that I have to create a flag as a custom property saying ?this puck?s already handled, don?t check it? to the intersect() function. >> But no matter which path I chose to accomplish this, it became dead end. The biggest problem here is that "finished colliding" is a property of a collision rather than any individual pucks. It gets really messy with multiple collisions. >> Any quick ideas, anyone? As you may have guessed, this isn't an uncommon problem. A couple of ways of handling this off the top of my head: 1) If your pucks are circles you should be figuring out the vector between the centre of the circles when they intersect as part of working out the correct bounce angle. If you have this vector then you can also work out whether the current direction of each puck is taking it towards or away from the one it is colliding with and act accordingly. This should handle the multiple collision situation most graciously. 2) When two pucks collide, don't only change their velocities but also their positions, so that they are not overlapping. If you do this make sure you move both by half the overlapping distance (simple version), or proportional to their velocities (more realistic version). Obviously this involves moving both pucks from the one intersect test. Hope that helps, Mark From sschvarstein at gmail.com Fri Nov 8 06:00:48 2013 From: sschvarstein at gmail.com (Sergio Schvarstein) Date: Fri, 8 Nov 2013 12:00:48 +0100 Subject: Game Center In-Reply-To: References: Message-ID: <8ED41A31-FA14-43E7-A346-4CC21329EE0B@gmail.com> Of course Monte ! You certainly have a solution for everything ! Thanks again ;-) ______________________________ Sergio Schvarstein ______________________________ >> Another simple question: >> Is it possible to create an iOS game in LiveCode which connects with Apple Game Center ? > > Yes: http://mergext.com/home/merggk/ > > Cheers > > -- > M E R Goulding > Software development services > Bespoke application development for vertical markets > > mergExt - There's an external for that! From frans at knowlegistics.com Fri Nov 8 06:28:16 2013 From: frans at knowlegistics.com (Frans Schoffelen) Date: Fri, 8 Nov 2013 12:28:16 +0100 Subject: pucks collide In-Reply-To: References: Message-ID: <67E9AA23-DDB3-4BFC-9821-CADFBEF8296C@knowlegistics.com> On 08.11.2013, at 12:00, use-livecode-request at lists.runrev.com wrote: > The biggest problem here is that "finished colliding" is a property of a collision rather than any individual pucks. It gets really messy with multiple collisions. > >>> Any quick ideas, anyone? > > As you may have guessed, this isn't an uncommon problem. A couple of ways of handling this off the top of my head: > 1) If your pucks are circles you should be figuring out the vector between the centre of the circles when they intersect as part of working out the correct bounce angle. If you have this vector then you can also work out whether the current direction of each puck is taking it towards or away from the one it is colliding with and act accordingly. This should handle the multiple collision situation most graciously. > > 2) When two pucks collide, don't only change their velocities but also their positions, so that they are not overlapping. If you do this make sure you move both by half the overlapping distance (simple version), or proportional to their velocities (more realistic version). Obviously this involves moving both pucks from the one intersect test. Hi, you may want to have a look at the excellent algorithms provided in the AE engine from Malte Brill. Cheers Frans Frans Schoffelen http://knowlegistics.com // Software & Sound // Makers of "Die Waldfibel 1.0" , "Beste Reste" and "Jolly Dolly" on Appstores From jhurley0305 at sbcglobal.net Fri Nov 8 06:55:24 2013 From: jhurley0305 at sbcglobal.net (Jim Hurley) Date: Fri, 8 Nov 2013 03:55:24 -0800 Subject: Algorithm for Direction Change upon Collision In-Reply-To: References: Message-ID: <6F8AC185-4D9F-48F5-99A4-82C1826D0E93@sbcglobal.net> Hi Ender, You might want to check out a stack I put up on "User Samples" some time ago titled "Two ball collisions". It was written to deal with the basic physics of collisions between pool balls, but the dynamics is the same as hockey pucks. This stack provides a function that allows one to allow for collisions between circular graphic objects. It is based on the physics of an ideal, elastic collision in which the total momentum and energy are conserved. Given the position and velocities of each ball just before the collision, the "getVel" function will return the velocities of each ball just after the collision. Also there is a couple of versions of Nine Ball pool on my web site: http://jamesphurley.on-rev.com/ Run Rev is up to the task of 9 (actually 10 including the cue ball) colliding balls. I don't know about 20. Jim > > Message: 8 > Date: Fri, 8 Nov 2013 11:29:29 +0200 > From: Ender Nafi Elekcioglu > To: LiveCode Support > Subject: Algorithm for Direction Change upon Collision > Message-ID: > Content-Type: text/plain; charset="utf-8" > > Hi folks, > > I?m dealing with this problem for a week now and I am officially stuck. > A little push, any insight would be great. > > It?ll be a particle animation {sparkle effect} for an iOS app. > But for the base structure, I?m trying to make it dead simple; > so, think an Airhockey game in which there are ~20 pucks constantly colliding and changing direction. > > TactileMedia?s excellent ?bouncer2.rev? stack doesn?t help, ?cause it?s performance falls short for my situation. > Try it with 4 balls instead of 2 and it starts to crawl. I need at least 20. > AnimationEngine doesn?t help much, its performance is not sufficient enough, likewise. > > > I had to write my own handlers. > Good news is, I managed to achieve 100+ balls at 30fps without collision detection and near 40 balls at 30fps with collision detection. > Bad news is, my collision handler doesn?t work correctly, hence this question :) > > Here?s my algorithm: > > * on openCard > -> create pucks > -> set its speed random as a custom property > -> set its destination / direction random as a custom property > -> put the long id?s into an array for further calculations > > * on each screenUpdate > ** for each puck > -> check any collision via intersect() > -> if yes, update the speed and direction of both collided pucks > -> move each puck {either with updated or standard params} > > > The problem is: collided pucks can?t get the chance to move in their fresh updated directions. > Apparently intersect() has 2 - 4 pixels threshold; actually it?s not a threshold, well, I don?t know what it is. > Probably, it?s related to the speed of the pucks and screen update delay. > I?ve recorded the stats and looked at the collided grcs? rects;? > I see that they?re not precisely side-by-side. One?s right is 202 and the other one?s left is 198, for example. > > Back to the problem: > They collide,? > collision handler updates their direction,? > but in next screen update they?re still collided because of the aforementioned issue, > so their directions are getting transposed again, and again, and again, ?? > After 20 - 30 seconds, all pucks are gathered somewhere just trembling crazily. > > > I know that I have to create a flag as a custom property saying ?this puck?s already handled, don?t check it? to the intersect() function. > But no matter which path I chose to accomplish this, it became dead end. > > Any quick ideas, anyone? > > > > Thank you very much, > > ~ Ender Nafi > > > ---- From irog at mac.com Fri Nov 8 08:22:13 2013 From: irog at mac.com (Roger Guay) Date: Fri, 08 Nov 2013 05:22:13 -0800 Subject: Algorithm for Direction Change upon Collision In-Reply-To: <6F8AC185-4D9F-48F5-99A4-82C1826D0E93@sbcglobal.net> References: <6F8AC185-4D9F-48F5-99A4-82C1826D0E93@sbcglobal.net> Message-ID: Hi Jim, I tried to find Nine Ball Pool on your web site, but could not. I found all links were broken except for your book. I did buy your book but would like to find your stacks as well. Thanks and cheers, Roger On Nov 8, 2013, at 3:55 AM, Jim Hurley wrote: > Hi Ender, > > You might want to check out a stack I put up on "User Samples" some time ago titled "Two ball collisions". It was written to deal with the basic physics of collisions between pool balls, but the dynamics is the same as hockey pucks. > > This stack provides a function that allows one to allow for collisions between circular graphic objects. It is based on the physics of an ideal, elastic collision in which the total momentum and energy are conserved. Given the position and velocities of each ball just before the collision, the "getVel" function will return the velocities of each ball just after the collision. > > Also there is a couple of versions of Nine Ball pool on my web site: http://jamesphurley.on-rev.com/ > > Run Rev is up to the task of 9 (actually 10 including the cue ball) colliding balls. I don't know about 20. > > Jim > >> >> Message: 8 >> Date: Fri, 8 Nov 2013 11:29:29 +0200 >> From: Ender Nafi Elekcioglu >> To: LiveCode Support >> Subject: Algorithm for Direction Change upon Collision >> Message-ID: >> Content-Type: text/plain; charset="utf-8" >> >> Hi folks, >> >> I?m dealing with this problem for a week now and I am officially stuck. >> A little push, any insight would be great. >> >> It?ll be a particle animation {sparkle effect} for an iOS app. >> But for the base structure, I?m trying to make it dead simple; >> so, think an Airhockey game in which there are ~20 pucks constantly colliding and changing direction. >> >> TactileMedia?s excellent ?bouncer2.rev? stack doesn?t help, ?cause it?s performance falls short for my situation. >> Try it with 4 balls instead of 2 and it starts to crawl. I need at least 20. >> AnimationEngine doesn?t help much, its performance is not sufficient enough, likewise. >> >> >> I had to write my own handlers. >> Good news is, I managed to achieve 100+ balls at 30fps without collision detection and near 40 balls at 30fps with collision detection. >> Bad news is, my collision handler doesn?t work correctly, hence this question :) >> >> Here?s my algorithm: >> >> * on openCard >> -> create pucks >> -> set its speed random as a custom property >> -> set its destination / direction random as a custom property >> -> put the long id?s into an array for further calculations >> >> * on each screenUpdate >> ** for each puck >> -> check any collision via intersect() >> -> if yes, update the speed and direction of both collided pucks >> -> move each puck {either with updated or standard params} >> >> >> The problem is: collided pucks can?t get the chance to move in their fresh updated directions. >> Apparently intersect() has 2 - 4 pixels threshold; actually it?s not a threshold, well, I don?t know what it is. >> Probably, it?s related to the speed of the pucks and screen update delay. >> I?ve recorded the stats and looked at the collided grcs? rects;? >> I see that they?re not precisely side-by-side. One?s right is 202 and the other one?s left is 198, for example. >> >> Back to the problem: >> They collide,? >> collision handler updates their direction,? >> but in next screen update they?re still collided because of the aforementioned issue, >> so their directions are getting transposed again, and again, and again, ?? >> After 20 - 30 seconds, all pucks are gathered somewhere just trembling crazily. >> >> >> I know that I have to create a flag as a custom property saying ?this puck?s already handled, don?t check it? to the intersect() function. >> But no matter which path I chose to accomplish this, it became dead end. >> >> Any quick ideas, anyone? >> >> >> >> Thank you very much, >> >> ~ Ender Nafi >> >> >> ---- > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From irog at mac.com Fri Nov 8 08:25:00 2013 From: irog at mac.com (Roger Guay) Date: Fri, 08 Nov 2013 05:25:00 -0800 Subject: Algorithm for Direction Change upon Collision In-Reply-To: References: <6F8AC185-4D9F-48F5-99A4-82C1826D0E93@sbcglobal.net> Message-ID: Oops, never mind, I found your links!! On Nov 8, 2013, at 5:22 AM, Roger Guay wrote: > Hi Jim, > > I tried to find Nine Ball Pool on your web site, but could not. I found all links were broken except for your book. I did buy your book but would like to find your stacks as well. > > Thanks and cheers, > > Roger > > On Nov 8, 2013, at 3:55 AM, Jim Hurley wrote: > >> Hi Ender, >> >> You might want to check out a stack I put up on "User Samples" some time ago titled "Two ball collisions". It was written to deal with the basic physics of collisions between pool balls, but the dynamics is the same as hockey pucks. >> >> This stack provides a function that allows one to allow for collisions between circular graphic objects. It is based on the physics of an ideal, elastic collision in which the total momentum and energy are conserved. Given the position and velocities of each ball just before the collision, the "getVel" function will return the velocities of each ball just after the collision. >> >> Also there is a couple of versions of Nine Ball pool on my web site: http://jamesphurley.on-rev.com/ >> >> Run Rev is up to the task of 9 (actually 10 including the cue ball) colliding balls. I don't know about 20. >> >> Jim >> >>> >>> Message: 8 >>> Date: Fri, 8 Nov 2013 11:29:29 +0200 >>> From: Ender Nafi Elekcioglu >>> To: LiveCode Support >>> Subject: Algorithm for Direction Change upon Collision >>> Message-ID: >>> Content-Type: text/plain; charset="utf-8" >>> >>> Hi folks, >>> >>> I?m dealing with this problem for a week now and I am officially stuck. >>> A little push, any insight would be great. >>> >>> It?ll be a particle animation {sparkle effect} for an iOS app. >>> But for the base structure, I?m trying to make it dead simple; >>> so, think an Airhockey game in which there are ~20 pucks constantly colliding and changing direction. >>> >>> TactileMedia?s excellent ?bouncer2.rev? stack doesn?t help, ?cause it?s performance falls short for my situation. >>> Try it with 4 balls instead of 2 and it starts to crawl. I need at least 20. >>> AnimationEngine doesn?t help much, its performance is not sufficient enough, likewise. >>> >>> >>> I had to write my own handlers. >>> Good news is, I managed to achieve 100+ balls at 30fps without collision detection and near 40 balls at 30fps with collision detection. >>> Bad news is, my collision handler doesn?t work correctly, hence this question :) >>> >>> Here?s my algorithm: >>> >>> * on openCard >>> -> create pucks >>> -> set its speed random as a custom property >>> -> set its destination / direction random as a custom property >>> -> put the long id?s into an array for further calculations >>> >>> * on each screenUpdate >>> ** for each puck >>> -> check any collision via intersect() >>> -> if yes, update the speed and direction of both collided pucks >>> -> move each puck {either with updated or standard params} >>> >>> >>> The problem is: collided pucks can?t get the chance to move in their fresh updated directions. >>> Apparently intersect() has 2 - 4 pixels threshold; actually it?s not a threshold, well, I don?t know what it is. >>> Probably, it?s related to the speed of the pucks and screen update delay. >>> I?ve recorded the stats and looked at the collided grcs? rects;? >>> I see that they?re not precisely side-by-side. One?s right is 202 and the other one?s left is 198, for example. >>> >>> Back to the problem: >>> They collide,? >>> collision handler updates their direction,? >>> but in next screen update they?re still collided because of the aforementioned issue, >>> so their directions are getting transposed again, and again, and again, ?? >>> After 20 - 30 seconds, all pucks are gathered somewhere just trembling crazily. >>> >>> >>> I know that I have to create a flag as a custom property saying ?this puck?s already handled, don?t check it? to the intersect() function. >>> But no matter which path I chose to accomplish this, it became dead end. >>> >>> Any quick ideas, anyone? >>> >>> >>> >>> Thank you very much, >>> >>> ~ Ender Nafi >>> >>> >>> ---- >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dave at applicationinsight.com Fri Nov 8 08:59:08 2013 From: dave at applicationinsight.com (Dave Kilroy) Date: Fri, 8 Nov 2013 05:59:08 -0800 (PST) Subject: Keyboard in IOS and Field Focus In-Reply-To: References: <1383758794944-4671948.post@n4.nabble.com> <1383825338931-4671994.post@n4.nabble.com> Message-ID: <1383919148542-4672062.post@n4.nabble.com> Vaughn There are lofts of ways of doing this, possibly the simplest is to use the keyboardActivated handler to first record the loc (or rect) of the target field in a script local variable (i.e. one which you define outside the handler at the top of the card script), then using effective screenRect calculate where the field should be when the keyboard is open, then simply "set the loc" of the field (or a group containing it), or your could "set the rect" instead. Then in the keyboardDeactivated handler get the original loc (or rect) of the the target field or group from the script local variable you used earlier and once again simply set the "loc" or "rect" to that location/rect to put everything back the way it was when the keyboard closes Sounds quite complex as I read this back but it's actually easy to do once you get started coding :) Dave ----- "Some are born coders, some achieve coding, and some have coding thrust upon them." - William Shakespeare & Hugh Senior -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Keyboard-in-IOS-and-Field-Focus-tp4671935p4672062.html Sent from the Revolution - User mailing list archive at Nabble.com. From heather at runrev.com Fri Nov 8 11:10:15 2013 From: heather at runrev.com (Heather Laine) Date: Fri, 8 Nov 2013 16:10:15 +0000 Subject: Express yourself - new review feature in store Message-ID: <0A86B32E-1C0C-4828-8718-37A5ED707170@runrev.com> Dear List Folks, I'd like to draw your attention to a new feature we've just added to our Marketplace store. If you've purchased any of the fine add ons in our store, created by third party vendors, you can now leave a review for the guidance of others. Just log in in the usual way to your LiveCode account, visit the product you want to review, and scroll to the bottom of the description to see where you can add a comment and star rating. All reviews will be manually approved so you may see a short delay before your comment appears. http://livecode.com/store/marketplace/ Enjoy! Regards, Heather Heather Laine Customer Services Manager http://www.livecode.com/ From paulhibbert at mac.com Fri Nov 8 14:02:54 2013 From: paulhibbert at mac.com (Paul Hibbert) Date: Fri, 08 Nov 2013 11:02:54 -0800 Subject: Express yourself - new review feature in store In-Reply-To: <0A86B32E-1C0C-4828-8718-37A5ED707170@runrev.com> References: <0A86B32E-1C0C-4828-8718-37A5ED707170@runrev.com> Message-ID: Dear Heather, I have just left a review for lcTaskList and was about to leave another review for Zygodact when I realised that I didn't change the review star rating (it wasn't obvious where to change it!). I think my review for lcTaskList will come up with a 3 star rating so could you please change it to 5 stars for me? Thank you. Paul Hibbert On 2013-11-08, at 8:10 AM, Heather Laine wrote: > Dear List Folks, > > I'd like to draw your attention to a new feature we've just added to our Marketplace store. If you've purchased any of the fine add ons in our store, created by third party vendors, you can now leave a review for the guidance of others. Just log in in the usual way to your LiveCode account, visit the product you want to review, and scroll to the bottom of the description to see where you can add a comment and star rating. > > All reviews will be manually approved so you may see a short delay before your comment appears. > > http://livecode.com/store/marketplace/ > > Enjoy! > > Regards, > > Heather > > Heather Laine > Customer Services Manager > http://www.livecode.com/ > > > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From endernafi at gmail.com Fri Nov 8 14:45:18 2013 From: endernafi at gmail.com (Ender Nafi Elekcioglu) Date: Fri, 8 Nov 2013 21:45:18 +0200 Subject: pucks collide In-Reply-To: <67E9AA23-DDB3-4BFC-9821-CADFBEF8296C@knowlegistics.com> References: <67E9AA23-DDB3-4BFC-9821-CADFBEF8296C@knowlegistics.com> Message-ID: Hi Frans, I bought AE years ago, but didn?t use it much. After Malte made it open source, however, I?ve found a chance to look inside at his code. The algorithms are really excellent. Since then, I either use directly some of his functions or create my own tailored versions inspiring from them. Thank you for the reminder... Best, ~ Ender Nafi On November 8, 2013 at 13:28:37, Frans Schoffelen (frans at knowlegistics.com) wrote: Hi, you may want to have a look at the excellent algorithms provided in the AE engine from Malte Brill. Cheers Frans Frans Schoffelen http://knowlegistics.com // Software & Sound // Makers of "Die Waldfibel 1.0" , "Beste Reste" and "Jolly Dolly" on Appstores _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From endernafi at gmail.com Fri Nov 8 14:59:34 2013 From: endernafi at gmail.com (Ender Nafi Elekcioglu) Date: Fri, 8 Nov 2013 21:59:34 +0200 Subject: Algorithm for Direction Change upon Collision In-Reply-To: References: <6F8AC185-4D9F-48F5-99A4-82C1826D0E93@sbcglobal.net> Message-ID: Guys, thank you all? Please, forgive me for late reply; I was out all day visiting our customers. @Mark, I?ll implement both of your suggestions. I?m sure they?re gonna solve the issue. @Jim, Your code in Nine Ball is excellent. I?m afraid, I have to spend many hours just to understand it :) The way you handle the collisions seems more sophisticated and -hopefully- less hungry in terms of processing power. I?ll find a way to merge two methods to find most economic {again, in terms of processing power} code to keep the FramePerSeconds rate high. Thanks again, you?re always helpful? Best, ~ Ender Nafi From sritcp at gmail.com Fri Nov 8 15:04:20 2013 From: sritcp at gmail.com (Sri) Date: Fri, 8 Nov 2013 12:04:20 -0800 (PST) Subject: Making Games with LiveCode Blog? In-Reply-To: <1383565859.52778a2306ef6@www.server101.com> References: <1383565859.52778a2306ef6@www.server101.com> Message-ID: <1383941060876-4672067.post@n4.nabble.com> Scott: Thank you for your initiative. Yes, I would be very interested. My wife works with children with hearing loss (to help them to listen and speak - no signing). She uses her Mac and iPad a great deal and games are a major component of her therapy. She uses ScratchBoard, Lego WeDo, Arduino, etc. I have been trying to develop a few customized games, some to use with Makey-Makey board, but most of them sound and language based games. (Of course, a major dampener is that I can't make a game for iPad - with the Community edition-, and iPad is what every parent seems to have at home!). I expect your blog to be very useful to an amateur programmer like me. Regards, Sri. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Making-Games-with-LiveCode-Blog-tp4671843p4672067.html Sent from the Revolution - User mailing list archive at Nabble.com. From scott at tactilemedia.com Fri Nov 8 15:16:34 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 08 Nov 2013 12:16:34 -0800 Subject: Algorithm for Direction Change upon Collision In-Reply-To: Message-ID: Ender: I thought RunRev recently added something along the lines of a collision message, but I can't find anything in any of the help references. It might be that intersect() is the only option available for collision, but if so, it seems impractical to use it in a looping script on a lot of objects. Somebody like Geoff Canyon or John Craig may know a better way. I tried to briefly play around with this and updated the swarm stack I made a long time ago to make it run better. It does fine detecting the edges of the card, but when trying to detect all possible collisions slows way down. Message box: go url "https://dl.dropboxusercontent.com/u/7192863/LCtest/swarm2.livecode" Changes added: - object arrays - moving objects are now images with dynamic layerMode - acceleratedRendering for the stack There is a rudimentary collision handler in the card script than can be turned on/off, and the performance difference is substantial. Without an engine-based message devoted to collision, I don't immediately see a way to handle this efficiently. But again, somebody else may have a better idea. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 11/8/13 1:29 AM, "Ender Nafi Elekcioglu" wrote: >Hi folks, > >I?m dealing with this problem for a week now and I am officially stuck. >A little push, any insight would be great. > >It?ll be a particle animation {sparkle effect} for an iOS app. >But for the base structure, I?m trying to make it dead simple; >so, think an Airhockey game in which there are ~20 pucks constantly >colliding and changing direction. > >TactileMedia?s excellent ?bouncer2.rev? stack doesn?t help, ?cause it?s >performance falls short for my situation. >Try it with 4 balls instead of 2 and it starts to crawl. I need at least >20. >AnimationEngine doesn?t help much, its performance is not sufficient >enough, likewise. > > >I had to write my own handlers. >Good news is, I managed to achieve 100+ balls at 30fps without collision >detection and near 40 balls at 30fps with collision detection. >Bad news is, my collision handler doesn?t work correctly, hence this >question :) > >Here?s my algorithm: > >* on openCard >-> create pucks >-> set its speed random as a custom property >-> set its destination / direction random as a custom property >-> put the long id?s into an array for further calculations > >* on each screenUpdate >** for each puck >-> check any collision via intersect() >-> if yes, update the speed and direction of both collided pucks >-> move each puck {either with updated or standard params} > > >The problem is: collided pucks can?t get the chance to move in their >fresh updated directions. >Apparently intersect() has 2 - 4 pixels threshold; actually it?s not a >threshold, well, I don?t know what it is. >Probably, it?s related to the speed of the pucks and screen update delay. >I?ve recorded the stats and looked at the collided grcs? rects; >I see that they?re not precisely side-by-side. One?s right is 202 and the >other one?s left is 198, for example. > >Back to the problem: >They collide, >collision handler updates their direction, >but in next screen update they?re still collided because of the >aforementioned issue, >so their directions are getting transposed again, and again, and again, ? >After 20 - 30 seconds, all pucks are gathered somewhere just trembling >crazily. > > >I know that I have to create a flag as a custom property saying ?this >puck?s already handled, don?t check it? to the intersect() function. >But no matter which path I chose to accomplish this, it became dead end. > >Any quick ideas, anyone? > > > >Thank you very much, > >~ Ender Nafi >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode From ben at runrev.com Fri Nov 8 15:38:12 2013 From: ben at runrev.com (Benjamin Beaumont) Date: Fri, 8 Nov 2013 20:38:12 +0000 Subject: RELEASE: LiveCode 6.5 RC2 Message-ID: Dear List Members LiveCode 6.5.0-rc-2 is now available. *Warning*: this is not a stable release. Please ensure you back up your stacks before testing them. If you do not wish to be notified of test releases, uncheck the appropriate boxes in the Updates section of your LiveCode Preferences. *Release Contents* This beta release contains the following changes: Server graphics support Full screen scaling mode. PCRE library updated to version 8.33 libUrlSetSSLVerification now supported on mobile platforms Resolution Independence New global property colorDialogColors Integration of revFont external Enhanced \'filter\' command Text Measurement The optional *recursively* adverb has been added to union and intersect commands Xpath functions 42 bug fixes: 11397 - Imagedata of resized images returned at wrong scale 11393 - Fullscreen modes cause clipped text on Windows 11390 - Fix incorrect cropping of resized image 11389 - Dashed borders on oval grapgics do not start at the correct location 11388 - 1 pixel non-antialiased lines draw incorrectly in certain circumstances 11360 - Linux themeing does not correctly work on non 32bit displays 11355 - Focus border on Windows default button has artefacts. 10508 - Printing text to PDF on Windows can result in poor layout. 11367 - Gradient inspector does not draw fully 11359 - Redraw issues with inner glow and inner shadow. 11351 - \"recursively\" option for array union and intersect not working. 11349 - Content outside of card rect can be seen in show all fullscreenmode when acceleratedRendering is true. 11338 - Character backColor not rendered in fields. 11336 - The fullscreenModes are now camel-case. 11335 - In fullscreen mode on Mac, the window resize handle still appears. 11332 - Text not rendered in correct location in -ui mode when taking snapshot of object. 11330 - Visual effects not displayed correctly on iOS when fullscreenmode is \'no border\', and stack extends outside of the visible screen. 11329 - Dynamic layers do not render correctly when fullscreenmode causes stack to not be at top-left of screen. 11327 - Opening large scripts takes longer in 6.5 than 6.1.2 11325 - Graphic effects rendered incorrectly when non-Normal blend mode used. 11324 - Borders still rendered even if borderWidth == 0. 11315 - Instability of LiveCode when gradients are being / have been displayed. 11314 - Image transparency is lost when setting the imagedata 11299 - Answer folder for XCode app bundle has a typo 11198 - Fix color issues on PowerPC Mac 11174 - Conical spiral XY and sqrtXY gradients render incorrectly. 11310 - Italic fonts clipped on right hand side on iOS 11309 - Text clips for certain fonts on Mac 11297 - Setting the color of a graphic effect resets its opacity 11283 - Italic fonts are not rendered on Mac. 11280 - Project browser does not expand cards of substacks 11241 - Non-3D borders are always black. 11227 - Android native controls are positioned incorrectly. 11221 - Field background pattern not working. 11179 - Images with an angle other than 0 are not drawn. 11178 - Import from paint always fails. 11176 - MouseDoubleUp messages are not sent on Linux. 10995 - Standalones now set default font settings the same as the IDE. 10980 - Setting the filename of an image which already has a filename causes the property to be unset and \'could not load image\' in the result. 10977 - Setting the image filename to empty unsets the image text and vice-versa 10964 - Inconsistent rounding of floating point values. 6720 - Scrollbar properties not returned in correct format. Warm regards, The LiveCode team -- _____________________________________________ Benjamin Beaumont . RunRev Ltd LiveCode Product Manager mail : 25a Thistle Street Lane South West, Edinburgh, EH2 1EW email : ben at runrev.com company : +44(0) 845 219 89 23 fax : +44(0) 845 458 8487 web : www.runrev.com LiveCode - Programming made simple From andrew at ctech.me Fri Nov 8 15:58:28 2013 From: andrew at ctech.me (Andrew Kluthe) Date: Fri, 8 Nov 2013 14:58:28 -0600 Subject: RELEASE: LiveCode 6.5 RC2 In-Reply-To: References: Message-ID: 10995 - Standalones now set default font settings the same as the IDE. ooo, thanks. An impressive list On Fri, Nov 8, 2013 at 2:38 PM, Benjamin Beaumont wrote: > Dear List Members > > LiveCode 6.5.0-rc-2 is now available. > > *Warning*: this is not a stable release. Please ensure you back up your > stacks before testing them. If you do not wish to be notified of test > releases, uncheck the appropriate boxes in the Updates section of your > LiveCode Preferences. > > *Release Contents* > This beta release contains the following changes: > > Server graphics support > Full screen scaling mode. > PCRE library updated to version 8.33 > libUrlSetSSLVerification now supported on mobile platforms > Resolution Independence > New global property colorDialogColors > Integration of revFont external > Enhanced \'filter\' command > Text Measurement > The optional *recursively* adverb has been added to union and intersect > commands > Xpath functions > 42 bug fixes: 11397 - Imagedata of resized images returned at wrong scale > 11393 - Fullscreen modes cause clipped text on Windows > 11390 - Fix incorrect cropping of resized image > 11389 - Dashed borders on oval grapgics do not start at the correct > location > 11388 - 1 pixel non-antialiased lines draw incorrectly in certain > circumstances > 11360 - Linux themeing does not correctly work on non 32bit displays > 11355 - Focus border on Windows default button has artefacts. > 10508 - Printing text to PDF on Windows can result in poor layout. > 11367 - Gradient inspector does not draw fully > 11359 - Redraw issues with inner glow and inner shadow. > 11351 - \"recursively\" option for array union and intersect not working. > 11349 - Content outside of card rect can be seen in show all fullscreenmode > when acceleratedRendering is true. > 11338 - Character backColor not rendered in fields. > 11336 - The fullscreenModes are now camel-case. > 11335 - In fullscreen mode on Mac, the window resize handle still appears. > 11332 - Text not rendered in correct location in -ui mode when taking > snapshot of object. > 11330 - Visual effects not displayed correctly on iOS when fullscreenmode > is \'no border\', and stack extends outside of the visible screen. > 11329 - Dynamic layers do not render correctly when fullscreenmode causes > stack to not be at top-left of screen. > 11327 - Opening large scripts takes longer in 6.5 than 6.1.2 > 11325 - Graphic effects rendered incorrectly when non-Normal blend mode > used. > 11324 - Borders still rendered even if borderWidth == 0. > 11315 - Instability of LiveCode when gradients are being / have been > displayed. > 11314 - Image transparency is lost when setting the imagedata > 11299 - Answer folder for XCode app bundle has a typo > 11198 - Fix color issues on PowerPC Mac > 11174 - Conical spiral XY and sqrtXY gradients render incorrectly. > 11310 - Italic fonts clipped on right hand side on iOS > 11309 - Text clips for certain fonts on Mac > 11297 - Setting the color of a graphic effect resets its opacity > 11283 - Italic fonts are not rendered on Mac. > 11280 - Project browser does not expand cards of substacks > 11241 - Non-3D borders are always black. > 11227 - Android native controls are positioned incorrectly. > 11221 - Field background pattern not working. > 11179 - Images with an angle other than 0 are not drawn. > 11178 - Import from paint always fails. > 11176 - MouseDoubleUp messages are not sent on Linux. > 10995 - Standalones now set default font settings the same as the IDE. > 10980 - Setting the filename of an image which already has a filename > causes the property to be unset and \'could not load image\' in the result. > 10977 - Setting the image filename to empty unsets the image text and > vice-versa > 10964 - Inconsistent rounding of floating point values. > 6720 - Scrollbar properties not returned in correct format. > > Warm regards, > > The LiveCode team > > > > -- > _____________________________________________ > > Benjamin Beaumont . RunRev Ltd > > LiveCode Product Manager > mail : 25a Thistle Street Lane South West, Edinburgh, EH2 1EW > email : ben at runrev.com > company : +44(0) 845 219 89 23 > fax : +44(0) 845 458 8487 > web : www.runrev.com > > LiveCode - Programming made simple > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Regards, Andrew Kluthe andrew at ctech.me From endernafi at gmail.com Fri Nov 8 16:07:58 2013 From: endernafi at gmail.com (Ender Nafi Elekcioglu) Date: Fri, 8 Nov 2013 23:07:58 +0200 Subject: Algorithm for Direction Change upon Collision In-Reply-To: References: Message-ID: Scott, you?re the man :) Interestingly, my collision code was exactly same as yours? {I mean the intersect() section, swapping the directions and all}, EXCEPT? that teeny, tiny line of *exit repeat* :)) It solved the whole thing. I mean, almost... There are some little glitches but nothing which can?t be handled. Occasionally some pucks can escape off the screen boundaries and again occasionally some pucks overlap each other. Yet, after a while they release from themselves. Performance is pretty good, too. I could go up to 32 huge pucks at a 28 fps speed. More than 32 pucks, refresh rate drops significantly. But I need just ~20 particles and they will be tiny. I still need to improve it by implementing Jim?s, Mark?s and Bernd?s suggestions. There will be small sprite animations, thus I need efficiency and optimization. Anyways, thank you very much. -> one more thing: Do you think falling back to C++, writing some code snippets for performance driven sections, could help this kinda situations? Passing the locs to a dedicated C++ collision detector external and getting the result, maybe? Although on a second thought, the intersect() itself is written in C++, right? So, what are the odds that I can write more efficient / faster code than RunRev team? Perhaps, this last question deserves a separate thread; still I wanna hear your { plural :) } thoughts? Kindest Regards, ~ Ender Nafi From mwieder at ahsoftware.net Fri Nov 8 16:31:01 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 8 Nov 2013 13:31:01 -0800 Subject: OT: looking for Proxy-Server-Simulation In-Reply-To: <007f01cedbc6$580dccb0$08296610$@de> References: <007f01cedbc6$580dccb0$08296610$@de> Message-ID: <133242255002.20131108133101@ahsoftware.net> Tiemo- Thursday, November 7, 2013, 6:33:36 AM, you wrote: > Hi, > I am looking for a freeware proxy-server software for testing my http > proxy-server settings in my LC program on windows and mac without having a > hardware proxy-server. > On windows I have found proxymitron, which works pretty easy, but is not > capable to simulate a proxy-server authentication with user and pw. > Any recommendations for win and mac appreciated You might want to take a look at Charles. http://www.charlesproxy.com/ -- -Mark Wieder ahsoftware at gmail.com From scott at tactilemedia.com Fri Nov 8 16:55:23 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 08 Nov 2013 13:55:23 -0800 Subject: Algorithm for Direction Change upon Collision In-Reply-To: Message-ID: Ender: My codez r lame. :-) Guys like John Craig, Jim Hurley, Geoff Canyon, and others have done great things with animation/motion. But I'm glad if you got something useful from the stack. Related to this discussion, I will make a sacrilegious comment that I've been wanting to make for a long time: The whole notion of locking the screen in the LiveCode needs to go away. Now, before you break out the pitchforks and torches, let me qualify my statement. I'm not saying we shouldn't be allowed to lock the screen to make updates invisibly. That's fine. But when doing things like moving objects, animation, setting the scroll of a scroller, screen transitions, or anything that involves updating multiple elements in a stack at once, locking the screen should not be necessary. It places too many limitations on how objects must be handled, limits how many objects can be handled at once, and makes the detection of user input during the transition near impossible. How nice would it be to be able to script "move object 1 across this card in 1 second and move object 2 halfway across this card in 2 seconds" while setting the blendLevel of each object to varying levels, and maybe bring an image or two into view. In other dev environments, these kinds of events are essentially handled automatically, without the developer having to do the screen lock dance: lock the screen, make some small changes, unlock the screen; lock the screen, make some more small changes, unlock the screen, etc. It's just not necessary, and in an ideal world, it shouldn't be necessary in LiveCode. The way things stand now, we will never be able to reproduce the multi-element transition that occurs on iOS, for example, when switching views with a nav bar: the elements in the nav bar change position and change transparency, while the main content of the screen changes to a different view. There are simply too many changes of different types and timings going on that LiveCode just can't handle. I'm waiting for the day we won't be locked out of development options by screen locking. OK, now cue the pitchforks and torches. lock screen for visual effect exit soapbox unlock screen with visual "run away" very fast Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design From: Ender Nafi Elekcioglu Date: Friday, November 8, 2013 1:06 PM To: LiveCode Mail List , Scott Rossi Subject: Re: Algorithm for Direction Change upon Collision >Scott, you?re the man :) > >Interestingly, my collision code was exactly same as yours >{I mean the intersect() section, swapping the directions and all}, >EXCEPT >that teeny, tiny line of *exit repeat* :)) > >It solved the whole thing. > >I mean, almost... >There are some little glitches but nothing which can?t be handled. >Occasionally some pucks can escape off the screen boundaries >and again occasionally some pucks overlap each other. >Yet, after a while they release from themselves. > >Performance is pretty good, too. >I could go up to 32 huge pucks at a 28 fps speed. >More than 32 pucks, refresh rate drops significantly. >But I need just ~20 particles and they will be tiny. > >I still need to improve it by implementing Jim?s, Mark?s and Bernd?s >suggestions. >There will be small sprite animations, thus I need efficiency and >optimization. > > >Anyways, thank you very much. > > >-> one more thing: >Do you think falling back to C++, writing some code snippets for >performance driven sections, could help this kinda situations? >Passing the locs to a dedicated C++ collision detector external and >getting the result, maybe? >Although on a second thought, the intersect() itself is written in C++, >right? >So, what are the odds that I can write more efficient / faster code than >RunRev team? >Perhaps, this last question deserves a separate thread; still I wanna >hear your { plural :) } thoughts? > > >Kindest Regards, > >~ Ender Nafi From ambassador at fourthworld.com Fri Nov 8 17:14:41 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 08 Nov 2013 14:14:41 -0800 Subject: Congratulations Message-ID: <527D6251.9080608@fourthworld.com> http://www.prweb.com/releases/2013/11/prweb11298262.htm -- 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 From m.schonewille at economy-x-talk.com Fri Nov 8 17:32:16 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 08 Nov 2013 23:32:16 +0100 Subject: Congratulations In-Reply-To: <527D6251.9080608@fourthworld.com> References: <527D6251.9080608@fourthworld.com> Message-ID: <527D6670.90003@economy-x-talk.com> Yeah, I saw it on Facebook, in the RunRev group. Pretty cool. This (Chinese) article was posted on FB, by the author of the article. http://www.csdn.net/article/2013-11-06/2817411-LiveCode-RunRev-IDE -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi Fill out this survey please http://livecodebeginner.economy-x-talk.com/survey/ On 11/8/2013 23:14, Richard Gaskin wrote: > > http://www.prweb.com/releases/2013/11/prweb11298262.htm > From m_p_wilcox at yahoo.co.uk Fri Nov 8 17:34:45 2013 From: m_p_wilcox at yahoo.co.uk (Mark Wilcox) Date: Fri, 8 Nov 2013 22:34:45 +0000 (GMT) Subject: Congratulations In-Reply-To: <527D6251.9080608@fourthworld.com> References: <527D6251.9080608@fourthworld.com> Message-ID: <1383950085.70923.YahooMailNeo@web28803.mail.ir2.yahoo.com> Wow, RunRev better get serious about the Android support fast! :) ________________________________ From: Richard Gaskin To: How to use LiveCode Sent: Friday, 8 November 2013, 22:14 Subject: Congratulations http://www.prweb.com/releases/2013/11/prweb11298262.htm -- 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 at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From stephenREVOLUTION2 at barncard.com Fri Nov 8 17:54:25 2013 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Fri, 8 Nov 2013 14:54:25 -0800 Subject: RELEASE: LiveCode 6.5 RC2 In-Reply-To: References: Message-ID: it appears the server is still at 6_1 - not 6_5_x is the "server graphics support" mentioned in this version, wrongly numbered? Or just my misinterpretation of the UI? On Fri, Nov 8, 2013 at 12:58 PM, Andrew Kluthe wrote: > 10995 - Standalones now set default font settings the same as the IDE. > > ooo, thanks. > > An impressive list > > > On Fri, Nov 8, 2013 at 2:38 PM, Benjamin Beaumont wrote: > > > Dear List Members > > > > LiveCode 6.5.0-rc-2 is now available. > > > > *Warning*: this is not a stable release. Please ensure you back up your > > stacks before testing them. If you do not wish to be notified of test > > releases, uncheck the appropriate boxes in the Updates section of your > > LiveCode Preferences. > > > > *Release Contents* > > This beta release contains the following changes: > > > > Server graphics support > > Full screen scaling mode. > > PCRE library updated to version 8.33 > > libUrlSetSSLVerification now supported on mobile platforms > > Resolution Independence > > New global property colorDialogColors > > Integration of revFont external > > Enhanced \'filter\' command > > Text Measurement > > The optional *recursively* adverb has been added to union and intersect > > commands > > Xpath functions > > 42 bug fixes: 11397 - Imagedata of resized images returned at wrong scale > > 11393 - Fullscreen modes cause clipped text on Windows > > 11390 - Fix incorrect cropping of resized image > > 11389 - Dashed borders on oval grapgics do not start at the correct > > location > > 11388 - 1 pixel non-antialiased lines draw incorrectly in certain > > circumstances > > 11360 - Linux themeing does not correctly work on non 32bit displays > > 11355 - Focus border on Windows default button has artefacts. > > 10508 - Printing text to PDF on Windows can result in poor layout. > > 11367 - Gradient inspector does not draw fully > > 11359 - Redraw issues with inner glow and inner shadow. > > 11351 - \"recursively\" option for array union and intersect not working. > > 11349 - Content outside of card rect can be seen in show all > fullscreenmode > > when acceleratedRendering is true. > > 11338 - Character backColor not rendered in fields. > > 11336 - The fullscreenModes are now camel-case. > > 11335 - In fullscreen mode on Mac, the window resize handle still > appears. > > 11332 - Text not rendered in correct location in -ui mode when taking > > snapshot of object. > > 11330 - Visual effects not displayed correctly on iOS when fullscreenmode > > is \'no border\', and stack extends outside of the visible screen. > > 11329 - Dynamic layers do not render correctly when fullscreenmode causes > > stack to not be at top-left of screen. > > 11327 - Opening large scripts takes longer in 6.5 than 6.1.2 > > 11325 - Graphic effects rendered incorrectly when non-Normal blend mode > > used. > > 11324 - Borders still rendered even if borderWidth == 0. > > 11315 - Instability of LiveCode when gradients are being / have been > > displayed. > > 11314 - Image transparency is lost when setting the imagedata > > 11299 - Answer folder for XCode app bundle has a typo > > 11198 - Fix color issues on PowerPC Mac > > 11174 - Conical spiral XY and sqrtXY gradients render incorrectly. > > 11310 - Italic fonts clipped on right hand side on iOS > > 11309 - Text clips for certain fonts on Mac > > 11297 - Setting the color of a graphic effect resets its opacity > > 11283 - Italic fonts are not rendered on Mac. > > 11280 - Project browser does not expand cards of substacks > > 11241 - Non-3D borders are always black. > > 11227 - Android native controls are positioned incorrectly. > > 11221 - Field background pattern not working. > > 11179 - Images with an angle other than 0 are not drawn. > > 11178 - Import from paint always fails. > > 11176 - MouseDoubleUp messages are not sent on Linux. > > 10995 - Standalones now set default font settings the same as the IDE. > > 10980 - Setting the filename of an image which already has a filename > > causes the property to be unset and \'could not load image\' in the > result. > > 10977 - Setting the image filename to empty unsets the image text and > > vice-versa > > 10964 - Inconsistent rounding of floating point values. > > 6720 - Scrollbar properties not returned in correct format. > > > > Warm regards, > > > > The LiveCode team > > > > > > > > -- > > _____________________________________________ > > > > Benjamin Beaumont . RunRev Ltd > > > > LiveCode Product Manager > > mail : 25a Thistle Street Lane South West, Edinburgh, EH2 1EW > > email : ben at runrev.com > > company : +44(0) 845 219 89 23 > > fax : +44(0) 845 458 8487 > > web : www.runrev.com > > > > LiveCode - Programming made simple > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > -- > Regards, > > Andrew Kluthe > andrew at ctech.me > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb From bogdanoff at me.com Fri Nov 8 17:59:13 2013 From: bogdanoff at me.com (Peter Bogdanoff) Date: Fri, 8 Nov 2013 14:59:13 -0800 Subject: Using Record Sound Command In-Reply-To: References: Message-ID: <7F2F2196-875C-43AC-8D0C-445D454E6A2C@me.com> Hi, I'm starting to try out the Record Sound command and I find it a bit puzzling. 1. One thing that is very unclear is when the recording parameters like recordFormat and recordCompression are set, what exactly is set? The IDE? The recording that is to be created next? Are these settings saved until later, or do they need to be set every time a recording is done, or the IDE is launched? 2. The Answer Record dialog doesn't allow setting the recordFormat. When, via a script, I set the recordFormat to "movie", the recordCompression (I tried ima4) is ignored. All this in LC 6.1.2. Peter Bogdanoff UCLA From monte at sweattechnologies.com Fri Nov 8 18:04:27 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Sat, 9 Nov 2013 10:04:27 +1100 Subject: Congratulations In-Reply-To: <1383950085.70923.YahooMailNeo@web28803.mail.ir2.yahoo.com> References: <527D6251.9080608@fourthworld.com> <1383950085.70923.YahooMailNeo@web28803.mail.ir2.yahoo.com> Message-ID: <0BE2E27E-D7EF-40C9-9662-0E9356946396@sweattechnologies.com> On 09/11/2013, at 9:34 AM, Mark Wilcox wrote: > Wow, RunRev better get serious about the Android support fast! :) And lucky there's already a bucket load of work done on the unicode refactoring branch. -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From bogdanoff at me.com Fri Nov 8 18:21:04 2013 From: bogdanoff at me.com (Peter Bogdanoff) Date: Fri, 8 Nov 2013 15:21:04 -0800 Subject: Congratulations In-Reply-To: <1383950085.70923.YahooMailNeo@web28803.mail.ir2.yahoo.com> References: <527D6251.9080608@fourthworld.com> <1383950085.70923.YahooMailNeo@web28803.mail.ir2.yahoo.com> Message-ID: This press release is about RunRev setting up in China. I agree it's a great market for both developers there and here. With this, hopefully, RunRev will work on solving a problem I've been having with displaying upper ASCII text on Chinese Windows installations. I've sent compiled versions of my music history textbook to testers there who aren't able to see diacriticals (Latin characters) displayed properly when set to standard Helvetica and Georgia. Their MS Word, etc., don't have this problem, only LiveCode. Also, when I choose a Chinese font in the IDE, those font names don't display correctly, although you can type in a name in the Inspector and have it set. Also, most of the Chinese fonts that I have don't display the fontSize or fontStyle correctly. They display only one size, no matter what size you set. One font, Hei, can change size, but not other standard fonts like Song ti and SimSun. I don't understand what's going on under the hood for font display, but I've had nothing but trouble working with Chinese font display and displaying Latin text on Chinese Windows OS installations. Peter Bogdanoff UCLA On Nov 8, 2013, at 2:34 PM, Mark Wilcox wrote: > Wow, RunRev better get serious about the Android support fast! :) > > > ________________________________ > From: Richard Gaskin > To: How to use LiveCode > Sent: Friday, 8 November 2013, 22:14 > Subject: Congratulations > > > > http://www.prweb.com/releases/2013/11/prweb11298262.htm > > -- > 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From sc at sahores-conseil.com Fri Nov 8 18:31:43 2013 From: sc at sahores-conseil.com (Pierre Sahores) Date: Sat, 9 Nov 2013 00:31:43 +0100 Subject: Congratulations In-Reply-To: <527D6251.9080608@fourthworld.com> References: <527D6251.9080608@fourthworld.com> Message-ID: <56917CA6-E0B5-430E-8092-DFF0433E6F8A@sahores-conseil.com> Well done. Congratulations Team ! > > http://www.prweb.com/releases/2013/11/prweb11298262.htm > > -- > 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com From ethan at lish.net Fri Nov 8 18:41:33 2013 From: ethan at lish.net (ethan at lish.net) Date: Fri, 08 Nov 2013 18:41:33 -0500 Subject: Congratulations In-Reply-To: <56917CA6-E0B5-430E-8092-DFF0433E6F8A@sahores-conseil.com> References: <527D6251.9080608@fourthworld.com> <56917CA6-E0B5-430E-8092-DFF0433E6F8A@sahores-conseil.com> Message-ID: <527D76AD.7070903@lish.net> ??? E Ethan at Lish.net 240.449.8270 On 11/8/13, 6:31 PM, Pierre Sahores wrote: > Well done. Congratulations Team ! > >> http://www.prweb.com/releases/2013/11/prweb11298262.htm >> >> -- >> 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 at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > -- > Pierre Sahores > mobile : 06 03 95 77 70 > www.sahores-conseil.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > From coiin at verizon.net Fri Nov 8 18:43:08 2013 From: coiin at verizon.net (Colin Holgate) Date: Fri, 08 Nov 2013 18:43:08 -0500 Subject: Congratulations In-Reply-To: <527D76AD.7070903@lish.net> References: <527D6251.9080608@fourthworld.com> <56917CA6-E0B5-430E-8092-DFF0433E6F8A@sahores-conseil.com> <527D76AD.7070903@lish.net> Message-ID: <19E3791F-BD30-4D88-903C-B9E35EFB48A9@verizon.net> That?s easy for you to say. On Nov 8, 2013, at 6:41 PM, ethan at lish.net wrote: > > ??? From warren at warrensweb.us Fri Nov 8 18:49:59 2013 From: warren at warrensweb.us (Warren Samples) Date: Fri, 08 Nov 2013 17:49:59 -0600 Subject: RELEASE: LiveCode 6.5 RC2 In-Reply-To: References: Message-ID: <527D78A7.4040606@warrensweb.us> On 11/08/2013 04:54 PM, stephen barncard wrote: > it appears the server is still at 6_1 - not 6_5_x Try: http://downloads.livecode.com/livecode/server/ From jhurley0305 at sbcglobal.net Fri Nov 8 19:15:28 2013 From: jhurley0305 at sbcglobal.net (Jim Hurley) Date: Fri, 8 Nov 2013 16:15:28 -0800 Subject: Algorithm for Direction Change upon Collision In-Reply-To: References: Message-ID: Hi Ender, Your hockey puck game is *identical* to the game of pool, except you don't have to worry about the pockets. If you want the collisions to be realistic you have to do the phyisics. Simply "swapping the directions" does not accomplish a real collission. For example imagine to balls/pucks moving horizontally toward each other along the same horizontal line. In that instance, swapping direction is fine. But suppose the line of A is slightly above the line of B. In this case the balls/pucks will move off at different angles, depending on the lines of separation. You can't just swap the directions. But this function below takes care of the physics where the xx,yy,xx',yy' and the coordinates of the two pucks before collision, and ,vxx,vyy,vxx',vyy''' are the respective velocity before the collision. The function returns the new velocities after the collision--the coordinates don't change during the moment of impact. function newVel xx,yy,xx',yy',vxx,vyy,vxx',vyy' --This assumes an ideal elastic collision. --where each ball exerts a force on the other ball --along the line joining the centers. --They exchange momentum (velocity component) along this line --The momentum (velocity) component perpendicular to this line --is unchange by the collision. put xx,yy into ptMe put xx',yy' into ptOther put theLineAngle(ptMe,ptOther) into tCentersAngle put tCentersAngle into tCa put xx,yy,xx+vxx,yy+vyy into tVelVector put theLineAngle(tVelVector) into tVa put sqrt(vxx'*vxx'+vyy'*vyy') into v' put sqrt(vxx*vxx+vyy*vyy) into v put xx',yy',xx'+vxx',yy'+vyy' into tVelVector' put theLineAngle(tVelVector') into tVa' --Angle of the vVector relative to the line joining centers put tVa - tCa into tVrA put tVa'- tCa into tVrA' put v*sin(tVrA) into vT put v'*cos(tVrA') into vR put v'*sin(tVrA') into vT' put vR*cos(tCa) - vT*sin(tCa) into vxx put vR*sin(tCa) + vT*cos(tCa) into vyy put vR'*cos(tCa) - vT'*sin(tCa) into vxx' put vR'*sin(tCa) + vT'*cos(tCa) into vyy' return vxx,vyy,vxx',vyy' end newVel function theLineAngle p1,p2 --Angle of line defined by the two points p1 and p2 get the paramCount if it is 1 then put item 3 to 4 of p1 into p2 put item 1 to 2 of p1 into p1 end if put item 1 of p2 - item 1 of p1 into dx put item 2 of p2 - item 2 of p1 into dy put atan2(dy,dx) into tAngle return tAngle end theLineAngle I know it's a mess, but so is the physics. And as for collision detection, that happens when the distance between the centers of any two balls/pucks is less than the diameter of the balls/pucks. Jim > > Message: 15 > Date: Fri, 8 Nov 2013 23:07:58 +0200 > From: Ender Nafi Elekcioglu > To: How to use LiveCode > Subject: Re: Algorithm for Direction Change upon Collision > Message-ID: > Content-Type: text/plain; charset="utf-8" > > Scott, you?re the man :) > > Interestingly, my collision code was exactly same as yours? > {I mean the intersect() section, swapping the directions and all}, > EXCEPT? > that teeny, tiny line of *exit repeat* :)) > > It solved the whole thing. > > I mean, almost... > There are some little glitches but nothing which can?t be handled. > Occasionally some pucks can escape off the screen boundaries > and again occasionally some pucks overlap each other. > Yet, after a while they release from themselves. > > Performance is pretty good, too. > I could go up to 32 huge pucks at a 28 fps speed. > More than 32 pucks, refresh rate drops significantly. > But I need just ~20 particles and they will be tiny. > > I still need to improve it by implementing Jim?s, Mark?s and Bernd?s suggestions. > There will be small sprite animations, thus I need efficiency and optimization. > > > Anyways, thank you very much. > > > -> one more thing: > Do you think falling back to C++, writing some code snippets for performance driven sections, could help this kinda situations? > Passing the locs to a dedicated C++ collision detector external and getting the result, maybe? > Although on a second thought, the intersect() itself is written in C++, right? > So, what are the odds that I can write more efficient / faster code than RunRev team? > Perhaps, this last question deserves a separate thread; still I wanna hear your { plural :) } thoughts? > > > Kindest Regards, > > ~ Ender Nafi From shawnlivecode at gmail.com Fri Nov 8 19:51:59 2013 From: shawnlivecode at gmail.com (Shawn Blc) Date: Fri, 8 Nov 2013 18:51:59 -0600 Subject: Congratulations In-Reply-To: <527D76AD.7070903@lish.net> References: <527D6251.9080608@fourthworld.com> <56917CA6-E0B5-430E-8092-DFF0433E6F8A@sahores-conseil.com> <527D76AD.7070903@lish.net> Message-ID: I agree. And one step closer to open language :) On Fri, Nov 8, 2013 at 5:41 PM, ethan at lish.net wrote: > > ??? > > E > > Ethan at Lish.net > 240.449.8270 > > On 11/8/13, 6:31 PM, Pierre Sahores wrote: > > Well done. Congratulations Team ! > > > >> http://www.prweb.com/releases/2013/11/prweb11298262.htm > >> > >> -- > >> 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 at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > -- > > Pierre Sahores > > mobile : 06 03 95 77 70 > > www.sahores-conseil.com > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From stephenREVOLUTION2 at barncard.com Fri Nov 8 20:08:58 2013 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Fri, 8 Nov 2013 17:08:58 -0800 Subject: RELEASE: LiveCode 6.5 RC2 In-Reply-To: <527D78A7.4040606@warrensweb.us> References: <527D78A7.4040606@warrensweb.us> Message-ID: On Fri, Nov 8, 2013 at 3:49 PM, Warren Samples wrote: > Try: > > http://downloads.livecode.com/livecode/server/ > thanks - I didn't see it on the popup. I forgot about this place. ... -- Stephen Barncard San Francisco Ca. USA more about sqb From feed at smpcsupport.com Sat Nov 9 00:36:29 2013 From: feed at smpcsupport.com (RunRevPlanet) Date: Sat, 09 Nov 2013 16:36:29 +1100 Subject: Algorithm for Direction Change upon Collision Message-ID: <1383975389.527dc9dde2be2@www.server101.com> Hi Ender, Your original post about particles, made be wonder about how many moving images LiveCode can support. There is a stack here: http://livecodegamedeveloper.com/download/100-Particle-Test.livecode That solves the problem of the "trembling clumps" and handles 100 particles and possibly more depending on the fps you are aiming for. (This is on an older desktop PC, I haven't tried it on a mobile device.) I was also going for a more random effect where the particles go every which way. It was done on LiveCode Community 6.1.2. The "tricks" to this demo are: 1. Don't even try real physics, if it is just for visual effect, near enough is good enough. 2. Don't underestimate the speed of text lists in LiveCode. When the number of items is measured in the hundreds, avoid using arrays in any code that is repeated in a loop. 3. Somewhat paradoxically, more code in the loop that does the screen updating is actually faster if the logic used is more efficient. Note this stack has the acceleratedRendering set to false. On some platforms setting it to true may make the animation smoother. -- Scott McDonald "Components, Controls, Tools and Resources for LiveCode" www.runrevplanet.com From m_p_wilcox at yahoo.co.uk Sat Nov 9 02:45:55 2013 From: m_p_wilcox at yahoo.co.uk (Mark Wilcox) Date: Sat, 09 Nov 2013 07:45:55 +0000 Subject: Algorithm for Direction Change upon Collision Message-ID: If you're looking for performance in your physics then you really want to avoid using cos(), sin(), atan() etc as far as possible. Instead look at vector math - e.g. you can use the dot product to get to the cosine of the angle between two vectors directly. It's also worth avoiding square roots if you don't need them, e.g. if your pucks all have the same radius then rather than check collisions by comparing the distance between them to the diameter of one, compare the distance squared (which doesn't require a square root) to the diameter squared. When LiveCode gets Box2d you'll benefit from all of this kind of optimisation already being done and the calculations happening in native code. Mark From richmondmathewson at gmail.com Sat Nov 9 02:48:05 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 09 Nov 2013 09:48:05 +0200 Subject: Congratulations In-Reply-To: <527D6251.9080608@fourthworld.com> References: <527D6251.9080608@fourthworld.com> Message-ID: <527DE8B5.1040000@gmail.com> On 9.11.2013 00:14, Richard Gaskin wrote: > > http://www.prweb.com/releases/2013/11/prweb11298262.htm > YES; congratulations are in order! BUT; having tried a 'Joint Venture' business plan in a (just-ex) communist country and getting badly burnt, and having been on the periphery of several in the Arabian Gulf, I would urge caution. Sorry to be a damp squib. I sincerely hope my warnings are 100% unnecessary, and RunRev's Chinese adventure brings nothing but success and smiles all round. Richmond. From richmondmathewson at gmail.com Sat Nov 9 02:50:43 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 09 Nov 2013 09:50:43 +0200 Subject: Congratulations In-Reply-To: <527D6670.90003@economy-x-talk.com> References: <527D6251.9080608@fourthworld.com> <527D6670.90003@economy-x-talk.com> Message-ID: <527DE953.9090208@gmail.com> On 9.11.2013 00:32, Mark Schonewille wrote: > Yeah, I saw it on Facebook, in the RunRev group. Pretty cool. > > This (Chinese) article was posted on FB, by the author of the article. > http://www.csdn.net/article/2013-11-06/2817411-LiveCode-RunRev-IDE > > -- > Best regards, > > Mark Schonewille > I wonder why the download button for the Community versions do not seem to work here in Bulgaria? Maybe the code locks for people wishing to download outwith China. Richmond. From ensisinfo79 at gmail.com Sat Nov 9 03:58:47 2013 From: ensisinfo79 at gmail.com (Manjula G) Date: Sat, 9 Nov 2013 14:28:47 +0530 Subject: Requesting info about audio recording in ios platform Message-ID: Hi there, I found you runrev forums. Iam trying to execute rremicrophone external with following configuration livecode version:6.1 xcode version:5.0.1 to ipad simulator version :6.1 But it is not working. Could you please guide me how can I record audio in ios ipad with livecode. ThankU, -- *Thanks&Regards,* * Manjula G.* From monte at sweattechnologies.com Sat Nov 9 04:30:49 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Sat, 9 Nov 2013 20:30:49 +1100 Subject: Requesting info about audio recording in ios platform In-Reply-To: References: Message-ID: <2BF339D8-6056-4236-A1FF-4A2E9634AE85@sweattechnologies.com> Hi Manjula My consulting rate is AUS$90 per hour if you would like me to implement it. If you just want general help then you might be best asking on stackoverflow or the LiveCode forums. Cheers -- M E R Goulding Software development services mergExt - There's an external for that! > On 9 Nov 2013, at 7:58 pm, Manjula G wrote: > > Hi there, > > I found you runrev forums. > > Iam trying to execute rremicrophone external with following configuration > > livecode version:6.1 > > xcode version:5.0.1 > > to ipad simulator version :6.1 > > But it is not working. > > Could you please guide me how can I record audio in ios ipad with livecode. > > ThankU, > > -- > *Thanks&Regards,* > * Manjula G.* > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From monte at sweattechnologies.com Sat Nov 9 04:46:27 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Sat, 9 Nov 2013 20:46:27 +1100 Subject: Requesting info about audio recording in ios platform In-Reply-To: <2BF339D8-6056-4236-A1FF-4A2E9634AE85@sweattechnologies.com> References: <2BF339D8-6056-4236-A1FF-4A2E9634AE85@sweattechnologies.com> Message-ID: <422A5411-C8BA-4EF8-95E2-843AEEB8DED3@sweattechnologies.com> Ah, clearly thought that was a direct email... Sorry Manjula BTW I responded to your forum post requesting more info. -- M E R Goulding Software development services mergExt - There's an external for that! > On 9 Nov 2013, at 8:30 pm, Monte Goulding wrote: > > Hi Manjula > > My consulting rate is AUS$90 per hour if you would like me to implement it. If you just want general help then you might be best asking on stackoverflow or the LiveCode forums. > > Cheers > > -- > M E R Goulding > Software development services > > mergExt - There's an external for that! > >> On 9 Nov 2013, at 7:58 pm, Manjula G wrote: >> >> Hi there, >> >> I found you runrev forums. >> >> Iam trying to execute rremicrophone external with following configuration >> >> livecode version:6.1 >> >> xcode version:5.0.1 >> >> to ipad simulator version :6.1 >> >> But it is not working. >> >> Could you please guide me how can I record audio in ios ipad with livecode. >> >> ThankU, >> >> -- >> *Thanks&Regards,* >> * Manjula G.* >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From gregory.lypny at videotron.ca Sat Nov 9 11:15:33 2013 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Sat, 09 Nov 2013 11:15:33 -0500 Subject: Permissions for LiveCode Server to Read and Write to a Folder Message-ID: <3A6EC9D2-C6AA-4888-8CB6-5546A40DECBA@videotron.ca> Hello everyone, I?ve setting up a website on my Mac and will be doing some server scripting. The site will use forms, and I want to save the data on my Mac, which will be the server. Pierre Sahores recommended putting the data folders inside the httpd folder (/Library/WebServer/share/httpd/myDataFolder). I guess I should set read and write permissions for myDataFolder as 666 (everyone can read and write). Do I need to change the permissions to any other folder? Gregory From toolbook at kestner.de Sat Nov 9 11:22:30 2013 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Sat, 9 Nov 2013 17:22:30 +0100 Subject: AW: OT: looking for Proxy-Server-Simulation In-Reply-To: <133242255002.20131108133101@ahsoftware.net> References: <007f01cedbc6$580dccb0$08296610$@de> <133242255002.20131108133101@ahsoftware.net> Message-ID: <003c01cedd67$e3ab7e00$ab027a00$@de> Hi Mark, sounds interesting, I will give it a try. Thanks for your recommendation Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag > von Mark Wieder > Gesendet: Freitag, 8. November 2013 22:31 > An: How to use LiveCode > Betreff: Re: OT: looking for Proxy-Server-Simulation > > Tiemo- > > Thursday, November 7, 2013, 6:33:36 AM, you wrote: > > > Hi, > > > I am looking for a freeware proxy-server software for testing my http > > proxy-server settings in my LC program on windows and mac without > > having a hardware proxy-server. > > > On windows I have found proxymitron, which works pretty easy, but is > > not capable to simulate a proxy-server authentication with user and pw. > > > Any recommendations for win and mac appreciated > > You might want to take a look at Charles. > > http://www.charlesproxy.com/ > > -- > -Mark Wieder > ahsoftware at gmail.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From johnpatten at me.com Sat Nov 9 12:13:52 2013 From: johnpatten at me.com (JOHN PATTEN) Date: Sat, 09 Nov 2013 09:13:52 -0800 Subject: Trapping for iOS errors? Message-ID: <723F57E3-8825-4317-B938-79377EF071D9@me.com> Hi All? From what i can tell, when you script a LiveCode app and the script is not written correctly, the resulting iOS application will just ?do nothing? when an event attempts to drive that script. iOS just gracefully ignores the code. For example, in iOS something like: on mouseUp answe ?helllo? end mouseUP The resulting iOS app just, essentially ignores this. Is there any way to catch the iOS error flag and then act on that error? Thank you! From alex at tweedly.org Sat Nov 9 12:18:03 2013 From: alex at tweedly.org (Alex Tweedly) Date: Sat, 09 Nov 2013 17:18:03 +0000 Subject: Algorithm for Direction Change upon Collision In-Reply-To: <1383975389.527dc9dde2be2@www.server101.com> References: <1383975389.527dc9dde2be2@www.server101.com> Message-ID: <527E6E4B.5010202@tweedly.org> Hi Scott, Although I'd agree with your advice in general, I'd caution against making point 2 too strongly. I fully agree about "Don't underestimate the speed of text lists ..." but not with "... avoid using arrays in code that is repeated in a loop" I re-wrote your code using an array rather than a text list, and there was no discernible difference in speed. Even moving up to 200 particles, I was consistently getting the same timings for each of the two methods (they both varied between 48 and 54 ms per cycle, on a MacBook Pro). The speed of your code came from careful use of loopObject and innerObject (and your other points) - not from discarding the use of arrays. btw You have a minor bug - in the inner loop, the first line should be if item 1 of loopObject then rather than if item of collisionlist then -- Alex. On 09/11/2013 05:36, RunRevPlanet wrote: > Hi Ender, > > Your original post about particles, made be wonder about how many moving images > LiveCode can support. There is a stack here: > > http://livecodegamedeveloper.com/download/100-Particle-Test.livecode > > That solves the problem of the "trembling clumps" and handles 100 particles and > possibly more depending on the fps you are aiming for. (This is on an older > desktop PC, I haven't tried it on a mobile device.) I was also going for a more > random effect where the particles go every which way. It was done on LiveCode > Community 6.1.2. > > The "tricks" to this demo are: > > 1. Don't even try real physics, if it is just for visual effect, near enough is > good enough. > > 2. Don't underestimate the speed of text lists in LiveCode. When the number of > items is measured in the hundreds, avoid using arrays in any code that is > repeated in a loop. > > 3. Somewhat paradoxically, more code in the loop that does the screen updating > is actually faster if the logic used is more efficient. > > Note this stack has the acceleratedRendering set to false. On some platforms > setting it to true may make the animation smoother. > > -- > Scott McDonald > "Components, Controls, Tools and Resources for LiveCode" > www.runrevplanet.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From livfoss at mac.com Sat Nov 9 13:11:32 2013 From: livfoss at mac.com (Graham Samuel) Date: Sat, 09 Nov 2013 19:11:32 +0100 Subject: cantSelect and graphics Message-ID: I think the following is true for a desktop app: If a the graphic drawing tool is chosen, the user can't draw the graphic if the drawing begins (the initial mouse down is positioned) on an object whose cantSelect is set to true: for example, if there is a rectangle with cantSelect set to true, you can't draw a new rectangle starting exactly on one of the lines of the original one, even though the new graphic is clearly on a higher layer than the original; and if the original one is opaque, you can't draw within the original one's rect at all. This has some very odd consequences for drawing apps where some kind of non-selectable background exists, such as axes for a graph-drawing program: in such a case you can't start drawing on the exact line of either of the (non-selectable) axes. There may be a workaround but the LC dictionary doesn't tell you what is. Am I right about this, and is there a workaround? I think if there is, it's something to do with 'mouseDown'... TIA Graham From brahma at hindu.org Sat Nov 9 14:14:39 2013 From: brahma at hindu.org (Brahmanathswami) Date: Sat, 09 Nov 2013 09:14:39 -1000 Subject: Check Box - text left/box right Message-ID: <527E899F.6030008@hindu.org> I was sure there was a time that one could make a check box align to the right of the button label, instead of the default, which is a check box with the button's text to it's right. But today I'm unable to make that happen. Any clues? Swasti Astu, Be Well! Brahmanathaswami Kauai's Hindu Monastery www.HimalayanAcademy.com From scott at tactilemedia.com Sat Nov 9 14:54:53 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Sat, 09 Nov 2013 11:54:53 -0800 Subject: cantSelect and graphics In-Reply-To: Message-ID: Was surprised to find you're right. Drawing doesn't seem to start on a cantSelect-ed object. But if you set the disabled of the object to true, drawing should start/work as expected. A good tip when you want to make a custom background in an app upon which you can draw, drag-select, etc: set the cantSelect and disabled properties of the underlying background object/s to true. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 11/9/13 10:11 AM, "Graham Samuel" wrote: >I think the following is true for a desktop app: > >If a the graphic drawing tool is chosen, the user can't draw the graphic >if the drawing begins (the initial mouse down is positioned) on an object >whose cantSelect is set to true: for example, if there is a rectangle >with cantSelect set to true, you can't draw a new rectangle starting >exactly on one of the lines of the original one, even though the new >graphic is clearly on a higher layer than the original; and if the >original one is opaque, you can't draw within the original one's rect at >all. > >This has some very odd consequences for drawing apps where some kind of >non-selectable background exists, such as axes for a graph-drawing >program: in such a case you can't start drawing on the exact line of >either of the (non-selectable) axes. There may be a workaround but the LC >dictionary doesn't tell you what is. > >Am I right about this, and is there a workaround? I think if there is, >it's something to do with 'mouseDown'... > >TIA > >Graham >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode > From livfoss at mac.com Sat Nov 9 15:01:45 2013 From: livfoss at mac.com (Graham Samuel) Date: Sat, 09 Nov 2013 21:01:45 +0100 Subject: cantSelect and graphics In-Reply-To: References: Message-ID: <55C8E37C-01F1-4922-9A1E-9928466A267A@mac.com> Ho ho! You're right - thanks very much Scott. I read about disabled, but I thought it would grey out the underlying graphics: but it doesn't seem to affect their appearance. So here we go! I am thinking of putting a comment in the LC Dictionary. Graham On 9 Nov 2013, at 20:54, Scott Rossi wrote: > Was surprised to find you're right. Drawing doesn't seem to start on a > cantSelect-ed object. > > But if you set the disabled of the object to true, drawing should > start/work as expected. > > A good tip when you want to make a custom background in an app upon which > you can draw, drag-select, etc: set the cantSelect and disabled properties > of the underlying background object/s to true. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > On 11/9/13 10:11 AM, "Graham Samuel" wrote: > >> I think the following is true for a desktop app: >> >> If a the graphic drawing tool is chosen, the user can't draw the graphic >> if the drawing begins (the initial mouse down is positioned) on an object >> whose cantSelect is set to true: for example, if there is a rectangle >> with cantSelect set to true, you can't draw a new rectangle starting >> exactly on one of the lines of the original one, even though the new >> graphic is clearly on a higher layer than the original; and if the >> original one is opaque, you can't draw within the original one's rect at >> all. >> >> This has some very odd consequences for drawing apps where some kind of >> non-selectable background exists, such as axes for a graph-drawing >> program: in such a case you can't start drawing on the exact line of >> either of the (non-selectable) axes. There may be a workaround but the LC >> dictionary doesn't tell you what is. >> >> Am I right about this, and is there a workaround? I think if there is, >> it's something to do with 'mouseDown'... >> >> TIA >> >> Graham >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From monte at sweattechnologies.com Sat Nov 9 15:35:14 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Sun, 10 Nov 2013 07:35:14 +1100 Subject: cantSelect and graphics In-Reply-To: References: Message-ID: This is rather quirky so you should bug report it. On 10/11/2013, at 5:11 AM, Graham Samuel wrote: > I think the following is true for a desktop app: > > If a the graphic drawing tool is chosen, the user can't draw the graphic if the drawing begins (the initial mouse down is positioned) on an object whose cantSelect is set to true: for example, if there is a rectangle with cantSelect set to true, you can't draw a new rectangle starting exactly on one of the lines of the original one, even though the new graphic is clearly on a higher layer than the original; and if the original one is opaque, you can't draw within the original one's rect at all. > > This has some very odd consequences for drawing apps where some kind of non-selectable background exists, such as axes for a graph-drawing program: in such a case you can't start drawing on the exact line of either of the (non-selectable) axes. There may be a workaround but the LC dictionary doesn't tell you what is. > > Am I right about this, and is there a workaround? I think if there is, it's something to do with 'mouseDown'... > > TIA > > Graham > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From richmondmathewson at gmail.com Sat Nov 9 15:41:57 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 09 Nov 2013 22:41:57 +0200 Subject: Check Box - text left/box right In-Reply-To: <527E899F.6030008@hindu.org> References: <527E899F.6030008@hindu.org> Message-ID: <527E9E15.4050109@gmail.com> On 9.11.2013 21:14, Brahmanathswami wrote: > I was sure there was a time that one could make a check box align to > the right of the button label, instead of the default, which is a > check box with the button's text to it's right. But today I'm unable > to make that happen. Any clues? > > Swasti Astu, Be Well! > Brahmanathaswami > > Kauai's Hindu Monastery > www.HimalayanAcademy.com > > Well, I've just "played around" with check boxes in 6.5.0, 4.5, 3.5 and 2.2.1 and can find no way, via the prefs palette at least, to turn the things round. Richmond. From ambassador at fourthworld.com Sat Nov 9 16:26:44 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 09 Nov 2013 13:26:44 -0800 Subject: Congratulations In-Reply-To: <527DE8B5.1040000@gmail.com> References: <527DE8B5.1040000@gmail.com> Message-ID: <527EA894.60509@fourthworld.com> Richmond wrote: > On 9.11.2013 00:14, Richard Gaskin wrote: >> >> http://www.prweb.com/releases/2013/11/prweb11298262.htm > > YES; congratulations are in order! > > BUT; having tried a 'Joint Venture' business plan in a (just-ex) communist > country and getting badly burnt, and having been on the periphery of several > in the Arabian Gulf, I would urge caution. > > Sorry to be a damp squib. I sincerely hope my warnings are 100% unnecessary, > and RunRev's Chinese adventure brings nothing but success and smiles all > round. There are risks with any new venture, and certainly the more different the culture, the greater the opportunities for misunderstandings that can lead to difficulty. But in this case the joint venture has something few such efforts have: Andy Parng. I've known Andy for literally decades, going back to my early years in the SuperCard community (where Kevin cut his teeth as well). What Andy brings to the table is not only a Ph.D in Human Factors and a pedigree that includes having written large portions of the Mac HIG, but he's also a serial entrepreneur with extensive experience with businesses in China. He knows the ins and outs of the culture, the politics, and is both well connected and well respected. Every angel investor and VC I've talked to says that with the projects brought to them to consider funding, the tech isn't the most important thing they look at, it's the team. They figure that tech changes and the competitive environment changes, but if the core team is good they can navigate any waters. All things considered, this new joint venture is about as well established as one could hope, very promising. -- 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 From richmondmathewson at gmail.com Sat Nov 9 16:30:33 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 09 Nov 2013 23:30:33 +0200 Subject: Check Box - text left/box right In-Reply-To: <527E899F.6030008@hindu.org> References: <527E899F.6030008@hindu.org> Message-ID: <527EA979.3010509@gmail.com> On 9.11.2013 21:14, Brahmanathswami wrote: > I was sure there was a time that one could make a check box align to > the right of the button label, instead of the default, which is a > check box with the button's text to it's right. But today I'm unable > to make that happen. Any clues? > > Swasti Astu, Be Well! > Brahmanathaswami > > Kauai's Hindu Monastery > www.HimalayanAcademy.com > > Gottit! try this: with a button that has NO label (which will seem a bit odd when you see the code) i.e. you will be able to shift the NAME of the checkbox, NOT the label: Let's assume that your button "Swasti" has a name that is 40 pixels wide: so, try this in your messageBox: set the labelWidth of btn "Swasti" to 100 and, hey presto; your Checkbox name should have been shifted over to the left of the check box. Richmond. From MikeKerner at roadrunner.com Sat Nov 9 16:44:09 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sat, 9 Nov 2013 16:44:09 -0500 Subject: Trapping for iOS errors? In-Reply-To: <723F57E3-8825-4317-B938-79377EF071D9@me.com> References: <723F57E3-8825-4317-B938-79377EF071D9@me.com> Message-ID: That is correct. It's a PITA, and I reminded Kevin about it a couple of weeks ago. The easiest way to debug ios LC apps at this time is to use PUT statements in your code. That will put messages on the console. You can either have a debug mode that you check for the puts, or you can put #debug after the line so that you can find it and comment it out later when you want to go live. In my experience, about half of my total lines in an iOS app (these are apps that I have been working on for a year, so the amount of debugging grows) tend to be related to debugging on one level or another, because if it's not one thing that I'm tracking down, it's another, so I just comment out the debugging lines. so, either set a global or custom property for debugging, e.g. on preOpenStack global debugMode put true into debug mode # or false if we don't want to debug if debugMode then put "debug mode" . . . end preOpenStack on mouseUp global debugMode if debugMode then put "in mouseUp for x" end mouseUp or, if you don't want to use a custom property or global, on mouseUp put "in mouseUp for x" #debug end mouseUp and then you have to go through and comment out your debug lines later. On Sat, Nov 9, 2013 at 12:13 PM, JOHN PATTEN wrote: > Hi All? > > From what i can tell, when you script a LiveCode app and the script is not > written correctly, the resulting iOS application will just ?do nothing? > when an event attempts to drive that script. iOS just gracefully ignores > the code. > > For example, in iOS something like: > > on mouseUp > answe ?helllo? > end mouseUP > > The resulting iOS app just, essentially ignores this. Is there any way to > catch the iOS error flag and then act on that error? > > Thank you! > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From jacque at hyperactivesw.com Sat Nov 9 16:53:13 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 09 Nov 2013 15:53:13 -0600 Subject: Trapping for iOS errors? In-Reply-To: <723F57E3-8825-4317-B938-79377EF071D9@me.com> References: <723F57E3-8825-4317-B938-79377EF071D9@me.com> Message-ID: <527EAEC9.8070402@hyperactivesw.com> On 11/9/13 11:13 AM, JOHN PATTEN wrote: > Is there any way to catch the iOS error flag and then act on that error? If you are using the iOS simulator, launch Console and select ?All messages? at the top of the left-side list. To avoid clutter, enter any distinctive part of your app ID into the filter field at the top right of the window. Often this is the name of your company or the name of your app. If you are debugging on a physical device, launch XCode instead. Under your connected device, click the Console icon to see the same thing. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From MikeKerner at roadrunner.com Sat Nov 9 16:52:53 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sat, 9 Nov 2013 16:52:53 -0500 Subject: Trapping for iOS errors? In-Reply-To: References: <723F57E3-8825-4317-B938-79377EF071D9@me.com> Message-ID: by the way, John, once you put debugging code in your scripts, the easiest way to watch is to either go into the simulator and in the debug menu open the system log, or have your device connected to your computer, then go into xcode, and from the window menu pick "Organizer", then for the device you have connected, look at the console. On Sat, Nov 9, 2013 at 4:44 PM, Mike Kerner wrote: > That is correct. It's a PITA, and I reminded Kevin about it a couple of > weeks ago. > > The easiest way to debug ios LC apps at this time is to use PUT statements > in your code. That will put messages on the console. > > You can either have a debug mode that you check for the puts, or you can > put #debug after the line so that you can find it and comment it out later > when you want to go live. > > In my experience, about half of my total lines in an iOS app (these are > apps that I have been working on for a year, so the amount of debugging > grows) tend to be related to debugging on one level or another, because if > it's not one thing that I'm tracking down, it's another, so I just comment > out the debugging lines. > > > so, either set a global or custom property for debugging, e.g. > on preOpenStack > global debugMode > put true into debug mode # or false if we don't want to debug > if debugMode then put "debug mode" > . > . > . > end preOpenStack > > on mouseUp > global debugMode > if debugMode then put "in mouseUp for x" > end mouseUp > > > > or, if you don't want to use a custom property or global, > > on mouseUp > put "in mouseUp for x" #debug > end mouseUp > > and then you have to go through and comment out your debug lines later. > > > On Sat, Nov 9, 2013 at 12:13 PM, JOHN PATTEN wrote: > >> Hi All? >> >> From what i can tell, when you script a LiveCode app and the script is >> not written correctly, the resulting iOS application will just ?do nothing? >> when an event attempts to drive that script. iOS just gracefully ignores >> the code. >> >> For example, in iOS something like: >> >> on mouseUp >> answe ?helllo? >> end mouseUP >> >> The resulting iOS app just, essentially ignores this. Is there any way to >> catch the iOS error flag and then act on that error? >> >> Thank you! >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From MikeKerner at roadrunner.com Sat Nov 9 16:54:02 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sat, 9 Nov 2013 16:54:02 -0500 Subject: 6.1.2 Loses Track of XCode? Message-ID: Every time I launch 6.1.2 in mavericks, lc loses track of my copy of xcode. Every time I have to go into the mobile settings and point at it again. Anyone else? -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From jacque at hyperactivesw.com Sat Nov 9 16:57:15 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 09 Nov 2013 15:57:15 -0600 Subject: Trapping for iOS errors? In-Reply-To: <527EAEC9.8070402@hyperactivesw.com> References: <723F57E3-8825-4317-B938-79377EF071D9@me.com> <527EAEC9.8070402@hyperactivesw.com> Message-ID: <527EAFBB.5080304@hyperactivesw.com> On 11/9/13 3:53 PM, J. Landman Gay wrote: > On 11/9/13 11:13 AM, JOHN PATTEN wrote: >> Is there any way to catch the iOS error flag and then act on that error? > > If you are using the iOS simulator, launch Console and select ?All > messages? at the top of the left-side list. To avoid clutter, enter any > distinctive part of your app ID into the filter field at the top right > of the window. Often this is the name of your company or the name of > your app. > > If you are debugging on a physical device, launch XCode instead. Under > your connected device, click the Console icon to see the same thing. > I forgot: you also need this handler: on errorDialog pErr put pErr end errorDialog -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From feed at smpcsupport.com Sat Nov 9 17:49:49 2013 From: feed at smpcsupport.com (RunRevPlanet) Date: Sun, 10 Nov 2013 09:49:49 +1100 Subject: Algorithm for Direction Change upon Collision Message-ID: <1384037389.527ebc0d03087@www.server101.com> Hi Alex, If you re-wrote the code using arrays and found no difference then you are right about the array vs list issue for this example. The reason I made the point, is that in separate benchmarking I have found that, if a list has less than a few hundred items and each list item is only a few characters long then accessing a list is often faster than an array. Recently I was working on some game code with nested loops that just wasn't fast enough. I found that the processing for each frame of animation was taking between 40 to 70 milliseconds. That may not sound like much, but when the goal was 30 fps it was a major problem. I love using LiveCode arrays because they *are* super fast and very convenient, but out of curiosity I changed most of the data structures in the inner loops to lists from arrays. I was very surprised that the processing mentioned above was reduced to 30 to 50 milliseconds which in the context was a huge improvement. I agree with you that: > 2. Don't underestimate the speed of text lists in LiveCode. > When the number of items is measured in the hundreds, avoid > using arrays in any code that is repeated in a loop. is too strongly worded in the context of the code of the particle example, but as a general principal I would say: 2. Don't underestimate the speed of text lists in LiveCode. When the number of items is measured in the hundreds and the items are only a few characters in length, try using a list instead of an array if your code is not fast enough and the data is mainly being read inside a loop with thousands of iterations. Thank you for noticing and letting me know of the bug in this line at the top of the loop: if item 1 of collisionList then You are exactly right. I will fix this and upload a corrected demo. Cheers, -- Scott McDonald "Components, Controls, Tools and Resources for LiveCode" www.runrevplanet.com From livfoss at mac.com Sat Nov 9 18:03:29 2013 From: livfoss at mac.com (Graham Samuel) Date: Sun, 10 Nov 2013 00:03:29 +0100 Subject: cantSelect and graphics In-Reply-To: References: Message-ID: <0817E916-382B-4285-BAAC-01F72BF0CE97@mac.com> Thanks for the encouragement Monte - bug 11419. Graham On 9 Nov 2013, at 21:35, Monte Goulding wrote: > This is rather quirky so you should bug report it. > > On 10/11/2013, at 5:11 AM, Graham Samuel wrote: > >> I think the following is true for a desktop app: >> >> If a the graphic drawing tool is chosen, the user can't draw the graphic if the drawing begins (the initial mouse down is positioned) on an object whose cantSelect is set to true: for example, if there is a rectangle with cantSelect set to true, you can't draw a new rectangle starting exactly on one of the lines of the original one, even though the new graphic is clearly on a higher layer than the original; and if the original one is opaque, you can't draw within the original one's rect at all. >> >> This has some very odd consequences for drawing apps where some kind of non-selectable background exists, such as axes for a graph-drawing program: in such a case you can't start drawing on the exact line of either of the (non-selectable) axes. There may be a workaround but the LC dictionary doesn't tell you what is. >> >> Am I right about this, and is there a workaround? I think if there is, it's something to do with 'mouseDown'... >> >> TIA >> >> Graham >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > -- > Monte Goulding > > M E R Goulding - software development services > mergExt - There's an external for that! > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From lfredricks at proactive-intl.com Sat Nov 9 18:53:47 2013 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Sat, 9 Nov 2013 15:53:47 -0800 Subject: Congratulations In-Reply-To: <527DE8B5.1040000@gmail.com> References: <527D6251.9080608@fourthworld.com> <527DE8B5.1040000@gmail.com> Message-ID: <68DDA15C7E004A778A94A60F5868655A@GATEWAY> > BUT; having tried a 'Joint Venture' business plan in a > (just-ex) communist country and getting badly burnt, and > having been on the periphery of several in the Arabian Gulf, > I would urge caution. > > Sorry to be a damp squib. I sincerely hope my warnings are > 100% unnecessary, and RunRev's Chinese adventure brings > nothing but success and smiles all round. There are those kinds of risks, but also you have to be realistic in your expectations, too. There are many companies executives that have thought gaining access to such a large market as Mainland China would bring in lots of gold. However it, like many evolving (just too big to say "emerging") markets, you have to look at it more as an investment. Best regards, Lynn Fredricks President Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server From scott at tactilemedia.com Sat Nov 9 19:32:26 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Sat, 09 Nov 2013 16:32:26 -0800 Subject: Algorithm for Direction Change upon Collision In-Reply-To: <1383975389.527dc9dde2be2@www.server101.com> Message-ID: Scott, this is a great reminder to manage object positioning in variables, when possible. I had a thumbnail display stack in another project in which I was trying to increase performance during resizing, and moving all the object position calculations to variables made a nice difference. Thanks for offering this. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 11/8/13 9:36 PM, "RunRevPlanet" wrote: >Hi Ender, > >Your original post about particles, made be wonder about how many moving >images >LiveCode can support. There is a stack here: > >http://livecodegamedeveloper.com/download/100-Particle-Test.livecode > >That solves the problem of the "trembling clumps" and handles 100 >particles and >possibly more depending on the fps you are aiming for. (This is on an >older >desktop PC, I haven't tried it on a mobile device.) I was also going for >a more >random effect where the particles go every which way. It was done on >LiveCode >Community 6.1.2. > >The "tricks" to this demo are: > >1. Don't even try real physics, if it is just for visual effect, near >enough is >good enough. > >2. Don't underestimate the speed of text lists in LiveCode. When the >number of >items is measured in the hundreds, avoid using arrays in any code that is >repeated in a loop. > >3. Somewhat paradoxically, more code in the loop that does the screen >updating >is actually faster if the logic used is more efficient. > >Note this stack has the acceleratedRendering set to false. On some >platforms >setting it to true may make the animation smoother. > >-- >Scott McDonald >"Components, Controls, Tools and Resources for LiveCode" >www.runrevplanet.com > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode > From pderocco at ix.netcom.com Sat Nov 9 21:40:10 2013 From: pderocco at ix.netcom.com (Paul D. DeRocco) Date: Sat, 9 Nov 2013 18:40:10 -0800 Subject: Need advice on MacOS standalones and externals Message-ID: Most of my LC work has been Windows-centered, but I need to get some things running on the Mac, and they involve an external. I've installed LC and Xcode 5 on a laptop running MacOS 10.8, but I can't get LC to see my external. When I make a standalone, LC lets me enable any combination of "Universal", "PowerPC Only", or "Intel Only". PowerPC is irrelevant, but which do I choose, Universal or Intel? Also, when building my external, Xcode lets me choose between 32-bit and 64-bit. Does that have to match the IDE's bit width to use under the IDE? Does it have to match the standalone to use with the standalone? Which do I choose? -- Ciao, Paul D. DeRocco Paul mailto:pderocco at ix.netcom.com From m.schonewille at economy-x-talk.com Sat Nov 9 21:55:49 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 10 Nov 2013 03:55:49 +0100 Subject: Need advice on MacOS standalones and externals In-Reply-To: References: Message-ID: <527EF5B5.2000401@economy-x-talk.com> Hi Paul, Nowadays, you will want to build standalones for Intel only most of the time. LiveCode is 32 bits and externals for LiveCode should be 32 bits too. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi Fill out this survey please http://livecodebeginner.economy-x-talk.com/survey/ On 11/10/2013 03:40, Paul D. DeRocco wrote: > Most of my LC work has been Windows-centered, but I need to get some > things running on the Mac, and they involve an external. I've installed LC > and Xcode 5 on a laptop running MacOS 10.8, but I can't get LC to see my > external. > > When I make a standalone, LC lets me enable any combination of > "Universal", "PowerPC Only", or "Intel Only". PowerPC is irrelevant, but > which do I choose, Universal or Intel? > > Also, when building my external, Xcode lets me choose between 32-bit and > 64-bit. Does that have to match the IDE's bit width to use under the IDE? > Does it have to match the standalone to use with the standalone? Which do > I choose? > From dunbarx at aol.com Sat Nov 9 22:56:03 2013 From: dunbarx at aol.com (dunbarx at aol.com) Date: Sat, 9 Nov 2013 22:56:03 -0500 (EST) Subject: Check Box - text left/box right In-Reply-To: <527EA979.3010509@gmail.com> References: <527E899F.6030008@hindu.org> <527EA979.3010509@gmail.com> Message-ID: <8D0ABDFE8EB36FD-E9C-2E44B@webmail-d214.sysops.aol.com> Richmond. Are you starting with a checkbox? I do not see what you do. The box stays on the left. 6.1.2 Craig set the labelWidth of btn "Swasti" to 100 -----Original Message----- From: Richmond To: How to use LiveCode Sent: Sat, Nov 9, 2013 4:31 pm Subject: Re: Check Box - text left/box right On 9.11.2013 21:14, Brahmanathswami wrote: > I was sure there was a time that one could make a check box align to > the right of the button label, instead of the default, which is a > check box with the button's text to it's right. But today I'm unable > to make that happen. Any clues? > > Swasti Astu, Be Well! > Brahmanathaswami > > Kauai's Hindu Monastery > www.HimalayanAcademy.com > > Gottit! try this: with a button that has NO label (which will seem a bit odd when you see the code) i.e. you will be able to shift the NAME of the checkbox, NOT the label: Let's assume that your button "Swasti" has a name that is 40 pixels wide: so, try this in your messageBox: set the labelWidth of btn "Swasti" to 100 and, hey presto; your Checkbox name should have been shifted over to the left of the check box. Richmond. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From mwieder at ahsoftware.net Sun Nov 10 00:00:52 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 9 Nov 2013 21:00:52 -0800 Subject: Check Box - text left/box right In-Reply-To: <527EA979.3010509@gmail.com> References: <527E899F.6030008@hindu.org> <527EA979.3010509@gmail.com> Message-ID: <114355646598.20131109210052@ahsoftware.net> Richmond- Saturday, November 9, 2013, 1:30:33 PM, you wrote: > and, hey presto; your Checkbox name should have been shifted over to the > left of the check box. It's an interesting trick, but you have size the checkbox afterwards, and while the *name* of the button appears at the left of the control frame, the *label* still appears to the right of the checkbox. -- -Mark Wieder ahsoftware at gmail.com From mpetrides at earthlink.net Sun Nov 10 00:30:23 2013 From: mpetrides at earthlink.net (Marian Petrides, MD) Date: Sat, 9 Nov 2013 23:30:23 -0600 Subject: Need advice on MacOS standalones and externals In-Reply-To: References: Message-ID: Universal creates an app that will run on both PowerPC Macs and on Intel Macs. As a consequence, such an app is larger than an Intel-only app. That's the only downside I can see to selecting Universal. OTOH, If PowerPC is truly irrelevant to your users (as you stated in your query), why bloat your app? Sent from my iPad > On Nov 9, 2013, at 8:40 PM, "Paul D. DeRocco" wrote: > > Most of my LC work has been Windows-centered, but I need to get some > things running on the Mac, and they involve an external. I've installed LC > and Xcode 5 on a laptop running MacOS 10.8, but I can't get LC to see my > external. > > When I make a standalone, LC lets me enable any combination of > "Universal", "PowerPC Only", or "Intel Only". PowerPC is irrelevant, but > which do I choose, Universal or Intel? > > Also, when building my external, Xcode lets me choose between 32-bit and > 64-bit. Does that have to match the IDE's bit width to use under the IDE? > Does it have to match the standalone to use with the standalone? Which do > I choose? > > -- > > Ciao, Paul D. DeRocco > Paul mailto:pderocco at ix.netcom.com > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Sun Nov 10 01:20:58 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 09 Nov 2013 22:20:58 -0800 Subject: Why is dispatch so =?UTF-8?Q?fast=3F?= Message-ID: <46c3150a833eb02e76ff04d55171c9f9@fourthworld.com> For anyone here who's read enough of the source to have figured this out (which I guess means Monte and Mark Wieder): Why is the dispatch command so much faster than do, send, or call? Is there an option to optimize the others, or something unique about dispatch that allows it to be between 30% and 50% faster? Bonus points: Why is the Server standalone engine so much larger than the Linux standalone engine? Ah, the mysteries of the code base.... -- Richard Gaskin Fourth World Systems LiveCode training and consulting: http://www.fourthworld.com Follow me on Twitter: http://twitter.com/FourthWorldSys From monte at sweattechnologies.com Sun Nov 10 01:30:38 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Sun, 10 Nov 2013 17:30:38 +1100 Subject: Why is dispatch so fast? In-Reply-To: <46c3150a833eb02e76ff04d55171c9f9@fourthworld.com> References: <46c3150a833eb02e76ff04d55171c9f9@fourthworld.com> Message-ID: <54A9B730-48CF-4D59-96B8-753151038D51@sweattechnologies.com> On 10/11/2013, at 5:20 PM, Richard Gaskin wrote: > For anyone here who's read enough of the source to have figured this out (which I guess means Monte and Mark Wieder): > > Why is the dispatch command so much faster than do, send, or call? > > Is there an option to optimize the others, or something unique about dispatch that allows it to be between 30% and 50% faster? The main difference appears to be send needs to parse the params from the string. Do obviously needs to be parsed on the fly too. > > > Bonus points: Why is the Server standalone engine so much larger than the Linux standalone engine? Server is statically linked to a bunch of libraries to improve portability. > > Ah, the mysteries of the code base... -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From brahma at hindu.org Sun Nov 10 02:00:00 2013 From: brahma at hindu.org (Brahmanathswami) Date: Sat, 09 Nov 2013 21:00:00 -1000 Subject: Command Keys Not Working Message-ID: <527F2EF0.5090304@hindu.org> And old problem has arisen: I have an "Edit" pull down menu button with this script, which is in a background group common to all the cards in the stack: on menuPick pWhich switch pWhich case "Cut" cut break case "Copy" copy break case "Paste" paste break case "Find" findFirst break case "Find Again" findAgain break end switch end menuPick and the button text is Cut/X Copy/C Paste/V --------- Find/F Find Again/G But if I run this from a standalone, these key commands do not work. Oddly, they work in another stack (from which I copied the button over to this stack) that is also run from a standalone... I wonder...is there some inclusions that are required in the standalone for these to work? Swasti Astu, Be Well! Brahmanathaswami From paul.foraker at gmail.com Sun Nov 10 02:44:39 2013 From: paul.foraker at gmail.com (Paul Foraker) Date: Sat, 9 Nov 2013 23:44:39 -0800 Subject: Another Data Grid problem In-Reply-To: <4C840888.7090500@crcom.net> References: <4C840888.7090500@crcom.net> Message-ID: I have a data grid with 11 columns. I want to display an image in each cell of column 1. I've go the key data in the cells. When I click the + button to add a custom behavior, nothing happens. Steps: Choose pointer tool. Click on data grid. In Property Inspector, select Columns. Click to select column 1 (already by default). Click the + button in the lower right of the Property Inspector window. Expected Result: the custom property editor window should open Actual Result: the + button highlights on the click, but does nothing Did I miss a step? Is there an alternate method of adding a custom behavior? LiveCode 6.1.2 | Build 2016 Mac OS 10.7.5 From richmondmathewson at gmail.com Sun Nov 10 05:39:09 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 10 Nov 2013 12:39:09 +0200 Subject: Check Box - text left/box right In-Reply-To: <114355646598.20131109210052@ahsoftware.net> References: <527E899F.6030008@hindu.org> <527EA979.3010509@gmail.com> <114355646598.20131109210052@ahsoftware.net> Message-ID: <527F624D.2030303@gmail.com> On 10.11.2013 07:00, Mark Wieder wrote: > Richmond- > > Saturday, November 9, 2013, 1:30:33 PM, you wrote: > >> and, hey presto; your Checkbox name should have been shifted over to the >> left of the check box. > It's an interesting trick, but you have size the checkbox afterwards, > and while the *name* of the button appears at the left of the control > frame, the *label* still appears to the right of the checkbox. > It is NOT an "interesting trick"; it is a silly fudge. What is even odder, is that using labelWidth, one gets a duplication of the NAME of the checkbox; and that reduplication does not appear in the 'label' bit of the prefs palette. If one has already set a label, one gets an awful mess on setting the labelWidth. This is something that could be addressed in an update; to allow checkbox buttons to have a 'textLeft' prop that could either be true or false. Oh, bye-the-bye; does anyone know how to get one's desktop icons with XFCE on the right of the screen rather than the left; like on a Mac? Richmond. From zryip.theslug at gmail.com Sun Nov 10 06:41:08 2013 From: zryip.theslug at gmail.com (zryip theSlug) Date: Sun, 10 Nov 2013 12:41:08 +0100 Subject: Another Data Grid problem In-Reply-To: References: <4C840888.7090500@crcom.net> Message-ID: Hi Paul, This is behaving like the template for your datagrid is missing. For checking the existence of the datagrid template, you can execute this code: put the dgProp["row template"] of grp "myDataGrid" into tTheTMPLGroup answer there is a tTheTMPLGroup where myDataGrid is the name of your datagrid group. This test will probably return "false". For linking the datagrid to a template, we have 2 possibilities: - reusing an existing template located in the "data grid templates xxx" substack in your project - creating a new datagrid in the goal to force the creation of a new template card in the "data grid templates xxx" substack. Once the template created, we can delete the datagrid without confirming the "delete record template" message Then, once the datagrid template created or located, we can refresh the template grp by using the following code: set the dgProp["row template"] of grp "myDataGrid" to the long id of grp "row template" of cd id xxx of stack "data grid templates xxx" Alternate methods for adding a custom behavior: 1. A custom behavior may can be added by code. Because, each column is represented as a grp in the datagrid template we can write: put the dgProp["row template"] of grp "myDataGrid" into tTheTMPLGroup set the behavior of grp "myColumnName" of tTheTMPLGroup to the long id of btn "myBehavior" Where the "myBehavior" button contains the script for the "myColumnName" datagrid column. 2. As another alternative for adding a custom behavior, we have also DGH, our commercial product. Here is an example for creating a checkbox in a column: http://lessons.runrev.com/s/lessons/m/4068/l/40587-how-do-i-create-a-checkbox-in-a-column Images and numerous other things are supported by DGH the same way of this example. On Sun, Nov 10, 2013 at 8:44 AM, Paul Foraker wrote: > I have a data grid with 11 columns. I want to display an image in each cell > of column 1. I've go the key data in the cells. When I click the + button > to add a custom behavior, nothing happens. > > > Steps: > Choose pointer tool. > Click on data grid. > In Property Inspector, select Columns. > Click to select column 1 (already by default). > Click the + button in the lower right of the Property Inspector window. > Expected Result: the custom property editor window should open > Actual Result: the + button highlights on the click, but does nothing > > Did I miss a step? > > Is there an alternate method of adding a custom behavior? > > LiveCode 6.1.2 | Build 2016 > Mac OS 10.7.5 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode Best Regards, -- Zryip TheSlug http://www.aslugontheroad.com From mwieder at ahsoftware.net Sun Nov 10 12:33:31 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 10 Nov 2013 09:33:31 -0800 Subject: Why is dispatch so fast? In-Reply-To: <54A9B730-48CF-4D59-96B8-753151038D51@sweattechnologies.com> References: <46c3150a833eb02e76ff04d55171c9f9@fourthworld.com> <54A9B730-48CF-4D59-96B8-753151038D51@sweattechnologies.com> Message-ID: <116400805350.20131110093331@ahsoftware.net> Monte- Saturday, November 9, 2013, 10:30:38 PM, Richard wrote: >> Why is the dispatch command so much faster than do, send, or call? > The main difference appears to be send needs to parse the params > from the string. Do obviously needs to be parsed on the fly too. Yes, it's the runtime parsing that slows these down. >> Bonus points: Why is the Server standalone engine so much >> larger than the Linux standalone engine? > Server is statically linked to a bunch of libraries to improve portability. ...and this is basically a good thing, although it does limit the flexibility of being able to take advantage of updates to libraries. -- -Mark Wieder ahsoftware at gmail.com From mwieder at ahsoftware.net Sun Nov 10 12:42:51 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 10 Nov 2013 09:42:51 -0800 Subject: OT: Huh? Message-ID: <82401365590.20131110094251@ahsoftware.net> Your off-topic link for Sunday: Is "Huh?" universal? -- -Mark Wieder mwieder at ahsoftware.net From iowahengst at mac.com Sun Nov 10 13:53:41 2013 From: iowahengst at mac.com (Randy Hengst) Date: Sun, 10 Nov 2013 12:53:41 -0600 Subject: Check Box - text left/box right In-Reply-To: <527E899F.6030008@hindu.org> References: <527E899F.6030008@hindu.org> Message-ID: <70D16B88-40A6-4EC5-A8DA-076376B4E902@mac.com> If you assign an image for the icon of a checkbox or radio button, the text formatting (left, center, right) of the button will also switch the icon. The catch is adding your image? adjusting the text formatting does nothing to the icon if you use the default. be well, randy ----- On Nov 9, 2013, at 1:14 PM, Brahmanathswami wrote: > I was sure there was a time that one could make a check box align to the right of the button label, instead of the default, which is a check box with the button's text to it's right. But today I'm unable to make that happen. Any clues? > > Swasti Astu, Be Well! > Brahmanathaswami > > Kauai's Hindu Monastery > www.HimalayanAcademy.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Sun Nov 10 14:31:36 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 10 Nov 2013 13:31:36 -0600 Subject: Check Box - text left/box right In-Reply-To: <70D16B88-40A6-4EC5-A8DA-076376B4E902@mac.com> References: <527E899F.6030008@hindu.org> <70D16B88-40A6-4EC5-A8DA-076376B4E902@mac.com> Message-ID: <527FDF18.1040302@hyperactivesw.com> On 11/10/13 12:53 PM, Randy Hengst wrote: > If you assign an image for the icon of a checkbox or radio button, > the text formatting (left, center, right) of the button will also > switch the icon. > > The catch is adding your image? adjusting the text formatting does > nothing to the icon if you use the default. Aha. I remember that now but for the life of me, I couldn't until you mentioned it. Thanks for the nudge. So one could assign an image of the checkbox to force the text to swap places, along with an image of the hilited version. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sun Nov 10 14:33:49 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 10 Nov 2013 13:33:49 -0600 Subject: Command Keys Not Working In-Reply-To: <527F2EF0.5090304@hindu.org> References: <527F2EF0.5090304@hindu.org> Message-ID: <527FDF9D.1060901@hyperactivesw.com> On 11/10/13 1:00 AM, Brahmanathswami wrote: > and the button text is > > Cut/X > Copy/C > Paste/V > --------- > Find/F > Find Again/G > > But if I run this from a standalone, these key commands do not work. > Oddly, they work in another stack (from which I copied the button over > to this stack) that is also run from a standalone... I wonder...is there > some inclusions that are required in the standalone for these to work? I'm seeing the same thing in the IDE periodically, where keyboard shortcuts aren't recognized. I don't think it's your app. It seems to have something to do with whatever object is focused, but I haven't tracked it down yet. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sun Nov 10 14:37:21 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 10 Nov 2013 13:37:21 -0600 Subject: Trapping for iOS errors? In-Reply-To: <527EAFBB.5080304@hyperactivesw.com> References: <723F57E3-8825-4317-B938-79377EF071D9@me.com> <527EAEC9.8070402@hyperactivesw.com> <527EAFBB.5080304@hyperactivesw.com> Message-ID: <527FE071.1010708@hyperactivesw.com> For anyone who'd like more info, I've just posted my RevLive 2012 conference notes about mobile debugging. It's the top entry in the Resources page: On 11/9/13 3:57 PM, J. Landman Gay wrote: > On 11/9/13 3:53 PM, J. Landman Gay wrote: >> On 11/9/13 11:13 AM, JOHN PATTEN wrote: >>> Is there any way to catch the iOS error flag and then act on that error? >> >> If you are using the iOS simulator, launch Console and select ?All >> messages? at the top of the left-side list. To avoid clutter, enter any >> distinctive part of your app ID into the filter field at the top right >> of the window. Often this is the name of your company or the name of >> your app. >> >> If you are debugging on a physical device, launch XCode instead. Under >> your connected device, click the Console icon to see the same thing. >> > > I forgot: you also need this handler: > > on errorDialog pErr > put pErr > end errorDialog > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From MikeKerner at roadrunner.com Sun Nov 10 17:22:51 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Sun, 10 Nov 2013 17:22:51 -0500 Subject: Trapping for iOS errors? In-Reply-To: <527FE071.1010708@hyperactivesw.com> References: <723F57E3-8825-4317-B938-79377EF071D9@me.com> <527EAEC9.8070402@hyperactivesw.com> <527EAFBB.5080304@hyperactivesw.com> <527FE071.1010708@hyperactivesw.com> Message-ID: in your article, you state that when you are done debugging, you should comment out the body of the log handler. Why not just change the kdebug contstant to empty? On Sun, Nov 10, 2013 at 2:37 PM, J. Landman Gay wrote: > For anyone who'd like more info, I've just posted my RevLive 2012 > conference notes about mobile debugging. It's the top entry in the > Resources page: > > > > > > On 11/9/13 3:57 PM, J. Landman Gay wrote: > >> On 11/9/13 3:53 PM, J. Landman Gay wrote: >> >>> On 11/9/13 11:13 AM, JOHN PATTEN wrote: >>> >>>> Is there any way to catch the iOS error flag and then act on that error? >>>> >>> >>> If you are using the iOS simulator, launch Console and select ?All >>> messages? at the top of the left-side list. To avoid clutter, enter any >>> distinctive part of your app ID into the filter field at the top right >>> of the window. Often this is the name of your company or the name of >>> your app. >>> >>> If you are debugging on a physical device, launch XCode instead. Under >>> your connected device, click the Console icon to see the same thing. >>> >>> >> I forgot: you also need this handler: >> >> on errorDialog pErr >> put pErr >> end errorDialog >> >> > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From scott at tactilemedia.com Sun Nov 10 18:31:58 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Sun, 10 Nov 2013 15:31:58 -0800 Subject: How To Send Before? Message-ID: Now that we have the before/after additions to mouse events and chained behaviors, how does one send or dispatch "before mouseDown" In a control's behavior, I have a "before mouseDown" handler that I want to trigger from a "before mouseDoubleDown" handler. But there doesn't seem to be any way to send a mouse event in a before state (instead, the standard "mouseDown" message gets sent). Can this be done? The problem I'm trying to solve is mouseDown not getting sent/trapped when a control is repeatedly pressed very quickly. Using mouseDoubleDown to call mouseDown is a way to address this issue, but as I said, there doesn't seem to be any way send the mouseDown message "before" the normal mouseDown. Any ideas? (I tried using Jacque's time machine routine but it keeps sending my stack back to the point before I tried to send the before message.) Thanks & Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design From revdev at pdslabs.net Sun Nov 10 18:54:47 2013 From: revdev at pdslabs.net (Phil Davis) Date: Sun, 10 Nov 2013 15:54:47 -0800 Subject: How To Send Before? In-Reply-To: References: Message-ID: <52801CC7.5060400@pdslabs.net> Maybe this in a frontScript handler? local sMouseDownInProgress = false before mouseDown if sMouseDownInProgress then exit to top else put true into sMouseDownInProgress send "myPreMousedownStuff" to the target in -1.0 seconds send "mouseDown" to the target in -0.5 seconds send "clearMouseDownFlag" to me in 0 seconds exit to top end mouseDown command clearMouseDownFlag put false into sMouseDownInProgress end clearMouseDownFlag This is a guess. Phil On 11/10/13, 3:31 PM, Scott Rossi wrote: > Now that we have the before/after additions to mouse events and chained > behaviors, how does one send or dispatch "before mouseDown" > > In a control's behavior, I have a "before mouseDown" handler that I want > to trigger from a "before mouseDoubleDown" handler. But there doesn't > seem to be any way to send a mouse event in a before state (instead, the > standard "mouseDown" message gets sent). > > Can this be done? > > The problem I'm trying to solve is mouseDown not getting sent/trapped when > a control is repeatedly pressed very quickly. Using mouseDoubleDown to > call mouseDown is a way to address this issue, but as I said, there > doesn't seem to be any way send the mouseDown message "before" the normal > mouseDown. > > Any ideas? > > (I tried using Jacque's time machine routine but it keeps sending my stack > back to the point before I tried to send the before message.) > > Thanks & Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Phil Davis From mwieder at ahsoftware.net Sun Nov 10 19:06:44 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 10 Nov 2013 16:06:44 -0800 Subject: How To Send Before? In-Reply-To: References: Message-ID: <29424398850.20131110160644@ahsoftware.net> Scott- Sunday, November 10, 2013, 3:31:58 PM, you wrote: > Any ideas? My brain is getting tongue-tied trying to work this out. Do you want before mouseDown to happen after before mouseDoubleDown and before mouseDoubleDown in addition to the before mouseDown that happens before mouseDown or are you trying to change the order of events? Here's what you should be seeing for a double-click: before mouseDown mouseDown after mouseDown before mouseUp mouseUp after mouseUp before mouseDoubleDown mouseDoubleDown after mouseDoubleDown before mouseDoubleUp mouseDoubleUp after mouseDoubleUp before mouseDown mouseDown after mouseDown before mouseUp mouseUp after mouseUp -- -Mark Wieder ahsoftware at gmail.com From monte at sweattechnologies.com Sun Nov 10 19:18:17 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon, 11 Nov 2013 11:18:17 +1100 Subject: How To Send Before? In-Reply-To: References: Message-ID: Why not: before mouseDown DoMyStuff end mouseDown before mouseDoubleDown DoMyStuff end mouseDoubleDown on DoMyStuff end DoMyStuff Alternatively seeing as before mouseDown should actually trigger before mouseDoubleDown you may want to just store some state in script local vars. As Mark pointed out you probably don't really want to run the same mouseDown code 3 times. Cheers Monte On 11/11/2013, at 10:31 AM, Scott Rossi wrote: > Now that we have the before/after additions to mouse events and chained > behaviors, how does one send or dispatch "before mouseDown" > > In a control's behavior, I have a "before mouseDown" handler that I want > to trigger from a "before mouseDoubleDown" handler. But there doesn't > seem to be any way to send a mouse event in a before state (instead, the > standard "mouseDown" message gets sent). > > Can this be done? > > The problem I'm trying to solve is mouseDown not getting sent/trapped when > a control is repeatedly pressed very quickly. Using mouseDoubleDown to > call mouseDown is a way to address this issue, but as I said, there > doesn't seem to be any way send the mouseDown message "before" the normal > mouseDown. > > Any ideas? > > (I tried using Jacque's time machine routine but it keeps sending my stack > back to the point before I tried to send the before message.) > > Thanks & Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From scott at tactilemedia.com Sun Nov 10 19:21:42 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Sun, 10 Nov 2013 16:21:42 -0800 Subject: How To Send Before? In-Reply-To: <29424398850.20131110160644@ahsoftware.net> Message-ID: Here's my thinking. Forget any of the before/after stuff for the moment? With a standard mouseDown handler, the technique I've used in the past to make sure all mouse clicks are processed is to use mouseDoubleDown. on mouseDone do stuff end mouseDown on mouseDoubleDown mouseDown end mouseDoubleDown Now, what I'm trying to do is move this same logic into before handlers: before mouseDown do stuff end mouseDown before mouseDoubleDown mouseDown <---- how does one call "before mouseDown" here?????? end mouseDoubleDown The problem with the above is a standard mouseDown is sent; mouseDown is not sent before. There doesn't seem to by any way to dispatch or send before. See my problem? Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 11/10/13 4:06 PM, "Mark Wieder" wrote: >Scott- > >Sunday, November 10, 2013, 3:31:58 PM, you wrote: > >> Any ideas? > >My brain is getting tongue-tied trying to work this out. > >Do you want before mouseDown to happen after before mouseDoubleDown >and before mouseDoubleDown in addition to the before mouseDown that >happens before mouseDown or are you trying to change the order of >events? > >Here's what you should be seeing for a double-click: > >before mouseDown >mouseDown >after mouseDown >before mouseUp >mouseUp >after mouseUp >before mouseDoubleDown >mouseDoubleDown >after mouseDoubleDown >before mouseDoubleUp >mouseDoubleUp >after mouseDoubleUp >before mouseDown >mouseDown >after mouseDown >before mouseUp >mouseUp >after mouseUp > >-- >-Mark Wieder > ahsoftware at gmail.com > > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode > From mwieder at ahsoftware.net Sun Nov 10 21:00:12 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 10 Nov 2013 18:00:12 -0800 Subject: How To Send Before? In-Reply-To: References: Message-ID: <92431206252.20131110180012@ahsoftware.net> Scott- Sunday, November 10, 2013, 4:21:42 PM, you wrote: > See my problem? What Monte said. I try to do as little as possible in the actual mousexxx handlers and instead move the heavy lifting off onto separate routines that get called from the message handlers. before mouseDown doStuff end mouseDown before mouseDoubleDown doStuff end mouseDoubleDown -- -Mark Wieder ahsoftware at gmail.com From monte at sweattechnologies.com Sun Nov 10 21:37:02 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon, 11 Nov 2013 13:37:02 +1100 Subject: [ANN] mergMK 2 Message-ID: Hi LiveCoders Version 2 of mergMK has just been released providing even more features of Apple's powerful MapKit via easy to use LiveCode commands and functions. The new features are: - Region changed callback - User location changed callback - Animation of custom image pins when adding them to the map and when the user drags and drops them - An optional image on the left side of the annotation callout - Circular overlays - The option to set an offset relative to the centre of the image for custom image pins to make it easier to place the pin head on the coordinate mergMK 2 is available from http://mergext.com at the same price of $49 and as part of mergExt Complete for $299. Cheers Monte -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From pete at lcsql.com Sun Nov 10 21:50:53 2013 From: pete at lcsql.com (Peter Haworth) Date: Sun, 10 Nov 2013 18:50:53 -0800 Subject: How To Send Before? In-Reply-To: References: <29424398850.20131110160644@ahsoftware.net> Message-ID: How about before mousedown mymousedowstuff End mousedown on mousedoubledown mymousedownstuff end mousedoubledown command mymousedownstuff Do your stuff here end mymousedownstuff Pete lcSQL Software On Nov 10, 2013 4:21 PM, "Scott Rossi" wrote: > Here's my thinking. Forget any of the before/after stuff for the moment? > > With a standard mouseDown handler, the technique I've used in the past to > make sure all mouse clicks are processed is to use mouseDoubleDown. > > > on mouseDone > do stuff > end mouseDown > > on mouseDoubleDown > mouseDown > end mouseDoubleDown > > > > Now, what I'm trying to do is move this same logic into before handlers: > > before mouseDown > do stuff > end mouseDown > > before mouseDoubleDown > mouseDown <---- how does one call "before mouseDown" here?????? > end mouseDoubleDown > > > > > The problem with the above is a standard mouseDown is sent; mouseDown is > not sent before. > There doesn't seem to by any way to dispatch or send before. > > See my problem? > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > On 11/10/13 4:06 PM, "Mark Wieder" wrote: > > >Scott- > > > >Sunday, November 10, 2013, 3:31:58 PM, you wrote: > > > >> Any ideas? > > > >My brain is getting tongue-tied trying to work this out. > > > >Do you want before mouseDown to happen after before mouseDoubleDown > >and before mouseDoubleDown in addition to the before mouseDown that > >happens before mouseDown or are you trying to change the order of > >events? > > > >Here's what you should be seeing for a double-click: > > > >before mouseDown > >mouseDown > >after mouseDown > >before mouseUp > >mouseUp > >after mouseUp > >before mouseDoubleDown > >mouseDoubleDown > >after mouseDoubleDown > >before mouseDoubleUp > >mouseDoubleUp > >after mouseDoubleUp > >before mouseDown > >mouseDown > >after mouseDown > >before mouseUp > >mouseUp > >after mouseUp > > > >-- > >-Mark Wieder > > ahsoftware at gmail.com > > > > > >_______________________________________________ > >use-livecode mailing list > >use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From scott at tactilemedia.com Sun Nov 10 22:16:07 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Sun, 10 Nov 2013 19:16:07 -0800 Subject: How To Send Before? In-Reply-To: Message-ID: Of course, what you guys suggest is so blindingly obvious. I must be looking at the screen for way too long. Thanks for the forehead slap. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 11/10/13 4:18 PM, "Monte Goulding" wrote: > >Why not: > >before mouseDown > DoMyStuff >end mouseDown > >before mouseDoubleDown > DoMyStuff >end mouseDoubleDown > >on DoMyStuff > >end DoMyStuff > >Alternatively seeing as before mouseDown should actually trigger before >mouseDoubleDown you may want to just store some state in script local >vars. As Mark pointed out you probably don't really want to run the same >mouseDown code 3 times. > >Cheers > >Monte >On 11/11/2013, at 10:31 AM, Scott Rossi wrote: > >> Now that we have the before/after additions to mouse events and chained >> behaviors, how does one send or dispatch "before mouseDown" >> >> In a control's behavior, I have a "before mouseDown" handler that I want >> to trigger from a "before mouseDoubleDown" handler. But there doesn't >> seem to be any way to send a mouse event in a before state (instead, the >> standard "mouseDown" message gets sent). >> >> Can this be done? >> >> The problem I'm trying to solve is mouseDown not getting sent/trapped >>when >> a control is repeatedly pressed very quickly. Using mouseDoubleDown to >> call mouseDown is a way to address this issue, but as I said, there >> doesn't seem to be any way send the mouseDown message "before" the >>normal >> mouseDown. >> >> Any ideas? >> >> (I tried using Jacque's time machine routine but it keeps sending my >>stack >> back to the point before I tried to send the before message.) >> >> Thanks & Regards, >> >> Scott Rossi >> Creative Director >> Tactile Media, UX/UI Design >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >>subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > >-- >M E R Goulding >Software development services >Bespoke application development for vertical markets > >mergExt - There's an external for that! > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode > From simon at asato-media.com Sun Nov 10 22:15:52 2013 From: simon at asato-media.com (As_Simon) Date: Sun, 10 Nov 2013 19:15:52 -0800 (PST) Subject: Check Box - text left/box right In-Reply-To: <70D16B88-40A6-4EC5-A8DA-076376B4E902@mac.com> References: <527E899F.6030008@hindu.org> <70D16B88-40A6-4EC5-A8DA-076376B4E902@mac.com> Message-ID: <1384139752313-4672142.post@n4.nabble.com> Randy Hengst wrote > If you assign an image for the icon of a checkbox or radio button, the > text formatting (left, center, right) of the button will also switch the > icon. Talk about Just-in-Time, would have prefer this yesterday but dang close enough! Simon -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Check-Box-text-left-box-right-tp4672100p4672142.html Sent from the Revolution - User mailing list archive at Nabble.com. From jacque at hyperactivesw.com Mon Nov 11 00:16:39 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 10 Nov 2013 23:16:39 -0600 Subject: Trapping for iOS errors? In-Reply-To: References: <723F57E3-8825-4317-B938-79377EF071D9@me.com> <527EAEC9.8070402@hyperactivesw.com> <527EAFBB.5080304@hyperactivesw.com> <527FE071.1010708@hyperactivesw.com> Message-ID: <52806837.7010901@hyperactivesw.com> On 11/10/13 4:22 PM, Mike Kerner wrote: > in your article, you state that when you are done debugging, you should > comment out the body of the log handler. Why not just change the kdebug > contstant to empty? Yes, that would work too. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From userev at canelasoftware.com Mon Nov 11 00:17:37 2013 From: userev at canelasoftware.com (Mark Talluto) Date: Sun, 10 Nov 2013 21:17:37 -0800 Subject: [ANN] mergMK 2 In-Reply-To: References: Message-ID: <947DC9F6-2796-4A91-99A7-E1655BB03E14@canelasoftware.com> On Nov 10, 2013, at 6:37 PM, Monte Goulding wrote: > Hi LiveCoders > > Version 2 of mergMK has just been released providing even more features of Apple's powerful MapKit via easy to use LiveCode commands and functions. The new features are: > - Region changed callback > - User location changed callback > - Animation of custom image pins when adding them to the map and when the user drags and drops them > - An optional image on the left side of the annotation callout > - Circular overlays > - The option to set an offset relative to the centre of the image for custom image pins to make it easier to place the pin head on the coordinate > > mergMK 2 is available from http://mergext.com at the same price of $49 and as part of mergExt Complete for $299. Thanks Monte! Your offering keeps getting better and better. Best regards, Mark Talluto canelasoftware.com From revolution at derbrill.de Mon Nov 11 06:00:34 2013 From: revolution at derbrill.de (Malte Brill) Date: Mon, 11 Nov 2013 12:00:34 +0100 Subject: [OT] SQL question In-Reply-To: References: Message-ID: Hi all, I am tearing my hair out on an SQL query. Before I lose my marbles I'd better ask here: given are 2 tables table1 ID,UUID,first_number table 2 ID,UUID,running_number I need to do an INSERT into table 2. running_number should always be the last inserted running_number +1, if datasets for UUID are already present in table 2, otherwise, if no data is present for UUID, it should be table1s first_number +1 for the given UUID. Anybody can help me to put this into a single query? (reason I need it in one query is, that there might be concurring connections to the DB and I want to lock the table first on postGreSQL) All the best, Malte From sc at sahores-conseil.com Mon Nov 11 06:40:24 2013 From: sc at sahores-conseil.com (Pierre Sahores) Date: Mon, 11 Nov 2013 12:40:24 +0100 Subject: [OT] SQL question In-Reply-To: References: Message-ID: Hi Malte, No sure that you can design such kind of request as long as write-mode requests don't handle heritage under PostgreSQL. If you use PG v 9.xx, you can try : http://docs.postgresql.fr/9.0/rules.html else, as long as PG nor LC-server will never be the bottleneck in about speed, ram and processor's cycles (Apache is, at least, teen time slower than PG or LC-Server), you should be OK in handling a serial of two requests (select + conditional insert) handled by some lc-script code. Best, Pierre Le 11 nov. 2013 ? 12:00, Malte Brill a ?crit : > Hi all, > > I am tearing my hair out on an SQL query. Before I lose my marbles I'd better ask here: > > given are 2 tables > > table1 > > ID,UUID,first_number > > > table 2 > > ID,UUID,running_number > I need to do an INSERT into table 2. > > running_number should always be the last inserted running_number +1, if datasets for UUID are already present in table 2, otherwise, if no data is present for UUID, it should be table1s first_number +1 for the given UUID. > > Anybody can help me to put this into a single query? (reason I need it in one query is, that there might be concurring connections to the DB and I want to lock the table first on postGreSQL) > > All the best, > > Malte > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com From jbv at souslelogo.com Mon Nov 11 08:35:26 2013 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Mon, 11 Nov 2013 15:35:26 +0200 Subject: [OT] SQL question In-Reply-To: References: Message-ID: <7efeab55e17ff372ee4165dac0fe8d9d.squirrel@185.8.104.234> Hi Malte, I'm not familiar with postGreSQL and therefore I was thinking : instead of trying to put everything in a single query because of concurring connections to the DB, why don't you store (temporarily) and process the requests one after another in some sort of FIFO buffer (or reject the incoming requests that are already in the buffer) ? jbv > Hi all, > > I am tearing my hair out on an SQL query. Before I lose my marbles I'd > better ask here: > > given are 2 tables > > table1 > > ID,UUID,first_number > > > table 2 > > ID,UUID,running_number > I need to do an INSERT into table 2. > > running_number should always be the last inserted running_number +1, if > datasets for UUID are already present in table 2, otherwise, if no data is > present for UUID, it should be table1s first_number +1 for the given > UUID. > > Anybody can help me to put this into a single query? (reason I need it in > one query is, that there might be concurring connections to the DB and I > want to lock the table first on postGreSQL) > > All the best, > > Malte > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From m.schonewille at economy-x-talk.com Mon Nov 11 09:12:34 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 11 Nov 2013 15:12:34 +0100 Subject: [OT] SQL question In-Reply-To: References: Message-ID: <5280E5D2.6060402@economy-x-talk.com> Hi Malte, Here's a simplified example that should work in PostGreSQL: INSERT INTO table2 SELECT ID,UUID,(MAX(running_number)+1) AS first_number FROM table1 I'm not sure whether you want MAX(running_number) for one particular UUID or for all UUID's globally. You can do nested SELECTs, which should let you get MAX(running_number) for a particular UUID of you want. You'll need to do an IF statement, which I didn't include in the example, if you want to check whether that a particular value is in UUID, but yes it is possible. You can do it all in one statement, but it is a little complicated. It should be much easier to add a trigger to the database that responds to inserts of new UUIDs. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi Fill out this survey please http://livecodebeginner.economy-x-talk.com/survey/ On 11/11/2013 12:00, Malte Brill wrote: > Hi all, > > I am tearing my hair out on an SQL query. Before I lose my marbles I'd better ask here: > > given are 2 tables > > table1 > > ID,UUID,first_number > > > table 2 > > ID,UUID,running_number > I need to do an INSERT into table 2. > > running_number should always be the last inserted running_number +1, if datasets for UUID are already present in table 2, otherwise, if no data is present for UUID, it should be table1s first_number +1 for the given UUID. > > Anybody can help me to put this into a single query? (reason I need it in one query is, that there might be concurring connections to the DB and I want to lock the table first on postGreSQL) > > All the best, > > Malte From m.schonewille at economy-x-talk.com Mon Nov 11 09:13:20 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 11 Nov 2013 15:13:20 +0100 Subject: [OT] SQL question In-Reply-To: <7efeab55e17ff372ee4165dac0fe8d9d.squirrel@185.8.104.234> References: <7efeab55e17ff372ee4165dac0fe8d9d.squirrel@185.8.104.234> Message-ID: <5280E600.8010609@economy-x-talk.com> Hi JBV, Do you mean transactions? If not, how would you do this? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi Fill out this survey please http://livecodebeginner.economy-x-talk.com/survey/ On 11/11/2013 14:35, jbv at souslelogo.com wrote: > Hi Malte, > > I'm not familiar with postGreSQL and therefore I was thinking : instead > of trying to put everything in a single query because of concurring > connections to the DB, why don't you store (temporarily) and process > the requests one after another in some sort of FIFO buffer (or reject > the incoming requests that are already in the buffer) ? > > jbv > >> Hi all, >> >> I am tearing my hair out on an SQL query. Before I lose my marbles I'd >> better ask here: >> >> given are 2 tables >> >> table1 >> >> ID,UUID,first_number >> >> >> table 2 >> >> ID,UUID,running_number >> I need to do an INSERT into table 2. >> >> running_number should always be the last inserted running_number +1, if >> datasets for UUID are already present in table 2, otherwise, if no data is >> present for UUID, it should be table1s first_number +1 for the given >> UUID. >> >> Anybody can help me to put this into a single query? (reason I need it in >> one query is, that there might be concurring connections to the DB and I >> want to lock the table first on postGreSQL) >> >> All the best, >> >> Malte >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From revolution at derbrill.de Mon Nov 11 09:26:14 2013 From: revolution at derbrill.de (Malte Brill) Date: Mon, 11 Nov 2013 15:26:14 +0100 Subject: [OT] SQL question In-Reply-To: References: Message-ID: <39001E80-0696-4EFD-975B-809F0AD1B30B@derbrill.de> Hi all, thanks for giving some thought. After more lost hair, this appears to work: INSERT INTO test2 (id,UUID,nummer) VALUES (3,1,(SELECT MAX(value) FROM (SELECT erste_nummer AS VALUE FROM test1 WHERE test1.UUID='1' UNION SELECT max(nummer) AS VALUE FROM test2 where test2.UUID='1') AS t1)+1) The Problem is, that postGreSQL appears to be locking tables only during the transaction and automagically releases the lock, which is not ideal in my situation. All the best, Malte From MikeKerner at roadrunner.com Mon Nov 11 09:37:05 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 11 Nov 2013 09:37:05 -0500 Subject: How To Send Before? In-Reply-To: References: Message-ID: with the help of a water balloon, of course. On Sun, Nov 10, 2013 at 10:16 PM, Scott Rossi wrote: > Of course, what you guys suggest is so blindingly obvious. I must be > looking at the screen for way too long. > > Thanks for the forehead slap. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > On 11/10/13 4:18 PM, "Monte Goulding" wrote: > > > > >Why not: > > > >before mouseDown > > DoMyStuff > >end mouseDown > > > >before mouseDoubleDown > > DoMyStuff > >end mouseDoubleDown > > > >on DoMyStuff > > > >end DoMyStuff > > > >Alternatively seeing as before mouseDown should actually trigger before > >mouseDoubleDown you may want to just store some state in script local > >vars. As Mark pointed out you probably don't really want to run the same > >mouseDown code 3 times. > > > >Cheers > > > >Monte > >On 11/11/2013, at 10:31 AM, Scott Rossi wrote: > > > >> Now that we have the before/after additions to mouse events and chained > >> behaviors, how does one send or dispatch "before mouseDown" > >> > >> In a control's behavior, I have a "before mouseDown" handler that I want > >> to trigger from a "before mouseDoubleDown" handler. But there doesn't > >> seem to be any way to send a mouse event in a before state (instead, the > >> standard "mouseDown" message gets sent). > >> > >> Can this be done? > >> > >> The problem I'm trying to solve is mouseDown not getting sent/trapped > >>when > >> a control is repeatedly pressed very quickly. Using mouseDoubleDown to > >> call mouseDown is a way to address this issue, but as I said, there > >> doesn't seem to be any way send the mouseDown message "before" the > >>normal > >> mouseDown. > >> > >> Any ideas? > >> > >> (I tried using Jacque's time machine routine but it keeps sending my > >>stack > >> back to the point before I tried to send the before message.) > >> > >> Thanks & Regards, > >> > >> Scott Rossi > >> Creative Director > >> Tactile Media, UX/UI Design > >> > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >>subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > >-- > >M E R Goulding > >Software development services > >Bespoke application development for vertical markets > > > >mergExt - There's an external for that! > > > >_______________________________________________ > >use-livecode mailing list > >use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From pete at lcsql.com Mon Nov 11 10:59:58 2013 From: pete at lcsql.com (Peter Haworth) Date: Mon, 11 Nov 2013 07:59:58 -0800 Subject: How To Send Before? In-Reply-To: References: Message-ID: I think you ave found a little anomaly though as it seems you can't send or dispatch a before/after message. Pete lcSQL Software On Nov 10, 2013 7:16 PM, "Scott Rossi" wrote: > Of course, what you guys suggest is so blindingly obvious. I must be > looking at the screen for way too long. > > Thanks for the forehead slap. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > On 11/10/13 4:18 PM, "Monte Goulding" wrote: > > > > >Why not: > > > >before mouseDown > > DoMyStuff > >end mouseDown > > > >before mouseDoubleDown > > DoMyStuff > >end mouseDoubleDown > > > >on DoMyStuff > > > >end DoMyStuff > > > >Alternatively seeing as before mouseDown should actually trigger before > >mouseDoubleDown you may want to just store some state in script local > >vars. As Mark pointed out you probably don't really want to run the same > >mouseDown code 3 times. > > > >Cheers > > > >Monte > >On 11/11/2013, at 10:31 AM, Scott Rossi wrote: > > > >> Now that we have the before/after additions to mouse events and chained > >> behaviors, how does one send or dispatch "before mouseDown" > >> > >> In a control's behavior, I have a "before mouseDown" handler that I want > >> to trigger from a "before mouseDoubleDown" handler. But there doesn't > >> seem to be any way to send a mouse event in a before state (instead, the > >> standard "mouseDown" message gets sent). > >> > >> Can this be done? > >> > >> The problem I'm trying to solve is mouseDown not getting sent/trapped > >>when > >> a control is repeatedly pressed very quickly. Using mouseDoubleDown to > >> call mouseDown is a way to address this issue, but as I said, there > >> doesn't seem to be any way send the mouseDown message "before" the > >>normal > >> mouseDown. > >> > >> Any ideas? > >> > >> (I tried using Jacque's time machine routine but it keeps sending my > >>stack > >> back to the point before I tried to send the before message.) > >> > >> Thanks & Regards, > >> > >> Scott Rossi > >> Creative Director > >> Tactile Media, UX/UI Design > >> > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >>subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > >-- > >M E R Goulding > >Software development services > >Bespoke application development for vertical markets > > > >mergExt - There's an external for that! > > > >_______________________________________________ > >use-livecode mailing list > >use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at lcsql.com Mon Nov 11 11:06:48 2013 From: pete at lcsql.com (Peter Haworth) Date: Mon, 11 Nov 2013 08:06:48 -0800 Subject: [OT] SQL question In-Reply-To: <39001E80-0696-4EFD-975B-809F0AD1B30B@derbrill.de> References: <39001E80-0696-4EFD-975B-809F0AD1B30B@derbrill.de> Message-ID: sqlite has a CASE statement to conditionally assign values which would handle this. Maybe postgres has it too? Pete lcSQL Software On Nov 11, 2013 6:26 AM, "Malte Brill" wrote: > Hi all, > > thanks for giving some thought. After more lost hair, this appears to work: > > INSERT INTO test2 (id,UUID,nummer) VALUES (3,1,(SELECT MAX(value) FROM > (SELECT erste_nummer AS VALUE FROM test1 WHERE test1.UUID='1' UNION SELECT > max(nummer) AS VALUE FROM test2 where test2.UUID='1') AS t1)+1) > > The Problem is, that postGreSQL appears to be locking tables only during > the transaction and automagically releases the lock, which is not ideal in > my situation. > > All the best, > > Malte > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dochawk at gmail.com Mon Nov 11 11:14:29 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Mon, 11 Nov 2013 08:14:29 -0800 Subject: [OT] SQL question In-Reply-To: <39001E80-0696-4EFD-975B-809F0AD1B30B@derbrill.de> References: <39001E80-0696-4EFD-975B-809F0AD1B30B@derbrill.de> Message-ID: On Mon, Nov 11, 2013 at 6:26 AM, Malte Brill wrote: > The Problem is, that postGreSQL appears to be locking tables only during > the transaction and automagically releases the lock, which is not ideal in > my situation. You can use a begin/end lock to get everything done: BEGIN TRANSACTION; INSERT something; SELECT something else END TRANSACTION; and either the whole block happens, or the db is untouched. You could also make the column a serial or auto-incrementing key. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From MikeKerner at roadrunner.com Mon Nov 11 11:55:42 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 11 Nov 2013 11:55:42 -0500 Subject: [Suggestion]Version Number Conspicuous Message-ID: Right now I have 7 different versions of LC installed on my machine. Some of that is because I haven't taken a few DP's or RC's off yet, and some is because there are cases where we weren't sure if all the major bugs were out of a version, yet. Unfortunately, it is not obvious which version is running. If you double-click on a stack, if you're not paying attention, it's possible that the wrong version might launch. Then there are the cases where I have multiple instances of LC open (different stable versions) for one reason or another. I would like to see the version in the toolbar, maybe. -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From admin at FlexibleLearning.com Mon Nov 11 11:59:14 2013 From: admin at FlexibleLearning.com (FlexibleLearning.com) Date: Mon, 11 Nov 2013 16:59:14 -0000 Subject: [ANN] FieldFormatter released In-Reply-To: Message-ID: www.flexiblelearning.com/fieldformatter I am delighted to announce that FieldFormatter is now publically available with 28 new field properties to differentiate data from display. It is LC-Community compatible for single user unlimited personal and commercial use, and includes an IDE palette, full documentation plus example stacks to investigate. FieldFormatter is an appropriate solution if you want to automatically display... . Decimal place precision . Different decimal and thousands separators . Percentages . Scientific notation . Accountancy notation . Duration in hours, minutes and seconds . Privatised text . Default text . Currency or any unit of measure . Value conversions . Negative format & color . SQL Julian dates My thanks to all those who have "field-tested" during development! I am sure we can add additional functionality in future releases so even more choice and control over how data is presented can be made available. Meanwhile this release should cover most of the bases for most people most of the time. Hugh Senior FLCo FIELDFORMATTER: www.flexiblelearning.com/fieldformatter CHARTMAKER: www.flexiblelearning.com/chartmaker DATEPICKER: www.flexiblelearning.com/datepicker THE SCRTIPTER's SCRAPBOOK: www.flexiblelearning.om/ssbk.htm From MikeKerner at roadrunner.com Mon Nov 11 12:01:50 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 11 Nov 2013 12:01:50 -0500 Subject: How To Send Before? In-Reply-To: References: Message-ID: Why should it be a separate message? It's more of a front script for the message. I'm still a little confused why it's necessary - can't you just put the code you need at the top or bottom of the handler? On Mon, Nov 11, 2013 at 10:59 AM, Peter Haworth wrote: > I think you ave found a little anomaly though as it seems you can't send or > dispatch a before/after message. > > Pete > lcSQL Software > On Nov 10, 2013 7:16 PM, "Scott Rossi" wrote: > > > Of course, what you guys suggest is so blindingly obvious. I must be > > looking at the screen for way too long. > > > > Thanks for the forehead slap. > > > > Regards, > > > > Scott Rossi > > Creative Director > > Tactile Media, UX/UI Design > > > > > > > > > > On 11/10/13 4:18 PM, "Monte Goulding" > wrote: > > > > > > > >Why not: > > > > > >before mouseDown > > > DoMyStuff > > >end mouseDown > > > > > >before mouseDoubleDown > > > DoMyStuff > > >end mouseDoubleDown > > > > > >on DoMyStuff > > > > > >end DoMyStuff > > > > > >Alternatively seeing as before mouseDown should actually trigger before > > >mouseDoubleDown you may want to just store some state in script local > > >vars. As Mark pointed out you probably don't really want to run the same > > >mouseDown code 3 times. > > > > > >Cheers > > > > > >Monte > > >On 11/11/2013, at 10:31 AM, Scott Rossi wrote: > > > > > >> Now that we have the before/after additions to mouse events and > chained > > >> behaviors, how does one send or dispatch "before mouseDown" > > >> > > >> In a control's behavior, I have a "before mouseDown" handler that I > want > > >> to trigger from a "before mouseDoubleDown" handler. But there doesn't > > >> seem to be any way to send a mouse event in a before state (instead, > the > > >> standard "mouseDown" message gets sent). > > >> > > >> Can this be done? > > >> > > >> The problem I'm trying to solve is mouseDown not getting sent/trapped > > >>when > > >> a control is repeatedly pressed very quickly. Using mouseDoubleDown > to > > >> call mouseDown is a way to address this issue, but as I said, there > > >> doesn't seem to be any way send the mouseDown message "before" the > > >>normal > > >> mouseDown. > > >> > > >> Any ideas? > > >> > > >> (I tried using Jacque's time machine routine but it keeps sending my > > >>stack > > >> back to the point before I tried to send the before message.) > > >> > > >> Thanks & Regards, > > >> > > >> Scott Rossi > > >> Creative Director > > >> Tactile Media, UX/UI Design > > >> > > >> > > >> > > >> _______________________________________________ > > >> use-livecode mailing list > > >> use-livecode at lists.runrev.com > > >> Please visit this url to subscribe, unsubscribe and manage your > > >>subscription preferences: > > >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > >-- > > >M E R Goulding > > >Software development services > > >Bespoke application development for vertical markets > > > > > >mergExt - There's an external for that! > > > > > >_______________________________________________ > > >use-livecode mailing list > > >use-livecode at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From m.schonewille at economy-x-talk.com Mon Nov 11 12:11:54 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 11 Nov 2013 18:11:54 +0100 Subject: [Suggestion]Version Number Conspicuous In-Reply-To: References: Message-ID: <52810FDA.3050607@economy-x-talk.com> Hi Mike, I have a stack, Keep On Screen, which keeps your LiveCode dictionary on screen if you have multiple monitors and disconnect one of the monitors. Additionally, the stack changes the title of the revMenubar stack to include the version number and build number. The stack and other goodies can be downloaded from my website after making a donation. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi Fill out this survey please http://livecodebeginner.economy-x-talk.com/survey/ On 11/11/2013 17:55, Mike Kerner wrote: > Right now I have 7 different versions of LC installed on my machine. Some > of that is because I haven't taken a few DP's or RC's off yet, and some is > because there are cases where we weren't sure if all the major bugs were > out of a version, yet. > > Unfortunately, it is not obvious which version is running. If you > double-click on a stack, if you're not paying attention, it's possible that > the wrong version might launch. > > Then there are the cases where I have multiple instances of LC open > (different stable versions) for one reason or another. > > I would like to see the version in the toolbar, maybe. > From rdimola at evergreeninfo.net Mon Nov 11 12:13:16 2013 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Mon, 11 Nov 2013 12:13:16 -0500 Subject: [Suggestion]Version Number Conspicuous In-Reply-To: References: Message-ID: <004601cedf01$50261f00$f0725d00$@net> I also have several versions installed. Version Number is in the toolbar in Windows. I use info all the time to keep my sanity with all these versions. I just looked and the version is not in the toolbar on my Mac. Not having that info could cause things to go south real quick. This info should be there on Mac also. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Mike Kerner Sent: Monday, November 11, 2013 11:56 AM To: How to use LiveCode Subject: [Suggestion]Version Number Conspicuous Right now I have 7 different versions of LC installed on my machine. Some of that is because I haven't taken a few DP's or RC's off yet, and some is because there are cases where we weren't sure if all the major bugs were out of a version, yet. Unfortunately, it is not obvious which version is running. If you double-click on a stack, if you're not paying attention, it's possible that the wrong version might launch. Then there are the cases where I have multiple instances of LC open (different stable versions) for one reason or another. I would like to see the version in the toolbar, maybe. -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From m.schonewille at economy-x-talk.com Mon Nov 11 12:15:57 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 11 Nov 2013 18:15:57 +0100 Subject: [Suggestion]Version Number Conspicuous In-Reply-To: <004601cedf01$50261f00$f0725d00$@net> References: <004601cedf01$50261f00$f0725d00$@net> Message-ID: <528110CD.9050706@economy-x-talk.com> Hi Ralph, What would be a good place to show the version number? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi Fill out this survey please http://livecodebeginner.economy-x-talk.com/survey/ On 11/11/2013 18:13, Ralph DiMola wrote: > I also have several versions installed. > Version Number is in the toolbar in Windows. I use info all the time to keep > my sanity with all these versions. I just looked and the version is not in > the toolbar on my Mac. Not having that info could cause things to go south > real quick. This info should be there on Mac also. > > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf > Of Mike Kerner > Sent: Monday, November 11, 2013 11:56 AM > To: How to use LiveCode > Subject: [Suggestion]Version Number Conspicuous > > Right now I have 7 different versions of LC installed on my machine. Some > of that is because I haven't taken a few DP's or RC's off yet, and some is > because there are cases where we weren't sure if all the major bugs were out > of a version, yet. > > Unfortunately, it is not obvious which version is running. If you > double-click on a stack, if you're not paying attention, it's possible that > the wrong version might launch. > > Then there are the cases where I have multiple instances of LC open > (different stable versions) for one reason or another. > > I would like to see the version in the toolbar, maybe. > > -- > On the first day, God created the heavens and the Earth On the second day, > God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mcgrath3 at mac.com Mon Nov 11 12:27:11 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Mon, 11 Nov 2013 12:27:11 -0500 Subject: Device signature different Message-ID: <5C10468C-E657-468D-A7A0-6196FA6E3BAF@mac.com> on mouseUp put mobileGetDeviceToken() into field "PNSResult" put field "PNSResult" into tTest put 1 into i repeat while i<= the number of characters in tTest if char i of tTest is not in "0123456789abcdefABCDEF" then delete char i of tTest else -- char i of me is hex add 1 to i end if -- char i is not in..... end repeat --while i<= the number of characters in me if char 1 of tTest is "<" then delete char 1 of tTest if last char of tTest is ">" then delete last char of tTest put tTest into field ?PNSResult" end mouseUp SO the token returned from this script from a few weeks ago is different than what this returns today.???? wtf?. But more importantly it changed from this morning and later this afternoon. I have three different IDs from the same device?. Is mobileGetDeviceToken() supposed to be consistent to the device???? No matter what???? or When???? Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com From MikeKerner at roadrunner.com Mon Nov 11 12:39:49 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 11 Nov 2013 12:39:49 -0500 Subject: [Suggestion]Version Number Conspicuous In-Reply-To: <528110CD.9050706@economy-x-talk.com> References: <004601cedf01$50261f00$f0725d00$@net> <528110CD.9050706@economy-x-talk.com> Message-ID: Yes, I forgot to mention that it is in the title bar in windows. On Mon, Nov 11, 2013 at 12:15 PM, Mark Schonewille < m.schonewille at economy-x-talk.com> wrote: > Hi Ralph, > > What would be a good place to show the version number? > > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour > spaces. http://www.color-converter.com > > Buy my new book "Programming LiveCode for the Real Beginner" > http://qery.us/3fi > > Fill out this survey please > http://livecodebeginner.economy-x-talk.com/survey/ > > On 11/11/2013 18:13, Ralph DiMola wrote: > >> I also have several versions installed. >> Version Number is in the toolbar in Windows. I use info all the time to >> keep >> my sanity with all these versions. I just looked and the version is not in >> the toolbar on my Mac. Not having that info could cause things to go south >> real quick. This info should be there on Mac also. >> >> >> Ralph DiMola >> IT Director >> Evergreen Information Services >> rdimola at evergreeninfo.net >> >> >> -----Original Message----- >> From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On >> Behalf >> Of Mike Kerner >> Sent: Monday, November 11, 2013 11:56 AM >> To: How to use LiveCode >> Subject: [Suggestion]Version Number Conspicuous >> >> Right now I have 7 different versions of LC installed on my machine. Some >> of that is because I haven't taken a few DP's or RC's off yet, and some is >> because there are cases where we weren't sure if all the major bugs were >> out >> of a version, yet. >> >> Unfortunately, it is not obvious which version is running. If you >> double-click on a stack, if you're not paying attention, it's possible >> that >> the wrong version might launch. >> >> Then there are the cases where I have multiple instances of LC open >> (different stable versions) for one reason or another. >> >> I would like to see the version in the toolbar, maybe. >> >> -- >> On the first day, God created the heavens and the Earth On the second day, >> God created the oceans. >> On the third day, God put the animals on hold for a few hours, >> and did a little diving. >> And God said, "This is good." >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From MikeKerner at roadrunner.com Mon Nov 11 13:10:02 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 11 Nov 2013 13:10:02 -0500 Subject: Device signature different In-Reply-To: <5C10468C-E657-468D-A7A0-6196FA6E3BAF@mac.com> References: <5C10468C-E657-468D-A7A0-6196FA6E3BAF@mac.com> Message-ID: I have run into this very problem. No, the token is not forevermore, but Apple won't tell you when it's changed, and if you reference the old token, it will still work. The most common way that a token gets replaced is when a device gets wiped. On Mon, Nov 11, 2013 at 12:27 PM, Thomas McGrath III wrote: > on mouseUp > put mobileGetDeviceToken() into field "PNSResult" > put field "PNSResult" into tTest > put 1 into i > repeat while i<= the number of characters in tTest > if char i of tTest is not in "0123456789abcdefABCDEF" then > delete char i of tTest > else -- char i of me is hex > add 1 to i > end if -- char i is not in..... > end repeat --while i<= the number of characters in me > > if char 1 of tTest is "<" then delete char 1 of tTest > if last char of tTest is ">" then delete last char of tTest > put tTest into field ?PNSResult" > > end mouseUp > > > SO the token returned from this script from a few weeks ago is different > than what this returns today.???? wtf?. But more importantly it changed > from this morning and later this afternoon. I have three different IDs from > the same device?. > > > Is mobileGetDeviceToken() supposed to be consistent to the device???? No > matter what???? or When???? > > > Tom > > > > -- Tom McGrath III > http://lazyriver.on-rev.com > mcgrath3 at mac.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From mcgrath3 at mac.com Mon Nov 11 14:37:01 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Mon, 11 Nov 2013 14:37:01 -0500 Subject: Device signature different In-Reply-To: References: <5C10468C-E657-468D-A7A0-6196FA6E3BAF@mac.com> Message-ID: <39CE5ACE-94E5-4552-B987-B962AA9B067D@mac.com> So what is the best way to handle this? Is it a fact that the old token will still work?? What about the one before that?? Anyone else have info here. Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com On Nov 11, 2013, at 1:10 PM, Mike Kerner wrote: > I have run into this very problem. No, the token is not forevermore, but > Apple won't tell you when it's changed, and if you reference the old token, > it will still work. > > The most common way that a token gets replaced is when a device gets wiped. > > > On Mon, Nov 11, 2013 at 12:27 PM, Thomas McGrath III wrote: > >> on mouseUp >> put mobileGetDeviceToken() into field "PNSResult" >> put field "PNSResult" into tTest >> put 1 into i >> repeat while i<= the number of characters in tTest >> if char i of tTest is not in "0123456789abcdefABCDEF" then >> delete char i of tTest >> else -- char i of me is hex >> add 1 to i >> end if -- char i is not in..... >> end repeat --while i<= the number of characters in me >> >> if char 1 of tTest is "<" then delete char 1 of tTest >> if last char of tTest is ">" then delete last char of tTest >> put tTest into field ?PNSResult" >> >> end mouseUp >> >> >> SO the token returned from this script from a few weeks ago is different >> than what this returns today.???? wtf?. But more importantly it changed >> from this morning and later this afternoon. I have three different IDs from >> the same device?. >> >> >> Is mobileGetDeviceToken() supposed to be consistent to the device???? No >> matter what???? or When???? >> >> >> Tom >> >> >> >> -- Tom McGrath III >> http://lazyriver.on-rev.com >> mcgrath3 at mac.com >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From brahma at hindu.org Mon Nov 11 14:57:06 2013 From: brahma at hindu.org (Brahmanathswami) Date: Mon, 11 Nov 2013 09:57:06 -1000 Subject: Command Keys Not Working In-Reply-To: <527FDF9D.1060901@hyperactivesw.com> References: <527F2EF0.5090304@hindu.org> <527FDF9D.1060901@hyperactivesw.com> Message-ID: <52813692.5050105@hindu.org> Bizarre: I opened both stacks in the same standalone engine the Edit button in one works on any field, but not the very same edit button in the other stack. getting a profile on each button, there is not discernible different. So I deleted that button in the stack where it did not work and copied over again the other button. Now it works in the stand alone. What I *had* done on the first copy and paste was removed the & in front of button text items. This time I left them in... now it works... "go figure...." -- Swasti Astu, Be Well! Brahmanathaswami Kauai's Hindu Monastery www.HimalayanAcademy.com J. Landman Gay wrote: >> and the button text is >> >> Cut/X >> Copy/C >> Paste/V >> --------- >> Find/F >> Find Again/G >> >> But if I run this from a standalone, these key commands do not work. >> Oddly, they work in another stack (from which I copied the button over >> to this stack) that is also run from a standalone... I wonder...is there >> some inclusions that are required in the standalone for these to work? > > I'm seeing the same thing in the IDE periodically, where keyboard > shortcuts aren't recognized. I don't think it's your app. It seems to > have something to do with whatever object is focused, but I haven't > tracked it down yet. From MikeKerner at roadrunner.com Mon Nov 11 14:56:59 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 11 Nov 2013 14:56:59 -0500 Subject: Device signature different In-Reply-To: <39CE5ACE-94E5-4552-B987-B962AA9B067D@mac.com> References: <5C10468C-E657-468D-A7A0-6196FA6E3BAF@mac.com> <39CE5ACE-94E5-4552-B987-B962AA9B067D@mac.com> Message-ID: I ran into this by accident, and I don't know how far back the old token will work. Even on Apple's forums, this behavior is largely a mystery. I have yet to receive a notification of a change, even when checking for devices that have asked to not receive push notifications any longer. What I have taken to doing is to have the app check its token (but because of bug 11236 in LC, you can't do that until you have the openCard message for the first card of the stack). If the token has changed, it reports the new token. On Mon, Nov 11, 2013 at 2:37 PM, Thomas McGrath III wrote: > So what is the best way to handle this? > > Is it a fact that the old token will still work?? What about the one > before that?? > > Anyone else have info here. > > Tom > > -- Tom McGrath III > http://lazyriver.on-rev.com > mcgrath3 at mac.com > > On Nov 11, 2013, at 1:10 PM, Mike Kerner > wrote: > > > I have run into this very problem. No, the token is not forevermore, but > > Apple won't tell you when it's changed, and if you reference the old > token, > > it will still work. > > > > The most common way that a token gets replaced is when a device gets > wiped. > > > > > > On Mon, Nov 11, 2013 at 12:27 PM, Thomas McGrath III >wrote: > > > >> on mouseUp > >> put mobileGetDeviceToken() into field "PNSResult" > >> put field "PNSResult" into tTest > >> put 1 into i > >> repeat while i<= the number of characters in tTest > >> if char i of tTest is not in "0123456789abcdefABCDEF" then > >> delete char i of tTest > >> else -- char i of me is hex > >> add 1 to i > >> end if -- char i is not in..... > >> end repeat --while i<= the number of characters in me > >> > >> if char 1 of tTest is "<" then delete char 1 of tTest > >> if last char of tTest is ">" then delete last char of tTest > >> put tTest into field ?PNSResult" > >> > >> end mouseUp > >> > >> > >> SO the token returned from this script from a few weeks ago is different > >> than what this returns today.???? wtf?. But more importantly it changed > >> from this morning and later this afternoon. I have three different IDs > from > >> the same device?. > >> > >> > >> Is mobileGetDeviceToken() supposed to be consistent to the device???? No > >> matter what???? or When???? > >> > >> > >> Tom > >> > >> > >> > >> -- Tom McGrath III > >> http://lazyriver.on-rev.com > >> mcgrath3 at mac.com > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > > > > > > > -- > > On the first day, God created the heavens and the Earth > > On the second day, God created the oceans. > > On the third day, God put the animals on hold for a few hours, > > and did a little diving. > > And God said, "This is good." > > _______________________________________________ > > use-livecode mailing list > > use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From pderocco at ix.netcom.com Mon Nov 11 14:58:51 2013 From: pderocco at ix.netcom.com (Paul D. DeRocco) Date: Mon, 11 Nov 2013 11:58:51 -0800 Subject: Need advice on MacOS standalones and externals In-Reply-To: References: Message-ID: <25BCEB8D80FC4398BBCA6EDE0123C7B7@PAULD> > From: Marian Petrides, MD > > Universal creates an app that will run on both PowerPC Macs > and on Intel Macs. As a consequence, such an app is larger > than an Intel-only app. That's the only downside I can see to > selecting Universal. OTOH, If PowerPC is truly irrelevant to > your users (as you stated in your query), why bloat your app? Thanks. Since the latest Xcode doesn't seem to include the PPC compiler, I'm sticking to Intel. But I'm still not sure if the bit width matters. On my MacOS 10.8 system, which I believe is a 64-bit OS, compiling my external as 32-bit works fine, but is that always the case? -- Ciao, Paul D. DeRocco Paul mailto:pderocco at ix.netcom.com From MikeKerner at roadrunner.com Mon Nov 11 15:54:06 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 11 Nov 2013 15:54:06 -0500 Subject: [OT] SQL question In-Reply-To: References: <39001E80-0696-4EFD-975B-809F0AD1B30B@derbrill.de> Message-ID: This is one of many reasons why triggers exist. There will be a single trigger process. Inside of the trigger you can assign the incrementing values, thus you will be guaranteed to get it to act the way you want, no matter what happens. The trigger locks the table while it is operating. In larger systems this has the potential to be a problem, or introduce deadlock, so you have to be careful, but there are just those cases where you absolutely, positively have to have something happen a certain way. You can also use a semaphore, but I would suggest you just use a trigger. On Mon, Nov 11, 2013 at 11:14 AM, Dr. Hawkins wrote: > On Mon, Nov 11, 2013 at 6:26 AM, Malte Brill > wrote: > > > The Problem is, that postGreSQL appears to be locking tables only during > > the transaction and automagically releases the lock, which is not ideal > in > > my situation. > > > You can use a begin/end lock to get everything done: > > BEGIN TRANSACTION; > INSERT something; > SELECT something else > END TRANSACTION; > > and either the whole block happens, or the db is untouched. > > You could also make the column a serial or auto-incrementing key. > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From mwieder at ahsoftware.net Mon Nov 11 16:28:26 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 11 Nov 2013 13:28:26 -0800 Subject: Command Keys Not Working In-Reply-To: <52813692.5050105@hindu.org> References: <527F2EF0.5090304@hindu.org> <527FDF9D.1060901@hyperactivesw.com> <52813692.5050105@hindu.org> Message-ID: <45501300120.20131111132826@ahsoftware.net> Brahmanathswami- Monday, November 11, 2013, 11:57:06 AM, you wrote: > This time I left them in... now it works... > "go figure...." See bugs 4096, 4154, 4342, 8200, 8674, 8122, 932, etc. -- -Mark Wieder ahsoftware at gmail.com From pete at lcsql.com Mon Nov 11 17:30:50 2013 From: pete at lcsql.com (Peter Haworth) Date: Mon, 11 Nov 2013 14:30:50 -0800 Subject: [OT] SQL question In-Reply-To: References: <39001E80-0696-4EFD-975B-809F0AD1B30B@derbrill.de> Message-ID: It seems Malte is having two problems - how to conditionally update a column value and how to ensure everything stays locked during the update. I think this should work: BEGIN TRANSACTION INSERT INTO test2 (id,UUID,running_number) VALUES (3,:1,CASE WHEN (SELECT count(UUID) FROM table2 WHERE UUID=:1)=0 THEN (SELECT first_number FROM table1 WHERE UUID=:1)+1 ELSE (SELECT MAX(running_number FROM table2)+1 END; END TRANSACTION Pete lcSQL Software On Mon, Nov 11, 2013 at 12:54 PM, Mike Kerner wrote: > This is one of many reasons why triggers exist. There will be a single > trigger process. Inside of the trigger you can assign the incrementing > values, thus you will be guaranteed to get it to act the way you want, no > matter what happens. The trigger locks the table while it is operating. > In larger systems this has the potential to be a problem, or introduce > deadlock, so you have to be careful, but there are just those cases where > you absolutely, positively have to have something happen a certain way. > > You can also use a semaphore, but I would suggest you just use a trigger. > > > On Mon, Nov 11, 2013 at 11:14 AM, Dr. Hawkins wrote: > > > On Mon, Nov 11, 2013 at 6:26 AM, Malte Brill > > wrote: > > > > > The Problem is, that postGreSQL appears to be locking tables only > during > > > the transaction and automagically releases the lock, which is not ideal > > in > > > my situation. > > > > > > You can use a begin/end lock to get everything done: > > > > BEGIN TRANSACTION; > > INSERT something; > > SELECT something else > > END TRANSACTION; > > > > and either the whole block happens, or the db is untouched. > > > > You could also make the column a serial or auto-incrementing key. > > > > -- > > Dr. Richard E. Hawkins, Esq. > > (702) 508-8462 > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From monte at sweattechnologies.com Mon Nov 11 17:32:09 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue, 12 Nov 2013 09:32:09 +1100 Subject: How To Send Before? In-Reply-To: References: Message-ID: <2D6DD12F-D468-4C47-B58D-218D1F7D99FB@sweattechnologies.com> On 12/11/2013, at 2:59 AM, Peter Haworth wrote: > I think you ave found a little anomaly though as it seems you can't send or > dispatch a before/after message. So you want all messages to be able to use before/after handlers or do you want the engine to compare our dispatched messages to all engine message names to work out if it needs to look send before and after handlers? The former seems like a better way to go... although it seems to me before and after were implemented to deal with engine message handling so it's reasonable that we might use other means such as a separate private handler that does the work. Cheers -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From mwieder at ahsoftware.net Mon Nov 11 17:56:34 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 11 Nov 2013 14:56:34 -0800 Subject: 6.1.3? Message-ID: <132506588297.20131111145634@ahsoftware.net> The updater tells me that 6.1.3 is available, and I see it on the downloads page, but there hasn't been any release announcement. -- -Mark Wieder ahsoftware at gmail.com From paul.foraker at gmail.com Mon Nov 11 18:10:47 2013 From: paul.foraker at gmail.com (Paul Foraker) Date: Mon, 11 Nov 2013 15:10:47 -0800 Subject: Another Data Grid problem In-Reply-To: References: <4C840888.7090500@crcom.net> Message-ID: On Sun, Nov 10, 2013 at 3:41 AM, zryip theSlug wrote: > This is behaving like the template for your datagrid is missing. > > For checking the existence of the datagrid template, you can execute this > code: > > put the dgProp["row template"] of grp "myDataGrid" into tTheTMPLGroup > answer there is a tTheTMPLGroup > > where myDataGrid is the name of your datagrid group. > > This test will probably return "false". > Thank you, Zryip theSlug.Your diagnosis was correct. Somehow, the template had gone missing; perhaps that happened when I created the datagrid by cloning. Following the path described by Kevin in the YouTube lesson on adding images to a datagrid did not work -- even after I created a new dg which actually had a template. After replacing the template field with a blank button, etc., the script broke, unable to find the button. So, apparently, I put it in the wrong group. More research required. Due to time constraints, I faked it instead, using images overlayed on the column. So, I look forward to figuring this out. -- Paul From gerry.orkin at gmail.com Mon Nov 11 18:49:53 2013 From: gerry.orkin at gmail.com (Gerry Orkin) Date: Tue, 12 Nov 2013 10:49:53 +1100 Subject: Another Data Grid problem In-Reply-To: References: <4C840888.7090500@crcom.net> Message-ID: <95F63192-D3B5-4EB4-8F91-D081F259672D@gmail.com> Are you sure you referred to the button "of me"? It's the #1 mistake I make with data grids - you have to refer to the objects for each "record" using "of me". Gerry On 12 Nov 2013, at 10:10 am, Paul Foraker wrote: > After replacing the template field with a blank > button, etc., the script broke, unable to find the button. So, apparently, > I put it in the wrong group. More research required. From paul.foraker at gmail.com Mon Nov 11 18:55:55 2013 From: paul.foraker at gmail.com (Paul Foraker) Date: Mon, 11 Nov 2013 15:55:55 -0800 Subject: Another Data Grid problem In-Reply-To: <95F63192-D3B5-4EB4-8F91-D081F259672D@gmail.com> References: <4C840888.7090500@crcom.net> <95F63192-D3B5-4EB4-8F91-D081F259672D@gmail.com> Message-ID: Yes, I simply modified the existing script (as demonstrated in the video), replacing the reference to the field with the reference to the button. I must have edited the wrong group, I'm thinking. On Mon, Nov 11, 2013 at 3:49 PM, Gerry Orkin wrote: > Are you sure you referred to the button "of me"? It's the #1 mistake I > make with data grids - you have to refer to the objects for each "record" > using "of me". > > Gerry > > > On 12 Nov 2013, at 10:10 am, Paul Foraker wrote: > > > After replacing the template field with a blank > > button, etc., the script broke, unable to find the button. So, > apparently, > > I put it in the wrong group. More research required. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From paulhibbert at mac.com Mon Nov 11 19:02:13 2013 From: paulhibbert at mac.com (Paul Hibbert) Date: Mon, 11 Nov 2013 16:02:13 -0800 Subject: 6.1.3? In-Reply-To: <132506588297.20131111145634@ahsoftware.net> References: <132506588297.20131111145634@ahsoftware.net> Message-ID: <971CE59A-B69C-4F10-9A11-549B325EC8BF@mac.com> I just saw the same update message, but it's approaching midnight in the UK right now, so I doubt there will be an announcement for a few hours yet, maybe the team left the automatic builder running as they went home. The update text does say it's a stable release, so I've allowed it to download, could be a while though - looks like I've caught a very slow connection. Paul On 2013-11-11, at 2:56 PM, Mark Wieder wrote: > The updater tells me that 6.1.3 is available, and I see it on the > downloads page, but there hasn't been any release announcement. > > -- > -Mark Wieder > ahsoftware at gmail.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Mon Nov 11 19:12:55 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 11 Nov 2013 18:12:55 -0600 Subject: 6.1.3? In-Reply-To: <132506588297.20131111145634@ahsoftware.net> References: <132506588297.20131111145634@ahsoftware.net> Message-ID: <52817287.8020105@hyperactivesw.com> On 11/11/13 4:56 PM, Mark Wieder wrote: > The updater tells me that 6.1.3 is available, and I see it on the > downloads page, but there hasn't been any release announcement. > > Heather announced it on the 6th. You may be losing email again. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mwieder at ahsoftware.net Mon Nov 11 19:09:08 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 11 Nov 2013 16:09:08 -0800 Subject: 6.1.3? In-Reply-To: <971CE59A-B69C-4F10-9A11-549B325EC8BF@mac.com> References: <132506588297.20131111145634@ahsoftware.net> <971CE59A-B69C-4F10-9A11-549B325EC8BF@mac.com> Message-ID: <194510942066.20131111160908@ahsoftware.net> Paul- Monday, November 11, 2013, 4:02:13 PM, you wrote: > I just saw the same update message, but it's approaching midnight > in the UK right now, so I doubt there will be an announcement for a > few hours yet, maybe the team left the automatic builder running as > they went home. > The update text does say it's a stable release, so I've allowed > it to download, could be a while though - looks like I've caught a > very slow connection. I'm not downloading anything until there's an official notice. You're probably right about the automatic feed. Just curious about the process. -- -Mark Wieder ahsoftware at gmail.com From coiin at verizon.net Mon Nov 11 19:16:01 2013 From: coiin at verizon.net (Colin Holgate) Date: Mon, 11 Nov 2013 19:16:01 -0500 Subject: 6.1.3? In-Reply-To: <52817287.8020105@hyperactivesw.com> References: <132506588297.20131111145634@ahsoftware.net> <52817287.8020105@hyperactivesw.com> Message-ID: It also shows up on launch of 6.1.2. From paulhibbert at mac.com Mon Nov 11 19:18:30 2013 From: paulhibbert at mac.com (Paul Hibbert) Date: Mon, 11 Nov 2013 16:18:30 -0800 Subject: 6.1.3? In-Reply-To: <52817287.8020105@hyperactivesw.com> References: <132506588297.20131111145634@ahsoftware.net> <52817287.8020105@hyperactivesw.com> Message-ID: Jacque, The announcement I have for the 6th is for 6.1.3 (rc2). Is that the same as yours? This update is for the final 6.1.3 release. Paul > On 2013-11-06, at 9:11 AM, Heather Laine wrote: > >> Dear list members, >> >> We are pleased to announce the release of LiveCode 6.1.3-rc-2. >> >> Warning: this is not a stable release. Please ensure you back up your >> stacks before testing them. > On 2013-11-11, at 4:12 PM, "J. Landman Gay" wrote: > On 11/11/13 4:56 PM, Mark Wieder wrote: >> The updater tells me that 6.1.3 is available, and I see it on the >> downloads page, but there hasn't been any release announcement. >> >> > > Heather announced it on the 6th. You may be losing email again. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From Nakia.Brewer at westrac.com.au Mon Nov 11 19:40:57 2013 From: Nakia.Brewer at westrac.com.au (Nakia Brewer) Date: Tue, 12 Nov 2013 00:40:57 +0000 Subject: iOS Close Keyboard on Native MultiLIne Field Message-ID: <67116DB20798A94285EEE12A67079A2832627DB8@MHSEXC02.westrac.com.au> Does anyone have some nice suggestions for the best way to get the iOS Keyboard to close when the user Is finished editing an iOS Multiline Field? 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. From jacque at hyperactivesw.com Mon Nov 11 19:52:38 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 11 Nov 2013 18:52:38 -0600 Subject: 6.1.3? In-Reply-To: References: <132506588297.20131111145634@ahsoftware.net> <52817287.8020105@hyperactivesw.com> Message-ID: <52817BD6.4080108@hyperactivesw.com> On 11/11/13 6:18 PM, Paul Hibbert wrote: > Jacque, > > The announcement I have for the 6th is for 6.1.3 (rc2). Is that the same as yours? > > This update is for the final 6.1.3 release. Oh right. Sorry. I was looking at rc2. Ignore me. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From gerry.orkin at gmail.com Mon Nov 11 19:52:51 2013 From: gerry.orkin at gmail.com (Gerry Orkin) Date: Tue, 12 Nov 2013 11:52:51 +1100 Subject: iOS Close Keyboard on Native MultiLIne Field In-Reply-To: <67116DB20798A94285EEE12A67079A2832627DB8@MHSEXC02.westrac.com.au> References: <67116DB20798A94285EEE12A67079A2832627DB8@MHSEXC02.westrac.com.au> Message-ID: Use the line: focus in nothing Gerry > On 12 Nov 2013, at 11:40 am, Nakia Brewer wrote: > > Does anyone have some nice suggestions for the best way to get the iOS Keyboard to close when the user > Is finished editing an iOS Multiline Field? > > > > > > 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From gerry.orkin at gmail.com Mon Nov 11 19:53:21 2013 From: gerry.orkin at gmail.com (Gerry Orkin) Date: Tue, 12 Nov 2013 11:53:21 +1100 Subject: iOS Close Keyboard on Native MultiLIne Field In-Reply-To: <67116DB20798A94285EEE12A67079A2832627DB8@MHSEXC02.westrac.com.au> References: <67116DB20798A94285EEE12A67079A2832627DB8@MHSEXC02.westrac.com.au> Message-ID: sorry, "focus on nothing" Gerry > On 12 Nov 2013, at 11:40 am, Nakia Brewer wrote: > > Does anyone have some nice suggestions for the best way to get the iOS Keyboard to close when the user > Is finished editing an iOS Multiline Field? > > > > > > 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From feed at smpcsupport.com Mon Nov 11 20:02:33 2013 From: feed at smpcsupport.com (RunRevPlanet) Date: Tue, 12 Nov 2013 12:02:33 +1100 Subject: [ANN] LiveCode Game Developer Blog Message-ID: <1384218153.52817e29c1af5@www.server101.com> Hi, Wanting to let people know that the LiveCode Game Developer Blog is now up. You can find it at: http://livecodegamedeveloper.com/ Hope you like it. Quick question, it doesn't have a RSS button. Does anyone use a RSS Reader and think it is important? Cheers, -- Scott McDonald "Components, Controls, Tools and Resources for LiveCode" www.runrevplanet.com From peterwawood at gmail.com Mon Nov 11 20:15:24 2013 From: peterwawood at gmail.com (Peter W A Wood) Date: Tue, 12 Nov 2013 09:15:24 +0800 Subject: [ANN] LiveCode Game Developer Blog In-Reply-To: <1384218153.52817e29c1af5@www.server101.com> References: <1384218153.52817e29c1af5@www.server101.com> Message-ID: It looks good and the first article really wets the appetite Scott. I use Apple's Mail.app as an RSS Reader. I find it an easy way to get notified on updates to blogs that I'm interested in. Cheers Peter http://LiveCode1001.blogspot.com On 12 Nov 2013, at 09:02, RunRevPlanet wrote: > Hi, > > Wanting to let people know that the LiveCode Game Developer Blog is now up. > > You can find it at: > > http://livecodegamedeveloper.com/ > > Hope you like it. > > Quick question, it doesn't have a RSS button. Does anyone use a RSS Reader and > think it is important? > > Cheers, > -- > Scott McDonald > "Components, Controls, Tools and Resources for LiveCode" > www.runrevplanet.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at lcsql.com Mon Nov 11 21:08:23 2013 From: pete at lcsql.com (Peter Haworth) Date: Mon, 11 Nov 2013 18:08:23 -0800 Subject: How To Send Before? In-Reply-To: <2D6DD12F-D468-4C47-B58D-218D1F7D99FB@sweattechnologies.com> References: <2D6DD12F-D468-4C47-B58D-218D1F7D99FB@sweattechnologies.com> Message-ID: Neither really, I'm happy to use a separate handler. Pete lcSQL Software On Mon, Nov 11, 2013 at 2:32 PM, Monte Goulding wrote: > > On 12/11/2013, at 2:59 AM, Peter Haworth wrote: > > > I think you ave found a little anomaly though as it seems you can't send > or > > dispatch a before/after message. > > So you want all messages to be able to use before/after handlers or do you > want the engine to compare our dispatched messages to all engine message > names to work out if it needs to look send before and after handlers? The > former seems like a better way to go... although it seems to me before and > after were implemented to deal with engine message handling so it's > reasonable that we might use other means such as a separate private handler > that does the work. > > Cheers > > -- > M E R Goulding > Software development services > Bespoke application development for vertical markets > > mergExt - There's an external for that! > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From roger.e.eller at sealedair.com Mon Nov 11 22:05:02 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Mon, 11 Nov 2013 22:05:02 -0500 Subject: [OT] More Android fun... In-Reply-To: References: Message-ID: What could we make inside a 240 pixel square? http://www.youtube.com/watch?v=Wq4Glj9dt4k http://www.merimobiles.com/smartq-z1-smartwatch_p/meri8202.htm ~Roger From ambassador at fourthworld.com Mon Nov 11 22:06:29 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 11 Nov 2013 19:06:29 -0800 Subject: Why is dispatch so fast? Message-ID: <52819B35.6090805@fourthworld.com> Mark Wieder wrote: > Saturday, November 9, 2013, 10:30:38 PM, Richard wrote: > >>> Why is the dispatch command so much faster than do, send, or call? > >> The main difference appears to be send needs to parse the params >> from the string. Do obviously needs to be parsed on the fly too. > > Yes, it's the runtime parsing that slows these down. Here's an example where the overhead should be the same, yet dispatch takes only 287 ms to do's 405 ms: on mouseUp put 100000 into n put "foo" into tCmd -- -- Test 1: Do put the millisecs into t repeat n do tCmd end repeat put the millisecs - t into t1 -- -- Test 2: Dispatch put the millisecs into t repeat n dispatch tCmd end repeat put the millisecs - t into t2 -- put t1 && t2 end mouseUp on foo get 1+1 end foo -- Richard Gaskin Fourth World Systems Software Design and Development for Desktop, Mobile, and Web ____________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From gbojsza at gmail.com Mon Nov 11 22:11:36 2013 From: gbojsza at gmail.com (Glen Bojsza) Date: Mon, 11 Nov 2013 22:11:36 -0500 Subject: Why is dispatch so fast? In-Reply-To: <52819B35.6090805@fourthworld.com> References: <52819B35.6090805@fourthworld.com> Message-ID: Am I wrong but it looks like an "Implied on" is the fastest? *-- Test 3: Implied on* *put* the millisecs into t *repeat* n foo *end* *repeat* *put* the millisecs - t into t3 *--* On Mon, Nov 11, 2013 at 10:06 PM, Richard Gaskin wrote: > Mark Wieder wrote: > > Saturday, November 9, 2013, 10:30:38 PM, Richard wrote: >> >> Why is the dispatch command so much faster than do, send, or call? >>>> >>> >> The main difference appears to be send needs to parse the params >>> from the string. Do obviously needs to be parsed on the fly too. >>> >> >> Yes, it's the runtime parsing that slows these down. >> > > Here's an example where the overhead should be the same, yet dispatch > takes only 287 ms to do's 405 ms: > > on mouseUp > put 100000 into n > put "foo" into tCmd > -- > -- Test 1: Do > put the millisecs into t > repeat n > do tCmd > end repeat > put the millisecs - t into t1 > -- > -- Test 2: Dispatch > put the millisecs into t > repeat n > dispatch tCmd > end repeat > put the millisecs - t into t2 > -- > put t1 && t2 > end mouseUp > > on foo > get 1+1 > end foo > > > -- > Richard Gaskin > Fourth World Systems > Software Design and Development for Desktop, Mobile, and Web > ____________________________________________________________ > Ambassador at FourthWorld.com http://www.FourthWorld.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From monte at sweattechnologies.com Mon Nov 11 22:12:28 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue, 12 Nov 2013 14:12:28 +1100 Subject: Why is dispatch so fast? In-Reply-To: <52819B35.6090805@fourthworld.com> References: <52819B35.6090805@fourthworld.com> Message-ID: On 12/11/2013, at 2:06 PM, Richard Gaskin wrote: >> Yes, it's the runtime parsing that slows these down. > > Here's an example where the overhead should be the same Nope... dispatch knows it's only got a command name so it just needs to message the object with the command. Send potentially has vars so it needs to parse them out. Do could potentially be anything... I haven't looked at it but I suspect it's got to parse then execute as a separate script. Cheers -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From ambassador at fourthworld.com Mon Nov 11 22:23:14 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 11 Nov 2013 19:23:14 -0800 Subject: Why is dispatch so fast? Message-ID: <52819F22.1010409@fourthworld.com> Monte Goulding wrote: > On 12/11/2013, at 2:06 PM, Richard Gaskin wrote: > >>> Yes, it's the runtime parsing that slows these down. >> >> Here's an example where the overhead should be the same > > Nope... dispatch knows it's only got a command name so it > just needs to message the object with the command. Send > potentially has vars so it needs to parse them out. Do > could potentially be anything... I haven't looked at it > but I suspect it's got to parse then execute as a separate > script. Ah, yes - it's not what it's doing there, but getting to the point where it can know what it's doing there. Thanks. -- Richard Gaskin Fourth World Systems Software Design and Development for Desktop, Mobile, and Web ____________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From monte at sweattechnologies.com Mon Nov 11 22:25:44 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue, 12 Nov 2013 14:25:44 +1100 Subject: Why is dispatch so fast? In-Reply-To: <52819F22.1010409@fourthworld.com> References: <52819F22.1010409@fourthworld.com> Message-ID: <196C3F83-F811-477C-9940-4D46DAE830D0@sweattechnologies.com> On 12/11/2013, at 2:23 PM, Richard Gaskin wrote: > Ah, yes - it's not what it's doing there, but getting to the point where it can know what it's doing there. yep -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From monte at sweattechnologies.com Mon Nov 11 23:40:52 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue, 12 Nov 2013 15:40:52 +1100 Subject: has anyone invented a back button for the script editor? Message-ID: Hi I find myself wanting a back button to return to the previous selection half a dozen times a day... has anyone made a plugin to do this? Also has anyone made a plugin to do the reverse of go to definition... present a list of scripts that use that function or command? Cheers -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From capellan2000 at gmail.com Tue Nov 12 00:28:30 2013 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Mon, 11 Nov 2013 21:28:30 -0800 (PST) Subject: [ANN] LiveCode Game Developer Blog In-Reply-To: <1384218153.52817e29c1af5@www.server101.com> References: <1384218153.52817e29c1af5@www.server101.com> Message-ID: <1384234110079-4672196.post@n4.nabble.com> Excellent! Many Thanks for sharing your wisdom. :D -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-LiveCode-Game-Developer-Blog-tp4672186p4672196.html Sent from the Revolution - User mailing list archive at Nabble.com. From mwieder at ahsoftware.net Tue Nov 12 00:36:25 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 11 Nov 2013 21:36:25 -0800 Subject: has anyone invented a back button for the script editor? In-Reply-To: References: Message-ID: <179530578861.20131111213625@ahsoftware.net> Monte- Monday, November 11, 2013, 8:40:52 PM, you wrote: > I find myself wanting a back button to return to the previous > selection half a dozen times a day... has anyone made a plugin to do > this? glx2 has multi-level backtracking, and I suppose you could extract the code and create a plugin, but you'd have to figure out what the UI should look like. > Also has anyone made a plugin to do the reverse of go to > definition... present a list of scripts that use that function or > command? I just use the "more" button in the find command and search the stack files. -- -Mark Wieder ahsoftware at gmail.com From feed at smpcsupport.com Tue Nov 12 01:16:20 2013 From: feed at smpcsupport.com (RunRevPlanet) Date: Tue, 12 Nov 2013 17:16:20 +1100 Subject: [ANN] LiveCode Game Developer Blog Message-ID: <1384236980.5281c7b44fbaa@www.server101.com> I have added a RSS link on the home page. It should work, but if you find it doesn't please let me know. Cheers, -- Scott McDonald "Components, Controls, Tools and Resources for LiveCode" www.runrevplanet.com From matthias_livecode_150811 at m-r-d.de Tue Nov 12 03:18:50 2013 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Tue, 12 Nov 2013 09:18:50 +0100 Subject: has anyone invented a back button for the script editor? In-Reply-To: References: Message-ID: I am using http://livecodeshare.runrev.com/stack/669/Kochi-Mini-SVN-Installer which helps me a lot. It is not a "back" button, but it can save snapshots of the script and can restore each snapshot if needed. After installation you have additional buttons in the script editor which let you do the save/restore. Regards Matthias Am 12.11.2013 um 05:40 schrieb Monte Goulding : > Hi > > I find myself wanting a back button to return to the previous selection half a dozen times a day... has anyone made a plugin to do this? Also has anyone made a plugin to do the reverse of go to definition... present a list of scripts that use that function or command? > > Cheers > > -- > M E R Goulding > Software development services > Bespoke application development for vertical markets > > mergExt - There's an external for that! > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode Matthias Rebbe Tel: +49 5741 310000 +49 160 5504462 eMail: matthias underscore livecode underscore 150811 at m dash r dash d dot de From gbojsza at gmail.com Tue Nov 12 04:48:08 2013 From: gbojsza at gmail.com (Glen Bojsza) Date: Tue, 12 Nov 2013 04:48:08 -0500 Subject: Write to Process takes two tries... Message-ID: Hello everyone, It may be a linux issue but when I open an SSH process and then write to that process I need to do the write twice to get results. The interesting thing is that I get double results. For example when using the following script...the process is already open for updates. *on* mouseUp *write* "pwd" & cr to process the nM of this stack readloop *end* mouseUp *command* readloop *read* from process the nM of this stack until empty *if* it is not empty *then* *put* it & cr after fld sshResults *send* "readloop" to me in 1 tick *else* *exit* to top *end* *if* *end* readloop I don't get any results while waiting for my read from process no matter how long I wait. But if I send the write command twice then I get immediate results with pwd being done twice? pwd /etc [root at localhost etc]# pwd /etc [root at localhost etc]# I have tried adding an addition cr in the command write "pwd" & cr & cr to process mySSH but this doesn't do anything unless I send it twice and I get an additional command line prompt back pwd /etc [root at localhost etc]# [root at localhost etc]# pwd /etc [root at localhost etc]# [root at localhost etc]# I have tried combination of cr and lf but it still needs to write twice to get results? thanks, Glen From ben at runrev.com Tue Nov 12 05:12:43 2013 From: ben at runrev.com (Benjamin Beaumont) Date: Tue, 12 Nov 2013 10:12:43 +0000 Subject: RELEASE: LiveCode 6.1.3 Message-ID: Dear List Members, We're pleased to announce that LiveCode 6.1.3 is now available. This is a stable release which we recommend to all users. This release has come from our maintenance cycle which aims to improve the quality of an existing main release (6.1). As a result it contain minor tweaks and bug fixes. 6.1.3 contain 12 bug fixes and tweaks to support iOS 7 more fully. *Release Contents* 12 bug fixes: - 11399 - iOS doesn\'t load any data unless HTTP status code is 200 - 11385 - Ampersands in any of the Mac standalone settings prevent standalones launching on Mavericks. - 11379 - The childControlIds / childControlNames properties return empty lines. - 11333 - Reference images with a filename set to a relative path don\'t work on Android - 11300 - Flip does not work on referenced images. - 11289 - Some long URLs cause crash in revBrowser - 11285 - Fix font setting for multiline edit controls on iOS7 - 11274 - Merge function should ignore square bracket if part of inner expression - 11268 - IDE crashes on with a filter name but no actual filter - 11242 - iOS Native Scroller doesn\'t work correctly on iOS 7 - 11208 - Mouse release/touch cancel events incorrectly sending mouseUp message - 11114 - secureMode restricts access to network *Get this release* To get this release choose 'check for update' from the help menu or download directly at: http://downloads.livecode.com/livecode/6_1_3/ Warm regards, The LiveCode Team From gerry.orkin at gmail.com Tue Nov 12 07:03:04 2013 From: gerry.orkin at gmail.com (Gerry Orkin) Date: Tue, 12 Nov 2013 23:03:04 +1100 Subject: iOS with 6.1.3 - icon missing. In-Reply-To: References: Message-ID: On installing 6.1.3 and changing nothing in my iOS app app build process does not appear to package the Springboard icon with the app. I get a generic iOS 7 grid icon. Anyone else seeing this? Gerry From peterwawood at gmail.com Tue Nov 12 08:03:57 2013 From: peterwawood at gmail.com (Peter W A Wood) Date: Tue, 12 Nov 2013 21:03:57 +0800 Subject: [ANN] LiveCode Game Developer Blog In-Reply-To: <1384236980.5281c7b44fbaa@www.server101.com> References: <1384236980.5281c7b44fbaa@www.server101.com> Message-ID: <98D87181-7148-4DE3-A429-5C6603458B43@gmail.com> Thanks, Scott. It works well. Cheers Peter On 12 Nov 2013, at 14:16, RunRevPlanet wrote: > I have added a RSS link on the home page. > > It should work, but if you find it doesn't please let me know. > > Cheers, > -- > Scott McDonald > "Components, Controls, Tools and Resources for LiveCode" > www.runrevplanet.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From toolbook at kestner.de Tue Nov 12 08:18:50 2013 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Tue, 12 Nov 2013 14:18:50 +0100 Subject: isn't it it? Message-ID: <003401cedfa9$ba40d080$2ec27180$@de> Hello, I have a "repeat until it is empty" loop which suddenly didn't started anymore. By chance I found the bug. Some days ago my IDE with strict compilation mode on wanted me to declare the variable "it". Though it is not usual, I didn't wanted to care about it and declared a local "it" and the IDE was happy. Actually I don't remember, where else I have done this nonsence. Now I found that a "repeat until it is empty" loop doesn't start anymore if you declare the local variable it. You can see it with this simple example, just comment / uncomment the local: on mouseUp # local it repeat until it is empty ask "what?" end repeat end mouseUp Why does LC handles "it" different if it is declared or not? And why doesn't start the repeat loop anymore if it is declared but empty? Any light on this? Tiemo From toolbook at kestner.de Tue Nov 12 09:19:14 2013 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Tue, 12 Nov 2013 15:19:14 +0100 Subject: AW: isn't it it? In-Reply-To: <003401cedfa9$ba40d080$2ec27180$@de> References: <003401cedfa9$ba40d080$2ec27180$@de> Message-ID: <003901cedfb2$2ab21650$801642f0$@de> Sorry, the issue is not the "it", but a combination of my misunderstanding of the local handling and the loop until. First I thought the loop until condition was tested at the end of the loop. Second with strict compilation mode off and not having declared the local, the variable obviously isn't recognized as "empty" and therefore the loop starts. With strict compilation mode on and declared local, the local is empty and the loop doesn't starts. on mouseUp # local tLoop repeat until tLoop is empty ask "was" put it into tLoop end repeat end mouseUp Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag > von Tiemo Hollmann TB > Gesendet: Dienstag, 12. November 2013 14:19 > An: 'How to use LiveCode' > Betreff: isn't it it? > > Hello, > > I have a "repeat until it is empty" loop which suddenly didn't started > anymore. > > By chance I found the bug. Some days ago my IDE with strict compilation > mode on wanted me to declare the variable "it". Though it is not usual, I > didn't wanted to care about it and declared a local "it" and the IDE was > happy. > Actually I don't remember, where else I have done this nonsence. > > Now I found that a "repeat until it is empty" loop doesn't start anymore if > you declare the local variable it. You can see it with this simple example, > just comment / uncomment the local: > > > > on mouseUp > > # local it > > repeat until it is empty > > ask "what?" > > end repeat > > end mouseUp > > > > Why does LC handles "it" different if it is declared or not? And why > doesn't start the repeat loop anymore if it is declared but empty? Any > light on this? > > Tiemo > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From capellan2000 at gmail.com Tue Nov 12 12:00:03 2013 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Tue, 12 Nov 2013 09:00:03 -0800 (PST) Subject: Congratulations In-Reply-To: <68DDA15C7E004A778A94A60F5868655A@GATEWAY> References: <527D6251.9080608@fourthworld.com> <527DE8B5.1040000@gmail.com> <68DDA15C7E004A778A94A60F5868655A@GATEWAY> Message-ID: <1384275603482-4672206.post@n4.nabble.com> Lynn Fredricks-2 wrote > [snip] > like many evolving (just too big to say "emerging") markets, you have to > look at it more as an investment. Certainly. RunRev also published the website in Chinese: http://livecode.com/zh-hans/ Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Congratulations-tp4672074p4672206.html Sent from the Revolution - User mailing list archive at Nabble.com. From bleiler at buffalo.edu Tue Nov 12 11:32:25 2013 From: bleiler at buffalo.edu (Timothy Bleiler) Date: Tue, 12 Nov 2013 11:32:25 -0500 Subject: Code Signing In-Reply-To: <527C0606.6080200@hyperactivesw.com> References: <1383758794944-4671948.post@n4.nabble.com> <1383825338931-4671994.post@n4.nabble.com> <527C0606.6080200@hyperactivesw.com> Message-ID: <8A550193-EE3D-40AC-8B04-0681ED454778@buffalo.edu> Hi, Can anyone point me to some resources describing how to properly code sign Livecode apps for Mac and Windows? Thanks, Tim Bleiler, Ph.D. Instructional Designer, HSIT University at Buffalo From mwieder at ahsoftware.net Tue Nov 12 12:53:30 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 12 Nov 2013 09:53:30 -0800 Subject: Congratulations In-Reply-To: <1384275603482-4672206.post@n4.nabble.com> References: <527D6251.9080608@fourthworld.com> <527DE8B5.1040000@gmail.com> <68DDA15C7E004A778A94A60F5868655A@GATEWAY> <1384275603482-4672206.post@n4.nabble.com> Message-ID: <171574804086.20131112095330@ahsoftware.net> Alejandro- Tuesday, November 12, 2013, 9:00:03 AM, you wrote: > Certainly. RunRev also published the website in Chinese: > http://livecode.com/zh-hans/ Industrial Toys! -- -Mark Wieder ahsoftware at gmail.com From capellan2000 at gmail.com Tue Nov 12 12:19:52 2013 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Tue, 12 Nov 2013 09:19:52 -0800 (PST) Subject: Standard Screenshots for Tutorial Makers Message-ID: <1384276792317-4672207.post@n4.nabble.com> Hi all, Does exists a series of screenshot images from the LiveCode IDE, palettes and dialogs, that could be used in the creation of tutorials and demos? How could I take vector graphic screenshots of all LiveCode's IDE elements (Icons, Palettes, Windows)? Thanks in advance! Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Standard-Screenshots-for-Tutorial-Makers-tp4672207.html Sent from the Revolution - User mailing list archive at Nabble.com. From ray at linkit.com Tue Nov 12 13:19:40 2013 From: ray at linkit.com (Ray) Date: Tue, 12 Nov 2013 13:19:40 -0500 Subject: Code Signing In-Reply-To: <8A550193-EE3D-40AC-8B04-0681ED454778@buffalo.edu> References: <1383758794944-4671948.post@n4.nabble.com> <1383825338931-4671994.post@n4.nabble.com> <527C0606.6080200@hyperactivesw.com> <8A550193-EE3D-40AC-8B04-0681ED454778@buffalo.edu> Message-ID: <5282713C.9000107@LinkIt.Com> Tim, Here are some steps I've made notes on so it's easier the next time I do this. I hope they help you. If they don't just repost something here and somebody else may be able to help with specifics. Create Ceritificate: Open Applications/Utilities/Keychain Access Click on Keychain Access (menubar), drag to Certificate Assistant and choose Request a Certificate from a Certificate Authority Use your email address which is usually the same as Apple Developer ID Use your app's name for the Common Name No CA email address is required Select Saved to disk Check Let me specify key pair information Leave all other choices at the default Open a browser, go to the following URL and navigate thru steps 'similar' to these: https://developer.apple.com/account/ios/certificate/certificateList.action?type=development In iOS Provisioning Portal/Certificates/Development click Choose File (bottom right) Upload the Certificate Signing Request created on the desktop and click Submit Click the Development tab (might have to refresh) and choose Download Double-click the developer_identity file on the desktop and it should open Keychain Access and put it in there. At this point the term "Issued" should be displayed. If not, then a button named Download Certificate or something should be displayed on the Distribution tab Choose "My Certificates" on the left of the Keychain app Delete any similarly named certificates Drag the newly saved certificate file from the desktop into the main part of the Keychain window. ___________________________________ Move your standalone to an iPad using xCode: Click on Window and choose Organizer in the xCode app Expand [the user name you logged in with]'s iPad and click Applications Click Add, choose the standalone Good luck, Ray Horsley LinkIt! Software On 11/12/2013 11:32 AM, Timothy Bleiler wrote: > Hi, > > Can anyone point me to some resources describing how to properly code sign Livecode apps for Mac and Windows? > > Thanks, > > Tim Bleiler, Ph.D. > Instructional Designer, HSIT > University at Buffalo > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bleiler at buffalo.edu Tue Nov 12 13:33:06 2013 From: bleiler at buffalo.edu (Timothy Bleiler) Date: Tue, 12 Nov 2013 13:33:06 -0500 Subject: Code Signing In-Reply-To: <5282713C.9000107@LinkIt.Com> References: <1383758794944-4671948.post@n4.nabble.com> <1383825338931-4671994.post@n4.nabble.com> <527C0606.6080200@hyperactivesw.com> <8A550193-EE3D-40AC-8B04-0681ED454778@buffalo.edu> <5282713C.9000107@LinkIt.Com> Message-ID: Thanks Ray. On Nov 12, 2013, at 1:19 PM, Ray wrote: > > Here are some steps I've made notes on so it's easier the next time I do this. I hope they help you. If they don't just repost something here and somebody else may be able to help with specifics. From lists at mangomultimedia.com Tue Nov 12 13:33:05 2013 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 12 Nov 2013 13:33:05 -0500 Subject: Code Signing In-Reply-To: <8A550193-EE3D-40AC-8B04-0681ED454778@buffalo.edu> References: <1383758794944-4671948.post@n4.nabble.com> <1383825338931-4671994.post@n4.nabble.com> <527C0606.6080200@hyperactivesw.com> <8A550193-EE3D-40AC-8B04-0681ED454778@buffalo.edu> Message-ID: On Tue, Nov 12, 2013 at 11:32 AM, Timothy Bleiler wrote > > Can anyone point me to some resources describing how to properly code sign > Livecode apps for Mac and Windows? > Here are some instructions. One thing to note is that code signing has changed on Mavericks. You have to sign more items in the bundle then you had to previously. I haven't sat down to figure out the best way to approach this yet, however. http://revolution.screenstepslive.com/s/revolution/m/10695 -- Trevor DeVore Blue Mango Learning Systems www.screensteps.com - www.clarify-it.com From bleiler at buffalo.edu Tue Nov 12 13:45:20 2013 From: bleiler at buffalo.edu (Timothy Bleiler) Date: Tue, 12 Nov 2013 13:45:20 -0500 Subject: Code Signing In-Reply-To: References: <1383758794944-4671948.post@n4.nabble.com> <1383825338931-4671994.post@n4.nabble.com> <527C0606.6080200@hyperactivesw.com> <8A550193-EE3D-40AC-8B04-0681ED454778@buffalo.edu> Message-ID: <8C92FC0E-49DF-40C2-9ACF-AC57B01024C3@buffalo.edu> On Nov 12, 2013, at 1:33 PM, Trevor DeVore wrote: > Here are some instructions. One thing to note is that code signing has > changed on Mavericks. You have to sign more items in the bundle then you > had to previously. I haven't sat down to figure out the best way to > approach this yet, however. > > http://revolution.screenstepslive.com/s/revolution/m/10695 Thanks Trevor, From martyknappster at gmail.com Tue Nov 12 14:23:30 2013 From: martyknappster at gmail.com (Marty Knapp) Date: Tue, 12 Nov 2013 11:23:30 -0800 Subject: Code Signing In-Reply-To: References: <1383758794944-4671948.post@n4.nabble.com> <1383825338931-4671994.post@n4.nabble.com> <527C0606.6080200@hyperactivesw.com> <8A550193-EE3D-40AC-8B04-0681ED454778@buffalo.edu> Message-ID: <52828032.80309@gmail.com> I've used "App Wrapper" from www.ohanaware.com but it doesn't work with Mavericks. I've been in contact with a Sam Rowlands there (great guy, very helpful). They have an alpha version in testing, which is working for me - don't know if you need to own a current copy to participate or not. You have to set the engine in preferences to "Mavericks" for it to work. Marty > On Tue, Nov 12, 2013 at 11:32 AM, Timothy Bleiler wrote > >> Can anyone point me to some resources describing how to properly code sign >> Livecode apps for Mac and Windows? >> > Here are some instructions. One thing to note is that code signing has > changed on Mavericks. You have to sign more items in the bundle then you > had to previously. I haven't sat down to figure out the best way to > approach this yet, however. > > http://revolution.screenstepslive.com/s/revolution/m/10695 > From ben at runrev.com Tue Nov 12 15:02:22 2013 From: ben at runrev.com (Benjamin Beaumont) Date: Tue, 12 Nov 2013 20:02:22 +0000 Subject: RELEASE LiveCode 6.5 RC3 Message-ID: Dear List Members, We are pleased to announce the release of LiveCode 6.5.0 RC3. *Warning: this is not a stable release. Please ensure you back up your stacks before testing them.* *Release Contents* Server graphics support Full screen scaling mode. PCRE library updated to version 8.33 libUrlSetSSLVerification now supported on mobile platforms Resolution Independence New global property colorDialogColors Integration of revFont external Enhanced \'filter\' command Text Measurement The optional *recursively* adverb has been added to union and intersect commands Xpath functions 47 bug fixes: 11422 - Multiply blend mode incorrect 11415 - Random issues with text layout and alignment. 11413 - Text clipped vertically on iOS for certain fonts 11320 - Player rect not adjusted by stack scroll when redrawing on OSX 11197 - Crash when attempting to print to file on linux. 11397 - Imagedata of resized images returned at wrong scale 11393 - Fullscreen modes cause clipped text on Windows 11390 - Fix incorrect cropping of resized image 11389 - Dashed borders on oval grapgics do not start at the correct location 11388 - 1 pixel non-antialiased lines draw incorrectly in certain circumstances 11360 - Linux themeing does not correctly work on non 32bit displays 11355 - Focus border on Windows default button has artefacts. 10508 - Printing text to PDF on Windows can result in poor layout. 11367 - Gradient inspector does not draw fully 11359 - Redraw issues with inner glow and inner shadow. 11351 - \"recursively\" option for array union and intersect not working. 11349 - Content outside of card rect can be seen in show all fullscreenmode when acceleratedRendering is true. 11338 - Character backColor not rendered in fields. 11336 - The fullscreenModes are now camel-case. 11335 - In fullscreen mode on Mac, the window resize handle still appears. 11332 - Text not rendered in correct location in -ui mode when taking snapshot of object. 11330 - Visual effects not displayed correctly on iOS when fullscreenmode is \'no border\', and stack extends outside of the visible screen. 11329 - Dynamic layers do not render correctly when fullscreenmode causes stack to not be at top-left of screen. 11327 - Opening large scripts takes longer in 6.5 than 6.1.2 11325 - Graphic effects rendered incorrectly when non-Normal blend mode used. 11324 - Borders still rendered even if borderWidth == 0. 11315 - Instability of LiveCode when gradients are being / have been displayed. 11314 - Image transparency is lost when setting the imagedata 11299 - Answer folder for XCode app bundle has a typo 11198 - Fix color issues on PowerPC Mac 11174 - Conical spiral XY and sqrtXY gradients render incorrectly. 11310 - Italic fonts clipped on right hand side on iOS 11309 - Text clips for certain fonts on Mac 11297 - Setting the color of a graphic effect resets its opacity 11283 - Italic fonts are not rendered on Mac. 11280 - Project browser does not expand cards of substacks 11241 - Non-3D borders are always black. 11227 - Android native controls are positioned incorrectly. 11221 - Field background pattern not working. 11179 - Images with an angle other than 0 are not drawn. 11178 - Import from paint always fails. 11176 - MouseDoubleUp messages are not sent on Linux. 10995 - Standalones now set default font settings the same as the IDE. 10980 - Setting the filename of an image which already has a filename causes the property to be unset and \'could not load image\' in the result. 10977 - Setting the image filename to empty unsets the image text and vice-versa 10964 - Inconsistent rounding of floating point values. 6720 - Scrollbar properties not returned in correct format. *Updating to this release* To update to this release choose "check for updates" from the help menu within LiveCode or download it directly here: http://downloads.livecode.com/livecode/6_5_0/ *Reporting issue* The purpose of these releases is to provide community members with the chance to test releases before they are declared stable. If you encounter an issue, please file a report at quality.runrev.com. Thank you for your support. Warm regards, Then LiveCode Team From henshaw at me.com Tue Nov 12 15:05:12 2013 From: henshaw at me.com (Andrew Henshaw) Date: Tue, 12 Nov 2013 20:05:12 +0000 Subject: Code Signing In-Reply-To: References: <1383758794944-4671948.post@n4.nabble.com> <1383825338931-4671994.post@n4.nabble.com> <527C0606.6080200@hyperactivesw.com> <8A550193-EE3D-40AC-8B04-0681ED454778@buffalo.edu> Message-ID: <4AF73946-1B34-4A4F-800C-23D0A783C19C@me.com> For Mavericks just add --deep to the start of the code signing line Trevor, that signs everything in the package so it works with the gatekeeper. eg. codesign --deep -f -s "Developer ID Application: Your Company Ltd" ./YourApp* For Windows I use SignGUI which is free and seems to work, it takes a whole for a new exe upload to be trusted by the Windows 8 Smart Screen if you only have a standard code signing certificate, but my apps seem to clear that in 48 hours or less so ive not bothered with the extended certificates. Andy > > Here are some instructions. One thing to note is that code signing has > changed on Mavericks. You have to sign more items in the bundle then you > had to previously. I haven't sat down to figure out the best way to > approach this yet, however. From endernafi at gmail.com Tue Nov 12 15:11:35 2013 From: endernafi at gmail.com (Ender Nafi Elekcioglu) Date: Tue, 12 Nov 2013 22:11:35 +0200 Subject: Algorithm for Direction Change upon Collision In-Reply-To: References: Message-ID: @Jim, As I?ve said, you?re equations and physics simulations are excellent. But performance is my biggest concern over being realistic, so I?m with Scott here, ?near enough is good enough?. @Scott, I totally agree with "Somewhat paradoxically, more code in the loop that does the screen updating? is actually faster if the logic used is more efficient.? I have to optimize my code. And here comes Mark?s and Jim?s advices. @Mark I?m testing alternate intersect functions as you suggested. All of the particles have same sizes, they are not circles but it doesn?t matter since they are too small to notice little miscalculations. So, I?m coding your advice of *comparing the distances*. All and all, LiveCode seems to handle particle thingy pretty good. I mean; without collision check I could go up to 1000?s of objects flying around with reasonable fps values. It?s promising, right? Thank you all, for valuable advices. I?ll post my results for future reference. Best, ~ Ender Nafi From Nakia.Brewer at westrac.com.au Tue Nov 12 15:25:37 2013 From: Nakia.Brewer at westrac.com.au (Nakia Brewer) Date: Tue, 12 Nov 2013 20:25:37 +0000 Subject: iOS Close Keyboard on Native MultiLIne Field In-Reply-To: References: <67116DB20798A94285EEE12A67079A2832627DB8@MHSEXC02.westrac.com.au> Message-ID: <67116DB20798A94285EEE12A67079A2832629486@MHSEXC02.westrac.com.au> Thanks, I was probably asking more about a control that launched above the keyboard with the "done" button on it to trigger the "focus on nothing" - Kind of like what you see in other Apps.. -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Gerry Orkin Sent: Tuesday, 12 November 2013 11:53 To: How to use LiveCode Cc: use-livecode at lists.runrev.com Subject: Re: iOS Close Keyboard on Native MultiLIne Field Use the line: focus in nothing Gerry > On 12 Nov 2013, at 11:40 am, Nakia Brewer wrote: > > Does anyone have some nice suggestions for the best way to get the iOS Keyboard to close when the user > Is finished editing an iOS Multiline Field? > > > > > > 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 at 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 at 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. From endernafi at gmail.com Tue Nov 12 15:26:50 2013 From: endernafi at gmail.com (Ender Nafi Elekcioglu) Date: Tue, 12 Nov 2013 22:26:50 +0200 Subject: iphoneClearTouches Issue Message-ID: Hi folks, My latest project, which should have been published a week ago, have one last problem to be solved. Rather trying to pinpoint the problem, I?m referring to the collective wisdom because of the tight schedule. Each card is pretty loaded with objects and it takes sometime to be opened. Since the iPad?s enormous screen resolution, this delay becomes noticeable. Here?s the scenario I?ve observed: * User hits ?next card button?. * Since the next card doesn?t open instantaneously, she/he hits the same button a couple of times. * Next card opens, but there is another button at the same location; that one gets the following touch signals. * It goes back to card 1, this time same ?next card button? gets the following touch signal and so on? The user ends up with pages going forth and back; each time she/he hits another button gets things worse only. I?ve put a *iphoneClearTouches* into *preOpenCard* scripts of all cards; it didn?t help. Then, I?ve put the *iphoneClearTouches* command additionally into *closeCard* scripts of all cards; same situation. I added it into the *touchEnd* script, still no luck. What am I doing wrong, here? Thanks? ~ Ender Nafi From terry.judd at unimelb.edu.au Tue Nov 12 16:04:39 2013 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Tue, 12 Nov 2013 21:04:39 +0000 Subject: iphoneClearTouches Issue In-Reply-To: References: Message-ID: A couple of approaches you could try... 1. disable the button on the first touch and then enable it again on closeCard 2. display the modal activity indicator 3. use a send construct to fire the 'next' routine and check the pending messages to see whether the message is already queued, cancelling the 'next' request if it already is. Terry... > On 13 Nov 2013, at 7:27 am, "Ender Nafi Elekcioglu" wrote: > > Hi folks, > > My latest project, which should have been published a week ago, have one last problem to be solved. > Rather trying to pinpoint the problem, I?m referring to the collective wisdom because of the tight schedule. > > Each card is pretty loaded with objects and it takes sometime to be opened. > Since the iPad?s enormous screen resolution, this delay becomes noticeable. > Here?s the scenario I?ve observed: > * User hits ?next card button?. > * Since the next card doesn?t open instantaneously, she/he hits the same button a couple of times. > * Next card opens, but there is another button at the same location; that one gets the following touch signals. > * It goes back to card 1, this time same ?next card button? gets the following touch signal and so on? > > The user ends up with pages going forth and back; each time she/he hits another button gets things worse only. > > > I?ve put a *iphoneClearTouches* into *preOpenCard* scripts of all cards; it didn?t help. > Then, I?ve put the *iphoneClearTouches* command additionally into *closeCard* scripts of all cards; same situation. > I added it into the *touchEnd* script, still no luck. > > > What am I doing wrong, here? > > > Thanks? > > ~ Ender Nafi > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From skip at magicgate.com Tue Nov 12 16:23:03 2013 From: skip at magicgate.com (Magicgate Software - Skip Kimpel) Date: Tue, 12 Nov 2013 16:23:03 -0500 Subject: Script for executable idle timer Message-ID: I have an executable that needs to monitor if it has been sitting idle for an hour. If so, it needs to quit. What is a quick, un-intrusive way of doing this? Maybe even display an answer dialog box to continue the "session" and giving them 10 seconds to respond, after which it would shut the executable down as previously described. Quite a bit of what I finding in the forums seems to be mobile based but no clear cut answers when it comes to standalone executable. Your insight is always appreciated! SKIP From devin_asay at byu.edu Tue Nov 12 16:39:57 2013 From: devin_asay at byu.edu (Devin Asay) Date: Tue, 12 Nov 2013 21:39:57 +0000 Subject: Script for executable idle timer In-Reply-To: References: Message-ID: <432A89A6-D96A-44E6-9EB0-C68F10654D3B@byu.edu> On Nov 12, 2013, at 2:23 PM, Magicgate Software - Skip Kimpel wrote: > I have an executable that needs to monitor if it has been sitting idle for > an hour. If so, it needs to quit. > > What is a quick, un-intrusive way of doing this? Maybe even display an > answer dialog box to continue the "session" and giving them 10 seconds to > respond, after which it would shut the executable down as previously > described. > > Quite a bit of what I finding in the forums seems to be mobile based but no > clear cut answers when it comes to standalone executable. Skip, I have used a front script that with some key message handlers to do this in the past. Usually mouseDown, rawKeyDown, and maybe mouseMove are sufficient. (Make sure to pass them, of course.) The problem with a dialog box is that there is no way to dismiss is in a script as far as I know. But you could easily roll your own notification dialog to get around this. HTH Devin Devin Asay Learn to code with LiveCode University http://university.livecode.com From monte at sweattechnologies.com Tue Nov 12 16:46:28 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed, 13 Nov 2013 08:46:28 +1100 Subject: Array key paths Message-ID: <3945F271-D1DA-47EE-9FFF-C0EE1B79A38F@sweattechnologies.com> I'm doing some work with Trevor on Clarify 2 and I learned something I thought I'd share: Apparently multi-dimensional array keys can be specified using a numerically indexed array as a path. Here's an example: put "hello" into tTest[1][2] put 1,2 into tPath split tPath by comma put tTest[tPath] = "hello" -- true Apparently this was in some release notes from long ago. I can't see anywhere in the dictionary it might be. If anyone knows where it's documented in current docs then I won't send a docs bug about it. Is there a general discussion of arrays anywhere? Cheers -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From ambassador at fourthworld.com Tue Nov 12 17:15:47 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 12 Nov 2013 14:15:47 -0800 Subject: Array key paths In-Reply-To: <3945F271-D1DA-47EE-9FFF-C0EE1B79A38F@sweattechnologies.com> References: <3945F271-D1DA-47EE-9FFF-C0EE1B79A38F@sweattechnologies.com> Message-ID: <5282A893.6050509@fourthworld.com> Monte Goulding wrote: > I'm doing some work with Trevor on Clarify 2 and I learned something > I thought I'd share: > > Apparently multi-dimensional array keys can be specified using a > numerically indexed array as a path. Here's an example: > > put "hello" into tTest[1][2] > put 1,2 into tPath > split tPath by comma > put tTest[tPath] = "hello" -- true > > Apparently this was in some release notes from long ago. I can't see > anywhere in the dictionary it might be. If anyone knows where it's > documented in current docs then I won't send a docs bug about it. Is > there a general discussion of arrays anywhere? The team has been doing a much better job of moving info from the Release Notes into the main docs, but many details from the past, like this gem and some of the critically important new field features, are lost to those who don't keep all the Release Notes for every new build that comes out. It would seem a worthy effort for the team to have someone spend one day going through all release notes back to v2.7 and make sure everything they cover is in the current docs. -- 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 From monte at sweattechnologies.com Tue Nov 12 17:20:04 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed, 13 Nov 2013 09:20:04 +1100 Subject: Array key paths In-Reply-To: <5282A893.6050509@fourthworld.com> References: <3945F271-D1DA-47EE-9FFF-C0EE1B79A38F@sweattechnologies.com> <5282A893.6050509@fourthworld.com> Message-ID: <8571073B-B423-43F9-B620-5D0C37B8648A@sweattechnologies.com> On 13/11/2013, at 9:15 AM, Richard Gaskin wrote: > It would seem a worthy effort for the team to have someone spend one day going through all release notes back to v2.7 and make sure everything they cover is in the current docs. Indeed... however I may just be looking in the wrong spot... I confess I rarely look at any docs other than the dictionary and occasionally the datagrid api so I might not know where to look. I tried to find something like a user manual that might have a general discussion of arrays and I couldn't... at least not in the time I spent ;-) Cheers -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From pete at lcsql.com Tue Nov 12 17:30:19 2013 From: pete at lcsql.com (Peter Haworth) Date: Tue, 12 Nov 2013 14:30:19 -0800 Subject: Array key paths In-Reply-To: <3945F271-D1DA-47EE-9FFF-C0EE1B79A38F@sweattechnologies.com> References: <3945F271-D1DA-47EE-9FFF-C0EE1B79A38F@sweattechnologies.com> Message-ID: Hi Monte, I came across this on the list somewhere quite a while back, don't quite remember who posted it. I've found it really useful so yes, it should be documented. Pete lcSQL Software On Tue, Nov 12, 2013 at 1:46 PM, Monte Goulding wrote: > I'm doing some work with Trevor on Clarify 2 and I learned something I > thought I'd share: > > Apparently multi-dimensional array keys can be specified using a > numerically indexed array as a path. Here's an example: > > put "hello" into tTest[1][2] > put 1,2 into tPath > split tPath by comma > put tTest[tPath] = "hello" -- true > > Apparently this was in some release notes from long ago. I can't see > anywhere in the dictionary it might be. If anyone knows where it's > documented in current docs then I won't send a docs bug about it. Is there > a general discussion of arrays anywhere? > > Cheers > -- > Monte Goulding > > M E R Goulding - software development services > mergExt - There's an external for that! > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From endernafi at gmail.com Tue Nov 12 17:31:14 2013 From: endernafi at gmail.com (Ender Nafi Elekcioglu) Date: Wed, 13 Nov 2013 00:31:14 +0200 Subject: iphoneClearTouches Issue In-Reply-To: References: Message-ID: Hi Terry, Thanks for your suggestions. I tried first two, they didn?t work. The engine takes the touch messages, queue them and release immediately after its current blocking task, which is in my case changing cards. Since the problem is not related with the first button the user touched, disabling - enabling it don?t help. I tried even disabling all the buttons of next possible cards, then re-enabling it after a while with *send ?enableControls? to me in 500 milliseconds? They still get that consequent touches. Modal activity indicator didn?t work, too, because I suspect after *iphoneActivityIndicatorStop* command, the engine again releases the queued touches. I didn?t try the last one ?sending a message and checking the pending messages?, because I don?t know how to cancel a *touch* message. Does LiveCode put the *touch* signals into the pending messages? I don?t think so. If it was, there would be no need for *iphoneClearTouches* command, right? Or am I making a logical mistake, here? ~ Ender Nafi From mwieder at ahsoftware.net Tue Nov 12 17:38:56 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 12 Nov 2013 14:38:56 -0800 Subject: Array key paths In-Reply-To: <3945F271-D1DA-47EE-9FFF-C0EE1B79A38F@sweattechnologies.com> References: <3945F271-D1DA-47EE-9FFF-C0EE1B79A38F@sweattechnologies.com> Message-ID: <109591930680.20131112143856@ahsoftware.net> Monte- Tuesday, November 12, 2013, 1:46:28 PM, you wrote: > Apparently multi-dimensional array keys can be specified using a > numerically indexed array as a path. Here's an example: And the multidimensional array doesn't even have to be numerically indexed - the split command creates a hierarchical index for the hash: put "hello" into tTest["abba"]["zabba"] put "abba,zabba" into tPath split tPath by comma -- tPath is now -- [1] : "abba" -- [2] : "zabba" put tTest[tPath] --> "hello" -- -Mark Wieder ahsoftware at gmail.com From mwieder at ahsoftware.net Tue Nov 12 17:40:30 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 12 Nov 2013 14:40:30 -0800 Subject: Array key paths In-Reply-To: <8571073B-B423-43F9-B620-5D0C37B8648A@sweattechnologies.com> References: <3945F271-D1DA-47EE-9FFF-C0EE1B79A38F@sweattechnologies.com> <5282A893.6050509@fourthworld.com> <8571073B-B423-43F9-B620-5D0C37B8648A@sweattechnologies.com> Message-ID: <11592024368.20131112144030@ahsoftware.net> Monte- Tuesday, November 12, 2013, 2:20:04 PM, you wrote: > I tried to find something like a user manual... LOL. Yes. -- -Mark Wieder ahsoftware at gmail.com From kray at sonsothunder.com Tue Nov 12 17:44:51 2013 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 12 Nov 2013 16:44:51 -0600 Subject: iOS 7 / Xcode 5 and the status bar. In-Reply-To: <00b201cec377$6e4f2c10$4aed8430$@net> References: <007e01cebe41$162135f0$4263a1d0$@net> <1380623960.64071.YahooMailNeo@web28801.mail.ir2.yahoo.com> <013601cebee8$78fab730$6af02590$@net> <014601cebf25$866f4f60$934dee20$@net> <0E015285-16F6-4329-AA2D-21C17FCC663B@gmail.com> <01c401cebf86$46ddb1a0$d49914e0$@net> <4CD122EB-98E1-461F-93F2-FBCCAD702293@verizon.net> <00b201cec377$6e4f2c10$4aed8430$@net> Message-ID: Sorry for coming late to the party, but I can't hide the status bar at all on iOS 7 with XCode 5 and LC 6.1.2? it doesn't respect the flag in the Standalone Settings. Is there some trick to get this to work? Our app is full screen and hid the status bar in iOS6 and earlier, but now it just gets in the way? any ideas? Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From monte at sweattechnologies.com Tue Nov 12 17:45:53 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed, 13 Nov 2013 09:45:53 +1100 Subject: Array key paths In-Reply-To: <109591930680.20131112143856@ahsoftware.net> References: <3945F271-D1DA-47EE-9FFF-C0EE1B79A38F@sweattechnologies.com> <109591930680.20131112143856@ahsoftware.net> Message-ID: On 13/11/2013, at 9:38 AM, Mark Wieder wrote: > And the multidimensional array doesn't even have to be numerically > indexed - the split command creates a hierarchical index for the hash: > > put "hello" into tTest["abba"]["zabba"] > put "abba,zabba" into tPath > split tPath by comma > -- tPath is now > -- [1] : "abba" > -- [2] : "zabba" > put tTest[tPath] --> "hello" Ah.. yeah... I should have made that more clear in my example... it's the path that needs to be numerically indexed. The other thing you can do is mix things up: put "hello" into tTest[1][2]["abba"]["zabba"] put "abba,zabba" into tPath split tPath by comma put 1,2 into tRootPath split tRootPath by comma put tTest[tRootPath][tPath] = "hello" -- true Cheers -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From mwieder at ahsoftware.net Tue Nov 12 17:45:58 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 12 Nov 2013 14:45:58 -0800 Subject: Script for executable idle timer In-Reply-To: <432A89A6-D96A-44E6-9EB0-C68F10654D3B@byu.edu> References: <432A89A6-D96A-44E6-9EB0-C68F10654D3B@byu.edu> Message-ID: <66592352000.20131112144558@ahsoftware.net> Devin- Tuesday, November 12, 2013, 1:39:57 PM, you wrote: > The problem with a dialog box is that there is no way to dismiss > is in a script as far as I know. In the script of the first card of the dialog box: on openCard send "closeMe" to me in 10 seconds end openCard on closeMe close this stack end closeMe -- -Mark Wieder ahsoftware at gmail.com From endernafi at gmail.com Tue Nov 12 17:53:57 2013 From: endernafi at gmail.com (Ender Nafi Elekcioglu) Date: Wed, 13 Nov 2013 00:53:57 +0200 Subject: iphoneClearTouches Issue In-Reply-To: References: Message-ID: Ok, my apologies :) Terry?s advice #2 works. Apparently, *iphoneActivityIndicator* allows touches. I should have used *mobileBusyIndicator* instead. Now, it?s even better. Consequent touches issue is solved, and the user can get a feedback instead of a dull waiting screen. Terry, thanks? ~ Ender Nafi From endernafi at gmail.com Tue Nov 12 18:03:04 2013 From: endernafi at gmail.com (Ender Nafi Elekcioglu) Date: Wed, 13 Nov 2013 01:03:04 +0200 Subject: iOS 7 / Xcode 5 and the status bar. In-Reply-To: References: <007e01cebe41$162135f0$4263a1d0$@net> <1380623960.64071.YahooMailNeo@web28801.mail.ir2.yahoo.com> <013601cebee8$78fab730$6af02590$@net> <014601cebf25$866f4f60$934dee20$@net> <0E015285-16F6-4329-AA2D-21C17FCC663B@gmail.com> <01c401cebf86$46ddb1a0$d49914e0$@net> <4CD122EB-98E1-461F-93F2-FBCCAD702293@verizon.net> <00b201cec377$6e4f2c10$4aed8430$@net> Message-ID: Ken, I can hide and show the status bar via that flag in the standalone settings; just tried now. It works for iPhone and iPad, on the simulator and the actual device. 10.9 Mavericks, Xcode 5.0, LiveCode 6.1.3. Did you try with an empty stack? Another command of your current stack may interfere. Best, ~ Ender Nafi On November 13, 2013 at 0:45:12, Ken Ray (kray at sonsothunder.com) wrote: Sorry for coming late to the party, but I can't hide the status bar at all on iOS 7 with XCode 5 and LC 6.1.2? it doesn't respect the flag in the Standalone Settings. Is there some trick to get this to work? Our app is full screen and hid the status bar in iOS6 and earlier, but now it just gets in the way? any ideas? Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From devin_asay at byu.edu Tue Nov 12 18:05:11 2013 From: devin_asay at byu.edu (Devin Asay) Date: Tue, 12 Nov 2013 23:05:11 +0000 Subject: Script for executable idle timer In-Reply-To: <66592352000.20131112144558@ahsoftware.net> References: <432A89A6-D96A-44E6-9EB0-C68F10654D3B@byu.edu> <66592352000.20131112144558@ahsoftware.net> Message-ID: <7DA65A33-C0DB-425D-9A7E-14E3751345FF@byu.edu> On Nov 12, 2013, at 3:45 PM, Mark Wieder wrote: > Devin- > > Tuesday, November 12, 2013, 1:39:57 PM, you wrote: > >> The problem with a dialog box is that there is no way to dismiss >> is in a script as far as I know. > > In the script of the first card of the dialog box: > > on openCard > send "closeMe" to me in 10 seconds > end openCard > > on closeMe > close this stack > end closeMe So you'd have to modify the ask and answer dialog stacks in the IDE? Devin Devin Asay Learn to code with LiveCode University http://university.livecode.com From revdev at pdslabs.net Tue Nov 12 18:51:45 2013 From: revdev at pdslabs.net (Phil Davis) Date: Tue, 12 Nov 2013 15:51:45 -0800 Subject: Script for executable idle timer In-Reply-To: <7DA65A33-C0DB-425D-9A7E-14E3751345FF@byu.edu> References: <432A89A6-D96A-44E6-9EB0-C68F10654D3B@byu.edu> <66592352000.20131112144558@ahsoftware.net> <7DA65A33-C0DB-425D-9A7E-14E3751345FF@byu.edu> Message-ID: <5282BF11.3000205@pdslabs.net> No need to modify the answer dialog. This works: In a button on my test stack: on mouseUp start using this stack send "updateDialog 9" to fld id 1006 of stack "answer dialog" in 1 second answer "Your world will end in 10 seconds." end mouseUp In the script of my test stack: command updateDialog pTime if pTime = 0 then click at the loc of btn "OK" of stack "answer dialog" else put "Your world will end in" && pTime && "seconds." into the target subtract 1 from pTime send "updateDialog pTime" to the target in 1 second end if end updateDialog Except my world didn't end when the dialog closed. That will require more code. Phil Davis On 11/12/13, 3:05 PM, Devin Asay wrote: > On Nov 12, 2013, at 3:45 PM, Mark Wieder wrote: > >> Devin- >> >> Tuesday, November 12, 2013, 1:39:57 PM, you wrote: >> >>> The problem with a dialog box is that there is no way to dismiss >>> is in a script as far as I know. >> In the script of the first card of the dialog box: >> >> on openCard >> send "closeMe" to me in 10 seconds >> end openCard >> >> on closeMe >> close this stack >> end closeMe > So you'd have to modify the ask and answer dialog stacks in the IDE? > > Devin > > Devin Asay > Learn to code with LiveCode University > http://university.livecode.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Phil Davis From revdev at pdslabs.net Tue Nov 12 19:06:24 2013 From: revdev at pdslabs.net (Phil Davis) Date: Tue, 12 Nov 2013 16:06:24 -0800 Subject: Script for executable idle timer In-Reply-To: <5282BF11.3000205@pdslabs.net> References: <432A89A6-D96A-44E6-9EB0-C68F10654D3B@byu.edu> <66592352000.20131112144558@ahsoftware.net> <7DA65A33-C0DB-425D-9A7E-14E3751345FF@byu.edu> <5282BF11.3000205@pdslabs.net> Message-ID: <5282C280.2010400@pdslabs.net> Improved code (that doesn't die if user clicks "OK" while timer is running). Watch for line wraps: -- Button script: on mouseUp start using this stack send "updateDialog 9" to fld id 1006 of stack "answer dialog" in 1 second answer "Your world will end in 10 seconds." end mouseUp -- Stack script: command updateDialog pTime if "answer dialog" is among the lines of the openStacks then if pTime = 0 then click at the loc of btn "OK" of stack "answer dialog" else put "Your world will end in" && pTime && "seconds." into the target subtract 1 from pTime send "updateDialog pTime" to the target in 1 second end if end if end updateDialog Phil On 11/12/13, 3:51 PM, Phil Davis wrote: > No need to modify the answer dialog. This works: > > In a button on my test stack: > > on mouseUp > start using this stack > send "updateDialog 9" to fld id 1006 of stack "answer dialog" in > 1 second > answer "Your world will end in 10 seconds." > end mouseUp > > > In the script of my test stack: > > command updateDialog pTime > if pTime = 0 then > click at the loc of btn "OK" of stack "answer dialog" > else > put "Your world will end in" && pTime && "seconds." into > the target > subtract 1 from pTime > send "updateDialog pTime" to the target in 1 second > end if > end updateDialog > > > Except my world didn't end when the dialog closed. That will require > more code. > > Phil Davis > > > > On 11/12/13, 3:05 PM, Devin Asay wrote: >> On Nov 12, 2013, at 3:45 PM, Mark Wieder wrote: >> >>> Devin- >>> >>> Tuesday, November 12, 2013, 1:39:57 PM, you wrote: >>> >>>> The problem with a dialog box is that there is no way to dismiss >>>> is in a script as far as I know. >>> In the script of the first card of the dialog box: >>> >>> on openCard >>> send "closeMe" to me in 10 seconds >>> end openCard >>> >>> on closeMe >>> close this stack >>> end closeMe >> So you'd have to modify the ask and answer dialog stacks in the IDE? >> >> Devin >> >> Devin Asay >> Learn to code with LiveCode University >> http://university.livecode.com >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > -- Phil Davis From jhurley0305 at sbcglobal.net Tue Nov 12 19:29:01 2013 From: jhurley0305 at sbcglobal.net (Jim Hurley) Date: Tue, 12 Nov 2013 16:29:01 -0800 Subject: Algorithm for Direction Change upon Collision In-Reply-To: References: Message-ID: <19087050-0EB0-4685-869C-6507964C924B@sbcglobal.net> > > Message: 16 > Date: Tue, 12 Nov 2013 22:11:35 +0200 > From: Ender Nafi Elekcioglu > To: How to use LiveCode > Subject: Re: Algorithm for Direction Change upon Collision > Message-ID: > Content-Type: text/plain; charset="utf-8" > > @Jim, > As I?ve said, you?re equations and physics simulations are excellent. > But performance is my biggest concern over being realistic, > so I?m with Scott here, ?near enough is good enough?. > I guess I didn't understand what you want to achieve. If it was simulating the game of air hockey you really can't avoid doing a realistic collision between pucks. But if it is simply moving a lot of objects around the screen, then maybe the interaction between them would be irrelevant and you would ignore collisions altogether, just collisions with walls. See for example "Kaleidoscope Deluxe" in the User Samples (Rev On Line). Go to the third card (Click box in the lower left hand corner until you arrive at "Bouncing Balls.") And set the velocity to the max. From endernafi at gmail.com Tue Nov 12 19:46:14 2013 From: endernafi at gmail.com (Ender Nafi Elekcioglu) Date: Wed, 13 Nov 2013 02:46:14 +0200 Subject: Algorithm for Direction Change upon Collision In-Reply-To: <19087050-0EB0-4685-869C-6507964C924B@sbcglobal.net> References: <19087050-0EB0-4685-869C-6507964C924B@sbcglobal.net> Message-ID: Jim hi, It will be a sparkle animation. I know that it?s a useless gimmick for a business app, but my customer insists on it. Touching a control should throw a couple of sparkles, little curved elliptic images. Tricky part is if they collide new -but less in amount- sparkles should be generated. After 3 - 4 seconds, the animation will end. Hockey pucks is my initial phase to construct the basic handlers of generating objects and handling collision. Since the objects are too small, I?ve noticed in my tests that swapping the directions on collision is good enough. There is no need to deal with momentum in my case. By the way, I downloaded Kaleidoscope; I?ll study it. Thanks? ~ Ender Nafi On November 13, 2013 at 2:29:29, Jim Hurley (jhurley0305 at sbcglobal.net) wrote: I guess I didn't understand what you want to achieve. If it was simulating the game of air hockey you really can't avoid doing a realistic collision between pucks. But if it is simply moving a lot of objects around the screen, then maybe the interaction between them would be irrelevant and you would ignore collisions altogether, just collisions with walls. See for example "Kaleidoscope Deluxe" in the User Samples (Rev On Line). Go to the third card (Click box in the lower left hand corner until you arrive at "Bouncing Balls.") And set the velocity to the max. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From mwieder at ahsoftware.net Tue Nov 12 19:50:48 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 12 Nov 2013 16:50:48 -0800 Subject: Script for executable idle timer In-Reply-To: <7DA65A33-C0DB-425D-9A7E-14E3751345FF@byu.edu> References: <432A89A6-D96A-44E6-9EB0-C68F10654D3B@byu.edu> <66592352000.20131112144558@ahsoftware.net> <7DA65A33-C0DB-425D-9A7E-14E3751345FF@byu.edu> Message-ID: <37599841890.20131112165048@ahsoftware.net> Devin- Tuesday, November 12, 2013, 3:05:11 PM, you wrote: > So you'd have to modify the ask and answer dialog stacks in the IDE? Ah, OK - you didn't specify that this was with the ask and answer dialogs. -- -Mark Wieder ahsoftware at gmail.com From kray at sonsothunder.com Tue Nov 12 19:59:56 2013 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 12 Nov 2013 18:59:56 -0600 Subject: iOS 7 / Xcode 5 and the status bar. In-Reply-To: References: <007e01cebe41$162135f0$4263a1d0$@net> <1380623960.64071.YahooMailNeo@web28801.mail.ir2.yahoo.com> <013601cebee8$78fab730$6af02590$@net> <014601cebf25$866f4f60$934dee20$@net> <0E015285-16F6-4329-AA2D-21C17FCC663B@gmail.com> <01c401cebf86$46ddb1a0$d49914e0$@net> <4CD122EB-98E1-461F-93F2-FBCCAD702293@verizon.net> <00b201cec377$6e4f2c10$4aed8430$@net> Message-ID: On Nov 12, 2013, at 5:03 PM, Ender Nafi Elekcioglu wrote: > Ken, > > I can hide and show the status bar via that flag in the standalone settings; just tried now. > It works for iPhone and iPad, on the simulator and the actual device. > 10.9 Mavericks, Xcode 5.0, LiveCode 6.1.3. > > Did you try with an empty stack? > Another command of your current stack may interfere. Yes, I have an (almost) empty stack - one field and one button, but it doesn't work for me, no matter what I set the Standalone Settings to, I always get a default translucent status bar on top of my app. My stack is 1024 x 768 and has one field and one button and I have an iPad Mini (the first one) running 7.0.3. I'm building on 10.8.5 and copying it over to the connected iPad using XCode 5.0.1. Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From gerry.orkin at gmail.com Tue Nov 12 20:30:59 2013 From: gerry.orkin at gmail.com (Gerry Orkin) Date: Wed, 13 Nov 2013 12:30:59 +1100 Subject: iphoneClearTouches Issue In-Reply-To: References: Message-ID: <6094B2ED-258D-4A7B-A21F-37D6DB8CBF0E@gmail.com> Ender I've found that mobileBusyIndicatorStart doesn't work if it's immediately followed by a card change (and sometimes with other things). I'm using "wait 1 with messages" after I call it - that brief delay seems to fix the problem. Is it working fine for you? Gerry On 13 Nov 2013, at 9:53 am, Ender Nafi Elekcioglu wrote: > Ok, my apologies :) > Terry?s advice #2 works. From lvhdgc7 at gmail.com Tue Nov 12 20:30:59 2013 From: lvhdgc7 at gmail.com (tbodine) Date: Tue, 12 Nov 2013 17:30:59 -0800 (PST) Subject: What's eating my keystrokes? Message-ID: <1384306258821-4672245.post@n4.nabble.com> Hi all. Well into my first big LiveCode game and need some ideas to find a bug. It's a game that allows both mouse and keyboard interaction. The player can start with the keyboard, but if he then uses the mouse to click certain groups, the card then loses the keyboard focus. Keystrokes are then lost to keydown, escapeKey and functionKey card scripts. The groups being clicked are a combination of fields and graphics. They form a grid that has another group, and that group has the mouseup detection that figures out which graphic has been clicked. My thought is the fields are grabbing the focus, but I don't see this happening -- the cursor remains an arrow over the fields. (The fields are display only.) When I click on other (nonfield) objects on the card, the problem persists. The only way to regain access to the keyboard is to deactive the stack by clicking on another part of the IDE (message box) and then back. Then I can use both keystrokes and clicks without any loss. Any ideas on how to trap the trapper? Is there a command that reveals what object has focus? Thanks! Tom Bodine -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/What-s-eating-my-keystrokes-tp4672245.html Sent from the Revolution - User mailing list archive at Nabble.com. From endernafi at gmail.com Tue Nov 12 20:40:25 2013 From: endernafi at gmail.com (Ender Nafi Elekcioglu) Date: Wed, 13 Nov 2013 03:40:25 +0200 Subject: iphoneClearTouches Issue In-Reply-To: <6094B2ED-258D-4A7B-A21F-37D6DB8CBF0E@gmail.com> References: <6094B2ED-258D-4A7B-A21F-37D6DB8CBF0E@gmail.com> Message-ID: Gerry, you?re right; I would have need that delay. Although, it works fine for me because I happened to put it before *go card*. It?s coincidence, of course; I wasn?t thinking it through :) - - card 1 _on touchEnd __mobileBusyIndicatorStart __// a lot of preparations here __go card 2 - - card 2 _on openCard __send ?prepareCard? to me in 100 milliseconds _on prepareCard __// again, lots of preparations __mobileBusyIndicatorStop Best, ~ Ender Nafi On November 13, 2013 at 3:31:32, Gerry Orkin (gerry.orkin at gmail.com) wrote: Ender I've found that mobileBusyIndicatorStart doesn't work if it's immediately followed by a card change (and sometimes with other things). I'm using "wait 1 with messages" after I call it - that brief delay seems to fix the problem. Is it working fine for you? Gerry On 13 Nov 2013, at 9:53 am, Ender Nafi Elekcioglu wrote: > Ok, my apologies :) > Terry?s advice #2 works. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From dunbarx at aol.com Tue Nov 12 21:03:56 2013 From: dunbarx at aol.com (dunbarx at aol.com) Date: Tue, 12 Nov 2013 21:03:56 -0500 (EST) Subject: What's eating my keystrokes? In-Reply-To: <1384306258821-4672245.post@n4.nabble.com> References: <1384306258821-4672245.post@n4.nabble.com> Message-ID: <8D0AE2BBEB2064C-180C-6D36@webmail-d258.sysops.aol.com> I do not really know what you have going on. But perhaps if you placed a "mouseEnter" handler in the stack script, that perhaps: put the "focusedObject" or maybe focus on the target This might help you track what is going on. Craig Newman -----Original Message----- From: tbodine To: use-revolution Sent: Tue, Nov 12, 2013 8:31 pm Subject: What's eating my keystrokes? Hi all. Well into my first big LiveCode game and need some ideas to find a bug. It's a game that allows both mouse and keyboard interaction. The player can start with the keyboard, but if he then uses the mouse to click certain groups, the card then loses the keyboard focus. Keystrokes are then lost to keydown, escapeKey and functionKey card scripts. The groups being clicked are a combination of fields and graphics. They form a grid that has another group, and that group has the mouseup detection that figures out which graphic has been clicked. My thought is the fields are grabbing the focus, but I don't see this happening -- the cursor remains an arrow over the fields. (The fields are display only.) When I click on other (nonfield) objects on the card, the problem persists. The only way to regain access to the keyboard is to deactive the stack by clicking on another part of the IDE (message box) and then back. Then I can use both keystrokes and clicks without any loss. Any ideas on how to trap the trapper? Is there a command that reveals what object has focus? Thanks! Tom Bodine -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/What-s-eating-my-keystrokes-tp4672245.html Sent from the Revolution - User mailing list archive at Nabble.com. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From lvhdgc7 at gmail.com Tue Nov 12 22:16:26 2013 From: lvhdgc7 at gmail.com (tbodine) Date: Tue, 12 Nov 2013 19:16:26 -0800 (PST) Subject: What's eating my keystrokes? In-Reply-To: <8D0AE2BBEB2064C-180C-6D36@webmail-d258.sysops.aol.com> References: <1384306258821-4672245.post@n4.nabble.com> <8D0AE2BBEB2064C-180C-6D36@webmail-d258.sysops.aol.com> Message-ID: <1384312586471-4672249.post@n4.nabble.com> Thanks. I did not know of the FocusedObject. Great suggestion. It showed the card IS the focusedObject, so apparently fields aren't factors. Thanks, Tom Bodine P.S. I'm using Windows XP, LC 6.1.1 -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/What-s-eating-my-keystrokes-tp4672245p4672249.html Sent from the Revolution - User mailing list archive at Nabble.com. From lvhdgc7 at gmail.com Tue Nov 12 22:22:12 2013 From: lvhdgc7 at gmail.com (tbodine) Date: Tue, 12 Nov 2013 19:22:12 -0800 (PST) Subject: What's eating my keystrokes? In-Reply-To: <1384306258821-4672245.post@n4.nabble.com> References: <1384306258821-4672245.post@n4.nabble.com> Message-ID: <1384312932294-4672250.post@n4.nabble.com> Hi all. I've figured out what, but not why. The specific thing that triggers the bug is a line that opens an answer dialog asking the player to make a selection between two options. When I comment out that line, no bug. I don't know much about LC under the hood. Does anyone have an explanation or theory as to why the standard modal "answer" dialog box would latch on to the keyboard inputs and not let go? Thanks, Tom Bodine -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/What-s-eating-my-keystrokes-tp4672245p4672250.html Sent from the Revolution - User mailing list archive at Nabble.com. From dick.kriesel at mail.com Tue Nov 12 22:45:18 2013 From: dick.kriesel at mail.com (Dick Kriesel) Date: Tue, 12 Nov 2013 19:45:18 -0800 Subject: Array key paths In-Reply-To: <3945F271-D1DA-47EE-9FFF-C0EE1B79A38F@sweattechnologies.com> References: <3945F271-D1DA-47EE-9FFF-C0EE1B79A38F@sweattechnologies.com> Message-ID: <1C446211-649E-4231-AFE2-CCA18FE44CA6@mail.com> On Nov 12, 2013, at 1:46 PM, Monte Goulding wrote: > > Apparently this was in some release notes from long ago. > Begin forwarded message: > From: Dick Kriesel > Subject: Re: Passing parameters by reference > Date: March 12, 2012 at 1:18:47 PM PDT > To: How to use LiveCode > > On Mar 12, 2012, at 10:19 AM, Pete wrote: > >> I'm wondering how you found about about this key values array feature? I >> can't find any mention of it in the dictionary or the reference manual and >> it sure seems like something that should be known! > > I found it while looking through bug reports for arrays, in dated 2008-11-28. So, thanks be to Mark Waddingham and David Bovill for that. > > For convenience, here's Mark's reply to David: > > Thanks for the suggestion. > > This is on the list to include for the next version. In that version with: > put tValue into tArray[tKey] > (indeed anywhere you can currently do tArray[tKey]) > > The meaning of 'tKey' will be extended: > 1) If it is a string then it is as it is now > 2) If it is a numerically keyed array starting at 1, then it will mean: > put tValue into tArray[tKey[1]][tKey[2]]...[tKey[n]] > where is the number of elements in tKey > 3) Otherwise it is an error. > > This will allow you to construct an array containing the path to the key you > want to modify/fetch/delete dynamically. > > I agree, the feature's worth adding into the dictionary and manual. > > -- Dick From lists at mangomultimedia.com Tue Nov 12 23:21:02 2013 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 12 Nov 2013 23:21:02 -0500 Subject: Code Signing In-Reply-To: <4AF73946-1B34-4A4F-800C-23D0A783C19C@me.com> References: <1383758794944-4671948.post@n4.nabble.com> <1383825338931-4671994.post@n4.nabble.com> <527C0606.6080200@hyperactivesw.com> <8A550193-EE3D-40AC-8B04-0681ED454778@buffalo.edu> <4AF73946-1B34-4A4F-800C-23D0A783C19C@me.com> Message-ID: On Tue, Nov 12, 2013 at 3:05 PM, Andrew Henshaw wrote: > For Mavericks just add --deep to the start of the code signing line > Trevor, that signs everything in the package so it works with the > gatekeeper. > > codesign --deep -f -s "Developer ID Application: Your Company Ltd" > ./YourApp* Have you read this blog post which discusses issues with using the --deep flag? http://furbo.org/2013/10/17/code-signing-and-mavericks/ -- Trevor DeVore Blue Mango Learning Systems www.screensteps.com - www.clarify-it.com From gerry.orkin at gmail.com Tue Nov 12 23:28:21 2013 From: gerry.orkin at gmail.com (Gerry Orkin) Date: Wed, 13 Nov 2013 15:28:21 +1100 Subject: iOS Close Keyboard on Native MultiLIne Field In-Reply-To: <67116DB20798A94285EEE12A67079A2832629486@MHSEXC02.westrac.com.au> References: <67116DB20798A94285EEE12A67079A2832627DB8@MHSEXC02.westrac.com.au> <67116DB20798A94285EEE12A67079A2832629486@MHSEXC02.westrac.com.au> Message-ID: <13E6CA7E-C292-4647-91F1-F9F2F1621B22@gmail.com> Nakia, for that you probably have to roll your own. I can't say I've noticed controls to hide keyboards in iOS apps :) Gerry > On 13 Nov 2013, at 7:25 am, Nakia Brewer wrote: > > Thanks, I was probably asking more about a control that launched above the keyboard with the "done" button on it to trigger the "focus on nothing" - Kind of like what you see in other Apps.. > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Gerry Orkin > Sent: Tuesday, 12 November 2013 11:53 > To: How to use LiveCode > Cc: use-livecode at lists.runrev.com > Subject: Re: iOS Close Keyboard on Native MultiLIne Field > > Use the line: > > focus in nothing > > Gerry > >> On 12 Nov 2013, at 11:40 am, Nakia Brewer wrote: >> >> Does anyone have some nice suggestions for the best way to get the iOS Keyboard to close when the user >> Is finished editing an iOS Multiline Field? >> >> >> >> >> >> 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 at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From Nakia.Brewer at westrac.com.au Tue Nov 12 23:31:19 2013 From: Nakia.Brewer at westrac.com.au (Nakia Brewer) Date: Wed, 13 Nov 2013 04:31:19 +0000 Subject: iOS Close Keyboard on Native MultiLIne Field In-Reply-To: <13E6CA7E-C292-4647-91F1-F9F2F1621B22@gmail.com> References: <67116DB20798A94285EEE12A67079A2832627DB8@MHSEXC02.westrac.com.au> <67116DB20798A94285EEE12A67079A2832629486@MHSEXC02.westrac.com.au> <13E6CA7E-C292-4647-91F1-F9F2F1621B22@gmail.com> Message-ID: <67116DB20798A94285EEE12A67079A2832629DFD@MHSEXC02.westrac.com.au> Hi Gerry, It's not labelled to show hide the keyboard but typically shows a "Done" button. Happy to share a few screen shots to show you what I mean... -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Gerry Orkin Sent: Wednesday, 13 November 2013 15:28 To: How to use LiveCode Subject: Re: iOS Close Keyboard on Native MultiLIne Field Nakia, for that you probably have to roll your own. I can't say I've noticed controls to hide keyboards in iOS apps :) Gerry > On 13 Nov 2013, at 7:25 am, Nakia Brewer wrote: > > Thanks, I was probably asking more about a control that launched above the keyboard with the "done" button on it to trigger the "focus on nothing" - Kind of like what you see in other Apps.. > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Gerry Orkin > Sent: Tuesday, 12 November 2013 11:53 > To: How to use LiveCode > Cc: use-livecode at lists.runrev.com > Subject: Re: iOS Close Keyboard on Native MultiLIne Field > > Use the line: > > focus in nothing > > Gerry > >> On 12 Nov 2013, at 11:40 am, Nakia Brewer wrote: >> >> Does anyone have some nice suggestions for the best way to get the iOS Keyboard to close when the user >> Is finished editing an iOS Multiline Field? >> >> >> >> >> >> 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 at 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 at 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 at 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 at 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. From gerry.orkin at gmail.com Wed Nov 13 00:07:24 2013 From: gerry.orkin at gmail.com (Gerry Orkin) Date: Wed, 13 Nov 2013 16:07:24 +1100 Subject: iOS Close Keyboard on Native MultiLIne Field In-Reply-To: <67116DB20798A94285EEE12A67079A2832629DFD@MHSEXC02.westrac.com.au> References: <67116DB20798A94285EEE12A67079A2832627DB8@MHSEXC02.westrac.com.au> <67116DB20798A94285EEE12A67079A2832629486@MHSEXC02.westrac.com.au> <13E6CA7E-C292-4647-91F1-F9F2F1621B22@gmail.com> <67116DB20798A94285EEE12A67079A2832629DFD@MHSEXC02.westrac.com.au> Message-ID: <5FC43D38-7FC5-4E0E-9810-190AE4AE7FA1@gmail.com> Nakia Oh I believe you...I've just not noticed it. It's not a feature of the keyboard you can invoke in LiveCode as far as I know. You'll have to show and hide your own control. Shouldn't be too much work. And hey look, another Australian! Cheers Gerry On 13 Nov 2013, at 3:31 pm, Nakia Brewer wrote: > It's not labelled to show hide the keyboard but typically shows a "Done" button. > Happy to share a few screen shots to show you what I mean... From monte at sweattechnologies.com Wed Nov 13 02:11:00 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed, 13 Nov 2013 18:11:00 +1100 Subject: has anyone invented a back button for the script editor? In-Reply-To: <179530578861.20131111213625@ahsoftware.net> References: <179530578861.20131111213625@ahsoftware.net> Message-ID: <3BF55C68-4542-4D27-B886-1C788E544EAC@sweattechnologies.com> On 12/11/2013, at 4:36 PM, Mark Wieder wrote: >> I find myself wanting a back button to return to the previous >> selection half a dozen times a day... has anyone made a plugin to do >> this? > > glx2 has multi-level backtracking, and I suppose you could extract the > code and create a plugin, but you'd have to figure out what the UI > should look like. Ah... OK > >> Also has anyone made a plugin to do the reverse of go to >> definition... present a list of scripts that use that function or >> command? > > I just use the "more" button in the find command and search the stack > files. I use that too... would be nice to have a contextual menu though... -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From monte at sweattechnologies.com Wed Nov 13 02:13:22 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed, 13 Nov 2013 18:13:22 +1100 Subject: has anyone invented a back button for the script editor? In-Reply-To: References: Message-ID: <8B7A33AC-6A79-467F-8C96-DBADF978DD37@sweattechnologies.com> On 12/11/2013, at 7:18 PM, Matthias Rebbe wrote: > I am using > http://livecodeshare.runrev.com/stack/669/Kochi-Mini-SVN-Installer > which helps me a lot. > > It is not a "back" button, but it can save snapshots of the script and can restore each snapshot if needed. After installation you have additional buttons in the script editor which let you do the save/restore. I wasn't talking about undo. Just jumping back to where I was... -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From neil at runrev.com Wed Nov 13 03:28:15 2013 From: neil at runrev.com (Neil Roger) Date: Wed, 13 Nov 2013 08:28:15 +0000 Subject: iOS 7 / Xcode 5 and the status bar. In-Reply-To: References: <007e01cebe41$162135f0$4263a1d0$@net> <1380623960.64071.YahooMailNeo@web28801.mail.ir2.yahoo.com> <013601cebee8$78fab730$6af02590$@net> <014601cebf25$866f4f60$934dee20$@net> <0E015285-16F6-4329-AA2D-21C17FCC663B@gmail.com> <01c401cebf86$46ddb1a0$d49914e0$@net> <4CD122EB-98E1-461F-93F2-FBCCAD702293@verizon.net> <00b201cec377$6e4f2c10$4aed8430$@net> Message-ID: <5283381F.2090409@runrev.com> Dear Ken et al. This bug seems to relate to deployment on the iPad mini and we are currently trying to track down what is causing the issue. When we make any further developments, they will be announce via your bug report here - http://quality.runrev.com/show_bug.cgi?id=11305 Kind Regards, Neil Roger -- RunRev Support Team ~ http://www.runrev.com LiveCode ? Realize fast, compile-free coding -- On 13/11/2013 00:59, Ken Ray wrote: > On Nov 12, 2013, at 5:03 PM, Ender Nafi Elekcioglu wrote: > >> Ken, >> >> I can hide and show the status bar via that flag in the standalone settings; just tried now. >> It works for iPhone and iPad, on the simulator and the actual device. >> 10.9 Mavericks, Xcode 5.0, LiveCode 6.1.3. >> >> Did you try with an empty stack? >> Another command of your current stack may interfere. > Yes, I have an (almost) empty stack - one field and one button, but it doesn't work for me, no matter what I set the Standalone Settings to, I always get a default translucent status bar on top of my app. My stack is 1024 x 768 and has one field and one button and I have an iPad Mini (the first one) running 7.0.3. I'm building on 10.8.5 and copying it over to the connected iPad using XCode 5.0.1. > > > Ken Ray > Sons of Thunder Software, Inc. > Email: kray at sonsothunder.com > Web Site: http://www.sonsothunder.com/ > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From henshaw at me.com Wed Nov 13 07:48:44 2013 From: henshaw at me.com (Andrew Henshaw) Date: Wed, 13 Nov 2013 12:48:44 +0000 Subject: Code Signing In-Reply-To: References: <1383758794944-4671948.post@n4.nabble.com> <1383825338931-4671994.post@n4.nabble.com> <527C0606.6080200@hyperactivesw.com> <8A550193-EE3D-40AC-8B04-0681ED454778@buffalo.edu> <4AF73946-1B34-4A4F-800C-23D0A783C19C@me.com> Message-ID: <0C772D79-8E92-480A-AF1A-FC3E805CE56A@me.com> No, I hadn't read that, great (not!) However, after using the tools in the blog to check my apps, they are all accepted by the gatekeeper and were signed using --deep so perhaps Mavericks has been stepped back a level and will accept this method for non sandboxed apps (for now). Thanks for letting us know anyway, hopefully appwrapper will be back up and running with all the correct implementations soon! Andy On 13 Nov 2013, at 04:21, Trevor DeVore wrote: > On Tue, Nov 12, 2013 at 3:05 PM, Andrew Henshaw wrote: > >> For Mavericks just add --deep to the start of the code signing line >> Trevor, that signs everything in the package so it works with the >> gatekeeper. >> >> codesign --deep -f -s "Developer ID Application: Your Company Ltd" >> ./YourApp* > > > Have you read this blog post which discusses issues with using the --deep > flag? > > http://furbo.org/2013/10/17/code-signing-and-mavericks/ > > -- > Trevor DeVore > Blue Mango Learning Systems > www.screensteps.com - www.clarify-it.com > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From toolbook at kestner.de Wed Nov 13 08:28:49 2013 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Wed, 13 Nov 2013 14:28:49 +0100 Subject: AW: Code Signing In-Reply-To: <0C772D79-8E92-480A-AF1A-FC3E805CE56A@me.com> References: <1383758794944-4671948.post@n4.nabble.com> <1383825338931-4671994.post@n4.nabble.com> <527C0606.6080200@hyperactivesw.com> <8A550193-EE3D-40AC-8B04-0681ED454778@buffalo.edu> <4AF73946-1B34-4A4F-800C-23D0A783C19C@me.com> <0C772D79-8E92-480A-AF1A-FC3E805CE56A@me.com> Message-ID: <004b01cee074$4a12fe70$de38fb50$@de> Good to know, thanks for the --deep info Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag > von Andrew Henshaw > Gesendet: Mittwoch, 13. November 2013 13:49 > An: How to use LiveCode > Betreff: Re: Code Signing > > No, I hadn't read that, great (not!) > > However, after using the tools in the blog to check my apps, they are all > accepted by the gatekeeper and were signed using --deep so perhaps > Mavericks has been stepped back a level and will accept this method for non > sandboxed apps (for now). > > Thanks for letting us know anyway, hopefully appwrapper will be back up > and running with all the correct implementations soon! > > Andy > > > On 13 Nov 2013, at 04:21, Trevor DeVore wrote: > > > On Tue, Nov 12, 2013 at 3:05 PM, Andrew Henshaw wrote: > > > >> For Mavericks just add --deep to the start of the code signing line > >> Trevor, that signs everything in the package so it works with the > >> gatekeeper. > >> > >> codesign --deep -f -s "Developer ID Application: Your Company Ltd" > >> ./YourApp* > > > > > > Have you read this blog post which discusses issues with using the > > --deep flag? > > > > http://furbo.org/2013/10/17/code-signing-and-mavericks/ > > > > -- > > Trevor DeVore > > Blue Mango Learning Systems > > www.screensteps.com - www.clarify-it.com > > _______________________________________________ > > use-livecode mailing list > > use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From lists at mangomultimedia.com Wed Nov 13 08:47:43 2013 From: lists at mangomultimedia.com (Trevor DeVore) Date: Wed, 13 Nov 2013 08:47:43 -0500 Subject: Code Signing In-Reply-To: <0C772D79-8E92-480A-AF1A-FC3E805CE56A@me.com> References: <1383758794944-4671948.post@n4.nabble.com> <1383825338931-4671994.post@n4.nabble.com> <527C0606.6080200@hyperactivesw.com> <8A550193-EE3D-40AC-8B04-0681ED454778@buffalo.edu> <4AF73946-1B34-4A4F-800C-23D0A783C19C@me.com> <0C772D79-8E92-480A-AF1A-FC3E805CE56A@me.com> Message-ID: On Wed, Nov 13, 2013 at 7:48 AM, Andrew Henshaw wrote: > No, I hadn't read that, great (not!) > > However, after using the tools in the blog to check my apps, they are > all accepted by the gatekeeper and were signed using --deep so perhaps > Mavericks has been stepped back a level and will accept this method for non > sandboxed apps (for now). > It may be that the issue only presents itself if you use entitlements (sandboxing). --deep applies the same entitlements to all bundles in your application bundle which would break things. -- Trevor DeVore Blue Mango Learning Systems www.screensteps.com - www.clarify-it.com From gregory.lypny at videotron.ca Wed Nov 13 08:56:10 2013 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Wed, 13 Nov 2013 08:56:10 -0500 Subject: Need Help Getting LiveCode Server to Write to a File Message-ID: Hello everyone, I have LiveCode Server working on my Mac. I have a test page that works fine by displaying the date and time in Safari, but I cannot get the script to create and write to a file. When I insert the following line in the script I get an error output to Safari. put the long time into url ?file://HardDrive/Library/WebServer/share/httpd/myData/testFile.txt? The error message I get is file "/Library/WebServer/Documents/myServerTest.lc" row 19, col 28: script: not a command (://) So, I figured I must be using the wrong syntax for the file path. I tried different combinations of slashes and colons to no avail. When I change the data to be written from the long time to ?Hello world.? I get the following file "/Library/WebServer/Documents/myServerTest.lc" row 19, col 14: Expression: bad factor row 19, col 14: param: bad expression row 19, col 14: Commands: bad parameter row 19, col 14: Commands: bad parameters row 19, col 14: script: bad command where column 14 is the position of the letter r in the word world. What am I doing wrong? I set read and write permissions (in the Info window) for the share folder, the httpd folder, and the myData folder. Any advice and perhaps an example would be much appreciated. Gregory From skip at magicgate.com Wed Nov 13 09:08:18 2013 From: skip at magicgate.com (Magicgate Software - Skip Kimpel) Date: Wed, 13 Nov 2013 09:08:18 -0500 Subject: Script for executable idle timer In-Reply-To: <37599841890.20131112165048@ahsoftware.net> References: <432A89A6-D96A-44E6-9EB0-C68F10654D3B@byu.edu> <66592352000.20131112144558@ahsoftware.net> <7DA65A33-C0DB-425D-9A7E-14E3751345FF@byu.edu> <37599841890.20131112165048@ahsoftware.net> Message-ID: Thanks everybody for your input on this. I guess I was looking for something a little less interactive from the user. It is an application that is part of the user's work flow all day long. If I need to update the application, I have found that certain users do not close the application down and it runs through the night. If I have to perform maintenance on it and replace the executable, I am unable to because it is open by a user. So ideally, if that application had not been "touched" for over an hour, I would like it to quit on it's own. Thanks again! On Tue, Nov 12, 2013 at 7:50 PM, Mark Wieder wrote: > Devin- > > Tuesday, November 12, 2013, 3:05:11 PM, you wrote: > > > So you'd have to modify the ask and answer dialog stacks in the IDE? > > Ah, OK - you didn't specify that this was with the ask and answer > dialogs. > > -- > -Mark Wieder > ahsoftware at gmail.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From revolution at derbrill.de Wed Nov 13 09:27:55 2013 From: revolution at derbrill.de (Malte Brill) Date: Wed, 13 Nov 2013 15:27:55 +0100 Subject: [OT] SQL question In-Reply-To: References: Message-ID: Peter wrote: > It seems Malte is having two problems - how to conditionally update a > column value and how to ensure everything stays locked during the update. That was exactly the problem. One value needs to be incremented by one for the INSERT. The problem is the condition that the first value may or may not be 1, depending on an entry in another table. I got a solution now, but thanks again for putting thought into this @all! All the best, Malte From mikedoub at gmail.com Wed Nov 13 10:43:30 2013 From: mikedoub at gmail.com (Michael Doub) Date: Wed, 13 Nov 2013 10:43:30 -0500 Subject: Livecode Server on a Mac running OSX 10.9 Message-ID: <1657A5AB-DEA1-4E03-858F-F422995995B9@gmail.com> I am trying to get the live code-community-server running on my Mac, but I am getting the following error: Forbidden You don't have permission to access /livecode-cgi/livecode-community-server/~mike/test.lc on this server. Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request. The following in the content of the /etc/apache2/users/mike.conf file that I created from the installing server instructions. I suspect they are outdated since Apple removed the web sharing, but the server was still in place. Options Indexes MultiViews AllowOverride None Order allow,deny Allow from all AddHandler livecode-script .lc Action livecode-script /livecode-cgi/livecode-community-server Options ExecCGI Order allow,deny Allow from all ScriptAlias /livecode-cgi/livecode-community-server /Applications/liveCodeServer/livecode-community-server I would appreciate any assistance in getting me up and running. Thanks Mike From kray at sonsothunder.com Wed Nov 13 10:44:39 2013 From: kray at sonsothunder.com (Ken Ray) Date: Wed, 13 Nov 2013 09:44:39 -0600 Subject: iOS 7 / Xcode 5 and the status bar. In-Reply-To: <5283381F.2090409@runrev.com> References: <007e01cebe41$162135f0$4263a1d0$@net> <1380623960.64071.YahooMailNeo@web28801.mail.ir2.yahoo.com> <013601cebee8$78fab730$6af02590$@net> <014601cebf25$866f4f60$934dee20$@net> <0E015285-16F6-4329-AA2D-21C17FCC663B@gmail.com> <01c401cebf86$46ddb1a0$d49914e0$@net> <4CD122EB-98E1-461F-93F2-FBCCAD702293@verizon.net> <00b201cec377$6e4f2c10$4aed8430$@net> <5283381F.2090409@runrev.com> Message-ID: <51BB25C6-6890-4263-AC45-A79765372206@sonsothunder.com> On Nov 13, 2013, at 2:28 AM, Neil Roger wrote: > This bug seems to relate to deployment on the iPad mini and we are currently trying to track down what is causing the issue. Thanks, Neil! I'll watch that report... Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From dochawk at gmail.com Wed Nov 13 10:47:38 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Wed, 13 Nov 2013 07:47:38 -0800 Subject: Script for executable idle timer In-Reply-To: References: <432A89A6-D96A-44E6-9EB0-C68F10654D3B@byu.edu> <66592352000.20131112144558@ahsoftware.net> <7DA65A33-C0DB-425D-9A7E-14E3751345FF@byu.edu> <37599841890.20131112165048@ahsoftware.net> Message-ID: On Wed, Nov 13, 2013 at 6:08 AM, Magicgate Software - Skip Kimpel < skip at magicgate.com> wrote: > > So ideally, if that application had not been "touched" for over an hour, I > would like it to quit on it's own. > log when keys are pressed: on keyUp global lastAct time set the lastActTime to the seconds pass keyUp end keyUp on checkIdle global lastActTime if the seconds > lastActTime + 3600 then close this stack --or whatever, last chance dialog, etc. end if send checkIdle to me in 30 minutes end checkIdle and in openStack, have a send checkIdle to me in 30 minutes -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From mwieder at ahsoftware.net Wed Nov 13 10:50:51 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 13 Nov 2013 07:50:51 -0800 Subject: has anyone invented a back button for the script editor? In-Reply-To: <8B7A33AC-6A79-467F-8C96-DBADF978DD37@sweattechnologies.com> References: <8B7A33AC-6A79-467F-8C96-DBADF978DD37@sweattechnologies.com> Message-ID: <57653845675.20131113075051@ahsoftware.net> Monte- Tuesday, November 12, 2013, 11:13:22 PM, you wrote: > I wasn't talking about undo. Just jumping back to where I was... If you just need to keep track of a single point, put something like the following into a frontscript and trigger it with the key combo of your choice: -- save the current cursor position: put the current line number into tLine -- return from whence ye came: dispatch "goLine" to group "Editor" of stack "revNewScriptEditor 1" \ with tLine This will work with the current built-in editor until it changes. -- -Mark Wieder ahsoftware at gmail.com From mwieder at ahsoftware.net Wed Nov 13 11:04:40 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 13 Nov 2013 08:04:40 -0800 Subject: Script for executable idle timer In-Reply-To: References: <432A89A6-D96A-44E6-9EB0-C68F10654D3B@byu.edu> <66592352000.20131112144558@ahsoftware.net> <7DA65A33-C0DB-425D-9A7E-14E3751345FF@byu.edu> <37599841890.20131112165048@ahsoftware.net> Message-ID: <45654674237.20131113080440@ahsoftware.net> Skip- > on checkIdle > global lastActTime > if the seconds > lastActTime + 3600 then > close this stack --or whatever, last chance dialog, etc. > end if > send checkIdle to me in 30 minutes > end checkIdle ...and *don't* use a modal dialog for the "last chance" approach. Put another timeer in that dialog if necessary and then close or revert or whatever. -- -Mark Wieder ahsoftware at gmail.com From dunbarx at aol.com Wed Nov 13 11:16:26 2013 From: dunbarx at aol.com (dunbarx at aol.com) Date: Wed, 13 Nov 2013 11:16:26 -0500 (EST) Subject: Script for executable idle timer In-Reply-To: References: <432A89A6-D96A-44E6-9EB0-C68F10654D3B@byu.edu> <66592352000.20131112144558@ahsoftware.net> <7DA65A33-C0DB-425D-9A7E-14E3751345FF@byu.edu> <37599841890.20131112165048@ahsoftware.net> Message-ID: <8D0AEA2D637C2D2-4B4-9D67@webmail-vm027.sysops.aol.com> I had thought that something like the following was what Devin meant early on. I am not sure where all the dialog and other stuff got into the act. In a button somewhere: on mouseUp set the noAction of this stack to "true" checkForInaction end mouseUp And in the stack script: on checkForInaction var if the noAction of this stack = "true" then put random(999) set the noAction of this stack to "true" send "checkForInaction" to me in 5 seconds end checkForInaction on selectionChanged set the noAction of this stack to "false" end selectionChanged on mouseUp set the noAction of this stack to "false" end mouseUp on mouseMove set the noAction of this stack to "false" end mouseMove Craig Newman -----Original Message----- From: Magicgate Software - Skip Kimpel To: How to use LiveCode Sent: Wed, Nov 13, 2013 9:08 am Subject: Re: Script for executable idle timer Thanks everybody for your input on this. I guess I was looking for something a little less interactive from the user. It is an application that is part of the user's work flow all day long. If I need to update the application, I have found that certain users do not close the application down and it runs through the night. If I have to perform maintenance on it and replace the executable, I am unable to because it is open by a user. So ideally, if that application had not been "touched" for over an hour, I would like it to quit on it's own. Thanks again! On Tue, Nov 12, 2013 at 7:50 PM, Mark Wieder wrote: > Devin- > > Tuesday, November 12, 2013, 3:05:11 PM, you wrote: > > > So you'd have to modify the ask and answer dialog stacks in the IDE? > > Ah, OK - you didn't specify that this was with the ask and answer > dialogs. > > -- > -Mark Wieder > ahsoftware at gmail.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From devin_asay at byu.edu Wed Nov 13 11:40:05 2013 From: devin_asay at byu.edu (Devin Asay) Date: Wed, 13 Nov 2013 16:40:05 +0000 Subject: Need Help Getting LiveCode Server to Write to a File In-Reply-To: References: Message-ID: <32E1FE48-9A54-47C0-A18C-5BCA3AF63207@byu.edu> On Nov 13, 2013, at 6:56 AM, Gregory Lypny wrote: > Hello everyone, > > I have LiveCode Server working on my Mac. I have a test page that works fine by displaying the date and time in Safari, but I cannot get the script to create and write to a file. When I insert the following line in the script I get an error output to Safari. > > put the long time into url ?file://HardDrive/Library/WebServer/share/httpd/myData/testFile.txt? > > The error message I get is > > file "/Library/WebServer/Documents/myServerTest.lc" > row 19, col 28: script: not a command (://) > > So, I figured I must be using the wrong syntax for the file path. I tried different combinations of slashes and colons to no avail. > > When I change the data to be written from the long time to ?Hello world.? I get the following > > file "/Library/WebServer/Documents/myServerTest.lc" > row 19, col 14: Expression: bad factor > row 19, col 14: param: bad expression > row 19, col 14: Commands: bad parameter > row 19, col 14: Commands: bad parameters > row 19, col 14: script: bad command > > where column 14 is the position of the letter r in the word world. What am I doing wrong? I set read and write permissions (in the Info window) for the share folder, the httpd folder, and the myData folder. > > Any advice and perhaps an example would be much appreciated. Gregory, I don't think LC Server scripts are "aware" of the full file system on your HD, only the web root and child directories to it. (Someone will correct me if I'm wrong about this, I'm sure. :) ) Try writing to a folder/file relative to the defaultFolder of the LC script file. put "foo" into url "file:my folder/myFile.txt" As an aside, I'm assuming that the "curly quotes" in your message were added by you email client, and weren't there in your script? Devin Devin Asay Learn to code with LiveCode University http://university.livecode.com From lvhdgc7 at gmail.com Wed Nov 13 12:36:40 2013 From: lvhdgc7 at gmail.com (tbodine) Date: Wed, 13 Nov 2013 09:36:40 -0800 (PST) Subject: What's eating my keystrokes? In-Reply-To: <1384306258821-4672245.post@n4.nabble.com> References: <1384306258821-4672245.post@n4.nabble.com> Message-ID: <1384364200207-4672273.post@n4.nabble.com> Solved: doing nothing was literally the solution. By adding "focus on nothing" after the answer command, normal keystroke detection is restored to the card. -- Tom Bodine -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/What-s-eating-my-keystrokes-tp4672245p4672273.html Sent from the Revolution - User mailing list archive at Nabble.com. From richmondmathewson at gmail.com Wed Nov 13 12:39:13 2013 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 13 Nov 2013 19:39:13 +0200 Subject: What's eating my keystrokes? In-Reply-To: <1384364200207-4672273.post@n4.nabble.com> References: <1384306258821-4672245.post@n4.nabble.com> <1384364200207-4672273.post@n4.nabble.com> Message-ID: <5283B941.7030501@gmail.com> On 13.11.2013 19:36, tbodine wrote: > Solved: doing nothing was literally the solution. > > By adding "focus on nothing" after the answer command, normal keystroke > detection is restored to the card. > > -- Tom Bodine > > > Wow: if most of the kids I teach were Livecode programmers they would be screaming geniuses as "focus on nothing" is their default state. LOL. Richmond. From wilhelm.forchheim at freenet.de Wed Nov 13 12:46:22 2013 From: wilhelm.forchheim at freenet.de (Ruediger Wilhelm) Date: Wed, 13 Nov 2013 18:46:22 +0100 Subject: How to get rid of a front script Message-ID: <000301cee098$44f9de80$ceed9b80$@forchheim@freenet.de> This again is the beginner's hope for help. For test purposes I created my first front script. I put the following script Into the button "btTest": on enterKey answer "You came via the front script" with OK go to card "myCard2" end enterKey In a field on the same card I put the following: on returnInField --some code her set the disabled of button "btLogin" to false insert script of button "btTest" into front focus on button "btLogin" end returnInField Later I learned about the property "default" of buttons, which does what I tried to reach with the above front script. So I deleted the button "btTest" and the insert script ... in the field. But this did not destroy the function of the front script. I closed and removed the stack from memory; I restarted LiveCode (6.1.2 commercial); I restarted the PC (Windows Vista). Is there a way to see the effective frontscripts of a stack? Thanks in advance for any hints. Ruediger From lfredricks at proactive-intl.com Wed Nov 13 12:49:56 2013 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Wed, 13 Nov 2013 09:49:56 -0800 Subject: Plugging LiveCode on MacWorld Article on Games Message-ID: http://www.macworld.com/article/2051345/sprite-kit-glkit-and-scene-kit-how-a pple-is-shaping-game-development.html Chikako mentioned LiveCode in the comments here - pitch in if you can. Best regards, Lynn Fredricks President Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server From kee at kagi.com Wed Nov 13 12:58:39 2013 From: kee at kagi.com (kee nethery) Date: Wed, 13 Nov 2013 09:58:39 -0800 Subject: Livecode Server on a Mac running OSX 10.9 In-Reply-To: <1657A5AB-DEA1-4E03-858F-F422995995B9@gmail.com> References: <1657A5AB-DEA1-4E03-858F-F422995995B9@gmail.com> Message-ID: I struggled with this for quite some time also. Remove the Server OS X from Apple that you can download from the AppStore and grab a copy of MAMP. It?s free, download it. MAMP goes into your applications folder. in the cgi-bin folder (inside the MAMP folder in Applications) create a folder named ?livecode-cgi? inside that folder put the contents of the livecode community server. MAMP cgi-bin livecode-cgi drivers externals livecode-community-server in htdocs put your test.lc script, the Hello World thing. Something brain dead simple for testing MAMP htdocs test.lc in the httpd.conf file MAMP conf apache httpd.conf do the following. replace the section of commands that starts and ends with ? add in the ScriptAlias command and add in another command for in my httpd file it looks like this: ************ below here is what I swapped in *********** # # Possible values for the Options directive are "None", "All", # or any combination of: # Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews # # Note that "MultiViews" must be named *explicitly* --- "Options All" # doesn't give it to you. # # The Options directive is both complicated and important. Please see # http://httpd.apache.org/docs/2.2/mod/core.html#options # for more information. # #Options All ### kee 2013-11-11 replaced with next line: Options Indexes Multiviews # # AllowOverride controls what directives may be placed in .htaccess files. # It can be "All", "None", or any combination of the keywords: # Options FileInfo AuthConfig Limit # #AllowOverride All ### kee 2013-11-11 replaced with next line: AllowOverride None # # Controls who can get stuff from this server. # Order allow,deny Allow from all ### kee 2013-11-11 added the following: AddHandler livecode-script .lc Action livecode-script /livecode-cgi/livecode-community-server ### kee 2013-11-11 added the above ### kee 2013-11-11 added because it is needed ScriptAlias /livecode-cgi/livecode-community-server /Applications/MAMP/cgi-bin/livecode-cgi/livecode-community-server ### kee 2013-11-11 added the following: Options ExecCGI Order allow,deny Allow from all ### kee 2013-11-11 added the above *************** above here is what I swapped in *********** Then because I have no clue what I?m doing, for all the files I added into the MAMP folder, in terminal I would paste chmod a+x and then drag the file or folder to the terminal so it would enter the correct path for it, and press enter to make sure permissions were set correctly. rinse and repeat for every file and folder you?ve added to the MAMP installation (some apache Unix guru can probably correct this and point out exactly which files do and don?t need the permissions change but this worked for me). The URL to hit it was http://localhost:8888/test.lc and it worked great. Seriously the Apple Server OS X bundle of stuff was just so convoluted. MAMP is pared down to the essentials and it is just a web server and everything is in the MAMP folder. Good luck, Kee Nethery On Nov 13, 2013, at 7:43 AM, Michael Doub wrote: > I am trying to get the live code-community-server running on my Mac, but I am getting the following error: > > Forbidden > > You don't have permission to access /livecode-cgi/livecode-community-server/~mike/test.lc on this server. > > Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request. > > > The following in the content of the /etc/apache2/users/mike.conf file that I created from the installing server instructions. I suspect they are outdated since Apple removed the web sharing, but the server was still in place. > > > > Options Indexes MultiViews > AllowOverride None > Order allow,deny > Allow from all > AddHandler livecode-script .lc > Action livecode-script /livecode-cgi/livecode-community-server > > > > Options ExecCGI > Order allow,deny > Allow from all > > > ScriptAlias /livecode-cgi/livecode-community-server /Applications/liveCodeServer/livecode-community-server > > I would appreciate any assistance in getting me up and running. > > Thanks > Mike > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From scott at tactilemedia.com Wed Nov 13 12:58:49 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 13 Nov 2013 09:58:49 -0800 Subject: How to get rid of a front script In-Reply-To: <000301cee098$44f9de80$ceed9b80$@forchheim@freenet.de> References: <000301cee098$44f9de80$ceed9b80$@forchheim@freenet.de> Message-ID: <5A85262A-673C-4839-AC1C-D0C41FC10B03@tactilemedia.com> I believe you want something like "put the frontScripts" which will list all frontScripts in the message box. Also, to remove a frontScript, you use: remove script of button "xyz" from front Regards, Scott Rossi Creative Director Tactile Media, UX Design On Nov 13, 2013, at 9:46 AM, "Ruediger Wilhelm" wrote: > This again is the beginner's hope for help. > > For test purposes I created my first front script. > > I put the following script Into the button "btTest": > > on enterKey > answer "You came via the front script" with OK > go to card "myCard2" > end enterKey > > In a field on the same card I put the following: > > on returnInField > --some code her > set the disabled of button "btLogin" to false > insert script of button "btTest" into front > focus on button "btLogin" > end returnInField > > Later I learned about the property "default" of buttons, > which does what I tried to reach with the above front script. > So I deleted the button "btTest" and the insert script ... in > the field. But this did not destroy the function of the > front script. > I closed and removed the stack from memory; > I restarted LiveCode (6.1.2 commercial); > I restarted the PC (Windows Vista). > > Is there a way to see the effective frontscripts of a stack? > > Thanks in advance for any hints. > > Ruediger > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dochawk at gmail.com Wed Nov 13 13:15:37 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Wed, 13 Nov 2013 10:15:37 -0800 Subject: What's eating my keystrokes? In-Reply-To: <5283B941.7030501@gmail.com> References: <1384306258821-4672245.post@n4.nabble.com> <1384364200207-4672273.post@n4.nabble.com> <5283B941.7030501@gmail.com> Message-ID: On Wed, Nov 13, 2013 at 9:39 AM, Richmond wrote: > Wow: if most of the kids I teach were Livecode programmers they > would be screaming geniuses as "focus on nothing" is their default state > I will refrain from making a comment about practicing law and clients . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From matthias_livecode_150811 at m-r-d.de Wed Nov 13 13:30:24 2013 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Wed, 13 Nov 2013 19:30:24 +0100 Subject: has anyone invented a back button for the script editor? In-Reply-To: <8B7A33AC-6A79-467F-8C96-DBADF978DD37@sweattechnologies.com> References: <8B7A33AC-6A79-467F-8C96-DBADF978DD37@sweattechnologies.com> Message-ID: <8E400E8C-999C-43AA-86D6-A70F15D00FFA@m-r-d.de> Ups, i misunderstood your question. I am a native German, so sometimes i do not understand what i read in english and sometimes even what i speak. ;) So please excuse. Matthias Am 13.11.2013 um 08:13 schrieb Monte Goulding : > > On 12/11/2013, at 7:18 PM, Matthias Rebbe wrote: > >> I am using >> http://livecodeshare.runrev.com/stack/669/Kochi-Mini-SVN-Installer >> which helps me a lot. >> >> It is not a "back" button, but it can save snapshots of the script and can restore each snapshot if needed. After installation you have additional buttons in the script editor which let you do the save/restore. > > I wasn't talking about undo. Just jumping back to where I was... > > -- > M E R Goulding > Software development services > Bespoke application development for vertical markets > > mergExt - There's an external for that! > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode Matthias Rebbe Tel: +49 5741 310000 +49 160 5504462 eMail: matthias underscore livecode underscore 150811 at m dash r dash d dot de From wilhelm.forchheim at freenet.de Wed Nov 13 13:31:41 2013 From: wilhelm.forchheim at freenet.de (Ruediger Wilhelm) Date: Wed, 13 Nov 2013 19:31:41 +0100 Subject: How to get rid of a front script In-Reply-To: <5A85262A-673C-4839-AC1C-D0C41FC10B03@tactilemedia.com> References: <000301cee098$44f9de80$ceed9b80$@forchheim@freenet.de> <5A85262A-673C-4839-AC1C-D0C41FC10B03@tactilemedia.com> Message-ID: <000701cee09e$9968cd40$cc3a67c0$@forchheim@freenet.de> Scott, the problem is, the button to remove the script from does not exist any more. "put the frontScripts" shows a List of paths: button id 1117 of group id 1016 of card id 1002 of stack "C:/Program Files/RunRev/LiveCode 6.1.2/Toolset/revlibrary.rev" button id 1116 of group id 1016 of card id 1002 of stack "C:/Program Files/RunRev/LiveCode 6.1.2/Toolset/revlibrary.rev" button id 1042 of card id 1002 of stack "C:/Program Files/RunRev/LiveCode 6.1.2/Toolset/revlibrary.rev" stack "C:/Program Files/RunRev/LiveCode 6.1.2/Toolset/revdebugger.rev" What could I do with it? Ruedger -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Scott Rossi Sent: Mittwoch, 13. November 2013 18:59 To: How to use LiveCode Subject: Re: How to get rid of a front script I believe you want something like "put the frontScripts" which will list all frontScripts in the message box. Also, to remove a frontScript, you use: remove script of button "xyz" from front Regards, Scott Rossi Creative Director Tactile Media, UX Design On Nov 13, 2013, at 9:46 AM, "Ruediger Wilhelm" wrote: > This again is the beginner's hope for help. > > For test purposes I created my first front script. > > I put the following script Into the button "btTest": > > on enterKey > answer "You came via the front script" with OK > go to card "myCard2" > end enterKey > > In a field on the same card I put the following: > > on returnInField > --some code her > set the disabled of button "btLogin" to false > insert script of button "btTest" into front > focus on button "btLogin" > end returnInField > > Later I learned about the property "default" of buttons, > which does what I tried to reach with the above front script. > So I deleted the button "btTest" and the insert script ... in > the field. But this did not destroy the function of the > front script. > I closed and removed the stack from memory; > I restarted LiveCode (6.1.2 commercial); > I restarted the PC (Windows Vista). > > Is there a way to see the effective frontscripts of a stack? > > Thanks in advance for any hints. > > Ruediger > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From pete at lcsql.com Wed Nov 13 13:36:09 2013 From: pete at lcsql.com (Peter Haworth) Date: Wed, 13 Nov 2013 10:36:09 -0800 Subject: How to get rid of a front script In-Reply-To: <5A85262A-673C-4839-AC1C-D0C41FC10B03@tactilemedia.com> References: <5A85262A-673C-4839-AC1C-D0C41FC10B03@tactilemedia.com> Message-ID: You can also see the front scripts and remove them in the message box without typing any code. Show the message box then click the third icon from the right in its toolbar. You'll see all the front scripts listed. Just click the one you want to remove then click the "Remove Selected" button Pete lcSQL Software On Wed, Nov 13, 2013 at 9:58 AM, Scott Rossi wrote: > I believe you want something like "put the frontScripts" which will list > all frontScripts in the message box. > > Also, to remove a frontScript, you use: > remove script of button "xyz" from front > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > > On Nov 13, 2013, at 9:46 AM, "Ruediger Wilhelm" < > wilhelm.forchheim at freenet.de> wrote: > > > This again is the beginner's hope for help. > > > > For test purposes I created my first front script. > > > > I put the following script Into the button "btTest": > > > > on enterKey > > answer "You came via the front script" with OK > > go to card "myCard2" > > end enterKey > > > > In a field on the same card I put the following: > > > > on returnInField > > --some code her > > set the disabled of button "btLogin" to false > > insert script of button "btTest" into front > > focus on button "btLogin" > > end returnInField > > > > Later I learned about the property "default" of buttons, > > which does what I tried to reach with the above front script. > > So I deleted the button "btTest" and the insert script ... in > > the field. But this did not destroy the function of the > > front script. > > I closed and removed the stack from memory; > > I restarted LiveCode (6.1.2 commercial); > > I restarted the PC (Windows Vista). > > > > Is there a way to see the effective frontscripts of a stack? > > > > Thanks in advance for any hints. > > > > Ruediger > > > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at lcsql.com Wed Nov 13 13:37:03 2013 From: pete at lcsql.com (Peter Haworth) Date: Wed, 13 Nov 2013 10:37:03 -0800 Subject: What's eating my keystrokes? In-Reply-To: <5283B941.7030501@gmail.com> References: <1384306258821-4672245.post@n4.nabble.com> <1384364200207-4672273.post@n4.nabble.com> <5283B941.7030501@gmail.com> Message-ID: As is mine, at least according to my wife. Pete lcSQL Software On Wed, Nov 13, 2013 at 9:39 AM, Richmond wrote: > On 13.11.2013 19:36, tbodine wrote: > >> Solved: doing nothing was literally the solution. >> >> By adding "focus on nothing" after the answer command, normal keystroke >> detection is restored to the card. >> >> -- Tom Bodine >> >> >> >> > Wow: if most of the kids I teach were Livecode programmers they > would be screaming geniuses as "focus on nothing" is their default state. > > LOL. > > Richmond. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From terry.judd at unimelb.edu.au Wed Nov 13 14:01:36 2013 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Wed, 13 Nov 2013 19:01:36 +0000 Subject: Script for executable idle timer In-Reply-To: <45654674237.20131113080440@ahsoftware.net> References: <432A89A6-D96A-44E6-9EB0-C68F10654D3B@byu.edu> <66592352000.20131112144558@ahsoftware.net> <7DA65A33-C0DB-425D-9A7E-14E3751345FF@byu.edu> <37599841890.20131112165048@ahsoftware.net> <45654674237.20131113080440@ahsoftware.net> Message-ID: <907F77A4-4E1B-4F5C-9F3D-52B26217FF2F@unimelb.edu.au> On 14/11/2013, at 03:04 AM, Mark Wieder wrote: > Skip- > >> on checkIdle >> global lastActTime >> if the seconds > lastActTime + 3600 then >> close this stack --or whatever, last chance dialog, etc. >> end if >> send checkIdle to me in 30 minutes >> end checkIdle > > ...and *don't* use a modal dialog for the "last chance" approach. Put > another timeer in that dialog if necessary and then close or revert or > whatever. System windows are good for this. > > -- > -Mark Wieder > ahsoftware at gmail.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > Dr Terry Judd Senior Lecturer in Medical Education Medical Education Unit Faculty of Medicine, Dentistry & Health Sciences The University of Melbourne From monte at sweattechnologies.com Wed Nov 13 14:26:33 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu, 14 Nov 2013 06:26:33 +1100 Subject: has anyone invented a back button for the script editor? In-Reply-To: <8E400E8C-999C-43AA-86D6-A70F15D00FFA@m-r-d.de> References: <8B7A33AC-6A79-467F-8C96-DBADF978DD37@sweattechnologies.com> <8E400E8C-999C-43AA-86D6-A70F15D00FFA@m-r-d.de> Message-ID: On 14/11/2013, at 5:30 AM, Matthias Rebbe wrote: > Ups, i misunderstood your question. > > I am a native German, so sometimes i do not understand what i read in english and sometimes even what i speak. ;) > > So please excuse. No problem mate... I've been meaning to have a look at that plugin anyway to see if I can borrow some ideas for lcVCS integration. Would be nice if there were an option to commit just the script changes direct from the script editor. Cheers -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From monte at sweattechnologies.com Wed Nov 13 14:28:13 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu, 14 Nov 2013 06:28:13 +1100 Subject: has anyone invented a back button for the script editor? In-Reply-To: <57653845675.20131113075051@ahsoftware.net> References: <8B7A33AC-6A79-467F-8C96-DBADF978DD37@sweattechnologies.com> <57653845675.20131113075051@ahsoftware.net> Message-ID: <1BE26C5C-EDE1-4934-8C76-A29E988C3E7E@sweattechnologies.com> On 14/11/2013, at 2:50 AM, Mark Wieder wrote: > If you just need to keep track of a single point, put something like > the following into a frontscript and trigger it with the key combo of > your choice: > > -- save the current cursor position: > put the current line number into tLine > > -- return from whence ye came: > dispatch "goLine" to group "Editor" of stack "revNewScriptEditor 1" \ > with tLine > > This will work with the current built-in editor until it changes. OK, cheers -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From jbv at souslelogo.com Wed Nov 13 14:31:46 2013 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Wed, 13 Nov 2013 21:31:46 +0200 Subject: Script for executable idle timer In-Reply-To: <907F77A4-4E1B-4F5C-9F3D-52B26217FF2F@unimelb.edu.au> References: <432A89A6-D96A-44E6-9EB0-C68F10654D3B@byu.edu> <66592352000.20131112144558@ahsoftware.net> <7DA65A33-C0DB-425D-9A7E-14E3751345FF@byu.edu> <37599841890.20131112165048@ahsoftware.net> <45654674237.20131113080440@ahsoftware.net> <907F77A4-4E1B-4F5C-9F3D-52B26217FF2F@unimelb.edu.au> Message-ID: Hi list, Has anyone tried to launch a standalone built with an older version of LC (4.5 for instance) on Mavericks ? One of my clients has some problems and I don't have any Mac with the latest OSX upgrade at hand to test it... My question concerns more specifically connections to a remote server using liburl... Thanks in advance. jbv From jbv at souslelogo.com Wed Nov 13 14:33:28 2013 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Wed, 13 Nov 2013 21:33:28 +0200 Subject: Mavericks and older versions of LC (oops, wrong title in previous post - sorry) In-Reply-To: References: <432A89A6-D96A-44E6-9EB0-C68F10654D3B@byu.edu> <66592352000.20131112144558@ahsoftware.net> <7DA65A33-C0DB-425D-9A7E-14E3751345FF@byu.edu> <37599841890.20131112165048@ahsoftware.net> <45654674237.20131113080440@ahsoftware.net> <907F77A4-4E1B-4F5C-9F3D-52B26217FF2F@unimelb.edu.au> Message-ID: <358c9da7d5b1037b9db573b3264e116c.squirrel@185.8.104.234> Hi list, Has anyone tried to launch a standalone built with an older version of LC (4.5 for instance) on Mavericks ? One of my clients has some problems and I don't have any Mac with the latest OSX upgrade at hand to test it... My question concerns more specifically connections to a remote server using liburl... Thanks in advance. jbv From scott at tactilemedia.com Wed Nov 13 14:40:43 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 13 Nov 2013 11:40:43 -0800 Subject: How to get rid of a front script In-Reply-To: <000701cee09e$9968cd40$cc3a67c0$@forchheim@freenet.de> References: <000301cee098$44f9de80$ceed9b80$@forchheim@freenet.de> <5A85262A-673C-4839-AC1C-D0C41FC10B03@tactilemedia.com> <000701cee09e$9968cd40$cc3a67c0$@forchheim@freenet.de> Message-ID: Hi Ruedger: Each line in the list you received is an object whose script is currently acting as a frontScript. If you script something like "put the short name of (line 1 of the frontScripts)" you will get the name of the button that appears in the first line of the frontScripts list. You say you deleted the button that contained your original frontScript. If this is really the case, it should be impossible for the script of that button to be operating for two reasons: the script isn't around anymore, and frontScripts are not persistent between launches. You have to insert frontScripts for them to be used. Perhaps you had multiple buttons named "btTest" or you have another object that contains the test script. Checking which frontScripts are loaded will show you. Regards, Scott Rossi Creative Director Tactile Media, UX Design On Nov 13, 2013, at 10:31 AM, "Ruediger Wilhelm" wrote: > Scott, > > the problem is, the button to remove the script from does not exist any > more. > > "put the frontScripts" shows a List of paths: > > button id 1117 of group id 1016 of card id 1002 of stack "C:/Program > Files/RunRev/LiveCode 6.1.2/Toolset/revlibrary.rev" > button id 1116 of group id 1016 of card id 1002 of stack "C:/Program > Files/RunRev/LiveCode 6.1.2/Toolset/revlibrary.rev" > button id 1042 of card id 1002 of stack "C:/Program Files/RunRev/LiveCode > 6.1.2/Toolset/revlibrary.rev" > stack "C:/Program Files/RunRev/LiveCode 6.1.2/Toolset/revdebugger.rev" > > What could I do with it? > > Ruedger > > > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf > Of Scott Rossi > Sent: Mittwoch, 13. November 2013 18:59 > To: How to use LiveCode > Subject: Re: How to get rid of a front script > > I believe you want something like "put the frontScripts" which will list all > frontScripts in the message box. > > Also, to remove a frontScript, you use: > remove script of button "xyz" from front > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > > On Nov 13, 2013, at 9:46 AM, "Ruediger Wilhelm" > wrote: > >> This again is the beginner's hope for help. >> >> For test purposes I created my first front script. >> >> I put the following script Into the button "btTest": >> >> on enterKey >> answer "You came via the front script" with OK >> go to card "myCard2" >> end enterKey >> >> In a field on the same card I put the following: >> >> on returnInField >> --some code her >> set the disabled of button "btLogin" to false >> insert script of button "btTest" into front >> focus on button "btLogin" >> end returnInField >> >> Later I learned about the property "default" of buttons, >> which does what I tried to reach with the above front script. >> So I deleted the button "btTest" and the insert script ... in >> the field. But this did not destroy the function of the >> front script. >> I closed and removed the stack from memory; >> I restarted LiveCode (6.1.2 commercial); >> I restarted the PC (Windows Vista). >> >> Is there a way to see the effective frontscripts of a stack? >> >> Thanks in advance for any hints. >> >> Ruediger >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From gregory.lypny at videotron.ca Wed Nov 13 15:13:25 2013 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Wed, 13 Nov 2013 15:13:25 -0500 Subject: Need Help Getting LiveCode Server to Write to a File In-Reply-To: References: Message-ID: <32AE9FBB-BB5C-47C0-B24E-CF0A5A4AF42D@videotron.ca> Hi Devin, Bless you. I got rid of the curly quotes. How embarrassing. I then created a folder called myFolder, with read and write permissions for everyone, in WebServer/Documents, and it works. The trouble is, the Documents folder is where the HTML pages and LiveCode scripts reside, so I think that is a security concern. Pierre Sahores recommended putting any data folders I create inside WebServer/share/httpd, so I have to figure out the file path to get them there. The folder named share is at the same level as Documents. Thanks once again, Gregory On Wed, Nov 13, 2013, at 2:31 PM, use-livecode-request at lists.runrev.com wrote: > Gregory, > > I don't think LC Server scripts are "aware" of the full file system on your HD, only the web root and child directories to it. (Someone will correct me if I'm wrong about this, I'm sure. :) ) Try writing to a folder/file relative to the defaultFolder of the LC script file. > > put "foo" into url "file:my folder/myFile.txt" > > As an aside, I'm assuming that the "curly quotes" in your message were added by you email client, and weren't there in your script? > > Devin > > Devin Asay From devin_asay at byu.edu Wed Nov 13 16:22:57 2013 From: devin_asay at byu.edu (Devin Asay) Date: Wed, 13 Nov 2013 21:22:57 +0000 Subject: Need Help Getting LiveCode Server to Write to a File In-Reply-To: <32AE9FBB-BB5C-47C0-B24E-CF0A5A4AF42D@videotron.ca> References: <32AE9FBB-BB5C-47C0-B24E-CF0A5A4AF42D@videotron.ca> Message-ID: <6684361E-F077-414F-80C9-3CA02A289F1C@byu.edu> On Nov 13, 2013, at 1:13 PM, Gregory Lypny wrote: > Hi Devin, > > Bless you. I got rid of the curly quotes. How embarrassing. I then created a folder called myFolder, with read and write permissions for everyone, in WebServer/Documents, and it works. The trouble is, the Documents folder is where the HTML pages and LiveCode scripts reside, so I think that is a security concern. Pierre Sahores recommended putting any data folders I create inside WebServer/share/httpd, so I have to figure out the file path to get them there. The folder named share is at the same level as Documents. Something like this should work then: put "foo" into url "file:../Share/httpd/myfile.txt" Just use .. to backtrack up the directory structure from the default folder. Devin Devin Asay Learn to code with LiveCode University http://university.livecode.com From matsastrom at yahoo.se Wed Nov 13 17:05:55 2013 From: matsastrom at yahoo.se (=?iso-8859-1?Q?Mats_=C5str=F6m?=) Date: Wed, 13 Nov 2013 23:05:55 +0100 Subject: DataGrid and cursors Message-ID: I have a DataGrid I REALLY want to work with a 40-thousand-plus-records db-table. For the last couple of days I have tried various cursor recipies, no luck. I am helpless, does anyone have a workable solution to share? /Mats From matthias_livecode_150811 at m-r-d.de Wed Nov 13 17:10:58 2013 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Wed, 13 Nov 2013 23:10:58 +0100 Subject: Need Help Getting LiveCode Server to Write to a File In-Reply-To: <32E1FE48-9A54-47C0-A18C-5BCA3AF63207@byu.edu> References: <32E1FE48-9A54-47C0-A18C-5BCA3AF63207@byu.edu> Message-ID: <4AFEA2DB-D311-4D82-97CB-7BD66AC72F33@m-r-d.de> Am 13.11.2013 um 17:40 schrieb Devin Asay : > > > Gregory, > > I don't think LC Server scripts are "aware" of the full file system on your HD, only the web root and child directories to it. (Someone will correct me if I'm wrong about this, I'm sure. :) ) Correction. ;) my LC server is aware of the full filesystem here on Mac OS x. Setting the folder to "/" for example and doing a "put the folders" lists all folders of the root folder of my harddisk. I have access to all volumes. Did a short test right now and was even able to write a file on an other volume from a lc script opened in the browser. I am using LC server with DesktopServer.app from http://www.serverpress.com, but i could not imagine why this should not be possible also with XAMPP or "standard" installation. Regards, Matthias Matthias Rebbe Tel: +49 5741 310000 +49 160 5504462 eMail: matthias underscore livecode underscore 150811 at m dash r dash d dot de From dunbarx at aol.com Wed Nov 13 17:12:22 2013 From: dunbarx at aol.com (dunbarx at aol.com) Date: Wed, 13 Nov 2013 17:12:22 -0500 (EST) Subject: DataGrid and cursors In-Reply-To: References: Message-ID: <8D0AED48EF46CC2-4B4-CC18@webmail-vm027.sysops.aol.com> Hi. What is a cursor recipe? Or am I getting too old for this? Craig Newman -----Original Message----- From: Mats ?str?m To: use-livecode Sent: Wed, Nov 13, 2013 5:07 pm Subject: DataGrid and cursors I have a DataGrid I REALLY want to work with a 40-thousand-plus-records db-table. For the last couple of days I have tried various cursor recipies, no luck. I am helpless, does anyone have a workable solution to share? /Mats _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From matsastrom at yahoo.se Wed Nov 13 17:12:27 2013 From: matsastrom at yahoo.se (=?iso-8859-1?Q?Mats_=C5str=F6m?=) Date: Wed, 13 Nov 2013 22:12:27 +0000 (GMT) Subject: DataGrid and cursors Message-ID: <1384380747.69175.YahooMailNeo@web171204.mail.ir2.yahoo.com> I have a DataGrid I REALLY want to work with a 40-thousand-plus-records db-table. For the last couple of days I have tried various cursor recipies, no luck. I am helpless, does anyone have a workable solution to share? /Mats From gerry.orkin at gmail.com Wed Nov 13 17:18:31 2013 From: gerry.orkin at gmail.com (Gerry Orkin) Date: Thu, 14 Nov 2013 09:18:31 +1100 Subject: DataGrid and cursors In-Reply-To: <8D0AED48EF46CC2-4B4-CC18@webmail-vm027.sysops.aol.com> References: <8D0AED48EF46CC2-4B4-CC18@webmail-vm027.sysops.aol.com> Message-ID: I think some sort of load-records-as-the-user-scrolls type thing is what Mats is after :) Gerry On 14 Nov 2013, at 9:12 am, dunbarx at aol.com wrote: > What is a cursor recipe? Or am I getting too old for this? From pete at lcsql.com Wed Nov 13 17:26:34 2013 From: pete at lcsql.com (Peter Haworth) Date: Wed, 13 Nov 2013 14:26:34 -0800 Subject: DataGrid and cursors In-Reply-To: References: Message-ID: Hi Mats, The best way to deal with this for good performance is by using the datagrid dgNumberOfRecords property. Take a look at the "Advanced Options" section of the datagrid manual for more information and a link for a sample stack to download. I've used this technique a couple of times and it works well for large amounts of data. However, it's a bit tricky to implement since the datagrid stops using it's internal storage areas and the usual methods for getting data out of the datagrid (dgData,dgText) all return empty. Plus there are some not-so-obvious things you have to deal with yourself, for example you have to write your own sort handlers. Pete Pete lcSQL Software On Wed, Nov 13, 2013 at 2:05 PM, Mats ?str?m wrote: > I have a DataGrid I REALLY want to work with a 40-thousand-plus-records > db-table. For the last couple of days I have tried various cursor recipies, > no luck. > > I am helpless, does anyone have a workable solution to share? > > /Mats > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From devin_asay at byu.edu Wed Nov 13 17:28:56 2013 From: devin_asay at byu.edu (Devin Asay) Date: Wed, 13 Nov 2013 22:28:56 +0000 Subject: Need Help Getting LiveCode Server to Write to a File In-Reply-To: <4AFEA2DB-D311-4D82-97CB-7BD66AC72F33@m-r-d.de> References: <32E1FE48-9A54-47C0-A18C-5BCA3AF63207@byu.edu> <4AFEA2DB-D311-4D82-97CB-7BD66AC72F33@m-r-d.de> Message-ID: On Nov 13, 2013, at 3:10 PM, Matthias Rebbe wrote: > > Am 13.11.2013 um 17:40 schrieb Devin Asay : > >> >> >> Gregory, >> >> I don't think LC Server scripts are "aware" of the full file system on your HD, only the web root and child directories to it. (Someone will correct me if I'm wrong about this, I'm sure. :) ) > > > Correction. ;) > > my LC server is aware of the full filesystem here on Mac OS x. > > Setting the folder to "/" for example and doing a "put the folders" lists all folders of the root folder of my harddisk. > I have access to all volumes. Did a short test right now and was even able to write a file on an other volume from a lc script > opened in the browser. > > I am using LC server with DesktopServer.app from http://www.serverpress.com, but i could not imagine why this should not be possible also > with XAMPP or "standard" installation. Good to know. Thanks, Matthias. Devin Devin Asay Learn to code with LiveCode University http://university.livecode.com From capellan2000 at gmail.com Wed Nov 13 18:50:35 2013 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Wed, 13 Nov 2013 15:50:35 -0800 (PST) Subject: Unsupported Animation Manager Message-ID: <1384386635667-4672300.post@n4.nabble.com> Hi All, Where I could download the latest version of the unsupported stack "Animation Manager" Read this message to remember about it: http://lists.runrev.com/pipermail/use-livecode/2002-February/001798.html Thanks in advance! Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Unsupported-Animation-Manager-tp4672300.html Sent from the Revolution - User mailing list archive at Nabble.com. From m.schonewille at economy-x-talk.com Wed Nov 13 18:59:04 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 14 Nov 2013 00:59:04 +0100 Subject: Unsupported Animation Manager In-Reply-To: <1384386635667-4672300.post@n4.nabble.com> References: <1384386635667-4672300.post@n4.nabble.com> Message-ID: <52841248.9060605@economy-x-talk.com> Hi Al, Do you mean revAnimation.rev in ...\RunRev\LiveCode Community 6.x.x\Toolset\Unsupported ? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi Fill out this survey please http://livecodebeginner.economy-x-talk.com/survey/ On 11/14/2013 00:50, Alejandro Tejada wrote: > Hi All, > > Where I could download the latest version of the unsupported > stack "Animation Manager" > > Read this message to remember about it: > http://lists.runrev.com/pipermail/use-livecode/2002-February/001798.html > > Thanks in advance! > > Al > From capellan2000 at gmail.com Wed Nov 13 19:03:16 2013 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Wed, 13 Nov 2013 16:03:16 -0800 (PST) Subject: [OT] Oldest RR/MC IDE that still works in your computer Message-ID: <1384387396299-4672302.post@n4.nabble.com> Hi All, Just out of curiosity, How many of you still run older versions of the Revolution/MetaCard IDE? Which is the oldest RR/MC IDE that still works in your computer? Thanks in advance! Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-Oldest-RR-MC-IDE-that-still-works-in-your-computer-tp4672302.html Sent from the Revolution - User mailing list archive at Nabble.com. From capellan2000 at gmail.com Wed Nov 13 19:07:29 2013 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Wed, 13 Nov 2013 16:07:29 -0800 (PST) Subject: Unsupported Animation Manager In-Reply-To: <52841248.9060605@economy-x-talk.com> References: <1384386635667-4672300.post@n4.nabble.com> <52841248.9060605@economy-x-talk.com> Message-ID: <1384387649746-4672303.post@n4.nabble.com> Exactly! Many Thanks, Mark. :D Now, Where could I find the latest published tutorial about how to use it? Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Unsupported-Animation-Manager-tp4672300p4672303.html Sent from the Revolution - User mailing list archive at Nabble.com. From capellan2000 at gmail.com Wed Nov 13 19:37:01 2013 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Wed, 13 Nov 2013 16:37:01 -0800 (PST) Subject: Need Help Getting LiveCode Server to Write to a File In-Reply-To: References: <32E1FE48-9A54-47C0-A18C-5BCA3AF63207@byu.edu> <4AFEA2DB-D311-4D82-97CB-7BD66AC72F33@m-r-d.de> Message-ID: <1384389421501-4672304.post@n4.nabble.com> Devin Asay wrote > On Nov 13, 2013, at 3:10 PM, Matthias Rebbe wrote: > [snip] >> my LC server is aware of the full filesystem here on Mac OS x. >> Setting the folder to "/" for example and doing a "put the folders" >> lists all folders of the root folder of my harddisk. >> I have access to all volumes. Did a short test right now and was even >> able to write a file on an other volume from a lc script >> opened in the browser. > [snip] > > Good to know. Thanks, Matthias. > > Devin Actually, that is scary! :o Are all your personal files, available from the web, too? Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Need-Help-Getting-LiveCode-Server-to-Write-to-a-File-tp4672264p4672304.html Sent from the Revolution - User mailing list archive at Nabble.com. From pete at lcsql.com Wed Nov 13 20:05:24 2013 From: pete at lcsql.com (Peter Haworth) Date: Wed, 13 Nov 2013 17:05:24 -0800 Subject: Name shadows another variable error Message-ID: I think I have just found a reliable way to reproduce the above error. It's not the usual circumstance it happens but it may be enough for RunRev to track it down. Here's what I did (by accident): Switch Strict Compilation mode off Create a stack with a few controls on it Put some simple scripts in the card, stack and/or controls, each with a local statement that names the same variable, say tVar. Compile all the scripts so there are no errors in them Switch Strict Compilation Mode on Make a change in one of the scripts and compile it - you should get the error. If you then try to save the stack, all the scripts that name the variable will be get a red dot in their script editor window tab. If anyone has a few minutes to verify this, I will submit a QCC report and include a test stack. Pete lcSQL Software From capellan2000 at gmail.com Wed Nov 13 20:16:09 2013 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Wed, 13 Nov 2013 17:16:09 -0800 (PST) Subject: Script for executable idle timer In-Reply-To: <1384300241113-4672238.post@n4.nabble.com> References: <432A89A6-D96A-44E6-9EB0-C68F10654D3B@byu.edu> <66592352000.20131112144558@ahsoftware.net> <7DA65A33-C0DB-425D-9A7E-14E3751345FF@byu.edu> <1384300241113-4672238.post@n4.nabble.com> Message-ID: <1384391769141-4672306.post@n4.nabble.com> Hi Bernd, Probably, your Nabble account is not working yet, so I am reposting your answer: Bernd Niggemann wrote: Hi Devin, sorry for potential double posting but I am trying to get my Nabble account to work. this should also work on mouseUp put "close stack " & quote & "answer dialog" & quote into tMessage send tMessage to stack "answer dialog" in 3 seconds -- change duration of dialogue before closing get empty -- just to make shure it is empty answer "test" with "Cancel" and "OK" put it into field 1 -- it is either empty when the stack closes without user interaction or the text of the button the user clicked end mouseUp Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Script-for-executable-idle-timer-tp4672221p4672306.html Sent from the Revolution - User mailing list archive at Nabble.com. From jhj at jhj.com Wed Nov 13 20:31:33 2013 From: jhj at jhj.com (Jerry Jensen) Date: Wed, 13 Nov 2013 17:31:33 -0800 Subject: Name shadows another variable error In-Reply-To: References: Message-ID: <5730E1CD-393F-4CA2-9334-19996DF80120@jhj.com> I tried your recipe and did NOT get the error. Mac OSX 10.6.5, LC 6.1.3 community. I certainly have had problems with the shadow error in the past, probably with LC 6.1 or so. I also have GLX2 loaded now but was not using it for this test. .Jerry On Nov 13, 2013, at 5:05 PM, Peter Haworth wrote: > I think I have just found a reliable way to reproduce the above error. > It's not the usual circumstance it happens but it may be enough for RunRev > to track it down. Here's what I did (by accident): > > Switch Strict Compilation mode off > Create a stack with a few controls on it > Put some simple scripts in the card, stack and/or controls, each with a > local statement that names the same variable, say tVar. > Compile all the scripts so there are no errors in them > Switch Strict Compilation Mode on > Make a change in one of the scripts and compile it - you should get the > error. If you then try to save the stack, all the scripts that name the > variable will be get a red dot in their script editor window tab. > > If anyone has a few minutes to verify this, I will submit a QCC report and > include a test stack. > > Pete > lcSQL Software From monte at sweattechnologies.com Wed Nov 13 21:00:04 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu, 14 Nov 2013 13:00:04 +1100 Subject: Name shadows another variable error In-Reply-To: References: Message-ID: On 14/11/2013, at 12:05 PM, Peter Haworth wrote: > I think I have just found a reliable way to reproduce the above error. > It's not the usual circumstance it happens but it may be enough for RunRev > to track it down. Here's what I did (by accident): > > Switch Strict Compilation mode off > Create a stack with a few controls on it > Put some simple scripts in the card, stack and/or controls, each with a > local statement that names the same variable, say tVar. > Compile all the scripts so there are no errors in them > Switch Strict Compilation Mode on > Make a change in one of the scripts and compile it - you should get the > error. If you then try to save the stack, all the scripts that name the > variable will be get a red dot in their script editor window tab. > > If anyone has a few minutes to verify this, I will submit a QCC report and > include a test stack. I'd love to crack that nut... it's the only thing stopping me using that feature... Is there any correlation between the error an turning variable preservation on or off? Cheers -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From pete at lcsql.com Wed Nov 13 21:35:02 2013 From: pete at lcsql.com (Peter Haworth) Date: Wed, 13 Nov 2013 18:35:02 -0800 Subject: Name shadows another variable error In-Reply-To: References: Message-ID: Good thought, I'll give that a try. Jerry - what was the variable preservation setting during your test? Pete lcSQL Software On Wed, Nov 13, 2013 at 6:00 PM, Monte Goulding wrote: > > On 14/11/2013, at 12:05 PM, Peter Haworth wrote: > > > I think I have just found a reliable way to reproduce the above error. > > It's not the usual circumstance it happens but it may be enough for > RunRev > > to track it down. Here's what I did (by accident): > > > > Switch Strict Compilation mode off > > Create a stack with a few controls on it > > Put some simple scripts in the card, stack and/or controls, each with a > > local statement that names the same variable, say tVar. > > Compile all the scripts so there are no errors in them > > Switch Strict Compilation Mode on > > Make a change in one of the scripts and compile it - you should get the > > error. If you then try to save the stack, all the scripts that name the > > variable will be get a red dot in their script editor window tab. > > > > If anyone has a few minutes to verify this, I will submit a QCC report > and > > include a test stack. > > I'd love to crack that nut... it's the only thing stopping me using that > feature... Is there any correlation between the error an turning variable > preservation on or off? > > Cheers > > -- > M E R Goulding > Software development services > Bespoke application development for vertical markets > > mergExt - There's an external for that! > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mwieder at ahsoftware.net Wed Nov 13 21:58:22 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 13 Nov 2013 18:58:22 -0800 Subject: Name shadows another variable error In-Reply-To: References: Message-ID: <134693896147.20131113185822@ahsoftware.net> Pete- Sorry - I can't replicate the problem either. -- -Mark Wieder ahsoftware at gmail.com From jhj at jhj.com Wed Nov 13 22:11:38 2013 From: jhj at jhj.com (Jerry Jensen) Date: Wed, 13 Nov 2013 19:11:38 -0800 Subject: Name shadows another variable error In-Reply-To: References: Message-ID: <30624CB8-FE4E-4EBA-8661-8A894F9AA426@jhj.com> Variable preservation was ON. Its been on for a long time, I don't even remember how long. .Jerry On Nov 13, 2013, at 6:35 PM, Peter Haworth wrote: > Good thought, I'll give that a try. > > Jerry - what was the variable preservation setting during your test? > > Pete > lcSQL Software > > > On Wed, Nov 13, 2013 at 6:00 PM, Monte Goulding > wrote: > >> >> On 14/11/2013, at 12:05 PM, Peter Haworth wrote: >> >>> I think I have just found a reliable way to reproduce the above error. >>> It's not the usual circumstance it happens but it may be enough for >> RunRev >>> to track it down. Here's what I did (by accident): >>> >>> Switch Strict Compilation mode off >>> Create a stack with a few controls on it >>> Put some simple scripts in the card, stack and/or controls, each with a >>> local statement that names the same variable, say tVar. >>> Compile all the scripts so there are no errors in them >>> Switch Strict Compilation Mode on >>> Make a change in one of the scripts and compile it - you should get the >>> error. If you then try to save the stack, all the scripts that name the >>> variable will be get a red dot in their script editor window tab. >>> >>> If anyone has a few minutes to verify this, I will submit a QCC report >> and >>> include a test stack. >> >> I'd love to crack that nut... it's the only thing stopping me using that >> feature... Is there any correlation between the error an turning variable >> preservation on or off? >> >> Cheers >> >> -- >> M E R Goulding >> Software development services >> Bespoke application development for vertical markets >> >> mergExt - There's an external for that! >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From monte at sweattechnologies.com Wed Nov 13 22:14:38 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu, 14 Nov 2013 14:14:38 +1100 Subject: Name shadows another variable error In-Reply-To: <30624CB8-FE4E-4EBA-8661-8A894F9AA426@jhj.com> References: <30624CB8-FE4E-4EBA-8661-8A894F9AA426@jhj.com> Message-ID: <4552F40F-4A67-4564-BBF1-F42B249D487A@sweattechnologies.com> On 14/11/2013, at 2:11 PM, Jerry Jensen wrote: > Variable preservation was ON. Its been on for a long time, I don't even remember how long. Yes if only we could turn it on in our heads ;-) -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From rdimola at evergreeninfo.net Thu Nov 14 00:49:41 2013 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Thu, 14 Nov 2013 00:49:41 -0500 Subject: Name shadows another variable error In-Reply-To: References: Message-ID: <005601cee0fd$504d1620$f0e74260$@net> OK this is one of my two LC headaches. The second is when you do a "save as" you do a few things and then out of nowhere one gets the "another stack with the same name"... thingy. But I digress. Peter, Using 6.1.3 with Win XP SP3 I can reproduce the shadow error anomaly(bug?) at will. 1) Create a new main stack. 2) Open the code editor for the stack. 3) Put in this code. ------------------------------- global rs1 command test1 local rs end test1 command test2 local rs end test2 ------------------------- 4) Click "Apply" 5) Change the code to this ------------------------------ global rs command test1 local rs1 end test1 command test2 local rs1 end test2 ------------------------ 6) Click "Apply" and get the shadow error. 7) Change the code back to the first snippet. 8) Click "Apply" and get the shadow error. 9) Close stack and remove from memory. 10) Create a new main stack. 11) Insert either of above code snippets and get the shadow error. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Peter Haworth Sent: Wednesday, November 13, 2013 8:05 PM To: How to use LiveCode Subject: Name shadows another variable error I think I have just found a reliable way to reproduce the above error. It's not the usual circumstance it happens but it may be enough for RunRev to track it down. Here's what I did (by accident): Switch Strict Compilation mode off Create a stack with a few controls on it Put some simple scripts in the card, stack and/or controls, each with a local statement that names the same variable, say tVar. Compile all the scripts so there are no errors in them Switch Strict Compilation Mode on Make a change in one of the scripts and compile it - you should get the error. If you then try to save the stack, all the scripts that name the variable will be get a red dot in their script editor window tab. If anyone has a few minutes to verify this, I will submit a QCC report and include a test stack. Pete lcSQL Software _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Thu Nov 14 01:04:18 2013 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 14 Nov 2013 08:04:18 +0200 Subject: [OT] Oldest RR/MC IDE that still works in your computer In-Reply-To: <1384387396299-4672302.post@n4.nabble.com> References: <1384387396299-4672302.post@n4.nabble.com> Message-ID: <528467E2.3000505@gmail.com> On 14/11/13 02:03, Alejandro Tejada wrote: > Hi All, > > Just out of curiosity, How many of you still run older > versions of the Revolution/MetaCard IDE? > > Which is the oldest RR/MC IDE that still works in your computer? "your computer"; which one? I have RR 1.1.1 running in Mac OS 9.2.2 on a G3 iMac; but not for everyday use. [ I mainly use my G3 for 3D modelling with Poser and Bryce. ] > > Thanks in advance! > > Al > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-Oldest-RR-MC-IDE-that-still-works-in-your-computer-tp4672302.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From matthias_livecode_150811 at m-r-d.de Thu Nov 14 02:53:37 2013 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Thu, 14 Nov 2013 08:53:37 +0100 Subject: Need Help Getting LiveCode Server to Write to a File In-Reply-To: <1384389421501-4672304.post@n4.nabble.com> References: <32E1FE48-9A54-47C0-A18C-5BCA3AF63207@byu.edu> <4AFEA2DB-D311-4D82-97CB-7BD66AC72F33@m-r-d.de> <1384389421501-4672304.post@n4.nabble.com> Message-ID: <08EECACB-08A6-4ABB-BD77-F48EC94412FF@m-r-d.de> Am 14.11.2013 um 01:37 schrieb Alejandro Tejada : > De > Actually, that is scary! :o No it is not. PHP is working the same way. > > Are all your personal files, available from the web, too? Do you mean my files on my mac? My mac is not reachable from the internet. Generally speaking, what files and folders lc server is able to see and able to write to depends on the rights the user (account) has, who invokes the lc script. On shared servers like on-rev for example you just have write access to your HOME and sub folder(s). But you can see the folder structure also above HOME, but without the possibility to write. As long as you know what your are scripting in php/lc or any other server side scripting language there is no need to be scared. I am using this "feature" to store the scripts which contain db username and password and other db related stuff in an lc file above the public_html folder. I then include these files in my lc scripts. So in any case that lc server is not running, there is no way for website visitors to see the plain text code of that confidential files. Regards, Matthias Matthias Rebbe Tel: +49 5741 310000 +49 160 5504462 eMail: matthias underscore livecode underscore 150811 at m dash r dash d dot de From revolution at derbrill.de Thu Nov 14 03:35:13 2013 From: revolution at derbrill.de (Malte Brill) Date: Thu, 14 Nov 2013 09:35:13 +0100 Subject: Name shadows another variable error In-Reply-To: References: Message-ID: <7A0CA685-CEB8-4CE4-A014-4FDD5EF5AAAB@derbrill.de> Hi all, the easiest way for me to trigger the shadow Bug, is to change the scope of the variable from global to local in a card script: global tBoo on openCard put "moo" into tBoo end openCard hit apply, change script to on openCard local tBoo put "moo" into tBoo end openCard hit apply. Cheers, Malte From monte at sweattechnologies.com Thu Nov 14 04:48:57 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu, 14 Nov 2013 20:48:57 +1100 Subject: Name shadows another variable error In-Reply-To: <7A0CA685-CEB8-4CE4-A014-4FDD5EF5AAAB@derbrill.de> References: <7A0CA685-CEB8-4CE4-A014-4FDD5EF5AAAB@derbrill.de> Message-ID: <4E826664-54C0-4C3D-BA84-D19BD981B446@sweattechnologies.com> On 14/11/2013, at 7:35 PM, Malte Brill wrote: > the easiest way for me to trigger the shadow Bug, is to change the scope of the variable from global to local > > in a card script: > > global tBoo > > on openCard > put "moo" into tBoo > end openCard > > hit apply, change script to > > on openCard > local tBoo > put "moo" into tBoo > end openCard > > hit apply. Well.. that would be because of this... which is kinda reasonable now that I think of it because it's explicit vars after all and the engine's not going to know that tBoo is no longer a global until after this script is parsed. So in this case compiling with explict vars off first would solve the issue. This is one reason I thought my suggestion the other day of having the IDE compile a script until there's no regular errors then turn on explicit vars to pick up those errors might resolve this issue a bit. MCVariable *tmp; for (tmp = MCglobals ; tmp != NULL ; tmp = tmp->getnext()) if (tmp -> hasname(t_token_name)) if (MCexplicitvariables) { MCperror->add(PE_LOCAL_SHADOW, sp); return PS_ERROR; } Actually after having had a look I think it's the same issue for script locals. What happens is it goes looking for the locals and if it finds them it throws the shadowing error... but they aren't removed until the script is parsed... (not that I've found where they are removed)... anyway I'm pretty sure my plan of turning explicitvars on only once the script is fully parsed once will resolve the issue. Here's the change at line 1486 of the template stack behavior for the script editor: local tOldPreserveVariables, tOldExplicitVariables put the preserveVariables into tOldPreserveVariables put the explicitVariables into tOldExplicitVariables set the preserveVariables to sePrefGet("preserveVariables") # OK-2008-08-20 : All scripts end in return in the engine, we add the return here so that tScript # will match what the actual script gets set to. This ensures that we can store correct checksums for scripts. # OK-2008-10-16 : Bug 7199 - In fact, not all scripts end with a return, empty scripts should not have one. if the last char of tScript is not return and tScript is not empty then put return after tScript end if try set the script of pObject to tScript # MERG-2013-11-14: Compile without explicitVariables to avoid variable shadow errors if not the explicitVariables then set the explicitVariables to sePrefGet("explicitVariables") if not the explicitVariables then set the script of pObject to tScript end if end if catch tExecutionError if not pIgnoreErrors then send "addError execution, tExecutionError, pObject" to group "Errors" of me if sePrefGet("showerrors") then send "expandCurrentPane" to group "Panes" of me end if end if end try set the preserveVariables to tOldPreserveVariables set the explicitVariables to tOldExplicitVariables I'm off to find a bug report about this and attach my findings Cheers -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From monte at sweattechnologies.com Thu Nov 14 04:53:17 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu, 14 Nov 2013 20:53:17 +1100 Subject: Name shadows another variable error In-Reply-To: <4E826664-54C0-4C3D-BA84-D19BD981B446@sweattechnologies.com> References: <7A0CA685-CEB8-4CE4-A014-4FDD5EF5AAAB@derbrill.de> <4E826664-54C0-4C3D-BA84-D19BD981B446@sweattechnologies.com> Message-ID: <1D1AA9AA-7484-4C93-96E9-6E25C33BE2C0@sweattechnologies.com> On 14/11/2013, at 8:48 PM, Monte Goulding wrote: > I'm off to find a bug report about this and attach my findings I posted to the following report but as it's hibernated I'm not sure if that means nobody will read my comments... how do I make sure someone reads it? http://quality.runrev.com/show_bug.cgi?id=10511 Cheers -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From monte at sweattechnologies.com Thu Nov 14 05:14:01 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu, 14 Nov 2013 21:14:01 +1100 Subject: Name shadows another variable error In-Reply-To: <1D1AA9AA-7484-4C93-96E9-6E25C33BE2C0@sweattechnologies.com> References: <7A0CA685-CEB8-4CE4-A014-4FDD5EF5AAAB@derbrill.de> <4E826664-54C0-4C3D-BA84-D19BD981B446@sweattechnologies.com> <1D1AA9AA-7484-4C93-96E9-6E25C33BE2C0@sweattechnologies.com> Message-ID: <0DD16A50-E804-4DFF-9E6D-6F125F4E19F8@sweattechnologies.com> Anyone waning to patch their IDE also needs this handler changed in the Template Editor behavior: # Parameters # pObject : reference to the object to compile the script of. Must be one of the target objects. # Description # Attempts to compile the specified script. Does not apply it to the target object, instead # creates a temporary object and attemps to set the script of that. If compilation is successful # stores a map of handler names to line numbers for later use. # Returns # Empty if compilation suceeded, otherwise a list of errors. command scriptCompile pObject lock screen lock messages local tOldPreserveVariables, tOldExplicitVariables put the preserveVariables into tOldPreserveVariables put the explicitVariables into tOldExplicitVariables set the preserveVariables to sePrefGet("preserveVariables") local tScript scriptGet pObject put the result into tScript local tResult set the script of button "revCompileObject" of me to tScript put the result into tResult if tResult is empty then # MERG-2013-11-14: Compile without explicitVariables to avoid variable shadow errors if not the explicitVariables then set the explicitVariables to sePrefGet("explicitVariables") if not the explicitVariables then set the script of button "revCompileObject" of me to tScript put the result into tResult end if end if end if if tResult is empty then put the revAvailableHandlers of button "revCompileObject" of me into sHandlerList end if set the preserveVariables to tOldPreserveVariables set the explicitVariables to tOldExplicitVariables # The script should be unset because it could cause issues with idle handlers set the script of button "revCompileObject" of me to empty unlock messages unlock screen return tResult end scriptCompile -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From matsastrom at yahoo.se Thu Nov 14 06:09:56 2013 From: matsastrom at yahoo.se (Mats Yahoo) Date: Thu, 14 Nov 2013 12:09:56 +0100 Subject: DataGrid and cursors Message-ID: <73ECE20E-643A-47EC-9DDA-CAD353329BEA@yahoo.se> Hi Peter, I have tried the sample but GetDataForLine does not seem to get called when you use a Table, only when Form is used. Do you know if there is some way you can populate a Table DataGrid from a cursor in a similar manor? /Mats From: Peter Haworth To: How to use LiveCode Subject: Re: DataGrid and cursors Message-ID: Content-Type: text/plain; charset=ISO-8859-1 Hi Mats, The best way to deal with this for good performance is by using the datagrid dgNumberOfRecords property. Take a look at the "Advanced Options" section of the datagrid manual for more information and a link for a sample stack to download. I've used this technique a couple of times and it works well for large amounts of data. However, it's a bit tricky to implement since the datagrid stops using it's internal storage areas and the usual methods for getting data out of the datagrid (dgData,dgText) all return empty. Plus there are some not-so-obvious things you have to deal with yourself, for example you have to write your own sort handlers. Pete Pete lcSQL Software From roger.e.eller at sealedair.com Thu Nov 14 07:41:09 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Thu, 14 Nov 2013 07:41:09 -0500 Subject: [OT] Oldest RR/MC IDE that still works in your computer In-Reply-To: <1384387396299-4672302.post@n4.nabble.com> References: <1384387396299-4672302.post@n4.nabble.com> Message-ID: I have Revolution 1.1.1 for maintenance of an application created 12+ years ago (still used every day). I keep 4.0.0 installed to maintain 5 applications which rely on the now unsupported RevWeb Plug-in. I keep 5.5.5 installed because it was the last version before 6. And of course there's 6.1.x, and all of those prerelease versions. For current projects, I'll probably continue to use 6.1.2 as it has been working well so far. ~Roger On Nov 13, 2013 7:04 PM, "Alejandro Tejada" wrote: > Hi All, > > Just out of curiosity, How many of you still run older > versions of the Revolution/MetaCard IDE? > > Which is the oldest RR/MC IDE that still works in your computer? > > Thanks in advance! > > Al > > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/OT-Oldest-RR-MC-IDE-that-still-works-in-your-computer-tp4672302.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From roger.e.eller at sealedair.com Thu Nov 14 07:48:29 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Thu, 14 Nov 2013 07:48:29 -0500 Subject: [OT] Oldest RR/MC IDE that still works in your computer In-Reply-To: <1384387396299-4672302.post@n4.nabble.com> References: <1384387396299-4672302.post@n4.nabble.com> Message-ID: I think I mis-read what you are asking. Do you mean RR/MC IDE as in (RunRev engine + MetaCard IDE)? If so, my answer is none. I took / to mean or. ~Roger On Nov 13, 2013 7:04 PM, "Alejandro Tejada" wrote: > Hi All, > > Just out of curiosity, How many of you still run older > versions of the Revolution/MetaCard IDE? > > Which is the oldest RR/MC IDE that still works in your computer? > > Thanks in advance! > > Al > > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/OT-Oldest-RR-MC-IDE-that-still-works-in-your-computer-tp4672302.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From MikeKerner at roadrunner.com Thu Nov 14 08:40:47 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 14 Nov 2013 08:40:47 -0500 Subject: DataGrid and cursors In-Reply-To: <73ECE20E-643A-47EC-9DDA-CAD353329BEA@yahoo.se> References: <73ECE20E-643A-47EC-9DDA-CAD353329BEA@yahoo.se> Message-ID: Heck, I'll be happy when I can have over 500 records listed on mobile without the scroller screaming in pain On Thu, Nov 14, 2013 at 6:09 AM, Mats Yahoo wrote: > > Hi Peter, > > I have tried the sample but GetDataForLine does not seem to get called > when you use a Table, only when Form is used. > Do you know if there is some way you can populate a Table DataGrid from a > cursor in a similar manor? > > /Mats > > > > From: Peter Haworth > To: How to use LiveCode > Subject: Re: DataGrid and cursors > Message-ID: > > Content-Type: text/plain; charset=ISO-8859-1 > > Hi Mats, > The best way to deal with this for good performance is by using the > datagrid dgNumberOfRecords property. Take a look at the "Advanced Options" > section of the datagrid manual for more information and a link for a sample > stack to download. > > I've used this technique a couple of times and it works well for large > amounts of data. However, it's a bit tricky to implement since the > datagrid stops using it's internal storage areas and the usual methods for > getting data out of the datagrid (dgData,dgText) all return empty. Plus > there are some not-so-obvious things you have to deal with yourself, for > example you have to write your own sort handlers. > > Pete > > Pete > lcSQL Software > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From wilhelm.forchheim at freenet.de Thu Nov 14 09:01:20 2013 From: wilhelm.forchheim at freenet.de (Ruediger Wilhelm) Date: Thu, 14 Nov 2013 15:01:20 +0100 Subject: How to get rid of a front script; problem solved In-Reply-To: References: <000301cee098$44f9de80$ceed9b80$@forchheim@freenet.de> <5A85262A-673C-4839-AC1C-D0C41FC10B03@tactilemedia.com> <000701cee09e$9968cd40$cc3a67c0$@forchheim@freenet.de> Message-ID: <000001cee141$ff20da30$fd628e90$@forchheim@freenet.de> Hi Scott and Peter, thank you so much for developing my understanding of front scripts. I feel some what embarrassed as it finally turned out that there still was a hidden button containing the script. So thank you Scott for pointing out this possibility. You are doing a great job in helping unoriented newbes to LC. Regards Ruediger -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Scott Rossi Sent: Mittwoch, 13. November 2013 20:41 To: How to use LiveCode Subject: Re: How to get rid of a front script Hi Ruedger: Each line in the list you received is an object whose script is currently acting as a frontScript. If you script something like "put the short name of (line 1 of the frontScripts)" you will get the name of the button that appears in the first line of the frontScripts list. You say you deleted the button that contained your original frontScript. If this is really the case, it should be impossible for the script of that button to be operating for two reasons: the script isn't around anymore, and frontScripts are not persistent between launches. You have to insert frontScripts for them to be used. Perhaps you had multiple buttons named "btTest" or you have another object that contains the test script. Checking which frontScripts are loaded will show you. Regards, Scott Rossi Creative Director Tactile Media, UX Design On Nov 13, 2013, at 10:31 AM, "Ruediger Wilhelm" wrote: > Scott, > > the problem is, the button to remove the script from does not exist any > more. > > "put the frontScripts" shows a List of paths: > > button id 1117 of group id 1016 of card id 1002 of stack "C:/Program > Files/RunRev/LiveCode 6.1.2/Toolset/revlibrary.rev" > button id 1116 of group id 1016 of card id 1002 of stack "C:/Program > Files/RunRev/LiveCode 6.1.2/Toolset/revlibrary.rev" > button id 1042 of card id 1002 of stack "C:/Program Files/RunRev/LiveCode > 6.1.2/Toolset/revlibrary.rev" > stack "C:/Program Files/RunRev/LiveCode 6.1.2/Toolset/revdebugger.rev" > > What could I do with it? > > Ruedger > > > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf > Of Scott Rossi > Sent: Mittwoch, 13. November 2013 18:59 > To: How to use LiveCode > Subject: Re: How to get rid of a front script > > I believe you want something like "put the frontScripts" which will list all > frontScripts in the message box. > > Also, to remove a frontScript, you use: > remove script of button "xyz" from front > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > > On Nov 13, 2013, at 9:46 AM, "Ruediger Wilhelm" > wrote: > >> This again is the beginner's hope for help. >> >> For test purposes I created my first front script. >> >> I put the following script Into the button "btTest": >> >> on enterKey >> answer "You came via the front script" with OK >> go to card "myCard2" >> end enterKey >> >> In a field on the same card I put the following: >> >> on returnInField >> --some code her >> set the disabled of button "btLogin" to false >> insert script of button "btTest" into front >> focus on button "btLogin" >> end returnInField >> >> Later I learned about the property "default" of buttons, >> which does what I tried to reach with the above front script. >> So I deleted the button "btTest" and the insert script ... in >> the field. But this did not destroy the function of the >> front script. >> I closed and removed the stack from memory; >> I restarted LiveCode (6.1.2 commercial); >> I restarted the PC (Windows Vista). >> >> Is there a way to see the effective frontscripts of a stack? >> >> Thanks in advance for any hints. >> >> Ruediger >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at 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 at 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 at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From pete at lcsql.com Thu Nov 14 10:52:07 2013 From: pete at lcsql.com (Peter Haworth) Date: Thu, 14 Nov 2013 07:52:07 -0800 Subject: DataGrid and cursors In-Reply-To: <73ECE20E-643A-47EC-9DDA-CAD353329BEA@yahoo.se> References: <73ECE20E-643A-47EC-9DDA-CAD353329BEA@yahoo.se> Message-ID: Hi Mats, My experience with it has always been with tables so not sure why it's not working for you. Only thing I can think of is to be sure dgNumberOfRecords of the data grid is a non-zero value. Pete lcSQL Software On Nov 14, 2013 3:09 AM, "Mats Yahoo" wrote: > > Hi Peter, > > I have tried the sample but GetDataForLine does not seem to get called > when you use a Table, only when Form is used. > Do you know if there is some way you can populate a Table DataGrid from a > cursor in a similar manor? > > /Mats > > > > From: Peter Haworth > To: How to use LiveCode > Subject: Re: DataGrid and cursors > Message-ID: > > Content-Type: text/plain; charset=ISO-8859-1 > > Hi Mats, > The best way to deal with this for good performance is by using the > datagrid dgNumberOfRecords property. Take a look at the "Advanced Options" > section of the datagrid manual for more information and a link for a sample > stack to download. > > I've used this technique a couple of times and it works well for large > amounts of data. However, it's a bit tricky to implement since the > datagrid stops using it's internal storage areas and the usual methods for > getting data out of the datagrid (dgData,dgText) all return empty. Plus > there are some not-so-obvious things you have to deal with yourself, for > example you have to write your own sort handlers. > > Pete > > Pete > lcSQL Software > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From gregory.lypny at videotron.ca Thu Nov 14 10:55:34 2013 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Thu, 14 Nov 2013 10:55:34 -0500 Subject: Need Help Getting LiveCode Server to Write to a File In-Reply-To: References: Message-ID: <0E9DF441-39A7-4C5F-BC05-1D93DCB4DDF5@videotron.ca> Thank you, Devin, Works like a charm. Hadn't used the double-period (..) for file paths for a long time. Next item on the agenda will be to learn about externals. Mathematica code can be saved in C, so I?d like to explore an external that generates Mathematica plots for insertion into a LiveCode stack. Thanks again, Gregory Lypny Finance Department John Molson School of Business Concordia University On Thu, Nov 14, 2013, at 4:53 AM, use-livecode-request at lists.runrev.com wrote: > Something like this should work then: > > put "foo" into url "file:../Share/httpd/myfile.txt" > > Just use .. to backtrack up the directory structure from the default folder. > > Devin From pete at lcsql.com Thu Nov 14 11:06:13 2013 From: pete at lcsql.com (Peter Haworth) Date: Thu, 14 Nov 2013 08:06:13 -0800 Subject: Name shadows another variable error In-Reply-To: <7A0CA685-CEB8-4CE4-A014-4FDD5EF5AAAB@derbrill.de> References: <7A0CA685-CEB8-4CE4-A014-4FDD5EF5AAAB@derbrill.de> Message-ID: Glad we're starting to home in on this longstanding issue. Seems that Malte's recipe reproduces the problem but I see it happening in different circumstances, not involving globals. In my case, a variable with the same name is defined in one or more handlers in the scripts of several different objects, all of which are open in the script editor. Most of the time, this doesn't cause a problem but then an apply on one of the scripts suddenly throws the error. Monte - maybe your fix handles that too? Pete lcSQL Software On Nov 14, 2013 12:35 AM, "Malte Brill" wrote: > Hi all, > > the easiest way for me to trigger the shadow Bug, is to change the scope > of the variable from global to local > > in a card script: > > global tBoo > > on openCard > put "moo" into tBoo > end openCard > > hit apply, change script to > > on openCard > local tBoo > put "moo" into tBoo > end openCard > > hit apply. > > Cheers, > > Malte > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mwieder at ahsoftware.net Thu Nov 14 11:24:54 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 14 Nov 2013 08:24:54 -0800 Subject: Name shadows another variable error In-Reply-To: <7A0CA685-CEB8-4CE4-A014-4FDD5EF5AAAB@derbrill.de> References: <7A0CA685-CEB8-4CE4-A014-4FDD5EF5AAAB@derbrill.de> Message-ID: <110742288092.20131114082454@ahsoftware.net> Malte- Thursday, November 14, 2013, 12:35:13 AM, you wrote: > the easiest way for me to trigger the shadow Bug, is to change > the scope of the variable from global to local That, I think, is a completely separate issue, and is easily explainable. When you compile a script with a global variable, that variable exists in memory. Global variables have a er... global... scope, so they are in the engine's memory space, not the stack's. You can close the stack and the global variable still persists. So changing the script will trigger an error because there is still a global variable by the same name in memory. The way to get rid of the error would be to delete the global memory before changing the script: from the messagebox global tBoo; delete variable tBoo and then you can change tBoo from global to local -- -Mark Wieder ahsoftware at gmail.com From mwieder at ahsoftware.net Thu Nov 14 11:39:58 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 14 Nov 2013 08:39:58 -0800 Subject: Name shadows another variable error In-Reply-To: <110742288092.20131114082454@ahsoftware.net> References: <7A0CA685-CEB8-4CE4-A014-4FDD5EF5AAAB@derbrill.de> <110742288092.20131114082454@ahsoftware.net> Message-ID: <43743192316.20131114083958@ahsoftware.net> Mark- Thursday, November 14, 2013, 8:24:54 AM, I wrote: >> the easiest way for me to trigger the shadow Bug, is to change >> the scope of the variable from global to local > That, I think, is a completely separate issue, and is easily > explainable. Of course, this probably begs the question as to why the process of compiling a script needs to create a global variable in the first place, or why it can't clean up the mess afterwards. -- -Mark Wieder ahsoftware at gmail.com From rdimola at evergreeninfo.net Thu Nov 14 12:02:17 2013 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Thu, 14 Nov 2013 12:02:17 -0500 Subject: Name shadows another variable error In-Reply-To: References: <7A0CA685-CEB8-4CE4-A014-4FDD5EF5AAAB@derbrill.de> Message-ID: <002701cee15b$46364b80$d2a2e280$@net> I too see it happening with other than globals. I don't have a recipe but locals in/out of a specific hander in the same tab can also cause this. When and where? Can't nail that one down yet. I thought that my reproducible recipe might point to an ah-ha light bulb moment. One can only wish..... Note: I have never seen this across object scripts. It's always in just one tab (for me anyway). Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Peter Haworth Sent: Thursday, November 14, 2013 11:06 AM To: How to use LiveCode Subject: Re: Name shadows another variable error Glad we're starting to home in on this longstanding issue. Seems that Malte's recipe reproduces the problem but I see it happening in different circumstances, not involving globals. In my case, a variable with the same name is defined in one or more handlers in the scripts of several different objects, all of which are open in the script editor. Most of the time, this doesn't cause a problem but then an apply on one of the scripts suddenly throws the error. Monte - maybe your fix handles that too? Pete lcSQL Software On Nov 14, 2013 12:35 AM, "Malte Brill" wrote: > Hi all, > > the easiest way for me to trigger the shadow Bug, is to change the > scope of the variable from global to local > > in a card script: > > global tBoo > > on openCard > put "moo" into tBoo > end openCard > > hit apply, change script to > > on openCard > local tBoo > put "moo" into tBoo > end openCard > > hit apply. > > Cheers, > > Malte > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From capellan2000 at gmail.com Thu Nov 14 12:12:07 2013 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Thu, 14 Nov 2013 09:12:07 -0800 (PST) Subject: [OT] Oldest RR/MC IDE that still works in your computer In-Reply-To: References: <1384387396299-4672302.post@n4.nabble.com> Message-ID: <1384449127795-4672331.post@n4.nabble.com> Hi Roger Roger Eller wrote > I think I mis-read what you are asking. Do you mean RR/MC IDE as in > (RunRev > engine + MetaCard IDE)? If so, my answer is none. I took / to mean or. Actually, your answer is exactly what I was asking for. :) Many thanks! Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-Oldest-RR-MC-IDE-that-still-works-in-your-computer-tp4672302p4672331.html Sent from the Revolution - User mailing list archive at Nabble.com. From capellan2000 at gmail.com Thu Nov 14 12:21:47 2013 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Thu, 14 Nov 2013 09:21:47 -0800 (PST) Subject: [OT] Oldest RR/MC IDE that still works in your computer In-Reply-To: <1384449127795-4672331.post@n4.nabble.com> References: <1384387396299-4672302.post@n4.nabble.com> <1384449127795-4672331.post@n4.nabble.com> Message-ID: <1384449707192-4672332.post@n4.nabble.com> More precisely: Roger, your answer is exactly the kind of response that I was looking for this question. Many Thanks! :D Richmmond, many thanks for your answer. PPC Macs should last forever! (At least, we keep the hope...) Anyone else still runs many versions of RR and/or MC in different hardware? Thanks in advance! Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-Oldest-RR-MC-IDE-that-still-works-in-your-computer-tp4672302p4672332.html Sent from the Revolution - User mailing list archive at Nabble.com. From heather at runrev.com Thu Nov 14 12:38:13 2013 From: heather at runrev.com (Heather Laine) Date: Thu, 14 Nov 2013 17:38:13 +0000 Subject: MegaBundle is Back Message-ID: <3C4D81AA-D852-4409-BCF5-6B4B6EB1B177@runrev.com> Dear All, Just a heads up that we are running a Xmas MegaBundle this year. You can find out more here: http://eepurl.com/IPzPn If you love the third party vendor products, now is your chance to get them! Also, we have changed the name of the Marketplace to Extensions. We felt this was more descriptive of what these products are. Regards, Heather Heather Laine Customer Services Manager http://www.livecode.com/ From effendi at wanadoo.fr Thu Nov 14 13:05:17 2013 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Thu, 14 Nov 2013 19:05:17 +0100 Subject: =?windows-1252?Q?Invitation_to_upgrade_=85=85=2E=2E?= Message-ID: Hi from Beautiful Brittany, For some time now, an icon appears in my dock (Mac) which I did not put there, and which executes from time to time (when I run a LiveCode stack), and which incites me to make a decision : It is called "LiveCode Setup" - and invites me to upgrade LiveCode. ?.. "Remind me Later" - "Skip This Version" - "Update Now" ?. I tried to remove it from my dock - Doesn't work ! I tried to find the app "LiveCode Installer" to delete it - no GO ! I tried "Skip this version" - Ignores - same message again later. I have LiveCode 5.5 - I don't want LiveCode 6.1.3 or 6.5.0-rc-3. I imagine that the mechanism is triggered by my running 5.5. Does anybody know how to get rid of this annoying message, apart from buying the LiveCode update, of course ! ! Sigh ! -Francis "Nothing should ever be done for the first time !" From ben at runrev.com Thu Nov 14 13:06:26 2013 From: ben at runrev.com (Benjamin Beaumont) Date: Thu, 14 Nov 2013 18:06:26 +0000 Subject: RELEASE LiveCode 6.5 RC4 Message-ID: Dear List Members, LiveCode 6.5.0-rc-4 is now available. Our current plan is to move to GM early next week so we would encourage all LiveCode users to test this release candidate with your projects to ensure it is free of any issues that effect you. If you do encounter an issue, please report it at quality.runrev.com. *Warning, there still may be bugs in this pre-release. * It is always good practice to back up your stacks before testing. *Release Contents* This beta release contains the following changes: Server graphics support Full screen scaling mode. PCRE library updated to version 8.33 libUrlSetSSLVerification now supported on mobile platforms Resolution Independence New global property colorDialogColors Integration of revFont external Enhanced \'filter\' command Text Measurement The optional *recursively* adverb has been added to union and intersect commands Xpath functions 49 bug fixes: 11436 - Standalone builder still has option for Armv6 iOS builds 11426 - When drawing opaque round rectangles the fill overlaps the stroke 11422 - Multiply blend mode incorrect 11415 - Random issues with text layout and alignment. 11413 - Text clipped vertically on iOS for certain fonts (updated fix for iOS 6) 11320 - Player rect not adjusted by stack scroll when redrawing on OSX 11197 - Crash when attempting to print to file on linux. 11397 - Imagedata of resized images returned at wrong scale 11393 - Fullscreen modes cause clipped text on Windows 11390 - Fix incorrect cropping of resized image 11389 - Dashed borders on oval grapgics do not start at the correct location 11388 - 1 pixel non-antialiased lines draw incorrectly in certain circumstances 11360 - Linux themeing does not correctly work on non 32bit displays 11355 - Focus border on Windows default button has artefacts. 10508 - Printing text to PDF on Windows can result in poor layout. 11367 - Gradient inspector does not draw fully 11359 - Redraw issues with inner glow and inner shadow. 11351 - \"recursively\" option for array union and intersect not working. 11349 - Content outside of card rect can be seen in show all fullscreenmode when acceleratedRendering is true. 11338 - Character backColor not rendered in fields. 11336 - The fullscreenModes are now camel-case. 11335 - In fullscreen mode on Mac, the window resize handle still appears. 11332 - Text not rendered in correct location in -ui mode when taking snapshot of object. 11330 - Visual effects not displayed correctly on iOS when fullscreenmode is \'no border\', and stack extends outside of the visible screen. 11329 - Dynamic layers do not render correctly when fullscreenmode causes stack to not be at top-left of screen. 11327 - Opening large scripts takes longer in 6.5 than 6.1.2 11325 - Graphic effects rendered incorrectly when non-Normal blend mode used. 11324 - Borders still rendered even if borderWidth == 0. 11315 - Instability of LiveCode when gradients are being / have been displayed. 11314 - Image transparency is lost when setting the imagedata 11299 - Answer folder for XCode app bundle has a typo 11198 - Fix color issues on PowerPC Mac 11174 - Conical spiral XY and sqrtXY gradients render incorrectly. 11310 - Italic fonts clipped on right hand side on iOS 11309 - Text clips for certain fonts on Mac 11297 - Setting the color of a graphic effect resets its opacity 11283 - Italic fonts are not rendered on Mac. 11280 - Project browser does not expand cards of substacks 11241 - Non-3D borders are always black. 11227 - Android native controls are positioned incorrectly. 11221 - Field background pattern not working. 11179 - Images with an angle other than 0 are not drawn. 11178 - Import from paint always fails. 11176 - MouseDoubleUp messages are not sent on Linux. 10995 - Standalones now set default font settings the same as the IDE. 10980 - Setting the filename of an image which already has a filename causes the property to be unset and \'could not load image\' in the result. 10977 - Setting the image filename to empty unsets the image text and vice-versa 10964 - Inconsistent rounding of floating point values. 6720 - Scrollbar properties not returned in correct format. *Getting this release* To upgrade to this release please select "check for updates" from the help menu in LiveCode or download the installers directly at: http://downloads.livecode.com/livecode/6_5_0/ Warm regards, The LiveCode Team. From m.schonewille at economy-x-talk.com Thu Nov 14 13:11:14 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 14 Nov 2013 19:11:14 +0100 Subject: Invitation to upgrade =?windows-1252?Q?=85=85=2E=2E?= In-Reply-To: References: Message-ID: <52851242.8060909@economy-x-talk.com> Hi Francis, This app is inside LiveCode.app. Every time when you update LiveCode, this option gets reset and the updater will appear again. I guess it is best to delete it before you start LiveCode for the first time. It is extremely annoying. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi Fill out this survey please http://livecodebeginner.economy-x-talk.com/survey/ On 11/14/2013 19:05, Francis Nugent Dixon wrote: > Hi from Beautiful Brittany, > > For some time now, an icon appears in my dock (Mac) which I did > not put there, and which executes from time to time (when I run > a LiveCode stack), and which incites me to make a decision : > > It is called "LiveCode Setup" - and invites me to upgrade LiveCode. > > ?.. "Remind me Later" - "Skip This Version" - "Update Now" ?. > > I tried to remove it from my dock - Doesn't work ! > I tried to find the app "LiveCode Installer" to delete it - no GO ! > I tried "Skip this version" - Ignores - same message again later. > > I have LiveCode 5.5 - I don't want LiveCode 6.1.3 or 6.5.0-rc-3. > > I imagine that the mechanism is triggered by my running 5.5. > > Does anybody know how to get rid of this annoying message, > apart from buying the LiveCode update, of course ! ! > > Sigh ! > > -Francis > From matthias_livecode_150811 at m-r-d.de Thu Nov 14 13:26:23 2013 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Thu, 14 Nov 2013 19:26:23 +0100 Subject: =?windows-1252?Q?Re=3A_Invitation_to_upgrade_=85=85=2E=2E?= In-Reply-To: References: Message-ID: <973E5A5C-AF53-46FD-BF9E-9AF1052FD765@m-r-d.de> Hi Francis, in the Livecode preferences under UPDATES you are able to select if you want to be notified of stable/maintenance/beta and/or development releases. And version 5.5.5 even offers an option "never notify me of releases". Regards, Matthias Rebbe Am 14.11.2013 um 19:05 schrieb Francis Nugent Dixon : > Hi from Beautiful Brittany, > > For some time now, an icon appears in my dock (Mac) which I did > not put there, and which executes from time to time (when I run > a LiveCode stack), and which incites me to make a decision : > > It is called "LiveCode Setup" - and invites me to upgrade LiveCode. > > ?.. "Remind me Later" - "Skip This Version" - "Update Now" ?. > > I tried to remove it from my dock - Doesn't work ! > I tried to find the app "LiveCode Installer" to delete it - no GO ! > I tried "Skip this version" - Ignores - same message again later. > > I have LiveCode 5.5 - I don't want LiveCode 6.1.3 or 6.5.0-rc-3. > > I imagine that the mechanism is triggered by my running 5.5. > > Does anybody know how to get rid of this annoying message, > apart from buying the LiveCode update, of course ! ! > > Sigh ! > > -Francis > > "Nothing should ever be done for the first time !" > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode Matthias Rebbe Tel: +49 5741 310000 +49 160 5504462 eMail: matthias underscore livecode underscore 150811 at m dash r dash d dot de From lvhdgc7 at gmail.com Thu Nov 14 13:30:20 2013 From: lvhdgc7 at gmail.com (tbodine) Date: Thu, 14 Nov 2013 10:30:20 -0800 (PST) Subject: Why does this line work in IDE, fail in standalone? Message-ID: <1384453820387-4672338.post@n4.nabble.com> Hi gurus. This line of code copies a button to a new stack. Works great in the IDE. Fails in my standalone (v6.1.1, Windows XP). copy button "Master Round" of card "Home" to card "index" of stack gActiveFile I also tried: clone button "Master Round" of card "Home" to card "index" of stack gActiveFile They fail in slightly different ways: I used newButton message to detect any action, and copy does not fire the newButton handler, but clone does. However, neither copy or clone creates the button in the target stack in the standalone. The target stack (gActiveFile) is a new, empty stack created as a user data file. Thanks for any help! Been hammering on this for hours and hours. Tom Bodine -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Why-does-this-line-work-in-IDE-fail-in-standalone-tp4672338.html Sent from the Revolution - User mailing list archive at Nabble.com. From klaus at major-k.de Thu Nov 14 13:35:39 2013 From: klaus at major-k.de (Klaus major-k) Date: Thu, 14 Nov 2013 19:35:39 +0100 Subject: Why does this line work in IDE, fail in standalone? In-Reply-To: <1384453820387-4672338.post@n4.nabble.com> References: <1384453820387-4672338.post@n4.nabble.com> Message-ID: Hi Tom, Am 14.11.2013 um 19:30 schrieb tbodine : > Hi gurus. > > This line of code copies a button to a new stack. Works great in the IDE. > Fails in my standalone (v6.1.1, Windows XP). > > copy button "Master Round" of card "Home" to card "index" of stack > gActiveFile > > I also tried: > > clone button "Master Round" of card "Home" to card "index" of stack > gActiveFile > > They fail in slightly different ways: I used newButton message to detect any > action, and copy does not fire the newButton handler, but clone does. > However, neither copy or clone creates the button in the target stack in the > standalone. > > The target stack (gActiveFile) is a new, empty stack created as a user data > file. > > Thanks for any help! Been hammering on this for hours and hours. is the standalone stack password protected or its "cantmodify" checked? If yes, I think you cannot copy from or to this stack! > Tom Bodine Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From richmondmathewson at gmail.com Thu Nov 14 13:41:48 2013 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 14 Nov 2013 20:41:48 +0200 Subject: RELEASE LiveCode 6.5 RC4 In-Reply-To: References: Message-ID: <5285196C.7000902@gmail.com> How about badging both the splash screen and the icons with numbers so that things are a wee bit easier to keep track of? Richmond. From jhj at jhj.com Thu Nov 14 13:42:45 2013 From: jhj at jhj.com (Jerry Jensen) Date: Thu, 14 Nov 2013 10:42:45 -0800 Subject: =?windows-1252?Q?Re=3A_Invitation_to_upgrade_=85=85=2E=2E?= In-Reply-To: <973E5A5C-AF53-46FD-BF9E-9AF1052FD765@m-r-d.de> References: <973E5A5C-AF53-46FD-BF9E-9AF1052FD765@m-r-d.de> Message-ID: <20707583-E5E7-48A3-BB1A-B908A5DA0693@jhj.com> On Nov 14, 2013, at 10:26 AM, Matthias Rebbe wrote: > And version 5.5.5 even offers an option "never notify me of releases" AH! Thanks for that. I didn't know it existed. I have a machine running mostly unattended in kiosk mode and it doesn't do well when revinstaller launches. I used to have to check in with it every time I saw an update show up on my main machine. Thanks again, Jerry From lvhdgc7 at gmail.com Thu Nov 14 14:01:11 2013 From: lvhdgc7 at gmail.com (tbodine) Date: Thu, 14 Nov 2013 11:01:11 -0800 (PST) Subject: Why does this line work in IDE, fail in standalone? In-Reply-To: References: <1384453820387-4672338.post@n4.nabble.com> Message-ID: <1384455671924-4672342.post@n4.nabble.com> Ah. Yes, I just added pw protect for the stack that contains the source button "Master Round", though the destination stack is not protected, so I see the logic of blocking the copy routine. Hmmm. I'll try making an unprotected "parts" stack and copy from that to the user file. Thanks Klaus! You rock! -- Tom Bodine -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Why-does-this-line-work-in-IDE-fail-in-standalone-tp4672338p4672342.html Sent from the Revolution - User mailing list archive at Nabble.com. From rjb at robelko.com Thu Nov 14 13:50:19 2013 From: rjb at robelko.com (Robert Brenstein) Date: Thu, 14 Nov 2013 19:50:19 +0100 Subject: [OT] Oldest RR/MC IDE that still works in your computer In-Reply-To: <1384449707192-4672332.post@n4.nabble.com> References: <1384387396299-4672302.post@n4.nabble.com> <1384449127795-4672331.post@n4.nabble.com> <1384449707192-4672332.post@n4.nabble.com> Message-ID: On 14.11.2013 at 9:21 Uhr -0800 Alejandro Tejada apparently wrote: > >Anyone else still runs many versions of >RR and/or MC in different hardware? I am still running one old project, a custom content management system used by some 30-40 people for the past 10-12 years, under Rev 2.6.1 with Metacard IDE on a G4 tower under MacOS9. I keep working to upgrade it to OSX for past couple years, but have only small window twice a year to make the jump and so far not enough time for a major rewrite which is required, although I am making steady progress refactoring and modularizing the code. RObert From jacque at hyperactivesw.com Thu Nov 14 14:50:42 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 14 Nov 2013 13:50:42 -0600 Subject: Why does this line work in IDE, fail in standalone? In-Reply-To: <1384455671924-4672342.post@n4.nabble.com> References: <1384453820387-4672338.post@n4.nabble.com> <1384455671924-4672342.post@n4.nabble.com> Message-ID: <52852992.4030007@hyperactivesw.com> On 11/14/13 1:01 PM, tbodine wrote: > Ah. Yes, I just added pw protect for the stack that contains the source > button "Master Round", though the destination stack is not protected, so I > see the logic of blocking the copy routine. Hmmm. I'll try making an > unprotected "parts" stack and copy from that to the user file. You might be able to do it in the script without needing another stack, but I haven't tested it: put the password of this stack into tPass set the password of this stack to empty copy btn x to stack y set the password of this stack to tPass Worth a try anyway. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From lvhdgc7 at gmail.com Thu Nov 14 15:20:53 2013 From: lvhdgc7 at gmail.com (tbodine) Date: Thu, 14 Nov 2013 12:20:53 -0800 (PST) Subject: Why does this line work in IDE, fail in standalone? In-Reply-To: <52852992.4030007@hyperactivesw.com> References: <1384453820387-4672338.post@n4.nabble.com> <1384455671924-4672342.post@n4.nabble.com> <52852992.4030007@hyperactivesw.com> Message-ID: <1384460452998-4672345.post@n4.nabble.com> Thanks for that idea. My plan B went bust, so I'll try what you proposed. Now that I've thought more about this problem, it is a big one for me. I use copy and clone in several key operations between the user's stack/file and the main program. Thanks! -- Tom Bodine -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Why-does-this-line-work-in-IDE-fail-in-standalone-tp4672338p4672345.html Sent from the Revolution - User mailing list archive at Nabble.com. From pete at lcsql.com Thu Nov 14 15:24:53 2013 From: pete at lcsql.com (Peter Haworth) Date: Thu, 14 Nov 2013 12:24:53 -0800 Subject: Why does this line work in IDE, fail in standalone? In-Reply-To: <52852992.4030007@hyperactivesw.com> References: <1384453820387-4672338.post@n4.nabble.com> <1384455671924-4672342.post@n4.nabble.com> <52852992.4030007@hyperactivesw.com> Message-ID: I'm learning more about password protection! Up to now, I thought it only affected access to scripts in the protected stack but I see now that it affects copying controls to another stack. Any other operations that it affects? I'm also curious as to why there wasn't some sort of error flagged on the copy/clone operation, or maybe there was but it wasn't checked in the script. Pete lcSQL Software On Thu, Nov 14, 2013 at 11:50 AM, J. Landman Gay wrote: > On 11/14/13 1:01 PM, tbodine wrote: > >> Ah. Yes, I just added pw protect for the stack that contains the source >> button "Master Round", though the destination stack is not protected, so I >> see the logic of blocking the copy routine. Hmmm. I'll try making an >> unprotected "parts" stack and copy from that to the user file. >> > > You might be able to do it in the script without needing another stack, > but I haven't tested it: > > put the password of this stack into tPass > set the password of this stack to empty > copy btn x to stack y > set the password of this stack to tPass > > Worth a try anyway. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From Nakia.Brewer at westrac.com.au Thu Nov 14 15:31:57 2013 From: Nakia.Brewer at westrac.com.au (Nakia Brewer) Date: Thu, 14 Nov 2013 20:31:57 +0000 Subject: MegaBundle is Back In-Reply-To: <3C4D81AA-D852-4409-BCF5-6B4B6EB1B177@runrev.com> References: <3C4D81AA-D852-4409-BCF5-6B4B6EB1B177@runrev.com> Message-ID: <67116DB20798A94285EEE12A67079A283262C9B4@MHSEXC02.westrac.com.au> Does anyone have any screenshots of what WheelLib is and looks like? -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Heather Laine Sent: Friday, 15 November 2013 04:38 To: How to use LiveCode Subject: MegaBundle is Back Dear All, Just a heads up that we are running a Xmas MegaBundle this year. You can find out more here: http://eepurl.com/IPzPn If you love the third party vendor products, now is your chance to get them! Also, we have changed the name of the Marketplace to Extensions. We felt this was more descriptive of what these products are. Regards, Heather Heather Laine Customer Services Manager http://www.livecode.com/ _______________________________________________ use-livecode mailing list use-livecode at 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. From stephenREVOLUTION2 at barncard.com Thu Nov 14 15:40:47 2013 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Thu, 14 Nov 2013 12:40:47 -0800 Subject: MegaBundle is Back In-Reply-To: <67116DB20798A94285EEE12A67079A283262C9B4@MHSEXC02.westrac.com.au> References: <3C4D81AA-D852-4409-BCF5-6B4B6EB1B177@runrev.com> <67116DB20798A94285EEE12A67079A283262C9B4@MHSEXC02.westrac.com.au> Message-ID: ?I imagine it would be this control: https://code.google.com/p/android-wheel/? On Thu, Nov 14, 2013 at 12:31 PM, Nakia Brewer wrote: > Does anyone have any screenshots of what WheelLib is and looks like? > -- Stephen Barncard San Francisco Ca. USA more about sqb From andrew at ctech.me Thu Nov 14 16:03:03 2013 From: andrew at ctech.me (Andrew Kluthe) Date: Thu, 14 Nov 2013 15:03:03 -0600 Subject: Standalones and Linux Message-ID: Hey Ya'll, I have some specific questions from you folk that are using livecode on various linux distros. Is there anyway I can remove the theming that livecode applications inherit from the system on linux? We have a stand alone that was designed for windows and when I stick that on a fresh-out-the-can ubuntu 12.04 the fonts, buttons etc are incredibly ugly. All of my buttons turn orange and the fonts as a whole get very large. Some of these things like the fonts I know will have to be reworked for the linux verson but I can hardly stand all of my buttons being orange by default. Is there a way to turn off livecode doing this kind of theming of my apps? -- Regards, Andrew Kluthe andrew at ctech.me From lvhdgc7 at gmail.com Thu Nov 14 16:16:59 2013 From: lvhdgc7 at gmail.com (tbodine) Date: Thu, 14 Nov 2013 13:16:59 -0800 (PST) Subject: Why does this line work in IDE, fail in standalone? In-Reply-To: References: <1384453820387-4672338.post@n4.nabble.com> <1384455671924-4672342.post@n4.nabble.com> <52852992.4030007@hyperactivesw.com> Message-ID: <1384463819711-4672350.post@n4.nabble.com> Hi Pete. Up to now, I thought it only affected access to scripts in the protected stack but I see now that it affects copying controls to another stack. Any other operations that it affects? I'm also curious as to why there wasn't some sort of error flagged on the copy/clone operation, or maybe there was but it wasn't checked in the script. Copy operation gives this result: "can't cut object (stack is password protected)" Clone operation result: none given On closer inspection, I see it DOES make a clone, but not in the target stack. It clones it to the source card. I just tried Jackie's idea of temporarily turning off the password during the copy/clone. No help. That generated the error: can't find handler. My original workaround of a separate, unprotected stack is not going to work , because elsewhere in the program I need to copy groups of controls between the user file/stack and the main (protected) stack. Any other ideas? Tom Bodine -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Why-does-this-line-work-in-IDE-fail-in-standalone-tp4672338p4672350.html Sent from the Revolution - User mailing list archive at Nabble.com. From marc.vancauwenberghe at pandora.be Thu Nov 14 16:22:13 2013 From: marc.vancauwenberghe at pandora.be (Marc Van Cauwenberghe) Date: Thu, 14 Nov 2013 22:22:13 +0100 Subject: MegaBundle is Back In-Reply-To: <67116DB20798A94285EEE12A67079A283262C9B4@MHSEXC02.westrac.com.au> References: <3C4D81AA-D852-4409-BCF5-6B4B6EB1B177@runrev.com> <67116DB20798A94285EEE12A67079A283262C9B4@MHSEXC02.westrac.com.au> Message-ID: Have s look here http://www.ekkotek.com/index.php/features/livecode-tools Marc Verstuurd vanaf mijn iPhone > Op 14-nov.-2013 om 21:31 heeft Nakia Brewer het volgende geschreven: > > Does anyone have any screenshots of what WheelLib is and looks like? > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Heather Laine > Sent: Friday, 15 November 2013 04:38 > To: How to use LiveCode > Subject: MegaBundle is Back > > Dear All, > > Just a heads up that we are running a Xmas MegaBundle this year. You can find out more here: > > http://eepurl.com/IPzPn > > If you love the third party vendor products, now is your chance to get them! > > Also, we have changed the name of the Marketplace to Extensions. We felt this was more descriptive of what these products are. > > Regards, > > Heather > > Heather Laine > Customer Services Manager > http://www.livecode.com/ > > > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From effendi at wanadoo.fr Thu Nov 14 16:25:02 2013 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Thu, 14 Nov 2013 22:25:02 +0100 Subject: Invitation to upgrade ?? Message-ID: <25894848-D58C-4907-BA82-AA4DFB841DB4@wanadoo.fr> Hi from Beautiful Brittany, Thanks to Mark and Matthias ! Problem solved. Best Regards -Francis From ambassador at fourthworld.com Thu Nov 14 16:33:18 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 14 Nov 2013 13:33:18 -0800 Subject: Standalones and Linux In-Reply-To: References: Message-ID: <5285419E.7020307@fourthworld.com> Andrew Kluthe wrote: > Is there anyway I can remove the theming that livecode applications inherit > from the system on linux? > > We have a stand alone that was designed for windows and when I stick that > on a fresh-out-the-can ubuntu 12.04 the fonts, buttons etc are incredibly > ugly. All of my buttons turn orange and the fonts as a whole get very > large. Some of these things like the fonts I know will have to be reworked > for the linux verson but I can hardly stand all of my buttons being orange > by default. > > Is there a way to turn off livecode doing this kind of theming of my apps? By default, LiveCode does a pretty good job of adopting the themes on whatever OS it's running on: Windows looks like Windows, Mac looks like Mac, and Ubuntu looks like Ubuntu. If you want to make a Mac app look like Ubuntu, or an Ubuntu app look like Windows, you can explicitly set the properties you want to change. For example, Ubuntu users are accustomed to seeing the OS theme color orange for highlights, but you can set the hiliteColor of controls to something else if you want. -- 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 From skip at magicgate.com Thu Nov 14 16:35:04 2013 From: skip at magicgate.com (Magicgate Software - Skip Kimpel) Date: Thu, 14 Nov 2013 16:35:04 -0500 Subject: [ANN] FieldFormatter released In-Reply-To: References: Message-ID: I just purchased this... will you be sending me an email with my registration info / download? On Mon, Nov 11, 2013 at 11:59 AM, FlexibleLearning.com < admin at flexiblelearning.com> wrote: > www.flexiblelearning.com/fieldformatter > > I am delighted to announce that FieldFormatter is now publically available > with 28 new field properties to differentiate data from display. > > It is LC-Community compatible for single user unlimited personal and > commercial use, and includes an IDE palette, full documentation plus > example > stacks to investigate. > > FieldFormatter is an appropriate solution if you want to automatically > display... > . Decimal place precision > . Different decimal and thousands separators > . Percentages > . Scientific notation > . Accountancy notation > . Duration in hours, minutes and seconds > . Privatised text > . Default text > . Currency or any unit of measure > . Value conversions > . Negative format & color > . SQL Julian dates > > My thanks to all those who have "field-tested" during development! > > I am sure we can add additional functionality in future releases so even > more choice and control over how data is presented can be made available. > Meanwhile this release should cover most of the bases for most people most > of the time. > > Hugh Senior > FLCo > > FIELDFORMATTER: www.flexiblelearning.com/fieldformatter > CHARTMAKER: www.flexiblelearning.com/chartmaker > DATEPICKER: www.flexiblelearning.com/datepicker > THE SCRTIPTER's SCRAPBOOK: www.flexiblelearning.om/ssbk.htm > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ambassador at fourthworld.com Thu Nov 14 16:36:12 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 14 Nov 2013 13:36:12 -0800 Subject: MegaBundle is Back In-Reply-To: References: Message-ID: <5285424C.3010805@fourthworld.com> Marc Van Cauwenberghe wrote: > Have s look here > http://www.ekkotek.com/index.php/features/livecode-tools Is that your site? If so, the matrix lib is interesting to me, if it had some extensions. I have a project on the horizon in which I'll need to work with eigen vectors, specifically for singlular-value decomposition. Any plans in the works for something that specialized? -- 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 From mikedoub at gmail.com Thu Nov 14 16:37:05 2013 From: mikedoub at gmail.com (Michael Doub) Date: Thu, 14 Nov 2013 16:37:05 -0500 Subject: Livecode Server on a Mac running OSX 10.9 In-Reply-To: References: <1657A5AB-DEA1-4E03-858F-F422995995B9@gmail.com> Message-ID: Something must be very different now with the MAMP package. I installed it as you suggested but it put everything in: /Users/mike/Library/Containers/com.bitnami.mampstack/Data/app/ except the MAMP application bundle which is in the applications directory. I made the changes indicated below and the server failed to start with exit code 1. Do you see my error? -= Mike On Nov 13, 2013, at 12:58 PM, kee nethery wrote: > > inside that folder put the contents of the livecode community server. > > MAMP > cgi-bin > livecode-cgi > drivers > externals > livecode-community-server Under this base URL = /Users/mike/Library/Containers/com.bitnami.mampstack/Data/app/ I have the following: Apache2 cgi-bin live code-cgi drivers externals live code-community-server conf extra https.conf ? this is the file that MAMP pulls up from their configuration interface button ? htdocs test.lc index.html ? default page that is displayed when successfully tested the MAMP installation ?. logs You had the cgi-bin directory in parallel with the apache2 directory, I put it under apache2. A difference, but I don?t know it this is the issue. Here are the changes I made in the https.conf file directories area: DocumentRoot /Users/mike/Library/Containers/com.bitnami.mampstack/Data/app/apache2/htdocs # # Possible values for the Options directive are "None", "All", # or any combination of: # Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews # # Note that "MultiViews" must be named *explicitly* --- "Options All" # doesn't give it to you. # # The Options directive is both complicated and important. Please see # http://httpd.apache.org/docs/2.4/mod/core.html#options # for more information. # #MDD original was --> Options Indexes FollowSymLinks Options Indexes Multiviews # # AllowOverride controls what directives may be placed in .htaccess files. # It can be "All", "None", or any combination of the keywords: # Options FileInfo AuthConfig Limit # AllowOverride None # # Controls who can get stuff from this server. # #MMRequire all granted #MDD added below Order allow,deny Allow from all AddHandler livecode-script .lc Action livecode-script /livecode-cgi/livecode-community-server /Users/mike/Library/Containers/com.bitnami.mampstack/Data/app/apache2/cgi-bin/livecode-cgi/livecode-community-server" #MDD add above #MDD added below Options ExecCGI Order allow,deny Allow from all ScriptAlias /livecode-cgi/livecode-community-server /Users/mike/Library/Containers/com.bitnami.mampstack/Data/app/apache2/cgi-bin/livecode-cgi/livecode-community-server #MDD add above From marc.vancauwenberghe at pandora.be Thu Nov 14 16:56:56 2013 From: marc.vancauwenberghe at pandora.be (Marc Van Cauwenberghe) Date: Thu, 14 Nov 2013 22:56:56 +0100 Subject: MegaBundle is Back In-Reply-To: <5285424C.3010805@fourthworld.com> References: <5285424C.3010805@fourthworld.com> Message-ID: <6AB8EC75-5036-424C-A2B0-89B471A2DFD6@pandora.be> Actually it is not Richard :) found it looking in livecode's marketplace/ extentions. So I thought I'd share. Marc Verstuurd vanaf mijn iPhone > Op 14-nov.-2013 om 22:36 heeft Richard Gaskin het volgende geschreven: > > Marc Van Cauwenberghe wrote: > >> Have s look here >> http://www.ekkotek.com/index.php/features/livecode-tools > > Is that your site? > > If so, the matrix lib is interesting to me, if it had some extensions. > > I have a project on the horizon in which I'll need to work with eigen vectors, specifically for singlular-value decomposition. > > Any plans in the works for something that specialized? > > -- > 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bernd.niggemann at uni-wh.de Thu Nov 14 17:24:27 2013 From: bernd.niggemann at uni-wh.de (BNig) Date: Thu, 14 Nov 2013 14:24:27 -0800 (PST) Subject: Script for executable idle timer In-Reply-To: <1384391769141-4672306.post@n4.nabble.com> References: <432A89A6-D96A-44E6-9EB0-C68F10654D3B@byu.edu> <66592352000.20131112144558@ahsoftware.net> <7DA65A33-C0DB-425D-9A7E-14E3751345FF@byu.edu> <1384300241113-4672238.post@n4.nabble.com> <1384391769141-4672306.post@n4.nabble.com> Message-ID: <1384467867615-4672358.post@n4.nabble.com> Hi Alejandro, still trying to get my Nabble access to work. Thanks for reposting. Livecode currently does not accept my postings, I am afraid I goofed things up Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Script-for-executable-idle-timer-tp4672221p4672358.html Sent from the Revolution - User mailing list archive at Nabble.com. From pete at lcsql.com Thu Nov 14 17:36:12 2013 From: pete at lcsql.com (Peter Haworth) Date: Thu, 14 Nov 2013 14:36:12 -0800 Subject: Why does this line work in IDE, fail in standalone? In-Reply-To: <1384463819711-4672350.post@n4.nabble.com> References: <1384453820387-4672338.post@n4.nabble.com> <1384455671924-4672342.post@n4.nabble.com> <52852992.4030007@hyperactivesw.com> <1384463819711-4672350.post@n4.nabble.com> Message-ID: Thanks for the error info Tom. I seem to remember a while back there was a post showing how to store a control in a custom property and then create it from the cprop. Don't remember the details but might that solve your problem? Pete lcSQL Software On Thu, Nov 14, 2013 at 1:16 PM, tbodine wrote: > Hi Pete. > > > Up to now, I thought it only > affected access to scripts in the protected stack but I see now that it > affects copying controls to another stack. Any other operations that it > affects? I'm also curious as to why there wasn't some sort of error > flagged on the copy/clone operation, or maybe there was but it wasn't > checked in the script. > > Copy operation gives this result: > "can't cut object (stack is password protected)" > > Clone operation result: none given > On closer inspection, I see it DOES make a clone, but not in the target > stack. It clones it to the source card. > > I just tried Jackie's idea of temporarily turning off the password during > the copy/clone. No help. That generated the error: can't find handler. > > My original workaround of a separate, unprotected stack is not going to > work > , because elsewhere in the program I need to copy groups of controls > between > the user file/stack and the main (protected) stack. > > Any other ideas? > > Tom Bodine > > > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/Why-does-this-line-work-in-IDE-fail-in-standalone-tp4672338p4672350.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Thu Nov 14 17:49:53 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 14 Nov 2013 16:49:53 -0600 Subject: Why does this line work in IDE, fail in standalone? In-Reply-To: <1384463819711-4672350.post@n4.nabble.com> References: <1384453820387-4672338.post@n4.nabble.com> <1384455671924-4672342.post@n4.nabble.com> <52852992.4030007@hyperactivesw.com> <1384463819711-4672350.post@n4.nabble.com> Message-ID: <52855391.3050406@hyperactivesw.com> On 11/14/13 3:16 PM, tbodine wrote: > I just tried Jackie's idea of temporarily turning off the password during > the copy/clone. No help. That generated the error: can't find handler. That's an odd error for what you're doing. It occurred to me later that you should set the passkey instead of the password. I shouldn't type before thinking. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From henshaw at me.com Thu Nov 14 17:50:55 2013 From: henshaw at me.com (Andrew Henshaw) Date: Thu, 14 Nov 2013 22:50:55 +0000 Subject: Loading images for use with LC6.5 and resolution independance Message-ID: Ive always loaded images onto stacks simply by clicking import as control and the image appearing on the stack, it makes design and layout nice and easy! With 6.5 and the resolution independence the release notes say to create different resolution images for different platforms (which I understand), but how should these be loaded, or where should they be placed? Is there a way to load a 1x image into the stack so I can still lay out the stack etc, and have the 2x etc images in a img folder under the application and have these loaded automatically depending on the devices resolution, or do I need to load them in a different way. From monte at sweattechnologies.com Thu Nov 14 17:55:01 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 15 Nov 2013 09:55:01 +1100 Subject: Loading images for use with LC6.5 and resolution independance In-Reply-To: References: Message-ID: On 15/11/2013, at 9:50 AM, Andrew Henshaw wrote: > Ive always loaded images onto stacks simply by clicking import as control and the image appearing on the stack, it makes design and layout nice and easy! > > With 6.5 and the resolution independence the release notes say to create different resolution images for different platforms (which I understand), but how should these be loaded, or where should they be placed? > > Is there a way to load a 1x image into the stack so I can still lay out the stack etc, and have the 2x etc images in a img folder under the application and have these loaded automatically depending on the devices resolution, or do I need to load them in a different way. Put them in a relative path to your stack file... for mApp I've implemented a library using a folder named images next to the stackFile. Then use the Import Referenced Control menu rather than the other one. Cheers -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From pete at lcsql.com Thu Nov 14 18:52:28 2013 From: pete at lcsql.com (Peter Haworth) Date: Thu, 14 Nov 2013 15:52:28 -0800 Subject: Why does this line work in IDE, fail in standalone? In-Reply-To: References: <1384453820387-4672338.post@n4.nabble.com> <1384455671924-4672342.post@n4.nabble.com> <52852992.4030007@hyperactivesw.com> <1384463819711-4672350.post@n4.nabble.com> Message-ID: Just found the info on how to do this, originally posted by Mike Bonner: Yes you can do that. Just "copy" the control to the clipboard and save the clipboard data to a property. (clipboarddata["objects"] I think) I was doing this with whole stacks and it works fine. To restore the object, put the cWhereIStoredIt into the clipboarddata["objects"] and then paste it. (didn't check dictionary so not positive if objects is correct) Pete lcSQL Software On Thu, Nov 14, 2013 at 2:36 PM, Peter Haworth wrote: > Thanks for the error info Tom. > > I seem to remember a while back there was a post showing how to store a > control in a custom property and then create it from the cprop. Don't > remember the details but might that solve your problem? > > Pete > lcSQL Software > > > On Thu, Nov 14, 2013 at 1:16 PM, tbodine wrote: > >> Hi Pete. >> >> >> Up to now, I thought it only >> affected access to scripts in the protected stack but I see now that it >> affects copying controls to another stack. Any other operations that it >> affects? I'm also curious as to why there wasn't some sort of error >> flagged on the copy/clone operation, or maybe there was but it wasn't >> checked in the script. >> >> Copy operation gives this result: >> "can't cut object (stack is password protected)" >> >> Clone operation result: none given >> On closer inspection, I see it DOES make a clone, but not in the target >> stack. It clones it to the source card. >> >> I just tried Jackie's idea of temporarily turning off the password during >> the copy/clone. No help. That generated the error: can't find handler. >> >> My original workaround of a separate, unprotected stack is not going to >> work >> , because elsewhere in the program I need to copy groups of controls >> between >> the user file/stack and the main (protected) stack. >> >> Any other ideas? >> >> Tom Bodine >> >> >> >> >> -- >> View this message in context: >> http://runtime-revolution.278305.n4.nabble.com/Why-does-this-line-work-in-IDE-fail-in-standalone-tp4672338p4672350.html >> Sent from the Revolution - User mailing list archive at Nabble.com. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > From ambassador at fourthworld.com Thu Nov 14 19:02:57 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 14 Nov 2013 16:02:57 -0800 Subject: Why does this line work in IDE, fail in standalone? In-Reply-To: <1384453820387-4672338.post@n4.nabble.com> References: <1384453820387-4672338.post@n4.nabble.com> Message-ID: <528564B1.5000204@fourthworld.com> Cloning objects that contain scripts seems like a good candidate for behaviors, where you could protect the stack that has the behavior script and leave the stack that has the template object to be cloned without a password, since it won't have any code anyway. -- 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 From scott at tactilemedia.com Thu Nov 14 19:21:40 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 14 Nov 2013 16:21:40 -0800 Subject: Loading images for use with LC6.5 and resolution independance In-Reply-To: Message-ID: I have to say when I heard about this implementation, it seemed a bit limited and messy to me. Why not extend the naming convention to imported images as well? If you create custom controls for people that contain images, you have to hand off the images separately and have the recipient re-link everything in their app. Unless I'm missing some other option, this is quite inconvenient and prone to problems/mistakes. Would be happy to find out otherwise. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 11/14/13 2:50 PM, "Andrew Henshaw" wrote: >Ive always loaded images onto stacks simply by clicking import as control >and the image appearing on the stack, it makes design and layout nice and >easy! > >With 6.5 and the resolution independence the release notes say to create >different resolution images for different platforms (which I understand), > but how should these be loaded, or where should they be placed? > >Is there a way to load a 1x image into the stack so I can still lay out >the stack etc, and have the 2x etc images in a img folder under the >application and have these loaded automatically depending on the devices >resolution, or do I need to load them in a different way. >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode > From capellan2000 at gmail.com Thu Nov 14 19:53:45 2013 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Thu, 14 Nov 2013 16:53:45 -0800 (PST) Subject: [OT] Oldest RR/MC IDE that still works in your computer In-Reply-To: References: <1384387396299-4672302.post@n4.nabble.com> <1384449127795-4672331.post@n4.nabble.com> <1384449707192-4672332.post@n4.nabble.com> Message-ID: <1384476825000-4672366.post@n4.nabble.com> Hi Robert, Robert Brenstein wrote > I am still running one old project, a custom content management > system used by some 30-40 people for the past 10-12 years, under Rev > 2.6.1 with Metacard IDE on a G4 tower under MacOS9. I keep working to > upgrade it to OSX for past couple years, but have only small window > twice a year to make the jump and so far not enough time for a major > rewrite which is required, although I am making steady progress > refactoring and modularizing the code. Wonderful. This project grew like an "organic" entity. As you added new functionalities, more attached it became to the hardware in which it runs. :D Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-Oldest-RR-MC-IDE-that-still-works-in-your-computer-tp4672302p4672366.html Sent from the Revolution - User mailing list archive at Nabble.com. From andrew at ctech.me Thu Nov 14 20:30:06 2013 From: andrew at ctech.me (Andrew Kluthe) Date: Thu, 14 Nov 2013 19:30:06 -0600 Subject: Standalones and Linux In-Reply-To: <5285419E.7020307@fourthworld.com> References: <5285419E.7020307@fourthworld.com> Message-ID: On the system with a fresh 12.04 lts installation the fonts are huge and the colors are very offputting. On linux mint running cinnamon, things seem to be running nicely, but with stock ubuntu 12.04 lts the colors are awful. On windows I recall there is a way to set the style of the theming to something very basic and not use the new windows 7 or eight themes. Is there not something similar on linux that will let me just turn the themeing off without having to in and change so much of my program. Link to a Screenshot is below. http://oi44.tinypic.com/2wq9349.jpg -- Ubuntu 12.04 On Thu, Nov 14, 2013 at 3:33 PM, Richard Gaskin wrote: > Andrew Kluthe wrote: > > Is there anyway I can remove the theming that livecode applications >> inherit >> from the system on linux? >> >> We have a stand alone that was designed for windows and when I stick that >> on a fresh-out-the-can ubuntu 12.04 the fonts, buttons etc are incredibly >> ugly. All of my buttons turn orange and the fonts as a whole get very >> large. Some of these things like the fonts I know will have to be reworked >> for the linux verson but I can hardly stand all of my buttons being orange >> by default. >> >> Is there a way to turn off livecode doing this kind of theming of my apps? >> > > By default, LiveCode does a pretty good job of adopting the themes on > whatever OS it's running on: Windows looks like Windows, Mac looks like > Mac, and Ubuntu looks like Ubuntu. > > If you want to make a Mac app look like Ubuntu, or an Ubuntu app look like > Windows, you can explicitly set the properties you want to change. > > For example, Ubuntu users are accustomed to seeing the OS theme color > orange for highlights, but you can set the hiliteColor of controls to > something else if you want. > > -- > 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Regards, Andrew Kluthe andrew at ctech.me From andrew at ctech.me Thu Nov 14 20:31:57 2013 From: andrew at ctech.me (Andrew Kluthe) Date: Thu, 14 Nov 2013 19:31:57 -0600 Subject: Standalones and Linux In-Reply-To: References: <5285419E.7020307@fourthworld.com> Message-ID: Whoops, forgot the second half of my message. http://oi41.tinypic.com/15r1w5c.jpg -- Windows I don't mind going back into the program and changing the interface, but you also can't tell me that doesn't look awful. I'm using Livecode 5.5.4 On Thu, Nov 14, 2013 at 7:30 PM, Andrew Kluthe wrote: > On the system with a fresh 12.04 lts installation the fonts are huge and > the colors are very offputting. > > On linux mint running cinnamon, things seem to be running nicely, but with > stock ubuntu 12.04 lts the colors are awful. On windows I recall there is a > way to set the style of the theming to something very basic and not use the > new windows 7 or eight themes. Is there not something similar on linux that > will let me just turn the themeing off without having to in and change so > much of my program. > > Link to a Screenshot is below. > > http://oi44.tinypic.com/2wq9349.jpg -- Ubuntu 12.04 > > > On Thu, Nov 14, 2013 at 3:33 PM, Richard Gaskin < > ambassador at fourthworld.com> wrote: > >> Andrew Kluthe wrote: >> >> Is there anyway I can remove the theming that livecode applications >>> inherit >>> from the system on linux? >>> >>> We have a stand alone that was designed for windows and when I stick that >>> on a fresh-out-the-can ubuntu 12.04 the fonts, buttons etc are incredibly >>> ugly. All of my buttons turn orange and the fonts as a whole get very >>> large. Some of these things like the fonts I know will have to be >>> reworked >>> for the linux verson but I can hardly stand all of my buttons being >>> orange >>> by default. >>> >>> Is there a way to turn off livecode doing this kind of theming of my >>> apps? >>> >> >> By default, LiveCode does a pretty good job of adopting the themes on >> whatever OS it's running on: Windows looks like Windows, Mac looks like >> Mac, and Ubuntu looks like Ubuntu. >> >> If you want to make a Mac app look like Ubuntu, or an Ubuntu app look >> like Windows, you can explicitly set the properties you want to change. >> >> For example, Ubuntu users are accustomed to seeing the OS theme color >> orange for highlights, but you can set the hiliteColor of controls to >> something else if you want. >> >> -- >> 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 at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > Regards, > > Andrew Kluthe > andrew at ctech.me > -- Regards, Andrew Kluthe andrew at ctech.me From capellan2000 at gmail.com Thu Nov 14 20:55:47 2013 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Thu, 14 Nov 2013 17:55:47 -0800 (PST) Subject: Loading images for use with LC6.5 and resolution independance In-Reply-To: References: Message-ID: <1384480547561-4672369.post@n4.nabble.com> Hi Scott, Scott Rossi wrote > I have to say when I heard about this implementation, it seemed a bit > limited and messy to me. Why not extend the naming convention to > imported images as well? > > If you create custom controls for people that contain images, you have to > hand off the images separately and have the recipient re-link everything > in their app. Unless I'm missing some other option, this is quite > inconvenient and prone to problems/mistakes. > > Would be happy to find out otherwise. Probably this method takes into account that most bitmaps created for application's interfaces and content are created at high resolution. http://www.cutandslice.me/ Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Loading-images-for-use-with-LC6-5-and-resolution-independance-tp4672361p4672369.html Sent from the Revolution - User mailing list archive at Nabble.com. From monte at sweattechnologies.com Thu Nov 14 21:16:07 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 15 Nov 2013 13:16:07 +1100 Subject: Loading images for use with LC6.5 and resolution independance In-Reply-To: References: Message-ID: On 15/11/2013, at 11:21 AM, Scott Rossi wrote: > I have to say when I heard about this implementation, it seemed a bit > limited and messy to me. Why not extend the naming convention to imported > images as well? > > If you create custom controls for people that contain images, you have to > hand off the images separately and have the recipient re-link everything > in their app. Unless I'm missing some other option, this is quite > inconvenient and prone to problems/mistakes. > > Would be happy to find out otherwise. There's probably no reason why you couldn't continue to import images and swap them manually as button icons. It does mean a little bit of thought probably needs to go into a new custom control scheme... I'll raise on the engine list that relative paths for images should be looked for relative to the stackfile a behavior is on if they aren't found relative to the stackfile the image is on. Cheers -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From scott at tactilemedia.com Thu Nov 14 22:45:32 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 14 Nov 2013 19:45:32 -0800 Subject: Loading images for use with LC6.5 and resolution independance In-Reply-To: Message-ID: On 11/14/13 6:16 PM, "Monte Goulding" wrote: > There's probably no reason why you couldn't continue to import images >and swap them manually as button icons. Of course, but then what's the point of the engine having a naming convention and auto-scaling features? > It does mean a little bit of thought probably needs to go into a new >custom control scheme... I'll raise on the engine list that relative >paths for images should be looked for relative to the stackfile a >behavior is on if they aren't found relative to the stackfile the image >is on. IMO, the engine's image-locating process should be consistent: look within the immediate the stack, substacks, loaded stacks, and extend the search to external files if needed or specified. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design > >On 15/11/2013, at 11:21 AM, Scott Rossi wrote: > >> I have to say when I heard about this implementation, it seemed a bit >> limited and messy to me. Why not extend the naming convention to >>imported >> images as well? >> >> If you create custom controls for people that contain images, you have >>to >> hand off the images separately and have the recipient re-link everything >> in their app. Unless I'm missing some other option, this is quite >> inconvenient and prone to problems/mistakes. >> >> Would be happy to find out otherwise. From scott at tactilemedia.com Thu Nov 14 23:07:56 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 14 Nov 2013 20:07:56 -0800 Subject: More on Resolution Independence Message-ID: Some of the email posted tonight was a good excuse to dive deeper into new resolution independence stuff, and I'm wondering if anyone can explain the "recommended" development process here. As a test, I have a stack that I create at 320x480 pixels on a desktop system. With no special properties or functions applied, the stack *appears* to open at those same dimensions on an iPhone 4 (as reported by the rect of the card). But in reading the 6.5 docs, I don't know if what I'm seeing is an auto-scaled view that is being *reported* as 320x480, or is actually a "natural density" 320x480. I tried including an imported (non-referenced) image to see if I can determine any difference at the 320x480 size and I couldn't -- the image displays on the device at the same proportions as in LiveCode on the desktop. Which makes me believe that there's no auto-scaling taking place, since I'm not using a referenced image. When I add iPhoneUseDeviceResolution true upon opening the card, I then get the expected 640x960 view with controls proportionally smaller to match. If the scaling process is supposed to be "invisible", how can we verify that a stack and its contents are are being properly auto-scaled and taking advantage of the higher resolution? Or am I missing a property setting somewhere? Thanks in advance for clearing up my confusion. Best Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design From monte at sweattechnologies.com Thu Nov 14 23:11:53 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 15 Nov 2013 15:11:53 +1100 Subject: Loading images for use with LC6.5 and resolution independance In-Reply-To: References: Message-ID: On 15/11/2013, at 2:45 PM, Scott Rossi wrote: > On 11/14/13 6:16 PM, "Monte Goulding" wrote: > > >> There's probably no reason why you couldn't continue to import images >> and swap them manually as button icons. > > Of course, but then what's the point of the engine having a naming > convention and auto-scaling features? > They are still scaled. > >> It does mean a little bit of thought probably needs to go into a new >> custom control scheme... I'll raise on the engine list that relative >> paths for images should be looked for relative to the stackfile a >> behavior is on if they aren't found relative to the stackfile the image >> is on. > > IMO, the engine's image-locating process should be consistent: look within > the immediate the stack, substacks, loaded stacks, and extend the search > to external files if needed or specified. I'm talking about relative file paths for filename not icons. They currently try and resolve against the filename of the stack then against the default folder. They should iterate through the filenames of the behavior heirarchy before trying the default folder. Cheers -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From scott at tactilemedia.com Thu Nov 14 23:29:52 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 14 Nov 2013 20:29:52 -0800 Subject: Loading images for use with LC6.5 and resolution independance In-Reply-To: Message-ID: Monte: I don't mean to hijack Andrew's question (sorry Andrew) but maybe you can clear something up for me. I was told by Ben at RunRev that any images in a stack which are to be auto-scaled by LiveCode (no user intervention necessary) must be referenced, not imported, yes? I'm not concerned with how the images are used (icons or otherwise) I'm talking about images in general. If an image is imported, my understanding is no auto-scaling will be applied to that image. Assuming the above is true, then my point is that auto-scaling for images *should* be applicable to imported images that use the specified naming convention. If this can't happen, my question is, why not? If I'm missing something (I know, a lot of ifs in this email), please set me straight. Thanks & Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 11/14/13 8:11 PM, "Monte Goulding" wrote: > >On 15/11/2013, at 2:45 PM, Scott Rossi wrote: > >> On 11/14/13 6:16 PM, "Monte Goulding" >>wrote: >> >> >>> There's probably no reason why you couldn't continue to import images >>> and swap them manually as button icons. >> >> Of course, but then what's the point of the engine having a naming >> convention and auto-scaling features? >> >They are still scaled. > >> >>> It does mean a little bit of thought probably needs to go into a new >>> custom control scheme... I'll raise on the engine list that relative >>> paths for images should be looked for relative to the stackfile a >>> behavior is on if they aren't found relative to the stackfile the image >>> is on. >> >> IMO, the engine's image-locating process should be consistent: look >>within >> the immediate the stack, substacks, loaded stacks, and extend the search >> to external files if needed or specified. > >I'm talking about relative file paths for filename not icons. They >currently try and resolve against the filename of the stack then against >the default folder. They should iterate through the filenames of the >behavior heirarchy before trying the default folder. > >Cheers > >-- >M E R Goulding >Software development services >Bespoke application development for vertical markets > >mergExt - There's an external for that! > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode > From monte at sweattechnologies.com Thu Nov 14 23:54:45 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 15 Nov 2013 15:54:45 +1100 Subject: Loading images for use with LC6.5 and resolution independance In-Reply-To: References: Message-ID: On 15/11/2013, at 3:29 PM, Scott Rossi wrote: > I don't mean to hijack Andrew's question (sorry Andrew) but maybe you can > clear something up for me. > > I was told by Ben at RunRev that any images in a stack which are to be > auto-scaled by LiveCode (no user intervention necessary) must be > referenced, not imported, yes? I'm not concerned with how the images are > used (icons or otherwise) I'm talking about images in general. > > If an image is imported, my understanding is no auto-scaling will be > applied to that image. > > Assuming the above is true, then my point is that auto-scaling for images > *should* be applicable to imported images that use the specified naming > convention. If this can't happen, my question is, why not? > > If I'm missing something (I know, a lot of ifs in this email), please set > me straight. They are auto-scaled along with the rest of the stack but they don't use higher res data. If you want to use imported images then the old method should work... import, set resize quality to good, divide size by 2. Now on retina it will be the size you want. -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From scott at tactilemedia.com Fri Nov 15 01:36:19 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 14 Nov 2013 22:36:19 -0800 Subject: Loading images for use with LC6.5 and resolution independance In-Reply-To: Message-ID: On 11/14/13 8:54 PM, "Monte Goulding" wrote: > >On 15/11/2013, at 3:29 PM, Scott Rossi wrote: > >> I don't mean to hijack Andrew's question (sorry Andrew) but maybe you >>can >> clear something up for me. >> >> I was told by Ben at RunRev that any images in a stack which are to be >> auto-scaled by LiveCode (no user intervention necessary) must be >> referenced, not imported, yes? I'm not concerned with how the images >>are >> used (icons or otherwise) I'm talking about images in general. >> >> If an image is imported, my understanding is no auto-scaling will be >> applied to that image. >> >> Assuming the above is true, then my point is that auto-scaling for >>images >> *should* be applicable to imported images that use the specified naming >> convention. If this can't happen, my question is, why not? >> >> If I'm missing something (I know, a lot of ifs in this email), please >>set >> me straight. > >They are auto-scaled along with the rest of the stack but they don't use >higher res data. If you want to use imported images then the old method >should work... import, set resize quality to good, divide size by 2. Now >on retina it will be the size you want. Using the higher res data is what I'm referring to. I don't see a reason why this cannot be done with imported images. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design From monte at sweattechnologies.com Fri Nov 15 01:44:46 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 15 Nov 2013 17:44:46 +1100 Subject: Loading images for use with LC6.5 and resolution independance In-Reply-To: References: Message-ID: <93DE2413-D3DA-4DD3-BBB1-018B737005C7@sweattechnologies.com> On 15/11/2013, at 5:36 PM, Scott Rossi wrote: > Using the higher res data is what I'm referring to. I don't see a reason > why this cannot be done with imported images. Well doing what I said before should do the same thing but I guess they could add a density property to image objects which was set automatically if the file name being imported used one of the @ resolution identifiers. -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From richmondmathewson at gmail.com Fri Nov 15 02:35:43 2013 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 15 Nov 2013 09:35:43 +0200 Subject: Standalones and Linux In-Reply-To: References: <5285419E.7020307@fourthworld.com> Message-ID: <5285CECF.3020800@gmail.com> On 15/11/13 03:30, Andrew Kluthe wrote: > On the system with a fresh 12.04 lts installation the fonts are huge and > the colors are very offputting. > > On linux mint running cinnamon, things seem to be running nicely, but with > stock ubuntu 12.04 lts the colors are awful. On windows I recall there is a > way to set the style of the theming to something very basic and not use the > new windows 7 or eight themes. Is there not something similar on linux that > will let me just turn the themeing off without having to in and change so > much of my program. > > Link to a Screenshot is below. > > http://oi44.tinypic.com/2wq9349.jpg -- Ubuntu 12.04 Stock Ubuntu is fairly awful aesthetically; that's why I run XFCE with the Shiki-Wise theme. Richmond. > > > On Thu, Nov 14, 2013 at 3:33 PM, Richard Gaskin > wrote: > >> Andrew Kluthe wrote: >> >> Is there anyway I can remove the theming that livecode applications >>> inherit >>> from the system on linux? >>> >>> We have a stand alone that was designed for windows and when I stick that >>> on a fresh-out-the-can ubuntu 12.04 the fonts, buttons etc are incredibly >>> ugly. All of my buttons turn orange and the fonts as a whole get very >>> large. Some of these things like the fonts I know will have to be reworked >>> for the linux verson but I can hardly stand all of my buttons being orange >>> by default. >>> >>> Is there a way to turn off livecode doing this kind of theming of my apps? >>> >> By default, LiveCode does a pretty good job of adopting the themes on >> whatever OS it's running on: Windows looks like Windows, Mac looks like >> Mac, and Ubuntu looks like Ubuntu. >> >> If you want to make a Mac app look like Ubuntu, or an Ubuntu app look like >> Windows, you can explicitly set the properties you want to change. >> >> For example, Ubuntu users are accustomed to seeing the OS theme color >> orange for highlights, but you can set the hiliteColor of controls to >> something else if you want. >> >> -- >> 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 at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > From richmondmathewson at gmail.com Fri Nov 15 02:37:13 2013 From: richmondmathewson at gmail.com (Richmond) Date: Fri, 15 Nov 2013 09:37:13 +0200 Subject: Loading images for use with LC6.5 and resolution independance In-Reply-To: <1384480547561-4672369.post@n4.nabble.com> References: <1384480547561-4672369.post@n4.nabble.com> Message-ID: <5285CF29.90405@gmail.com> Presumably once scalable vector images are made possible as per the Kickstarter goals this problem will be a thing of the past. ????? Richmond. From admin at FlexibleLearning.com Fri Nov 15 03:17:27 2013 From: admin at FlexibleLearning.com (FlexibleLearning.com) Date: Fri, 15 Nov 2013 08:17:27 -0000 Subject: [ANN] FieldFormatter released In-Reply-To: Message-ID: Hi Skip Your registration info and download were sent 25 minutes after receipt. Orders are processed manually so there is sometimes a response delay. With best regards, Hugh Senior FLCo -- Original message Skip Kimpel wrote I just purchased this... will you be sending me an email with my registration info / download? On Mon, Nov 11, 2013 at 11:59 AM, FlexibleLearning.com < admin at flexiblelearning.com> wrote: > www.flexiblelearning.com/fieldformatter > > I am delighted to announce that FieldFormatter is now publically available > with 28 new field properties to differentiate data from display. > > It is LC-Community compatible for single user unlimited personal and > commercial use, and includes an IDE palette, full documentation plus > example > stacks to investigate. > > FieldFormatter is an appropriate solution if you want to automatically > display... > . Decimal place precision > . Different decimal and thousands separators > . Percentages > . Scientific notation > . Accountancy notation > . Duration in hours, minutes and seconds > . Privatised text > . Default text > . Currency or any unit of measure > . Value conversions > . Negative format & color > . SQL Julian dates > > My thanks to all those who have "field-tested" during development! > > I am sure we can add additional functionality in future releases so even > more choice and control over how data is presented can be made available. > Meanwhile this release should cover most of the bases for most people most > of the time. > > Hugh Senior > FLCo > > FIELDFORMATTER: www.flexiblelearning.com/fieldformatter > CHARTMAKER: www.flexiblelearning.com/chartmaker > DATEPICKER: www.flexiblelearning.com/datepicker > THE SCRTIPTER's SCRAPBOOK: www.flexiblelearning.om/ssbk.htm From ludovic.thebault at laposte.net Fri Nov 15 04:19:42 2013 From: ludovic.thebault at laposte.net (=?iso-8859-1?Q?Ludovic_Th=E9bault?=) Date: Fri, 15 Nov 2013 10:19:42 +0100 Subject: Protect the typing Message-ID: Hello, i've a table field, when the user make a new line, a script do some works on the previous line. If the user types too fast, sometimes the script moves the text cursor position where it changes the data in table How to avoid it? Thanks From rjb at robelko.com Fri Nov 15 05:44:04 2013 From: rjb at robelko.com (Robert Brenstein) Date: Fri, 15 Nov 2013 11:44:04 +0100 Subject: [OT] Oldest RR/MC IDE that still works in your computer In-Reply-To: <1384476825000-4672366.post@n4.nabble.com> References: <1384387396299-4672302.post@n4.nabble.com> <1384449127795-4672331.post@n4.nabble.com> <1384449707192-4672332.post@n4.nabble.com> <1384476825000-4672366.post@n4.nabble.com> Message-ID: On 14.11.2013 at 16:53 Uhr -0800 Alejandro Tejada apparently wrote: >Hi Robert, > >Wonderful. This project grew like an "organic" entity. >As you added new functionalities, more attached it >became to the hardware in which it runs. :D > >Al You can surely talk about organically growing, although it is not hardware that it is attached to. It interacts with a few external systems, which keep changing, so I need to regularly update it to keep up with new requirements. At the time I wrote it, many many years ago, I sprinkled calls to the database all over the place. Moving to OSX means upgrading the database. Unfortunately, the newer database API is very different. When doing updates, I keep refactoring the code to move all database calls in a single library. RObert From klaus at major-k.de Fri Nov 15 06:41:43 2013 From: klaus at major-k.de (Klaus major-k) Date: Fri, 15 Nov 2013 12:41:43 +0100 Subject: Resolution independance and referenced images Message-ID: Hi friends, I am afraid, I still don't get it!? Does this mean the engine does use the @2 images (if present) automatically when on a HIRES device? I mean if I have one referenced image in my stack: the_image.jpg And have another image in the same folder: the_image at 2.jpg And now create a stack for NON hires devices with tath first image, does Livecode automatically (!) display the @2 image in the image object when on a HIRES device? Or does the developer need to do the substitution? Know what I mean? I do not have a hires device, so I cannot test it myself. Thanks for any hints! Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From vclement at gmail.com Fri Nov 15 08:47:24 2013 From: vclement at gmail.com (Vaughn Clement) Date: Fri, 15 Nov 2013 06:47:24 -0700 Subject: IOS & Android Bug Updates Message-ID: Hi All I am nearing the completion and testing of my first app. It occurred to me in my bug checking process that I have no idea how bug updates work with LiveCode. For Example: I know how to submit a bug update for a bug fix for IOS because I have done it in the past. But with LivCode I am concerned that if a bug fix needs to be submitted for IOS or Android apps will the user data be preserved or overwritten when the user updates the app? I have not seen any reference to this anywhere in LC documentation. The question arose when I started reading the resolution independence email questions where an update could be needed even when an image tests correctly. Has anyone run into an issue where the user data gets overwritten when an update is submitted? Thank you Vaughn Clement Apps by Vaughn Clement (Support) *http://www.appsbyvaughnclement.com/tools/home-page/ * Skype: vaughn.clement https://secure.join.me/appsbyvclement FaceTime: vclement at gmail.com LogMeIn also avaialble Call on "ooVoo" at address: vaughnclement or 9282549062 Ph. 928-254-9062 Cloud Hosting Registration Web Site: https://my.oditech.com/cart.php?a=add&pid=41 From dunbarx at aol.com Fri Nov 15 08:52:45 2013 From: dunbarx at aol.com (dunbarx at aol.com) Date: Fri, 15 Nov 2013 08:52:45 -0500 (EST) Subject: Protect the typing In-Reply-To: References: Message-ID: <8D0B02117965F9D-13AC-5125@webmail-m294.sysops.aol.com> Hi, Type too fast? Can you post the script? How does the user make a new line? By hitting return? Craig Newman -----Original Message----- From: Ludovic Th?bault To: How to use LiveCode Sent: Fri, Nov 15, 2013 4:21 am Subject: Protect the typing Hello, i've a table field, when the user make a new line, a script do some works on the previous line. If the user types too fast, sometimes the script moves the text cursor position where it changes the data in table How to avoid it? Thanks _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From andrew at ctech.me Fri Nov 15 09:18:06 2013 From: andrew at ctech.me (Andrew Kluthe) Date: Fri, 15 Nov 2013 08:18:06 -0600 Subject: Standalones and Linux In-Reply-To: <5285CECF.3020800@gmail.com> References: <5285419E.7020307@fourthworld.com> <5285CECF.3020800@gmail.com> Message-ID: Yeah, I thought the same thing and switched it over to xubuntu-desktop starting xfce and the linux screenshot I sent was actually running on xfce and the orange stuff still stuck. Hmmm On Fri, Nov 15, 2013 at 1:35 AM, Richmond wrote: > On 15/11/13 03:30, Andrew Kluthe wrote: > >> On the system with a fresh 12.04 lts installation the fonts are huge and >> the colors are very offputting. >> >> On linux mint running cinnamon, things seem to be running nicely, but with >> stock ubuntu 12.04 lts the colors are awful. On windows I recall there is >> a >> way to set the style of the theming to something very basic and not use >> the >> new windows 7 or eight themes. Is there not something similar on linux >> that >> will let me just turn the themeing off without having to in and change so >> much of my program. >> >> Link to a Screenshot is below. >> >> http://oi44.tinypic.com/2wq9349.jpg -- Ubuntu 12.04 >> > > Stock Ubuntu is fairly awful aesthetically; that's why I run XFCE with the > Shiki-Wise theme. > > Richmond. > > > >> >> On Thu, Nov 14, 2013 at 3:33 PM, Richard Gaskin >> wrote: >> >> Andrew Kluthe wrote: >>> >>> Is there anyway I can remove the theming that livecode applications >>> >>>> inherit >>>> from the system on linux? >>>> >>>> We have a stand alone that was designed for windows and when I stick >>>> that >>>> on a fresh-out-the-can ubuntu 12.04 the fonts, buttons etc are >>>> incredibly >>>> ugly. All of my buttons turn orange and the fonts as a whole get very >>>> large. Some of these things like the fonts I know will have to be >>>> reworked >>>> for the linux verson but I can hardly stand all of my buttons being >>>> orange >>>> by default. >>>> >>>> Is there a way to turn off livecode doing this kind of theming of my >>>> apps? >>>> >>>> By default, LiveCode does a pretty good job of adopting the themes on >>> whatever OS it's running on: Windows looks like Windows, Mac looks like >>> Mac, and Ubuntu looks like Ubuntu. >>> >>> If you want to make a Mac app look like Ubuntu, or an Ubuntu app look >>> like >>> Windows, you can explicitly set the properties you want to change. >>> >>> For example, Ubuntu users are accustomed to seeing the OS theme color >>> orange for highlights, but you can set the hiliteColor of controls to >>> something else if you want. >>> >>> -- >>> 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Regards, Andrew Kluthe andrew at ctech.me From ambassador at fourthworld.com Fri Nov 15 09:29:19 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 15 Nov 2013 06:29:19 -0800 Subject: Standalones and Linux In-Reply-To: References: Message-ID: <52862FBF.3030101@fourthworld.com> Andrew Kluthe wrote: > On the system with a fresh 12.04 lts installation the fonts are huge > and the colors are very offputting. > > On linux mint running cinnamon, things seem to be running nicely, > but with stock ubuntu 12.04 lts the colors are awful. On windows > I recall there is a way to set the style of the theming to something > very basic and not use the new windows 7 or eight themes. Is there > not something similar on linux that will let me just turn the > themeing off without having to in and change so much of my program. > > Link to a Screenshot is below. > > http://oi44.tinypic.com/2wq9349.jpg -- Ubuntu 12.04 That's pretty weird: on Windows the "Add a Task" buttons are not hilited, but in Ubuntu both of them have the orange hilite color as their background color. Do you perhaps have the default property of those button set to true? If so, from an interaction standpoint is that what you really want? Having more than one default button can confuse users. As for fonts, if you never set the textFont of textSize of your controls then all your stacks will take on the engine defaults, but you can set those at the stack level and all controls in the stack will inherit those settings. I've been doing that for Mac and Win apps in a preOpenStack handler for years so I can get the appropriate font for each OS, and in recent years have added another case to handle Linux as well. Theming can be turned off entirely by changing the lookAndFeel global property from its default of "Appearance Manager" (a strange choice of a Mac-specific string that actually affects all platforms) to any of the emulated appearances the engine supports: "Macintosh" (which emulates the Classic gray-scale look from OS 8.5), "Windows 95" (which looks as dated as it sounds) or "Motif" (even more dated; relatively few people using computers today have ever seen Motif in action). I'd just set the textSize at the stack level. Richmond wrote: > Stock Ubuntu is fairly awful aesthetically; that's why I run XFCE > with the Shiki-Wise theme. That's one of the perennial mysteries of the Linux community, and also one of Linux' greatest strengths: The mystery is that many people choose distros they don't like, while there are literally hundreds to choose from (have you considered simply using Mint?). The strength is that in addition to the hundreds of distros there are also dozens of window managers and thousands of other mods, so everyone can have exactly what they most prefer. Personally, count me among the millions who rather like the Ubuntu look and feel, but there's no disputing taste so enjoy the unique opportunity Linux offers in allowing everyone to set up their system however they like. -- 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 From ludovic.thebault at laposte.net Fri Nov 15 09:38:05 2013 From: ludovic.thebault at laposte.net (=?iso-8859-1?Q?Ludovic_Th=E9bault?=) Date: Fri, 15 Nov 2013 15:38:05 +0100 Subject: Protect the typing In-Reply-To: <8D0B02117965F9D-13AC-5125@webmail-m294.sysops.aol.com> References: <8D0B02117965F9D-13AC-5125@webmail-m294.sysops.aol.com> Message-ID: Le 15 nov. 2013 ? 14:52, dunbarx at aol.com a ?crit : > Hi, > > > Type too fast? Can you post the script? How does the user make a new line? By hitting return? > The user wrote gps coordinates, my script search the city, postcode, altitude from these coordinates, by a local database or by internet so it may take time. I've just tested this solution, it seem to work : on keydown thekey if "ecriture" is in the pendingmessages then wait for messages pass keydown end keydown on returninfield ... get the datas from the coordinates send "ecriture tdatas" to me in 10 ## sent only if the coordinates changes ... end returninfield on ecriture tDatas put the selectedchunk into tposchunk .... wrote the city, postcode et cie if tposchunk <> "" then select after char (word 4 of tposChunk) of fld "Table" end ecriture From andrew at ctech.me Fri Nov 15 09:41:01 2013 From: andrew at ctech.me (Andrew Kluthe) Date: Fri, 15 Nov 2013 08:41:01 -0600 Subject: Standalones and Linux In-Reply-To: <52862FBF.3030101@fourthworld.com> References: <52862FBF.3030101@fourthworld.com> Message-ID: I'm not sure about the default buttons. I don't think I put them on the stack like that. lookAndFeel was the property I was looking for! I couldn't remember what it was called, I just kept trying to search "motif" in the dictionary and online and couldn't find what it was. As far as linux mint, I love it and prefer cinnamon for my personal use, but I am trying to run these as thin clients for a timeclock and my company outsources their server management/network management to another company. They won't support anything but ubuntu 12.04. I think I'll just go through and see what I can do about just making a specific linux version of that application. Thanks for the info Richard, Regards, Andrew On Fri, Nov 15, 2013 at 8:29 AM, Richard Gaskin wrote: > Andrew Kluthe wrote: > > > On the system with a fresh 12.04 lts installation the fonts are huge > > and the colors are very offputting. > > > > On linux mint running cinnamon, things seem to be running nicely, > > but with stock ubuntu 12.04 lts the colors are awful. On windows > > I recall there is a way to set the style of the theming to something > > very basic and not use the new windows 7 or eight themes. Is there > > not something similar on linux that will let me just turn the > > themeing off without having to in and change so much of my program. > > > > Link to a Screenshot is below. > > > > http://oi44.tinypic.com/2wq9349.jpg -- Ubuntu 12.04 > > That's pretty weird: on Windows the "Add a Task" buttons are not hilited, > but in Ubuntu both of them have the orange hilite color as their background > color. Do you perhaps have the default property of those button set to > true? If so, from an interaction standpoint is that what you really want? > Having more than one default button can confuse users. > > As for fonts, if you never set the textFont of textSize of your controls > then all your stacks will take on the engine defaults, but you can set > those at the stack level and all controls in the stack will inherit those > settings. I've been doing that for Mac and Win apps in a preOpenStack > handler for years so I can get the appropriate font for each OS, and in > recent years have added another case to handle Linux as well. > > Theming can be turned off entirely by changing the lookAndFeel global > property from its default of "Appearance Manager" (a strange choice of a > Mac-specific string that actually affects all platforms) to any of the > emulated appearances the engine supports: "Macintosh" (which emulates the > Classic gray-scale look from OS 8.5), "Windows 95" (which looks as dated as > it sounds) or "Motif" (even more dated; relatively few people using > computers today have ever seen Motif in action). > > I'd just set the textSize at the stack level. > > > > Richmond wrote: > > > Stock Ubuntu is fairly awful aesthetically; that's why I run XFCE > > with the Shiki-Wise theme. > > That's one of the perennial mysteries of the Linux community, and also one > of Linux' greatest strengths: > > The mystery is that many people choose distros they don't like, while > there are literally hundreds to choose from (have you considered simply > using Mint?). > > The strength is that in addition to the hundreds of distros there are also > dozens of window managers and thousands of other mods, so everyone can have > exactly what they most prefer. > > Personally, count me among the millions who rather like the Ubuntu look > and feel, but there's no disputing taste so enjoy the unique opportunity > Linux offers in allowing everyone to set up their system however they like. > > > -- > 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Regards, Andrew Kluthe andrew at ctech.me From ludovic.thebault at laposte.net Fri Nov 15 09:43:46 2013 From: ludovic.thebault at laposte.net (=?iso-8859-1?Q?Ludovic_Th=E9bault?=) Date: Fri, 15 Nov 2013 15:43:46 +0100 Subject: Protect the typing In-Reply-To: References: <8D0B02117965F9D-13AC-5125@webmail-m294.sysops.aol.com> Message-ID: Le 15 nov. 2013 ? 15:38, Ludovic Th?bault a ?crit : > > Le 15 nov. 2013 ? 14:52, dunbarx at aol.com a ?crit : > >> Hi, >> >> >> Type too fast? Can you post the script? How does the user make a new line? By hitting return? >> > > > The user wrote gps coordinates, my script search the city, postcode, altitude from these coordinates, by a local database or by internet so it may take time. > > I've just tested this solution, it seem to work : (not if the program search on internet) From ambassador at fourthworld.com Fri Nov 15 09:46:22 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 15 Nov 2013 06:46:22 -0800 Subject: Standalones and Linux In-Reply-To: References: Message-ID: <528633BE.70908@fourthworld.com> Andrew Kluthe wrote: > I think I'll just go through and see what I can do about just making > a specific linux version of that application. Once you figure out why the "Add a Task" backgroundColor is using the hiliteColor, for the text size I think it's much simpler than spending a lot of time on Linux-specific stuff, probably just three lines in your preOpenStack handler: if the platform is "Linux" then set the textSize of this stack to 13 -- or whatever looks good end if -- 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 From andrew at ctech.me Fri Nov 15 09:49:38 2013 From: andrew at ctech.me (Andrew Kluthe) Date: Fri, 15 Nov 2013 08:49:38 -0600 Subject: Standalones and Linux In-Reply-To: <528633BE.70908@fourthworld.com> References: <528633BE.70908@fourthworld.com> Message-ID: Will that change fonts that are specifically different sizes to 13? Like if I had originally some buttons that had size 20 font and some others that had size 14 would they all be 13 now? Andrew On Fri, Nov 15, 2013 at 8:46 AM, Richard Gaskin wrote: > Andrew Kluthe wrote: > > I think I'll just go through and see what I can do about just making > > a specific linux version of that application. > > Once you figure out why the "Add a Task" backgroundColor is using the > hiliteColor, for the text size I think it's much simpler than spending a > lot of time on Linux-specific stuff, probably just three lines in your > preOpenStack handler: > > if the platform is "Linux" then > set the textSize of this stack to 13 -- or whatever looks good > end if > > > > -- > 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Regards, Andrew Kluthe andrew at ctech.me From m_p_wilcox at yahoo.co.uk Fri Nov 15 10:19:31 2013 From: m_p_wilcox at yahoo.co.uk (Mark Wilcox) Date: Fri, 15 Nov 2013 15:19:31 +0000 (GMT) Subject: IOS & Android Bug Updates In-Reply-To: References: Message-ID: <1384528771.88012.YahooMailNeo@web28802.mail.ir2.yahoo.com> Of course it depends what your app does with the user data but neither iOS nor Android overwrite any files in the standard "documents" path on update. iOS 6 & 7?only overwrite files that you've changed on update - so application created files in other paths should also be safe. Android has been capable of doing the same since version 2.3 but it depends what the app store in question provides as an update package. Google Play sends partial app updates to all capable devices - don't know about other stores. I know that's not a complete answer to your question but due to the nature of Android, I wouldn't like to "guarantee" any more than I've said. Mark ________________________________ From: Vaughn Clement To: How to use LiveCode Sent: Friday, 15 November 2013, 13:47 Subject: IOS & Android Bug Updates Hi All I am nearing the completion and testing of my first app. It occurred to me in my bug checking process that I have no idea how bug updates work with LiveCode. For Example: I know how to submit a bug update for a bug fix for IOS because I have done it in the past. But with LivCode I am concerned that if a bug fix needs to be submitted for IOS or Android apps will the user data be preserved or overwritten when the user updates the app? I have not seen any reference to this anywhere in LC documentation. The question arose when I started reading the resolution independence email questions where an update could be needed even when an image tests correctly. Has anyone run into an issue where the user data gets overwritten when an update is submitted? Thank you Vaughn Clement Apps by Vaughn Clement (Support) *http://www.appsbyvaughnclement.com/tools/home-page/ * Skype: vaughn.clement https://secure.join.me/appsbyvclement FaceTime: vclement at gmail.com LogMeIn also avaialble Call on "ooVoo" at address:? vaughnclement or 9282549062 Ph. 928-254-9062 Cloud Hosting Registration Web Site: https://my.oditech.com/cart.php?a=add&pid=41 _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Fri Nov 15 10:38:32 2013 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Fri, 15 Nov 2013 10:38:32 -0500 Subject: IOS & Android Bug Updates In-Reply-To: References: Message-ID: <00d701cee218$be88ec60$3b9ac520$@net> Short answer==>Yes user data is preserved. I submit updates for both Android and iOS apps. User data is always preserved. The apps engine data(include files pane) changes(or not) when an update is installed. The updated app's data is referenced by the "the engine folder" and is read-only. The user data referenced by "the documents folder" is always preserved after an update. The user data is only deleted when the user uninstalls the app or on Android the user "wipes user data" in settings. It's unclear to me if one can delete user data on iOS without uninstalling/reinstalling if it is not "jailbreaked". Anyone on this? Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Vaughn Clement Sent: Friday, November 15, 2013 8:47 AM To: How to use LiveCode Subject: IOS & Android Bug Updates Hi All I am nearing the completion and testing of my first app. It occurred to me in my bug checking process that I have no idea how bug updates work with LiveCode. For Example: I know how to submit a bug update for a bug fix for IOS because I have done it in the past. But with LivCode I am concerned that if a bug fix needs to be submitted for IOS or Android apps will the user data be preserved or overwritten when the user updates the app? I have not seen any reference to this anywhere in LC documentation. The question arose when I started reading the resolution independence email questions where an update could be needed even when an image tests correctly. Has anyone run into an issue where the user data gets overwritten when an update is submitted? Thank you Vaughn Clement Apps by Vaughn Clement (Support) *http://www.appsbyvaughnclement.com/tools/home-page/ * Skype: vaughn.clement https://secure.join.me/appsbyvclement FaceTime: vclement at gmail.com LogMeIn also avaialble Call on "ooVoo" at address: vaughnclement or 9282549062 Ph. 928-254-9062 Cloud Hosting Registration Web Site: https://my.oditech.com/cart.php?a=add&pid=41 _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From m_p_wilcox at yahoo.co.uk Fri Nov 15 11:22:58 2013 From: m_p_wilcox at yahoo.co.uk (Mark Wilcox) Date: Fri, 15 Nov 2013 16:22:58 +0000 Subject: IOS & Android Bug Updates Message-ID: >> It's unclear to me if one can delete user data on iOS without uninstalling/reinstalling if it is not "jailbreaked". Anyone on this? Unless the app offers such a feature I don't think you can remove user data on iOS directly but last time I checked you could access the documents folder associated with each app in iTunes and delete from there. I've been using Xcode organiser to manage app storage during testing for a long while though, so I haven't checked recently. From jacque at hyperactivesw.com Fri Nov 15 13:11:39 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 15 Nov 2013 12:11:39 -0600 Subject: Resolution independance and referenced images In-Reply-To: References: Message-ID: <528663DB.20308@hyperactivesw.com> On 11/15/13 5:41 AM, Klaus major-k wrote: > Hi friends, > > I am afraid, I still don't get it!? > Does this mean the engine does use the @2 images (if present) > automatically when on a HIRES device? > > I mean if I have one referenced image in my stack: > the_image.jpg > > And have another image in the same folder: > the_image at 2.jpg > > And now create a stack for NON hires devices with tath first > image, does Livecode automatically (!) display the @2 image > in the image object when on a HIRES device? As I understand it, yes. That's what happens. > Or does the developer need to do the substitution? You don't need to do anything. If the images on disk are named correctly the substitution happens automatically. Scott's question is why that doesn't happen with imported images too, and I think that would be a good addition. Most of my stacks use imported images to keep everything in a single file. The down side is that the stack would grow much larger because you'd have two copies of each image embedded. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From klaus at major-k.de Fri Nov 15 13:14:29 2013 From: klaus at major-k.de (Klaus major-k) Date: Fri, 15 Nov 2013 19:14:29 +0100 Subject: Resolution independance and referenced images In-Reply-To: <528663DB.20308@hyperactivesw.com> References: <528663DB.20308@hyperactivesw.com> Message-ID: <73BBB628-2AF1-4F11-A74F-E06393620B3D@major-k.de> Hi Jaquelin, Am 15.11.2013 um 19:11 schrieb J. Landman Gay : > On 11/15/13 5:41 AM, Klaus major-k wrote: >> Hi friends, >> >> I am afraid, I still don't get it!? >> Does this mean the engine does use the @2 images (if present) >> automatically when on a HIRES device? >> >> I mean if I have one referenced image in my stack: >> the_image.jpg >> >> And have another image in the same folder: >> the_image at 2.jpg >> >> And now create a stack for NON hires devices with tath first >> image, does Livecode automatically (!) display the @2 image >> in the image object when on a HIRES device? > As I understand it, yes. That's what happens. OK, it just sounded too good to "get it" :-D >> Or does the developer need to do the substitution? > You don't need to do anything. If the images on disk are named correctly the substitution happens automatically. Great! > Scott's question is why that doesn't happen with imported images too, and I think that would be a good addition. Most of my stacks use imported images to keep everything in a single file. The down side is that the stack would grow much larger because you'd have two copies of each image embedded. Yes, teh same for imported images would be especially cool! > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From vclement at gmail.com Fri Nov 15 13:17:34 2013 From: vclement at gmail.com (Vaughn Clement) Date: Fri, 15 Nov 2013 11:17:34 -0700 Subject: IOS & Android Bug Updates In-Reply-To: <1384528771.88012.YahooMailNeo@web28802.mail.ir2.yahoo.com> References: <1384528771.88012.YahooMailNeo@web28802.mail.ir2.yahoo.com> Message-ID: Hi For the most part this answers the questions. I was not trying to delete the user data, but preserve the data upon a new update. I was told the "Document" folder was the place to put any app related images and referenced docs to have them sustained in the app. I just needed to understand that there is not a special process or scripts required to protect the users added data from being deleted on an update. Thank you Vaughn Clement Apps by Vaughn Clement (Support) *http://www.appsbyvaughnclement.com/tools/home-page/ * Skype: vaughn.clement https://secure.join.me/appsbyvclement FaceTime: vclement at gmail.com LogMeIn also avaialble Call on "ooVoo" at address: vaughnclement or 9282549062 Ph. 928-254-9062 Cloud Hosting Registration Web Site: https://my.oditech.com/cart.php?a=add&pid=41 On Fri, Nov 15, 2013 at 8:19 AM, Mark Wilcox wrote: > Of course it depends what your app does with the user data but neither iOS > nor Android overwrite any files in the standard "documents" path on update. > iOS 6 & 7 only overwrite files that you've changed on update - so > application created files in other paths should also be safe. Android has > been capable of doing the same since version 2.3 but it depends what the > app store in question provides as an update package. Google Play sends > partial app updates to all capable devices - don't know about other stores. > > I know that's not a complete answer to your question but due to the nature > of Android, I wouldn't like to "guarantee" any more than I've said. > > Mark > > > ________________________________ > From: Vaughn Clement > To: How to use LiveCode > Sent: Friday, 15 November 2013, 13:47 > Subject: IOS & Android Bug Updates > > > Hi All > > I am nearing the completion and testing of my first app. It occurred to me > in my bug checking process that I have no idea how bug updates work with > LiveCode. > > For Example: I know how to submit a bug update for a bug fix for IOS > because I have done it in the past. But with LivCode I am concerned that if > a bug fix needs to be submitted for IOS or Android apps will the user data > be preserved or overwritten when the user updates the app? > > I have not seen any reference to this anywhere in LC documentation. The > question arose when I started reading the resolution independence email > questions where an update could be needed even when an image tests > correctly. Has anyone run into an issue where the user data gets > overwritten when an update is submitted? > > Thank you > > Vaughn Clement > > Apps by Vaughn Clement (Support) > *http://www.appsbyvaughnclement.com/tools/home-page/ > * > Skype: vaughn.clement > https://secure.join.me/appsbyvclement > FaceTime: vclement at gmail.com > LogMeIn also avaialble > Call on "ooVoo" at address: vaughnclement or 9282549062 > Ph. 928-254-9062 > Cloud Hosting Registration Web Site: > https://my.oditech.com/cart.php?a=add&pid=41 > _______________________________________________ > use-livecode mailing list > use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From rdimola at evergreeninfo.net Fri Nov 15 13:33:47 2013 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Fri, 15 Nov 2013 13:33:47 -0500 Subject: IOS & Android Bug Updates In-Reply-To: References: <1384528771.88012.YahooMailNeo@web28802.mail.ir2.yahoo.com> Message-ID: <00ed01cee231$39594670$ac0bd350$@net> Android and iOS updates do not touch "the documents folder" PERIOD. Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Vaughn Clement Sent: Friday, November 15, 2013 1:18 PM To: How to use LiveCode Subject: Re: IOS & Android Bug Updates Hi For the most part this answers the questions. I was not trying to delete the user data, but preserve the data upon a new update. I was told the "Document" folder was the place to put any app related images and referenced docs to have them sustained in the app. I just needed to understand that there is not a special process or scripts required to protect the users added data from being deleted on an update. Thank you Vaughn Clement Apps by Vaughn Clement (Support) *http://www.appsbyvaughnclement.com/tools/home-page/ * Skype: vaughn.clement https://secure.join.me/appsbyvclement FaceTime: vclement at gmail.com LogMeIn also avaialble Call on "ooVoo" at address: vaughnclement or 9282549062 Ph. 928-254-9062 Cloud Hosting Registration Web Site: https://my.oditech.com/cart.php?a=add&pid=41 On Fri, Nov 15, 2013 at 8:19 AM, Mark Wilcox wrote: > Of course it depends what your app does with the user data but neither > iOS nor Android overwrite any files in the standard "documents" path on update. > iOS 6 & 7 only overwrite files that you've changed on update - so > application created files in other paths should also be safe. Android > has been capable of doing the same since version 2.3 but it depends > what the app store in question provides as an update package. Google > Play sends partial app updates to all capable devices - don't know about other stores. > > I know that's not a complete answer to your question but due to the > nature of Android, I wouldn't like to "guarantee" any more than I've said. > > Mark > > > ________________________________ > From: Vaughn Clement > To: How to use LiveCode > Sent: Friday, 15 November 2013, 13:47 > Subject: IOS & Android Bug Updates > > > Hi All > > I am nearing the completion and testing of my first app. It occurred > to me in my bug checking process that I have no idea how bug updates > work with LiveCode. > > For Example: I know how to submit a bug update for a bug fix for IOS > because I have done it in the past. But with LivCode I am concerned > that if a bug fix needs to be submitted for IOS or Android apps will > the user data be preserved or overwritten when the user updates the app? > > I have not seen any reference to this anywhere in LC documentation. > The question arose when I started reading the resolution independence > email questions where an update could be needed even when an image > tests correctly. Has anyone run into an issue where the user data gets > overwritten when an update is submitted? > > Thank you > > Vaughn Clement > > Apps by Vaughn Clement (Support) > *http://www.appsbyvaughnclement.com/tools/home-page/ > * > Skype: vaughn.clement > https://secure.join.me/appsbyvclement > FaceTime: vclement at gmail.com > LogMeIn also avaialble > Call on "ooVoo" at address: vaughnclement or 9282549062 Ph. > 928-254-9062 Cloud Hosting Registration Web Site: > https://my.oditech.com/cart.php?a=add&pid=41 > _______________________________________________ > use-livecode mailing list > use-livecode at 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 at 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 at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From scott at tactilemedia.com Fri Nov 15 13:43:29 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 15 Nov 2013 10:43:29 -0800 Subject: Resolution independance and referenced images In-Reply-To: <528663DB.20308@hyperactivesw.com> Message-ID: Glad you understood my comment. In terms of sharing stacks with others, it would be way more convenient to have the image-replacement stuff work with imported images, not just referenced. And guess what: your comment about two images is short by 50%. If you design an app using the iOS7 approach, you need 4 versions of icons now, because icons have a pressed state (the normal state inverted). More fun to be had. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 11/15/13 10:11 AM, "J. Landman Gay" wrote: >Scott's question is why that doesn't happen with imported images too, >and I think that would be a good addition. Most of my stacks use >imported images to keep everything in a single file. The down side is >that the stack would grow much larger because you'd have two copies of >each image embedded. From jacque at hyperactivesw.com Fri Nov 15 14:17:41 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 15 Nov 2013 13:17:41 -0600 Subject: Resolution independance and referenced images In-Reply-To: References: Message-ID: <52867355.7010005@hyperactivesw.com> On 11/15/13 12:43 PM, Scott Rossi wrote: > And guess what: your comment about two images is short by 50%. If you > design an app using the iOS7 approach, you need 4 versions of icons now, > because icons have a pressed state (the normal state inverted). Knowing you, you'll come up with some clever way to do it with inks. :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From monte at sweattechnologies.com Fri Nov 15 14:17:28 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Sat, 16 Nov 2013 06:17:28 +1100 Subject: Resolution independance and referenced images In-Reply-To: References: Message-ID: On 16/11/2013, at 5:43 AM, Scott Rossi wrote: > Glad you understood my comment. In terms of sharing stacks with others, > it would be way more convenient to have the image-replacement stuff work > with imported images, not just referenced. > > And guess what: your comment about two images is short by 50%. If you > design an app using the iOS7 approach, you need 4 versions of icons now, > because icons have a pressed state (the normal state inverted). I'm still not sure I understand the problem because this mechanism basically does the same thing as locking the location of the image and dividing the size by 2. So why not do that? Or are you wanting one image to have multiple texts (the data from the image file) and switch between them? Cheers -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From scott at tactilemedia.com Fri Nov 15 14:32:05 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 15 Nov 2013 11:32:05 -0800 Subject: Resolution independance and referenced images In-Reply-To: <52867355.7010005@hyperactivesw.com> Message-ID: On 11/15/13 11:17 AM, "J. Landman Gay" wrote: >On 11/15/13 12:43 PM, Scott Rossi wrote: > >> And guess what: your comment about two images is short by 50%. If you >> design an app using the iOS7 approach, you need 4 versions of icons now, >> because icons have a pressed state (the normal state inverted). > >Knowing you, you'll come up with some clever way to do it with inks. :) If only it were that simple. Nope, thanks to the new "line style" icons, many of them use a pressed state that's filled differently compared the normal state, so there's no option other than using an additional set of icons. Inks can't help us here. Even BatKid can't help. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design From Nakia.Brewer at westrac.com.au Sat Nov 16 05:21:13 2013 From: Nakia.Brewer at westrac.com.au (Nakia Brewer) Date: Sat, 16 Nov 2013 10:21:13 +0000 Subject: building a control -- Well trying anyway Message-ID: <67116DB20798A94285EEE12A67079A283262DFF9@MHSEXC02.westrac.com.au> Hi, I thought I might have ago at building a simple little control that simulates the iOS xCode UIKeyboardToolbar (the one that has the 'Done' 'Last' buttons on it etc) So, I have mocked up a group of objects in LC to simulate the look of the Native object (roughly close) and now I am trying to get it all to work. My current plan is to use this as a 'library' so I have it loaded as a substack of my test app. I want to be able to call it optionally depending on the field that bought the keyboard up. Now, so far I have got to the point of being able to copy the group from library stack to the current card of the current stack but have hit a stumble trying to perform any actions on the newly copied group. For example, I am trying to set the rect of the new group post creation and for the life of me cant get it to work.. Can anyone see something stupid below? In the stackscript of the library I am currently doing the below. on showUIKeyboardToolbar ## First calculate the correct size for the UIKeyboardToolbar from the effective screen rect -- Note, simply assuming the UIToolbar should be ~ 10% of its width put the working screenRect into tRect set the itemdel to comma put (.10*(item 3 of tRect - item 1 of tRect)) into tHeight put (item 4 of tRect - tHeight) into item 2 of tRect copy group "UIKeyboardToolbar" of card "iPhone_Standard_Portrait" of stack "LC_iOS_UIKeyboardToolbar" to the current card of the current stack put it into tNewGroup set the rect of group tNewGroup of the current card of the current stack to tRect -- This action does not complete and the copied group does not resize ??? show group tNewGroup of the current card of the current stack end showUIKeyboardToolbar on keyboardDeactivated ## Destroy the copied group -- This works fine, when the keyboard closes the group is destroyed delete group "UIKeyboardToolbar" of the current card of the current stack end keyboardDeactivated In the application stack on the landing UI Card I have on openCard start using stack "LC_iOS_UIKeyboardToolbar" iphoneUseDeviceResolution true end openCard on keyboardActivated showUIKeyboardToolbar end keyboardActivated 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. From gerry.orkin at gmail.com Sat Nov 16 05:36:48 2013 From: gerry.orkin at gmail.com (Gerry Orkin) Date: Sat, 16 Nov 2013 21:36:48 +1100 Subject: building a control -- Well trying anyway In-Reply-To: <67116DB20798A94285EEE12A67079A283262DFF9@MHSEXC02.westrac.com.au> References: <67116DB20798A94285EEE12A67079A283262DFF9@MHSEXC02.westrac.com.au> Message-ID: <2AC557BC-06BC-4ED5-AC6D-D3C6E68754CA@gmail.com> Why make it so complicated? Just create the group on the card and show and hide it! Gerry > On 16 Nov 2013, at 9:21 pm, Nakia Brewer wrote: > > Hi, > > I thought I might have ago at building a simple little control that simulates the iOS xCode UIKeyboardToolbar > (the one that has the 'Done' 'Last' buttons on it etc) From Nakia.Brewer at westrac.com.au Sat Nov 16 05:46:01 2013 From: Nakia.Brewer at westrac.com.au (Nakia Brewer) Date: Sat, 16 Nov 2013 10:46:01 +0000 Subject: building a control -- Well trying anyway In-Reply-To: <2AC557BC-06BC-4ED5-AC6D-D3C6E68754CA@gmail.com> References: <67116DB20798A94285EEE12A67079A283262DFF9@MHSEXC02.westrac.com.au>, <2AC557BC-06BC-4ED5-AC6D-D3C6E68754CA@gmail.com> Message-ID: <7B80108C-6A6E-4D72-B1CC-20767DCF4D93@westrac.com.au> Yeah I do realise it's much easier that way but I want to challenge myself to learn how to build controls.. Also, I need to use this over many cards (>20) so i imagine it easier to create and maintain a single instance of this control/group... Sent from my iPhone > On 16 Nov 2013, at 9:37 pm, "Gerry Orkin" wrote: > > Why make it so complicated? Just create the group on the card and show and hide it! > > Gerry > >> On 16 Nov 2013, at 9:21 pm, Nakia Brewer wrote: >> >> Hi, >> >> I thought I might have ago at building a simple little control that simulates the iOS xCode UIKeyboardToolbar >> (the one that has the 'Done' 'Last' buttons on it etc) > > _______________________________________________ > use-livecode mailing list > use-livecode at 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. From richmondmathewson at gmail.com Sat Nov 16 06:00:14 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 16 Nov 2013 13:00:14 +0200 Subject: building a control -- Well trying anyway In-Reply-To: <67116DB20798A94285EEE12A67079A283262DFF9@MHSEXC02.westrac.com.au> References: <67116DB20798A94285EEE12A67079A283262DFF9@MHSEXC02.westrac.com.au> Message-ID: <5287503E.6060003@gmail.com> On 16.11.2013 12:21, Nakia Brewer wrote: Why not have your ToolBar set up NOT as a stack, but as a background group (which will then be propagated across all of your cards); then all you need to do is toggle the VIS of that group? Richmond. > Hi, > > I thought I might have ago at building a simple little control that simulates the iOS xCode UIKeyboardToolbar > (the one that has the 'Done' 'Last' buttons on it etc) > > So, I have mocked up a group of objects in LC to simulate the look of the Native object (roughly close) and now I am trying to get it all to work. > > My current plan is to use this as a 'library' so I have it loaded as a substack of my test app. I want to be able to call it optionally depending on the field that bought the keyboard up. > > Now, so far I have got to the point of being able to copy the group from library stack to the current card of the current stack but have hit a stumble trying to perform any actions on the newly copied group. For example, I am trying to set the rect of the new group post creation and for the life of me cant get it to work.. Can anyone see something stupid below? > > In the stackscript of the library I am currently doing the below. > > on showUIKeyboardToolbar > ## First calculate the correct size for the UIKeyboardToolbar from the effective screen rect > -- Note, simply assuming the UIToolbar should be ~ 10% of its width > put the working screenRect into tRect > set the itemdel to comma > put (.10*(item 3 of tRect - item 1 of tRect)) into tHeight > put (item 4 of tRect - tHeight) into item 2 of tRect > copy group "UIKeyboardToolbar" of card "iPhone_Standard_Portrait" of stack "LC_iOS_UIKeyboardToolbar" to the current card of the current stack > put it into tNewGroup > set the rect of group tNewGroup of the current card of the current stack to tRect -- This action does not complete and the copied group does not resize ??? > show group tNewGroup of the current card of the current stack > end showUIKeyboardToolbar > > on keyboardDeactivated > ## Destroy the copied group -- This works fine, when the keyboard closes the group is destroyed > delete group "UIKeyboardToolbar" of the current card of the current stack > end keyboardDeactivated > > > In the application stack on the landing UI Card I have > > on openCard > start using stack "LC_iOS_UIKeyboardToolbar" > iphoneUseDeviceResolution true > end openCard > > on keyboardActivated > showUIKeyboardToolbar > end keyboardActivated > > > > > > 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From m.schonewille at economy-x-talk.com Sat Nov 16 06:07:31 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 16 Nov 2013 12:07:31 +0100 Subject: building a control -- Well trying anyway In-Reply-To: <67116DB20798A94285EEE12A67079A283262DFF9@MHSEXC02.westrac.com.au> References: <67116DB20798A94285EEE12A67079A283262DFF9@MHSEXC02.westrac.com.au> Message-ID: <528751F3.6000609@economy-x-talk.com> Hi Nakia, Set the lockLoc of the group to true. This makes sure that any rects set by script will stick. When you change the rect of the group, the controls inside the group won't resize automatically. You need a script to do this. You can add a resizeControl handler to the group and change all controls' sizes in response to that. The border of the group may be invisible, making you to think that the rect doesn't change while in fact it does change. You write "this action does not complete". Do you get an error? What is the exact text of the error? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi Fill out this survey please http://livecodebeginner.economy-x-talk.com/survey/ On 11/16/2013 11:21, Nakia Brewer wrote: > Hi, > > I thought I might have ago at building a simple little control that simulates the iOS xCode UIKeyboardToolbar > (the one that has the 'Done' 'Last' buttons on it etc) > > So, I have mocked up a group of objects in LC to simulate the look of the Native object (roughly close) and now I am trying to get it all to work. > > My current plan is to use this as a 'library' so I have it loaded as a substack of my test app. I want to be able to call it optionally depending on the field that bought the keyboard up. > > Now, so far I have got to the point of being able to copy the group from library stack to the current card of the current stack but have hit a stumble trying to perform any actions on the newly copied group. For example, I am trying to set the rect of the new group post creation and for the life of me cant get it to work.. Can anyone see something stupid below? > > In the stackscript of the library I am currently doing the below. > > on showUIKeyboardToolbar > ## First calculate the correct size for the UIKeyboardToolbar from the effective screen rect > -- Note, simply assuming the UIToolbar should be ~ 10% of its width > put the working screenRect into tRect > set the itemdel to comma > put (.10*(item 3 of tRect - item 1 of tRect)) into tHeight > put (item 4 of tRect - tHeight) into item 2 of tRect > copy group "UIKeyboardToolbar" of card "iPhone_Standard_Portrait" of stack "LC_iOS_UIKeyboardToolbar" to the current card of the current stack > put it into tNewGroup > set the rect of group tNewGroup of the current card of the current stack to tRect -- This action does not complete and the copied group does not resize ??? > show group tNewGroup of the current card of the current stack > end showUIKeyboardToolbar > > on keyboardDeactivated > ## Destroy the copied group -- This works fine, when the keyboard closes the group is destroyed > delete group "UIKeyboardToolbar" of the current card of the current stack > end keyboardDeactivated > > > In the application stack on the landing UI Card I have > > on openCard > start using stack "LC_iOS_UIKeyboardToolbar" > iphoneUseDeviceResolution true > end openCard > > on keyboardActivated > showUIKeyboardToolbar > end keyboardActivated > > > > > > 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From Nakia.Brewer at westrac.com.au Sat Nov 16 06:08:07 2013 From: Nakia.Brewer at westrac.com.au (Nakia Brewer) Date: Sat, 16 Nov 2013 11:08:07 +0000 Subject: building a control -- Well trying anyway In-Reply-To: <5287503E.6060003@gmail.com> References: <67116DB20798A94285EEE12A67079A283262DFF9@MHSEXC02.westrac.com.au>, <5287503E.6060003@gmail.com> Message-ID: I want to be able to also use this over a few different projects too.. Another reason I thought of doing it as a library. Also, I currently have it at huge size for highest res screen I need so having it as a substack allows me to view the entire group as I can have that stack at a different size to the application stack... Sent from my iPhone > On 16 Nov 2013, at 10:00 pm, "Richmond" wrote: > > On 16.11.2013 12:21, Nakia Brewer wrote: > > Why not have your ToolBar set up NOT as a stack, but as a background group (which will then be propagated across all of your cards); then all you need to do is toggle the VIS of that group? > > Richmond. > >> Hi, >> >> I thought I might have ago at building a simple little control that simulates the iOS xCode UIKeyboardToolbar >> (the one that has the 'Done' 'Last' buttons on it etc) >> >> So, I have mocked up a group of objects in LC to simulate the look of the Native object (roughly close) and now I am trying to get it all to work. >> >> My current plan is to use this as a 'library' so I have it loaded as a substack of my test app. I want to be able to call it optionally depending on the field that bought the keyboard up. >> >> Now, so far I have got to the point of being able to copy the group from library stack to the current card of the current stack but have hit a stumble trying to perform any actions on the newly copied group. For example, I am trying to set the rect of the new group post creation and for the life of me cant get it to work.. Can anyone see something stupid below? >> >> In the stackscript of the library I am currently doing the below. >> >> on showUIKeyboardToolbar >> ## First calculate the correct size for the UIKeyboardToolbar from the effective screen rect >> -- Note, simply assuming the UIToolbar should be ~ 10% of its width >> put the working screenRect into tRect >> set the itemdel to comma >> put (.10*(item 3 of tRect - item 1 of tRect)) into tHeight >> put (item 4 of tRect - tHeight) into item 2 of tRect >> copy group "UIKeyboardToolbar" of card "iPhone_Standard_Portrait" of stack "LC_iOS_UIKeyboardToolbar" to the current card of the current stack >> put it into tNewGroup >> set the rect of group tNewGroup of the current card of the current stack to tRect -- This action does not complete and the copied group does not resize ??? >> show group tNewGroup of the current card of the current stack >> end showUIKeyboardToolbar >> >> on keyboardDeactivated >> ## Destroy the copied group -- This works fine, when the keyboard closes the group is destroyed >> delete group "UIKeyboardToolbar" of the current card of the current stack >> end keyboardDeactivated >> >> >> In the application stack on the landing UI Card I have >> >> on openCard >> start using stack "LC_iOS_UIKeyboardToolbar" >> iphoneUseDeviceResolution true >> end openCard >> >> on keyboardActivated >> showUIKeyboardToolbar >> end keyboardActivated >> >> >> >> >> >> 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 at 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 at 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. From walter.h.brown at gmail.com Sat Nov 16 06:08:50 2013 From: walter.h.brown at gmail.com (Walt Brown) Date: Sat, 16 Nov 2013 06:08:50 -0500 Subject: building a control -- Well trying anyway In-Reply-To: <67116DB20798A94285EEE12A67079A283262DFF9@MHSEXC02.westrac.com.au> References: <67116DB20798A94285EEE12A67079A283262DFF9@MHSEXC02.westrac.com.au> Message-ID: Check what was returned in the "it" variable - it already contains the word "group" "set the rect of group tNewGroup" Just a thought. I tested it in 5.5.2. Walt On Sat, Nov 16, 2013 at 5:21 AM, Nakia Brewer wrote: > Hi, > > I thought I might have ago at building a simple little control that > simulates the iOS xCode UIKeyboardToolbar > (the one that has the 'Done' 'Last' buttons on it etc) > > So, I have mocked up a group of objects in LC to simulate the look of the > Native object (roughly close) and now I am trying to get it all to work. > > My current plan is to use this as a 'library' so I have it loaded as a > substack of my test app. I want to be able to call it optionally depending > on the field that bought the keyboard up. > > Now, so far I have got to the point of being able to copy the group from > library stack to the current card of the current stack but have hit a > stumble trying to perform any actions on the newly copied group. For > example, I am trying to set the rect of the new group post creation and for > the life of me cant get it to work.. Can anyone see something stupid below? > > In the stackscript of the library I am currently doing the below. > > on showUIKeyboardToolbar > ## First calculate the correct size for the UIKeyboardToolbar from the > effective screen rect > -- Note, simply assuming the UIToolbar should be ~ 10% of its width > put the working screenRect into tRect > set the itemdel to comma > put (.10*(item 3 of tRect - item 1 of tRect)) into tHeight > put (item 4 of tRect - tHeight) into item 2 of tRect > copy group "UIKeyboardToolbar" of card "iPhone_Standard_Portrait" of > stack "LC_iOS_UIKeyboardToolbar" to the current card of the current stack > put it into tNewGroup > set the rect of group tNewGroup of the current card of the current > stack to tRect -- This action does not complete and the copied group does > not resize ??? > show group tNewGroup of the current card of the current stack > end showUIKeyboardToolbar > > on keyboardDeactivated > ## Destroy the copied group -- This works fine, when the keyboard > closes the group is destroyed > delete group "UIKeyboardToolbar" of the current card of the current > stack > end keyboardDeactivated > > > In the application stack on the landing UI Card I have > > on openCard > start using stack "LC_iOS_UIKeyboardToolbar" > iphoneUseDeviceResolution true > end openCard > > on keyboardActivated > showUIKeyboardToolbar > end keyboardActivated > > > > > > 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From walter.h.brown at gmail.com Sat Nov 16 06:20:24 2013 From: walter.h.brown at gmail.com (Walt Brown) Date: Sat, 16 Nov 2013 06:20:24 -0500 Subject: building a control -- Well trying anyway In-Reply-To: References: <67116DB20798A94285EEE12A67079A283262DFF9@MHSEXC02.westrac.com.au> Message-ID: To be clearer, try changing: "set the rect of group tNewGroup" To: "set the rect of tNewGroup". On Sat, Nov 16, 2013 at 6:08 AM, Walt Brown wrote: > Check what was returned in the "it" variable - it already contains the > word "group" > > "set the rect of group tNewGroup" > > Just a thought. I tested it in 5.5.2. > > Walt > > > On Sat, Nov 16, 2013 at 5:21 AM, Nakia Brewer > wrote: > >> Hi, >> >> I thought I might have ago at building a simple little control that >> simulates the iOS xCode UIKeyboardToolbar >> (the one that has the 'Done' 'Last' buttons on it etc) >> >> So, I have mocked up a group of objects in LC to simulate the look of the >> Native object (roughly close) and now I am trying to get it all to work. >> >> My current plan is to use this as a 'library' so I have it loaded as a >> substack of my test app. I want to be able to call it optionally depending >> on the field that bought the keyboard up. >> >> Now, so far I have got to the point of being able to copy the group from >> library stack to the current card of the current stack but have hit a >> stumble trying to perform any actions on the newly copied group. For >> example, I am trying to set the rect of the new group post creation and for >> the life of me cant get it to work.. Can anyone see something stupid below? >> >> In the stackscript of the library I am currently doing the below. >> >> on showUIKeyboardToolbar >> ## First calculate the correct size for the UIKeyboardToolbar from the >> effective screen rect >> -- Note, simply assuming the UIToolbar should be ~ 10% of its width >> put the working screenRect into tRect >> set the itemdel to comma >> put (.10*(item 3 of tRect - item 1 of tRect)) into tHeight >> put (item 4 of tRect - tHeight) into item 2 of tRect >> copy group "UIKeyboardToolbar" of card "iPhone_Standard_Portrait" of >> stack "LC_iOS_UIKeyboardToolbar" to the current card of the current stack >> put it into tNewGroup >> set the rect of group tNewGroup of the current card of the current >> stack to tRect -- This action does not complete and the copied group does >> not resize ??? >> show group tNewGroup of the current card of the current stack >> end showUIKeyboardToolbar >> >> on keyboardDeactivated >> ## Destroy the copied group -- This works fine, when the keyboard >> closes the group is destroyed >> delete group "UIKeyboardToolbar" of the current card of the current >> stack >> end keyboardDeactivated >> >> >> In the application stack on the landing UI Card I have >> >> on openCard >> start using stack "LC_iOS_UIKeyboardToolbar" >> iphoneUseDeviceResolution true >> end openCard >> >> on keyboardActivated >> showUIKeyboardToolbar >> end keyboardActivated >> >> >> >> >> >> 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 at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > From Nakia.Brewer at westrac.com.au Sat Nov 16 06:23:38 2013 From: Nakia.Brewer at westrac.com.au (Nakia Brewer) Date: Sat, 16 Nov 2013 11:23:38 +0000 Subject: building a control -- Well trying anyway In-Reply-To: <528751F3.6000609@economy-x-talk.com> References: <67116DB20798A94285EEE12A67079A283262DFF9@MHSEXC02.westrac.com.au>, <528751F3.6000609@economy-x-talk.com> Message-ID: <67116DB20798A94285EEE12A67079A283262E17B@MHSEXC02.westrac.com.au> Its showing the following error in the message window Message execution error: Error description: Chunk: can't find background Hint: Its failing when its trying to set the rect of the newly created group. I have tried so far: set the rect of group tNewControl to tRect set the rect of control tNewControl to tRect The contents of tNweControl are: group id 1080 of card id 1002 of stack "/Users/nakia/Desktop/UIKeyboardToolbar Test App.livecode" Im trying the lockLoc now ________________________________________ From: use-livecode [use-livecode-bounces at lists.runrev.com] on behalf of Mark Schonewille [m.schonewille at economy-x-talk.com] Sent: Saturday, November 16, 2013 10:07 PM To: How to use LiveCode Subject: Re: building a control -- Well trying anyway Hi Nakia, Set the lockLoc of the group to true. This makes sure that any rects set by script will stick. When you change the rect of the group, the controls inside the group won't resize automatically. You need a script to do this. You can add a resizeControl handler to the group and change all controls' sizes in response to that. The border of the group may be invisible, making you to think that the rect doesn't change while in fact it does change. You write "this action does not complete". Do you get an error? What is the exact text of the error? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi Fill out this survey please http://livecodebeginner.economy-x-talk.com/survey/ On 11/16/2013 11:21, Nakia Brewer wrote: > Hi, > > I thought I might have ago at building a simple little control that simulates the iOS xCode UIKeyboardToolbar > (the one that has the 'Done' 'Last' buttons on it etc) > > So, I have mocked up a group of objects in LC to simulate the look of the Native object (roughly close) and now I am trying to get it all to work. > > My current plan is to use this as a 'library' so I have it loaded as a substack of my test app. I want to be able to call it optionally depending on the field that bought the keyboard up. > > Now, so far I have got to the point of being able to copy the group from library stack to the current card of the current stack but have hit a stumble trying to perform any actions on the newly copied group. For example, I am trying to set the rect of the new group post creation and for the life of me cant get it to work.. Can anyone see something stupid below? > > In the stackscript of the library I am currently doing the below. > > on showUIKeyboardToolbar > ## First calculate the correct size for the UIKeyboardToolbar from the effective screen rect > -- Note, simply assuming the UIToolbar should be ~ 10% of its width > put the working screenRect into tRect > set the itemdel to comma > put (.10*(item 3 of tRect - item 1 of tRect)) into tHeight > put (item 4 of tRect - tHeight) into item 2 of tRect > copy group "UIKeyboardToolbar" of card "iPhone_Standard_Portrait" of stack "LC_iOS_UIKeyboardToolbar" to the current card of the current stack > put it into tNewGroup > set the rect of group tNewGroup of the current card of the current stack to tRect -- This action does not complete and the copied group does not resize ??? > show group tNewGroup of the current card of the current stack > end showUIKeyboardToolbar > > on keyboardDeactivated > ## Destroy the copied group -- This works fine, when the keyboard closes the group is destroyed > delete group "UIKeyboardToolbar" of the current card of the current stack > end keyboardDeactivated > > > In the application stack on the landing UI Card I have > > on openCard > start using stack "LC_iOS_UIKeyboardToolbar" > iphoneUseDeviceResolution true > end openCard > > on keyboardActivated > showUIKeyboardToolbar > end keyboardActivated > > > > > > 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 at 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 at 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. From Nakia.Brewer at westrac.com.au Sat Nov 16 06:26:11 2013 From: Nakia.Brewer at westrac.com.au (Nakia Brewer) Date: Sat, 16 Nov 2013 11:26:11 +0000 Subject: building a control -- Well trying anyway In-Reply-To: References: <67116DB20798A94285EEE12A67079A283262DFF9@MHSEXC02.westrac.com.au> , Message-ID: <67116DB20798A94285EEE12A67079A283262E1BB@MHSEXC02.westrac.com.au> Yeah tried that, message box error "Script compile error: Error description: create: no file name supplied" ________________________________________ From: use-livecode [use-livecode-bounces at lists.runrev.com] on behalf of Walt Brown [walter.h.brown at gmail.com] Sent: Saturday, November 16, 2013 10:20 PM To: How to use LiveCode Subject: Re: building a control -- Well trying anyway To be clearer, try changing: "set the rect of group tNewGroup" To: "set the rect of tNewGroup". On Sat, Nov 16, 2013 at 6:08 AM, Walt Brown wrote: > Check what was returned in the "it" variable - it already contains the > word "group" > > "set the rect of group tNewGroup" > > Just a thought. I tested it in 5.5.2. > > Walt > > > On Sat, Nov 16, 2013 at 5:21 AM, Nakia Brewer > wrote: > >> Hi, >> >> I thought I might have ago at building a simple little control that >> simulates the iOS xCode UIKeyboardToolbar >> (the one that has the 'Done' 'Last' buttons on it etc) >> >> So, I have mocked up a group of objects in LC to simulate the look of the >> Native object (roughly close) and now I am trying to get it all to work. >> >> My current plan is to use this as a 'library' so I have it loaded as a >> substack of my test app. I want to be able to call it optionally depending >> on the field that bought the keyboard up. >> >> Now, so far I have got to the point of being able to copy the group from >> library stack to the current card of the current stack but have hit a >> stumble trying to perform any actions on the newly copied group. For >> example, I am trying to set the rect of the new group post creation and for >> the life of me cant get it to work.. Can anyone see something stupid below? >> >> In the stackscript of the library I am currently doing the below. >> >> on showUIKeyboardToolbar >> ## First calculate the correct size for the UIKeyboardToolbar from the >> effective screen rect >> -- Note, simply assuming the UIToolbar should be ~ 10% of its width >> put the working screenRect into tRect >> set the itemdel to comma >> put (.10*(item 3 of tRect - item 1 of tRect)) into tHeight >> put (item 4 of tRect - tHeight) into item 2 of tRect >> copy group "UIKeyboardToolbar" of card "iPhone_Standard_Portrait" of >> stack "LC_iOS_UIKeyboardToolbar" to the current card of the current stack >> put it into tNewGroup >> set the rect of group tNewGroup of the current card of the current >> stack to tRect -- This action does not complete and the copied group does >> not resize ??? >> show group tNewGroup of the current card of the current stack >> end showUIKeyboardToolbar >> >> on keyboardDeactivated >> ## Destroy the copied group -- This works fine, when the keyboard >> closes the group is destroyed >> delete group "UIKeyboardToolbar" of the current card of the current >> stack >> end keyboardDeactivated >> >> >> In the application stack on the landing UI Card I have >> >> on openCard >> start using stack "LC_iOS_UIKeyboardToolbar" >> iphoneUseDeviceResolution true >> end openCard >> >> on keyboardActivated >> showUIKeyboardToolbar >> end keyboardActivated >> >> >> >> >> >> 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 at 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 at 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. From m.schonewille at economy-x-talk.com Sat Nov 16 06:39:20 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 16 Nov 2013 12:39:20 +0100 Subject: building a control -- Well trying anyway In-Reply-To: <67116DB20798A94285EEE12A67079A283262E17B@MHSEXC02.westrac.com.au> References: <67116DB20798A94285EEE12A67079A283262DFF9@MHSEXC02.westrac.com.au>, <528751F3.6000609@economy-x-talk.com> <67116DB20798A94285EEE12A67079A283262E17B@MHSEXC02.westrac.com.au> Message-ID: <52875968.4040507@economy-x-talk.com> Hi Nakia, The problem is that tNewControl contains a long ID. If a variable contains a long ID, you don't need to put "group" before the variable. Because the long ID is a complete reference, you don't need to add a reference to a card or a stack either. Correct is: set the rect of tNewGroup to tRect Incorrect is: set the rect of group tNewGroup of the current card of the current stack to tRect -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi Fill out this survey please http://livecodebeginner.economy-x-talk.com/survey/ On 11/16/2013 12:23, Nakia Brewer wrote: > Its showing the following error in the message window > > Message execution error: > Error description: Chunk: can't find background > Hint: > > Its failing when its trying to set the rect of the newly created group. > I have tried so far: > > set the rect of group tNewControl to tRect > set the rect of control tNewControl to tRect > > > The contents of tNweControl are: > group id 1080 of card id 1002 of stack "/Users/nakia/Desktop/UIKeyboardToolbar Test App.livecode" > > Im trying the lockLoc now From Nakia.Brewer at westrac.com.au Sat Nov 16 06:46:44 2013 From: Nakia.Brewer at westrac.com.au (Nakia Brewer) Date: Sat, 16 Nov 2013 11:46:44 +0000 Subject: building a control -- Well trying anyway In-Reply-To: <52875968.4040507@economy-x-talk.com> References: <67116DB20798A94285EEE12A67079A283262DFF9@MHSEXC02.westrac.com.au>, <528751F3.6000609@economy-x-talk.com> <67116DB20798A94285EEE12A67079A283262E17B@MHSEXC02.westrac.com.au>, <52875968.4040507@economy-x-talk.com> Message-ID: <67116DB20798A94285EEE12A67079A283262E1F6@MHSEXC02.westrac.com.au> Thanks Mark, this has got it working in the IDE now! Still an issue in the Sim but I'll be able to sort that one out. ________________________________________ From: use-livecode [use-livecode-bounces at lists.runrev.com] on behalf of Mark Schonewille [m.schonewille at economy-x-talk.com] Sent: Saturday, November 16, 2013 10:39 PM To: How to use LiveCode Subject: Re: building a control -- Well trying anyway Hi Nakia, The problem is that tNewControl contains a long ID. If a variable contains a long ID, you don't need to put "group" before the variable. Because the long ID is a complete reference, you don't need to add a reference to a card or a stack either. Correct is: set the rect of tNewGroup to tRect Incorrect is: set the rect of group tNewGroup of the current card of the current stack to tRect -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi Fill out this survey please http://livecodebeginner.economy-x-talk.com/survey/ On 11/16/2013 12:23, Nakia Brewer wrote: > Its showing the following error in the message window > > Message execution error: > Error description: Chunk: can't find background > Hint: > > Its failing when its trying to set the rect of the newly created group. > I have tried so far: > > set the rect of group tNewControl to tRect > set the rect of control tNewControl to tRect > > > The contents of tNweControl are: > group id 1080 of card id 1002 of stack "/Users/nakia/Desktop/UIKeyboardToolbar Test App.livecode" > > Im trying the lockLoc now _______________________________________________ use-livecode mailing list use-livecode at 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. From Nakia.Brewer at westrac.com.au Sat Nov 16 07:47:07 2013 From: Nakia.Brewer at westrac.com.au (Nakia Brewer) Date: Sat, 16 Nov 2013 12:47:07 +0000 Subject: building a control -- Well trying anyway In-Reply-To: <67116DB20798A94285EEE12A67079A283262E1F6@MHSEXC02.westrac.com.au> References: <67116DB20798A94285EEE12A67079A283262DFF9@MHSEXC02.westrac.com.au>, <528751F3.6000609@economy-x-talk.com> <67116DB20798A94285EEE12A67079A283262E17B@MHSEXC02.westrac.com.au>, <52875968.4040507@economy-x-talk.com>, <67116DB20798A94285EEE12A67079A283262E1F6@MHSEXC02.westrac.com.au> Message-ID: <369EF031-480C-4D0B-A938-BB0768297AA2@westrac.com.au> Got it working kind of on the simulator but has anyone else had effective working screenRect reporting odd numbers when the iOS keyboard is up ? I'm getting 0,20,640,760 ??? I've tried waiting for 20 milliseconds after the keyboard activated message to read the value.. Note : I am using LC 5.5.3 and old xCode with iOS5.1 and 6.0 simulators... Might be time for upgrades ??? Sent from my iPhone > On 16 Nov 2013, at 10:47 pm, "Nakia Brewer" wrote: > > Thanks Mark, this has got it working in the IDE now! > > Still an issue in the Sim but I'll be able to sort that one out. > ________________________________________ > From: use-livecode [use-livecode-bounces at lists.runrev.com] on behalf of Mark Schonewille [m.schonewille at economy-x-talk.com] > Sent: Saturday, November 16, 2013 10:39 PM > To: How to use LiveCode > Subject: Re: building a control -- Well trying anyway > > Hi Nakia, > > The problem is that tNewControl contains a long ID. If a variable > contains a long ID, you don't need to put "group" before the variable. > Because the long ID is a complete reference, you don't need to add a > reference to a card or a stack either. > > Correct is: > > set the rect of tNewGroup to tRect > > Incorrect is: > > set the rect of group tNewGroup of the current card of the current stack > to tRect > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other > colour spaces. http://www.color-converter.com > > Buy my new book "Programming LiveCode for the Real Beginner" > http://qery.us/3fi > > Fill out this survey please > http://livecodebeginner.economy-x-talk.com/survey/ > >> On 11/16/2013 12:23, Nakia Brewer wrote: >> Its showing the following error in the message window >> >> Message execution error: >> Error description: Chunk: can't find background >> Hint: >> >> Its failing when its trying to set the rect of the newly created group. >> I have tried so far: >> >> set the rect of group tNewControl to tRect >> set the rect of control tNewControl to tRect >> >> >> The contents of tNweControl are: >> group id 1080 of card id 1002 of stack "/Users/nakia/Desktop/UIKeyboardToolbar Test App.livecode" >> >> Im trying the lockLoc now > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 at 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. From m.schonewille at economy-x-talk.com Sat Nov 16 07:50:41 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 16 Nov 2013 13:50:41 +0100 Subject: building a control -- Well trying anyway In-Reply-To: <369EF031-480C-4D0B-A938-BB0768297AA2@westrac.com.au> References: <67116DB20798A94285EEE12A67079A283262DFF9@MHSEXC02.westrac.com.au>, <528751F3.6000609@economy-x-talk.com> <67116DB20798A94285EEE12A67079A283262E17B@MHSEXC02.westrac.com.au>, <52875968.4040507@economy-x-talk.com>, <67116DB20798A94285EEE12A67079A283262E1F6@MHSEXC02.westrac.com.au> <369EF031-480C-4D0B-A938-BB0768297AA2@westrac.com.au> Message-ID: <52876A21.4060302@economy-x-talk.com> Hi, I have the same problem on Android. The animated movement of the keyboard takes almost 500 milliseconds. If I wait 500 milliseconds with messages before continuing the script, it works fine. 500 seems long, but give it a try. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi Fill out this survey please http://livecodebeginner.economy-x-talk.com/survey/ On 11/16/2013 13:47, Nakia Brewer wrote: > Got it working kind of on the simulator but has anyone else had effective working screenRect reporting odd numbers when the iOS keyboard is up ? > > I'm getting 0,20,640,760 ??? > > I've tried waiting for 20 milliseconds after the keyboard activated message to read the value.. > > Note : I am using LC 5.5.3 and old xCode with iOS5.1 and 6.0 simulators... Might be time for upgrades ??? > > > > > > Sent from my iPhone > >> On 16 Nov 2013, at 10:47 pm, "Nakia Brewer" wrote: >> >> Thanks Mark, this has got it working in the IDE now! >> >> Still an issue in the Sim but I'll be able to sort that one out. >> ________________________________________ >> From: use-livecode [use-livecode-bounces at lists.runrev.com] on behalf of Mark Schonewille [m.schonewille at economy-x-talk.com] >> Sent: Saturday, November 16, 2013 10:39 PM >> To: How to use LiveCode >> Subject: Re: building a control -- Well trying anyway >> >> Hi Nakia, >> >> The problem is that tNewControl contains a long ID. If a variable >> contains a long ID, you don't need to put "group" before the variable. >> Because the long ID is a complete reference, you don't need to add a >> reference to a card or a stack either. >> >> Correct is: >> >> set the rect of tNewGroup to tRect >> >> Incorrect is: >> >> set the rect of group tNewGroup of the current card of the current stack >> to tRect >> >> -- >> Best regards, >> >> Mark Schonewille >> >> Economy-x-Talk Consulting and Software Engineering >> Homepage: http://economy-x-talk.com >> Twitter: http://twitter.com/xtalkprogrammer >> KvK: 50277553 >> >> Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other >> colour spaces. http://www.color-converter.com >> >> Buy my new book "Programming LiveCode for the Real Beginner" >> http://qery.us/3fi >> >> Fill out this survey please >> http://livecodebeginner.economy-x-talk.com/survey/ >> >>> On 11/16/2013 12:23, Nakia Brewer wrote: >>> Its showing the following error in the message window >>> >>> Message execution error: >>> Error description: Chunk: can't find background >>> Hint: >>> >>> Its failing when its trying to set the rect of the newly created group. >>> I have tried so far: >>> >>> set the rect of group tNewControl to tRect >>> set the rect of control tNewControl to tRect >>> >>> >>> The contents of tNweControl are: >>> group id 1080 of card id 1002 of stack "/Users/nakia/Desktop/UIKeyboardToolbar Test App.livecode" >>> >>> Im trying the lockLoc now >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From paulhibbert at mac.com Sat Nov 16 12:40:38 2013 From: paulhibbert at mac.com (Paul Hibbert) Date: Sat, 16 Nov 2013 09:40:38 -0800 Subject: building a control -- Well trying anyway In-Reply-To: <67116DB20798A94285EEE12A67079A283262DFF9@MHSEXC02.westrac.com.au> References: <67116DB20798A94285EEE12A67079A283262DFF9@MHSEXC02.westrac.com.au> Message-ID: <9A84EC9B-C9D8-4EBE-BCD5-039858591B15@mac.com> On 2013-11-16, at 2:21 AM, Nakia Brewer wrote: Hi Nakia, Try replacing? put it into tNewGroup with put the short name of it into tNewGroup In you original script tNewGroup contains the full ID of the group placed, so using "short name" pulls just the group name from "it". Paul From Nakia.Brewer at westrac.com.au Sat Nov 16 15:58:38 2013 From: Nakia.Brewer at westrac.com.au (Nakia Brewer) Date: Sat, 16 Nov 2013 20:58:38 +0000 Subject: building a control -- Well trying anyway In-Reply-To: <52876A21.4060302@economy-x-talk.com> References: <67116DB20798A94285EEE12A67079A283262DFF9@MHSEXC02.westrac.com.au>, <528751F3.6000609@economy-x-talk.com> <67116DB20798A94285EEE12A67079A283262E17B@MHSEXC02.westrac.com.au>, <52875968.4040507@economy-x-talk.com>, <67116DB20798A94285EEE12A67079A283262E1F6@MHSEXC02.westrac.com.au> <369EF031-480C-4D0B-A938-BB0768297AA2@westrac.com.au>, <52876A21.4060302@economy-x-talk.com> Message-ID: <67116DB20798A94285EEE12A67079A283262E753@MHSEXC02.westrac.com.au> Hmmm, it might be time for upgrade my xCode and LC. I have tried waiting all the way up to 5000 Milliseconds with messages but to an avail, still getting random numbers reported. FYI xCode 4.5.1 and LC 5.5.3 The factor is the error it returns seems to vary with which Simulator I use. ________________________________________ From: use-livecode [use-livecode-bounces at lists.runrev.com] on behalf of Mark Schonewille [m.schonewille at economy-x-talk.com] Sent: Saturday, November 16, 2013 11:50 PM To: How to use LiveCode Subject: Re: building a control -- Well trying anyway Hi, I have the same problem on Android. The animated movement of the keyboard takes almost 500 milliseconds. If I wait 500 milliseconds with messages before continuing the script, it works fine. 500 seems long, but give it a try. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi Fill out this survey please http://livecodebeginner.economy-x-talk.com/survey/ On 11/16/2013 13:47, Nakia Brewer wrote: > Got it working kind of on the simulator but has anyone else had effective working screenRect reporting odd numbers when the iOS keyboard is up ? > > I'm getting 0,20,640,760 ??? > > I've tried waiting for 20 milliseconds after the keyboard activated message to read the value.. > > Note : I am using LC 5.5.3 and old xCode with iOS5.1 and 6.0 simulators... Might be time for upgrades ??? > > > > > > Sent from my iPhone > >> On 16 Nov 2013, at 10:47 pm, "Nakia Brewer" wrote: >> >> Thanks Mark, this has got it working in the IDE now! >> >> Still an issue in the Sim but I'll be able to sort that one out. >> ________________________________________ >> From: use-livecode [use-livecode-bounces at lists.runrev.com] on behalf of Mark Schonewille [m.schonewille at economy-x-talk.com] >> Sent: Saturday, November 16, 2013 10:39 PM >> To: How to use LiveCode >> Subject: Re: building a control -- Well trying anyway >> >> Hi Nakia, >> >> The problem is that tNewControl contains a long ID. If a variable >> contains a long ID, you don't need to put "group" before the variable. >> Because the long ID is a complete reference, you don't need to add a >> reference to a card or a stack either. >> >> Correct is: >> >> set the rect of tNewGroup to tRect >> >> Incorrect is: >> >> set the rect of group tNewGroup of the current card of the current stack >> to tRect >> >> -- >> Best regards, >> >> Mark Schonewille >> >> Economy-x-Talk Consulting and Software Engineering >> Homepage: http://economy-x-talk.com >> Twitter: http://twitter.com/xtalkprogrammer >> KvK: 50277553 >> >> Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other >> colour spaces. http://www.color-converter.com >> >> Buy my new book "Programming LiveCode for the Real Beginner" >> http://qery.us/3fi >> >> Fill out this survey please >> http://livecodebeginner.economy-x-talk.com/survey/ >> >>> On 11/16/2013 12:23, Nakia Brewer wrote: >>> Its showing the following error in the message window >>> >>> Message execution error: >>> Error description: Chunk: can't find background >>> Hint: >>> >>> Its failing when its trying to set the rect of the newly created group. >>> I have tried so far: >>> >>> set the rect of group tNewControl to tRect >>> set the rect of control tNewControl to tRect >>> >>> >>> The contents of tNweControl are: >>> group id 1080 of card id 1002 of stack "/Users/nakia/Desktop/UIKeyboardToolbar Test App.livecode" >>> >>> Im trying the lockLoc now >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at 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 at 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 at 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. From bvlahos at mac.com Sat Nov 16 17:12:11 2013 From: bvlahos at mac.com (Bill Vlahos) Date: Sat, 16 Nov 2013 14:12:11 -0800 Subject: Detect when a field changes Message-ID: I thought that the textChanged message would always happen whenever the contents of a field changes but doesn?t seem to when a script changes a field. Is there a way to reliably know when the contents of a field changes regardless of what changed it? Bill Vlahos From smudge.andy at googlemail.com Sat Nov 16 17:18:03 2013 From: smudge.andy at googlemail.com (AndyP) Date: Sat, 16 Nov 2013 14:18:03 -0800 (PST) Subject: Detect when a field changes In-Reply-To: References: Message-ID: <1384640283034-4672426.post@n4.nabble.com> Hi Bill, I'm wondering if this is a focus problem. Prehaps the field has to have focus before the textChanged message gets fired? ----- Andy Piddock My software never has bugs. It just develops random features. Copy the new cloud space, get your free 15GB space now: Get Copy Your LiveCode Work Desks - New Blog http://livecodemydesk.blogspot.de/ PointandSee is a FREE simple but full featured under cursor colour picker / finder. http://www.pointandsee.co.uk - made with LiveCode -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Detect-when-a-field-changes-tp4672425p4672426.html Sent from the Revolution - User mailing list archive at Nabble.com. From bvlahos at mac.com Sat Nov 16 17:28:02 2013 From: bvlahos at mac.com (Bill Vlahos) Date: Sat, 16 Nov 2013 14:28:02 -0800 Subject: Detect when a field changes In-Reply-To: <1384640283034-4672426.post@n4.nabble.com> References: <1384640283034-4672426.post@n4.nabble.com> Message-ID: <3ECAFD76-57FA-48F9-A327-07A2199C80AD@mac.com> I don?t think it matters. Bill On Nov 16, 2013, at 2:18 PM, AndyP wrote: > Hi Bill, > > I'm wondering if this is a focus problem. > Prehaps the field has to have focus before the textChanged message gets > fired? > > > > > ----- > Andy Piddock From jacque at hyperactivesw.com Sat Nov 16 17:42:46 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 16 Nov 2013 16:42:46 -0600 Subject: Detect when a field changes In-Reply-To: References: Message-ID: <5287F4E6.3060208@hyperactivesw.com> On 11/16/13 4:12 PM, Bill Vlahos wrote: > I thought that the textChanged message would always happen whenever > the contents of a field changes but doesn?t seem to when a script > changes a field. > > Is there a way to reliably know when the contents of a field changes > regardless of what changed it? I think the assumption is that if your script is changing the field content, then it knows about that and can issue any necessary commands. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From paulhibbert at mac.com Sat Nov 16 17:47:23 2013 From: paulhibbert at mac.com (Paul Hibbert) Date: Sat, 16 Nov 2013 14:47:23 -0800 Subject: Detect when a field changes In-Reply-To: References: Message-ID: <754C6024-80A7-4D23-939B-96617B276156@mac.com> Hi Bill, This was added in 5.5.x and the release notes state? 5.5.x Release Notes ? Revision 28 ? 2013-05-29 - Page 14 "In particular, the following actions will result in a textChanged message being sent: ? typing into the field (whether non-Unicode or Unicode text) ? using the type command to type into a field ? pasting text into a field (whether via built-in keyboard shortcut, or the paste command) ? cutting text from fields (whether via built-in keyboard shortcut, or the cut command) ? drag drop operations on fields? ?The textChanged message will be sent after messages such as keyDown and pasteKey but before messages such as keyUp." So without doing a direct before/after comparison or adding a trigger to the script that changes a field I can't see any way of knowing, sorry. I was sure this has been asked before, but then I saw it was you that asked over a year ago and you didn't get too many replies back then, hopefully someone may have worked on a similar situation since then and come up with a solution. Paul On 2013-11-16, at 2:12 PM, Bill Vlahos wrote: > I thought that the textChanged message would always happen whenever the contents of a field changes but doesn?t seem to when a script changes a field. > > Is there a way to reliably know when the contents of a field changes regardless of what changed it? > > Bill Vlahos > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From smudge.andy at googlemail.com Sat Nov 16 17:47:36 2013 From: smudge.andy at googlemail.com (AndyP) Date: Sat, 16 Nov 2013 14:47:36 -0800 (PST) Subject: Detect when a field changes In-Reply-To: References: Message-ID: <1384642056133-4672429.post@n4.nabble.com> Hi Bill, Thought this was odd so made a little test stack... and yes you are right and focus has no effect. Now it seems that the textChanged meassage is only sent when Typing in a field has happened and not when the contents of the field actualy change! There is a way around the problem. I'm assuming you using a put to get your contents into the field. Try using the Type command instead. This simulates physical typing in the field. You can do something like this; select after fld "MyField" set the typingRate to 0 // no delay Type "MyStuffHere" // instaed of put ----- Andy Piddock My software never has bugs. It just develops random features. Copy the new cloud space, get your free 15GB space now: Get Copy Your LiveCode Work Desks - New Blog http://livecodemydesk.blogspot.de/ PointandSee is a FREE simple but full featured under cursor colour picker / finder. http://www.pointandsee.co.uk - made with LiveCode -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Detect-when-a-field-changes-tp4672425p4672429.html Sent from the Revolution - User mailing list archive at Nabble.com. From dunbarx at aol.com Sat Nov 16 18:23:05 2013 From: dunbarx at aol.com (dunbarx at aol.com) Date: Sat, 16 Nov 2013 18:23:05 -0500 (EST) Subject: Detect when a field changes In-Reply-To: <1384642056133-4672429.post@n4.nabble.com> References: <1384642056133-4672429.post@n4.nabble.com> Message-ID: <8D0B139EF880057-1B6C-1417B@webmail-d251.sysops.aol.com> Hi. The typing workaround is clever, but slow. If you have even a few tens of chars, it takes too much time. Locking the screen early on is essential, and it will help more closely match what "put" does. Craig Newman select after fld "MyField" set the typingRate to 0 // no delay Type "MyStuffHere" // instaed of put -----Original Message----- From: AndyP To: use-revolution Sent: Sat, Nov 16, 2013 5:48 pm Subject: Re: Detect when a field changes Hi Bill, Thought this was odd so made a little test stack... and yes you are right and focus has no effect. Now it seems that the textChanged meassage is only sent when Typing in a field has happened and not when the contents of the field actualy change! There is a way around the problem. I'm assuming you using a put to get your contents into the field. Try using the Type command instead. This simulates physical typing in the field. You can do something like this; select after fld "MyField" set the typingRate to 0 // no delay Type "MyStuffHere" // instaed of put ----- Andy Piddock My software never has bugs. It just develops random features. Copy the new cloud space, get your free 15GB space now: Get Copy Your LiveCode Work Desks - New Blog http://livecodemydesk.blogspot.de/ PointandSee is a FREE simple but full featured under cursor colour picker / finder. http://www.pointandsee.co.uk - made with LiveCode -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Detect-when-a-field-changes-tp4672425p4672429.html Sent from the Revolution - User mailing list archive at Nabble.com. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From scott at tactilemedia.com Sat Nov 16 18:29:58 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Sat, 16 Nov 2013 15:29:58 -0800 Subject: Detect when a field changes In-Reply-To: Message-ID: http://quality.runrev.com/show_bug.cgi?id=10769 Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 11/16/13 2:12 PM, "Bill Vlahos" wrote: >I thought that the textChanged message would always happen whenever the >contents of a field changes but doesn?t seem to when a script changes a >field. > >Is there a way to reliably know when the contents of a field changes >regardless of what changed it? > >Bill Vlahos >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at lcsql.com Sat Nov 16 19:04:07 2013 From: pete at lcsql.com (Peter Haworth) Date: Sat, 16 Nov 2013 16:04:07 -0800 Subject: Detect when a field changes In-Reply-To: <1384642056133-4672429.post@n4.nabble.com> References: <1384642056133-4672429.post@n4.nabble.com> Message-ID: >From the dictionary: "Is dispatched by the field whenever a user (or simulated user) action causes the content of the field to change." What is a "simulated user" I wonder.... I guess you could also send a textChanged message to the field, or pull the textChanged logic into a separate handler and call it from textChanged and wherever else you put text into the field. Pete lcSQL Software On Sat, Nov 16, 2013 at 2:47 PM, AndyP wrote: > Hi Bill, > > Thought this was odd so made a little test stack... and yes you are right > and focus has no effect. > > Now it seems that the textChanged meassage is only sent when Typing in a > field has happened and not when the contents of the field actualy change! > > There is a way around the problem. I'm assuming you using a put to get your > contents into the field. > > Try using the Type command instead. This simulates physical typing in the > field. > > You can do something like this; > > > select after fld "MyField" > set the typingRate to 0 // no delay > Type "MyStuffHere" // instaed of put > > > > > > > > > ----- > Andy Piddock > > > My software never has bugs. It just develops random features. > > Copy the new cloud space, get your free 15GB space now: > Get Copy > > > Your LiveCode Work Desks - New Blog > http://livecodemydesk.blogspot.de/ > > PointandSee is a FREE simple but full featured under cursor colour picker > / finder. > http://www.pointandsee.co.uk - made with LiveCode > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/Detect-when-a-field-changes-tp4672425p4672429.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bvlahos at mac.com Sat Nov 16 20:11:23 2013 From: bvlahos at mac.com (Bill Vlahos) Date: Sat, 16 Nov 2013 17:11:23 -0800 Subject: Detect when a field changes In-Reply-To: References: <1384642056133-4672429.post@n4.nabble.com> Message-ID: <48EA186A-3522-49D1-A998-312212B2C785@mac.com> Yes I can and have done things like this. But my problem is that it is stupid. The field knows that something has changed because it has the correct (new) information in it. I find it annoying that I?m the one who has to remember to call a handler when I make a change. Bill Vlahos _________________ http://www.linkedin.com/in/billvlahos/ InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. lcTaskList: (http://www.infowallet.com/lctasklist/index.htm) RunRev lcTaskList Forum: (http://forums.runrev.com/viewforum.php?f=61) On Nov 16, 2013, at 4:04 PM, Peter Haworth wrote: > I guess you could also send a textChanged message to the field, or pull the > textChanged logic into a separate handler and call it from textChanged and > wherever else you put text into the field. From dunbarx at aol.com Sat Nov 16 23:35:40 2013 From: dunbarx at aol.com (dunbarx at aol.com) Date: Sat, 16 Nov 2013 23:35:40 -0500 (EST) Subject: Detect when a field changes In-Reply-To: <48EA186A-3522-49D1-A998-312212B2C785@mac.com> References: <1384642056133-4672429.post@n4.nabble.com> <48EA186A-3522-49D1-A998-312212B2C785@mac.com> Message-ID: <8D0B1659A53E2CD-1B6C-16A27@webmail-d251.sysops.aol.com> Bill. I am with you, and any honest LiveCoder ought to be as well. The "textChanged" message should stand on its own feet, if it has any, and do what it advertises. Much of what I depend on, and have confidence in, especially such things as the hare-brained string references that we all build in the certainty that the parser will construct (or deconstruct) meaning, are based on well defined and independent functionality. It is not enough to simply state that there is a well defined piece missing from that schema, and learn to accept that fact. This is an outrage. Craig Newman -----Original Message----- From: Bill Vlahos To: How to use LiveCode Sent: Sat, Nov 16, 2013 8:12 pm Subject: Re: Detect when a field changes Yes I can and have done things like this. But my problem is that it is stupid. The field knows that something has changed because it has the correct (new) information in it. I find it annoying that I?m the one who has to remember to call a handler when I make a change. Bill Vlahos _________________ http://www.linkedin.com/in/billvlahos/ InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. lcTaskList: (http://www.infowallet.com/lctasklist/index.htm) RunRev lcTaskList Forum: (http://forums.runrev.com/viewforum.php?f=61) On Nov 16, 2013, at 4:04 PM, Peter Haworth wrote: > I guess you could also send a textChanged message to the field, or pull the > textChanged logic into a separate handler and call it from textChanged and > wherever else you put text into the field. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From scott at tactilemedia.com Sun Nov 17 04:31:39 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Sun, 17 Nov 2013 01:31:39 -0800 Subject: BackPattern Now Honors Transparency Message-ID: Discovering this was a nice little surprise. I was prepared to submit a bug report involving windowShapes when I realized the reason why some of my custom stacks look wrong now: the image used as the backPattern for each stack contains transparency, and the backColor of the stack is now showing through the backPatterns of cards. Until recently, any image used as a backPattern caused the object to which it was applied to become opaque. This new behavior offers some nice flexibility for customizing stacks. I don't know when this feature was added, but thanks RunRev guys for including this whenever you did :-) Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design From capellan2000 at gmail.com Sun Nov 17 13:28:34 2013 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sun, 17 Nov 2013 10:28:34 -0800 (PST) Subject: BackPattern Now Honors Transparency In-Reply-To: References: Message-ID: <1384712914037-4672441.post@n4.nabble.com> Hi Scott, Scott Rossi wrote > Discovering this was a nice little surprise. > [snip] > Until recently, any image used as a backPattern caused > the object to which it was applied to become opaque. > This new behavior offers some nice flexibility for customizing > stacks. > I don't know when this feature was added, but thanks > RunRev guys for including this whenever you did :-) Actually, I could not find this feature in LiveCode 6.1.2 Which LiveCode version are you using? Do you have a recipe to see this feature in action? :D Thanks in advance! Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/BackPattern-Now-Honors-Transparency-tp4672439p4672441.html Sent from the Revolution - User mailing list archive at Nabble.com. From scott at tactilemedia.com Sun Nov 17 13:56:40 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Sun, 17 Nov 2013 10:56:40 -0800 Subject: BackPattern Now Honors Transparency In-Reply-To: <1384712914037-4672441.post@n4.nabble.com> Message-ID: Al, I'm using rc4 of 6.5 -- maybe it was added in 6.5. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 11/17/13 10:28 AM, "Alejandro Tejada" wrote: >Hi Scott, > > >Scott Rossi wrote >> Discovering this was a nice little surprise. >> [snip] >> Until recently, any image used as a backPattern caused >> the object to which it was applied to become opaque. >> This new behavior offers some nice flexibility for customizing >> stacks. >> I don't know when this feature was added, but thanks >> RunRev guys for including this whenever you did :-) > >Actually, I could not find this feature in LiveCode 6.1.2 >Which LiveCode version are you using? > >Do you have a recipe to see this feature in action? :D > >Thanks in advance! > >Al > > From john at onechip.com Sun Nov 17 14:11:31 2013 From: john at onechip.com (John) Date: Sun, 17 Nov 2013 11:11:31 -0800 Subject: jumpy scroll Message-ID: <88EEB08E-24BC-4A10-877C-04B7DAEA3236@onechip.com> I was hoping to wrap up an application today and I ran into a snag. When the user selects ?Users guide? from the ?Help? menu, I open a substack that has one card. That card has a scrolling text field which contains the users guide. The text field contains styled text with images (the images were included by setting the imageSource of a character). Other than a simple resize handler and dealing things like the shutDownRequest, there are no scripts in the substack. Now to the weird part. When I run out of the IDE, using the mouse scroll wheel over the substack results in smooth scrolling. When the app is built, using the mouse scroll wheel results in very jumpy (perhaps a dozen text lines at a time) and erratic scrolling. It looks really bad. I assume I am missing something obvious. Does anyone know what it is? I am using 6.1.3. Thanks in advance, John From capellan2000 at gmail.com Sun Nov 17 14:03:54 2013 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sun, 17 Nov 2013 11:03:54 -0800 (PST) Subject: BackPattern Now Honors Transparency In-Reply-To: References: <1384712914037-4672441.post@n4.nabble.com> Message-ID: <1384715034031-4672443.post@n4.nabble.com> Scott Rossi wrote > Al, I'm using rc4 of 6.5 -- maybe it was added in 6.5. Ah, then this feature is a direct result of using Skia the 2D Graphics Library to render Livecode stacks: http://newsletters.livecode.com/july/issue153/newsletter1.php [snip] Graphics Library Driven by Michael McCreary We have been working for some time on moving LiveCode's 2D rendering to use Skia, an open source library maintained by Google. The initial purpose for this project is to facilitate the rendering LiveCode stacks at any scale (Resolution independence). It is possible that we'll also see some rendering performance improvements but we'll only know once the project is complete. [snip] This is the Skia project website: http://code.google.com/p/skia/ I will open a new message thread about Skia to learn more about the changes of using this rendering engine. Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/BackPattern-Now-Honors-Transparency-tp4672439p4672443.html Sent from the Revolution - User mailing list archive at Nabble.com. From capellan2000 at gmail.com Sun Nov 17 14:37:16 2013 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sun, 17 Nov 2013 11:37:16 -0800 (PST) Subject: Skia the 2D Graphics Library to render Livecode stacks Message-ID: <1384717036642-4672445.post@n4.nabble.com> Hi All, After reading about Skia, the 2D Graphics Library used in LiveCode 6.5 to render Livecode stacks, I keep wondering if LiveCode developers will have access to all the features provided by Skia. For example: - 3x3 matrices w/ perspective - antialiasing, transparency, filters - shaders, xfermodes, maskfilters, patheffects - subpixel text Device backends for Skia currently include: - Raster - OpenGL - PDF - XPS - Picture (for recording and then playing back into another Canvas) All these are Skia's features listed from this page: http://code.google.com/p/skia/ Tell me if I am understanding correctly the scope and new possibilities offered by these new features: Subpixel Text Does this means that every visible element in a stack (including images and vector graphics) will be smoothly rendered at any size and scale factor? 3x3 matrices w/ perspective Does this means that we could render every visible element in a stack at any size, rotated, slanted, inverted and in perspective? OpenGL render device Does this means that we could have an openGL windows inside our stacks? Thanks in advance! Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Skia-the-2D-Graphics-Library-to-render-Livecode-stacks-tp4672445.html Sent from the Revolution - User mailing list archive at Nabble.com. From scott at tactilemedia.com Sun Nov 17 16:15:14 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Sun, 17 Nov 2013 13:15:14 -0800 Subject: More on Resolution Independence In-Reply-To: Message-ID: Still wondering if someone has an answer for this. Anyone? Thanks & Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 11/14/13 8:07 PM, "Scott Rossi" wrote: >Some of the email posted tonight was a good excuse to dive deeper into >new >resolution independence stuff, and I'm wondering if anyone can explain >the >"recommended" development process here. > >As a test, I have a stack that I create at 320x480 pixels on a desktop >system. With no special properties or functions applied, the stack >*appears* to open at those same dimensions on an iPhone 4 (as reported by >the rect of the card). But in reading the 6.5 docs, I don't know if what >I'm seeing is an auto-scaled view that is being *reported* as 320x480, or >is actually a "natural density" 320x480. > >I tried including an imported (non-referenced) image to see if I can >determine any difference at the 320x480 size and I couldn't -- the image >displays on the device at the same proportions as in LiveCode on the >desktop. Which makes me believe that there's no auto-scaling taking >place, since I'm not using a referenced image. > >When I add iPhoneUseDeviceResolution true upon opening the card, I then >get the expected 640x960 view with controls proportionally smaller to >match. > > >If the scaling process is supposed to be "invisible", how can we verify >that a stack and its contents are are being properly auto-scaled and >taking advantage of the higher resolution? Or am I missing a property >setting somewhere? > >Thanks in advance for clearing up my confusion. > >Best Regards, > >Scott Rossi >Creative Director >Tactile Media, UX/UI Design > From monte at sweattechnologies.com Sun Nov 17 16:31:42 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Mon, 18 Nov 2013 08:31:42 +1100 Subject: More on Resolution Independence In-Reply-To: References: Message-ID: <00F4803E-C881-41B8-8172-92105BB4FB74@sweattechnologies.com> On 18/11/2013, at 8:15 AM, Scott Rossi wrote: > Still wondering if someone has an answer for this. Anyone? I'm not sure I understand the issue. If the stack is 320x480 on a retina device then clearly it's being scaled to fit. The image looking different may only be noticeable on certain types of image. Think 24x24 icon v 48x48 icon. Yes it would look the same as it did on desktop but not as good as it would look if you were displaying a 48x48 icon at retina res. -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From coiin at verizon.net Sun Nov 17 18:00:55 2013 From: coiin at verizon.net (Colin Holgate) Date: Sun, 17 Nov 2013 18:00:55 -0500 Subject: More on Resolution Independence In-Reply-To: <00F4803E-C881-41B8-8172-92105BB4FB74@sweattechnologies.com> References: <00F4803E-C881-41B8-8172-92105BB4FB74@sweattechnologies.com> Message-ID: <08730F9D-6BF8-411F-AA28-AD5FC1481632@verizon.net> I?m currently writing about the resolution stuff, which doesn?t mean I yet understand it, but I do have to work out these things before I can then write something! One point of confusion is that you use 'iphoneUseDeviceResolution true' when you don?t want it to use the better graphics. That feels like the opposite of what it meant, but it?s not. So, include files named ?whatever.png? and ?whatever at 2x.png?, and with code set the filename of an image to ?whatever.png?. Now test with Simulator 6.1 and a device of old iPhone, and you will see ?whatever.png? is used. Without re-testing, change the device to 3.5 inch Retina, and launch the app again. The ?whatever at 2x.png? will be used. I found it much easier to figure this out by writing ?512? and ?1024? on the two versions of the image I was testing. From calhorner at xtra.co.nz Sun Nov 17 19:55:23 2013 From: calhorner at xtra.co.nz (Cal Horner) Date: Mon, 18 Nov 2013 13:55:23 +1300 (New Zealand Daylight Time) Subject: The humble Substack Message-ID: <52896577.000009.07068@CALS_BIG_PC> Here is another gap in my education, that I am trying to fill. When a combination mainstack/substack(s) application is compiled into a standalone, how much of substack is converted from an interpreted environment into a compiled application? The Mainstack/substack combination that has been developed is used only as windows for the application. Either to display calculated results or if the data has been keyed into the data-entry windows is put into a database. It just seems that what I've been able to glean from assorted books and sites this information has been left out. Or, perhaps I've just missed the simple explanation. If anyone knows the answer I would appreciate a sharing of the knowledge. From m.schonewille at economy-x-talk.com Sun Nov 17 20:04:21 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 18 Nov 2013 02:04:21 +0100 Subject: The humble Substack In-Reply-To: <52896577.000009.07068@CALS_BIG_PC> References: <52896577.000009.07068@CALS_BIG_PC> Message-ID: <52896795.9020406@economy-x-talk.com> Hi Cal, When you save a standalone, all stacks are still stacks. The mainstack and its substacks are attached to the engine, but they are still the same stacks. The code is compiled when the engine opens the stack. The compiled version exists in memory only and not on disk. This is the same for all stacks, be it stacks that are part of a standalone, substacks or separate stack files. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi Fill out this survey please http://livecodebeginner.economy-x-talk.com/survey/ On 11/18/2013 01:55, Cal Horner wrote: > Here is another gap in my education, that I am trying to fill. > > When a combination mainstack/substack(s) application is compiled into a > standalone, how much of substack is converted from an interpreted > environment into a compiled application? > > The Mainstack/substack combination that has been developed is used only as > windows for the application. Either to display calculated results or if the > data has been keyed into the data-entry windows is put into a database. > > It just seems that what I've been able to glean from assorted books and > sites this information has been left out. Or, perhaps I've just missed the > simple explanation. > > If anyone knows the answer I would appreciate a sharing of the knowledge. From rjb at robelko.com Sun Nov 17 20:42:01 2013 From: rjb at robelko.com (Robert Brenstein) Date: Mon, 18 Nov 2013 02:42:01 +0100 Subject: Detect when a field changes In-Reply-To: <8D0B1659A53E2CD-1B6C-16A27@webmail-d251.sysops.aol.com> References: <1384642056133-4672429.post@n4.nabble.com> <48EA186A-3522-49D1-A998-312212B2C785@mac.com> <8D0B1659A53E2CD-1B6C-16A27@webmail-d251.sysops.aol.com> Message-ID: On 16.11.2013 at 23:35 Uhr -0500 dunbarx at aol.com apparently wrote: >Bill. > >I am with you, and any honest LiveCoder ought to be as well. The >"textChanged" message should stand on its own feet, if it has any, >and do what it advertises. > But then, if "textChanged" fires on any change, including scripted changes, we need to go through extra hoops to distinguish between user-input and script-based changes. The message as it is now means Text-Changed-by-User and allow us, for example, verify user input (and what if the verification routine programmatically corrects user input?). I am not sure that that would really be so useful in the big scheme of things. RObert From jiml at netrin.com Sun Nov 17 22:22:46 2013 From: jiml at netrin.com (Jim Lambert) Date: Sun, 17 Nov 2013 19:22:46 -0800 Subject: BackPattern Now Honors Transparency In-Reply-To: References: Message-ID: ScottR wrote: > the image used as the backPattern for > each stack contains transparency, and the backColor of the stack is now > showing through the backPatterns of cards...This new behavior offers some nice flexibility for customizing > stacks Sweet. Jim Lambert From paulhibbert at mac.com Sun Nov 17 22:55:29 2013 From: paulhibbert at mac.com (Paul Hibbert) Date: Sun, 17 Nov 2013 19:55:29 -0800 Subject: More on Resolution Independence In-Reply-To: <08730F9D-6BF8-411F-AA28-AD5FC1481632@verizon.net> References: <00F4803E-C881-41B8-8172-92105BB4FB74@sweattechnologies.com> <08730F9D-6BF8-411F-AA28-AD5FC1481632@verizon.net> Message-ID: <54B9C285-4D97-48F0-98B4-4DBC1B5460A3@mac.com> That really depends how you read "iphoneUseDeviceResolution", maybe think of; (iphoneUseDeviceResolution "true") = (resolutionIndependence "false"). Paul On 2013-11-17, at 3:00 PM, Colin Holgate wrote: > One point of confusion is that you use 'iphoneUseDeviceResolution true' when you don?t want it to use the better graphics. From dunbarx at aol.com Sun Nov 17 23:31:27 2013 From: dunbarx at aol.com (dunbarx at aol.com) Date: Sun, 17 Nov 2013 23:31:27 -0500 (EST) Subject: Detect when a field changes In-Reply-To: References: <1384642056133-4672429.post@n4.nabble.com> <48EA186A-3522-49D1-A998-312212B2C785@mac.com> <8D0B1659A53E2CD-1B6C-16A27@webmail-d251.sysops.aol.com> Message-ID: <8D0B22E2E8C42A8-2270-22010@webmail-m137.sysops.aol.com> Robert. You make a point. And it must be accepted that the message is only sent when a human being interacts. At least it is consistent. Maybe it is the name of the message itself that makes me think it has a quirk, as opposed to a specifically defined functional spec. Craig Newman -----Original Message----- From: Robert Brenstein To: How to use LiveCode Sent: Sun, Nov 17, 2013 8:51 pm Subject: Re: Detect when a field changes On 16.11.2013 at 23:35 Uhr -0500 dunbarx at aol.com apparently wrote: >Bill. > >I am with you, and any honest LiveCoder ought to be as well. The >"textChanged" message should stand on its own feet, if it has any, >and do what it advertises. > But then, if "textChanged" fires on any change, including scripted changes, we need to go through extra hoops to distinguish between user-input and script-based changes. The message as it is now means Text-Changed-by-User and allow us, for example, verify user input (and what if the verification routine programmatically corrects user input?). I am not sure that that would really be so useful in the big scheme of things. RObert _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From toolbook at kestner.de Mon Nov 18 03:13:49 2013 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Mon, 18 Nov 2013 09:13:49 +0100 Subject: is it safe to hardwire the "downloads" folder? Message-ID: <002701cee436$1cd94110$568bc330$@de> Hello, I am looking for the best folder to download updates for my program on win and mac. Since there is no specialfolderpath for the download folder (at least I didn't found it, even not at Kens site) I used up to now the temporary folder, because I knew it was there. Now I wonder if it would be more state of the art to use the download folder, but there is no specialfolderpath for it. Would it be safe to use specialFolderPath("home") & slash & "Downloads", which would be e.g. on my windows machine C:\users\\downloads and on my Mac: /users//downloads? Can I rely on there is always a folder named like that on all win and OS X systems, or should I stay with my temp folder? Which folder do you use for downloads? Thanks Tiemo From livfoss at mac.com Mon Nov 18 04:24:25 2013 From: livfoss at mac.com (Graham Samuel) Date: Mon, 18 Nov 2013 10:24:25 +0100 Subject: The humble Substack In-Reply-To: <52896577.000009.07068@CALS_BIG_PC> References: <52896577.000009.07068@CALS_BIG_PC> Message-ID: Hi Cal Can you explain your question a bit further? As far as I know (and I am NOT one of those reading the code of the LC engine), stacks and substacks in the same file, say xxx.livecode, have the same status. I think the developer can consider that the original format of both stacks and substacks persists in some way, even though they may be tokenized or otherwise made ready for execution. As I envisage it, this is not compilation in the sense of earlier-generation languages - I mean nothing ends up as binary code to be directly executed by the platform the program is running on. One consequence of this not-completely-compiled approach is that the actual text of scripts is still accessible: because of this, not only to "do" statements work, having the form do but also other forms of construction are permissible, such as constructing a variable name and then doing something with that variable, again on the fly. Where I don't understand what you are asking is what your intention is with respect to substacks. There is a common model used in constructing apps in the LiveCode world where the only pre-compiled part is an opening stack (the "splash"), which then invokes other stacks, which themselves have never been pre-compiled at all in the sense of being made into standalones. One advantage of this is that it gets around the prevention of self-modifying programs of all modern OSs. A non-compiled stack used in this way is not seen as a program (standalone) by the OS and can therefore contain data and states which can be saved during the execution of the program. I use that model a lot myself - works a treat. It would be interesting to hear what you're trying to do. Graham On 18 Nov 2013, at 01:55, Cal Horner wrote: > Here is another gap in my education, that I am trying to fill. > > When a combination mainstack/substack(s) application is compiled into a > standalone, how much of substack is converted from an interpreted > environment into a compiled application? > > The Mainstack/substack combination that has been developed is used only as > windows for the application. Either to display calculated results or if the > data has been keyed into the data-entry windows is put into a database. > > It just seems that what I've been able to glean from assorted books and > sites this information has been left out. Or, perhaps I've just missed the > simple explanation. > > If anyone knows the answer I would appreciate a sharing of the knowledge. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From henshaw at me.com Mon Nov 18 05:41:49 2013 From: henshaw at me.com (Andrew Henshaw) Date: Mon, 18 Nov 2013 10:41:49 +0000 Subject: More on Resolution Independence In-Reply-To: References: Message-ID: <5C31A485-ADD2-4390-8C7A-A3B3DFE67368@me.com> Ive been playing with this for the past few days now and it really is very smart. If you simply leave all settings as standard, and design for 320x480 and leave the engine to 'scale' the app up for retina displays what happens is all fonts, vectors and graphic effects seem to be automatically doubled in size (as opposed to scaled up), while if images are referenced on the 320x480 display the standard image is displayed, while on retina the @2x version is shown. Two really easy ways to see the results are. a) put something different in the @2x images to show it is being used on a retina display or simulator. b) compile the same app using LC6.5 and LC 6.1, you can clearly see the difference in resolution and quality, it is more than simply scaling as the fonts are all crisp, vectors perfect and images are not just scaled up, they are swapped for higher res versions. It does look like a really good solution, especially as it makes developing retina apps on a standard resolution display much easier! Its just getting your head round the fact the screen is the same size so the design should be the same for both standard and non retina, its just the images that need to be a higher quality for the higher quality displays and the engine takes care of everything else automatically. Andy On 17 Nov 2013, at 21:15, Scott Rossi wrote: > Still wondering if someone has an answer for this. Anyone? > > Thanks & Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > On 11/14/13 8:07 PM, "Scott Rossi" wrote: > >> Some of the email posted tonight was a good excuse to dive deeper into >> new >> resolution independence stuff, and I'm wondering if anyone can explain >> the >> "recommended" development process here. >> >> As a test, I have a stack that I create at 320x480 pixels on a desktop >> system. With no special properties or functions applied, the stack >> *appears* to open at those same dimensions on an iPhone 4 (as reported by >> the rect of the card). But in reading the 6.5 docs, I don't know if what >> I'm seeing is an auto-scaled view that is being *reported* as 320x480, or >> is actually a "natural density" 320x480. >> >> I tried including an imported (non-referenced) image to see if I can >> determine any difference at the 320x480 size and I couldn't -- the image >> displays on the device at the same proportions as in LiveCode on the >> desktop. Which makes me believe that there's no auto-scaling taking >> place, since I'm not using a referenced image. >> >> When I add iPhoneUseDeviceResolution true upon opening the card, I then >> get the expected 640x960 view with controls proportionally smaller to >> match. >> >> >> If the scaling process is supposed to be "invisible", how can we verify >> that a stack and its contents are are being properly auto-scaled and >> taking advantage of the higher resolution? Or am I missing a property >> setting somewhere? >> >> Thanks in advance for clearing up my confusion. >> >> Best Regards, >> >> Scott Rossi >> Creative Director >> Tactile Media, UX/UI Design >> > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From Nakia.Brewer at westrac.com.au Mon Nov 18 05:59:13 2013 From: Nakia.Brewer at westrac.com.au (Nakia Brewer) Date: Mon, 18 Nov 2013 10:59:13 +0000 Subject: More on Resolution Independence In-Reply-To: <5C31A485-ADD2-4390-8C7A-A3B3DFE67368@me.com> References: , <5C31A485-ADD2-4390-8C7A-A3B3DFE67368@me.com> Message-ID: <8E4DCF90-92F5-46C7-9EB8-C1D735E11A5E@westrac.com.au> This sounds great! I bet the folks developing for Android will be especially happy.... Sent from my iPhone > On 18 Nov 2013, at 9:42 pm, "Andrew Henshaw" wrote: > > Ive been playing with this for the past few days now and it really is very smart. > > If you simply leave all settings as standard, and design for 320x480 and leave the engine to 'scale' the app up for retina displays what happens is all fonts, vectors and graphic effects seem to be automatically doubled in size (as opposed to scaled up), while if images are referenced on the 320x480 display the standard image is displayed, while on retina the @2x version is shown. > > Two really easy ways to see the results are. > > a) put something different in the @2x images to show it is being used on a retina display or simulator. > b) compile the same app using LC6.5 and LC 6.1, you can clearly see the difference in resolution and quality, it is more than simply scaling as the fonts are all crisp, vectors perfect and images are not just scaled up, they are swapped for higher res versions. > > It does look like a really good solution, especially as it makes developing retina apps on a standard resolution display much easier! > > Its just getting your head round the fact the screen is the same size so the design should be the same for both standard and non retina, its just the images that need to be a higher quality for the higher quality displays and the engine takes care of everything else automatically. > > Andy > >> On 17 Nov 2013, at 21:15, Scott Rossi wrote: >> >> Still wondering if someone has an answer for this. Anyone? >> >> Thanks & Regards, >> >> Scott Rossi >> Creative Director >> Tactile Media, UX/UI Design >> >> >> >> >>> On 11/14/13 8:07 PM, "Scott Rossi" wrote: >>> >>> Some of the email posted tonight was a good excuse to dive deeper into >>> new >>> resolution independence stuff, and I'm wondering if anyone can explain >>> the >>> "recommended" development process here. >>> >>> As a test, I have a stack that I create at 320x480 pixels on a desktop >>> system. With no special properties or functions applied, the stack >>> *appears* to open at those same dimensions on an iPhone 4 (as reported by >>> the rect of the card). But in reading the 6.5 docs, I don't know if what >>> I'm seeing is an auto-scaled view that is being *reported* as 320x480, or >>> is actually a "natural density" 320x480. >>> >>> I tried including an imported (non-referenced) image to see if I can >>> determine any difference at the 320x480 size and I couldn't -- the image >>> displays on the device at the same proportions as in LiveCode on the >>> desktop. Which makes me believe that there's no auto-scaling taking >>> place, since I'm not using a referenced image. >>> >>> When I add iPhoneUseDeviceResolution true upon opening the card, I then >>> get the expected 640x960 view with controls proportionally smaller to >>> match. >>> >>> >>> If the scaling process is supposed to be "invisible", how can we verify >>> that a stack and its contents are are being properly auto-scaled and >>> taking advantage of the higher resolution? Or am I missing a property >>> setting somewhere? >>> >>> Thanks in advance for clearing up my confusion. >>> >>> Best Regards, >>> >>> Scott Rossi >>> Creative Director >>> Tactile Media, UX/UI Design >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at 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. From coiin at verizon.net Mon Nov 18 06:51:47 2013 From: coiin at verizon.net (Colin Holgate) Date: Mon, 18 Nov 2013 06:51:47 -0500 Subject: More on Resolution Independence In-Reply-To: <8E4DCF90-92F5-46C7-9EB8-C1D735E11A5E@westrac.com.au> References: , <5C31A485-ADD2-4390-8C7A-A3B3DFE67368@me.com> <8E4DCF90-92F5-46C7-9EB8-C1D735E11A5E@westrac.com.au> Message-ID: <2F7E6881-A5A7-44CF-97F9-65FFC52403D1@verizon.net> For iOS there?s just normal and @2x, but the full list is seven different sizes. You can have custom graphics for lots of different DPI devices. But, that? only one part of the problem. You still have to cope with different screen sizes and ratios. That?s where the full screen modes come into their own. At least for certain kinds of apps. On Nov 18, 2013, at 5:59 AM, Nakia Brewer wrote: > >This sounds great! I bet the folks developing for Android will be especially happy.... From ambassador at fourthworld.com Mon Nov 18 08:38:13 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 18 Nov 2013 05:38:13 -0800 Subject: is it safe to hardwire the "downloads" folder? In-Reply-To: <002701cee436$1cd94110$568bc330$@de> References: <002701cee436$1cd94110$568bc330$@de> Message-ID: <528A1845.80805@fourthworld.com> Tiemo Hollmann wrote: > I am looking for the best folder to download updates for my program on win > and mac. The good news is that the friendly constants LiveCode provides for access to special folders is only a subset of the most commonly-used ones. Ken Ray took the time to document many others that can be used on both OS X and Windows: The bad news is that I don't see the Downloads folder among them, nor could I turn it up in Apple's docs. It may be that no constant for Downloads was defined for the Carbon API, so it wouldn't be accessible to us until that part of the LC engine is updated for Cocoa. Or it may be that it's simply documented in a place I couldn't find. :) If you can find it, use it. If not, I'd probably opt for a different folder just to be save. If this is a file you want the user to interact with, then you may want to risk hard-wiring "Downloads", or use the Desktop folder. If it's only for your app to draw from to update itself, most self-updating apps use a temp folder, which may be a good idea here since tmp gets cleaned by the system between sessions in case anything goes wrong and your app doesn't have a chance to clean up after itself. -- 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 From ambassador at fourthworld.com Mon Nov 18 08:42:50 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 18 Nov 2013 05:42:50 -0800 Subject: [OT] Oldest RR/MC IDE that still works in your computer In-Reply-To: <1384387396299-4672302.post@n4.nabble.com> References: <1384387396299-4672302.post@n4.nabble.com> Message-ID: <528A195A.1050306@fourthworld.com> Alejandro Tejada wrote: > Which is the oldest RR/MC IDE that still works in your computer? The latest version of the MC IDE is logically compatible with all versions of LC going back to v2.7, but as a practical matter relatively few use it today, as it was just too much work to keep adding new IDE features to keep up with the explosive growth of engine features. Since any IDE is just a collection of stacks, compatibility will ultimately be determined by the engine's compatibility with the OS. For that you'd need to refer to the Release Notes for a given engine version. -- 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 From ambassador at fourthworld.com Mon Nov 18 08:51:46 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 18 Nov 2013 05:51:46 -0800 Subject: The humble Substack In-Reply-To: <52896577.000009.07068@CALS_BIG_PC> References: <52896577.000009.07068@CALS_BIG_PC> Message-ID: <528A1B72.5060005@fourthworld.com> Cal Horner wrote: > When a combination mainstack/substack(s) application is compiled into a > standalone, how much of substack is converted from an interpreted > environment into a compiled application? As Mark noted, a standalone is essentially just a copy of the stackfile with the runtime engine embedded into it. So it's "compiled" only in the dictionary sense of the word, as in "combined". In the Computer Science sense of "compiled", meaning translated to native machine instructions executable by the CPU, that happens dynamically whenever the message path is changed. So as Mark noted, when opening a stack the engine unpacks the object structures and sets up the message path, and at that point the scripts are tokenized into a compact bytecode format for easy translation by the engine to the native machine-code instructions as the script is run. But this tokenization, or first-pass compilation, also occurs when setting the script property of an object, or using any of the fully-dynamically-compiled expressions like do, call, send, or dispatch. In this regard I like to think of LC as being more akin to a virtual machine than a common app, very much like Dalvik or Java in the way it maintains platform-independence of the code until runtime. -- 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 From ambassador at fourthworld.com Mon Nov 18 09:08:17 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 18 Nov 2013 06:08:17 -0800 Subject: Detect when a field changes In-Reply-To: References: Message-ID: <528A1F51.60702@fourthworld.com> Robert Brenstein wrote: > On 16.11.2013 at 23:35 Uhr -0500 dunbarx wrote: >>Bill. >> >> I am with you, and any honest LiveCoder ought to be as well. The >> "textChanged" message should stand on its own feet, if it has any, >> and do what it advertises. > > But then, if "textChanged" fires on any change, including scripted > changes, we need to go through extra hoops to distinguish between > user-input and script-based changes. The message as it is now means > Text-Changed-by-User and allow us, for example, verify user input > (and what if the verification routine programmatically corrects user > input?). I am not sure that that would really be so useful in the big > scheme of things. This is a very interesting point, one I hadn't considered when the conversation began but which I hope finds its way into any bug report on this, if one's been filed, so the full scope of implications can be considered. With all due respect to dunbarx, I don't think the "honesty" or lack thereof with any developer is in question here, nor should it be. While there are from time to time bugs in LC, many times unexpected behavior is the result of a different conceptualization of what a given feature should do between the scripter using a feature and the RunRev team member who implemented it. With the textChanged message, it seems that it was implemented to address a set of circumstances previously unknowable to us, the full range of user interactions which can cause field contents to change. Since any changes driven by scripts are fully knowable to the person who wrote the scripts, this is a useful message for all other circumstances driven by user actions, which could not otherwise be known at all without expensive polling. There has been some discussion of extending getProp and setProp to be able to use those with built-in properties, and if we had that now then Bill would have one-stop-shopping with the text property of the field. But in the meantime, while I have no opinion on whether the scope of the textChanged message should be extended, I do acknowledge that Robert's point is potentially very important, given that for every circumstance in which a more complete scope may be useful to some, for others it may not be appropriate. So for the here-and-now, if one needs to resolve this with the current engine one solution might be to use factored code that sets text using a single centralized handler, so all changes from any script happen in one place, and the textChanged message covers every other user interaction. -- 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 From klaus at major-k.de Mon Nov 18 09:10:46 2013 From: klaus at major-k.de (Klaus major-k) Date: Mon, 18 Nov 2013 15:10:46 +0100 Subject: visual effects and iOS SImulator Message-ID: Hi friends, just spent half an hour to get this to work: #################################### on mouseup put the selectedtext of me into tCard if there is a cd tCard then set the effectrate to 500 visual effect push left very slow go to card tCard end if end mouseup ################################### No WAY! The app always crashes in the Simulator! :-/ Then I tried this, although the dictionary tells me that the above should definitively work!? ######################################## on mouseup put the selectedtext of me into tCard if there is a cd tCard then set the effectrate to 500 lock screen for visual effect go to card tCard unlock screen with visual effect push left very slow end if end mouseup ######################################## Et voila, no crash in the Simulator and a nice visual effect! Hmmm... Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From ray at linkit.com Mon Nov 18 09:26:23 2013 From: ray at linkit.com (Ray) Date: Mon, 18 Nov 2013 09:26:23 -0500 Subject: How to Abort Stepping through a Script with a Single Keystroke In-Reply-To: References: Message-ID: <528A238F.5050004@LinkIt.Com> I've got a numeric keypad I'm trying to set up to assist in stepping through scripts. I've successfully set up single key strokes which Step Over and Step Into. That was easy since those shortcuts are just one key in the script editor window. Creating a single keystroke for the Stop menu item under the script editor's debug menu is a little harder since its short cut is the combination of shift and F5 (on Windows). I've tried the following with no results: on rawKeyDown whichKey if whichKey = [myFavoritKey] then type "F5" with shiftKey -- no result if whichKey = [myFavoritKey] then type "." with commandKey -- also no result if whichKey = [myFavoritKey] then close stack "revNewScriptEditor 1" -- bad results end rawKeyDown The last one of these, above, closes the script editor window and it doesn't come back, forcing me to reinstall LiveCode. Anybody know where I could accomplish this by somehow editing the "revBackScript" button in RevLibrary? Thanks, Ray Horsley LinkIt! Software From ambassador at fourthworld.com Mon Nov 18 09:29:53 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 18 Nov 2013 06:29:53 -0800 Subject: Skia the 2D Graphics Library to render Livecode stacks In-Reply-To: <1384717036642-4672445.post@n4.nabble.com> References: <1384717036642-4672445.post@n4.nabble.com> Message-ID: <528A2461.6090100@fourthworld.com> Alejandro Tejada wrote: > After reading about Skia, the 2D Graphics Library used > in LiveCode 6.5 to render Livecode stacks, I keep > wondering if LiveCode developers will have access > to all the features provided by Skia. For example: > > - 3x3 matrices w/ perspective > - antialiasing, transparency, filters > - shaders, xfermodes, maskfilters, patheffects > - subpixel text > > Device backends for Skia currently include: > > - Raster > - OpenGL > - PDF > - XPS > - Picture (for recording and then playing back into another Canvas) > > All these are Skia's features listed from this page: > http://code.google.com/p/skia/ Thanks for that info, Alejandro. I'd previously overlooked that Skia is playing a key role in LC going forward, but it's quite an exciting prospect. One of the things that caught my eye there is the PDF support, as requests for LC to be able to render PDFs natively come up frequently. Has anyone here heard even hints from RunRev about possible future support for PDF? Any clue as to how difficult that may be for third parties to integrate? -- 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 From roger.e.eller at sealedair.com Mon Nov 18 09:43:14 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Mon, 18 Nov 2013 09:43:14 -0500 Subject: is it safe to hardwire the "downloads" folder? In-Reply-To: <528A1845.80805@fourthworld.com> References: <002701cee436$1cd94110$568bc330$@de> <528A1845.80805@fourthworld.com> Message-ID: Since it varies a little between versions of Windows, you can list them all. put 0 into t repeat for 60 put t & tab & specialFolderPath(t) & cr after fld 1 add 1 to t end repeat It looks like you will just have to append "/downloads" to specialFolderPath(40)... or the users home folder. ~Roger On Mon, Nov 18, 2013 at 8:38 AM, Richard Gaskin wrote: > Tiemo Hollmann wrote: > > I am looking for the best folder to download updates for my program on win >> and mac. >> > > The good news is that the friendly constants LiveCode provides for access > to special folders is only a subset of the most commonly-used ones. Ken > Ray took the time to document many others that can be used on both OS X and > Windows: > > > The bad news is that I don't see the Downloads folder among them, nor > could I turn it up in Apple's docs. > > It may be that no constant for Downloads was defined for the Carbon API, > so it wouldn't be accessible to us until that part of the LC engine is > updated for Cocoa. > > Or it may be that it's simply documented in a place I couldn't find. :) > > If you can find it, use it. If not, I'd probably opt for a different > folder just to be save. > > If this is a file you want the user to interact with, then you may want to > risk hard-wiring "Downloads", or use the Desktop folder. > > If it's only for your app to draw from to update itself, most > self-updating apps use a temp folder, which may be a good idea here since > tmp gets cleaned by the system between sessions in case anything goes wrong > and your app doesn't have a chance to clean up after itself. > > -- > 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From toolbook at kestner.de Mon Nov 18 10:03:30 2013 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Mon, 18 Nov 2013 16:03:30 +0100 Subject: AW: is it safe to hardwire the "downloads" folder? In-Reply-To: <528A1845.80805@fourthworld.com> References: <002701cee436$1cd94110$568bc330$@de> <528A1845.80805@fourthworld.com> Message-ID: <008201cee46f$584f7c30$08ee7490$@de> Hi Richard and Roger, thank you for your insights. I was wondering if that?s not a very common issue, so it is always valuable to get other thoughts. Now I think I can stay with the temp folder and don't care about how it would look more "sophisticated" Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag > von Richard Gaskin > Gesendet: Montag, 18. November 2013 14:38 > An: use-livecode at lists.runrev.com > Betreff: Re: is it safe to hardwire the "downloads" folder? > > Tiemo Hollmann wrote: > > > I am looking for the best folder to download updates for my program on > > win and mac. > > The good news is that the friendly constants LiveCode provides for access > to special folders is only a subset of the most commonly-used ones. Ken > Ray took the time to document many others that can be used on both OS X and > Windows: > > > The bad news is that I don't see the Downloads folder among them, nor could > I turn it up in Apple's docs. > > It may be that no constant for Downloads was defined for the Carbon API, so > it wouldn't be accessible to us until that part of the LC engine is updated > for Cocoa. > > Or it may be that it's simply documented in a place I couldn't find. :) > > If you can find it, use it. If not, I'd probably opt for a different > folder just to be save. > > If this is a file you want the user to interact with, then you may want to > risk hard-wiring "Downloads", or use the Desktop folder. > > If it's only for your app to draw from to update itself, most self-updating > apps use a temp folder, which may be a good idea here since tmp gets > cleaned by the system between sessions in case anything goes wrong and your > app doesn't have a chance to clean up after itself. > > -- > 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mcgrath3 at mac.com Mon Nov 18 10:17:32 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Mon, 18 Nov 2013 10:17:32 -0500 Subject: More on Resolution Independence In-Reply-To: <2F7E6881-A5A7-44CF-97F9-65FFC52403D1@verizon.net> References: <5C31A485-ADD2-4390-8C7A-A3B3DFE67368@me.com> <8E4DCF90-92F5-46C7-9EB8-C1D735E11A5E@westrac.com.au> <2F7E6881-A5A7-44CF-97F9-65FFC52403D1@verizon.net> Message-ID: <6D93B657-5F96-4443-BBC5-06C20E561311@mac.com> To me these are both useful (resolution Independence and Full screen mode) but not nearly as useful as a ?working? geometry manager would be based on percentages and ratios would be. It?s nice having LC controls drawn correctly, but I don?t use many of the LC controls in iOS apps. SO that means that all of my embedded images in my custom controls need to either have custom resizing handlers (as they do now) or I need to re-create all of my controls as referenced images to take advantage of these helpful additions to LC. When I develop for iOS I also develop for seven different sizes and even more for Android. How is RI handling those?? I haven?t yet used it for the full graph of sizes. Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com On Nov 18, 2013, at 6:51 AM, Colin Holgate wrote: > For iOS there?s just normal and @2x, but the full list is seven different sizes. You can have custom graphics for lots of different DPI devices. > > But, that? only one part of the problem. You still have to cope with different screen sizes and ratios. That?s where the full screen modes come into their own. At least for certain kinds of apps. > > > On Nov 18, 2013, at 5:59 AM, Nakia Brewer wrote: > >>> This sounds great! I bet the folks developing for Android will be especially happy.... > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mcgrath3 at mac.com Mon Nov 18 10:29:45 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Mon, 18 Nov 2013 10:29:45 -0500 Subject: visual effects and iOS SImulator In-Reply-To: References: Message-ID: <66272F4A-3A0B-4C59-BEFD-25E3DB2583F3@mac.com> Klaus, on iOS the lock screen did change and will crash or create other problems when used the ?old? way. It is more like before hand we lock and set for the effects size and then after we set for unlock and the actual effect itself. Doing it that way avoids all problems on iOS. Now, for simulating the push effects of iOS (where the NAV bars do not push but the content does) I use a background group/image (which I set to the size of the card minus the Nav bar and set below the Nav bar in my resize scripts), and I then set a flag in the card if the effect is to be applied just to the rect of the background group or to the whole card depending on which type I want. if exists(group "Background") then if the cUseVisualEffect of this card then lock screen for visual effect in rect (the rect of group "Background") else lock screen for visual effect in rect (the rect of this card) end if else lock screen for visual effect in rect (the rect of this card) end if go next card unlock screen with visual effect "push left? Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com On Nov 18, 2013, at 9:10 AM, Klaus major-k wrote: > Hi friends, > > just spent half an hour to get this to work: > #################################### > on mouseup > put the selectedtext of me into tCard > > if there is a cd tCard then > set the effectrate to 500 > visual effect push left very slow > go to card tCard > end if > end mouseup > ################################### > No WAY! The app always crashes in the Simulator! :-/ > > Then I tried this, although the dictionary tells me that the above should definitively work!? > ######################################## > on mouseup > put the selectedtext of me into tCard > if there is a cd tCard then > set the effectrate to 500 > lock screen for visual effect > go to card tCard > unlock screen with visual effect push left very slow > end if > end mouseup > ######################################## > Et voila, no crash in the Simulator and a nice visual effect! > Hmmm... > > > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From m.schonewille at economy-x-talk.com Mon Nov 18 10:32:05 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 18 Nov 2013 16:32:05 +0100 Subject: [OT] Harry Layman Message-ID: <528A32F5.8080000@economy-x-talk.com> Dear Harry Layman, I have tried to contact you, but I have received incorrect contact data. Please, contact me as soon as possible. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi Fill out this survey please http://livecodebeginner.economy-x-talk.com/survey/ From dunbarx at aol.com Mon Nov 18 11:02:15 2013 From: dunbarx at aol.com (dunbarx at aol.com) Date: Mon, 18 Nov 2013 11:02:15 -0500 (EST) Subject: Detect when a field changes In-Reply-To: <528A1F51.60702@fourthworld.com> References: <528A1F51.60702@fourthworld.com> Message-ID: <8D0B28EAEBAE70F-2350-26E6B@webmail-m246.sysops.aol.com> Richard. Do you really think I was impugning the moral character of any of us? Craig -----Original Message----- From: Richard Gaskin To: use-livecode Sent: Mon, Nov 18, 2013 9:08 am Subject: Re: Detect when a field changes Robert Brenstein wrote: > On 16.11.2013 at 23:35 Uhr -0500 dunbarx wrote: >>Bill. >> >> I am with you, and any honest LiveCoder ought to be as well. The >> "textChanged" message should stand on its own feet, if it has any, >> and do what it advertises. > > But then, if "textChanged" fires on any change, including scripted > changes, we need to go through extra hoops to distinguish between > user-input and script-based changes. The message as it is now means > Text-Changed-by-User and allow us, for example, verify user input > (and what if the verification routine programmatically corrects user > input?). I am not sure that that would really be so useful in the big > scheme of things. This is a very interesting point, one I hadn't considered when the conversation began but which I hope finds its way into any bug report on this, if one's been filed, so the full scope of implications can be considered. With all due respect to dunbarx, I don't think the "honesty" or lack thereof with any developer is in question here, nor should it be. While there are from time to time bugs in LC, many times unexpected behavior is the result of a different conceptualization of what a given feature should do between the scripter using a feature and the RunRev team member who implemented it. With the textChanged message, it seems that it was implemented to address a set of circumstances previously unknowable to us, the full range of user interactions which can cause field contents to change. Since any changes driven by scripts are fully knowable to the person who wrote the scripts, this is a useful message for all other circumstances driven by user actions, which could not otherwise be known at all without expensive polling. There has been some discussion of extending getProp and setProp to be able to use those with built-in properties, and if we had that now then Bill would have one-stop-shopping with the text property of the field. But in the meantime, while I have no opinion on whether the scope of the textChanged message should be extended, I do acknowledge that Robert's point is potentially very important, given that for every circumstance in which a more complete scope may be useful to some, for others it may not be appropriate. So for the here-and-now, if one needs to resolve this with the current engine one solution might be to use factored code that sets text using a single centralized handler, so all changes from any script happen in one place, and the textChanged message covers every other user interaction. -- 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 at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Mon Nov 18 11:26:17 2013 From: klaus at major-k.de (Klaus major-k) Date: Mon, 18 Nov 2013 17:26:17 +0100 Subject: visual effects and iOS SImulator In-Reply-To: <66272F4A-3A0B-4C59-BEFD-25E3DB2583F3@mac.com> References: <66272F4A-3A0B-4C59-BEFD-25E3DB2583F3@mac.com> Message-ID: <5F5AE83E-A600-4DB8-9B1A-8E8BDBBC8EF2@major-k.de> Hi Tom, Am 18.11.2013 um 16:29 schrieb Thomas McGrath III : > Klaus, on iOS the lock screen did change and will crash or create other problems when used the ?old? way. Yep, that's what I experienced ;-) > It is more like before hand we lock and set for the effects size and then after we set for unlock and the actual effect itself. Doing it that way avoids all problems on iOS. > > Now, for simulating the push effects of iOS (where the NAV bars do not push but the content does) I use a background group/image (which I set to the size of the card minus the Nav bar and set below the Nav bar in my resize scripts), and I then set a flag in the card if the effect is to be applied just to the rect of the background group or to the whole card depending on which type I want. > > > if exists(group "Background") then > if the cUseVisualEffect of this card then > lock screen for visual effect in rect (the rect of group "Background") > else > lock screen for visual effect in rect (the rect of this card) > end if > else > lock screen for visual effect in rect (the rect of this card) > end if > go next card > unlock screen with visual effect "push left? ah, great, thanks, will save this for later, got my project runing as described so far :-) > Tom Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From livfoss at mac.com Mon Nov 18 11:43:16 2013 From: livfoss at mac.com (Graham Samuel) Date: Mon, 18 Nov 2013 17:43:16 +0100 Subject: The humble Substack In-Reply-To: <528A1B72.5060005@fourthworld.com> References: <52896577.000009.07068@CALS_BIG_PC> <528A1B72.5060005@fourthworld.com> Message-ID: <79C60966-9504-4C29-8A82-A34F7E6BDDE1@mac.com> Hi Richard I've been following this conversation, but I don't see a mail from Mark. Maybe it's a timezone problem. Could you kindly forward it to the list? TIA Graham On 18 Nov 2013, at 14:51, Richard Gaskin wrote: > Cal Horner wrote: > >> When a combination mainstack/substack(s) application is compiled into a >> standalone, how much of substack is converted from an interpreted >> environment into a compiled application? > > As Mark noted, a standalone is essentially just a copy of the stackfile with the runtime engine embedded into it. So it's "compiled" only in the dictionary sense of the word, as in "combined". > > In the Computer Science sense of "compiled", meaning translated to native machine instructions executable by the CPU, that happens dynamically whenever the message path is changed. > > So as Mark noted, when opening a stack the engine unpacks the object structures and sets up the message path, and at that point the scripts are tokenized into a compact bytecode format for easy translation by the engine to the native machine-code instructions as the script is run. > > But this tokenization, or first-pass compilation, also occurs when setting the script property of an object, or using any of the fully-dynamically-compiled expressions like do, call, send, or dispatch. > > In this regard I like to think of LC as being more akin to a virtual machine than a common app, very much like Dalvik or Java in the way it maintains platform-independence of the code until runtime. > > -- > 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Mon Nov 18 11:45:54 2013 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Mon, 18 Nov 2013 11:45:54 -0500 Subject: Detect when a field changes In-Reply-To: <8D0B22E2E8C42A8-2270-22010@webmail-m137.sysops.aol.com> References: <1384642056133-4672429.post@n4.nabble.com> <48EA186A-3522-49D1-A998-312212B2C785@mac.com> <8D0B1659A53E2CD-1B6C-16A27@webmail-d251.sysops.aol.com> <8D0B22E2E8C42A8-2270-22010@webmail-m137.sysops.aol.com> Message-ID: <000001cee47d$a8fef850$fafce8f0$@net> Ah... but in mobile when one changes the content of a native text field via a mobileControlSet the inputTextChanged handler message is sent. Is this inconsistent? Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of dunbarx at aol.com Sent: Sunday, November 17, 2013 11:31 PM To: use-livecode at lists.runrev.com Subject: Re: Detect when a field changes Robert. You make a point. And it must be accepted that the message is only sent when a human being interacts. At least it is consistent. Maybe it is the name of the message itself that makes me think it has a quirk, as opposed to a specifically defined functional spec. Craig Newman -----Original Message----- From: Robert Brenstein To: How to use LiveCode Sent: Sun, Nov 17, 2013 8:51 pm Subject: Re: Detect when a field changes On 16.11.2013 at 23:35 Uhr -0500 dunbarx at aol.com apparently wrote: >Bill. > >I am with you, and any honest LiveCoder ought to be as well. The >"textChanged" message should stand on its own feet, if it has any, and >do what it advertises. > But then, if "textChanged" fires on any change, including scripted changes, we need to go through extra hoops to distinguish between user-input and script-based changes. The message as it is now means Text-Changed-by-User and allow us, for example, verify user input (and what if the verification routine programmatically corrects user input?). I am not sure that that would really be so useful in the big scheme of things. RObert _______________________________________________ use-livecode mailing list use-livecode at 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 at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Mon Nov 18 11:46:29 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 18 Nov 2013 08:46:29 -0800 Subject: Detect when a field changes In-Reply-To: <8D0B28EAEBAE70F-2350-26E6B@webmail-m246.sysops.aol.com> References: <8D0B28EAEBAE70F-2350-26E6B@webmail-m246.sysops.aol.com> Message-ID: <528A4465.3080308@fourthworld.com> dunbarx wrote: > Richard. > > Do you really think I was impugning the moral character of any of us? > > Craig >> On 16.11.2013 at 23:35 Uhr -0500 dunbarx wrote: >>> I am with you, and any honest LiveCoder ought to be as well. Not at all, because I've known you for a long time. In fact, given your excellently helpful participation in the community, I couldn't really figure out at all what you meant by introducing the question of honesty here. Email is a funny medium, devoid of the smiles and body language that make in-person communication so much more fluid and effective. As this community continues to grow by orders of magnitude going forward now that LC is open source, other readers may not have the background on each of us to figure out what we mean when we use language creatively. -- 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 From livfoss at mac.com Mon Nov 18 11:48:04 2013 From: livfoss at mac.com (Graham Samuel) Date: Mon, 18 Nov 2013 17:48:04 +0100 Subject: What does "stack was produced by a newer version" mean? Message-ID: <50C60896-B125-4E99-95F5-36E9AFFAC3E0@mac.com> I have a desktop app I've been developing on a Mac running Lion 10.7.5. I have just switched my LiveCode version to 6.1.3. Part of my app copies a template stack into an area where it can be manipulated and saved (in fact it's in a folder in the 'Applications Support' area of the Mac library). The copy is just a statement: put URL ("binfile:" & tTemplatePath) into URL ("binfile:" & gdataStackPath) After this is executed, the Mac finder shows the file in place with the expected '.livecode' extension. Then at some later point in the app's script, I execute: go stack gdataStackPath This has been working for ages. I now have a problem that I may have created myself, but so far I can't find out what I've done wrong: the 'go' command fails to execute, and after investigation I see that 'the result' returns "stack was produced by a newer version", and if I try to open this copied stack directly in LC, by right-click and 'Open with...", I get "unable to open stack: stack is corrupted, check for ~ backup file". Which of these error messages is the right one, and if the first one, what does it mean? I can't see that my innocent 'put URL' can have corrupted the stack, which is not opened until my 'go' command, and therefore not subject to being corrupted. Can anyone suggest what's wrong? I will continue to look for reasons of course, but right now I'm stumped. Graham From m.schonewille at economy-x-talk.com Mon Nov 18 11:56:17 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 18 Nov 2013 17:56:17 +0100 Subject: What does "stack was produced by a newer version" mean? In-Reply-To: <50C60896-B125-4E99-95F5-36E9AFFAC3E0@mac.com> References: <50C60896-B125-4E99-95F5-36E9AFFAC3E0@mac.com> Message-ID: <528A46B1.3070004@economy-x-talk.com> Hi Graham, Could you open your stack in a text editor (TextEdit or NotePad) and see if the beginning of the file looks like a stack? It should start with something like REV02700 or REVO5500 or something similar. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi Fill out this survey please http://livecodebeginner.economy-x-talk.com/survey/ On 11/18/2013 17:48, Graham Samuel wrote: > I have a desktop app I've been developing on a Mac running Lion 10.7.5. I have just switched my LiveCode version to 6.1.3. > > Part of my app copies a template stack into an area where it can be manipulated and saved (in fact it's in a folder in the 'Applications Support' area of the Mac library). The copy is just a statement: > > put URL ("binfile:" & tTemplatePath) into URL ("binfile:" & gdataStackPath) > > After this is executed, the Mac finder shows the file in place with the expected '.livecode' extension. > > Then at some later point in the app's script, I execute: > > go stack gdataStackPath > > This has been working for ages. I now have a problem that I may have created myself, but so far I can't find out what I've done wrong: the 'go' command fails to execute, and after investigation I see that 'the result' returns "stack was produced by a newer version", and if I try to open this copied stack directly in LC, by right-click and 'Open with...", I get "unable to open stack: stack is corrupted, check for ~ backup file". Which of these error messages is the right one, and if the first one, what does it mean? I can't see that my innocent 'put URL' can have corrupted the stack, which is not opened until my 'go' command, and therefore not subject to being corrupted. > > Can anyone suggest what's wrong? I will continue to look for reasons of course, but right now I'm stumped. > > Graham From ambassador at fourthworld.com Mon Nov 18 12:28:01 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 18 Nov 2013 09:28:01 -0800 Subject: The humble Substack In-Reply-To: <79C60966-9504-4C29-8A82-A34F7E6BDDE1@mac.com> References: <79C60966-9504-4C29-8A82-A34F7E6BDDE1@mac.com> Message-ID: <528A4E21.90902@fourthworld.com> Graham Samuel wrote: > I've been following this conversation, but I don't see a mail from > Mark. Maybe it's a timezone problem. Could you kindly forward it > to the list? I read the list in the archives - this is Mark's post: -- 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 From ambassador at fourthworld.com Mon Nov 18 12:30:49 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 18 Nov 2013 09:30:49 -0800 Subject: AW: is it safe to hardwire the "downloads" folder? In-Reply-To: <008201cee46f$584f7c30$08ee7490$@de> References: <008201cee46f$584f7c30$08ee7490$@de> Message-ID: <528A4EC9.7010402@fourthworld.com> Good news, Tiemo - Given that no one else in the community knows more about specialFolderPath constants than Ken Ray, I wrote him this morning and he was able to turn up a surprisingly simple constant for you: put specialFolderPath("down") -- 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 From mwieder at ahsoftware.net Mon Nov 18 12:36:59 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 18 Nov 2013 09:36:59 -0800 Subject: How to Abort Stepping through a Script with a Single Keystroke In-Reply-To: <528A238F.5050004@LinkIt.Com> References: <528A238F.5050004@LinkIt.Com> Message-ID: <138-1396083366.20131118093659@ahsoftware.net> Ray- Monday, November 18, 2013, 6:26:23 AM, you wrote: > Anybody know where I could accomplish this by somehow editing the > "revBackScript" button in RevLibrary? set the tracestack to empty -- -Mark Wieder ahsoftware at gmail.com From toolbook at kestner.de Mon Nov 18 12:47:48 2013 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Mon, 18 Nov 2013 18:47:48 +0100 Subject: AW: AW: is it safe to hardwire the "downloads" folder? In-Reply-To: <528A4EC9.7010402@fourthworld.com> References: <008201cee46f$584f7c30$08ee7490$@de> <528A4EC9.7010402@fourthworld.com> Message-ID: <008d01cee486$4c3d7610$e4b86230$@de> I tried some variations on specialFolderPath, but not this one :) Thanks for jumping in Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag > von Richard Gaskin > Gesendet: Montag, 18. November 2013 18:31 > An: use-livecode at lists.runrev.com > Betreff: Re: AW: is it safe to hardwire the "downloads" folder? > > Good news, Tiemo - > > Given that no one else in the community knows more about specialFolderPath > constants than Ken Ray, I wrote him this morning and he was able to turn up > a surprisingly simple constant for you: > > put specialFolderPath("down") > > -- > 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From livfoss at mac.com Mon Nov 18 12:45:49 2013 From: livfoss at mac.com (Graham Samuel) Date: Mon, 18 Nov 2013 18:45:49 +0100 Subject: What does "stack was produced by a newer version" mean? In-Reply-To: <50C60896-B125-4E99-95F5-36E9AFFAC3E0@mac.com> References: <50C60896-B125-4E99-95F5-36E9AFFAC3E0@mac.com> Message-ID: <9DB80CB2-29B9-4666-A1D9-DB6E079F0F4F@mac.com> Answering my own question (to some extent), I now see that I did create the issue myself, by somehow messing up the "copy files" list in my standalone settings, so that the reference to the original template stack didn't work. In fact I tried to copy a non-existent file, and then rename it. Interestingly this did in fact produce a file - a useless one, but still a file. Although I am entirely to blame for the error, it's interesting that using the 'put URL' form to do the copy, it is not obvious how to detect errors: in the old-fashioned way of handling files, one can hope to see an error in 'the result'. The current LC documentation doesn't suggest **any** way of detecting errors in URL-type file operations, but I guess there must be one or more. My comment about conflicting error messages when I tried to open an inappropriate file still stands though: my guess now is that the "stack corrupted" is closest to correct, since the created file probably wasn't a stack file at all, apart from the extension. Sorry for the waste of bandwidth. Graham On 18 Nov 2013, at 17:48, Graham Samuel wrote: > I have a desktop app I've been developing on a Mac running Lion 10.7.5. I have just switched my LiveCode version to 6.1.3. > > Part of my app copies a template stack into an area where it can be manipulated and saved (in fact it's in a folder in the 'Applications Support' area of the Mac library). The copy is just a statement: > > put URL ("binfile:" & tTemplatePath) into URL ("binfile:" & gdataStackPath) > > After this is executed, the Mac finder shows the file in place with the expected '.livecode' extension. > > Then at some later point in the app's script, I execute: > > go stack gdataStackPath > > This has been working for ages. I now have a problem that I may have created myself, but so far I can't find out what I've done wrong: the 'go' command fails to execute, and after investigation I see that 'the result' returns "stack was produced by a newer version", and if I try to open this copied stack directly in LC, by right-click and 'Open with...", I get "unable to open stack: stack is corrupted, check for ~ backup file". Which of these error messages is the right one, and if the first one, what does it mean? I can't see that my innocent 'put URL' can have corrupted the stack, which is not opened until my 'go' command, and therefore not subject to being corrupted. > > Can anyone suggest what's wrong? I will continue to look for reasons of course, but right now I'm stumped. > > Graham > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mcgrath3 at mac.com Mon Nov 18 12:58:42 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Mon, 18 Nov 2013 12:58:42 -0500 Subject: Detect when a field changes In-Reply-To: <000001cee47d$a8fef850$fafce8f0$@net> References: <1384642056133-4672429.post@n4.nabble.com> <48EA186A-3522-49D1-A998-312212B2C785@mac.com> <8D0B1659A53E2CD-1B6C-16A27@webmail-d251.sysops.aol.com> <8D0B22E2E8C42A8-2270-22010@webmail-m137.sysops.aol.com> <000001cee47d$a8fef850$fafce8f0$@net> Message-ID: <68D576B4-18D4-468A-A96A-D14CD7AB2E7E@mac.com> I?m lost on this thread?? Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com On Nov 18, 2013, at 11:45 AM, Ralph DiMola wrote: > Ah... but in mobile when one changes the content of a native text field via > a mobileControlSet the inputTextChanged handler message is sent. Is this > inconsistent? > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf > Of dunbarx at aol.com > Sent: Sunday, November 17, 2013 11:31 PM > To: use-livecode at lists.runrev.com > Subject: Re: Detect when a field changes > > Robert. > > > You make a point. And it must be accepted that the message is only sent when > a human being interacts. At least it is consistent. > > > Maybe it is the name of the message itself that makes me think it has a > quirk, as opposed to a specifically defined functional spec. > > > Craig Newman > > > > -----Original Message----- > From: Robert Brenstein > To: How to use LiveCode > Sent: Sun, Nov 17, 2013 8:51 pm > Subject: Re: Detect when a field changes > > > On 16.11.2013 at 23:35 Uhr -0500 dunbarx at aol.com apparently wrote: >> Bill. >> >> I am with you, and any honest LiveCoder ought to be as well. The >> "textChanged" message should stand on its own feet, if it has any, and >> do what it advertises. >> > > But then, if "textChanged" fires on any change, including scripted changes, > we need to go through extra hoops to distinguish between user-input and > script-based changes. The message as it is now means Text-Changed-by-User > and allow us, for example, verify user input (and what if the verification > routine programmatically corrects user input?). I am not sure that that > would really be so useful in the big scheme of things. > > RObert > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From rdimola at evergreeninfo.net Mon Nov 18 13:19:13 2013 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Mon, 18 Nov 2013 13:19:13 -0500 Subject: Detect when a field changes In-Reply-To: <68D576B4-18D4-468A-A96A-D14CD7AB2E7E@mac.com> References: <1384642056133-4672429.post@n4.nabble.com> <48EA186A-3522-49D1-A998-312212B2C785@mac.com> <8D0B1659A53E2CD-1B6C-16A27@webmail-d251.sysops.aol.com> <8D0B22E2E8C42A8-2270-22010@webmail-m137.sysops.aol.com> <000001cee47d$a8fef850$fafce8f0$@net> <68D576B4-18D4-468A-A96A-D14CD7AB2E7E@mac.com> Message-ID: <001001cee48a$af4a1250$0dde36f0$@net> What I understood in this thread==> When field content changes via script the "textChanged" message is NOT sent. The "textChanged" message is only sent when the user types in a field or the "type" statement is used. This behavior was intended and consistent with the docs. I was pointing out the this is not the case with mobile native text field input. Mobile native text field changed via script WILL send a message(in this case the " inputTextChanged" message). Ralph DiMola IT Director Evergreen Information Services rdimola at evergreeninfo.net -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Thomas McGrath III Sent: Monday, November 18, 2013 12:59 PM To: How to use LiveCode Subject: Re: Detect when a field changes I'm lost on this thread?? Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com On Nov 18, 2013, at 11:45 AM, Ralph DiMola wrote: > Ah... but in mobile when one changes the content of a native text > field via a mobileControlSet the inputTextChanged handler message is > sent. Is this inconsistent? > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On > Behalf Of dunbarx at aol.com > Sent: Sunday, November 17, 2013 11:31 PM > To: use-livecode at lists.runrev.com > Subject: Re: Detect when a field changes > > Robert. > > > You make a point. And it must be accepted that the message is only > sent when a human being interacts. At least it is consistent. > > > Maybe it is the name of the message itself that makes me think it has > a quirk, as opposed to a specifically defined functional spec. > > > Craig Newman > > > > -----Original Message----- > From: Robert Brenstein > To: How to use LiveCode > Sent: Sun, Nov 17, 2013 8:51 pm > Subject: Re: Detect when a field changes > > > On 16.11.2013 at 23:35 Uhr -0500 dunbarx at aol.com apparently wrote: >> Bill. >> >> I am with you, and any honest LiveCoder ought to be as well. The >> "textChanged" message should stand on its own feet, if it has any, >> and do what it advertises. >> > > But then, if "textChanged" fires on any change, including scripted > changes, we need to go through extra hoops to distinguish between > user-input and script-based changes. The message as it is now means > Text-Changed-by-User and allow us, for example, verify user input (and > what if the verification routine programmatically corrects user > input?). I am not sure that that would really be so useful in the big scheme of things. > > RObert > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 at 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 at 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 at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From mcgrath3 at mac.com Mon Nov 18 13:25:13 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Mon, 18 Nov 2013 13:25:13 -0500 Subject: Detect when a field changes In-Reply-To: <001001cee48a$af4a1250$0dde36f0$@net> References: <1384642056133-4672429.post@n4.nabble.com> <48EA186A-3522-49D1-A998-312212B2C785@mac.com> <8D0B1659A53E2CD-1B6C-16A27@webmail-d251.sysops.aol.com> <8D0B22E2E8C42A8-2270-22010@webmail-m137.sysops.aol.com> <000001cee47d$a8fef850$fafce8f0$@net> <68D576B4-18D4-468A-A96A-D14CD7AB2E7E@mac.com> <001001cee48a$af4a1250$0dde36f0$@net> Message-ID: <80464538-0037-45C7-ADCF-C2537E1A865D@mac.com> Ahh Ok, Thanks Ralph. That describes the difference much better. -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com On Nov 18, 2013, at 1:19 PM, Ralph DiMola wrote: > What I understood in this thread==> When field content changes via script > the "textChanged" message is NOT sent. The "textChanged" message is only > sent when the user types in a field or the "type" statement is used. This > behavior was intended and consistent with the docs. > I was pointing out the this is not the case with mobile native text field > input. Mobile native text field changed via script WILL send a message(in > this case the " inputTextChanged" message). > > Ralph DiMola > IT Director > Evergreen Information Services > rdimola at evergreeninfo.net > > > -----Original Message----- > From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf > Of Thomas McGrath III > Sent: Monday, November 18, 2013 12:59 PM > To: How to use LiveCode > Subject: Re: Detect when a field changes > > I'm lost on this thread?? > > Tom > > > -- Tom McGrath III > http://lazyriver.on-rev.com > mcgrath3 at mac.com > > On Nov 18, 2013, at 11:45 AM, Ralph DiMola > wrote: > >> Ah... but in mobile when one changes the content of a native text >> field via a mobileControlSet the inputTextChanged handler message is >> sent. Is this inconsistent? >> >> Ralph DiMola >> IT Director >> Evergreen Information Services >> rdimola at evergreeninfo.net >> >> >> -----Original Message----- >> From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On >> Behalf Of dunbarx at aol.com >> Sent: Sunday, November 17, 2013 11:31 PM >> To: use-livecode at lists.runrev.com >> Subject: Re: Detect when a field changes >> >> Robert. >> >> >> You make a point. And it must be accepted that the message is only >> sent when a human being interacts. At least it is consistent. >> >> >> Maybe it is the name of the message itself that makes me think it has >> a quirk, as opposed to a specifically defined functional spec. >> >> >> Craig Newman >> >> >> >> -----Original Message----- >> From: Robert Brenstein >> To: How to use LiveCode >> Sent: Sun, Nov 17, 2013 8:51 pm >> Subject: Re: Detect when a field changes >> >> >> On 16.11.2013 at 23:35 Uhr -0500 dunbarx at aol.com apparently wrote: >>> Bill. >>> >>> I am with you, and any honest LiveCoder ought to be as well. The >>> "textChanged" message should stand on its own feet, if it has any, >>> and do what it advertises. >>> >> >> But then, if "textChanged" fires on any change, including scripted >> changes, we need to go through extra hoops to distinguish between >> user-input and script-based changes. The message as it is now means >> Text-Changed-by-User and allow us, for example, verify user input (and >> what if the verification routine programmatically corrects user >> input?). I am not sure that that would really be so useful in the big > scheme of things. >> >> RObert >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at 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 at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From brahma at hindu.org Mon Nov 18 13:40:35 2013 From: brahma at hindu.org (Brahmanathswami) Date: Mon, 18 Nov 2013 08:40:35 -1000 Subject: Convert Path strings to POSIX strings Message-ID: <528A5F23.9030306@hindu.org> Can we convert path strings like this (complete mess! but OSX accepts them, but later they break other apps....) "/Volumes/Varuna/Art Storage/*Archives/Other art/Lotus /Google Image Result for http___f33.yahoofs.com_mapann_1000_sr_22692099138f2f.jpg%3Flc_____DWcnzQJ1P.jpg", "/Volumes/Varuna/Art Storage/*Archives/Other art/Lotus /Google Image Result for http___img2.etsystatic.com_il_570xN.248471862.jpg.jpg", to POSIX strings using Livecode? I know I can do it with AppleScript but I want to pass them as POSIX strings to a Javascript (I don't even know if javascript will accept POSIX strings as input to JSON type variable... ) I tried to do my homework on this, but I'm not sure I even understand yet what a POSIX string is! Swasti Astu, Be Well! Brahmanathaswami Kauai's Hindu Monastery www.HimalayanAcademy.com From m.schonewille at economy-x-talk.com Mon Nov 18 13:58:03 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 18 Nov 2013 19:58:03 +0100 Subject: Convert Path strings to POSIX strings In-Reply-To: <528A5F23.9030306@hindu.org> References: <528A5F23.9030306@hindu.org> Message-ID: Hi Brahmanathaswami, Have a look at revMacFromUnixPath and revUnixFromMacPath. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com We have time for new software development projects. Contact me for a quote. On 18 nov 2013, at 19:40, Brahmanathswami wrote: > Can we convert path strings like this (complete mess! but OSX accepts them, but later they break other apps....) > > "/Volumes/Varuna/Art Storage/*Archives/Other art/Lotus /Google Image Result for http___f33.yahoofs.com_mapann_1000_sr_22692099138f2f.jpg%3Flc_____DWcnzQJ1P.jpg", > > > "/Volumes/Varuna/Art Storage/*Archives/Other art/Lotus /Google Image Result for http___img2.etsystatic.com_il_570xN.248471862.jpg.jpg", > > > to POSIX strings using Livecode? I know I can do it with AppleScript but I want to pass them as POSIX strings to a Javascript (I don't even know if javascript will accept POSIX strings as input to JSON type variable... ) > > I tried to do my homework on this, but I'm not sure I even understand yet what a POSIX string is! > > > > Swasti Astu, Be Well! > Brahmanathaswami > > Kauai's Hindu Monastery > www.HimalayanAcademy.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From monte at sweattechnologies.com Mon Nov 18 14:25:22 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue, 19 Nov 2013 06:25:22 +1100 Subject: Detect when a field changes In-Reply-To: <528A1F51.60702@fourthworld.com> References: <528A1F51.60702@fourthworld.com> Message-ID: <77D8D674-C258-427F-86AF-3D0E22A89CB4@sweattechnologies.com> On 19/11/2013, at 1:08 AM, Richard Gaskin wrote: > There has been some discussion of extending getProp and setProp to be able to use those with built-in properties, and if we had that now then Bill would have one-stop-shopping with the text property of the field. Indeed it's been implemented.. it was one of the first things I did but the pull request seems to have been forgotten about. -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From brahma at hindu.org Mon Nov 18 14:32:10 2013 From: brahma at hindu.org (Brahmanathswami) Date: Mon, 18 Nov 2013 09:32:10 -1000 Subject: Convert Path strings to POSIX strings In-Reply-To: References: <528A5F23.9030306@hindu.org> Message-ID: <528A6B3A.5090108@hindu.org> Those functions only deal with colons --> slashes and back But I was looking to auto escape "bad chars" for Javascript This apple script works: get POSIX path of "/Volumes/Varuna/Art Storage/*Archives/Other art/Lotus /Google Image Result for http___f33.yahoofs.com_mapann_1000_sr_22692099138f2f.jpg%3Flc_____DWcnzQJ1P.jpg" but my result is not what I expected: it is unchanged. the *Asterisk and the percent sign in the path are unchanged. I thought POSIX conversion would do something with those, but it doesn't. I'm still missing something... mark wrote: > > Have a look at revMacFromUnixPath and revUnixFromMacPath. > > -- > Best regards, > > Mark Schonewille > > Brahmanathaswami wrote: Can we convert path strings like this (complete mess! but OSX accepts them, but later they break other apps....) "/Volumes/Varuna/Art Storage/*Archives/Other art/Lotus /Google Image Result for http___f33.yahoofs.com_mapann_1000_sr_22692099138f2f.jpg%3Flc_____DWcnzQJ1P.jpg", "/Volumes/Varuna/Art Storage/*Archives/Other art/Lotus /Google Image Result for http___img2.etsystatic.com_il_570xN.248471862.jpg.jpg", to POSIX strings using Livecode? I know I can do it with AppleScript but I want to pass them as POSIX strings to a Javascript (I don't even know if javascript will accept POSIX strings as input to JSON type variable... ) I tried to do my homework on this, but I'm not sure I even understand yet what a POSIX string is! From ray at linkit.com Mon Nov 18 14:43:40 2013 From: ray at linkit.com (Ray) Date: Mon, 18 Nov 2013 14:43:40 -0500 Subject: How to Abort Stepping through a Script with a Single Keystroke In-Reply-To: <138-1396083366.20131118093659@ahsoftware.net> References: <528A238F.5050004@LinkIt.Com> <138-1396083366.20131118093659@ahsoftware.net> Message-ID: <528A6DEC.2070008@LinkIt.Com> Mark, That's very interesting; setting the traceStack to empty. I didn't know about that. Nonetheless, I'm still unable to abort debugging a script. I've tried putting the following handler in both the stack script I'm working with and the revBackScript: on rawKeyDown whichKey if whichKey = 65450 then set the tracestack to empty else pass rawKeyDown end rawKeyDown In both cases the script window stays in the debugging state waiting for me to step over, step into etc. Do you have any suggestions as to where I should be trapping for this? Thanks, Ray On 11/18/2013 12:36 PM, Mark Wieder wrote: > Ray- > > Monday, November 18, 2013, 6:26:23 AM, you wrote: > >> Anybody know where I could accomplish this by somehow editing the >> "revBackScript" button in RevLibrary? > set the tracestack to empty > From ambassador at fourthworld.com Mon Nov 18 14:45:20 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 18 Nov 2013 11:45:20 -0800 Subject: Detect when a field changes In-Reply-To: <77D8D674-C258-427F-86AF-3D0E22A89CB4@sweattechnologies.com> References: <77D8D674-C258-427F-86AF-3D0E22A89CB4@sweattechnologies.com> Message-ID: <528A6E50.1010708@fourthworld.com> Monte Goulding wrote: > On 19/11/2013, at 1:08 AM, Richard Gaskin wrote: > >> There has been some discussion of extending getProp and setProp to >> be able to use those with built-in properties, and if we had that >> now then Bill would have one-stop-shopping with the text property >> of the field. > > Indeed it's been implemented.. it was one of the first things I did > but the pull request seems to have been forgotten about. So cool - thanks, Momte! Has there been any discussion of a possible enhancement to lockMessages, so we can lock all system message EXCEPT getProp and setProp? I'd like to use those triggers, with since they're affected by lockMessages I can't use them for critical tasks except under very well defined circumstances. -- 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 From scott at tactilemedia.com Mon Nov 18 14:46:34 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 18 Nov 2013 11:46:34 -0800 Subject: Detect when a field changes In-Reply-To: <001001cee48a$af4a1250$0dde36f0$@net> Message-ID: In my case, I have custom field controls whose text can be set by script, and there is currently no way to detect this. The textChanged message (or something like it) would be perfect for this. This is why I posted the enhancement request. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 11/18/13 10:19 AM, "Ralph DiMola" wrote: >What I understood in this thread==> When field content changes via script >the "textChanged" message is NOT sent. The "textChanged" message is only >sent when the user types in a field or the "type" statement is used. This >behavior was intended and consistent with the docs. >I was pointing out the this is not the case with mobile native text field >input. Mobile native text field changed via script WILL send a message(in >this case the " inputTextChanged" message). > >Ralph DiMola >IT Director >Evergreen Information Services >rdimola at evergreeninfo.net > > >-----Original Message----- >From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On >Behalf >Of Thomas McGrath III >Sent: Monday, November 18, 2013 12:59 PM >To: How to use LiveCode >Subject: Re: Detect when a field changes > >I'm lost on this thread?? > >Tom > > >-- Tom McGrath III >http://lazyriver.on-rev.com >mcgrath3 at mac.com > >On Nov 18, 2013, at 11:45 AM, Ralph DiMola >wrote: > >> Ah... but in mobile when one changes the content of a native text >> field via a mobileControlSet the inputTextChanged handler message is >> sent. Is this inconsistent? >> >> Ralph DiMola >> IT Director >> Evergreen Information Services >> rdimola at evergreeninfo.net >> >> >> -----Original Message----- >> From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On >> Behalf Of dunbarx at aol.com >> Sent: Sunday, November 17, 2013 11:31 PM >> To: use-livecode at lists.runrev.com >> Subject: Re: Detect when a field changes >> >> Robert. >> >> >> You make a point. And it must be accepted that the message is only >> sent when a human being interacts. At least it is consistent. >> >> >> Maybe it is the name of the message itself that makes me think it has >> a quirk, as opposed to a specifically defined functional spec. >> >> >> Craig Newman >> >> >> >> -----Original Message----- >> From: Robert Brenstein >> To: How to use LiveCode >> Sent: Sun, Nov 17, 2013 8:51 pm >> Subject: Re: Detect when a field changes >> >> >> On 16.11.2013 at 23:35 Uhr -0500 dunbarx at aol.com apparently wrote: >>> Bill. >>> >>> I am with you, and any honest LiveCoder ought to be as well. The >>> "textChanged" message should stand on its own feet, if it has any, >>> and do what it advertises. >>> >> >> But then, if "textChanged" fires on any change, including scripted >> changes, we need to go through extra hoops to distinguish between >> user-input and script-based changes. The message as it is now means >> Text-Changed-by-User and allow us, for example, verify user input (and >> what if the verification routine programmatically corrects user >> input?). I am not sure that that would really be so useful in the big >scheme of things. >> >> RObert >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at 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 at 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 at 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 at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode > From scott at tactilemedia.com Mon Nov 18 14:50:25 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 18 Nov 2013 11:50:25 -0800 Subject: visual effects and iOS SImulator In-Reply-To: Message-ID: Klaus: Some time back, the RunRev folks explained that the script for visual effects had to be changed to accommodate new features in the engine. So maybe the old form still works in certain cases, but I'm pretty sure they want developers to use "lock screen for visual effect" moving forward. Best Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 11/18/13 6:10 AM, "Klaus major-k" wrote: >Hi friends, > >just spent half an hour to get this to work: >#################################### >on mouseup > put the selectedtext of me into tCard > > if there is a cd tCard then > set the effectrate to 500 > visual effect push left very slow > go to card tCard > end if >end mouseup >################################### >No WAY! The app always crashes in the Simulator! :-/ > >Then I tried this, although the dictionary tells me that the above should >definitively work!? >######################################## >on mouseup > put the selectedtext of me into tCard > if there is a cd tCard then > set the effectrate to 500 > lock screen for visual effect > go to card tCard > unlock screen with visual effect push left very slow > end if >end mouseup >######################################## >Et voila, no crash in the Simulator and a nice visual effect! >Hmmm... > > >Best > >Klaus > >-- >Klaus Major >http://www.major-k.de >klaus at major-k.de > > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Mon Nov 18 14:59:17 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 18 Nov 2013 13:59:17 -0600 Subject: Convert Path strings to POSIX strings In-Reply-To: <528A6B3A.5090108@hindu.org> References: <528A5F23.9030306@hindu.org> <528A6B3A.5090108@hindu.org> Message-ID: <528A7195.60801@hyperactivesw.com> On 11/18/13 1:32 PM, Brahmanathswami wrote: > Those functions only deal with colons --> slashes and back > > But I was looking to auto escape "bad chars" for Javascript > > This apple script works: > > get POSIX path of "/Volumes/Varuna/Art Storage/*Archives/Other art/Lotus > /Google Image Result for > http___f33.yahoofs.com_mapann_1000_sr_22692099138f2f.jpg%3Flc_____DWcnzQJ1P.jpg" > > > > but my result is not what I expected: it is unchanged. > > the *Asterisk and the percent sign in the path are unchanged. > I thought POSIX conversion would do something with those, but it doesn't. It was my understanding that LiveCode's path references are already POSIX paths. Applescript needs colons, LiveCode uses slashes, which is the primary difference. POSIX uses the unix slash convention. If the path has spaces in it, you need to escape those, or else quote the entire path. But otherwise I think you already have what you need. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mwieder at ahsoftware.net Mon Nov 18 15:04:50 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 18 Nov 2013 12:04:50 -0800 Subject: How to Abort Stepping through a Script with a Single Keystroke In-Reply-To: <528A6DEC.2070008@LinkIt.Com> References: <528A238F.5050004@LinkIt.Com> <138-1396083366.20131118093659@ahsoftware.net> <528A6DEC.2070008@LinkIt.Com> Message-ID: <1023372190.20131118120450@ahsoftware.net> Ray- Monday, November 18, 2013, 11:43:40 AM, you wrote: > That's very interesting; setting the traceStack to empty. I didn't know > about that. Nonetheless, I'm still unable to abort debugging a script. You probably need to do both in that case. See if this helps: set the tracestack to empty set the tracereturn to true -- -Mark Wieder ahsoftware at gmail.com From monte at sweattechnologies.com Mon Nov 18 15:12:57 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue, 19 Nov 2013 07:12:57 +1100 Subject: Detect when a field changes In-Reply-To: <528A6E50.1010708@fourthworld.com> References: <77D8D674-C258-427F-86AF-3D0E22A89CB4@sweattechnologies.com> <528A6E50.1010708@fourthworld.com> Message-ID: <9102DFB9-E32D-4DFC-B380-1FC874969FB8@sweattechnologies.com> On 19/11/2013, at 6:45 AM, Richard Gaskin wrote: > So cool - thanks, Momte! > > Has there been any discussion of a possible enhancement to lockMessages, so we can lock all system message EXCEPT getProp and setProp? > > I'd like to use those triggers, with since they're affected by lockMessages I can't use them for critical tasks except under very well defined circumstances. No there hasn't. Perhaps raise it on the forum. I recently decided there should be an unlockMessages message that custom controls and cards are sent so they can check themselves for initialisation if they happen to be now on an open card and didn't know about it etc... Although if everybody did that perhaps it makes lock messages redundant. The good thing with custom properties is even with messages unlocked it's always possible to get at them without triggering the handlers by getting/settings the whole set. The other thing that occurs to me is perhaps the use case where you definitely want the scripts to fire is different to the one you don't so perhaps it would simplify backwards compatibility if it were possible to declare the setProp/getProp as required somehow rather than changing lock messages itself. I'm not sure about the name but something like: local sMyProp virtual getProp uMyProp return sMyProp end uMyProp virtual setProp uMyProp pValue put pValue into sMyProp end uMyProp Cheers -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From jacque at hyperactivesw.com Mon Nov 18 15:13:17 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 18 Nov 2013 14:13:17 -0600 Subject: What does "stack was produced by a newer version" mean? In-Reply-To: <9DB80CB2-29B9-4666-A1D9-DB6E079F0F4F@mac.com> References: <50C60896-B125-4E99-95F5-36E9AFFAC3E0@mac.com> <9DB80CB2-29B9-4666-A1D9-DB6E079F0F4F@mac.com> Message-ID: <528A74DD.9060400@hyperactivesw.com> On 11/18/13 11:45 AM, Graham Samuel wrote: > > My comment about conflicting error messages when I tried to open an > inappropriate file still stands though: my guess now is that the > "stack corrupted" is closest to correct, since the created file > probably wasn't a stack file at all, apart from the extension. They may not really be conflicting, even though they don't apply to your problem exactly. If a stack was made in a newer version, which implies the file format has changed, then an older version would see it as "corrupted" when it tries to open it. I was going to answer your question with a different suggestion until I saw that you'd figured out what happened. But in case anyone runs into something similar, I was dealing with almost the same thing yesterday. In LiveCode 6, passwords changed. You can open older protected stacks in 6.x but once they are saved in that version, they can't be opened again in an earlier version of LiveCode. I was testing an old-style text-based cgi on my server which put a stack in use, and I'd saved that stack in LiveCode 6.1.3. The ancient engine on the server has to be version 3.5 (boy I wish that would change) and it couldn't open the stack. It took me a long time to remember why. I removed password protection in LC 6, opened it again 5.5, and saved it there in legacy format. Then it worked. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From m.schonewille at economy-x-talk.com Mon Nov 18 15:25:24 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 18 Nov 2013 21:25:24 +0100 Subject: Convert Path strings to POSIX strings In-Reply-To: <528A6B3A.5090108@hindu.org> References: <528A5F23.9030306@hindu.org> <528A6B3A.5090108@hindu.org> Message-ID: <528A77B4.7000906@economy-x-talk.com> Hi Brahmanathswami, Can you give an example of a JS script you'd like to run? What are you using to run it? LateNight Software's file extension perhaps? Perhaps you need to write a JS function to escape characters. What do you expect to see instead of the asterisk and percent sign? The same escaped by a backslash or something else? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi Fill out this survey please http://livecodebeginner.economy-x-talk.com/survey/ On 11/18/2013 20:32, Brahmanathswami wrote: > Those functions only deal with colons --> slashes and back > > But I was looking to auto escape "bad chars" for Javascript > > This apple script works: > > get POSIX path of "/Volumes/Varuna/Art Storage/*Archives/Other art/Lotus > /Google Image Result for > http___f33.yahoofs.com_mapann_1000_sr_22692099138f2f.jpg%3Flc_____DWcnzQJ1P.jpg" > > > > but my result is not what I expected: it is unchanged. > > the *Asterisk and the percent sign in the path are unchanged. > I thought POSIX conversion would do something with those, but it doesn't. > > I'm still missing something... > From pete at lcsql.com Mon Nov 18 15:25:20 2013 From: pete at lcsql.com (Peter Haworth) Date: Mon, 18 Nov 2013 12:25:20 -0800 Subject: What does "stack was produced by a newer version" mean? In-Reply-To: <528A74DD.9060400@hyperactivesw.com> References: <50C60896-B125-4E99-95F5-36E9AFFAC3E0@mac.com> <9DB80CB2-29B9-4666-A1D9-DB6E079F0F4F@mac.com> <528A74DD.9060400@hyperactivesw.com> Message-ID: On Mon, Nov 18, 2013 at 12:13 PM, J. Landman Gay wrote: > In LiveCode 6, passwords changed. You can open older protected stacks in > 6.x but once they are saved in that version, they can't be opened again in > an earlier version of LiveCode. I was testing an old-style text-based cgi > on my server which put a stack in use, and I'd saved that stack in LiveCode > 6.1.3. The ancient engine on the server has to be version 3.5 (boy I wish > that would change) and it couldn't open the stack. It took me a long time > to remember why. I removed password protection in LC 6, opened it again > 5.5, and saved it there in legacy format. Then it worked. Thanks for that info Jacque. If I understand this correctly, those of us who write password protected plugins better not use 6.x to password protect them since any users with version 5.x won't be able to use them? Was there any published info about the change in password protection? Pete lcSQL Software From mcgrath3 at mac.com Mon Nov 18 15:45:36 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Mon, 18 Nov 2013 15:45:36 -0500 Subject: Facebook integration - getting images from? Message-ID: I just looked at both the lesson here: http://lessons.runrev.com/s/3527/m/4069/l/48805-accessing-facebook-api-s-using-livecode and at the app academy and they both state that this works but I am not able to get the included stack and library to work in the latest iOS. Can anyone confirm that this does work??? Thank you Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com From gerry.orkin at gmail.com Mon Nov 18 15:50:41 2013 From: gerry.orkin at gmail.com (Gerry Orkin) Date: Tue, 19 Nov 2013 07:50:41 +1100 Subject: Facebook integration - getting images from? In-Reply-To: References: Message-ID: I've not tried Andre's library in iOS 7 but I found it flakey in older versions. Gerry On 19 Nov 2013, at 7:45 am, Thomas McGrath III wrote: > I just looked at both the lesson here: http://lessons.runrev.com/s/3527/m/4069/l/48805-accessing-facebook-api-s-using-livecodeand at the app academy and they both state that this works but I am not able to get the included stack and library to work in the latest iOS. Can anyone confirm that this does work??? From ray at linkit.com Mon Nov 18 16:04:39 2013 From: ray at linkit.com (Ray) Date: Mon, 18 Nov 2013 16:04:39 -0500 Subject: How to Abort Stepping through a Script with a Single Keystroke In-Reply-To: <1023372190.20131118120450@ahsoftware.net> References: <528A238F.5050004@LinkIt.Com> <138-1396083366.20131118093659@ahsoftware.net> <528A6DEC.2070008@LinkIt.Com> <1023372190.20131118120450@ahsoftware.net> Message-ID: <528A80E7.3010703@LinkIt.Com> Interesting. Here's what I've tried, putting this both in the stack's script and in the revBackScript: on rawKeyDown whichKey if whichKey = 65450 then beep 1 set the tracestack to empty set the tracereturn to true else pass rawKeyDown end rawKeyDown I get my beep so I know it's detecting the key I've pressed but with the addition of the traceReturn line (interesting by the way) the script behaves as if I clicked on Debug and chose Run. Ray On 11/18/2013 3:04 PM, Mark Wieder wrote: > set the tracestack to empty > set the tracereturn to true From capellan2000 at gmail.com Mon Nov 18 16:04:57 2013 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Mon, 18 Nov 2013 13:04:57 -0800 (PST) Subject: Skia the 2D Graphics Library to render Livecode stacks In-Reply-To: <528A2461.6090100@fourthworld.com> References: <1384717036642-4672445.post@n4.nabble.com> <528A2461.6090100@fourthworld.com> Message-ID: <1384808697147-4672503.post@n4.nabble.com> Richard Gaskin wrote > [snip] > One of the things that caught my eye there is the PDF support, as > requests for LC to be able to render PDFs natively come up frequently. > > Has anyone here heard even hints from RunRev about possible future > support for PDF? > > Any clue as to how difficult that may be for third parties to integrate? After reading this page: http://code.google.com/p/skia/wiki/PDFTheoryOfOperation I think that Skia could write PDF natively, but not read them. To display a PDF inside a stack, another library would be needed. Google chrome uses Foxit Reader SDK: http://googlesystem.blogspot.com/2010/08/google-chromes-pdf-plugin-uses-foxit.html Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Skia-the-2D-Graphics-Library-to-render-Livecode-stacks-tp4672445p4672503.html Sent from the Revolution - User mailing list archive at Nabble.com. From scott at tactilemedia.com Mon Nov 18 16:11:16 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 18 Nov 2013 13:11:16 -0800 Subject: Determine Engine Version Used To Build Standalone? Message-ID: Is there a way to find this? With so many versions on LC on my system and so many test files, it's hard to keep track of what engine version was used to build what app. Thanks for suggestions. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design From klaus at major-k.de Mon Nov 18 16:20:40 2013 From: klaus at major-k.de (Klaus major-k) Date: Mon, 18 Nov 2013 22:20:40 +0100 Subject: Determine Engine Version Used To Build Standalone? In-Reply-To: References: Message-ID: <0815EEB3-F6EA-4922-AD92-D29CDF68211D@major-k.de> Hi Scott, Am 18.11.2013 um 22:11 schrieb Scott Rossi : > Is there a way to find this? > > With so many versions on LC on my system and so many test files, it's hard > to keep track of what engine version was used to build what app. > > Thanks for suggestions. do you mean "put the version"? > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From klaus at major-k.de Mon Nov 18 16:22:29 2013 From: klaus at major-k.de (Klaus major-k) Date: Mon, 18 Nov 2013 22:22:29 +0100 Subject: visual effects and iOS SImulator In-Reply-To: References: Message-ID: <39C0A297-0ABE-47A6-94E0-758528D43CFA@major-k.de> Hi Scott, Am 18.11.2013 um 20:50 schrieb Scott Rossi : > Klaus: > > Some time back, the RunRev folks explained that the script for visual > effects had to be changed to accommodate new features in the engine. So > maybe the old form still works in certain cases, but I'm pretty sure they > want developers to use "lock screen for visual effect" moving forward. yes, that's what I experienced. I was not sure and trusted the dictionary, where the first example is still: visual xyz go next And all platforms listed. Now I know! ;-) > Best Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From mwieder at ahsoftware.net Mon Nov 18 16:31:39 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 18 Nov 2013 13:31:39 -0800 Subject: How to Abort Stepping through a Script with a Single Keystroke In-Reply-To: <528A80E7.3010703@LinkIt.Com> References: <528A238F.5050004@LinkIt.Com> <138-1396083366.20131118093659@ahsoftware.net> <528A6DEC.2070008@LinkIt.Com> <1023372190.20131118120450@ahsoftware.net> <528A80E7.3010703@LinkIt.Com> Message-ID: <1978580744.20131118133139@ahsoftware.net> Ray- Monday, November 18, 2013, 1:04:39 PM, you wrote: > I get my beep so I know it's detecting the key I've pressed but with the > addition of the traceReturn line (interesting by the way) the script > behaves as if I clicked on Debug and chose Run. In that case, you need all three properties: set the tracestack to empty set the traceabort to true set the tracereturn to true That should do the job. -- -Mark Wieder ahsoftware at gmail.com From scott at tactilemedia.com Mon Nov 18 16:38:22 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 18 Nov 2013 13:38:22 -0800 Subject: Determine Engine Version Used To Build Standalone? In-Reply-To: <0815EEB3-F6EA-4922-AD92-D29CDF68211D@major-k.de> Message-ID: No, I'm referring to an executable standalone application that has already been built. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 11/18/13 1:20 PM, "Klaus major-k" wrote: >Hi Scott, > >Am 18.11.2013 um 22:11 schrieb Scott Rossi : > >> Is there a way to find this? >> >> With so many versions on LC on my system and so many test files, it's >>hard >> to keep track of what engine version was used to build what app. >> >> Thanks for suggestions. > >do you mean "put the version"? > >> Regards, >> >> Scott Rossi >> Creative Director >> Tactile Media, UX/UI Design > >Best > >Klaus > >-- >Klaus Major >http://www.major-k.de >klaus at major-k.de > > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Mon Nov 18 16:47:04 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 18 Nov 2013 15:47:04 -0600 Subject: What does "stack was produced by a newer version" mean? In-Reply-To: References: <50C60896-B125-4E99-95F5-36E9AFFAC3E0@mac.com> <9DB80CB2-29B9-4666-A1D9-DB6E079F0F4F@mac.com> <528A74DD.9060400@hyperactivesw.com> Message-ID: <528A8AD8.7040709@hyperactivesw.com> On 11/18/13 2:25 PM, Peter Haworth wrote: > On Mon, Nov 18, 2013 at 12:13 PM, J. Landman Gay > wrote: > >> In LiveCode 6, passwords changed. You can open older protected stacks in >> 6.x but once they are saved in that version, they can't be opened again in >> an earlier version of LiveCode. I was testing an old-style text-based cgi >> on my server which put a stack in use, and I'd saved that stack in LiveCode >> 6.1.3. The ancient engine on the server has to be version 3.5 (boy I wish >> that would change) and it couldn't open the stack. It took me a long time >> to remember why. I removed password protection in LC 6, opened it again >> 5.5, and saved it there in legacy format. Then it worked. > > > Thanks for that info Jacque. If I understand this correctly, those of us > who write password protected plugins better not use 6.x to password protect > them since any users with version 5.x won't be able to use them? Was there > any published info about the change in password protection? I had to go looking for it, found it in the 6.0 release notes: "Script Security changes (6.0 RC4) We've refactored script security out of the main engine into a module in preparation for dual licence support. We've updated the hash used by the security module. Stacks that have their password set in RC4 will not be unlockable in previous versions." This apparently didn't make it into the dictionary. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon Nov 18 16:49:42 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 18 Nov 2013 15:49:42 -0600 Subject: Determine Engine Version Used To Build Standalone? In-Reply-To: References: Message-ID: <528A8B76.2000605@hyperactivesw.com> On 11/18/13 3:11 PM, Scott Rossi wrote: > Is there a way to find this? > > With so many versions on LC on my system and so many test files, it's hard > to keep track of what engine version was used to build what app. I want that too. I haven't found a good way to know. HyperCard had it... -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From monte at sweattechnologies.com Mon Nov 18 17:04:00 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue, 19 Nov 2013 09:04:00 +1100 Subject: Determine Engine Version Used To Build Standalone? In-Reply-To: References: Message-ID: <5506D473-06E7-436E-8693-5FFCF32182CB@sweattechnologies.com> On 19/11/2013, at 8:38 AM, Scott Rossi wrote: > No, I'm referring to an executable standalone application that has already > been built. Hmm... one way would be: on startup put the version -- other stuff Then you can just start the app and look at stdout. Cheers -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From MikeKerner at roadrunner.com Mon Nov 18 17:04:23 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 18 Nov 2013 17:04:23 -0500 Subject: email library Message-ID: has anybody written an email library? -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From ray at linkit.com Mon Nov 18 17:08:17 2013 From: ray at linkit.com (Ray) Date: Mon, 18 Nov 2013 17:08:17 -0500 Subject: How to Abort Stepping through a Script with a Single Keystroke In-Reply-To: <1978580744.20131118133139@ahsoftware.net> References: <528A238F.5050004@LinkIt.Com> <138-1396083366.20131118093659@ahsoftware.net> <528A6DEC.2070008@LinkIt.Com> <1023372190.20131118120450@ahsoftware.net> <528A80E7.3010703@LinkIt.Com> <1978580744.20131118133139@ahsoftware.net> Message-ID: <528A8FD1.9010907@LinkIt.Com> Mark, I owe you a beer. That did it! Many thanks! Ray On 11/18/2013 4:31 PM, Mark Wieder wrote: > Ray- > > Monday, November 18, 2013, 1:04:39 PM, you wrote: > >> I get my beep so I know it's detecting the key I've pressed but with the >> addition of the traceReturn line (interesting by the way) the script >> behaves as if I clicked on Debug and chose Run. > In that case, you need all three properties: > > set the tracestack to empty > set the traceabort to true > set the tracereturn to true > > That should do the job. > From jacque at hyperactivesw.com Mon Nov 18 17:14:30 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 18 Nov 2013 16:14:30 -0600 Subject: Determine Engine Version Used To Build Standalone? In-Reply-To: <5506D473-06E7-436E-8693-5FFCF32182CB@sweattechnologies.com> References: <5506D473-06E7-436E-8693-5FFCF32182CB@sweattechnologies.com> Message-ID: <528A9146.5050705@hyperactivesw.com> On 11/18/13 4:04 PM, Monte Goulding wrote: > > On 19/11/2013, at 8:38 AM, Scott Rossi wrote: > >> No, I'm referring to an executable standalone application that has already >> been built. > > Hmm... one way would be: > > on startup > put the version > -- other stuff > > Then you can just start the app and look at stdout. Right, but you have to remember to add it. I suppose it would require a file format change, but adding the version to the existing REVOxxxx tag at the front of the stack file would be helpful. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From scott at tactilemedia.com Mon Nov 18 17:18:41 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 18 Nov 2013 14:18:41 -0800 Subject: Determine Engine Version Used To Build Standalone? In-Reply-To: <5506D473-06E7-436E-8693-5FFCF32182CB@sweattechnologies.com> Message-ID: How does one add "on startup" to an existing executable? Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 11/18/13 2:04 PM, "Monte Goulding" wrote: > >On 19/11/2013, at 8:38 AM, Scott Rossi wrote: > >> No, I'm referring to an executable standalone application that has >>already >> been built. > >Hmm... one way would be: > >on startup > put the version > -- other stuff > >Then you can just start the app and look at stdout. > >Cheers > >-- >M E R Goulding >Software development services >Bespoke application development for vertical markets > >mergExt - There's an external for that! > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode > From monte at sweattechnologies.com Mon Nov 18 17:19:22 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue, 19 Nov 2013 09:19:22 +1100 Subject: Determine Engine Version Used To Build Standalone? In-Reply-To: <528A9146.5050705@hyperactivesw.com> References: <5506D473-06E7-436E-8693-5FFCF32182CB@sweattechnologies.com> <528A9146.5050705@hyperactivesw.com> Message-ID: On 19/11/2013, at 9:14 AM, J. Landman Gay wrote: > Right, but you have to remember to add it. I suppose it would require a file format change, but adding the version to the existing REVOxxxx tag at the front of the stack file would be helpful. Then you'd need to find the stackfile in the standalone... -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From monte at sweattechnologies.com Mon Nov 18 17:20:34 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue, 19 Nov 2013 09:20:34 +1100 Subject: Determine Engine Version Used To Build Standalone? In-Reply-To: References: Message-ID: On 19/11/2013, at 9:18 AM, Scott Rossi wrote: > How does one add "on startup" to an existing executable? I was expecting you meant you wanted something moving forward rather than on existing standalones. -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From scott at tactilemedia.com Mon Nov 18 17:29:42 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 18 Nov 2013 14:29:42 -0800 Subject: Determine Engine Version Used To Build Standalone? In-Reply-To: Message-ID: Nope, thus my question. :-) Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 11/18/13 2:20 PM, "Monte Goulding" wrote: >>How does one add "on startup" to an existing executable? > >I was expecting you meant you wanted something moving forward rather than >on existing standalones. From monte at sweattechnologies.com Mon Nov 18 17:31:09 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue, 19 Nov 2013 09:31:09 +1100 Subject: Determine Engine Version Used To Build Standalone? In-Reply-To: References: Message-ID: <9F6DD4E9-5880-4A6C-847E-D98C32F38051@sweattechnologies.com> On 19/11/2013, at 9:29 AM, Scott Rossi wrote: > Nope, thus my question. :-) OK then... please ignore my suggestion. Cheers -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From m.schonewille at economy-x-talk.com Mon Nov 18 17:37:23 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 18 Nov 2013 23:37:23 +0100 Subject: email library In-Reply-To: References: Message-ID: <528A96A3.30203@economy-x-talk.com> Hi Mike, What do you want it to do? POP, SMTP, IMAP, Apple Mail, Thunderbird, Outlook...? I thjink I can answer this with yes, yes, maybe, yes, yes, yes, but I don?t know if all the libraries do what you want. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi Fill out this survey please http://livecodebeginner.economy-x-talk.com/survey/ On 11/18/2013 23:04, Mike Kerner wrote: > has anybody written an email library? > From ambassador at fourthworld.com Mon Nov 18 17:37:39 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 18 Nov 2013 14:37:39 -0800 Subject: What does "stack was produced by a newer version" mean? In-Reply-To: <528A8AD8.7040709@hyperactivesw.com> References: <528A8AD8.7040709@hyperactivesw.com> Message-ID: <528A96B3.3080206@fourthworld.com> J. Landman Gay wrote: > I had to go looking for it, found it in the 6.0 release notes: > > "Script Security changes (6.0 RC4) > We've refactored script security out of the main engine into a module in > preparation for dual licence support. > We've updated the hash used by the security module. Stacks that have > their password set in RC4 will not be unlockable in previous versions." > > This apparently didn't make it into the dictionary. Recently they've been doing a more thorough job of making sure critical info moves from the Release Notes into the Dictionary, but I do wish they'd budget a day for someone to go back to v4.6.4 forward and make sure important things like this are in the docs. In the meantime, to help compensate for that absence I recently added a new section to LiveCode Journal with the Release Notes for most versions from v4.6.4 through now: Especially useful there is "LiveCode 5.5.4 Release Notes", which AFAIK contains the only documentation anywhere on many of the important new field features added in that version. -- 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 From roger.e.eller at sealedair.com Mon Nov 18 17:41:19 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Mon, 18 Nov 2013 17:41:19 -0500 Subject: email library In-Reply-To: References: Message-ID: Chipp Walters made AltEmailHarness long ago. Look for it on this page: http://www2.altuit.com/webs/altuit2/RunRev/Downloads.htm ~Roger On Mon, Nov 18, 2013 at 5:04 PM, Mike Kerner wrote: > has anybody written an email library? > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at lcsql.com Mon Nov 18 17:49:43 2013 From: pete at lcsql.com (Peter Haworth) Date: Mon, 18 Nov 2013 14:49:43 -0800 Subject: What does "stack was produced by a newer version" mean? In-Reply-To: <528A8AD8.7040709@hyperactivesw.com> References: <50C60896-B125-4E99-95F5-36E9AFFAC3E0@mac.com> <9DB80CB2-29B9-4666-A1D9-DB6E079F0F4F@mac.com> <528A74DD.9060400@hyperactivesw.com> <528A8AD8.7040709@hyperactivesw.com> Message-ID: On Mon, Nov 18, 2013 at 1:47 PM, J. Landman Gay wrote: > "Script Security changes (6.0 RC4) > We've refactored script security out of the main engine into a module in > preparation for dual licence support. > We've updated the hash used by the security module. Stacks that have their > password set in RC4 will not be unlockable in previous versions." > > This apparently didn't make it into the dictionary. > Thanks Jacque. It seems this is another example of the situation with the clear option of ask password. As someone mentioned in that thread, things that cause backward compatibility issues probably should have a separate very clearly labelled section in the release notes and also be mentioned in the release announcements. Pete lcSQL Software From matthias_livecode_150811 at m-r-d.de Mon Nov 18 17:51:00 2013 From: matthias_livecode_150811 at m-r-d.de (Matthias Rebbe) Date: Mon, 18 Nov 2013 23:51:00 +0100 Subject: email library In-Reply-To: References: Message-ID: <308C71CB-02D1-4199-AC49-641D8943D5CF@m-r-d.de> Hi, Roger already mentioned Chipp Walters altEmailHarness which uses the smtp library from Shao Sean. There is also a library from Sarah Reichelt. You can find it at her site at http://www.troz.net/rev/index.irev?category=Library#stacks Regards, Matthias Am 18.11.2013 um 23:04 schrieb Mike Kerner : > has anybody written an email library? > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode Matthias Rebbe Tel: +49 5741 310000 +49 160 5504462 eMail: matthias underscore livecode underscore 150811 at m dash r dash d dot de From jacque at hyperactivesw.com Mon Nov 18 18:01:23 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 18 Nov 2013 17:01:23 -0600 Subject: What does "stack was produced by a newer version" mean? In-Reply-To: References: <50C60896-B125-4E99-95F5-36E9AFFAC3E0@mac.com> <9DB80CB2-29B9-4666-A1D9-DB6E079F0F4F@mac.com> <528A74DD.9060400@hyperactivesw.com> <528A8AD8.7040709@hyperactivesw.com> Message-ID: <528A9C43.9050705@hyperactivesw.com> On 11/18/13 4:49 PM, Peter Haworth wrote: > Thanks Jacque. It seems this is another example of the situation with the > clear option of ask password. As someone mentioned in that thread, things > that cause backward compatibility issues probably should have a separate > very clearly labelled section in the release notes and also be mentioned in > the release announcements. It was clearly labelled and semi-prominent, but the notes aren't carried forward any more. So if you don't save them (or use Richard's web page) then they go into oblivion pretty quickly. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pete at lcsql.com Mon Nov 18 18:39:35 2013 From: pete at lcsql.com (Peter Haworth) Date: Mon, 18 Nov 2013 15:39:35 -0800 Subject: What does "stack was produced by a newer version" mean? In-Reply-To: <528A9C43.9050705@hyperactivesw.com> References: <50C60896-B125-4E99-95F5-36E9AFFAC3E0@mac.com> <9DB80CB2-29B9-4666-A1D9-DB6E079F0F4F@mac.com> <528A74DD.9060400@hyperactivesw.com> <528A8AD8.7040709@hyperactivesw.com> <528A9C43.9050705@hyperactivesw.com> Message-ID: I used to complain about all the release notes being in one document but not any more! Thanks to Richard, for preserving the old ones. Maybe I'm wrong but I think if you go to the Release Notes item of the help menu, it will show you the release notes for whatever version you're running? Pete lcSQL Software On Mon, Nov 18, 2013 at 3:01 PM, J. Landman Gay wrote: > On 11/18/13 4:49 PM, Peter Haworth wrote: > > Thanks Jacque. It seems this is another example of the situation with the >> clear option of ask password. As someone mentioned in that thread, things >> that cause backward compatibility issues probably should have a separate >> very clearly labelled section in the release notes and also be mentioned >> in >> the release announcements. >> > > It was clearly labelled and semi-prominent, but the notes aren't carried > forward any more. So if you don't save them (or use Richard's web page) > then they go into oblivion pretty quickly. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From monte at sweattechnologies.com Mon Nov 18 18:53:36 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue, 19 Nov 2013 10:53:36 +1100 Subject: What does "stack was produced by a newer version" mean? In-Reply-To: References: <50C60896-B125-4E99-95F5-36E9AFFAC3E0@mac.com> <9DB80CB2-29B9-4666-A1D9-DB6E079F0F4F@mac.com> <528A74DD.9060400@hyperactivesw.com> <528A8AD8.7040709@hyperactivesw.com> <528A9C43.9050705@hyperactivesw.com> Message-ID: On 19/11/2013, at 10:39 AM, Peter Haworth wrote: > I used to complain about all the release notes being in one document but > not any more! Thanks to Richard, for preserving the old ones. Well the problem before is that there was no version number subtitles with the release notes for that version under them. The installation stuff really needs to be removed from the release notes and put somewhere else to make way for the release notes to contain all the history within reasonable bounds... Maybe 6.x.x changes and a link to 5.x.x changes etc. -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From bruceap at comcast.net Mon Nov 18 20:40:17 2013 From: bruceap at comcast.net (Bruce Pokras) Date: Mon, 18 Nov 2013 20:40:17 -0500 Subject: Detect when a field changes In-Reply-To: <9102DFB9-E32D-4DFC-B380-1FC874969FB8@sweattechnologies.com> References: <77D8D674-C258-427F-86AF-3D0E22A89CB4@sweattechnologies.com> <528A6E50.1010708@fourthworld.com> <9102DFB9-E32D-4DFC-B380-1FC874969FB8@sweattechnologies.com> Message-ID: <204EED43-C315-4643-AD47-F5E2643B988E@comcast.net> For some reason (lost in antiquity) I have a script in which after "putting" text into a field via script I then send a "closefield" message to the field. Any idea if that would help in this situation? On Nov 18, 2013, at 3:12 PM, Monte Goulding wrote: > > On 19/11/2013, at 6:45 AM, Richard Gaskin wrote: > >> So cool - thanks, Momte! >> >> Has there been any discussion of a possible enhancement to lockMessages, so we can lock all system message EXCEPT getProp and setProp? >> >> I'd like to use those triggers, with since they're affected by lockMessages I can't use them for critical tasks except under very well defined circumstances. > > No there hasn't. Perhaps raise it on the forum. I recently decided there should be an unlockMessages message that custom controls and cards are sent so they can check themselves for initialisation if they happen to be now on an open card and didn't know about it etc... Although if everybody did that perhaps it makes lock messages redundant. > > The good thing with custom properties is even with messages unlocked it's always possible to get at them without triggering the handlers by getting/settings the whole set. The other thing that occurs to me is perhaps the use case where you definitely want the scripts to fire is different to the one you don't so perhaps it would simplify backwards compatibility if it were possible to declare the setProp/getProp as required somehow rather than changing lock messages itself. > > I'm not sure about the name but something like: > > local sMyProp > > virtual getProp uMyProp > return sMyProp > end uMyProp > > virtual setProp uMyProp pValue > put pValue into sMyProp > end uMyProp > > Cheers > > -- > Monte Goulding > > M E R Goulding - software development services > mergExt - There's an external for that! > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bvlahos at mac.com Mon Nov 18 22:17:49 2013 From: bvlahos at mac.com (Bill Vlahos) Date: Mon, 18 Nov 2013 19:17:49 -0800 Subject: Detect when a field changes In-Reply-To: <204EED43-C315-4643-AD47-F5E2643B988E@comcast.net> References: <77D8D674-C258-427F-86AF-3D0E22A89CB4@sweattechnologies.com> <528A6E50.1010708@fourthworld.com> <9102DFB9-E32D-4DFC-B380-1FC874969FB8@sweattechnologies.com> <204EED43-C315-4643-AD47-F5E2643B988E@comcast.net> Message-ID: Well yes. That is what we have to do. Either send closeField or textChanged or whatever you want to call the handler. The point I?m making is that I have to remember to do that everywhere I change the contents of the field via programming - everywhere I modify the script I have to put the additional line of code to call the handler. Bill On Nov 18, 2013, at 5:40 PM, Bruce Pokras wrote: > For some reason (lost in antiquity) I have a script in which after "putting" text into a field via script I then send a "closefield" message to the field. Any idea if that would help in this situation? From terry.judd at unimelb.edu.au Mon Nov 18 22:43:17 2013 From: terry.judd at unimelb.edu.au (Terry Judd) Date: Tue, 19 Nov 2013 03:43:17 +0000 Subject: Detect when a field changes In-Reply-To: References: <77D8D674-C258-427F-86AF-3D0E22A89CB4@sweattechnologies.com> <528A6E50.1010708@fourthworld.com> <9102DFB9-E32D-4DFC-B380-1FC874969FB8@sweattechnologies.com> <204EED43-C315-4643-AD47-F5E2643B988E@comcast.net> Message-ID: On 19/11/2013, at 02:17 PM, Bill Vlahos wrote: > Well yes. That is what we have to do. Either send closeField or textChanged or whatever you want to call the handler. > > The point I?m making is that I have to remember to do that everywhere I change the contents of the field via programming - everywhere I modify the script I have to put the additional line of code to call the handler. I think I'm with those who would prefer that changing the contents of the field by script would also trigger the textChanged message. If you don't want to trigger the message then you can always lockMessages. Terry... > > On Nov 18, 2013, at 5:40 PM, Bruce Pokras wrote: > >> For some reason (lost in antiquity) I have a script in which after "putting" text into a field via script I then send a "closefield" message to the field. Any idea if that would help in this situation? > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > Dr Terry Judd Senior Lecturer in Medical Education Medical Education Unit Faculty of Medicine, Dentistry & Health Sciences The University of Melbourne From jacque at hyperactivesw.com Mon Nov 18 23:12:49 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 18 Nov 2013 22:12:49 -0600 Subject: What does "stack was produced by a newer version" mean? In-Reply-To: References: <50C60896-B125-4E99-95F5-36E9AFFAC3E0@mac.com> <9DB80CB2-29B9-4666-A1D9-DB6E079F0F4F@mac.com> <528A74DD.9060400@hyperactivesw.com> <528A8AD8.7040709@hyperactivesw.com> <528A9C43.9050705@hyperactivesw.com> Message-ID: <14e7754a-c2b8-4165-b003-2d271f3a07f2@email.android.com> Yes, and there are links to the older ones at the end. Peter Haworth wrote: >I used to complain about all the release notes being in one document >but >not any more! Thanks to Richard, for preserving the old ones. > >Maybe I'm wrong but I think if you go to the Release Notes item of the >help >menu, it will show you the release notes for whatever version you're >running? > >Pete >lcSQL Software > > >On Mon, Nov 18, 2013 at 3:01 PM, J. Landman Gay >wrote: > >> On 11/18/13 4:49 PM, Peter Haworth wrote: >> >> Thanks Jacque. It seems this is another example of the situation >with the >>> clear option of ask password. As someone mentioned in that thread, >things >>> that cause backward compatibility issues probably should have a >separate >>> very clearly labelled section in the release notes and also be >mentioned >>> in >>> the release announcements. >>> >> >> It was clearly labelled and semi-prominent, but the notes aren't >carried >> forward any more. So if you don't save them (or use Richard's web >page) >> then they go into oblivion pretty quickly. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at 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 | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jhurley0305 at sbcglobal.net Tue Nov 19 01:15:39 2013 From: jhurley0305 at sbcglobal.net (Jim Hurley) Date: Mon, 18 Nov 2013 22:15:39 -0800 Subject: Centering printing on the page In-Reply-To: References: Message-ID: I would like to print the area within a graphic "oval". Here is my script: put topleft of grc "oval" into tTopLeft put bottomRight of grc "oval" into tBottomRight print card from tTopLeft to tBottomRight The printed oval is not centered on the page. There is a considerable border on the left, and consequently the oval is cut off on the right. How do I center the printing? Thank, Jim Hurley From revdev at pdslabs.net Tue Nov 19 03:25:24 2013 From: revdev at pdslabs.net (Phil Davis) Date: Tue, 19 Nov 2013 00:25:24 -0800 Subject: Centering printing on the page In-Reply-To: References: Message-ID: <528B2074.908@pdslabs.net> Hi Jim, I would try using the [into pageRect] option on the print command, along with what you're already doing. If that didn't work, I would fiddle with the printMargins to push the oval toward the center. Phil Davis On 11/18/13, 10:15 PM, Jim Hurley wrote: > I would like to print the area within a graphic "oval". > Here is my script: > > put topleft of grc "oval" into tTopLeft > put bottomRight of grc "oval" into tBottomRight > print card from tTopLeft to tBottomRight > > The printed oval is not centered on the page. There is a considerable border on the left, and consequently the oval is cut off on the right. > > How do I center the printing? > > Thank, > > Jim Hurley > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Phil Davis From peterwawood at gmail.com Tue Nov 19 06:54:31 2013 From: peterwawood at gmail.com (Peter W A Wood) Date: Tue, 19 Nov 2013 19:54:31 +0800 Subject: Determine Engine Version Used To Build Standalone? In-Reply-To: References: Message-ID: <5ACBAAEC-7756-4D4A-8DFE-A41CF4C2FA4B@gmail.com> Scott After seeing your question, I had a quick look at an LiveCode standalone and found these in plain text: 1. ******************************************************************** * Revolution 4.6 * * Copyright 2011 Runtime Revolution Ltd. All Rights Reserved. * * The software contained in this listing is proprietary to * * Runtime Revolution, Edinburgh, UK and is covered by * * U.K. and other copyright protection. Unauthorized copying * * adaptation, distribution, disassembling, use or display is * * prohibited and may result in civil and criminal penalties. * ******************************************************************** 2. Copy of 5.5.1-rc-4 3. MCdebugresult REVO2700 REVO5500 The copyright notice would be easiest to find and interpret but it doesn't seem that it was kept up-to-date. The "Copy of 5.5.1.-rc-4" was in the middle of some other constants and might not be easy to find. The MCdebugresult string has not "viewable" characters between the 3 items printed. I doubt that this will be of much help but I thought I might as well let you know what I found. Regards Peter http://LiveCode1001.blogspot.com On 19 Nov 2013, at 05:11, Scott Rossi wrote: > Is there a way to find this? > > With so many versions on LC on my system and so many test files, it's hard > to keep track of what engine version was used to build what app. > > Thanks for suggestions. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Tue Nov 19 08:21:40 2013 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 19 Nov 2013 15:21:40 +0200 Subject: Determine Engine Version Used To Build Standalone? In-Reply-To: <5ACBAAEC-7756-4D4A-8DFE-A41CF4C2FA4B@gmail.com> References: <5ACBAAEC-7756-4D4A-8DFE-A41CF4C2FA4B@gmail.com> Message-ID: <528B65E4.5050909@gmail.com> On 19/11/13 13:54, Peter W A Wood wrote: > Scott > > After seeing your question, I had a quick look at an LiveCode standalone and found these in plain text: > > 1. > ******************************************************************** > * Revolution 4.6 * > * Copyright 2011 Runtime Revolution Ltd. All Rights Reserved. * > * The software contained in this listing is proprietary to * > * Runtime Revolution, Edinburgh, UK and is covered by * > * U.K. and other copyright protection. Unauthorized copying * > * adaptation, distribution, disassembling, use or display is * > * prohibited and may result in civil and criminal penalties. * > ******************************************************************** > > > Here's a funny thought: How do things sit with the Engines and Open Source right now? Presumably (?????) the Engines are also, now, Open Source; and the ONLY thing that differentiates the OS engine and the CS engine is the inclusion of password protection code. Richmond. From toolbook at kestner.de Tue Nov 19 09:28:15 2013 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Tue, 19 Nov 2013 15:28:15 +0100 Subject: OT: What are the criterias for Windows VirtualStore? Message-ID: <007d01cee533$95dec320$c19c4960$@de> Hello, I wonder, what are the criterias for Windows to virtualize files into the virtualStore. I had a program, which stores options in a xml file in C:\ProgramData\myFolder. I could modify this option file without problems with my program. Now I have a startup program, creating this xml file, doing some stuff, calling my main program and exiting itself. When trying to modify now the xml file with my main program, windows copies it into the VirtualStore and does the changes over there. My question is, what actually causes this behavior? Dows Windows really knows, which file was created by which program and virtualizes the file, if it is modified by another program, but allows changes by the program which created the file, or is it something I am doing wrong? Any Windows cracks over here? Thanks for any insights Tiemo From rjb at robelko.com Tue Nov 19 09:38:16 2013 From: rjb at robelko.com (Robert Brenstein) Date: Tue, 19 Nov 2013 15:38:16 +0100 Subject: Detect when a field changes In-Reply-To: References: <77D8D674-C258-427F-86AF-3D0E22A89CB4@sweattechnologies.com> <528A6E50.1010708@fourthworld.com> <9102DFB9-E32D-4DFC-B380-1FC874969FB8@sweattechnologies.com> <204EED43-C315-4643-AD47-F5E2643B988E@comcast.net> Message-ID: On 19.11.2013 at 3:43 Uhr +0000 Terry Judd apparently wrote: > >I think I'm with those who would prefer that changing the contents >of the field by script would also trigger the textChanged message. >If you don't want to trigger the message then you can always >lockMessages. > >Terry... But then, instead of having extra line to send the textChanged or fieldClosed we have to add lockMessages (and possible unlockMessages). Considering that the current definition is the prevalent use, there would be more people having to remember to add extra line(s) than now and, as I pointed out, loops are possible, so additional code to prevent them might be needed as well. I fail to see the benefit unless we get two messages, textChanged and userChangedText. Bill, if you always need to call the extra function after changing the field, why don't you write a function that does both and then you have only a single line to enter and nothing to forget? RObert From MikeKerner at roadrunner.com Tue Nov 19 09:54:34 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 19 Nov 2013 09:54:34 -0500 Subject: email library In-Reply-To: <308C71CB-02D1-4199-AC49-641D8943D5CF@m-r-d.de> References: <308C71CB-02D1-4199-AC49-641D8943D5CF@m-r-d.de> Message-ID: Mainly SMTP, so standalones can alert me to trouble. Of course some day it would also be nice to be able to either SMTP or SMS from mobile for the same reason. Thanks for the links. On Mon, Nov 18, 2013 at 5:51 PM, Matthias Rebbe < matthias_livecode_150811 at m-r-d.de> wrote: > Hi, > > Roger already mentioned Chipp Walters altEmailHarness which uses the smtp > library from Shao Sean. > > There is also a library from Sarah Reichelt. You can find it at her site at > http://www.troz.net/rev/index.irev?category=Library#stacks > > Regards, > > Matthias > > > Am 18.11.2013 um 23:04 schrieb Mike Kerner : > > > has anybody written an email library? > > > > -- > > On the first day, God created the heavens and the Earth > > On the second day, God created the oceans. > > On the third day, God put the animals on hold for a few hours, > > and did a little diving. > > And God said, "This is good." > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > Matthias Rebbe > Tel: +49 5741 310000 > +49 160 5504462 > eMail: matthias underscore livecode underscore 150811 at m dash r dash d > dot de > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From richmondmathewson at gmail.com Tue Nov 19 11:58:07 2013 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 19 Nov 2013 18:58:07 +0200 Subject: RC cola Message-ID: <528B989F.5060004@gmail.com> Redneck Champagne; frothing out of the bottle as I watch: http://downloads.livecode.com/livecode/6_5_0/ rc-5 Richmond. From MikeKerner at roadrunner.com Tue Nov 19 11:59:57 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 19 Nov 2013 11:59:57 -0500 Subject: RC cola In-Reply-To: <528B989F.5060004@gmail.com> References: <528B989F.5060004@gmail.com> Message-ID: ROTFLMAO On Tue, Nov 19, 2013 at 11:58 AM, Richmond wrote: > Redneck Champagne; frothing out of the bottle as I watch: > > http://downloads.livecode.com/livecode/6_5_0/ > > rc-5 > > Richmond. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From mwieder at ahsoftware.net Tue Nov 19 12:04:54 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 19 Nov 2013 09:04:54 -0800 Subject: Detect when a field changes In-Reply-To: References: <77D8D674-C258-427F-86AF-3D0E22A89CB4@sweattechnologies.com> <528A6E50.1010708@fourthworld.com> <9102DFB9-E32D-4DFC-B380-1FC874969FB8@sweattechnologies.com> <204EED43-C315-4643-AD47-F5E2643B988E@comcast.net> Message-ID: <12678975756.20131119090454@ahsoftware.net> Robert- Tuesday, November 19, 2013, 6:38:16 AM, you wrote: > Bill, if you always need to call the extra function after changing > the field, why don't you write a function that does both and then you > have only a single line to enter and nothing to forget? That's my take on this as well. Backward compatibility would break in some serious ways if the textChanged message were triggered also in the case of text changes by script. If you're changing a field's text by script then by default you already know the text is changing. If you need to have something happen to text whether the change came from the engine or from a script, I would deal with this situation thusly: on textChanged doTheTextChangedThing end textChanged on whatever put someText into someField doTheTextChangedThing end whatever -- -Mark Wieder ahsoftware at gmail.com From jhurley0305 at sbcglobal.net Tue Nov 19 12:26:21 2013 From: jhurley0305 at sbcglobal.net (Jim Hurley) Date: Tue, 19 Nov 2013 09:26:21 -0800 Subject: Centering printing on the page In-Reply-To: References: Message-ID: <7BF9D0AC-CFD4-460E-A53A-D30CB5B62096@sbcglobal.net> Thanks Phil. Worked great. I should have taken a closer look at the dictionary. But, oddly enough, it printed to Preview--which would have been all right, since I can print from Preview. But then I selected Print Card from the File menu and that brought up the ususl print dialog box. And then I went back to the stack and then "print card from tTopLeft to tBottomRight into 40,40,560,560" brought up the print dialog box. Is there a way to direct the "Print card from ...." command in my print button to direct printing to either Preview or to bring up the standard print dialog box? Jim > > Message: 21 > Date: Tue, 19 Nov 2013 00:25:24 -0800 > From: Phil Davis > To: How to use LiveCode > Subject: Re: Centering printing on the page > Message-ID: <528B2074.908 at pdslabs.net> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > Hi Jim, > > I would try using the [into pageRect] option on the print command, along > with what you're already doing. > > If that didn't work, I would fiddle with the printMargins to push the > oval toward the center. > > Phil Davis > > > On 11/18/13, 10:15 PM, Jim Hurley wrote: >> I would like to print the area within a graphic "oval". >> Here is my script: >> >> put topleft of grc "oval" into tTopLeft >> put bottomRight of grc "oval" into tBottomRight >> print card from tTopLeft to tBottomRight >> >> The printed oval is not centered on the page. There is a considerable border on the left, and consequently the oval is cut off on the right. >> >> How do I center the printing? >> >> Thank, >> >> Jim Hurley >> From capellan2000 at gmail.com Tue Nov 19 12:32:10 2013 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Tue, 19 Nov 2013 09:32:10 -0800 (PST) Subject: What does "stack was produced by a newer version" mean? In-Reply-To: <528A96B3.3080206@fourthworld.com> References: <50C60896-B125-4E99-95F5-36E9AFFAC3E0@mac.com> <9DB80CB2-29B9-4666-A1D9-DB6E079F0F4F@mac.com> <528A74DD.9060400@hyperactivesw.com> <528A8AD8.7040709@hyperactivesw.com> <528A96B3.3080206@fourthworld.com> Message-ID: <1384882330671-4672541.post@n4.nabble.com> Richard Gaskin wrote > Recently they've been doing a more thorough job of making sure critical > info moves from the Release Notes into the Dictionary, but I do wish > they'd budget a day for someone to go back to v4.6.4 forward and make > sure important things like this are in the docs. > > In the meantime, to help compensate for that absence I recently added a > new section to LiveCode Journal with the Release Notes for most versions > from v4.6.4 through now: > <http://livecodejournal.com/features/release-notes.html> > > Especially useful there is "LiveCode 5.5.4 Release Notes", which AFAIK > contains the only documentation anywhere on many of the important new > field features added in that version. Really useful! Many Thanks for posting and bringing forward this essential information. :) Only missing is a single pdf with all release notes :D LiveCode All Release Notes 4.6.4 to 6.5 rc4.pdf Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/What-does-stack-was-produced-by-a-newer-version-mean-tp4672475p4672541.html Sent from the Revolution - User mailing list archive at Nabble.com. From ben at runrev.com Tue Nov 19 12:49:44 2013 From: ben at runrev.com (Benjamin Beaumont) Date: Tue, 19 Nov 2013 17:49:44 +0000 Subject: RELEASE LiveCode 6.5.0 RC5 Message-ID: Dear List Members. We are pleased to announce that LiveCode 6.5.0 RC5 is now available. *Warning* There still may be bugs in this pre-release. It is always good practice to back up your stacks before testing. *Release Contents* Improved image editing tools. Server graphics support Full screen scaling mode. PCRE library updated to version 8.33 libUrlSetSSLVerification now supported on mobile platforms Resolution Independence New global property colorDialogColors Integration of revFont external Enhanced \'filter\' command Text Measurement The optional *recursively* adverb has been added to union and intersect commands Xpath functions 58 bug fixes: 11471 - Loss of quality for certain gradient types 11470 - Regular polygons with a line size greater than 1 clip 11469 - Ovals are filled incorrectly when using startAngle/arcAngle 11464 - Fix crash when printing an RLE-encoded image on OSX 11457 - Antialised single point lines draw across pixels 11456 - OS X tab buttons clip for certain text sizes 11445 - Fix image scaling with \"best\" resizequality rounding scale factors down to integer values. 11444 - Odd letter spacing in text when rendered in certain fonts at certain sizes. 10485 - Take account of keyboard visibility in Android \"effective working screenrect\". Notify engine of changes to keyboard visibility. 11436 - Standalone builder still has option for Armv6 iOS builds 11426 - When drawing opaque round rectangles the fill overlaps the stroke 11422 - Multiply blend mode incorrect 11415 - Random issues with text layout and alignment. 11413 - Text clipped vertically on iOS for certain fonts (updated fix for iOS 6) 11320 - Player rect not adjusted by stack scroll when redrawing on OSX 11197 - Crash when attempting to print to file on linux. 11397 - Imagedata of resized images returned at wrong scale 11393 - Fullscreen modes cause clipped text on Windows 11390 - Fix incorrect cropping of resized image 11389 - Dashed borders on oval grapgics do not start at the correct location 11388 - 1 pixel non-antialiased lines draw incorrectly in certain circumstances 11360 - Linux themeing does not correctly work on non 32bit displays 11355 - Focus border on Windows default button has artefacts. 10508 - Printing text to PDF on Windows can result in poor layout. 11367 - Gradient inspector does not draw fully 11359 - Redraw issues with inner glow and inner shadow. 11351 - \"recursively\" option for array union and intersect not working. 11349 - Content outside of card rect can be seen in show all fullscreenmode when acceleratedRendering is true. 11338 - Character backColor not rendered in fields. 11336 - The fullscreenModes are now camel-case. 11335 - In fullscreen mode on Mac, the window resize handle still appears. 11332 - Text not rendered in correct location in -ui mode when taking snapshot of object. 11330 - Visual effects not displayed correctly on iOS when fullscreenmode is \'no border\', and stack extends outside of the visible screen. 11329 - Dynamic layers do not render correctly when fullscreenmode causes stack to not be at top-left of screen. 11327 - Opening large scripts takes longer in 6.5 than 6.1.2 11325 - Graphic effects rendered incorrectly when non-Normal blend mode used. 11324 - Borders still rendered even if borderWidth == 0. 11315 - Instability of LiveCode when gradients are being / have been displayed. 11314 - Image transparency is lost when setting the imagedata 11299 - Answer folder for XCode app bundle has a typo 11198 - Fix color issues on PowerPC Mac 11174 - Conical spiral XY and sqrtXY gradients render incorrectly. 11310 - Italic fonts clipped on right hand side on iOS 11309 - Text clips for certain fonts on Mac 11297 - Setting the color of a graphic effect resets its opacity 11283 - Italic fonts are not rendered on Mac. 11280 - Project browser does not expand cards of substacks 11241 - Non-3D borders are always black. 11227 - Android native controls are positioned incorrectly. 11221 - Field background pattern not working. 11179 - Images with an angle other than 0 are not drawn. 11178 - Import from paint always fails. 11176 - MouseDoubleUp messages are not sent on Linux. 10995 - Standalones now set default font settings the same as the IDE. 10980 - Setting the filename of an image which already has a filename causes the property to be unset and \'could not load image\' in the result. 10977 - Setting the image filename to empty unsets the image text and vice-versa 10964 - Inconsistent rounding of floating point values. 6720 - Scrollbar properties not returned in correct format. *Getting this release* To upgrade to this release please select "check for updates" from the help menu in LiveCode or download the installers directly at: http://downloads.livecode.com/livecode/6_5_0/ Warm regards, The LiveCode Team From cmsheffield at icloud.com Tue Nov 19 13:13:34 2013 From: cmsheffield at icloud.com (Chris Sheffield) Date: Tue, 19 Nov 2013 11:13:34 -0700 Subject: RELEASE LiveCode 6.5.0 RC5 In-Reply-To: References: Message-ID: Is anyone else having problems launching RC 5? RC 4 launches just fine for me, but RC 5 locks up at the ?Loading plugins? step. Mac, OS X Mavericks Chris -- Chris Sheffield Read Naturally, Inc. www.readnaturally.com On Nov 19, 2013, at 10:49 AM, Benjamin Beaumont wrote: > Dear List Members. > > We are pleased to announce that LiveCode 6.5.0 RC5 is now available. > > Warning > There still may be bugs in this pre-release. It is always good practice to back up your stacks before testing. > > Release Contents > Improved image editing tools. > Server graphics support > Full screen scaling mode. > PCRE library updated to version 8.33 > libUrlSetSSLVerification now supported on mobile platforms > Resolution Independence > New global property colorDialogColors > Integration of revFont external > Enhanced \'filter\' command > Text Measurement > The optional *recursively* adverb has been added to union and intersect commands > Xpath functions > 58 bug fixes: 11471 - Loss of quality for certain gradient types > 11470 - Regular polygons with a line size greater than 1 clip > 11469 - Ovals are filled incorrectly when using startAngle/arcAngle > 11464 - Fix crash when printing an RLE-encoded image on OSX > 11457 - Antialised single point lines draw across pixels > 11456 - OS X tab buttons clip for certain text sizes > 11445 - Fix image scaling with \"best\" resizequality rounding scale factors down to integer values. > 11444 - Odd letter spacing in text when rendered in certain fonts at certain sizes. > 10485 - Take account of keyboard visibility in Android \"effective working screenrect\". Notify engine of changes to keyboard visibility. > 11436 - Standalone builder still has option for Armv6 iOS builds > 11426 - When drawing opaque round rectangles the fill overlaps the stroke > 11422 - Multiply blend mode incorrect > 11415 - Random issues with text layout and alignment. > 11413 - Text clipped vertically on iOS for certain fonts (updated fix for iOS 6) > 11320 - Player rect not adjusted by stack scroll when redrawing on OSX > 11197 - Crash when attempting to print to file on linux. > 11397 - Imagedata of resized images returned at wrong scale > 11393 - Fullscreen modes cause clipped text on Windows > 11390 - Fix incorrect cropping of resized image > 11389 - Dashed borders on oval grapgics do not start at the correct location > 11388 - 1 pixel non-antialiased lines draw incorrectly in certain circumstances > 11360 - Linux themeing does not correctly work on non 32bit displays > 11355 - Focus border on Windows default button has artefacts. > 10508 - Printing text to PDF on Windows can result in poor layout. > 11367 - Gradient inspector does not draw fully > 11359 - Redraw issues with inner glow and inner shadow. > 11351 - \"recursively\" option for array union and intersect not working. > 11349 - Content outside of card rect can be seen in show all fullscreenmode when acceleratedRendering is true. > 11338 - Character backColor not rendered in fields. > 11336 - The fullscreenModes are now camel-case. > 11335 - In fullscreen mode on Mac, the window resize handle still appears. > 11332 - Text not rendered in correct location in -ui mode when taking snapshot of object. > 11330 - Visual effects not displayed correctly on iOS when fullscreenmode is \'no border\', and stack extends outside of the visible screen. > 11329 - Dynamic layers do not render correctly when fullscreenmode causes stack to not be at top-left of screen. > 11327 - Opening large scripts takes longer in 6.5 than 6.1.2 > 11325 - Graphic effects rendered incorrectly when non-Normal blend mode used. > 11324 - Borders still rendered even if borderWidth == 0. > 11315 - Instability of LiveCode when gradients are being / have been displayed. > 11314 - Image transparency is lost when setting the imagedata > 11299 - Answer folder for XCode app bundle has a typo > 11198 - Fix color issues on PowerPC Mac > 11174 - Conical spiral XY and sqrtXY gradients render incorrectly. > 11310 - Italic fonts clipped on right hand side on iOS > 11309 - Text clips for certain fonts on Mac > 11297 - Setting the color of a graphic effect resets its opacity > 11283 - Italic fonts are not rendered on Mac. > 11280 - Project browser does not expand cards of substacks > 11241 - Non-3D borders are always black. > 11227 - Android native controls are positioned incorrectly. > 11221 - Field background pattern not working. > 11179 - Images with an angle other than 0 are not drawn. > 11178 - Import from paint always fails. > 11176 - MouseDoubleUp messages are not sent on Linux. > 10995 - Standalones now set default font settings the same as the IDE. > 10980 - Setting the filename of an image which already has a filename causes the property to be unset and \'could not load image\' in the result. > 10977 - Setting the image filename to empty unsets the image text and vice-versa > 10964 - Inconsistent rounding of floating point values. > 6720 - Scrollbar properties not returned in correct format. > > Getting this release > To upgrade to this release please select "check for updates" from the help menu in LiveCode or download the installers directly at: http://downloads.livecode.com/livecode/6_5_0/ > > Warm regards, > > The LiveCode Team > > _______________________________________________ > livecode-dev mailing list > livecode-dev at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/livecode-dev From richmondmathewson at gmail.com Tue Nov 19 13:44:36 2013 From: richmondmathewson at gmail.com (Richmond) Date: Tue, 19 Nov 2013 20:44:36 +0200 Subject: RELEASE LiveCode 6.5.0 RC5 In-Reply-To: References: Message-ID: <528BB194.5000201@gmail.com> On 19.11.2013 20:13, Chris Sheffield wrote: > Is anyone else having problems launching RC 5? RC 4 launches just fine for me, but RC 5 locks up at the ?Loading plugins? step. > > Mac, OS X Mavericks > > Chris > > Not at all; smooth as a hot knife through butter. UbuntuStudio 13.10 heavily hacked. Richmond. From gcanyon at gmail.com Tue Nov 19 14:12:02 2013 From: gcanyon at gmail.com (Geoff Canyon) Date: Tue, 19 Nov 2013 13:12:02 -0600 Subject: Startup Weekend Message-ID: I went to Startup Weekend this past weekend. It runs year-round, but they have a bunch going on last weekend and also next weekend (11/22). http://startupweekend.org/ There were many LC - compatible pitches, and I ended up building one. We'll probably hit the app store application process in a few days (it's a simple app). In any case, I had a *ton* of fun, and everyone here should consider going to their local startup weekend. From MikeKerner at roadrunner.com Tue Nov 19 14:34:22 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Tue, 19 Nov 2013 14:34:22 -0500 Subject: Startup Weekend In-Reply-To: References: Message-ID: That looks like an absolute blast. I sent the info. to our local economic development wonk, and the folks who run our local VC and angel groups. On Tue, Nov 19, 2013 at 2:12 PM, Geoff Canyon wrote: > I went to Startup Weekend this past weekend. It runs year-round, but they > have a bunch going on last weekend and also next weekend (11/22). > http://startupweekend.org/ > > There were many LC - compatible pitches, and I ended up building one. We'll > probably hit the app store application process in a few days (it's a simple > app). > > In any case, I had a *ton* of fun, and everyone here should consider going > to their local startup weekend. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From mgruenthal at mac.com Tue Nov 19 15:02:18 2013 From: mgruenthal at mac.com (Michael Gruenthal) Date: Tue, 19 Nov 2013 15:02:18 -0500 Subject: RELEASE LiveCode 6.5.0 RC5 In-Reply-To: Message-ID: Yes. Persists after rebooting. On 11/19/13, 1:13 PM, "Chris Sheffield" wrote: >Is anyone else having problems launching RC 5? RC 4 launches just fine >for me, but RC 5 locks up at the ?Loading plugins? step. > >Mac, OS X Mavericks > >Chris > > >-- >Chris Sheffield >Read Naturally, Inc. >www.readnaturally.com > From benr_mc at cogapp.com Tue Nov 19 15:30:37 2013 From: benr_mc at cogapp.com (Ben Rubinstein) Date: Tue, 19 Nov 2013 20:30:37 +0000 Subject: Android 'soft' button bars Message-ID: <528BCA6D.8050202@cogapp.com> Some Android tablets (and for all I know, some Android phones) don't have standard home/menu/return buttons as physical buttons, but instead impose a soft version of them in a bar at the bottom of the screen (separate from the usual status bar at the top of the screen with clock, wifi, battery etc). On some (eg original Kindle Fire) this is a separate bar at the bottom of the screen, but it hides and shows with the status bar, so we can use mobileHideStatusBar/mobileShowStatusBar to control it. On others it doesn't. E.g. Samsung 7" tablet, and another I've seen, the 'soft buttons' bar is combined with the clock/wifi/settings etc status bar (I think this might be an Android 4.x thing) - and mobileHideStatusBar has no effect. You don't get to hide the bar altogether, presumably because a rogue app could then effectively block a device; but there is a 'full screen' mode in which it's reduced to a minimum (on Kindle Fire, it shrinks and leaves just a disclosure triangle to reopen; on the Android 4.x devices I've seen, it fades to just a black bar with a few grey dots on it). I've seen this in system apps (photo slideshow, video player) but also in some non-system apps. Is there a way to access this mode in LC? TIA, Ben From gcanyon at gmail.com Tue Nov 19 16:28:25 2013 From: gcanyon at gmail.com (Geoff Canyon) Date: Tue, 19 Nov 2013 15:28:25 -0600 Subject: Startup Weekend In-Reply-To: References: Message-ID: On Tue, Nov 19, 2013 at 1:34 PM, Mike Kerner wrote: > local Where's local for you? From monte at sweattechnologies.com Tue Nov 19 16:43:07 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed, 20 Nov 2013 08:43:07 +1100 Subject: Android 'soft' button bars In-Reply-To: <528BCA6D.8050202@cogapp.com> References: <528BCA6D.8050202@cogapp.com> Message-ID: <866FAB00-5FC4-46B3-9708-B780192652B7@sweattechnologies.com> On 20/11/2013, at 7:30 AM, Ben Rubinstein wrote: > Is there a way to access this mode in LC? Not that I'm aware of... how do you do it in Java? -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From tate83 at gmail.com Tue Nov 19 17:20:56 2013 From: tate83 at gmail.com (Pascal Lehner) Date: Tue, 19 Nov 2013 23:20:56 +0100 Subject: RELEASE LiveCode 6.5.0 RC5 In-Reply-To: References: Message-ID: Hi Michael, RC5 loads fine on my OSX Maverick. Best regards, Pascal On 19 November 2013 21:02, Michael Gruenthal wrote: > Yes. Persists after rebooting. > > On 11/19/13, 1:13 PM, "Chris Sheffield" wrote: > >>Is anyone else having problems launching RC 5? RC 4 launches just fine >>for me, but RC 5 locks up at the ?Loading plugins? step. >> >>Mac, OS X Mavericks >> >>Chris >> >> >>-- >>Chris Sheffield >>Read Naturally, Inc. >>www.readnaturally.com >> > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From cmsheffield at icloud.com Tue Nov 19 17:43:53 2013 From: cmsheffield at icloud.com (Chris Sheffield) Date: Tue, 19 Nov 2013 15:43:53 -0700 Subject: RELEASE LiveCode 6.5.0 RC5 In-Reply-To: References: Message-ID: <1D789558-658C-4301-88A6-300ECBC55A79@icloud.com> Interesting. So some are having the issue and others aren?t. Something to do with a specific plugin maybe? I?ll try to do some addition troubleshooting and see what I can find out. On Nov 19, 2013, at 3:20 PM, Pascal Lehner wrote: > Hi Michael, > > RC5 loads fine on my OSX Maverick. > > Best regards, > Pascal > > > On 19 November 2013 21:02, Michael Gruenthal wrote: >> Yes. Persists after rebooting. >> >> On 11/19/13, 1:13 PM, "Chris Sheffield" wrote: >> >>> Is anyone else having problems launching RC 5? RC 4 launches just fine >>> for me, but RC 5 locks up at the ?Loading plugins? step. >>> >>> Mac, OS X Mavericks >>> >>> Chris >>> >>> >>> -- >>> Chris Sheffield >>> Read Naturally, Inc. >>> www.readnaturally.com >>> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From Nakia.Brewer at westrac.com.au Tue Nov 19 17:46:20 2013 From: Nakia.Brewer at westrac.com.au (Nakia Brewer) Date: Tue, 19 Nov 2013 22:46:20 +0000 Subject: RELEASE LiveCode 6.5.0 RC5 In-Reply-To: <1D789558-658C-4301-88A6-300ECBC55A79@icloud.com> References: <1D789558-658C-4301-88A6-300ECBC55A79@icloud.com> Message-ID: <67116DB20798A94285EEE12A67079A2832632B82@MHSEXC02.westrac.com.au> I'm running it on old windows XP and Its extremely slow. The message box won't let me arrow around the content to fix a typo and generally using the arrow Keys on the keyboard seems flaky.. -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Chris Sheffield Sent: Wednesday, 20 November 2013 09:44 To: How to use LiveCode Subject: Re: RELEASE LiveCode 6.5.0 RC5 Interesting. So some are having the issue and others aren't. Something to do with a specific plugin maybe? I'll try to do some addition troubleshooting and see what I can find out. On Nov 19, 2013, at 3:20 PM, Pascal Lehner wrote: > Hi Michael, > > RC5 loads fine on my OSX Maverick. > > Best regards, > Pascal > > > On 19 November 2013 21:02, Michael Gruenthal wrote: >> Yes. Persists after rebooting. >> >> On 11/19/13, 1:13 PM, "Chris Sheffield" wrote: >> >>> Is anyone else having problems launching RC 5? RC 4 launches just fine >>> for me, but RC 5 locks up at the ?Loading plugins? step. >>> >>> Mac, OS X Mavericks >>> >>> Chris >>> >>> >>> -- >>> Chris Sheffield >>> Read Naturally, Inc. >>> www.readnaturally.com >>> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at 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 at 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. From mgruenthal at mac.com Tue Nov 19 17:49:30 2013 From: mgruenthal at mac.com (Michael Gruenthal) Date: Tue, 19 Nov 2013 17:49:30 -0500 Subject: RELEASE LiveCode 6.5.0 RC5 SOLVED In-Reply-To: Message-ID: It?s the lcTaskList plugin, at least for me. Launch an earlier version of LC (e.g. RC4), change the plugin setting so lcTaskList doesn?t open when LC launches. Quit and launch RC5. Chris, if you can confirm I will add these details to my bug report. On 11/19/13, 5:20 PM, "Pascal Lehner" wrote: >Hi Michael, > >RC5 loads fine on my OSX Maverick. > >Best regards, >Pascal > > >On 19 November 2013 21:02, Michael Gruenthal wrote: >> Yes. Persists after rebooting. >> >> On 11/19/13, 1:13 PM, "Chris Sheffield" wrote: >> >>>Is anyone else having problems launching RC 5? RC 4 launches just fine >>>for me, but RC 5 locks up at the ?Loading plugins? step. >>> >>>Mac, OS X Mavericks >>> >>>Chris >>> >>> >>>-- >>>Chris Sheffield >>>Read Naturally, Inc. >>>www.readnaturally.com >>> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode From bernd.niggemann at uni-wh.de Tue Nov 19 19:00:46 2013 From: bernd.niggemann at uni-wh.de (BNig) Date: Tue, 19 Nov 2013 16:00:46 -0800 (PST) Subject: RELEASE LiveCode 6.5.0 RC5 SOLVED In-Reply-To: References: Message-ID: <1384905646635-4672559.post@n4.nabble.com> Hi, the problem with lcTaskList has probably to do with an incomplete bug fix for antialiazing of gradients Today I did a bug report regarding anitaliasing on gradients Bug 11471 - antialiasing of conical gradient lacking in 6.5.0 http://quality.runrev.com/show_bug.cgi?id=11471 and they fixed it right away but incompletely, using this hangs Livecode Bug 11474 - Bug 11471 partly resolved but crashes Livecode in 6.5.0 RC5 http://quality.runrev.com/show_bug.cgi?id=11474 I happen to know that Bill uses gradients for the alternating lines in lcTaskList and a stack (other than lcTaskList) that uses the same technique for alternating lines hangs Livecode also I informed Bill of this Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/RELEASE-LiveCode-6-5-0-RC5-tp4672546p4672559.html Sent from the Revolution - User mailing list archive at Nabble.com. From peterwawood at gmail.com Tue Nov 19 19:25:01 2013 From: peterwawood at gmail.com (Peter W A Wood) Date: Wed, 20 Nov 2013 08:25:01 +0800 Subject: Determine Engine Version Used To Build Standalone? In-Reply-To: <528B65E4.5050909@gmail.com> References: <5ACBAAEC-7756-4D4A-8DFE-A41CF4C2FA4B@gmail.com> <528B65E4.5050909@gmail.com> Message-ID: <72797781-43EB-4909-9504-EED144570A09@gmail.com> Richmond > How do things sit with the Engines and Open Source right now? > > Presumably (?????) the Engines are also, now, Open Source; and the ONLY thing that > differentiates the OS engine and the CS engine is the inclusion of password protection code. The source code for the open source engine is at https://github.com/runrev/livecode/tree/master/engine It's what Monte, MarkW and some other people have been having endless fun with since the year AK (Anno Kickstarter). Sadly this pleasure is denied from the many of us who don't speak C++. As for the content of the commercial engine, you can only be guessing unless you have spent $10,000 to buy an Enterprise licence (and get access the source of the commercial engine). :-) Peter http://LiveCode1001.blogspot.com From monte at sweattechnologies.com Tue Nov 19 20:18:32 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed, 20 Nov 2013 12:18:32 +1100 Subject: How To Send Before? In-Reply-To: References: Message-ID: <2F463B8C-421B-4370-B7C5-EE2044B69888@sweattechnologies.com> On 11/11/2013, at 11:21 AM, Scott Rossi wrote: > The problem with the above is a standard mouseDown is sent; mouseDown is > not sent before. > There doesn't seem to by any way to dispatch or send before. I just tested this and the following appears to work fine: dispatch "message" to me This triggers before and after handlers and also gives the child script a chance to handle the actual message. Before and after are cooler than I thought... this means you can hook custom functionality onto any command that a child object uses even with lock messages on. Just to clarify the message must go via the child in order for the parent to get a chance to handle it in a before/after script. Cheers -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From Nakia.Brewer at westrac.com.au Tue Nov 19 23:18:59 2013 From: Nakia.Brewer at westrac.com.au (Nakia Brewer) Date: Wed, 20 Nov 2013 04:18:59 +0000 Subject: open a Broken Stack Message-ID: <67116DB20798A94285EEE12A67079A2832633086@MHSEXC02.westrac.com.au> Hi, Are there any tricks for opening a stack that seems to have gone corrupt? It contains a Quick Time Player and I accidentally saved the stack with the file name of the stack set to a huge video and now when I open it up LC just displays nothing..I.E. the application browser is empty.. Any Ideas? 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. From ambassador at fourthworld.com Tue Nov 19 23:21:59 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 19 Nov 2013 20:21:59 -0800 Subject: open a Broken Stack In-Reply-To: <67116DB20798A94285EEE12A67079A2832633086@MHSEXC02.westrac.com.au> References: <67116DB20798A94285EEE12A67079A2832633086@MHSEXC02.westrac.com.au> Message-ID: <528C38E7.7070709@fourthworld.com> Move the video to another location and LC won't be able to find it, allowing you to get back to work. -- Richard Gaskin Fourth World Systems Software Design and Development for Desktop, Mobile, and Web ____________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From Nakia.Brewer at westrac.com.au Tue Nov 19 23:28:41 2013 From: Nakia.Brewer at westrac.com.au (Nakia Brewer) Date: Wed, 20 Nov 2013 04:28:41 +0000 Subject: open a Broken Stack In-Reply-To: <528C38E7.7070709@fourthworld.com> References: <67116DB20798A94285EEE12A67079A2832633086@MHSEXC02.westrac.com.au> <528C38E7.7070709@fourthworld.com> Message-ID: <67116DB20798A94285EEE12A67079A28326330EF@MHSEXC02.westrac.com.au> I tried that but to no avail..For some reason the Stack file is HUGE >60mb -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Richard Gaskin Sent: Wednesday, 20 November 2013 15:22 To: use-livecode at lists.runrev.com Subject: Re: open a Broken Stack Move the video to another location and LC won't be able to find it, allowing you to get back to work. -- Richard Gaskin Fourth World Systems Software Design and Development for Desktop, Mobile, and Web ____________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com _______________________________________________ use-livecode mailing list use-livecode at 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. From ambassador at fourthworld.com Tue Nov 19 23:35:35 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 19 Nov 2013 20:35:35 -0800 Subject: open a Broken Stack In-Reply-To: <67116DB20798A94285EEE12A67079A28326330EF@MHSEXC02.westrac.com.au> References: <67116DB20798A94285EEE12A67079A28326330EF@MHSEXC02.westrac.com.au> Message-ID: <528C3C17.3070400@fourthworld.com> > I tried that but to no avail..For some reason the Stack file is HUGE >60mb Ah, sounds like you imported the video as a clip, no? Even then, 60 MBs isn't all that much - how much RAM do you have? -- Richard Gaskin Fourth World Systems Software Design and Development for Desktop, Mobile, and Web ____________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From Nakia.Brewer at westrac.com.au Tue Nov 19 23:37:44 2013 From: Nakia.Brewer at westrac.com.au (Nakia Brewer) Date: Wed, 20 Nov 2013 04:37:44 +0000 Subject: open a Broken Stack In-Reply-To: <528C3C17.3070400@fourthworld.com> References: <67116DB20798A94285EEE12A67079A28326330EF@MHSEXC02.westrac.com.au> <528C3C17.3070400@fourthworld.com> Message-ID: <67116DB20798A94285EEE12A67079A2832633146@MHSEXC02.westrac.com.au> Nah only setting the file name of the player... I was stuffing around importing stuff earlier but I removed that... -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Richard Gaskin Sent: Wednesday, 20 November 2013 15:36 To: use-livecode at lists.runrev.com Subject: Re: open a Broken Stack > I tried that but to no avail..For some reason the Stack file is HUGE >60mb Ah, sounds like you imported the video as a clip, no? Even then, 60 MBs isn't all that much - how much RAM do you have? -- Richard Gaskin Fourth World Systems Software Design and Development for Desktop, Mobile, and Web ____________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com _______________________________________________ use-livecode mailing list use-livecode at 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. From Nakia.Brewer at westrac.com.au Tue Nov 19 23:40:55 2013 From: Nakia.Brewer at westrac.com.au (Nakia Brewer) Date: Wed, 20 Nov 2013 04:40:55 +0000 Subject: open a Broken Stack In-Reply-To: <528C3C17.3070400@fourthworld.com> References: <67116DB20798A94285EEE12A67079A28326330EF@MHSEXC02.westrac.com.au> <528C3C17.3070400@fourthworld.com> Message-ID: <67116DB20798A94285EEE12A67079A2832633188@MHSEXC02.westrac.com.au> It is showing a corruption error in LC when I try and open the stack -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Richard Gaskin Sent: Wednesday, 20 November 2013 15:36 To: use-livecode at lists.runrev.com Subject: Re: open a Broken Stack > I tried that but to no avail..For some reason the Stack file is HUGE >60mb Ah, sounds like you imported the video as a clip, no? Even then, 60 MBs isn't all that much - how much RAM do you have? -- Richard Gaskin Fourth World Systems Software Design and Development for Desktop, Mobile, and Web ____________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com _______________________________________________ use-livecode mailing list use-livecode at 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. From bvlahos at mac.com Tue Nov 19 23:57:15 2013 From: bvlahos at mac.com (Bill Vlahos) Date: Tue, 19 Nov 2013 20:57:15 -0800 Subject: Test email. Please ignore Message-ID: <4E9D668F-9AFC-4C7E-8488-1CDB3704C7AB@mac.com> This is only a test. Bill Vlahos From bvlahos at mac.com Tue Nov 19 23:59:48 2013 From: bvlahos at mac.com (Bill Vlahos) Date: Tue, 19 Nov 2013 20:59:48 -0800 Subject: RELEASE LiveCode 6.5.0 RC5 SOLVED In-Reply-To: References: Message-ID: <0E458955-0717-4482-8176-4A860A6E4B19@mac.com> Not sure why this didn?t go through earlier so I?ll resend it. Yes it is lcTaskList that is impacted by a change in LiveCode 6.5.0 RC5. Earlier versions didn?t have the problem. For users who have access to the bug reports it is Bug 11474. Bill Vlahos On Nov 19, 2013, at 2:49 PM, Michael Gruenthal wrote: > It?s the lcTaskList plugin, at least for me. Launch an earlier version of > LC (e.g. RC4), change the plugin setting so lcTaskList doesn?t open when > LC launches. Quit and launch RC5. > > Chris, if you can confirm I will add these details to my bug report. From ambassador at fourthworld.com Wed Nov 20 00:04:24 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 19 Nov 2013 21:04:24 -0800 Subject: open a Broken Stack In-Reply-To: <67116DB20798A94285EEE12A67079A2832633188@MHSEXC02.westrac.com.au> References: <67116DB20798A94285EEE12A67079A2832633188@MHSEXC02.westrac.com.au> Message-ID: <528C42D8.9030404@fourthworld.com> True file corruption is extremely rare in LC. If you're fairly certain your video was only referenced in a player and not imported, yet the stack size ballooned to 60 MBs and is now throwing an error, you might send that to support @ runrev.com so they can hopefully determine the root cause of the issue. In the meantime, while they're exploring that it sounds like you'll have to go back to your most recent backup. -- Richard Gaskin Fourth World Systems Software Design and Development for Desktop, Mobile, and Web ____________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com From Nakia.Brewer at westrac.com.au Wed Nov 20 00:14:13 2013 From: Nakia.Brewer at westrac.com.au (Nakia Brewer) Date: Wed, 20 Nov 2013 05:14:13 +0000 Subject: open a Broken Stack In-Reply-To: <528C42D8.9030404@fourthworld.com> References: <67116DB20798A94285EEE12A67079A2832633188@MHSEXC02.westrac.com.au> <528C42D8.9030404@fourthworld.com> Message-ID: <67116DB20798A94285EEE12A67079A283263321E@MHSEXC02.westrac.com.au> Yep I think you are correct... Thanks for your help! -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Richard Gaskin Sent: Wednesday, 20 November 2013 16:04 To: use-livecode at lists.runrev.com Subject: Re: open a Broken Stack True file corruption is extremely rare in LC. If you're fairly certain your video was only referenced in a player and not imported, yet the stack size ballooned to 60 MBs and is now throwing an error, you might send that to support @ runrev.com so they can hopefully determine the root cause of the issue. In the meantime, while they're exploring that it sounds like you'll have to go back to your most recent backup. -- Richard Gaskin Fourth World Systems Software Design and Development for Desktop, Mobile, and Web ____________________________________________________________ Ambassador at FourthWorld.com http://www.FourthWorld.com _______________________________________________ use-livecode mailing list use-livecode at 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. From scott at tactilemedia.com Wed Nov 20 06:18:41 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 20 Nov 2013 03:18:41 -0800 Subject: How To Send Before? In-Reply-To: <2F463B8C-421B-4370-B7C5-EE2044B69888@sweattechnologies.com> Message-ID: Hi Monte: I don't think there was ever any question about this. A question arises when using the before/after type handlers. With standard mouse events, you can send the same type of event message to another control. send "mouseUp" to button 3 With the before/after implementations, it doesn't seem possible to do this. You can send a custom message, of course, but apparently not a built-in event message at the same level of the message hierarchy (before or after). I'm not saying there's anything wrong with this, I was just asking the question of whether it was possible. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 11/19/13 5:18 PM, "Monte Goulding" wrote: > >On 11/11/2013, at 11:21 AM, Scott Rossi wrote: >> The problem with the above is a standard mouseDown is sent; mouseDown is >> not sent before. >> There doesn't seem to by any way to dispatch or send before. > >I just tested this and the following appears to work fine: > >dispatch "message" to me > >This triggers before and after handlers and also gives the child script a >chance to handle the actual message. Before and after are cooler than I >thought... this means you can hook custom functionality onto any command >that a child object uses even with lock messages on. > >Just to clarify the message must go via the child in order for the parent >to get a chance to handle it in a before/after script. > >Cheers > >-- >M E R Goulding >Software development services >Bespoke application development for vertical markets > >mergExt - There's an external for that! > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode > From monte at sweattechnologies.com Wed Nov 20 06:27:45 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed, 20 Nov 2013 22:27:45 +1100 Subject: How To Send Before? In-Reply-To: References: Message-ID: <569F3899-50FF-4DE8-9374-F74748E9917B@sweattechnologies.com> On 20/11/2013, at 10:18 PM, Scott Rossi wrote: > With the before/after implementations, it doesn't seem possible to do > this. You can send a custom message, of course, but apparently not a > built-in event message at the same level of the message hierarchy (before > or after). Hmm... I don't think they are treated differently. So you just need to dispatch or send to me: -- behavior script before mouseDoubleUp mouseUp -- no before msg dispatch "mouseUp" to me -- you get the before msg end mosueDoubleUp before mouseUp end mouseUp -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From MikeKerner at roadrunner.com Wed Nov 20 08:41:19 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 20 Nov 2013 08:41:19 -0500 Subject: Device signature different In-Reply-To: References: <5C10468C-E657-468D-A7A0-6196FA6E3BAF@mac.com> <39CE5ACE-94E5-4552-B987-B962AA9B067D@mac.com> Message-ID: Neil has been helping me with push/token issues, and sent me a couple of useful links: 1) https://devforums.apple.com/thread/206990?tstart=30 The old token will work for one push after it changes, and then it will become inactive which reinforces 2) https://developer.apple.com/library/ios/technotes/tn2265/_index.html Which states that every time you launch, you are supposed to have your app re-register. There is a bug with that, though, 11236, which is active, and open - CURRENTLY, you cannot get the token before the first card of the stack opens - so no preOpenStack, no preOpenCard, etc. - yet. Big props to Neil for working on these buggers, but that only reinforces something else - if you can, spend the money and become a Pro or Corporate member. On Mon, Nov 11, 2013 at 2:56 PM, Mike Kerner wrote: > I ran into this by accident, and I don't know how far back the old token > will work. Even on Apple's forums, this behavior is largely a mystery. I > have yet to receive a notification of a change, even when checking for > devices that have asked to not receive push notifications any longer. > > What I have taken to doing is to have the app check its token (but because > of bug 11236 in LC, you can't do that until you have the openCard message > for the first card of the stack). If the token has changed, it reports the > new token. > > > On Mon, Nov 11, 2013 at 2:37 PM, Thomas McGrath III wrote: > >> So what is the best way to handle this? >> >> Is it a fact that the old token will still work?? What about the one >> before that?? >> >> Anyone else have info here. >> >> Tom >> >> -- Tom McGrath III >> http://lazyriver.on-rev.com >> mcgrath3 at mac.com >> >> On Nov 11, 2013, at 1:10 PM, Mike Kerner >> wrote: >> >> > I have run into this very problem. No, the token is not forevermore, >> but >> > Apple won't tell you when it's changed, and if you reference the old >> token, >> > it will still work. >> > >> > The most common way that a token gets replaced is when a device gets >> wiped. >> > >> > >> > On Mon, Nov 11, 2013 at 12:27 PM, Thomas McGrath III > >wrote: >> > >> >> on mouseUp >> >> put mobileGetDeviceToken() into field "PNSResult" >> >> put field "PNSResult" into tTest >> >> put 1 into i >> >> repeat while i<= the number of characters in tTest >> >> if char i of tTest is not in "0123456789abcdefABCDEF" >> then >> >> delete char i of tTest >> >> else -- char i of me is hex >> >> add 1 to i >> >> end if -- char i is not in..... >> >> end repeat --while i<= the number of characters in me >> >> >> >> if char 1 of tTest is "<" then delete char 1 of tTest >> >> if last char of tTest is ">" then delete last char of tTest >> >> put tTest into field ?PNSResult" >> >> >> >> end mouseUp >> >> >> >> >> >> SO the token returned from this script from a few weeks ago is >> different >> >> than what this returns today.???? wtf?. But more importantly it changed >> >> from this morning and later this afternoon. I have three different IDs >> from >> >> the same device?. >> >> >> >> >> >> Is mobileGetDeviceToken() supposed to be consistent to the device???? >> No >> >> matter what???? or When???? >> >> >> >> >> >> Tom >> >> >> >> >> >> >> >> -- Tom McGrath III >> >> http://lazyriver.on-rev.com >> >> mcgrath3 at mac.com >> >> >> >> _______________________________________________ >> >> use-livecode mailing list >> >> use-livecode at lists.runrev.com >> >> Please visit this url to subscribe, unsubscribe and manage your >> >> subscription preferences: >> >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> > >> > >> > >> > -- >> > On the first day, God created the heavens and the Earth >> > On the second day, God created the oceans. >> > On the third day, God put the animals on hold for a few hours, >> > and did a little diving. >> > And God said, "This is good." >> > _______________________________________________ >> > use-livecode mailing list >> > use-livecode at 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 at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From MikeKerner at roadrunner.com Wed Nov 20 08:44:07 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 20 Nov 2013 08:44:07 -0500 Subject: Startup Weekend In-Reply-To: References: Message-ID: Erie, PA On Tue, Nov 19, 2013 at 4:28 PM, Geoff Canyon wrote: > On Tue, Nov 19, 2013 at 1:34 PM, Mike Kerner >wrote: > > > local > > > Where's local for you? > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From MikeKerner at roadrunner.com Wed Nov 20 08:45:16 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 20 Nov 2013 08:45:16 -0500 Subject: Startup Weekend In-Reply-To: References: Message-ID: or Hono, if I'm really sick of snow, lol. On Wed, Nov 20, 2013 at 8:44 AM, Mike Kerner wrote: > Erie, PA > > > On Tue, Nov 19, 2013 at 4:28 PM, Geoff Canyon wrote: > >> On Tue, Nov 19, 2013 at 1:34 PM, Mike Kerner > >wrote: >> >> > local >> >> >> Where's local for you? >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From chipp at chipp.com Wed Nov 20 09:07:13 2013 From: chipp at chipp.com (Chipp Walters) Date: Wed, 20 Nov 2013 14:07:13 +0000 Subject: Message Box Functions broke in 6.1.3? Message-ID: I did this: 1. Create a new stack 2. put the following in the card script: function foo put the ticks end foo 3. Compiled it (Apply) 4. Put in msg: put foo() and the result is: Message execution error: Error description: Handler: can't find handler Hint: foo() ??? From MikeKerner at roadrunner.com Wed Nov 20 09:33:57 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 20 Nov 2013 09:33:57 -0500 Subject: Device signature different In-Reply-To: References: <5C10468C-E657-468D-A7A0-6196FA6E3BAF@mac.com> <39CE5ACE-94E5-4552-B987-B962AA9B067D@mac.com> Message-ID: Mark just went back and forth with some followup. It turns out that the process we should use is a little different: http://quality.runrev.com/show_bug.cgi?id=11236 Just a reminder, that Apple says that you get one shot with the old token after it changes. On Wed, Nov 20, 2013 at 8:41 AM, Mike Kerner wrote: > Neil has been helping me with push/token issues, and sent me a couple of > useful links: > 1) https://devforums.apple.com/thread/206990?tstart=30 > The old token will work for one push after it changes, and then it will > become inactive > > which reinforces > 2) https://developer.apple.com/library/ios/technotes/tn2265/_index.html > Which states that every time you launch, you are supposed to have your app > re-register. > > There is a bug with that, though, 11236, which is active, and open - > CURRENTLY, you cannot get the token before the first card of the stack > opens - so no preOpenStack, no preOpenCard, etc. - yet. > > > Big props to Neil for working on these buggers, but that only reinforces > something else - if you can, spend the money and become a Pro or Corporate > member. > > > On Mon, Nov 11, 2013 at 2:56 PM, Mike Kerner wrote: > >> I ran into this by accident, and I don't know how far back the old token >> will work. Even on Apple's forums, this behavior is largely a mystery. I >> have yet to receive a notification of a change, even when checking for >> devices that have asked to not receive push notifications any longer. >> >> What I have taken to doing is to have the app check its token (but >> because of bug 11236 in LC, you can't do that until you have the openCard >> message for the first card of the stack). If the token has changed, it >> reports the new token. >> >> >> On Mon, Nov 11, 2013 at 2:37 PM, Thomas McGrath III wrote: >> >>> So what is the best way to handle this? >>> >>> Is it a fact that the old token will still work?? What about the one >>> before that?? >>> >>> Anyone else have info here. >>> >>> Tom >>> >>> -- Tom McGrath III >>> http://lazyriver.on-rev.com >>> mcgrath3 at mac.com >>> >>> On Nov 11, 2013, at 1:10 PM, Mike Kerner >>> wrote: >>> >>> > I have run into this very problem. No, the token is not forevermore, >>> but >>> > Apple won't tell you when it's changed, and if you reference the old >>> token, >>> > it will still work. >>> > >>> > The most common way that a token gets replaced is when a device gets >>> wiped. >>> > >>> > >>> > On Mon, Nov 11, 2013 at 12:27 PM, Thomas McGrath III >> >wrote: >>> > >>> >> on mouseUp >>> >> put mobileGetDeviceToken() into field "PNSResult" >>> >> put field "PNSResult" into tTest >>> >> put 1 into i >>> >> repeat while i<= the number of characters in tTest >>> >> if char i of tTest is not in "0123456789abcdefABCDEF" >>> then >>> >> delete char i of tTest >>> >> else -- char i of me is hex >>> >> add 1 to i >>> >> end if -- char i is not in..... >>> >> end repeat --while i<= the number of characters in me >>> >> >>> >> if char 1 of tTest is "<" then delete char 1 of tTest >>> >> if last char of tTest is ">" then delete last char of tTest >>> >> put tTest into field ?PNSResult" >>> >> >>> >> end mouseUp >>> >> >>> >> >>> >> SO the token returned from this script from a few weeks ago is >>> different >>> >> than what this returns today.???? wtf?. But more importantly it >>> changed >>> >> from this morning and later this afternoon. I have three different >>> IDs from >>> >> the same device?. >>> >> >>> >> >>> >> Is mobileGetDeviceToken() supposed to be consistent to the device???? >>> No >>> >> matter what???? or When???? >>> >> >>> >> >>> >> Tom >>> >> >>> >> >>> >> >>> >> -- Tom McGrath III >>> >> http://lazyriver.on-rev.com >>> >> mcgrath3 at mac.com >>> >> >>> >> _______________________________________________ >>> >> use-livecode mailing list >>> >> use-livecode at lists.runrev.com >>> >> Please visit this url to subscribe, unsubscribe and manage your >>> >> subscription preferences: >>> >> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >>> > >>> > >>> > >>> > -- >>> > On the first day, God created the heavens and the Earth >>> > On the second day, God created the oceans. >>> > On the third day, God put the animals on hold for a few hours, >>> > and did a little diving. >>> > And God said, "This is good." >>> > _______________________________________________ >>> > use-livecode mailing list >>> > use-livecode at 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 at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> >> >> -- >> On the first day, God created the heavens and the Earth >> On the second day, God created the oceans. >> On the third day, God put the animals on hold for a few hours, >> and did a little diving. >> And God said, "This is good." >> > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From prothero at earthednet.org Wed Nov 20 09:51:29 2013 From: prothero at earthednet.org (Earthednet-wp) Date: Wed, 20 Nov 2013 06:51:29 -0800 Subject: Message Box Functions broke in 6.1.3? In-Reply-To: References: Message-ID: <3C9687A5-89FE-4D97-8080-35874C3A6002@earthednet.org> Chip, If you want the tics to go to the message box, you should take out the put statement and return the ticks. Perhaps the two puts confuse LC. Put foo() Function foo Return the ticks End foo Bill William Prothero http://es.earthednet.org > On Nov 20, 2013, at 6:07 AM, Chipp Walters wrote: > > I did this: > > 1. Create a new stack > 2. put the following in the card script: > > function foo > put the ticks > end foo > > 3. Compiled it (Apply) > 4. Put in msg: > > put foo() > > and the result is: > > Message execution error: > > Error description: Handler: can't find handler > > Hint: foo() > > ??? > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From phil at liverpool.ac.uk Wed Nov 20 09:51:46 2013 From: phil at liverpool.ac.uk (Phil Jimmieson) Date: Wed, 20 Nov 2013 14:51:46 +0000 Subject: Message Box Functions broke in 6.1.3? In-Reply-To: References: Message-ID: <0B0B8AB6-E2F6-4801-B37F-254664EB5D9F@liverpool.ac.uk> At some point in Rev's development you could no longer invoke functions from the message box using "put functionName" - instead you can just type the name of the function. i.e. if you have a handler in one of your scripts: function MakeFilename .. .. end function in the message box just type MakeFilename() and press return. put MakeFilename() does not work. On 20 Nov 2013, at 14:07, Chipp Walters wrote: > I did this: > > 1. Create a new stack > 2. put the following in the card script: > > function foo > put the ticks > end foo > > 3. Compiled it (Apply) > 4. Put in msg: > > put foo() > > and the result is: > > Message execution error: > > Error description: Handler: can't find handler > > Hint: foo() > > ??? > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Phil Jimmieson phil at liverpool.ac.uk (UK) 0151 795 4236 (Mobile) 07976 983164 Computer Science Dept., Liverpool University, Ashton Building, Ashton Street Liverpool L69 3BX http://www.csc.liv.ac.uk/~phil/ I used to sit on a special medical board... ...but now I use this ointment. From mcgrath3 at mac.com Wed Nov 20 09:54:24 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Wed, 20 Nov 2013 09:54:24 -0500 Subject: Push Notification Received Message Message-ID: <9710DE47-0B1E-4862-9174-78EEBC67AC5E@mac.com> I am not getting the actual Push message when the app is open. I get the message when the app is closed just not when its open. on pushNotificationReceived tMessage answer "Push Notification Received:" && quote & tMessage & quote with "Okay" put tMessage into field "PNSResult" end pushNotificationReceived In this case tMessage is empty every time. I get ? Push Notification Received: ?? so it is firing just not getting the message. Can anyone confirm or deny this? Thanks, Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com From prothero at earthednet.org Wed Nov 20 10:06:04 2013 From: prothero at earthednet.org (prothero at earthednet.org) Date: Wed, 20 Nov 2013 07:06:04 -0800 Subject: Message Box Functions broke in 6.1.3? In-Reply-To: <0B0B8AB6-E2F6-4801-B37F-254664EB5D9F@liverpool.ac.uk> References: <0B0B8AB6-E2F6-4801-B37F-254664EB5D9F@liverpool.ac.uk> Message-ID: <08DBFAF4-D448-4A4F-B898-07DFE3AC9A40@earthednet.org> Thanks for the correction, Phil. Kinda an odd quirk, but it truly does work that way. Bill William Prothero http://es.earthednet.org On Nov 20, 2013, at 6:51 AM, Phil Jimmieson wrote: > At some point in Rev's development you could no longer invoke functions from the message box using "put functionName" - instead you can just type the name of the function. > > i.e. if you have a handler in one of your scripts: > > function MakeFilename > .. > .. > end function > > in the message box just type > > MakeFilename() > > and press return. > > put MakeFilename() does not work. > > > On 20 Nov 2013, at 14:07, Chipp Walters wrote: > >> I did this: >> >> 1. Create a new stack >> 2. put the following in the card script: >> >> function foo >> put the ticks >> end foo >> >> 3. Compiled it (Apply) >> 4. Put in msg: >> >> put foo() >> >> and the result is: >> >> Message execution error: >> >> Error description: Handler: can't find handler >> >> Hint: foo() >> >> ??? >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > -- > Phil Jimmieson phil at liverpool.ac.uk (UK) 0151 795 4236 (Mobile) 07976 983164 > Computer Science Dept., Liverpool University, Ashton Building, Ashton Street > Liverpool L69 3BX http://www.csc.liv.ac.uk/~phil/ > I used to sit on a special medical board... ...but now I use this ointment. > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dunbarx at aol.com Wed Nov 20 10:11:02 2013 From: dunbarx at aol.com (dunbarx at aol.com) Date: Wed, 20 Nov 2013 10:11:02 -0500 (EST) Subject: Message Box Functions broke in 6.1.3? In-Reply-To: References: Message-ID: <8D0B419DC668B99-2350-3FDB5@webmail-m246.sysops.aol.com> Chipp. Works fine for me. 6.1.3, OSX 10.5.8 Craig -----Original Message----- From: Chipp Walters To: How to use LiveCode Sent: Wed, Nov 20, 2013 9:07 am Subject: Message Box Functions broke in 6.1.3? I did this: 1. Create a new stack 2. put the following in the card script: function foo put the ticks end foo 3. Compiled it (Apply) 4. Put in msg: put foo() and the result is: Message execution error: Error description: Handler: can't find handler Hint: foo() ??? _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Wed Nov 20 10:16:02 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 20 Nov 2013 10:16:02 -0500 Subject: Push Notification Received Message In-Reply-To: <9710DE47-0B1E-4862-9174-78EEBC67AC5E@mac.com> References: <9710DE47-0B1E-4862-9174-78EEBC67AC5E@mac.com> Message-ID: I filed a bug report on this. I think it's 10901. You will also note that if you open the notification center and tap on a push message, even if your app is open it will process the message as if it was not open. Just an FYI, also see https://developer.apple.com/library/ios/technotes/tn2265/_index.html There are lots of interesting details in there. One of the ones that made my head twist nearly off was the fact that only one message is kept in the queue by Apple in the event of nondelivery - so let's say your app goes off the grid - maybe into airplane mode - and in the interim three messages are sent to your app. Apple recognizes that they were not delivered, but only the last one is held for redelivery when the app comes back online. By the way, thanks again to Neil for working with me on the vagaries of push. On Wed, Nov 20, 2013 at 9:54 AM, Thomas McGrath III wrote: > I am not getting the actual Push message when the app is open. I get the > message when the app is closed just not when its open. > > on pushNotificationReceived tMessage > answer "Push Notification Received:" && quote & tMessage & quote with > "Okay" > put tMessage into field "PNSResult" > end pushNotificationReceived > > In this case tMessage is empty every time. I get ? Push Notification > Received: ?? so it is firing just not getting the message. > > Can anyone confirm or deny this? > > Thanks, > > Tom > > > -- Tom McGrath III > http://lazyriver.on-rev.com > mcgrath3 at mac.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From prothero at earthednet.org Wed Nov 20 10:18:14 2013 From: prothero at earthednet.org (prothero at earthednet.org) Date: Wed, 20 Nov 2013 07:18:14 -0800 Subject: Message Box Functions broke in 6.1.3? In-Reply-To: <8D0B419DC668B99-2350-3FDB5@webmail-m246.sysops.aol.com> References: <8D0B419DC668B99-2350-3FDB5@webmail-m246.sysops.aol.com> Message-ID: <6D8B19EF-75D6-421D-A7D8-496A4B0D88CA@earthednet.org> Craig: Odd, I get the error, OSX10.8.5, LC 6.1.3 I do put myFunction() into the message box. I get the error. If just type myFunction() into the message box, I get the ticks. on myFunction return the ticks end myFunction Odd. Bill William Prothero http://es.earthednet.org On Nov 20, 2013, at 7:11 AM, dunbarx at aol.com wrote: > Chipp. > > > Works fine for me. 6.1.3, OSX 10.5.8 > > > > Craig > > > > > -----Original Message----- > From: Chipp Walters > To: How to use LiveCode > Sent: Wed, Nov 20, 2013 9:07 am > Subject: Message Box Functions broke in 6.1.3? > > > I did this: > > 1. Create a new stack > 2. put the following in the card script: > > function foo > put the ticks > end foo > > 3. Compiled it (Apply) > 4. Put in msg: > > put foo() > > and the result is: > > Message execution error: > > Error description: Handler: can't find handler > > Hint: foo() > > ??? > _______________________________________________ > use-livecode mailing list > use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dunbarx at aol.com Wed Nov 20 10:23:11 2013 From: dunbarx at aol.com (dunbarx at aol.com) Date: Wed, 20 Nov 2013 10:23:11 -0500 (EST) Subject: Message Box Functions broke in 6.1.3? In-Reply-To: <08DBFAF4-D448-4A4F-B898-07DFE3AC9A40@earthednet.org> References: <0B0B8AB6-E2F6-4801-B37F-254664EB5D9F@liverpool.ac.uk> <08DBFAF4-D448-4A4F-B898-07DFE3AC9A40@earthednet.org> Message-ID: <8D0B41B8E8D2A1C-2350-3FF79@webmail-m246.sysops.aol.com> All. Not sure I am getting this. When I first told Chipp it worked for me, I did change his script to: function foo return the ticks end foo and then wrote in msg: answer foo() But if write "put the ticks" (still using "answer" in msg) I get the ticks in msg, and empty in the answer dialog. So it is just that you cannot "put" from msg, but can indeed"answer"? Craig Since -----Original Message----- From: prothero To: How to use LiveCode Sent: Wed, Nov 20, 2013 10:06 am Subject: Re: Message Box Functions broke in 6.1.3? Thanks for the correction, Phil. Kinda an odd quirk, but it truly does work that way. Bill William Prothero http://es.earthednet.org On Nov 20, 2013, at 6:51 AM, Phil Jimmieson wrote: > At some point in Rev's development you could no longer invoke functions from the message box using "put functionName" - instead you can just type the name of the function. > > i.e. if you have a handler in one of your scripts: > > function MakeFilename > .. > .. > end function > > in the message box just type > > MakeFilename() > > and press return. > > put MakeFilename() does not work. > > > On 20 Nov 2013, at 14:07, Chipp Walters wrote: > >> I did this: >> >> 1. Create a new stack >> 2. put the following in the card script: >> >> function foo >> put the ticks >> end foo >> >> 3. Compiled it (Apply) >> 4. Put in msg: >> >> put foo() >> >> and the result is: >> >> Message execution error: >> >> Error description: Handler: can't find handler >> >> Hint: foo() >> >> ??? >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > -- > Phil Jimmieson phil at liverpool.ac.uk (UK) 0151 795 4236 (Mobile) 07976 983164 > Computer Science Dept., Liverpool University, Ashton Building, Ashton Street > Liverpool L69 3BX http://www.csc.liv.ac.uk/~phil/ > I used to sit on a special medical board... ...but now I use this ointment. > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From coiin at verizon.net Wed Nov 20 10:32:58 2013 From: coiin at verizon.net (Colin Holgate) Date: Wed, 20 Nov 2013 10:32:58 -0500 Subject: Message Box Functions broke in 6.1.3? In-Reply-To: <8D0B41B8E8D2A1C-2350-3FF79@webmail-m246.sysops.aol.com> References: <0B0B8AB6-E2F6-4801-B37F-254664EB5D9F@liverpool.ac.uk> <08DBFAF4-D448-4A4F-B898-07DFE3AC9A40@earthednet.org> <8D0B41B8E8D2A1C-2350-3FF79@webmail-m246.sysops.aol.com> Message-ID: <50E1889C-FB17-4B06-93C9-184F7C9BAF7C@verizon.net> You did something different to what was being shown. It does seem that answer works, but put does not. On Nov 20, 2013, at 10:23 AM, dunbarx at aol.com wrote: > >and then wrote in msg: answer foo() From mcgrath3 at mac.com Wed Nov 20 10:42:18 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Wed, 20 Nov 2013 10:42:18 -0500 Subject: Push Notification Received Message In-Reply-To: References: <9710DE47-0B1E-4862-9174-78EEBC67AC5E@mac.com> Message-ID: <7DFE4E84-68F5-4B17-82EA-F1CEF93DF514@mac.com> Thanks Mike, I was looking through the bugs and didn?t find any on this. Also, Do you get the payload after clicking on the Push message in the notification center which then launches your app? I don?t get the message either way. Soooo, does this mean that No One that is using Push Notifications in their apps are receiving the payload while the app is open OR after the Push is selected in the notification center to launch the app? None? Thanks again, Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com On Nov 20, 2013, at 10:16 AM, Mike Kerner wrote: > I filed a bug report on this. I think it's 10901. You will also note that > if you open the notification center and tap on a push message, even if your > app is open it will process the message as if it was not open. > > Just an FYI, also see > https://developer.apple.com/library/ios/technotes/tn2265/_index.html > There are lots of interesting details in there. One of the ones that made > my head twist nearly off was the fact that only one message is kept in the > queue by Apple in the event of nondelivery - so let's say your app goes off > the grid - maybe into airplane mode - and in the interim three messages are > sent to your app. Apple recognizes that they were not delivered, but only > the last one is held for redelivery when the app comes back online. > > By the way, thanks again to Neil for working with me on the vagaries of > push. > > > On Wed, Nov 20, 2013 at 9:54 AM, Thomas McGrath III wrote: > >> I am not getting the actual Push message when the app is open. I get the >> message when the app is closed just not when its open. >> >> on pushNotificationReceived tMessage >> answer "Push Notification Received:" && quote & tMessage & quote with >> "Okay" >> put tMessage into field "PNSResult" >> end pushNotificationReceived >> >> In this case tMessage is empty every time. I get ? Push Notification >> Received: ?? so it is firing just not getting the message. >> >> Can anyone confirm or deny this? >> >> Thanks, >> >> Tom >> >> >> -- Tom McGrath III >> http://lazyriver.on-rev.com >> mcgrath3 at mac.com >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From MikeKerner at roadrunner.com Wed Nov 20 10:50:33 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 20 Nov 2013 10:50:33 -0500 Subject: Push Notification Received Message In-Reply-To: <7DFE4E84-68F5-4B17-82EA-F1CEF93DF514@mac.com> References: <9710DE47-0B1E-4862-9174-78EEBC67AC5E@mac.com> <7DFE4E84-68F5-4B17-82EA-F1CEF93DF514@mac.com> Message-ID: not yet. On Wed, Nov 20, 2013 at 10:42 AM, Thomas McGrath III wrote: > Thanks Mike, I was looking through the bugs and didn?t find any on this. > Also, Do you get the payload after clicking on the Push message in the > notification center which then launches your app? I don?t get the message > either way. > > > > Soooo, does this mean that No One that is using Push Notifications in > their apps are receiving the payload while the app is open OR after the > Push is selected in the notification center to launch the app? None? > > > Thanks again, > > Tom > > -- Tom McGrath III > http://lazyriver.on-rev.com > mcgrath3 at mac.com > > On Nov 20, 2013, at 10:16 AM, Mike Kerner > wrote: > > > I filed a bug report on this. I think it's 10901. You will also note > that > > if you open the notification center and tap on a push message, even if > your > > app is open it will process the message as if it was not open. > > > > Just an FYI, also see > > https://developer.apple.com/library/ios/technotes/tn2265/_index.html > > There are lots of interesting details in there. One of the ones that > made > > my head twist nearly off was the fact that only one message is kept in > the > > queue by Apple in the event of nondelivery - so let's say your app goes > off > > the grid - maybe into airplane mode - and in the interim three messages > are > > sent to your app. Apple recognizes that they were not delivered, but > only > > the last one is held for redelivery when the app comes back online. > > > > By the way, thanks again to Neil for working with me on the vagaries of > > push. > > > > > > On Wed, Nov 20, 2013 at 9:54 AM, Thomas McGrath III >wrote: > > > >> I am not getting the actual Push message when the app is open. I get the > >> message when the app is closed just not when its open. > >> > >> on pushNotificationReceived tMessage > >> answer "Push Notification Received:" && quote & tMessage & quote > with > >> "Okay" > >> put tMessage into field "PNSResult" > >> end pushNotificationReceived > >> > >> In this case tMessage is empty every time. I get ? Push Notification > >> Received: ?? so it is firing just not getting the message. > >> > >> Can anyone confirm or deny this? > >> > >> Thanks, > >> > >> Tom > >> > >> > >> -- Tom McGrath III > >> http://lazyriver.on-rev.com > >> mcgrath3 at mac.com > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > > > > > > > -- > > On the first day, God created the heavens and the Earth > > On the second day, God created the oceans. > > On the third day, God put the animals on hold for a few hours, > > and did a little diving. > > And God said, "This is good." > > _______________________________________________ > > use-livecode mailing list > > use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From MikeKerner at roadrunner.com Wed Nov 20 10:52:39 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 20 Nov 2013 10:52:39 -0500 Subject: Push Notification Received Message In-Reply-To: References: <9710DE47-0B1E-4862-9174-78EEBC67AC5E@mac.com> <7DFE4E84-68F5-4B17-82EA-F1CEF93DF514@mac.com> Message-ID: But I believe that is incorrect - I can't test it right now, but I believe that the payload is delivered if your app is closed or if you tap on the message in the notification center. I eventually took to not using the payload until LC fixes this problem. On Wed, Nov 20, 2013 at 10:50 AM, Mike Kerner wrote: > not yet. > > > On Wed, Nov 20, 2013 at 10:42 AM, Thomas McGrath III wrote: > >> Thanks Mike, I was looking through the bugs and didn?t find any on this. >> Also, Do you get the payload after clicking on the Push message in the >> notification center which then launches your app? I don?t get the message >> either way. >> >> >> >> Soooo, does this mean that No One that is using Push Notifications in >> their apps are receiving the payload while the app is open OR after the >> Push is selected in the notification center to launch the app? None? >> >> >> Thanks again, >> >> Tom >> >> -- Tom McGrath III >> http://lazyriver.on-rev.com >> mcgrath3 at mac.com >> >> On Nov 20, 2013, at 10:16 AM, Mike Kerner >> wrote: >> >> > I filed a bug report on this. I think it's 10901. You will also note >> that >> > if you open the notification center and tap on a push message, even if >> your >> > app is open it will process the message as if it was not open. >> > >> > Just an FYI, also see >> > https://developer.apple.com/library/ios/technotes/tn2265/_index.html >> > There are lots of interesting details in there. One of the ones that >> made >> > my head twist nearly off was the fact that only one message is kept in >> the >> > queue by Apple in the event of nondelivery - so let's say your app goes >> off >> > the grid - maybe into airplane mode - and in the interim three messages >> are >> > sent to your app. Apple recognizes that they were not delivered, but >> only >> > the last one is held for redelivery when the app comes back online. >> > >> > By the way, thanks again to Neil for working with me on the vagaries of >> > push. >> > >> > >> > On Wed, Nov 20, 2013 at 9:54 AM, Thomas McGrath III > >wrote: >> > >> >> I am not getting the actual Push message when the app is open. I get >> the >> >> message when the app is closed just not when its open. >> >> >> >> on pushNotificationReceived tMessage >> >> answer "Push Notification Received:" && quote & tMessage & quote >> with >> >> "Okay" >> >> put tMessage into field "PNSResult" >> >> end pushNotificationReceived >> >> >> >> In this case tMessage is empty every time. I get ? Push Notification >> >> Received: ?? so it is firing just not getting the message. >> >> >> >> Can anyone confirm or deny this? >> >> >> >> Thanks, >> >> >> >> Tom >> >> >> >> >> >> -- Tom McGrath III >> >> http://lazyriver.on-rev.com >> >> mcgrath3 at mac.com >> >> >> >> _______________________________________________ >> >> use-livecode mailing list >> >> use-livecode at lists.runrev.com >> >> Please visit this url to subscribe, unsubscribe and manage your >> >> subscription preferences: >> >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> > >> > >> > >> > -- >> > On the first day, God created the heavens and the Earth >> > On the second day, God created the oceans. >> > On the third day, God put the animals on hold for a few hours, >> > and did a little diving. >> > And God said, "This is good." >> > _______________________________________________ >> > use-livecode mailing list >> > use-livecode at 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 at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From rjb at robelko.com Wed Nov 20 10:46:05 2013 From: rjb at robelko.com (Robert Brenstein) Date: Wed, 20 Nov 2013 16:46:05 +0100 Subject: open a Broken Stack In-Reply-To: <67116DB20798A94285EEE12A67079A283263321E@MHSEXC02.westrac.com.au> References: <67116DB20798A94285EEE12A67079A2832633188@MHSEXC02.westrac.com.au> <528C42D8.9030404@fourthworld.com> <67116DB20798A94285EEE12A67079A283263321E@MHSEXC02.westrac.com.au> Message-ID: >True file corruption is extremely rare in LC. If you're fairly certain >your video was only referenced in a player and not imported, yet the >stack size ballooned to 60 MBs and is now throwing an error, you might >send that to support @ runrev.com so they can hopefully determine the >root cause of the issue. > >In the meantime, while they're exploring that it sounds like you'll have >to go back to your most recent backup. It may be worth opening the file in some text editor and see whether it is still a stack. May be name confusion is deeper than just file names. RObert From devin_asay at byu.edu Wed Nov 20 11:21:29 2013 From: devin_asay at byu.edu (Devin Asay) Date: Wed, 20 Nov 2013 16:21:29 +0000 Subject: Message Box Functions broke in 6.1.3? In-Reply-To: References: Message-ID: Hi Chipp, On Nov 20, 2013, at 7:07 AM, Chipp Walters wrote: > I did this: > > 1. Create a new stack > 2. put the following in the card script: > > function foo > put the ticks > end foo > > 3. Compiled it (Apply) > 4. Put in msg: > > put foo() > > and the result is: > > Message execution error: > > Error description: Handler: can't find handler > > Hint: foo() This is a known bug that cropped up in 6.1.1. See http://quality.runrev.com/show_bug.cgi?id=11286 The workaround is to omit the 'put' when calling a function from the message box. Annoying after 25 years of being able to 'put foo() in the message box. :-/ Devin Devin Asay Learn to code with LiveCode University http://university.livecode.com From gcanyon at gmail.com Wed Nov 20 11:39:59 2013 From: gcanyon at gmail.com (Geoff Canyon) Date: Wed, 20 Nov 2013 10:39:59 -0600 Subject: Is there a reasonable way to use numbers smaller than about 10^-6 Message-ID: I'm calculating gravity across long and short distances. That means I need to deal with the gravity of Earth (~9.8 m/s/s) and Europa (~10^-11 m/s/s) at the same time, and it can get worse than that (Sedna, for example) Ordinary math seems to peter out at 0.000001. This puts 8.100e-13: put format("%1.3e", (1e0)/(1234567890123e0)) So is something like that the best way to go? gc From pete at lcsql.com Wed Nov 20 11:51:29 2013 From: pete at lcsql.com (Peter Haworth) Date: Wed, 20 Nov 2013 08:51:29 -0800 Subject: open a Broken Stack In-Reply-To: References: <67116DB20798A94285EEE12A67079A2832633188@MHSEXC02.westrac.com.au> <528C42D8.9030404@fourthworld.com> <67116DB20798A94285EEE12A67079A283263321E@MHSEXC02.westrac.com.au> Message-ID: Not sure if this will help in this case, but you could try enabling "Suppress Messages" on the Development menu before opening the stack. Pete lcSQL Software On Wed, Nov 20, 2013 at 7:46 AM, Robert Brenstein wrote: > True file corruption is extremely rare in LC. If you're fairly certain >> your video was only referenced in a player and not imported, yet the >> stack size ballooned to 60 MBs and is now throwing an error, you might >> send that to support @ runrev.com so they can hopefully determine the >> root cause of the issue. >> >> In the meantime, while they're exploring that it sounds like you'll have >> to go back to your most recent backup. >> > > It may be worth opening the file in some text editor and see whether it is > still a stack. May be name confusion is deeper than just file names. > > RObert > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From richmondmathewson at gmail.com Wed Nov 20 11:53:01 2013 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 20 Nov 2013 18:53:01 +0200 Subject: Is there a reasonable way to use numbers smaller than about 10^-6 In-Reply-To: References: Message-ID: <528CE8ED.8080100@gmail.com> On 20.11.2013 18:39, Geoff Canyon wrote: > I'm calculating gravity across long and short distances. That means I need > to deal with the gravity of Earth (~9.8 m/s/s) and Europa (~10^-11 m/s/s) > at the same time, and it can get worse than that (Sedna, for example) Yeah, Yeah, yeah; and we ALL know what 'Sedna' is, don't we? (that's a tag question, grammar fans). Anything beyond Neptune is generally beyond my ken. Richmond. > Ordinary math seems to peter out at 0.000001. > > This puts 8.100e-13: put format("%1.3e", (1e0)/(1234567890123e0)) > > So is something like that the best way to go? > > gc > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From prothero at earthednet.org Wed Nov 20 12:05:05 2013 From: prothero at earthednet.org (Earthednet-wp) Date: Wed, 20 Nov 2013 09:05:05 -0800 Subject: Is there a reasonable way to use numbers smaller than about 10^-6 In-Reply-To: <528CE8ED.8080100@gmail.com> References: <528CE8ED.8080100@gmail.com> Message-ID: FYI, You may have heard a lot about dwarf planets recently. This new category of celestial bodies was the result of a debate caused by the discovery of Eris. Sedna, discovered in 2003 and also known as 2003 VB12, is most likely a dwarf planet. One reason why astronomers are reluctant to definitively place it in that category is because it is so far away that it is difficult to observe. The object is 90 astronomical units (AU) from the Sun ? an astronomical unit is the distance from the Earth to the Sun, which is approximately 93 million miles. Sedna does have a highly elliptical orbit, which means that it ranges from 76 AU to 975 AU. Read more: http://www.universetoday.com/37479/dwarf-planet-sedna/#ixzz2lCr0zekw William Prothero http://es.earthednet.org > On Nov 20, 2013, at 8:53 AM, Richmond wrote: > >> On 20.11.2013 18:39, Geoff Canyon wrote: >> I'm calculating gravity across long and short distances. That means I need >> to deal with the gravity of Earth (~9.8 m/s/s) and Europa (~10^-11 m/s/s) >> at the same time, and it can get worse than that (Sedna, for example) > > Yeah, Yeah, yeah; and we ALL know what 'Sedna' is, don't we? (that's a tag question, grammar fans). > > Anything beyond Neptune is generally beyond my ken. > > Richmond. > >> Ordinary math seems to peter out at 0.000001. >> >> This puts 8.100e-13: put format("%1.3e", (1e0)/(1234567890123e0)) >> >> So is something like that the best way to go? >> >> gc >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mwieder at ahsoftware.net Wed Nov 20 12:09:14 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 20 Nov 2013 09:09:14 -0800 Subject: Message Box Functions broke in 6.1.3? In-Reply-To: References: Message-ID: <69165635756.20131120090914@ahsoftware.net> Devin- Wednesday, November 20, 2013, 8:21:29 AM, you wrote: > This is a known bug that cropped up in 6.1.1. See > http://quality.runrev.com/show_bug.cgi?id=11286 ...and the fix is written up in the bug report. Just waiting for the team to get around to implementing it. Unfortunately, the IDE itself hasn't yet become an open-source project. -- -Mark Wieder ahsoftware at gmail.com From jhurley0305 at sbcglobal.net Wed Nov 20 12:33:58 2013 From: jhurley0305 at sbcglobal.net (Jim Hurley) Date: Wed, 20 Nov 2013 09:33:58 -0800 Subject: Launching Preview In-Reply-To: References: Message-ID: <4513B08F-DEF1-49B8-A3F1-9D42A597B4C3@sbcglobal.net> I am trying to launch a snapshot of a group in Preview. Right now I am using: case "Print" put specialFolderPath("desktop") & "/exported.png" into theFilePath export snapshot from theGroup to file theFilePath as PNG launch document theFilePath --On the Mac, the default launch for a PNG is Preview break end switch I'm not sure where I got this--someone in this group, no doubt. Thank you, whoever you were. But I may be using this at a local school, using school computers. So I was wondering whether it would be possible to do this without creating a file on the school's disk. For example: case "Print" export snapshot from theGroup to tempVariable as PNG launch ??? tempVariable break end switch Thanks, Jim Hurley From dunbarx at aol.com Wed Nov 20 12:58:27 2013 From: dunbarx at aol.com (dunbarx at aol.com) Date: Wed, 20 Nov 2013 12:58:27 -0500 (EST) Subject: Color Madness Message-ID: <8D0B4313EDE4031-2350-419CE@webmail-m246.sysops.aol.com> Tried this on the forum. Only Simon loves me. Experimenting with a simple gadget to help a new user, I made two largish square buttons, and set the backColor of btn 2 to any old color. I put this into the card script: on mouseMove get the rect of btn 1 put the mouseV into item 2 of it if the mouseloc is within the rect of btn 1 and the mouse is down then set the rect of btn 2 to it end mouseMove Not rocket science, button 2 "fills" or "empties" btn 1 when you click and drag inside btn1. But the when I move the cursor in a downward direction, the backcolor of btn 2 changes to dark purple. It displays the prescribed color just fine on the way up. If I clear the color of btn 2, same thing, basically, clear going up, purple going down.. If I start with two brand new rectangular buttons, not setting any color, there is no such effect. As soon as I set any backColor in btn 2, though, this odd effect appears. I tried: on mouseEnter set the backColor of btn 2 to "113,115,23" --arbitrary RGB end mouseEnter on mouseMove get the rect of btn 1 put the mouseV into item 2 of it if the mouseloc is within the rect of btn 1 and the mouse is down then put the backColor of btn 2 -- to monitor while moving set the rect of btn 2 to it end if end mouseMove The initital setting ("113,115,23") is shown in msg going both up and down, so LC seems not to know about the change. The purple "down" color seems to be overlaid on, not substituted for, the initial color. This can be seen if you try different starting colors. The purple "down" overlay mixes differently with any initial color choice. --------- AHA. Found out that if the cursor touches btn 2, the purple thing appears. if it does not, normal colors. In my test, the mouseV and the top of btn 2 are coincident. If I have the cursor ride just above the top of btn 2, back to normal colors in both directions. Seems like a bug to me, and an odd one at that. LC 6.1.3, Mac OS 10.6. Craig Newman From roger.e.eller at sealedair.com Wed Nov 20 13:00:18 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Wed, 20 Nov 2013 13:00:18 -0500 Subject: Launching Preview In-Reply-To: <4513B08F-DEF1-49B8-A3F1-9D42A597B4C3@sbcglobal.net> References: <4513B08F-DEF1-49B8-A3F1-9D42A597B4C3@sbcglobal.net> Message-ID: on mouseUp put "tell application" && quote & "System Events" & quote && "to keystroke" && quote & "n" & quote && "using {command down}" into tAppleScript export snapshot from grp "theGroup" to tempVariable as PNG set the clipboardData["image"] to tempVariable launch "Preview.app" do tAppleScript as AppleScript end mouseUp ~Roger On Wed, Nov 20, 2013 at 12:33 PM, Jim Hurley wrote: > I am trying to launch a snapshot of a group in Preview. > > Right now I am using: > > case "Print" > put specialFolderPath("desktop") & "/exported.png" into > theFilePath > export snapshot from theGroup to file theFilePath as PNG > launch document theFilePath --On the Mac, the default launch for > a PNG is Preview > break > end switch > > I'm not sure where I got this--someone in this group, no doubt. Thank you, > whoever you were. > > But I may be using this at a local school, using school computers. > So I was wondering whether it would be possible to do this without > creating a file on the school's disk. For example: > > case "Print" > export snapshot from theGroup to tempVariable as PNG > launch ??? tempVariable > break > end switch > > Thanks, > > Jim Hurley > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From roger.e.eller at sealedair.com Wed Nov 20 13:05:05 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Wed, 20 Nov 2013 13:05:05 -0500 Subject: Launching Preview In-Reply-To: References: <4513B08F-DEF1-49B8-A3F1-9D42A597B4C3@sbcglobal.net> Message-ID: Oops. Only works if Preview is already open. Probably needs the full path. On Wed, Nov 20, 2013 at 1:00 PM, Roger Eller wrote: > on mouseUp > put "tell application" && quote & "System Events" & quote && "to > keystroke" && quote & "n" & quote && "using {command down}" into > tAppleScript > export snapshot from grp "theGroup" to tempVariable as PNG > set the clipboardData["image"] to tempVariable > launch "Preview.app" > do tAppleScript as AppleScript > end mouseUp > > ~Roger > > On Wed, Nov 20, 2013 at 12:33 PM, Jim Hurley wrote: > >> I am trying to launch a snapshot of a group in Preview. >> >> Right now I am using: >> >> case "Print" >> put specialFolderPath("desktop") & "/exported.png" into >> theFilePath >> export snapshot from theGroup to file theFilePath as PNG >> launch document theFilePath --On the Mac, the default launch >> for a PNG is Preview >> break >> end switch >> >> I'm not sure where I got this--someone in this group, no doubt. Thank >> you, whoever you were. >> >> But I may be using this at a local school, using school computers. >> So I was wondering whether it would be possible to do this without >> creating a file on the school's disk. For example: >> >> case "Print" >> export snapshot from theGroup to tempVariable as PNG >> launch ??? tempVariable >> break >> end switch >> >> Thanks, >> >> Jim Hurley >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > From roger.e.eller at sealedair.com Wed Nov 20 13:13:29 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Wed, 20 Nov 2013 13:13:29 -0500 Subject: Launching Preview In-Reply-To: References: <4513B08F-DEF1-49B8-A3F1-9D42A597B4C3@sbcglobal.net> Message-ID: Ok, this one works, and it doesn't matter if Preview is already open. on mouseUp put "tell application" && quote & "System Events" & quote && "to keystroke" && quote & "n" & quote && "using {command down}" into tAppleScript export snapshot from grp "theGroup" to tempVariable as PNG set the clipboardData["image"] to tempVariable launch "Preview.app" do "tell Preview" & cr & "end tell" as AppleScrpt -- focus on Preview do tAppleScript as AppleScript -- Apple-N (New from Clipboard) end mouseUp ~Roger >> On Wed, Nov 20, 2013 at 12:33 PM, Jim Hurley wrote: >> >>> I am trying to launch a snapshot of a group in Preview. >>> >>> Right now I am using: >>> >>> case "Print" >>> put specialFolderPath("desktop") & "/exported.png" into >>> theFilePath >>> export snapshot from theGroup to file theFilePath as PNG >>> launch document theFilePath --On the Mac, the default launch >>> for a PNG is Preview >>> break >>> end switch >>> >>> I'm not sure where I got this--someone in this group, no doubt. Thank >>> you, whoever you were. >>> >>> But I may be using this at a local school, using school computers. >>> So I was wondering whether it would be possible to do this without >>> creating a file on the school's disk. For example: >>> >>> case "Print" >>> export snapshot from theGroup to tempVariable as PNG >>> launch ??? tempVariable >>> break >>> end switch >>> >>> Thanks, >>> >>> Jim Hurley >>> >>> From gcanyon at gmail.com Wed Nov 20 13:21:38 2013 From: gcanyon at gmail.com (Geoff Canyon) Date: Wed, 20 Nov 2013 12:21:38 -0600 Subject: Is there a reasonable way to use numbers smaller than about 10^-6 In-Reply-To: <528CE8ED.8080100@gmail.com> References: <528CE8ED.8080100@gmail.com> Message-ID: On Wed, Nov 20, 2013 at 10:53 AM, Richmond wrote: > > Ordinary math seems to peter out at 0.000001. >> >> This puts 8.100e-13: put format("%1.3e", (1e0)/(1234567890123e0)) >> >> So is something like that the best way to go? >> > My plan so far is just to do the math. If the result is 0, then increase my timescale by 100,000 and try again. (and repeat as necessary) That way when there is something overwhelming nearby, extremely distant/small objects will have 0 effect, but if there is nothing nearby/large, then smaller/farther objects will be applied across timescales that work for them. From irog at mac.com Wed Nov 20 13:28:00 2013 From: irog at mac.com (Roger Guay) Date: Wed, 20 Nov 2013 10:28:00 -0800 Subject: Is there a reasonable way to use numbers smaller than about 10^-6 In-Reply-To: References: <528CE8ED.8080100@gmail.com> Message-ID: <0D6D69ED-7C07-4EC3-961F-46ACD1488AE7@mac.com> This sounds very interesting, Geoff. Sure would like to know what you?re up to?. Roger On Nov 20, 2013, at 10:21 AM, Geoff Canyon wrote: > On Wed, Nov 20, 2013 at 10:53 AM, Richmond wrote: > >> >> Ordinary math seems to peter out at 0.000001. >>> >>> This puts 8.100e-13: put format("%1.3e", (1e0)/(1234567890123e0)) >>> >>> So is something like that the best way to go? >>> >> > My plan so far is just to do the math. If the result is 0, then increase my > timescale by 100,000 and try again. (and repeat as necessary) That way when > there is something overwhelming nearby, extremely distant/small objects > will have 0 effect, but if there is nothing nearby/large, then > smaller/farther objects will be applied across timescales that work for > them. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ben at runrev.com Wed Nov 20 13:38:48 2013 From: ben at runrev.com (Benjamin Beaumont) Date: Wed, 20 Nov 2013 18:38:48 +0000 Subject: RELEASE: LiveCode 6.5 RC6 Message-ID: Dear List Members, We are pleased to announce the release of LiveCode 6.5 RC6 *Warning*, there still may be bugs in this pre-release. It is always good practice to back up your stacks before testing. *Release Contents* Full screen scaling mode. Improved image editing tools. Server graphics support PCRE library updated to version 8.33 libUrlSetSSLVerification now supported on mobile platforms Resolution Independence New global property colorDialogColors Integration of revFont external Enhanced \'filter\' command Text Measurement The optional *recursively* adverb has been added to union and intersect commands Xpath functions 60 bug fixes: 11476 - Freeze when drawing certain gradients 11472 - Linux \"Open Stack...\" dialog does not show \"All Files\" option. 11471 - Loss of quality for certain gradient types 11470 - Regular polygons with a line size greater than 1 clip 11469 - Ovals are filled incorrectly when using startAngle/arcAngle 11464 - Fix crash when printing an RLE-encoded image on OSX 11457 - Antialised single point lines draw across pixels 11456 - OS X tab buttons clip for certain text sizes 11445 - Fix image scaling with \"best\" resizequality rounding scale factors down to integer values. 11444 - Odd letter spacing in text when rendered in certain fonts at certain sizes. 10485 - Take account of keyboard visibility in Android \"effective working screenrect\". Notify engine of changes to keyboard visibility. 11436 - Standalone builder still has option for Armv6 iOS builds 11426 - When drawing opaque round rectangles the fill overlaps the stroke 11422 - Multiply blend mode incorrect 11415 - Random issues with text layout and alignment. 11413 - Text clipped vertically on iOS for certain fonts (updated fix for iOS 6) 11320 - Player rect not adjusted by stack scroll when redrawing on OSX 11197 - Crash when attempting to print to file on linux. 11397 - Imagedata of resized images returned at wrong scale 11393 - Fullscreen modes cause clipped text on Windows 11390 - Fix incorrect cropping of resized image 11389 - Dashed borders on oval grapgics do not start at the correct location 11388 - 1 pixel non-antialiased lines draw incorrectly in certain circumstances 11360 - Linux themeing does not correctly work on non 32bit displays 11355 - Focus border on Windows default button has artefacts. 10508 - Printing text to PDF on Windows can result in poor layout. 11367 - Gradient inspector does not draw fully 11359 - Redraw issues with inner glow and inner shadow. 11351 - \"recursively\" option for array union and intersect not working. 11349 - Content outside of card rect can be seen in show all fullscreenmode when acceleratedRendering is true. 11338 - Character backColor not rendered in fields. 11336 - The fullscreenModes are now camel-case. 11335 - In fullscreen mode on Mac, the window resize handle still appears. 11332 - Text not rendered in correct location in -ui mode when taking snapshot of object. 11330 - Visual effects not displayed correctly on iOS when fullscreenmode is \'no border\', and stack extends outside of the visible screen. 11329 - Dynamic layers do not render correctly when fullscreenmode causes stack to not be at top-left of screen. 11327 - Opening large scripts takes longer in 6.5 than 6.1.2 11325 - Graphic effects rendered incorrectly when non-Normal blend mode used. 11324 - Borders still rendered even if borderWidth == 0. 11315 - Instability of LiveCode when gradients are being / have been displayed. 11314 - Image transparency is lost when setting the imagedata 11299 - Answer folder for XCode app bundle has a typo 11198 - Fix color issues on PowerPC Mac 11174 - Conical spiral XY and sqrtXY gradients render incorrectly. 11310 - Italic fonts clipped on right hand side on iOS 11309 - Text clips for certain fonts on Mac 11297 - Setting the color of a graphic effect resets its opacity 11283 - Italic fonts are not rendered on Mac. 11280 - Project browser does not expand cards of substacks 11241 - Non-3D borders are always black. 11227 - Android native controls are positioned incorrectly. 11221 - Field background pattern not working. 11179 - Images with an angle other than 0 are not drawn. 11178 - Import from paint always fails. 11176 - MouseDoubleUp messages are not sent on Linux. 10995 - Standalones now set default font settings the same as the IDE. 10980 - Setting the filename of an image which already has a filename causes the property to be unset and \'could not load image\' in the result. 10977 - Setting the image filename to empty unsets the image text and vice-versa 10964 - Inconsistent rounding of floating point values. 6720 - Scrollbar properties not returned in correct format. *Getting this release* To upgrade to this release please select "check for updates" from the help menu in LiveCode or download the installers directly at: http://downloads.livecode.com/livecode/6_5_0/ Warm regards, The LiveCode Team _____________________________________________ Benjamin Beaumont . RunRev Ltd LiveCode Product Manager mail : 25a Thistle Street Lane South West, Edinburgh, EH2 1EW email : ben at runrev.com company : +44(0) 845 219 89 23 fax : +44(0) 845 458 8487 web : www.runrev.com LiveCode - Programming made simple From ambassador at fourthworld.com Wed Nov 20 13:44:06 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 20 Nov 2013 10:44:06 -0800 Subject: RELEASE: LiveCode 6.5 RC6 In-Reply-To: References: Message-ID: <528D02F6.8050005@fourthworld.com> Benjamin Beaumont wrote: > We are pleased to announce the release of LiveCode 6.5 RC6 The frequency of releases is impressive, but also perhaps fatiguing for us testers. Wasn't RC 5 released only yesterday? Can you help us understand what factors determine when a given batch of progress warrants a new RC release? Thanks - -- 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 From cmsheffield at icloud.com Wed Nov 20 13:44:57 2013 From: cmsheffield at icloud.com (Chris Sheffield) Date: Wed, 20 Nov 2013 11:44:57 -0700 Subject: submitting iOS app built with LC 6.1.3 Message-ID: Wondering if anyone else has run into this. I just tried submitting an app to the App Store via Application Loader. Everything went smoothly except after the upload was complete, I received a warning that my bundle was missing iOS 7-sized icons. However, the image files are in place. The proper settings are set in Standalone Settings and I double-checked my built app bundle to make sure they?re there and they are. Has anyone seen this? Just wondering if I should be overly concerned or not. Like I said, it was just a warning and the submission seems to have gone through okay and the app?s status has changed to ?waiting for review?. Thanks, Chris -- Chris Sheffield Read Naturally, Inc. www.readnaturally.com From ray at linkit.com Wed Nov 20 14:03:03 2013 From: ray at linkit.com (Ray) Date: Wed, 20 Nov 2013 14:03:03 -0500 Subject: Disallow Editing Specified Cells in a Datagrid In-Reply-To: References: Message-ID: <528D0767.7090200@LinkIt.Com> Does anybody have a way to disallow double clicking specified cells in a datagrid to edit them while continuing to allow the majority of cells to be edited? I'm currently catching the preOpenFieldEditor message and then sending my own handler which discontinues field editing after it has begun, but by that time the user has already opened the cell editing field. This looks shabby (when I close it back up) and it might not work well on slower processors. I'd prefer to not let the editing process get started in the first place. Thanks, Ray Horsley LinkIt! Software From pete at lcsql.com Wed Nov 20 14:11:49 2013 From: pete at lcsql.com (Peter Haworth) Date: Wed, 20 Nov 2013 11:11:49 -0800 Subject: RELEASE: LiveCode 6.5 RC6 In-Reply-To: <528D02F6.8050005@fourthworld.com> References: <528D02F6.8050005@fourthworld.com> Message-ID: I agree. It would also be useful to detail the changes between the two release instead of a complete list of the changes since the previous released version. Pete lcSQL Software On Wed, Nov 20, 2013 at 10:44 AM, Richard Gaskin wrote: > Benjamin Beaumont wrote: > > We are pleased to announce the release of LiveCode 6.5 RC6 >> > > The frequency of releases is impressive, but also perhaps fatiguing for us > testers. Wasn't RC 5 released only yesterday? > > Can you help us understand what factors determine when a given batch of > progress warrants a new RC release? > > Thanks - > > -- > 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From MikeKerner at roadrunner.com Wed Nov 20 14:21:03 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Wed, 20 Nov 2013 14:21:03 -0500 Subject: RELEASE: LiveCode 6.5 RC6 In-Reply-To: References: <528D02F6.8050005@fourthworld.com> Message-ID: So do you guys want them to do what most other companies do, namely have a beta mail that you have to sign up for? I can guess what RC6 does - it fixes the bug that was causing fails yesterday in RC5. I beta test a variety of software products. It is not unusual for some of them to have multiple releases per day sometimes. On Wed, Nov 20, 2013 at 2:11 PM, Peter Haworth wrote: > I agree. It would also be useful to detail the changes between the two > release instead of a complete list of the changes since the previous > released version. > > Pete > lcSQL Software > > > On Wed, Nov 20, 2013 at 10:44 AM, Richard Gaskin < > ambassador at fourthworld.com > > wrote: > > > Benjamin Beaumont wrote: > > > > We are pleased to announce the release of LiveCode 6.5 RC6 > >> > > > > The frequency of releases is impressive, but also perhaps fatiguing for > us > > testers. Wasn't RC 5 released only yesterday? > > > > Can you help us understand what factors determine when a given batch of > > progress warrants a new RC release? > > > > Thanks - > > > > -- > > 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From mwieder at ahsoftware.net Wed Nov 20 14:20:18 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 20 Nov 2013 11:20:18 -0800 Subject: RELEASE: LiveCode 6.5 RC6 In-Reply-To: References: <528D02F6.8050005@fourthworld.com> Message-ID: <119173499861.20131120112018@ahsoftware.net> Pete- Wednesday, November 20, 2013, 11:11:49 AM, you wrote: > I agree. It would also be useful to detail the changes between the two > release instead of a complete list of the changes since the previous > released version. I'm actually quite happy with a nightly build release schedule. But yes, a delta document showing the changes since the last release would be more useful as a build announcement than a laundry list. -- -Mark Wieder ahsoftware at gmail.com From pete at lcsql.com Wed Nov 20 14:24:57 2013 From: pete at lcsql.com (Peter Haworth) Date: Wed, 20 Nov 2013 11:24:57 -0800 Subject: Differentiating a substack from a mainstack Message-ID: I need to detect whether a newly created stack is a main stack or a substack. I am using an openStack front script handler to try to figure this out (have also used a newStack handler) to check the stack name against its mainstack property but it appears that when creating a substack, its mainstack is set to its own name when the openStack/newStack message is sent. Any thoughts on how to figure out this seemingly simple piece of information? On a related note, the hidden property of both a main and substack is true during newStack and openStack, yet the dictionary claims that openStack is sent after a stack is visible. Pete lcSQL Software From ambassador at fourthworld.com Wed Nov 20 14:28:37 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 20 Nov 2013 11:28:37 -0800 Subject: RELEASE: LiveCode 6.5 RC6 In-Reply-To: References: Message-ID: <528D0D65.9040709@fourthworld.com> Mike Kerner wrote: > So do you guys want them to do what most other companies do, namely have a > beta mail that you have to sign up for? > > I can guess what RC6 does - it fixes the bug that was causing fails > yesterday in RC5. > > I beta test a variety of software products. It is not unusual for some of > them to have multiple releases per day sometimes. I have no problem with frequent releases. Nightly builds are a common and growing practice with agile companies, and in many ways it's very encouraging to see RunRev deploy quickly. But with RCs we see quite a variance, sometimes weeks and sometimes hours, and it would be helpful to know if perhaps there were serious data-loss issues or other factors which determine when there are shorter intervals between releases. -- 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 From paulhibbert at mac.com Wed Nov 20 14:30:08 2013 From: paulhibbert at mac.com (Paul Hibbert) Date: Wed, 20 Nov 2013 11:30:08 -0800 Subject: RELEASE: LiveCode 6.5 RC6 In-Reply-To: References: <528D02F6.8050005@fourthworld.com> Message-ID: <721FF677-E617-4688-9F8B-75E341D07968@mac.com> It's pretty easy to see now RR are providing the release PDFs in the same folder. I just opened the PDF first then went straight to the "Specific Bug Fixes (6.5.0-rc-6)" link in the index and it took me straight to this section, there I could see that this release overcomes the problem with gradients, hopefully this should avoid the crash with lcTasklist, so now I know it's worth me downloading to try, I don't use Linux, that was the only other specific bug fix, but if it was the only fix I wouldn't have bothered downloading the update. Paul On 2013-11-20, at 11:11 AM, Peter Haworth wrote: > I agree. It would also be useful to detail the changes between the two > release instead of a complete list of the changes since the previous > released version. > > Pete > lcSQL Software > > > On Wed, Nov 20, 2013 at 10:44 AM, Richard Gaskin > wrote: > >> Benjamin Beaumont wrote: >> >> We are pleased to announce the release of LiveCode 6.5 RC6 >>> >> >> The frequency of releases is impressive, but also perhaps fatiguing for us >> testers. Wasn't RC 5 released only yesterday? >> >> Can you help us understand what factors determine when a given batch of >> progress warrants a new RC release? >> >> Thanks - >> >> -- >> 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Wed Nov 20 14:32:39 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 20 Nov 2013 11:32:39 -0800 Subject: Differentiating a substack from a mainstack In-Reply-To: References: Message-ID: <528D0E57.1040405@fourthworld.com> All stacks have a mainstack property. With a mainstack, its mainstack property will be its own name, so: if the mainstack of this stack = the short name of this stack then put "I'm a mainStack" else put "I'm a substack" end if -- 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 From gcanyon at gmail.com Wed Nov 20 14:37:59 2013 From: gcanyon at gmail.com (Geoff Canyon) Date: Wed, 20 Nov 2013 13:37:59 -0600 Subject: Is there a reasonable way to use numbers smaller than about 10^-6 In-Reply-To: <0D6D69ED-7C07-4EC3-961F-46ACD1488AE7@mac.com> References: <528CE8ED.8080100@gmail.com> <0D6D69ED-7C07-4EC3-961F-46ACD1488AE7@mac.com> Message-ID: It's not a secret. I posted about a month ago in fair detail, but I'm doing a space simulation, similar to Kerbal Space Program or Simple Rockets, but with correct gravity (they both take shortcuts that appall me). I just found out that the Animation Engine has a 3D projection function, so if that tests out I'm going to switch from 2D to 3D. The end result should be fairly simple visually, but with an accurate representation of every round body in our solar system (about 50) all of them applying gravity correctly and simultaneously to the rocket(s). So far I have correct 2D gravity, export/import of universe definitions, multiple simultaneous rockets, landing, taking off, and crashing. The planets and moons run on set paths (I don't calculate their gravitational interactions with each other). I need to at least change the paths from circles to ellipses, or let them run freely. I need to finish converting to km/s/kg from the abstract numbers I started with. I need to add atmosphere. I need to real-ify the rockets (currently they are one-stage, crazy powerful, and have unlimited fuel). And if I'm lucky, convert to 3D. And start testing on an iPad (the eventual target). And I will just say, orbits are hard. gc On Wed, Nov 20, 2013 at 12:28 PM, Roger Guay wrote: > This sounds very interesting, Geoff. Sure would like to know what you?re > up to?. > > Roger > > > On Nov 20, 2013, at 10:21 AM, Geoff Canyon wrote: > > > On Wed, Nov 20, 2013 at 10:53 AM, Richmond >wrote: > > > >> > >> Ordinary math seems to peter out at 0.000001. > >>> > >>> This puts 8.100e-13: put format("%1.3e", (1e0)/(1234567890123e0)) > >>> > >>> So is something like that the best way to go? > >>> > >> > > My plan so far is just to do the math. If the result is 0, then increase > my > > timescale by 100,000 and try again. (and repeat as necessary) That way > when > > there is something overwhelming nearby, extremely distant/small objects > > will have 0 effect, but if there is nothing nearby/large, then > > smaller/farther objects will be applied across timescales that work for > > them. > > _______________________________________________ > > use-livecode mailing list > > use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ambassador at fourthworld.com Wed Nov 20 14:39:05 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 20 Nov 2013 11:39:05 -0800 Subject: RELEASE: LiveCode 6.5 RC6 In-Reply-To: <721FF677-E617-4688-9F8B-75E341D07968@mac.com> References: <721FF677-E617-4688-9F8B-75E341D07968@mac.com> Message-ID: <528D0FD9.2050805@fourthworld.com> Paul Hibbert wrote: > It's pretty easy to see now RR are providing the release PDFs in the > same folder. > > I just opened the PDF first then went straight to the "Specific Bug > Fixes (6.5.0-rc-6)" link in the index and it took me straight to this > section... What's that? You expect me to RTFM? Heresy! I was raised a Mac man and we don't need no stinkin' release notes! :) -- 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 From mwieder at ahsoftware.net Wed Nov 20 14:38:14 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 20 Nov 2013 11:38:14 -0800 Subject: RELEASE: LiveCode 6.5 RC6 In-Reply-To: <721FF677-E617-4688-9F8B-75E341D07968@mac.com> References: <528D02F6.8050005@fourthworld.com> <721FF677-E617-4688-9F8B-75E341D07968@mac.com> Message-ID: <157174575981.20131120113814@ahsoftware.net> Paul- Point taken, but it would nonetheless be nice to see this in the release announcement without having to go through the motions of navigating to the website and downloading the pdf and then scrolling down to page 17 to see the two lines that could have been in the email. -- -Mark Wieder ahsoftware at gmail.com From richmondmathewson at gmail.com Wed Nov 20 14:43:57 2013 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 20 Nov 2013 21:43:57 +0200 Subject: RELEASE: LiveCode 6.5 RC6 In-Reply-To: <528D0FD9.2050805@fourthworld.com> References: <721FF677-E617-4688-9F8B-75E341D07968@mac.com> <528D0FD9.2050805@fourthworld.com> Message-ID: <528D10FD.1020409@gmail.com> On 20.11.2013 21:39, Richard Gaskin wrote: > Paul Hibbert wrote: > > > It's pretty easy to see now RR are providing the release PDFs in the > > same folder. > > > > I just opened the PDF first then went straight to the "Specific Bug > > Fixes (6.5.0-rc-6)" link in the index and it took me straight to this > > section... > > What's that? You expect me to RTFM? Heresy! I was raised a Mac man > and we don't need no stinkin' release notes! :) Maybe not, but you do seem to want something, not just a new release candidate released without comment. We all know that the last person who read a manual FROM END TO END died sometime in the late 20th century, bit I think we can all safely say, we have, albeit occasionally, DIPPED. Let's put it like this: ---------------------------------- Face it that wasn't very instructive! Richmond. > > -- > 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From zryip.theslug at gmail.com Wed Nov 20 14:45:15 2013 From: zryip.theslug at gmail.com (zryip theSlug) Date: Wed, 20 Nov 2013 20:45:15 +0100 Subject: Disallow Editing Specified Cells in a Datagrid In-Reply-To: <528D0767.7090200@LinkIt.Com> References: <528D0767.7090200@LinkIt.Com> Message-ID: Ray, It exists different possibilities depending the conditions you need for locking a cell. A possible solution is to trap in the datagrid group script, the EditCellOfIndex message sent when one is double clicking on a cell. Here is an example for locking a cell if it contains the value "Locked cell": on EditCellOfIndex pTheColumn, pTheIndex if GetDataOfIndex(pTheIndex, pTheColumn) is "Locked cell" then exit EditCellOfIndex pass EditCellOfIndex end EditCellOfIndex On Wed, Nov 20, 2013 at 8:03 PM, Ray wrote: > Does anybody have a way to disallow double clicking specified cells in a > datagrid to edit them while continuing to allow the majority of cells to be > edited? > > I'm currently catching the preOpenFieldEditor message and then sending my > own handler which discontinues field editing after it has begun, but by that > time the user has already opened the cell editing field. This looks shabby > (when I close it back up) and it might not work well on slower processors. > > I'd prefer to not let the editing process get started in the first place. > > Thanks, > > Ray Horsley > LinkIt! Software > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode Best Regards, -- Zryip TheSlug http://www.aslugontheroad.com From paulhibbert at mac.com Wed Nov 20 14:45:19 2013 From: paulhibbert at mac.com (Paul Hibbert) Date: Wed, 20 Nov 2013 11:45:19 -0800 Subject: RELEASE: LiveCode 6.5 RC6 In-Reply-To: <528D0FD9.2050805@fourthworld.com> References: <721FF677-E617-4688-9F8B-75E341D07968@mac.com> <528D0FD9.2050805@fourthworld.com> Message-ID: <60DD9699-6CD6-45B3-8BF6-BAF0ED68E864@mac.com> :-) Oops! Should have kept that to myself. Reading release notes and manuals was the one thing that kept me way ahead of everyone else! Paul On 2013-11-20, at 11:39 AM, Richard Gaskin wrote: > What's that? You expect me to RTFM? Heresy! I was raised a Mac man and we don't need no stinkin' release notes! :) From paulhibbert at mac.com Wed Nov 20 14:48:24 2013 From: paulhibbert at mac.com (Paul Hibbert) Date: Wed, 20 Nov 2013 11:48:24 -0800 Subject: RELEASE: LiveCode 6.5 RC6 In-Reply-To: <60DD9699-6CD6-45B3-8BF6-BAF0ED68E864@mac.com> References: <721FF677-E617-4688-9F8B-75E341D07968@mac.com> <528D0FD9.2050805@fourthworld.com> <60DD9699-6CD6-45B3-8BF6-BAF0ED68E864@mac.com> Message-ID: <2DFAF367-FAC7-4703-802D-1B637A6C0337@mac.com> Double Oops, should have added? ?when I was working as a system manager in an print company. Paul On 2013-11-20, at 11:45 AM, Paul Hibbert wrote: > :-) Oops! Should have kept that to myself. > > Reading release notes and manuals was the one thing that kept me way ahead of everyone else! > > Paul > > On 2013-11-20, at 11:39 AM, Richard Gaskin wrote: > >> What's that? You expect me to RTFM? Heresy! I was raised a Mac man and we don't need no stinkin' release notes! :) > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dunbarx at aol.com Wed Nov 20 14:51:47 2013 From: dunbarx at aol.com (dunbarx at aol.com) Date: Wed, 20 Nov 2013 14:51:47 -0500 (EST) Subject: Disallow Editing Specified Cells in a Datagrid In-Reply-To: References: <528D0767.7090200@LinkIt.Com> Message-ID: <8D0B4411460BC72-2350-42D0F@webmail-m246.sysops.aol.com> Ray. Could you generally set the "allowEditing" (which is global for the whole DG) to false, and open it only when certain cells are (or are not) clicked on? Craig Newman -----Original Message----- From: zryip theSlug To: How to use LiveCode Sent: Wed, Nov 20, 2013 2:46 pm Subject: Re: Disallow Editing Specified Cells in a Datagrid Ray, It exists different possibilities depending the conditions you need for locking a cell. A possible solution is to trap in the datagrid group script, the EditCellOfIndex message sent when one is double clicking on a cell. Here is an example for locking a cell if it contains the value "Locked cell": on EditCellOfIndex pTheColumn, pTheIndex if GetDataOfIndex(pTheIndex, pTheColumn) is "Locked cell" then exit EditCellOfIndex pass EditCellOfIndex end EditCellOfIndex On Wed, Nov 20, 2013 at 8:03 PM, Ray wrote: > Does anybody have a way to disallow double clicking specified cells in a > datagrid to edit them while continuing to allow the majority of cells to be > edited? > > I'm currently catching the preOpenFieldEditor message and then sending my > own handler which discontinues field editing after it has begun, but by that > time the user has already opened the cell editing field. This looks shabby > (when I close it back up) and it might not work well on slower processors. > > I'd prefer to not let the editing process get started in the first place. > > Thanks, > > Ray Horsley > LinkIt! Software > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode Best Regards, -- Zryip TheSlug http://www.aslugontheroad.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Wed Nov 20 14:54:00 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 20 Nov 2013 11:54:00 -0800 Subject: RELEASE: LiveCode 6.5 RC6 In-Reply-To: <528D10FD.1020409@gmail.com> References: <528D10FD.1020409@gmail.com> Message-ID: <528D1358.7000908@fourthworld.com> Richmond wrote: > On 20.11.2013 21:39, Richard Gaskin wrote: ... >> What's that? You expect me to RTFM? Heresy! I was raised a Mac >> man and we don't need no stinkin' release notes! :) > > Maybe not, but you do seem to want something, not just a new release > candidate released without comment. I like that they err on the side of completeness, but it does make it hard to discern fixes specific to a given RC from the list post alone. I think Mark Wieder's suggestion would cover it well: > Point taken, but it would nonetheless be nice to see this in the > release announcement without having to go through the motions of > navigating to the website and downloading the pdf and then scrolling > down to page 17 to see the two lines that could have been in the > email. Given that the Release Notes contain all the details, the email notices here could get by quite well - if not better - by only listing those fixes and enhancements specific to the build being discussed. -- 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 From jacque at hyperactivesw.com Wed Nov 20 14:55:21 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 20 Nov 2013 13:55:21 -0600 Subject: RELEASE: LiveCode 6.5 RC6 In-Reply-To: <528D10FD.1020409@gmail.com> References: <721FF677-E617-4688-9F8B-75E341D07968@mac.com> <528D0FD9.2050805@fourthworld.com> <528D10FD.1020409@gmail.com> Message-ID: <528D13A9.5010407@hyperactivesw.com> On 11/20/13 1:43 PM, Richmond wrote: > We all know that the last person who read a manual FROM END TO END died > sometime in the late 20th > century, I read the HyperCard manual end to end (twice I think, because I didn't understand what a function was) and I still live and breathe to tell about it. :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Wed Nov 20 14:57:08 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 20 Nov 2013 13:57:08 -0600 Subject: RELEASE: LiveCode 6.5 RC6 In-Reply-To: <60DD9699-6CD6-45B3-8BF6-BAF0ED68E864@mac.com> References: <721FF677-E617-4688-9F8B-75E341D07968@mac.com> <528D0FD9.2050805@fourthworld.com> <60DD9699-6CD6-45B3-8BF6-BAF0ED68E864@mac.com> Message-ID: <528D1414.2070602@hyperactivesw.com> On 11/20/13 1:45 PM, Paul Hibbert wrote: > :-) Oops! Should have kept that to myself. > > Reading release notes and manuals was the one thing that kept me way > ahead of everyone else! LOL, that's my secret too. I just read the stuff, and then everyone says, "wow, you're a GENIUS" and I just keep my mouth shut. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From richmondmathewson at gmail.com Wed Nov 20 15:03:03 2013 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 20 Nov 2013 22:03:03 +0200 Subject: RELEASE: LiveCode 6.5 RC6 In-Reply-To: <528D1414.2070602@hyperactivesw.com> References: <721FF677-E617-4688-9F8B-75E341D07968@mac.com> <528D0FD9.2050805@fourthworld.com> <60DD9699-6CD6-45B3-8BF6-BAF0ED68E864@mac.com> <528D1414.2070602@hyperactivesw.com> Message-ID: <528D1577.20404@gmail.com> On 20.11.2013 21:57, J. Landman Gay wrote: > On 11/20/13 1:45 PM, Paul Hibbert wrote: >> :-) Oops! Should have kept that to myself. >> >> Reading release notes and manuals was the one thing that kept me way >> ahead of everyone else! > > LOL, that's my secret too. I just read the stuff, and then everyone > says, "wow, you're a GENIUS" and I just keep my mouth shut. > Like you did in your previous posting! LOL. Richmond. From mwieder at ahsoftware.net Wed Nov 20 15:03:15 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 20 Nov 2013 12:03:15 -0800 Subject: RELEASE: LiveCode 6.5 RC6 In-Reply-To: <528D13A9.5010407@hyperactivesw.com> References: <721FF677-E617-4688-9F8B-75E341D07968@mac.com> <528D0FD9.2050805@fourthworld.com> <528D10FD.1020409@gmail.com> <528D13A9.5010407@hyperactivesw.com> Message-ID: <75176077623.20131120120315@ahsoftware.net> Jacque- Wednesday, November 20, 2013, 11:55:21 AM, you wrote: > On 11/20/13 1:43 PM, Richmond wrote: >> We all know that the last person who read a manual FROM END TO END died >> sometime in the late 20th >> century, > I read the HyperCard manual end to end (twice I think, because I didn't > understand what a function was) and I still live and breathe to tell > about it. Well, there you go. Shoulda read it from start to end instead. -- -Mark Wieder ahsoftware at gmail.com From paulhibbert at mac.com Wed Nov 20 15:08:34 2013 From: paulhibbert at mac.com (Paul Hibbert) Date: Wed, 20 Nov 2013 12:08:34 -0800 Subject: RELEASE: LiveCode 6.5 RC6 In-Reply-To: <157174575981.20131120113814@ahsoftware.net> References: <528D02F6.8050005@fourthworld.com> <721FF677-E617-4688-9F8B-75E341D07968@mac.com> <157174575981.20131120113814@ahsoftware.net> Message-ID: <59246BD2-DFB8-411D-9E9A-AC2B65D1B9AD@mac.com> That's very true, maybe if the list in the email was formatted like the PDF it would help, the info is already there so shouldn't be too much of a problem. Paul On 2013-11-20, at 11:38 AM, Mark Wieder wrote: > Paul- > > Point taken, but it would nonetheless be nice to see this in the > release announcement without having to go through the motions of > navigating to the website and downloading the pdf and then scrolling > down to page 17 to see the two lines that could have been in the > email. > > -- > -Mark Wieder > ahsoftware at gmail.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From capellan2000 at gmail.com Wed Nov 20 15:10:22 2013 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Wed, 20 Nov 2013 12:10:22 -0800 (PST) Subject: RELEASE: LiveCode 6.5 RC6 In-Reply-To: <528D0D65.9040709@fourthworld.com> References: <528D02F6.8050005@fourthworld.com> <528D0D65.9040709@fourthworld.com> Message-ID: <1384978222572-4672627.post@n4.nabble.com> Richard Gaskin wrote > I have no problem with frequent releases. Nightly builds are a common > and growing practice with agile companies, and in many ways it's very > encouraging to see RunRev deploy quickly. > But with RCs we see quite a variance, sometimes weeks and sometimes > hours, and it would be helpful to know if perhaps there were serious > data-loss issues or other factors which determine when there are shorter > intervals between releases. If I understand correctly, developers should test (not develop) their software using always the latest Release Candidates. When a feature goes wrong, then the developer must test the same feature in previous Release Candidates, until the developer reach a version where such feature works correctly. Bug hunting is a daily routine in software developer's life. What do you think? Should we invent unique names for these bugs, besides a number? Where is the Name Generator stack? :D Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/RELEASE-LiveCode-6-5-RC6-tp4672605p4672627.html Sent from the Revolution - User mailing list archive at Nabble.com. From mwieder at ahsoftware.net Wed Nov 20 15:18:31 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 20 Nov 2013 12:18:31 -0800 Subject: Differentiating a substack from a mainstack In-Reply-To: References: Message-ID: <15176993526.20131120121831@ahsoftware.net> Pete- Wednesday, November 20, 2013, 11:24:57 AM, you wrote: > it appears that when creating a substack, its mainstack is set to > its own name when the openStack/newStack message is sent. Hmmm... that's not what I'm seeing. Catching openstack in a frontscript, I see the mainstack of the newly-created stack coming up with an id, as in Stack 1384976547 -- -Mark Wieder ahsoftware at gmail.com From ambassador at fourthworld.com Wed Nov 20 15:32:48 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 20 Nov 2013 12:32:48 -0800 Subject: RELEASE: LiveCode 6.5 RC6 In-Reply-To: <1384978222572-4672627.post@n4.nabble.com> References: <1384978222572-4672627.post@n4.nabble.com> Message-ID: <528D1C70.5030201@fourthworld.com> Alejandro Tejada wrote: > Bug hunting is a daily routine in software developer's life. True, but developers all need to split their time between testing their own stuff and testing the other systems their stuff relies on. For example, I'm not sure how much time RunRev devotes to submitting bug reports for each new version of OS X or Ubuntu, and my own testing efforts focus similarly on my clients' work first, and LC engine second. > What do you think? > Should we invent unique names for these bugs, besides a number? The current setup is generally fine, but if it were up to me (and many are glad it isn't) I'd make only two small adjustments: 1. Email notices of releases would only include the fixes and enhancements specific to the release. 2. I would label a build "Release Candidate" only when it's a candidate for release. Anything with outstanding known issues would continue to be labeled "Developer Preview" until those are resolved. -- 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 From jacque at hyperactivesw.com Wed Nov 20 15:38:23 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 20 Nov 2013 14:38:23 -0600 Subject: RELEASE: LiveCode 6.5 RC6 In-Reply-To: <75176077623.20131120120315@ahsoftware.net> References: <721FF677-E617-4688-9F8B-75E341D07968@mac.com> <528D0FD9.2050805@fourthworld.com> <528D10FD.1020409@gmail.com> <528D13A9.5010407@hyperactivesw.com> <75176077623.20131120120315@ahsoftware.net> Message-ID: <528D1DBF.2030903@hyperactivesw.com> On 11/20/13 2:03 PM, Mark Wieder wrote: > Jacque- > > Wednesday, November 20, 2013, 11:55:21 AM, you wrote: > >> On 11/20/13 1:43 PM, Richmond wrote: > >>> We all know that the last person who read a manual FROM END TO END died >>> sometime in the late 20th >>> century, > >> I read the HyperCard manual end to end (twice I think, because I didn't >> understand what a function was) and I still live and breathe to tell >> about it. > > Well, there you go. Shoulda read it from start to end instead. > That's why I was able to read it twice. It was short. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From skip at magicgate.com Wed Nov 20 15:38:37 2013 From: skip at magicgate.com (Magicgate Software - Skip Kimpel) Date: Wed, 20 Nov 2013 15:38:37 -0500 Subject: Livecode and Google Analytics API Message-ID: Anybody do any work or written anything for interfacing with Google Analytics API? SKIP From cmsheffield at icloud.com Wed Nov 20 15:43:32 2013 From: cmsheffield at icloud.com (Chris Sheffield) Date: Wed, 20 Nov 2013 13:43:32 -0700 Subject: submitting iOS app built with LC 6.1.3 In-Reply-To: References: Message-ID: <635801E2-AB6A-4E66-93A0-22A949B9BF40@icloud.com> Upon further investigation it appears that the Info.plist file in my app bundle does not contain the file names for the larger icons. It only contains the names for the smaller ones, the pre-iOS 7 size. Is this a bug in LC? I would think someone would have run into this if so. Any way I can fix this manually? I really need to get this update submitted asap. Can I safely modify the file in my built bundle? Would I have to re-sign the bundle after doing so? If so, how do I do that? If anyone can help, I?d be very grateful. Thank, Chris On Nov 20, 2013, at 11:44 AM, Chris Sheffield wrote: > Wondering if anyone else has run into this. I just tried submitting an app to the App Store via Application Loader. Everything went smoothly except after the upload was complete, I received a warning that my bundle was missing iOS 7-sized icons. However, the image files are in place. The proper settings are set in Standalone Settings and I double-checked my built app bundle to make sure they?re there and they are. > > Has anyone seen this? Just wondering if I should be overly concerned or not. Like I said, it was just a warning and the submission seems to have gone through okay and the app?s status has changed to ?waiting for review?. > > Thanks, > Chris > > > > -- > Chris Sheffield > Read Naturally, Inc. > www.readnaturally.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ebeugelaar at gmail.com Wed Nov 20 15:45:58 2013 From: ebeugelaar at gmail.com (Erik Beugelaar) Date: Wed, 20 Nov 2013 21:45:58 +0100 Subject: RELEASE: LiveCode 6.5 RC6 In-Reply-To: <528D1C70.5030201@fourthworld.com> Message-ID: Richard, I agree. In the old days? you were happy when the RC3 was released because in those days you knew that the release version was the next one. Releasing RC?s in a short time is not good because it looks like the house is in fire? And is not. Software development is most of the time solving errors, caused by us, humans? ;-) On 20/11/13 21:32, "Richard Gaskin" wrote: >Alejandro Tejada wrote: > > > Bug hunting is a daily routine in software developer's life. > >True, but developers all need to split their time between testing their >own stuff and testing the other systems their stuff relies on. > >For example, I'm not sure how much time RunRev devotes to submitting bug >reports for each new version of OS X or Ubuntu, and my own testing >efforts focus similarly on my clients' work first, and LC engine second. > > > > What do you think? > > Should we invent unique names for these bugs, besides a number? > >The current setup is generally fine, but if it were up to me (and many >are glad it isn't) I'd make only two small adjustments: > >1. Email notices of releases would only include the fixes and >enhancements specific to the release. > >2. I would label a build "Release Candidate" only when it's a candidate >for release. Anything with outstanding known issues would continue to >be labeled "Developer Preview" until those are resolved. > >-- > 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 at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode From irog at mac.com Wed Nov 20 16:01:16 2013 From: irog at mac.com (Roger Guay) Date: Wed, 20 Nov 2013 13:01:16 -0800 Subject: Is there a reasonable way to use numbers smaller than about 10^-6 In-Reply-To: References: <528CE8ED.8080100@gmail.com> <0D6D69ED-7C07-4EC3-961F-46ACD1488AE7@mac.com> Message-ID: Wow Geoff, this is very impressive! I tried to do similar simulations of this kind in the past, but failed. At the time, I chalked it up to the complexities of the "3-body problem" and set it aside. I?ll be very anxious to hear about your progress. Please keep me/us posted, if you will. Thanks, Roger On Nov 20, 2013, at 11:37 AM, Geoff Canyon wrote: > It's not a secret. I posted about a month ago in fair detail, but I'm doing > a space simulation, similar to Kerbal Space Program or Simple Rockets, but > with correct gravity (they both take shortcuts that appall me). I just > found out that the Animation Engine has a 3D projection function, so if > that tests out I'm going to switch from 2D to 3D. The end result should be > fairly simple visually, but with an accurate representation of every round > body in our solar system (about 50) all of them applying gravity correctly > and simultaneously to the rocket(s). > > So far I have correct 2D gravity, export/import of universe definitions, > multiple simultaneous rockets, landing, taking off, and crashing. The > planets and moons run on set paths (I don't calculate their gravitational > interactions with each other). I need to at least change the paths from > circles to ellipses, or let them run freely. I need to finish converting to > km/s/kg from the abstract numbers I started with. I need to add atmosphere. > I need to real-ify the rockets (currently they are one-stage, crazy > powerful, and have unlimited fuel). And if I'm lucky, convert to 3D. And > start testing on an iPad (the eventual target). > > And I will just say, orbits are hard. > > gc > > > On Wed, Nov 20, 2013 at 12:28 PM, Roger Guay wrote: > >> This sounds very interesting, Geoff. Sure would like to know what you?re >> up to?. >> >> Roger >> >> >> On Nov 20, 2013, at 10:21 AM, Geoff Canyon wrote: >> >>> On Wed, Nov 20, 2013 at 10:53 AM, Richmond >> wrote: >>> >>>> >>>> Ordinary math seems to peter out at 0.000001. >>>>> >>>>> This puts 8.100e-13: put format("%1.3e", (1e0)/(1234567890123e0)) >>>>> >>>>> So is something like that the best way to go? >>>>> >>>> >>> My plan so far is just to do the math. If the result is 0, then increase >> my >>> timescale by 100,000 and try again. (and repeat as necessary) That way >> when >>> there is something overwhelming nearby, extremely distant/small objects >>> will have 0 effect, but if there is nothing nearby/large, then >>> smaller/farther objects will be applied across timescales that work for >>> them. >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From larsbrehmer at mac.com Wed Nov 20 16:02:35 2013 From: larsbrehmer at mac.com (Lars Brehmer) Date: Wed, 20 Nov 2013 23:02:35 +0200 Subject: Help with Xcode SDK's etc. Message-ID: Who can help me out here? Until recently had Xcode 4.4.1 as the mobile support. This worked fine with the iPad simulator and building iOS standalones. When I upgraded to Xcode 5 (now I have 5.0.2) I couldn't get the simulator to work and couldn't make iOS standalones. This surely has to do with the SDK's and other componentsthat need to be installed. I never figured it out and eventually made 4.4.1 the mobile suport again, but I guess installing Xcode 5 changed some SDK files and components. Now using 4.4.1 again I can at least make the iOS standalones, but I can't use the simulator. I only use Xcode as LiveCode mobile support and and have no idea how to use it for anything else or how to work with it. Can anyone tell me what I need to do to restore Xcode 4.4.1's componentsetc. so I can use the simulator again? Or better yet, how do I set up Xcode 5.02 to use as mobile support (simulator & standalones?) For one thing, when assigning 4.4.1 as mobile support in the liveCode, you just navigate to the app itself, and choose it but with 5.0.2, when I select the app it says it isn't a valid SDK. I have no idea how to find the SDK and I don't know whether it even resides on my mac. It is very time consuming to test dozens of changes when each time I must save the standalone, delete the old app from the iPad, delete the old app from iTunes, import the new app into iTunes and sync with the iPad - very tedious indeed, and I've done it 150 times in the last 5 days! So any tips are greatly appreciated! Cheers, Lars From ray at linkit.com Wed Nov 20 16:06:07 2013 From: ray at linkit.com (Ray) Date: Wed, 20 Nov 2013 16:06:07 -0500 Subject: Disallow Editing Specified Cells in a Datagrid In-Reply-To: References: <528D0767.7090200@LinkIt.Com> Message-ID: <528D243F.9050101@LinkIt.Com> Zryip, Dunbar, Trapping for the EditCellOfIndex really does the trick. The two parameters which come in giving me the column name and line number are also quite handy. Another one bites the dust! Thanks, Ray On 11/20/2013 2:45 PM, zryip theSlug wrote: > Ray, > > It exists different possibilities depending the conditions you need > for locking a cell. > > A possible solution is to trap in the datagrid group script, the > EditCellOfIndex message sent when one is double clicking on a cell. > > Here is an example for locking a cell if it contains the value "Locked cell": > > on EditCellOfIndex pTheColumn, pTheIndex > if GetDataOfIndex(pTheIndex, pTheColumn) is "Locked cell" then exit > EditCellOfIndex > > pass EditCellOfIndex > end EditCellOfIndex > > > > On Wed, Nov 20, 2013 at 8:03 PM, Ray wrote: >> Does anybody have a way to disallow double clicking specified cells in a >> datagrid to edit them while continuing to allow the majority of cells to be >> edited? >> >> I'm currently catching the preOpenFieldEditor message and then sending my >> own handler which discontinues field editing after it has begun, but by that >> time the user has already opened the cell editing field. This looks shabby >> (when I close it back up) and it might not work well on slower processors. >> >> I'd prefer to not let the editing process get started in the first place. >> >> Thanks, >> >> Ray Horsley >> LinkIt! Software >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > Best Regards, From pete at lcsql.com Wed Nov 20 16:09:08 2013 From: pete at lcsql.com (Peter Haworth) Date: Wed, 20 Nov 2013 13:09:08 -0800 Subject: Differentiating a substack from a mainstack In-Reply-To: <528D0E57.1040405@fourthworld.com> References: <528D0E57.1040405@fourthworld.com> Message-ID: But in both the new stack and open stack handlers the main stack and short name of the stack are always the same for a newly created stack whether you created a main stack or a sub stack. By create, I mean with the ide file menu options Pete lcSQL Software On Nov 20, 2013 11:32 AM, "Richard Gaskin" wrote: > All stacks have a mainstack property. With a mainstack, its mainstack > property will be its own name, so: > > if the mainstack of this stack = the short name of this stack then > put "I'm a mainStack" > else > put "I'm a substack" > end if > > > -- > 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From m.schonewille at economy-x-talk.com Wed Nov 20 16:15:53 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 20 Nov 2013 22:15:53 +0100 Subject: Differentiating a substack from a mainstack In-Reply-To: References: Message-ID: <528D2689.2030106@economy-x-talk.com> Hi Pete, The owner property of a mainstack is empty. if the owner of the target is empty then --> mainstack else --> substack end if -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi Fill out this survey please http://livecodebeginner.economy-x-talk.com/survey/ On 11/20/2013 20:24, Peter Haworth wrote: > I need to detect whether a newly created stack is a main stack or a > substack. I am using an openStack front script handler to try to figure > this out (have also used a newStack handler) to check the stack name > against its mainstack property but it appears that when creating a > substack, its mainstack is set to its own name when the openStack/newStack > message is sent. > > Any thoughts on how to figure out this seemingly simple piece of > information? > > On a related note, the hidden property of both a main and substack is true > during newStack and openStack, yet the dictionary claims that openStack is > sent after a stack is visible. > > > Pete > lcSQL Software From ambassador at fourthworld.com Wed Nov 20 16:17:57 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 20 Nov 2013 13:17:57 -0800 Subject: Differentiating a substack from a mainstack In-Reply-To: References: Message-ID: <528D2705.6080804@fourthworld.com> Peter Haworth wrote: > But in both the new stack and open stack handlers the main stack and short > name of the stack are always the same for a newly created stack whether you > created a main stack or a sub stack. By create, I mean with the ide file > menu options It should not be the case that a mainstack and any of its substacks have the same name. If you find a case where the IDE assigns the same name to a substack as it does to its mainstack please file a bug report. -- 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 From scott at tactilemedia.com Wed Nov 20 16:18:37 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 20 Nov 2013 13:18:37 -0800 Subject: Differentiating a substack from a mainstack In-Reply-To: <528D0E57.1040405@fourthworld.com> Message-ID: I believe you could also check the owner: if the owner of stack xyz is empty then return "mainstack" else return "substack" Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 11/20/13 11:32 AM, "Richard Gaskin" wrote: >All stacks have a mainstack property. With a mainstack, its mainstack >property will be its own name, so: > >if the mainstack of this stack = the short name of this stack then > put "I'm a mainStack" >else > put "I'm a substack" >end if > > >-- > 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 at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode > From harrison at all-auctions.com Wed Nov 20 16:20:55 2013 From: harrison at all-auctions.com (Rick Harrison) Date: Wed, 20 Nov 2013 16:20:55 -0500 Subject: Help with Xcode SDK's etc. In-Reply-To: References: Message-ID: Hi Lars, All the stupid version updates to things make a mess of this all the time. I have the same problem. I have to update everything and reconfigure things constantly. The information on how to do this is spread out all over the place and much of that information is old and outdated. Apple has created a nightmare for all developers. We sure wish they would make things easier! I?m also looking for the answers. Let?s keep writing about what we discover! Thanks, Rick On Nov 20, 2013, at 4:02 PM, Lars Brehmer wrote: > Who can help me out here? > > Until recently had Xcode 4.4.1 as the mobile support. This worked fine with the iPad simulator and building iOS standalones. When I upgraded to Xcode 5 (now I have 5.0.2) I couldn't get the simulator to work and couldn't make iOS standalones. This surely has to do with the SDK's and other componentsthat need to be installed. I never figured it out and eventually made 4.4.1 the mobile suport again, but I guess installing Xcode 5 changed some SDK files and components. Now using 4.4.1 again I can at least make the iOS standalones, but I can't use the simulator. > > I only use Xcode as LiveCode mobile support and and have no idea how to use it for anything else or how to work with it. > > Can anyone tell me what I need to do to restore Xcode 4.4.1's componentsetc. so I can use the simulator again? Or better yet, how do I set up Xcode 5.02 to use as mobile support (simulator & standalones?) > > For one thing, when assigning 4.4.1 as mobile support in the liveCode, you just navigate to the app itself, and choose it but with 5.0.2, when I select the app it says it isn't a valid SDK. I have no idea how to find the SDK and I don't know whether it even resides on my mac. > > It is very time consuming to test dozens of changes when each time I must save the standalone, delete the old app from the iPad, delete the old app from iTunes, import the new app into iTunes and sync with the iPad - very tedious indeed, and I've done it 150 times in the last 5 days! So any tips are greatly appreciated! > > Cheers, > > > Lars > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From scott at tactilemedia.com Wed Nov 20 16:25:14 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 20 Nov 2013 13:25:14 -0800 Subject: RELEASE: LiveCode 6.5 RC6 In-Reply-To: <1384978222572-4672627.post@n4.nabble.com> Message-ID: One is here: go url "http://www.tactilemedia.com/site_files/downloads/namegen.rev" But these probably aren't the names you're looking for. :-) Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 11/20/13 12:10 PM, "Alejandro Tejada" wrote: >Where is the Name Generator stack? :D From pete at lcsql.com Wed Nov 20 16:27:22 2013 From: pete at lcsql.com (Peter Haworth) Date: Wed, 20 Nov 2013 13:27:22 -0800 Subject: RELEASE: LiveCode 6.5 RC6 In-Reply-To: <528D0D65.9040709@fourthworld.com> References: <528D0D65.9040709@fourthworld.com> Message-ID: On Wed, Nov 20, 2013 at 11:28 AM, Richard Gaskin wrote: > I have no problem with frequent releases. Nightly builds are a common and > growing practice with agile companies, and in many ways it's very > encouraging to see RunRev deploy quickly. > I'm not too concerned with frequent releases, although it does feel like something that is classified as a Release Candidate should be stable enough that it isn't replaced by another Release Candidate a day later. The main thing for me is a list of the differences between the new DP/RC/whatever and the previous one rather than an exhaustive list of all the fixes in the RC/DP cycle. I'd be OK with all the fixes being listed in the email announcement but with some visual indication of the the new items in that particular release, something as simple as an asterisk next to it perhaps. Pete lcSQL Software From pete at lcsql.com Wed Nov 20 16:29:59 2013 From: pete at lcsql.com (Peter Haworth) Date: Wed, 20 Nov 2013 13:29:59 -0800 Subject: Disallow Editing Specified Cells in a Datagrid In-Reply-To: <528D0767.7090200@LinkIt.Com> References: <528D0767.7090200@LinkIt.Com> Message-ID: Set dgColumnIsEditable["Col 1"] to false. That applies to the whole column of course so not sure if that's what you want. Pete lcSQL Software On Wed, Nov 20, 2013 at 11:03 AM, Ray wrote: > Does anybody have a way to disallow double clicking specified cells in a > datagrid to edit them while continuing to allow the majority of cells to be > edited? > > I'm currently catching the preOpenFieldEditor message and then sending my > own handler which discontinues field editing after it has begun, but by > that time the user has already opened the cell editing field. This looks > shabby (when I close it back up) and it might not work well on slower > processors. > > I'd prefer to not let the editing process get started in the first place. > > Thanks, > > Ray Horsley > LinkIt! Software > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at lcsql.com Wed Nov 20 16:35:50 2013 From: pete at lcsql.com (Peter Haworth) Date: Wed, 20 Nov 2013 13:35:50 -0800 Subject: Differentiating a substack from a mainstack In-Reply-To: <15176993526.20131120121831@ahsoftware.net> References: <15176993526.20131120121831@ahsoftware.net> Message-ID: Interesting. I see exactly the same name for the stack and its mainstack no matter whether I create a new mainstack or a new substack of a main stack. As mentioned in my reply to Richard, this is using the IDE File menu options to create the stacks, not doing it by script. The openStack/newStack message is followed by a mainStackChanged message when I create a substack but unfortunately that's too late for my use. Pete lcSQL Software On Wed, Nov 20, 2013 at 12:18 PM, Mark Wieder wrote: > Pete- > > Wednesday, November 20, 2013, 11:24:57 AM, you wrote: > > > it appears that when creating a substack, its mainstack is set to > > its own name when the openStack/newStack message is sent. > > Hmmm... that's not what I'm seeing. Catching openstack in a > frontscript, I see the mainstack of the newly-created stack coming up > with an id, as in > > Stack 1384976547 > > -- > -Mark Wieder > ahsoftware at gmail.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From stephenREVOLUTION2 at barncard.com Wed Nov 20 16:46:54 2013 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Wed, 20 Nov 2013 13:46:54 -0800 Subject: Help with Xcode SDK's etc. In-Reply-To: References: Message-ID: On Wed, Nov 20, 2013 at 1:20 PM, Rick Harrison wrote: > Apple has created a nightmare for all developers ?of course, and it's totally intentional.? *--* *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words* From ray at linkit.com Wed Nov 20 16:47:42 2013 From: ray at linkit.com (Ray) Date: Wed, 20 Nov 2013 16:47:42 -0500 Subject: Disallow Editing Specified Cells in a Datagrid In-Reply-To: References: <528D0767.7090200@LinkIt.Com> Message-ID: <528D2DFE.7010204@LinkIt.Com> No, that wasn't 'exactly' what I was looking for but I wasn't aware of that property and I can think of a few cases right off the bat where that will come in quite handy so thanks for that tip Peter. On 11/20/2013 4:29 PM, Peter Haworth wrote: > Set dgColumnIsEditable["Col 1"] to false. That applies to the whole column > of course so not sure if that's what you want. > > Pete > lcSQL Software > > > On Wed, Nov 20, 2013 at 11:03 AM, Ray wrote: > >> Does anybody have a way to disallow double clicking specified cells in a >> datagrid to edit them while continuing to allow the majority of cells to be >> edited? >> >> I'm currently catching the preOpenFieldEditor message and then sending my >> own handler which discontinues field editing after it has begun, but by >> that time the user has already opened the cell editing field. This looks >> shabby (when I close it back up) and it might not work well on slower >> processors. >> >> I'd prefer to not let the editing process get started in the first place. >> >> Thanks, >> >> Ray Horsley >> LinkIt! Software >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From cmsheffield at icloud.com Wed Nov 20 17:01:35 2013 From: cmsheffield at icloud.com (Chris Sheffield) Date: Wed, 20 Nov 2013 15:01:35 -0700 Subject: Help with Xcode SDK's etc. In-Reply-To: References: Message-ID: <3E1E1BEB-2471-42FF-96A5-AE3B26F49FBC@icloud.com> Lars, Which version of LiveCode are you running? An older version may or may not have difficulties with newer versions of Xcode. A couple things to try. First, launch each version of Xcode separately. Open Preferences and go to the Downloads tab. Make sure any simulator versions you want to use are installed. If Xcode prompts you to install additional components upon launching, choose to do so. This will most likely install the simulators for you. If not, check the Downloads tab as described. Once you?ve done that, launch LiveCode and select the Xcode app(s) you want to use for mobile support. If you need to continue using older simulator versions, select both the older version of Xcode and the newer. As long as the little green square appears you should be good to go. Also, I would highly recommend using a different method of getting your apps on your device for testing. The iTunes way, as you said, is very time consuming. At the very least, I would recommend learning and using Xcode?s own Organizer. It makes it fairly simple to copy an app build to a device, and it?s free. Just make sure the device is plugged in to the computer then launch Xcode and go to Window -> Organizer. Select your device on the left hand side (you may have to hit the Use for Development button), then just select Applications and hit the Add button. Fairly straightforward. If you want an even easier way, you can use Monte?s mergTestApp plugin (visit mergext.com for details) or Jacque?s AirLaunch. Both are paid solutions, but huge time savers and well worth the cost imo. Chris -- Chris Sheffield Read Naturally, Inc. www.readnaturally.com On Nov 20, 2013, at 2:02 PM, Lars Brehmer wrote: > Who can help me out here? > > Until recently had Xcode 4.4.1 as the mobile support. This worked fine with the iPad simulator and building iOS standalones. When I upgraded to Xcode 5 (now I have 5.0.2) I couldn't get the simulator to work and couldn't make iOS standalones. This surely has to do with the SDK's and other componentsthat need to be installed. I never figured it out and eventually made 4.4.1 the mobile suport again, but I guess installing Xcode 5 changed some SDK files and components. Now using 4.4.1 again I can at least make the iOS standalones, but I can't use the simulator. > > I only use Xcode as LiveCode mobile support and and have no idea how to use it for anything else or how to work with it. > > Can anyone tell me what I need to do to restore Xcode 4.4.1's componentsetc. so I can use the simulator again? Or better yet, how do I set up Xcode 5.02 to use as mobile support (simulator & standalones?) > > For one thing, when assigning 4.4.1 as mobile support in the liveCode, you just navigate to the app itself, and choose it but with 5.0.2, when I select the app it says it isn't a valid SDK. I have no idea how to find the SDK and I don't know whether it even resides on my mac. > > It is very time consuming to test dozens of changes when each time I must save the standalone, delete the old app from the iPad, delete the old app from iTunes, import the new app into iTunes and sync with the iPad - very tedious indeed, and I've done it 150 times in the last 5 days! So any tips are greatly appreciated! > > Cheers, > > > Lars > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Wed Nov 20 17:13:07 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 20 Nov 2013 16:13:07 -0600 Subject: submitting iOS app built with LC 6.1.3 In-Reply-To: <635801E2-AB6A-4E66-93A0-22A949B9BF40@icloud.com> References: <635801E2-AB6A-4E66-93A0-22A949B9BF40@icloud.com> Message-ID: <528D33F3.2070303@hyperactivesw.com> You can edit the plist but then you'll need to resign the app. I haven't done that in a while so I don't know if it is still current, but I was using AppResigner, which worked really well: There are apparently command line tools for it too, you could google for that. On 11/20/13 2:43 PM, Chris Sheffield wrote: > Upon further investigation it appears that the Info.plist file in my app bundle does not contain the file names for the larger icons. It only contains the names for the smaller ones, the pre-iOS 7 size. Is this a bug in LC? I would think someone would have run into this if so. > > Any way I can fix this manually? I really need to get this update submitted asap. Can I safely modify the file in my built bundle? Would I have to re-sign the bundle after doing so? If so, how do I do that? > > If anyone can help, I?d be very grateful. > > Thank, > Chris > > On Nov 20, 2013, at 11:44 AM, Chris Sheffield wrote: > >> Wondering if anyone else has run into this. I just tried submitting an app to the App Store via Application Loader. Everything went smoothly except after the upload was complete, I received a warning that my bundle was missing iOS 7-sized icons. However, the image files are in place. The proper settings are set in Standalone Settings and I double-checked my built app bundle to make sure they?re there and they are. >> >> Has anyone seen this? Just wondering if I should be overly concerned or not. Like I said, it was just a warning and the submission seems to have gone through okay and the app?s status has changed to ?waiting for review?. >> >> Thanks, >> Chris -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pete at lcsql.com Wed Nov 20 17:24:29 2013 From: pete at lcsql.com (Peter Haworth) Date: Wed, 20 Nov 2013 14:24:29 -0800 Subject: Differentiating a substack from a mainstack In-Reply-To: <528D2705.6080804@fourthworld.com> References: <528D2705.6080804@fourthworld.com> Message-ID: They don't end up with the same name. I just see the same name when looking at the stack name and its mainstack in either an openstack or newstack handler in a front script. Pete lcSQL Software On Wed, Nov 20, 2013 at 1:17 PM, Richard Gaskin wrote: > Peter Haworth wrote: > >> But in both the new stack and open stack handlers the main stack and short >> name of the stack are always the same for a newly created stack whether >> you >> created a main stack or a sub stack. By create, I mean with the ide file >> menu options >> > > It should not be the case that a mainstack and any of its substacks have > the same name. > > If you find a case where the IDE assigns the same name to a substack as it > does to its mainstack please file a bug report. > > -- > 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From cmsheffield at icloud.com Wed Nov 20 17:28:07 2013 From: cmsheffield at icloud.com (Chris Sheffield) Date: Wed, 20 Nov 2013 15:28:07 -0700 Subject: submitting iOS app built with LC 6.1.3 In-Reply-To: <528D33F3.2070303@hyperactivesw.com> References: <635801E2-AB6A-4E66-93A0-22A949B9BF40@icloud.com> <528D33F3.2070303@hyperactivesw.com> Message-ID: <9501730D-D214-4217-87AF-7E07A291025E@icloud.com> Jacque, Funny. I just found AppResigner just as your message came through. So I?ll give that a try and see if it works. I?m still curious to know if others have had this problem. Wondering if I should submit a bug report to RunRev or not? On Nov 20, 2013, at 3:13 PM, J. Landman Gay wrote: > You can edit the plist but then you'll need to resign the app. I haven't done that in a while so I don't know if it is still current, but I was using AppResigner, which worked really well: > > > > There are apparently command line tools for it too, you could google for that. > > > On 11/20/13 2:43 PM, Chris Sheffield wrote: >> Upon further investigation it appears that the Info.plist file in my app bundle does not contain the file names for the larger icons. It only contains the names for the smaller ones, the pre-iOS 7 size. Is this a bug in LC? I would think someone would have run into this if so. >> >> Any way I can fix this manually? I really need to get this update submitted asap. Can I safely modify the file in my built bundle? Would I have to re-sign the bundle after doing so? If so, how do I do that? >> >> If anyone can help, I?d be very grateful. >> >> Thank, >> Chris >> >> On Nov 20, 2013, at 11:44 AM, Chris Sheffield wrote: >> >>> Wondering if anyone else has run into this. I just tried submitting an app to the App Store via Application Loader. Everything went smoothly except after the upload was complete, I received a warning that my bundle was missing iOS 7-sized icons. However, the image files are in place. The proper settings are set in Standalone Settings and I double-checked my built app bundle to make sure they?re there and they are. >>> >>> Has anyone seen this? Just wondering if I should be overly concerned or not. Like I said, it was just a warning and the submission seems to have gone through okay and the app?s status has changed to ?waiting for review?. >>> >>> Thanks, >>> Chris > > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at lcsql.com Wed Nov 20 17:36:05 2013 From: pete at lcsql.com (Peter Haworth) Date: Wed, 20 Nov 2013 14:36:05 -0800 Subject: Differentiating a substack from a mainstack In-Reply-To: References: <528D0E57.1040405@fourthworld.com> Message-ID: Thanks Scott. Tried that and the owner is empty whether I'm creating a main stack or a substack. Once again, it doesn't end up that way, just within the scope of a front script openStack/newStack handler. Maybe this is a change in how stacks are created depending on which LC version? These tests were done using LC 5.5.4. Pete lcSQL Software On Wed, Nov 20, 2013 at 1:18 PM, Scott Rossi wrote: > I believe you could also check the owner: > > if the owner of stack xyz is empty then > return "mainstack" > else return "substack" > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > On 11/20/13 11:32 AM, "Richard Gaskin" wrote: > > >All stacks have a mainstack property. With a mainstack, its mainstack > >property will be its own name, so: > > > >if the mainstack of this stack = the short name of this stack then > > put "I'm a mainStack" > >else > > put "I'm a substack" > >end if > > > > > >-- > > 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ambassador at fourthworld.com Wed Nov 20 18:09:21 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 20 Nov 2013 15:09:21 -0800 Subject: Differentiating a substack from a mainstack In-Reply-To: References: Message-ID: <528D4121.8010908@fourthworld.com> Peter, I think you've found a bug. Apparently when you use: create stack "SomeStack" ...the engine not only completes the creation of the stack but also fires the newStack, preOpenStack and possibly other stack messages as well before it then sets the name of the newly-created stack to the specified "SomeStack". What should happen, IMO, is that the name is set by the engine before any messages are sent. If I had instead run: create stack set the name of it to "SomeStack" ...I could understand how during the interval the newStack, etc. messages would be sent with the old name. But as it is, I'd call it a bug. Can anyone here come up with a reason this isn't a bug? Peter, do you want to submit that? -- 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 From jacque at hyperactivesw.com Wed Nov 20 18:18:07 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 20 Nov 2013 17:18:07 -0600 Subject: Differentiating a substack from a mainstack In-Reply-To: References: <528D0E57.1040405@fourthworld.com> Message-ID: <528D432F.2080501@hyperactivesw.com> On 11/20/13 4:36 PM, Peter Haworth wrote: > Thanks Scott. Tried that and the owner is empty whether I'm creating a > main stack or a substack. Once again, it doesn't end up that way, just > within the scope of a front script openStack/newStack handler. > > Maybe this is a change in how stacks are created depending on which LC > version? These tests were done using LC 5.5.4. I think it will depend on when you check. Logically it would go something like this: 1. New stack is made: name is a long ID number, owner is empty 2. New stack is given a name: either a passed parameter or "Untitled", owner is empty 3. New stack is assigned as a substack: owner is mainstack I wonder if messages are locked while the naming and owner assignment are going on so you aren't getting all of them. How/when do you check the name? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Wed Nov 20 18:20:14 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 20 Nov 2013 17:20:14 -0600 Subject: submitting iOS app built with LC 6.1.3 In-Reply-To: <9501730D-D214-4217-87AF-7E07A291025E@icloud.com> References: <635801E2-AB6A-4E66-93A0-22A949B9BF40@icloud.com> <528D33F3.2070303@hyperactivesw.com> <9501730D-D214-4217-87AF-7E07A291025E@icloud.com> Message-ID: <528D43AE.8080008@hyperactivesw.com> On 11/20/13 4:28 PM, Chris Sheffield wrote: > I?m still curious to know if others have had this problem. Wondering > if I should submit a bug report to RunRev or not? I would. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From endernafi at gmail.com Wed Nov 20 18:20:55 2013 From: endernafi at gmail.com (Ender Nafi Elekcioglu) Date: Thu, 21 Nov 2013 01:20:55 +0200 Subject: submitting iOS app built with LC 6.1.3 In-Reply-To: <9501730D-D214-4217-87AF-7E07A291025E@icloud.com> References: <635801E2-AB6A-4E66-93A0-22A949B9BF40@icloud.com> <528D33F3.2070303@hyperactivesw.com> <9501730D-D214-4217-87AF-7E07A291025E@icloud.com> Message-ID: Chris, I can confirm the issue. I?ve just uploaded an app and encountered same problem. App Loader excepted it with the warnings, though; it?s waiting for review. Fingers crossed :) ~ Ender Nafi From capellan2000 at gmail.com Wed Nov 20 18:47:54 2013 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Wed, 20 Nov 2013 15:47:54 -0800 (PST) Subject: RELEASE: LiveCode 6.5 RC6 In-Reply-To: References: <528D02F6.8050005@fourthworld.com> <528D0D65.9040709@fourthworld.com> <1384978222572-4672627.post@n4.nabble.com> Message-ID: <1384991274943-4672660.post@n4.nabble.com> Scott Rossi wrote > One is here: > go url "http://www.tactilemedia.com/site_files/downloads/namegen.rev" > But these probably aren't the names you're looking for. :-) Certainly! These aren't the droids I'm looking :D Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/RELEASE-LiveCode-6-5-RC6-tp4672605p4672660.html Sent from the Revolution - User mailing list archive at Nabble.com. From pete at lcsql.com Wed Nov 20 19:32:03 2013 From: pete at lcsql.com (Peter Haworth) Date: Wed, 20 Nov 2013 16:32:03 -0800 Subject: Differentiating a substack from a mainstack In-Reply-To: <528D432F.2080501@hyperactivesw.com> References: <528D0E57.1040405@fourthworld.com> <528D432F.2080501@hyperactivesw.com> Message-ID: Richard, It feels like a bug to me although I think it's a timing issue more than anything else. It does however make it impossible to tell whether a newly created stack is a main stack or a substack. Jacque, I'm checking in an openStack handler in a front script, also tried a newStack handler with the same result. I never see your step 1 (although sounds like Mark does), and in your step 2 the owner is indeed empty and the mainstack is the name of the stack even for a substack. Step 3 then manifests itself in the form of a mainStackChanged message Pete lcSQL Software On Wed, Nov 20, 2013 at 3:18 PM, J. Landman Gay wrote: > On 11/20/13 4:36 PM, Peter Haworth wrote: > >> Thanks Scott. Tried that and the owner is empty whether I'm creating a >> main stack or a substack. Once again, it doesn't end up that way, just >> within the scope of a front script openStack/newStack handler. >> >> Maybe this is a change in how stacks are created depending on which LC >> version? These tests were done using LC 5.5.4. >> > > I think it will depend on when you check. Logically it would go something > like this: > > 1. New stack is made: name is a long ID number, owner is empty > 2. New stack is given a name: either a passed parameter or "Untitled", > owner is empty > 3. New stack is assigned as a substack: owner is mainstack > > I wonder if messages are locked while the naming and owner assignment are > going on so you aren't getting all of them. How/when do you check the name? > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From cmsheffield at icloud.com Wed Nov 20 19:34:31 2013 From: cmsheffield at icloud.com (Chris Sheffield) Date: Wed, 20 Nov 2013 17:34:31 -0700 Subject: submitting iOS app built with LC 6.1.3 In-Reply-To: References: <635801E2-AB6A-4E66-93A0-22A949B9BF40@icloud.com> <528D33F3.2070303@hyperactivesw.com> <9501730D-D214-4217-87AF-7E07A291025E@icloud.com> Message-ID: Just submitted a bug report. http://quality.runrev.com/show_bug.cgi?id=11484 > On Nov 20, 2013, at 4:20 PM, Ender Nafi Elekcioglu wrote: > > Chris, I can confirm the issue. > I?ve just uploaded an app and encountered same problem. > App Loader excepted it with the warnings, though; it?s waiting for review. > Fingers crossed :) > > > ~ Ender Nafi From mwieder at ahsoftware.net Wed Nov 20 20:09:14 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 20 Nov 2013 17:09:14 -0800 Subject: Differentiating a substack from a mainstack In-Reply-To: References: <528D0E57.1040405@fourthworld.com> <528D432F.2080501@hyperactivesw.com> Message-ID: <119194436529.20131120170914@ahsoftware.net> Peter- Wednesday, November 20, 2013, 4:32:03 PM, you wrote: > Richard, > It feels like a bug to me although I think it's a timing issue more than > anything else. It does however make it impossible to tell whether a newly > created stack is a main stack or a substack. I believe a newly-created stack *is* a mainstack. It only becomes a substack after the moment of creation when its mainstack/owner property is changed. But the actual stack creation mechanism is the same. Probably not going to help much, but if you set the name of the templatestack before creating a new stack, the stack name gets updated before openstack fires: set the name of the templatestack to "minnie" new stack "haha" -- stack "miniie" gets created, -- and then its name gets set to "haha" ...sorry... I did all my testing from script rather than from the menubar. -- -Mark Wieder ahsoftware at gmail.com From pete at lcsql.com Wed Nov 20 20:29:54 2013 From: pete at lcsql.com (Peter Haworth) Date: Wed, 20 Nov 2013 17:29:54 -0800 Subject: Differentiating a substack from a mainstack In-Reply-To: References: <528D0E57.1040405@fourthworld.com> <528D432F.2080501@hyperactivesw.com> Message-ID: I prowled around the IDE code for the File menu "New substack" item and here's what happens: *put* the short name of the topStack into tCurrentStack *if* the mainStack of stack tCurrentStack is not tCurrentStack *then* *put* the mainStack of stack tCurrentStack into tCurrentStack *send* "menuPick" && quote & "New Mainstack" & quote to button "file" *set* the mainStack of the topStack to tCurrentStack In other words, requesting a new substack results in a new mainstack being created then having it's mainstack set to the correct mainstack. Pete lcSQL Software On Wed, Nov 20, 2013 at 4:32 PM, Peter Haworth wrote: > Richard, > It feels like a bug to me although I think it's a timing issue more than > anything else. It does however make it impossible to tell whether a newly > created stack is a main stack or a substack. > > Jacque, > I'm checking in an openStack handler in a front script, also tried a > newStack handler with the same result. I never see your step 1 (although > sounds like Mark does), and in your step 2 the owner is indeed empty and > the mainstack is the name of the stack even for a substack. Step 3 then > manifests itself in the form of a mainStackChanged message > > Pete > lcSQL Software > > > On Wed, Nov 20, 2013 at 3:18 PM, J. Landman Gay wrote: > >> On 11/20/13 4:36 PM, Peter Haworth wrote: >> >>> Thanks Scott. Tried that and the owner is empty whether I'm creating a >>> main stack or a substack. Once again, it doesn't end up that way, just >>> within the scope of a front script openStack/newStack handler. >>> >>> Maybe this is a change in how stacks are created depending on which LC >>> version? These tests were done using LC 5.5.4. >>> >> >> I think it will depend on when you check. Logically it would go something >> like this: >> >> 1. New stack is made: name is a long ID number, owner is empty >> 2. New stack is given a name: either a passed parameter or "Untitled", >> owner is empty >> 3. New stack is assigned as a substack: owner is mainstack >> >> I wonder if messages are locked while the naming and owner assignment are >> going on so you aren't getting all of them. How/when do you check the name? >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > From selander at tkf.att.ne.jp Wed Nov 20 20:34:03 2013 From: selander at tkf.att.ne.jp (Tim Selander) Date: Thu, 21 Nov 2013 10:34:03 +0900 Subject: Character encoding using LC server on on-rev Message-ID: <528D630B.7020004@tkf.att.ne.jp> Hi, My Japanese .irev web pages are not loading with the right encoding anymore. I'm on the server pancake. My html header has this: There are no other charset commands anywhere in the page. But browsers are displaying the pages with Western ISO-8859-1. PHP has a header function that lets you set the charset; does LC? Tim Selander Tokyo, Japan From pete at lcsql.com Wed Nov 20 20:35:43 2013 From: pete at lcsql.com (Peter Haworth) Date: Wed, 20 Nov 2013 17:35:43 -0800 Subject: Differentiating a substack from a mainstack In-Reply-To: <119194436529.20131120170914@ahsoftware.net> References: <528D0E57.1040405@fourthworld.com> <528D432F.2080501@hyperactivesw.com> <119194436529.20131120170914@ahsoftware.net> Message-ID: Thanks Mark, I wrote my last reply just as yours came in so yes, it confirms what I saw in the IDE code. Iwas hoping I could enter a bug report and suggest that the IDE code uses the templateStack to set the mainstack, but when I tried that in a test stack, I got an error on the "set the mainstack of the templatestack..." statement so I guess the mainstack is not a real property of a stack, at least in 5.5.4 Unfortunately, I need this for my lcStackBrowser plugin so I have no control over setting the stack name. I think I'll just have to tell users to use the lcStackBrowser mechanism for creating new main/substacks - they work better any way :-) Pete lcSQL Software On Wed, Nov 20, 2013 at 5:09 PM, Mark Wieder wrote: > Peter- > > Wednesday, November 20, 2013, 4:32:03 PM, you wrote: > > > Richard, > > It feels like a bug to me although I think it's a timing issue more than > > anything else. It does however make it impossible to tell whether a > newly > > created stack is a main stack or a substack. > > I believe a newly-created stack *is* a mainstack. It only becomes a > substack after the moment of creation when its mainstack/owner > property is changed. But the actual stack creation mechanism is the > same. > > Probably not going to help much, but if you set the name of the > templatestack before creating a new stack, the stack name gets updated > before openstack fires: > > set the name of the templatestack to "minnie" > new stack "haha" > -- stack "miniie" gets created, > -- and then its name gets set to "haha" > > ...sorry... I did all my testing from script rather than from the > menubar. > > -- > -Mark Wieder > ahsoftware at gmail.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mwieder at ahsoftware.net Wed Nov 20 20:36:51 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 20 Nov 2013 17:36:51 -0800 Subject: Differentiating a substack from a mainstack In-Reply-To: References: <528D0E57.1040405@fourthworld.com> <528D432F.2080501@hyperactivesw.com> Message-ID: <101196092958.20131120173651@ahsoftware.net> Peter- Wednesday, November 20, 2013, 5:29:54 PM, you wrote: > I prowled around the IDE code for the File menu "New substack" item and > here's what happens: > *put* the short name of the topStack into tCurrentStack > *if* the mainStack of stack tCurrentStack is not tCurrentStack *then* *put* > the mainStack of stack tCurrentStack into tCurrentStack > *send* "menuPick" && quote & "New Mainstack" & quote to button "file" > *set* the mainStack of the topStack to tCurrentStack > In other words, requesting a new substack results in a new mainstack being > created then having it's mainstack set to the correct mainstack. Yes, and that's what should happen, in spite of the asterisks. Creating a stack is creating a stack. The part that *might* be considered a bug is that saying create stack "haha" doesn't attach the new stack name until after the stack has been created with a generic id name and the openstack handler has finished executing. -- -Mark Wieder ahsoftware at gmail.com From mwieder at ahsoftware.net Wed Nov 20 20:40:56 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 20 Nov 2013 17:40:56 -0800 Subject: Differentiating a substack from a mainstack In-Reply-To: References: <528D0E57.1040405@fourthworld.com> <528D432F.2080501@hyperactivesw.com> <119194436529.20131120170914@ahsoftware.net> Message-ID: <153196338330.20131120174056@ahsoftware.net> Peter- Wednesday, November 20, 2013, 5:35:43 PM, you wrote: > Thanks Mark, I wrote my last reply just as yours came in so yes, it > confirms what I saw in the IDE code. LOL. And I responded to yours before this came in. We gotta stop meeting like this. > Iwas hoping I could enter a bug report and suggest that the IDE code uses > the templateStack to set the mainstack, but when I tried that in a test > stack, I got an error on the "set the mainstack of the templatestack..." > statement so I guess the mainstack is not a real property of a stack, at > least in 5.5.4 No, it's just that you can't set the mainstack property of the templatestack because it's a special type of object. > Unfortunately, I need this for my lcStackBrowser plugin so I have no > control over setting the stack name. I think I'll just have to tell users > to use the lcStackBrowser mechanism for creating new main/substacks - they > work better any way :-) You *could* get really tricky and hijack the menu... -- -Mark Wieder ahsoftware at gmail.com From monte at sweattechnologies.com Wed Nov 20 20:52:18 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu, 21 Nov 2013 12:52:18 +1100 Subject: Differentiating a substack from a mainstack In-Reply-To: References: <528D0E57.1040405@fourthworld.com> <528D432F.2080501@hyperactivesw.com> <119194436529.20131120170914@ahsoftware.net> Message-ID: On 21/11/2013, at 12:35 PM, Peter Haworth wrote: > Unfortunately, I need this for my lcStackBrowser plugin so I have no > control over setting the stack name. I think I'll just have to tell users > to use the lcStackBrowser mechanism for creating new main/substacks - they > work better any way :-) Can't you trap the mainstackChanged message in a frontScript? I'm doing some GIT IDE integration stuff related to lcVCS and I've been enjoying creating behaviors for IDE objects... in particular grandparent behaviors for the SE template behaviors... mouseMove toolTip git blame on on the line numbers is my favorite but the sheet dialog showing the log and script diff when you click on a log line is shaping up nicely ;-) https://dl.dropboxusercontent.com/u/11969754/PastedGraphic-1.png https://dl.dropboxusercontent.com/u/11969754/PastedGraphic-2.png So you could set a behavior on revFrontScript before mainstackChanged pOldStack, pNewStack -- whatever you need here end mainstackChanged Cheers -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From pete at lcsql.com Wed Nov 20 21:46:10 2013 From: pete at lcsql.com (Peter Haworth) Date: Wed, 20 Nov 2013 18:46:10 -0800 Subject: Differentiating a substack from a mainstack In-Reply-To: <153196338330.20131120174056@ahsoftware.net> References: <528D0E57.1040405@fourthworld.com> <528D432F.2080501@hyperactivesw.com> <119194436529.20131120170914@ahsoftware.net> <153196338330.20131120174056@ahsoftware.net> Message-ID: On Wed, Nov 20, 2013 at 5:40 PM, Mark Wieder wrote: > You *could* get really tricky and hijack the menu... That gave me an idea which seems to work - check the menuhistory of the File menu button of revMenuBar in openStack. Seems to work, 1=mainstack, 2=substack of the topstack. Is that tricky enough? Pete lcSQL Software From gcanyon at gmail.com Wed Nov 20 21:48:00 2013 From: gcanyon at gmail.com (Geoff Canyon) Date: Wed, 20 Nov 2013 20:48:00 -0600 Subject: Is there a reasonable way to use numbers smaller than about 10^-6 In-Reply-To: References: <528CE8ED.8080100@gmail.com> <0D6D69ED-7C07-4EC3-961F-46ACD1488AE7@mac.com> Message-ID: Sure -- note that I'm not solving the 3-body or N-body problem. I'm going moment to moment, calculating the gravitational effects at that time and applying them. I'm inherently inaccurate because I'm only checking every which for long trips could be hours. The math to do this is fairly simple, actually, but as I've said previously, I've confirmed my results using Kepler's 2nd law. On Wed, Nov 20, 2013 at 3:01 PM, Roger Guay wrote: > Wow Geoff, this is very impressive! I tried to do similar simulations of > this kind in the past, but failed. At the time, I chalked it up to the > complexities of the "3-body problem" and set it aside. I?ll be very anxious > to hear about your progress. Please keep me/us posted, if you will. > > Thanks, > > Roger > > > On Nov 20, 2013, at 11:37 AM, Geoff Canyon wrote: > > > It's not a secret. I posted about a month ago in fair detail, but I'm > doing > > a space simulation, similar to Kerbal Space Program or Simple Rockets, > but > > with correct gravity (they both take shortcuts that appall me). I just > > found out that the Animation Engine has a 3D projection function, so if > > that tests out I'm going to switch from 2D to 3D. The end result should > be > > fairly simple visually, but with an accurate representation of every > round > > body in our solar system (about 50) all of them applying gravity > correctly > > and simultaneously to the rocket(s). > > > > So far I have correct 2D gravity, export/import of universe definitions, > > multiple simultaneous rockets, landing, taking off, and crashing. The > > planets and moons run on set paths (I don't calculate their gravitational > > interactions with each other). I need to at least change the paths from > > circles to ellipses, or let them run freely. I need to finish converting > to > > km/s/kg from the abstract numbers I started with. I need to add > atmosphere. > > I need to real-ify the rockets (currently they are one-stage, crazy > > powerful, and have unlimited fuel). And if I'm lucky, convert to 3D. And > > start testing on an iPad (the eventual target). > > > > And I will just say, orbits are hard. > > > > gc > > > > > > On Wed, Nov 20, 2013 at 12:28 PM, Roger Guay wrote: > > > >> This sounds very interesting, Geoff. Sure would like to know what you?re > >> up to?. > >> > >> Roger > >> > >> > >> On Nov 20, 2013, at 10:21 AM, Geoff Canyon wrote: > >> > >>> On Wed, Nov 20, 2013 at 10:53 AM, Richmond < > richmondmathewson at gmail.com > >>> wrote: > >>> > >>>> > >>>> Ordinary math seems to peter out at 0.000001. > >>>>> > >>>>> This puts 8.100e-13: put format("%1.3e", (1e0)/(1234567890123e0)) > >>>>> > >>>>> So is something like that the best way to go? > >>>>> > >>>> > >>> My plan so far is just to do the math. If the result is 0, then > increase > >> my > >>> timescale by 100,000 and try again. (and repeat as necessary) That way > >> when > >>> there is something overwhelming nearby, extremely distant/small objects > >>> will have 0 effect, but if there is nothing nearby/large, then > >>> smaller/farther objects will be applied across timescales that work for > >>> them. > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at 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 at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From irog at mac.com Wed Nov 20 22:42:20 2013 From: irog at mac.com (Roger Guay) Date: Wed, 20 Nov 2013 19:42:20 -0800 Subject: Is there a reasonable way to use numbers smaller than about 10^-6 In-Reply-To: References: <528CE8ED.8080100@gmail.com> <0D6D69ED-7C07-4EC3-961F-46ACD1488AE7@mac.com> Message-ID: <3AFD878F-6A6F-4979-9CF9-4D89251F4400@mac.com> As you describe it, I think I was attempting to do the same thing. I?m still impressed!! Thanks for taking the time to describe your project. Roger On Nov 20, 2013, at 6:48 PM, Geoff Canyon wrote: > Sure -- note that I'm not solving the 3-body or N-body problem. I'm going > moment to moment, calculating the gravitational effects at that time and > applying them. I'm inherently inaccurate because I'm only checking every > which for long trips could be hours. The math to do this is > fairly simple, actually, but as I've said previously, I've confirmed my > results using Kepler's 2nd law. > > > On Wed, Nov 20, 2013 at 3:01 PM, Roger Guay wrote: > >> Wow Geoff, this is very impressive! I tried to do similar simulations of >> this kind in the past, but failed. At the time, I chalked it up to the >> complexities of the "3-body problem" and set it aside. I?ll be very anxious >> to hear about your progress. Please keep me/us posted, if you will. >> >> Thanks, >> >> Roger >> >> >> On Nov 20, 2013, at 11:37 AM, Geoff Canyon wrote: >> >>> It's not a secret. I posted about a month ago in fair detail, but I'm >> doing >>> a space simulation, similar to Kerbal Space Program or Simple Rockets, >> but >>> with correct gravity (they both take shortcuts that appall me). I just >>> found out that the Animation Engine has a 3D projection function, so if >>> that tests out I'm going to switch from 2D to 3D. The end result should >> be >>> fairly simple visually, but with an accurate representation of every >> round >>> body in our solar system (about 50) all of them applying gravity >> correctly >>> and simultaneously to the rocket(s). >>> >>> So far I have correct 2D gravity, export/import of universe definitions, >>> multiple simultaneous rockets, landing, taking off, and crashing. The >>> planets and moons run on set paths (I don't calculate their gravitational >>> interactions with each other). I need to at least change the paths from >>> circles to ellipses, or let them run freely. I need to finish converting >> to >>> km/s/kg from the abstract numbers I started with. I need to add >> atmosphere. >>> I need to real-ify the rockets (currently they are one-stage, crazy >>> powerful, and have unlimited fuel). And if I'm lucky, convert to 3D. And >>> start testing on an iPad (the eventual target). >>> >>> And I will just say, orbits are hard. >>> >>> gc >>> >>> >>> On Wed, Nov 20, 2013 at 12:28 PM, Roger Guay wrote: >>> >>>> This sounds very interesting, Geoff. Sure would like to know what you?re >>>> up to?. >>>> >>>> Roger >>>> >>>> >>>> On Nov 20, 2013, at 10:21 AM, Geoff Canyon wrote: >>>> >>>>> On Wed, Nov 20, 2013 at 10:53 AM, Richmond < >> richmondmathewson at gmail.com >>>>> wrote: >>>>> >>>>>> >>>>>> Ordinary math seems to peter out at 0.000001. >>>>>>> >>>>>>> This puts 8.100e-13: put format("%1.3e", (1e0)/(1234567890123e0)) >>>>>>> >>>>>>> So is something like that the best way to go? >>>>>>> >>>>>> >>>>> My plan so far is just to do the math. If the result is 0, then >> increase >>>> my >>>>> timescale by 100,000 and try again. (and repeat as necessary) That way >>>> when >>>>> there is something overwhelming nearby, extremely distant/small objects >>>>> will have 0 effect, but if there is nothing nearby/large, then >>>>> smaller/farther objects will be applied across timescales that work for >>>>> them. >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at 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 at 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 at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From Nakia.Brewer at westrac.com.au Thu Nov 21 00:15:47 2013 From: Nakia.Brewer at westrac.com.au (Nakia Brewer) Date: Thu, 21 Nov 2013 05:15:47 +0000 Subject: ticked off Message-ID: <67116DB20798A94285EEE12A67079A2832634A91@MHSEXC02.westrac.com.au> Hi, Just wondering if anyone still has a copy of the ticked Off tutorial that was around a few years back? 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. From mwieder at ahsoftware.net Thu Nov 21 00:17:14 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 20 Nov 2013 21:17:14 -0800 Subject: Differentiating a substack from a mainstack In-Reply-To: References: <528D0E57.1040405@fourthworld.com> <528D432F.2080501@hyperactivesw.com> <119194436529.20131120170914@ahsoftware.net> <153196338330.20131120174056@ahsoftware.net> Message-ID: <47209316467.20131120211714@ahsoftware.net> Pete- Wednesday, November 20, 2013, 6:46:10 PM, you wrote: > On Wed, Nov 20, 2013 at 5:40 PM, Mark Wieder wrote: >> You *could* get really tricky and hijack the menu... > That gave me an idea which seems to work - check the menuhistory of the > File menu button of revMenuBar in openStack. Seems to work, 1=mainstack, > 2=substack of the topstack. > Is that tricky enough? That's pretty clever. I didn't think of doing it that way. When I mess around with the menubar (or any of the IDE stacks) I try to bracket the code with stuff to make sure what environment I'm in. Your menubar hack should work with everything to date, but if the menubar changes in the future or you want this to work with rIDE you may have to code something different. Along the lines of: function getIDEStackName pRevIDEStackName if there is a stack pRevIDEStackName then return pRevIDEStackName else switch pRevIDEStackName case "revmenubar" return "someOtherMenubar" break case "revTools" return "someOtherToolPalette" break case whatever -- etc end switch end if end getIDEStackName -- -Mark Wieder ahsoftware at gmail.com From mwieder at ahsoftware.net Thu Nov 21 00:26:38 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 20 Nov 2013 21:26:38 -0800 Subject: OT: Putting Root Beer in a square cup makes it regular beer because math. Message-ID: <152209880452.20131120212638@ahsoftware.net> All- http://www.theatlantic.com/technology/archive/2013/11/english-has-a-new-preposition-because-internet/281601/ -- -Mark Wieder ahsoftware at gmail.com From paulhibbert at mac.com Thu Nov 21 00:47:12 2013 From: paulhibbert at mac.com (Paul Hibbert) Date: Wed, 20 Nov 2013 21:47:12 -0800 Subject: ticked off In-Reply-To: <67116DB20798A94285EEE12A67079A2832634A91@MHSEXC02.westrac.com.au> References: <67116DB20798A94285EEE12A67079A2832634A91@MHSEXC02.westrac.com.au> Message-ID: <4E4B65FC-2B1D-4ADC-BAE1-89FF8D2B6D1E@mac.com> Hi Nakia, I do have a copy of the full course, it was the summer academy from 2011. I'm sure we would need permission from RR for me to be able to send it to you. I can't see them objecting, but it is their copyright. It's about 1.2GB including the movies so it would take me quite a while to upload it as I don't have a good internet connection here, but if that's the only way you can get it I'll happily send it, just get Heather to let me know and I can send you a link via dropbox. Paul On 2013-11-20, at 9:15 PM, Nakia Brewer wrote: > Hi, > > Just wondering if anyone still has a copy of the ticked Off tutorial that was around a few years back? > > > > > > 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From vokey at uleth.ca Thu Nov 21 01:55:31 2013 From: vokey at uleth.ca (Vokey, John) Date: Thu, 21 Nov 2013 06:55:31 +0000 Subject: item delimiter defaults Message-ID: <8A7EACF4-FDAC-4283-A920-D2AC481A2FCC@uleth.ca> All, I know it is not just me (as all of my colleagues complain about it as well): having the default item delimiter be a comma is annoying, as most of us use the tab delimiter. Most of the functions I write have an additional parameter (the item delimiter used in the passed data) to accommodate, but it would MUCH simpler if we could just set the *default* item delimiter. And, as I think about it, why not the same for all delimiters? So, how about an engine command such as: set the default itemdelimiter to that sets the itemdelimiter to whatever x contains until the stack is closed or another set the default itemdelimiter to is encountered? -- Please avoid sending me Word or PowerPoint attachments. See -Dr. John R. Vokey From stephenREVOLUTION2 at barncard.com Thu Nov 21 02:16:21 2013 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Wed, 20 Nov 2013 23:16:21 -0800 Subject: item delimiter defaults In-Reply-To: <8A7EACF4-FDAC-4283-A920-D2AC481A2FCC@uleth.ca> References: <8A7EACF4-FDAC-4283-A920-D2AC481A2FCC@uleth.ca> Message-ID: On Wed, Nov 20, 2013 at 10:55 PM, Vokey, John wrote: > having the default item delimiter be a comma is annoying I disagree - the comma is the easiest delimiter to use - visible on a single line - great for tiny lists and the one I would think 'most people' would use. It just depends on the expected data.? It probably makes one's code more readable having to 'declare' delimiter changes in-line anyway?. *--* *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words* From gerry.orkin at gmail.com Thu Nov 21 02:16:41 2013 From: gerry.orkin at gmail.com (Gerry Orkin) Date: Thu, 21 Nov 2013 18:16:41 +1100 Subject: item delimiter defaults In-Reply-To: <8A7EACF4-FDAC-4283-A920-D2AC481A2FCC@uleth.ca> References: <8A7EACF4-FDAC-4283-A920-D2AC481A2FCC@uleth.ca> Message-ID: <444EFFC0-3A79-4388-AA51-5FB0424B0DC0@gmail.com> John wrote: > I know it is not just me (as all of my colleagues complain about it as well): having the default item delimiter be a comma is annoying, as most of us use the tab delimiter. I only develop on mobile and I have a standard openstack handler I use in all my projects that takes care of resolution, internet availability, default delimiter and other settings. Gerry From gerry.orkin at gmail.com Thu Nov 21 02:21:21 2013 From: gerry.orkin at gmail.com (Gerry Orkin) Date: Thu, 21 Nov 2013 18:21:21 +1100 Subject: item delimiter defaults In-Reply-To: References: <8A7EACF4-FDAC-4283-A920-D2AC481A2FCC@uleth.ca> Message-ID: <41EDE67E-D0E4-48E6-A086-F0E589A683E6@gmail.com> stephen wrote: > great for tiny lists and the one I would think 'most people' > would use. I also use comma for tiny lists (and sometimes for debugging, as the commas are visible in fields) but I switch to it as I need to. Most of the text I work with is pulled from databases and they use tabs :) Gerry From ben at runrev.com Thu Nov 21 04:52:45 2013 From: ben at runrev.com (Benjamin Beaumont) Date: Thu, 21 Nov 2013 09:52:45 +0000 Subject: RELEASE: LiveCode 6.5 RC6 In-Reply-To: <1384991274943-4672660.post@n4.nabble.com> References: <528D02F6.8050005@fourthworld.com> <528D0D65.9040709@fourthworld.com> <1384978222572-4672627.post@n4.nabble.com> <1384991274943-4672660.post@n4.nabble.com> Message-ID: Hi All, Thank your for you taking part in this discussion. There are a couple of points here to address: 1) Releases showing clearly what has changed. This is a great suggestion from Mark. We will update our system producing the release notes and auto-updater text to list clearly what has changed in a given release. 2) Release frequency. The release of RC6 was due to issues found in RC5. We were able to fix them on the day they were reported so put out a new build for testers to work with. A release candidate by definition is a release that we believe to be 'release worthy'. As soon as issues are found in that candidate, it is no longer 'release worthy' and we work as quickly as we can to fix the issues, resulting in a new release candidate. Sometime it can take us a couple of weeks to fix all the issues, other times, just one day. Hopefully that goes some way to explain why the release frequency is variable. In general, as we approach a GM release, you can expect the release frequency to increase. Right at the end of the cycle, a flurry of daily releases is certainly possible as we tweak minor issues and put out new 'release candidates'. There is a preferences pane for updates which lets you configure what version you would like to be notified of. You can choose to receive notifications of stable, maintenance, beta and development. I hope that helps, Warm regards, Ben On 20 November 2013 23:47, Alejandro Tejada wrote: > Scott Rossi wrote > > One is here: > > go url "http://www.tactilemedia.com/site_files/downloads/namegen.rev" > > But these probably aren't the names you're looking for. :-) > > Certainly! These aren't the droids I'm looking :D > > Al > > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/RELEASE-LiveCode-6-5-RC6-tp4672605p4672660.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- _____________________________________________ Benjamin Beaumont . RunRev Ltd LiveCode Product Manager mail : 25a Thistle Street Lane South West, Edinburgh, EH2 1EW email : ben at runrev.com company : +44(0) 845 219 89 23 fax : +44(0) 845 458 8487 web : www.runrev.com LiveCode - Programming made simple From heather at runrev.com Thu Nov 21 05:14:47 2013 From: heather at runrev.com (Heather Laine) Date: Thu, 21 Nov 2013 10:14:47 +0000 Subject: Vision Mobile Survey Message-ID: <78AD94E8-EF7C-4A41-A689-BEA0A8A264E8@runrev.com> Folks - Vision Mobile are running another independent survey on what tools you developers use and why. There's some tasty prizes to be won just for filling out the survey, so if you want to give LiveCode a boost and maybe win an iPhone or a Galaxy S4, here's the link: http://www.visionmobile.com/DE1Q14RunRev Warm Regards, Heather Heather Laine Customer Services Manager http://www.livecode.com/ From neil at runrev.com Thu Nov 21 06:06:23 2013 From: neil at runrev.com (Neil Roger) Date: Thu, 21 Nov 2013 11:06:23 +0000 Subject: Character encoding using LC server on on-rev In-Reply-To: <528D630B.7020004@tkf.att.ne.jp> References: <528D630B.7020004@tkf.att.ne.jp> Message-ID: <528DE92F.3090908@runrev.com> Hi Tim, If this has only recently started to happen please contact our on-rev support team who should be able to assist further- http://on-rev.com/support/contact-us/ Kind Regards, Neil Roger -- RunRev Support Team ~ http://www.runrev.com - On 21/11/2013 01:34, Tim Selander wrote: > Hi, > > My Japanese .irev web pages are not loading with the right encoding > anymore. I'm on the server pancake. > > My html header has this: > > > > There are no other charset commands anywhere in the page. But browsers > are displaying the pages with Western ISO-8859-1. > > PHP has a header function that lets you set the charset; does LC? > > Tim Selander > Tokyo, Japan > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From revolution at derbrill.de Thu Nov 21 06:57:37 2013 From: revolution at derbrill.de (Malte Brill) Date: Thu, 21 Nov 2013 12:57:37 +0100 Subject: Dreaming up Webservices with LC server In-Reply-To: References: Message-ID: <8A64B56B-5051-495F-AD34-D371C1FEB41A@derbrill.de> Hi all, I am currently in a situation, where I need to implement a couple of Webservices (either SOAP or REST at my choice). Of course I would love to be able to do this with liveCode server. I need to OFFER webservice, instead of retrieving data from existing ones. So here is the question? Has anybody of you done this already? Is there some sort of library that could be used? When I am looking at this I see a lot of work coming up and makes me peeking jealously at JAVA, where a Webservice comes out of the box so to speak. I envision something in LC that automagically generates a WSDL somehow, just the way one would expect and some sort of connector script that receives the data and passes it on to the commands and functions in question. I would be very glad to receive any pointers. All the best, Malte From peterwawood at gmail.com Thu Nov 21 07:53:32 2013 From: peterwawood at gmail.com (Peter W A Wood) Date: Thu, 21 Nov 2013 20:53:32 +0800 Subject: Dreaming up Webservices with LC server In-Reply-To: <8A64B56B-5051-495F-AD34-D371C1FEB41A@derbrill.de> References: <8A64B56B-5051-495F-AD34-D371C1FEB41A@derbrill.de> Message-ID: Hi Malte Andre Garcia has published a lightweight REST library with which you easily use to provide a REST service. It's called revspark ( http://andregarzia.com/pages/en/revspark/ ) and is modelled on Ruby's Sinatra. Personally, I think that REST is the way to go so that you can avoid all the heavy, boilerplating required by SOAP (though I'm no expert_. By the way, what is a web service other than a web site which returns XML or JSON (or CSV data) instead of HTML, CSS and JavaScript. Regards Peter http://LiveCode1001.blogspot.com On 21 Nov 2013, at 19:57, Malte Brill wrote: > Hi all, > > I am currently in a situation, where I need to implement a couple of Webservices (either SOAP or REST at my choice). Of course I would love to be able to do this with liveCode server. I need to OFFER webservice, instead of retrieving data from existing ones. So here is the question? Has anybody of you done this already? Is there some sort of library that could be used? When I am looking at this I see a lot of work coming up and makes me peeking jealously at JAVA, where a Webservice comes out of the box so to speak. > > I envision something in LC that automagically generates a WSDL somehow, just the way one would expect and some sort of connector script that receives the data and passes it on to the commands and functions in question. > > I would be very glad to receive any pointers. > > All the best, > > Malte > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From revolution at derbrill.de Thu Nov 21 08:01:25 2013 From: revolution at derbrill.de (Malte Brill) Date: Thu, 21 Nov 2013 14:01:25 +0100 Subject: Dreaming up Webservices with LC server In-Reply-To: References: Message-ID: <87DFF17D-26E2-49A1-9C85-AF9C35727C2E@derbrill.de> Hi Peter, thanks for the info. :-) > By the way, what is a web service other than a web site which returns XML or JSON (or CSV data) instead of HTML, CSS and JavaScript. Well, what I would of course love to have is something that exposes my liveCode handlers as a webservice (generate all the required stuff automagically) just by looking at the script that is used in the backend. Similar to what Java does. :-) I am aware that this is a bit too much too ask at the moment though. All the best, Malte From m.schonewille at economy-x-talk.com Thu Nov 21 08:09:14 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 21 Nov 2013 14:09:14 +0100 Subject: Dreaming up Webservices with LC server In-Reply-To: <8A64B56B-5051-495F-AD34-D371C1FEB41A@derbrill.de> References: <8A64B56B-5051-495F-AD34-D371C1FEB41A@derbrill.de> Message-ID: <528E05FA.3060608@economy-x-talk.com> Hi Malte, Do you want live content ? la Facebook and Twitter, or are you just looking for a standard way to provide data? FB and Twitter designed their own API. I think that FB is the closest to standard data, using GRAPH and JSON. If you just want to provide static data, I'd go with JSON or XML as Peter wrote already. PHP has built-in JSON and XML commands, which allow you send standard MySQL queries to the database and get the right format returned without additional work. Look up the json_encode() function in the PHP docs. Unfortunately, PHP isn't LC server but I'd consider using PHP for this. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi Fill out this survey please http://livecodebeginner.economy-x-talk.com/survey/ On 11/21/2013 12:57, Malte Brill wrote: > Hi all, > > I am currently in a situation, where I need to implement a couple of Webservices (either SOAP or REST at my choice). Of course I would love to be able to do this with liveCode server. I need to OFFER webservice, instead of retrieving data from existing ones. So here is the question? Has anybody of you done this already? Is there some sort of library that could be used? When I am looking at this I see a lot of work coming up and makes me peeking jealously at JAVA, where a Webservice comes out of the box so to speak. > > I envision something in LC that automagically generates a WSDL somehow, just the way one would expect and some sort of connector script that receives the data and passes it on to the commands and functions in question. > > I would be very glad to receive any pointers. > > All the best, > > Malte From richmondmathewson at gmail.com Thu Nov 21 08:56:53 2013 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 21 Nov 2013 15:56:53 +0200 Subject: RELEASE: LiveCode 6.5 RC6 In-Reply-To: References: <528D02F6.8050005@fourthworld.com> <528D0D65.9040709@fourthworld.com> <1384978222572-4672627.post@n4.nabble.com> <1384991274943-4672660.post@n4.nabble.com> Message-ID: <528E1125.8060908@gmail.com> On 21/11/13 11:52, Benjamin Beaumont wrote: > Hi All, > > Thank your for you taking part in this discussion. There are a couple of > points here to address: > > 1) Releases showing clearly what has changed. > This is a great suggestion from Mark. We will update our system producing > the release notes and auto-updater text to list clearly what has changed in > a given release. > > 2) Release frequency. > The release of RC6 was due to issues found in RC5. We were able to fix them > on the day they were reported so put out a new build for testers to work > with. > > A release candidate by definition is a release that we believe to be > 'release worthy'. As soon as issues are found in that candidate, it is no > longer 'release worthy' and we work as quickly as we can to fix the issues, > resulting in a new release candidate. Sometime it can take us a couple of > weeks to fix all the issues, other times, just one day. Hopefully that goes > some way to explain why the release frequency is variable. > > In general, as we approach a GM release, you can expect the release > frequency to increase. Right at the end of the cycle, a flurry of daily > releases is certainly possible as we tweak minor issues and put out new > 'release candidates'. > > There is a preferences pane for updates which lets you configure what > version you would like to be notified of. Oh, Good: whereabouts is that? Richmond. > You can choose to receive > notifications of stable, maintenance, beta and development. > > I hope that helps, > > Warm regards, > > Ben > > > On 20 November 2013 23:47, Alejandro Tejada wrote: > >> Scott Rossi wrote >>> One is here: >>> go url "http://www.tactilemedia.com/site_files/downloads/namegen.rev" >>> But these probably aren't the names you're looking for. :-) >> Certainly! These aren't the droids I'm looking :D >> >> Al >> >> >> >> -- >> View this message in context: >> http://runtime-revolution.278305.n4.nabble.com/RELEASE-LiveCode-6-5-RC6-tp4672605p4672660.html >> Sent from the Revolution - User mailing list archive at Nabble.com. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > From ebeugelaar at gmail.com Thu Nov 21 09:04:29 2013 From: ebeugelaar at gmail.com (Erik Beugelaar) Date: Thu, 21 Nov 2013 15:04:29 +0100 Subject: ticked off In-Reply-To: <4E4B65FC-2B1D-4ADC-BAE1-89FF8D2B6D1E@mac.com> Message-ID: Hi Paul, You can also sent a download link via http://www.wetransfer.com so the receiver, Nakia, can download the material by himself. You can upload up to 2GB. Regards, Erik On 21/11/13 06:47, "Paul Hibbert" wrote: >Hi Nakia, > >I do have a copy of the full course, it was the summer academy from 2011. >I'm sure we would need permission from RR for me to be able to send it to >you. I can't see them objecting, but it is their copyright. > >It's about 1.2GB including the movies so it would take me quite a while >to upload it as I don't have a good internet connection here, but if >that's the only way you can get it I'll happily send it, just get Heather >to let me know and I can send you a link via dropbox. > >Paul > >On 2013-11-20, at 9:15 PM, Nakia Brewer >wrote: > >> Hi, >> >> Just wondering if anyone still has a copy of the ticked Off tutorial >>that was around a few years back? >> >> >> >> >> >> 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 at 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 at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode From selander at tkf.att.ne.jp Thu Nov 21 09:14:20 2013 From: selander at tkf.att.ne.jp (Tim Selander) Date: Thu, 21 Nov 2013 23:14:20 +0900 Subject: Character encoding using LC server on on-rev In-Reply-To: <528DE92F.3090908@runrev.com> References: <528D630B.7020004@tkf.att.ne.jp> <528DE92F.3090908@runrev.com> Message-ID: <528E153C.5020009@tkf.att.ne.jp> Thanks, Neil. A few hours after my post, when no one hear chimed in on the matter, I did decide to contact on-rev support to see if they could help, since we decided it was embarrassing to have users having browser text encoding problems on the couple of pages we use LC coding with. David Williams got right back to me and we're working on it together. Regards, Tim Selander On 11/21/13 8:06 PM, Neil Roger wrote: > Hi Tim, > > If this has only recently started to happen please contact our > on-rev support team who should be able to assist further- > > http://on-rev.com/support/contact-us/ > > Kind Regards, > > Neil Roger > > -- > RunRev Support Team ~ http://www.runrev.com > - > > On 21/11/2013 01:34, Tim Selander wrote: >> Hi, >> >> My Japanese .irev web pages are not loading with the right >> encoding anymore. I'm on the server pancake. >> >> My html header has this: >> >> >> >> There are no other charset commands anywhere in the page. But >> browsers are displaying the pages with Western ISO-8859-1. >> >> PHP has a header function that lets you set the charset; does LC? >> >> Tim Selander >> Tokyo, Japan >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From klaus at major-k.de Thu Nov 21 09:39:34 2013 From: klaus at major-k.de (Klaus major-k) Date: Thu, 21 Nov 2013 15:39:34 +0100 Subject: LC resolution independence and @2 images Message-ID: Hi friends, Ii am playing around ab it with LC 6.5 and cannot get the @2 image(s) to work!? Here is what I did: 1. Created a 480*320 pixel stack 2. Created 2 identical images, one in 480*320 "image.jpg" and one in 960*640 "image at 2.jpg". The hires one has the text @2 in the topleft corner to see if it is working See this screenshot for my settings: I think everything is correct: a. Layout with referenced small image "image.jpg" b. Both images added via the "Copy files" tab in the standalone builder 3. No joy in the simulator, see this screenshot. NO @2 image, the low-res image is being displayed: Am I doing something wrong or what do I overlook? Does this NOT work in the simulator? What? 8-) Any hints much appreciated, thanks! Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From mcgrath3 at mac.com Thu Nov 21 09:47:13 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Thu, 21 Nov 2013 09:47:13 -0500 Subject: LC resolution independence and @2 images In-Reply-To: References: Message-ID: <7F412BE6-95D9-4DE1-B70D-E9C65D54557C@mac.com> Klaus, That does not look like the Retina Simulator, it looks like the regular simulator. Double check that. Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com On Nov 21, 2013, at 9:39 AM, Klaus major-k wrote: > Hi friends, > > Ii am playing around ab it with LC 6.5 and cannot get the @2 image(s) to work!? > > Here is what I did: > 1. Created a 480*320 pixel stack > > 2. Created 2 identical images, one in 480*320 "image.jpg" > and one in 960*640 "image at 2.jpg". The hires one has the text @2 > in the topleft corner to see if it is working > > See this screenshot for my settings: > > > I think everything is correct: > a. Layout with referenced small image "image.jpg" > b. Both images added via the "Copy files" tab in the standalone builder > > 3. No joy in the simulator, see this screenshot. > NO @2 image, the low-res image is being displayed: > > > Am I doing something wrong or what do I overlook? > Does this NOT work in the simulator? > What? 8-) > > Any hints much appreciated, thanks! > > > Best > > Klaus > -- > Klaus Major > http://www.major-k.de > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jhurley0305 at sbcglobal.net Thu Nov 21 09:47:09 2013 From: jhurley0305 at sbcglobal.net (Jim Hurley) Date: Thu, 21 Nov 2013 06:47:09 -0800 Subject: Launching Preview In-Reply-To: References: Message-ID: <0B0404FE-9F49-490C-AB17-D6BBC507B20D@sbcglobal.net> Hi Roger, Thanks. This level of Apple Script is over my head, I'm afraid. I tried it, but "theGroup" didn't show up in Preview. I'm surprised that LC doesn't have a more direct way of getting a snapshot into Preview than first creating a file to disk, i.e. export snapshot from rect (rect of graphic "oval") of this card to file tPathAndName as PNG launch document tPathANDNAME Might there be a way to launch Preview and then "activate" the "New from clipboard" within Preview? Not sure what I mean by "activate." Jim Hurley > > Message: 6 > Date: Wed, 20 Nov 2013 13:13:29 -0500 > From: Roger Eller > To: How to use LiveCode > Subject: Re: Launching Preview > Message-ID: > > Content-Type: text/plain; charset=ISO-8859-1 > > Ok, this one works, and it doesn't matter if Preview is already open. > > on mouseUp > put "tell application" && quote & "System Events" & quote && "to > keystroke" && quote & "n" & quote && "using {command down}" into > tAppleScript > export snapshot from grp "theGroup" to tempVariable as PNG > set the clipboardData["image"] to tempVariable > launch "Preview.app" > do "tell Preview" & cr & "end tell" as AppleScrpt -- focus on Preview > do tAppleScript as AppleScript -- Apple-N (New from Clipboard) > end mouseUp > > ~Roger > From klaus at major-k.de Thu Nov 21 09:51:27 2013 From: klaus at major-k.de (Klaus major-k) Date: Thu, 21 Nov 2013 15:51:27 +0100 Subject: LC resolution independence and @2 images In-Reply-To: <7F412BE6-95D9-4DE1-B70D-E9C65D54557C@mac.com> References: <7F412BE6-95D9-4DE1-B70D-E9C65D54557C@mac.com> Message-ID: Hi TOm, Am 21.11.2013 um 15:47 schrieb Thomas McGrath III : > Klaus, > > That does not look like the Retina Simulator, it looks like the regular simulator. "Computer says NO!" :-) Here a screenshot of the current Simulator settings: > Double check that. Yep, no joy... > Tom Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From mcgrath3 at mac.com Thu Nov 21 10:29:33 2013 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Thu, 21 Nov 2013 10:29:33 -0500 Subject: LC resolution independence and @2 images In-Reply-To: References: <7F412BE6-95D9-4DE1-B70D-E9C65D54557C@mac.com> Message-ID: <0DEF0F16-4299-4D5D-B64A-51C8E1DDECC5@mac.com> Huh, no joy, for sure. tom -- Tom McGrath III http://lazyriver.on-rev.com mcgrath3 at mac.com On Nov 21, 2013, at 9:51 AM, Klaus major-k wrote: > Hi TOm, > > Am 21.11.2013 um 15:47 schrieb Thomas McGrath III : > >> Klaus, >> >> That does not look like the Retina Simulator, it looks like the regular simulator. > > "Computer says NO!" :-) > > Here a screenshot of the current Simulator settings: > > >> Double check that. > > Yep, no joy... > >> Tom > > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From cmsheffield at icloud.com Thu Nov 21 10:29:38 2013 From: cmsheffield at icloud.com (Chris Sheffield) Date: Thu, 21 Nov 2013 08:29:38 -0700 Subject: LC resolution independence and @2 images In-Reply-To: References: <7F412BE6-95D9-4DE1-B70D-E9C65D54557C@mac.com> Message-ID: <9B3C315D-0B8D-41E8-988C-ADEADA99BE1B@icloud.com> I may be mistaken, but I believe your double size image needs to have ?@2x? in the file name, not just ?@2?. At least, that?s how Apple does it. I?m assuming LiveCode would require the same thing. Might be a good idea to review the release notes just to be sure. Chris -- Chris Sheffield Read Naturally, Inc. www.readnaturally.com On Nov 21, 2013, at 7:51 AM, Klaus major-k wrote: > Hi TOm, > > Am 21.11.2013 um 15:47 schrieb Thomas McGrath III : > >> Klaus, >> >> That does not look like the Retina Simulator, it looks like the regular simulator. > > "Computer says NO!" :-) > > Here a screenshot of the current Simulator settings: > > >> Double check that. > > Yep, no joy... > >> Tom > > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Thu Nov 21 10:32:18 2013 From: klaus at major-k.de (Klaus major-k) Date: Thu, 21 Nov 2013 16:32:18 +0100 Subject: LC resolution independence and @2 images In-Reply-To: <9B3C315D-0B8D-41E8-988C-ADEADA99BE1B@icloud.com> References: <7F412BE6-95D9-4DE1-B70D-E9C65D54557C@mac.com> <9B3C315D-0B8D-41E8-988C-ADEADA99BE1B@icloud.com> Message-ID: <3F9EAA45-8BB0-4534-9775-E4DC100F23C9@major-k.de> Hi Chris, Am 21.11.2013 um 16:29 schrieb Chris Sheffield : > I may be mistaken, but I believe your double size image needs to have ?@2x? in the file name, not just ?@2?. At least, that?s how Apple does it. I?m assuming LiveCode would require the same thing. Might be a good idea to review the release notes just to be sure. Ah, JOY! :-D Yep, that was it (slapforehead)! Thanks for the hint. > Chris > > -- > Chris Sheffield > Read Naturally, Inc. > www.readnaturally.com Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From roger.e.eller at sealedair.com Thu Nov 21 10:34:01 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Thu, 21 Nov 2013 10:34:01 -0500 Subject: Launching Preview In-Reply-To: <0B0404FE-9F49-490C-AB17-D6BBC507B20D@sbcglobal.net> References: <0B0404FE-9F49-490C-AB17-D6BBC507B20D@sbcglobal.net> Message-ID: Since I didn't know what you had in your variable theGroup, I made an actual group named "theGroup" with visible objects in it. It works perfectly of you have a group named "theGroup". As far as the AppleScript, I just googled that. All it does is sets the focus on Preview.app, then sends the equivalent to pressing Apple-N to Preview.app as a system event. ~Roger On Thu, Nov 21, 2013 at 9:47 AM, Jim Hurley wrote: > Hi Roger, > > Thanks. This level of Apple Script is over my head, I'm afraid. > > I tried it, but "theGroup" didn't show up in Preview. > > I'm surprised that LC doesn't have a more direct way of getting a snapshot > into Preview than first creating a file to disk, i.e. > > export snapshot from rect (rect of graphic "oval") of this card to > file tPathAndName as PNG > launch document tPathANDNAME > > Might there be a way to launch Preview and then "activate" the "New from > clipboard" within Preview? Not sure what I mean by "activate." > > Jim Hurley > > > > > Message: 6 > > Date: Wed, 20 Nov 2013 13:13:29 -0500 > > From: Roger Eller > > To: How to use LiveCode > > Subject: Re: Launching Preview > > Message-ID: > > XwFfDAQq6LiYoUDQQQ at mail.gmail.com> > > Content-Type: text/plain; charset=ISO-8859-1 > > > > Ok, this one works, and it doesn't matter if Preview is already open. > > > > on mouseUp > > put "tell application" && quote & "System Events" & quote && "to > > keystroke" && quote & "n" & quote && "using {command down}" into > > tAppleScript > > export snapshot from grp "theGroup" to tempVariable as PNG > > set the clipboardData["image"] to tempVariable > > launch "Preview.app" > > do "tell Preview" & cr & "end tell" as AppleScrpt -- focus on Preview > > do tAppleScript as AppleScript -- Apple-N (New from Clipboard) > > end mouseUp > > > > ~Roger > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From cmsheffield at icloud.com Thu Nov 21 10:37:31 2013 From: cmsheffield at icloud.com (Chris Sheffield) Date: Thu, 21 Nov 2013 08:37:31 -0700 Subject: LC resolution independence and @2 images In-Reply-To: <3F9EAA45-8BB0-4534-9775-E4DC100F23C9@major-k.de> References: <7F412BE6-95D9-4DE1-B70D-E9C65D54557C@mac.com> <9B3C315D-0B8D-41E8-988C-ADEADA99BE1B@icloud.com> <3F9EAA45-8BB0-4534-9775-E4DC100F23C9@major-k.de> Message-ID: <58C2B1B9-16D1-43F0-9495-40DE64EE3A18@icloud.com> Excellent. I was totally guessing. :-) On Nov 21, 2013, at 8:32 AM, Klaus major-k wrote: > Hi Chris, > > Am 21.11.2013 um 16:29 schrieb Chris Sheffield : > >> I may be mistaken, but I believe your double size image needs to have ?@2x? in the file name, not just ?@2?. At least, that?s how Apple does it. I?m assuming LiveCode would require the same thing. Might be a good idea to review the release notes just to be sure. > > Ah, JOY! :-D > > Yep, that was it (slapforehead)! > Thanks for the hint. > >> Chris >> >> -- >> Chris Sheffield >> Read Naturally, Inc. >> www.readnaturally.com > > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > klaus at major-k.de > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at lcsql.com Thu Nov 21 10:54:34 2013 From: pete at lcsql.com (Peter Haworth) Date: Thu, 21 Nov 2013 07:54:34 -0800 Subject: OT: Putting Root Beer in a square cup makes it regular beer because math. In-Reply-To: <152209880452.20131120212638@ahsoftware.net> References: <152209880452.20131120212638@ahsoftware.net> Message-ID: Another corruption of perfectly good grammar because of laziness. Pete lcSQL Software On Nov 20, 2013 9:26 PM, "Mark Wieder" wrote: > All- > > > http://www.theatlantic.com/technology/archive/2013/11/english-has-a-new-preposition-because-internet/281601/ > > -- > -Mark Wieder > ahsoftware at gmail.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at lcsql.com Thu Nov 21 10:57:56 2013 From: pete at lcsql.com (Peter Haworth) Date: Thu, 21 Nov 2013 07:57:56 -0800 Subject: Differentiating a substack from a mainstack In-Reply-To: <47209316467.20131120211714@ahsoftware.net> References: <528D0E57.1040405@fourthworld.com> <528D432F.2080501@hyperactivesw.com> <119194436529.20131120170914@ahsoftware.net> <153196338330.20131120174056@ahsoftware.net> <47209316467.20131120211714@ahsoftware.net> Message-ID: Good idea, thanks. What's rIDE? Pete lcSQL Software On Nov 20, 2013 9:17 PM, "Mark Wieder" wrote: > Pete- > > Wednesday, November 20, 2013, 6:46:10 PM, you wrote: > > > On Wed, Nov 20, 2013 at 5:40 PM, Mark Wieder > wrote: > > >> You *could* get really tricky and hijack the menu... > > > > That gave me an idea which seems to work - check the menuhistory of the > > File menu button of revMenuBar in openStack. Seems to work, 1=mainstack, > > 2=substack of the topstack. > > > Is that tricky enough? > > That's pretty clever. I didn't think of doing it that way. > When I mess around with the menubar (or any of the IDE stacks) I try > to bracket the code with stuff to make sure what environment I'm in. > Your menubar hack should work with everything to date, but if the > menubar changes in the future or you want this to work with rIDE you > may have to code something different. Along the lines of: > > function getIDEStackName pRevIDEStackName > if there is a stack pRevIDEStackName then > return pRevIDEStackName > else > switch pRevIDEStackName > case "revmenubar" > return "someOtherMenubar" > break > case "revTools" > return "someOtherToolPalette" > break > case whatever > -- etc > end switch > end if > end getIDEStackName > > > -- > -Mark Wieder > ahsoftware at gmail.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From klaus at major-k.de Thu Nov 21 11:00:20 2013 From: klaus at major-k.de (Klaus major-k) Date: Thu, 21 Nov 2013 17:00:20 +0100 Subject: Differentiating a substack from a mainstack In-Reply-To: References: <528D0E57.1040405@fourthworld.com> <528D432F.2080501@hyperactivesw.com> <119194436529.20131120170914@ahsoftware.net> <153196338330.20131120174056@ahsoftware.net> <47209316467.20131120211714@ahsoftware.net> Message-ID: <480D88C5-490F-4E52-B45A-C487D29C233C@major-k.de> Hi Pete, Am 21.11.2013 um 16:57 schrieb Peter Haworth : > ... What's rIDE? a wonderful, fast and slim "project browser", really worth a look or two! > Pete > lcSQL Software Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From pete at lcsql.com Thu Nov 21 11:03:26 2013 From: pete at lcsql.com (Peter Haworth) Date: Thu, 21 Nov 2013 08:03:26 -0800 Subject: Differentiating a substack from a mainstack In-Reply-To: References: <528D0E57.1040405@fourthworld.com> <528D432F.2080501@hyperactivesw.com> <119194436529.20131120170914@ahsoftware.net> Message-ID: Hi Monte, I am trapping mainstackhanged for other reasons but unfortunately it happens too late for this particular purpose. I like the idea of setting a behavior on IDE objects and using before / after handlers though. Pete lcSQL Software On Nov 20, 2013 5:52 PM, "Monte Goulding" wrote: > > On 21/11/2013, at 12:35 PM, Peter Haworth wrote: > > > Unfortunately, I need this for my lcStackBrowser plugin so I have no > > control over setting the stack name. I think I'll just have to tell > users > > to use the lcStackBrowser mechanism for creating new main/substacks - > they > > work better any way :-) > > Can't you trap the mainstackChanged message in a frontScript? I'm doing > some GIT IDE integration stuff related to lcVCS and I've been enjoying > creating behaviors for IDE objects... in particular grandparent behaviors > for the SE template behaviors... mouseMove toolTip git blame on on the line > numbers is my favorite but the sheet dialog showing the log and script diff > when you click on a log line is shaping up nicely ;-) > > https://dl.dropboxusercontent.com/u/11969754/PastedGraphic-1.png > https://dl.dropboxusercontent.com/u/11969754/PastedGraphic-2.png > > So you could set a behavior on revFrontScript > > before mainstackChanged pOldStack, pNewStack > -- whatever you need here > end mainstackChanged > > Cheers > > -- > M E R Goulding > Software development services > Bespoke application development for vertical markets > > mergExt - There's an external for that! > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jbv at souslelogo.com Thu Nov 21 11:17:22 2013 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Thu, 21 Nov 2013 18:17:22 +0200 Subject: Standalone still refuses to launch on Mavericks In-Reply-To: References: <528D0E57.1040405@fourthworld.com> <528D432F.2080501@hyperactivesw.com> <119194436529.20131120170914@ahsoftware.net> Message-ID: Hi guys, One of my clients still has problems trying to launch a standalone on Mavericks. The standalone is named "Saisie" and has been built on 10.5.8 with LC 6.5.0 rc6 for Mac Intel only. The standalone runs perfectly on 10.5.8. Originally the preopenstack handler contained references to a file & folder on disk, but I have removed this handler. On the client's Mac GateKeeper is set to "everywhere". The standalone is not signed. Below is an example of the errors displayed in Console when trying to launch the app. Does anyone have any idea of what can be the cause of the problem ? Thanks in advance. jbv 21/11/2013 16:50:41,198 com.apple.launchd.peruser.501[153]: (com..saisie.66384[83599]) Job failed to exec(3) for weird reason: 13 21/11/2013 16:50:41,275 loginwindow[42]: ERROR | -[Application setAppContext:] | Unable to get PID for context [0,70075088] 21/11/2013 16:50:41,288 Dock[189]: no information back from LS about running process LSASN:{hi=0x0;lo=0x42d42d0} 21/11/2013 16:50:41,297 Finder[196]: 8837325: Attempting to SIGCONT to pid #83599 failed, with errno=#3, or the process failed to actually start 21/11/2013 16:50:41,308 Finder[196]: 8837325: Attempting to SIGCONT to pid #83599 failed, with errno=#3, or the process failed to actually start From jiml at netrin.com Thu Nov 21 12:26:41 2013 From: jiml at netrin.com (Jim Lambert) Date: Thu, 21 Nov 2013 09:26:41 -0800 Subject: Livecode and Google Analytics API In-Reply-To: References: Message-ID: Skip wrote: > Anybody do any work or written anything for interfacing with Google Analytics API? I am surprised that no one has replied in the positive since GA is so critical for many mobile apps. Take a look a RunRev?s App2Market materials which mention GA. Perhaps there?s a solution there. Jim Lambert From jiml at netrin.com Thu Nov 21 12:33:45 2013 From: jiml at netrin.com (Jim Lambert) Date: Thu, 21 Nov 2013 09:33:45 -0800 Subject: RELEASE: LiveCode 6.5 RC6 In-Reply-To: References: Message-ID: <73A938AC-8B2E-44E5-A80D-D34189AD864A@netrin.com> BenB wrote: > I hope that helps, It does. Thanks. Jim Lambert From bvlahos at mac.com Thu Nov 21 13:19:22 2013 From: bvlahos at mac.com (Bill Vlahos) Date: Thu, 21 Nov 2013 10:19:22 -0800 Subject: item delimiter defaults In-Reply-To: <8A7EACF4-FDAC-4283-A920-D2AC481A2FCC@uleth.ca> References: <8A7EACF4-FDAC-4283-A920-D2AC481A2FCC@uleth.ca> Message-ID: <8D015688-D00F-4ED6-BC64-767409DF2DBA@mac.com> I agree. I almost never use commas and mostly use TABs so I frequently have to add the extra statements in my code. The only problem I see in making this change now is that it will break some apps. If I give or get a stack from someone who defaults to a different delimiter things will break in funny ways. Perhaps there can be a statement in some standard place such as preOpenStack like ?set the itemDelimiter to XXX? or a stack Custom Property. LiveCode IDEs after a certain date will read and set it and if it isn?t there the current behavior of comma will be used as the default. This would provide backwards compatibility without much overhead. The LiveCode folks don?t typically read this mail group so while this is a great place for a discussion it won?t get their attention. Bill Vlahos On Nov 20, 2013, at 10:55 PM, Vokey, John wrote: > All, > I know it is not just me (as all of my colleagues complain about it as well): having the default item delimiter be a comma is annoying, as most of us use the tab delimiter. Most of the functions I write have an additional parameter (the item delimiter used in the passed data) to accommodate, but it would MUCH simpler if we could just set the *default* item delimiter. And, as I think about it, why not the same for all delimiters? So, how about an engine command such as: set the default itemdelimiter to that sets the itemdelimiter to whatever x contains until the stack is closed or another set the default itemdelimiter to is encountered? > -- > Please avoid sending me Word or PowerPoint attachments. > See > > -Dr. John R. Vokey > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From m.schonewille at economy-x-talk.com Thu Nov 21 13:28:56 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 21 Nov 2013 19:28:56 +0100 Subject: item delimiter defaults In-Reply-To: <8A7EACF4-FDAC-4283-A920-D2AC481A2FCC@uleth.ca> References: <8A7EACF4-FDAC-4283-A920-D2AC481A2FCC@uleth.ca> Message-ID: <528E50E8.9000000@economy-x-talk.com> Hail the comma, I use the comma almost all the time, for simple short lists. That's extremely useful while executing code in the message box. If I have a larger amount of data to deal with, usually I also need a little more code and one additional line of code to set the delimiter doesn't matter to me. Btw very often I use ASCII 14 as a text delimiter to make sure that the items in the list don't contain the delimiter. Probably, we all have our preferences and we can't make everybody happy. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi Fill out this survey please http://livecodebeginner.economy-x-talk.com/survey/ On 11/21/2013 07:55, Vokey, John wrote: > All, > I know it is not just me (as all of my colleagues complain about it as well): having the default item delimiter be a comma is annoying, as most of us use the tab delimiter. Most of the functions I write have an additional parameter (the item delimiter used in the passed data) to accommodate, but it would MUCH simpler if we could just set the *default* item delimiter. And, as I think about it, why not the same for all delimiters? So, how about an engine command such as: set the default itemdelimiter to that sets the itemdelimiter to whatever x contains until the stack is closed or another set the default itemdelimiter to is encountered? > -- > Please avoid sending me Word or PowerPoint attachments. > See > > -Dr. John R. Vokey From richmondmathewson at gmail.com Thu Nov 21 13:42:10 2013 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 21 Nov 2013 20:42:10 +0200 Subject: OT: Putting Root Beer in a square cup makes it regular beer because math. In-Reply-To: References: <152209880452.20131120212638@ahsoftware.net> Message-ID: <528E5402.8000509@gmail.com> On 21.11.2013 17:54, Peter Haworth wrote: > Another corruption of perfectly good grammar because of laziness. Prescriptive Grammar has always kicked against language change; all it has ever done is slowed that down, never stopped it. Richmond. > > Pete > lcSQL Software > On Nov 20, 2013 9:26 PM, "Mark Wieder" wrote: > >> All- >> >> >> http://www.theatlantic.com/technology/archive/2013/11/english-has-a-new-preposition-because-internet/281601/ >> >> -- >> -Mark Wieder >> ahsoftware at gmail.com >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Thu Nov 21 13:43:13 2013 From: klaus at major-k.de (Klaus major-k) Date: Thu, 21 Nov 2013 19:43:13 +0100 Subject: Convert Path strings to POSIX strings In-Reply-To: <528A5F23.9030306@hindu.org> References: <528A5F23.9030306@hindu.org> Message-ID: Hi Brahmanathswami, Am 18.11.2013 um 19:40 schrieb Brahmanathswami : ... > > I tried to do my homework on this, but I'm not sure I even understand yet what a POSIX string is! Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From jacque at hyperactivesw.com Thu Nov 21 13:45:58 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 21 Nov 2013 12:45:58 -0600 Subject: item delimiter defaults In-Reply-To: <8D015688-D00F-4ED6-BC64-767409DF2DBA@mac.com> References: <8A7EACF4-FDAC-4283-A920-D2AC481A2FCC@uleth.ca> <8D015688-D00F-4ED6-BC64-767409DF2DBA@mac.com> Message-ID: <528E54E6.3070500@hyperactivesw.com> On 11/21/13 12:19 PM, Bill Vlahos wrote: > The only problem I see in making this change now is that it will > break some apps. If I give or get a stack from someone who defaults > to a different delimiter things will break in funny ways. > > Perhaps there can be a statement in some standard place such as > preOpenStack like ?set the itemDelimiter to XXX? or a stack Custom > Property. LiveCode IDEs after a certain date will read and set it and > if it isn?t there the current behavior of comma will be used as the > default. This would provide backwards compatibility without much > overhead. I use commas all the time, and so does the engine. The default delimiter for all native properties is comma (colors, rects, etc.) and changing it universally would break almost all legacy stacks. However, that said, I think the original request was for the developer to be able to specifically set a global delimiter, which would be the correct way to implement this. The default global delimiter would be a comma, as it is now. But there would be a command to change that, which authors could use if they wanted it. set the globalDelimiter to tab That could be executed anywhere in any script and would change the global propery until it was changed again. Legacy stacks would remain unaffected because the engine default would be comma as it is now. I do think it will cause the same issues that we had in HyperCard, where setting the itemDelimiter was global instead of handler-specific. I welcomed the revised use of item delimiters back in MetaCard because I no longer had to bracket every change with saving the old one, using the new one, and then restoring the old one. Keeping the delimiter handler-specific was a godsend that made scripting much easier. Providing a way to implement this older HC behavior could cause the same issues. Every time you want to extract the components of a rectangle, a color, or any other native property, you will have to do this: put the itemDelimiter into tOldDel set the itemDelimiter to comma put item 1 of tColor into tRed set the itemDelimiter to tOldDel That's what we had to do in HC and I guarantee it's a pain in the patoot. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jbv at souslelogo.com Thu Nov 21 14:01:51 2013 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Thu, 21 Nov 2013 21:01:51 +0200 Subject: Solved : Re: Standalone still refuses to launch on Mavericks In-Reply-To: References: <528D0E57.1040405@fourthworld.com> <528D432F.2080501@hyperactivesw.com> <119194436529.20131120170914@ahsoftware.net> Message-ID: Well, I'm responding to my own post with the solution (I'd hope it would happen more often ;-) the problem was simply related to permissions and a simple chmod -x did the trick. jbv From MikeKerner at roadrunner.com Thu Nov 21 14:15:42 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 21 Nov 2013 14:15:42 -0500 Subject: item delimiter defaults In-Reply-To: <528E54E6.3070500@hyperactivesw.com> References: <8A7EACF4-FDAC-4283-A920-D2AC481A2FCC@uleth.ca> <8D015688-D00F-4ED6-BC64-767409DF2DBA@mac.com> <528E54E6.3070500@hyperactivesw.com> Message-ID: I have always hated the comma, since 198-whatever it was. Other than CSV files, I can't think of a datasource that uses commas as a delimiter, so I am always changing it. The same thing goes for the LF being a line delimiter - I can't even remember the last time I hit a datasource that used it. Very occasionally I'll hit something that uses CRLF, but it's almost always CR. Then again, I'm also the guy who keeps preaching that all items were created equal, including the last one, even when it's empty, and especially because once again, I can't come up with a datasource that thinks otherwise. I hope no one will be terribly insulted when I say Legacy is good enough for the Amish. -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From pete at lcsql.com Thu Nov 21 14:19:55 2013 From: pete at lcsql.com (Peter Haworth) Date: Thu, 21 Nov 2013 11:19:55 -0800 Subject: item delimiter defaults In-Reply-To: <8D015688-D00F-4ED6-BC64-767409DF2DBA@mac.com> References: <8A7EACF4-FDAC-4283-A920-D2AC481A2FCC@uleth.ca> <8D015688-D00F-4ED6-BC64-767409DF2DBA@mac.com> Message-ID: There's a property named columnDelimiter that defaults to tab but according to the dictionary, it's only used by the split command. Maybe it's use could be extended to a new entity named "column"? put column 3 of tVar into ...... If that were possible, it would be great if there was a global setting to change columnDelimiter to something other than tab Pete lcSQL Software On Thu, Nov 21, 2013 at 10:19 AM, Bill Vlahos wrote: > I agree. I almost never use commas and mostly use TABs so I frequently > have to add the extra statements in my code. > > The only problem I see in making this change now is that it will break > some apps. If I give or get a stack from someone who defaults to a > different delimiter things will break in funny ways. > > Perhaps there can be a statement in some standard place such as > preOpenStack like ?set the itemDelimiter to XXX? or a stack Custom > Property. LiveCode IDEs after a certain date will read and set it and if it > isn?t there the current behavior of comma will be used as the default. This > would provide backwards compatibility without much overhead. > > The LiveCode folks don?t typically read this mail group so while this is a > great place for a discussion it won?t get their attention. > > Bill Vlahos > > On Nov 20, 2013, at 10:55 PM, Vokey, John wrote: > > > All, > > I know it is not just me (as all of my colleagues complain about it as > well): having the default item delimiter be a comma is annoying, as most of > us use the tab delimiter. Most of the functions I write have an additional > parameter (the item delimiter used in the passed data) to accommodate, but > it would MUCH simpler if we could just set the *default* item delimiter. > And, as I think about it, why not the same for all delimiters? So, how > about an engine command such as: set the default itemdelimiter to that > sets the itemdelimiter to whatever x contains until the stack is closed or > another set the default itemdelimiter to is encountered? > > -- > > Please avoid sending me Word or PowerPoint attachments. > > See > > > > -Dr. John R. Vokey > > > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From alex at tweedly.net Thu Nov 21 14:31:51 2013 From: alex at tweedly.net (Alex Tweedly) Date: Thu, 21 Nov 2013 19:31:51 +0000 Subject: item delimiter defaults In-Reply-To: <528E54E6.3070500@hyperactivesw.com> References: <8A7EACF4-FDAC-4283-A920-D2AC481A2FCC@uleth.ca> <8D015688-D00F-4ED6-BC64-767409DF2DBA@mac.com> <528E54E6.3070500@hyperactivesw.com> Message-ID: <528E5FA7.4010607@tweedly.net> I suspect that a global property (even with conservative defaults) would be a source of great problems to library / custom control authors. How about a different approach - add an optional phrase to the 'item' keyword, such as "by character", e.g. put item 1 by COMMA of tColor into tRed put item 3 by TAB of myVar into tCell3 Come to think of it, while I'm asking for some features to do with items, I would really like put the items of myVar into t1, t2, t3 which would split out the items into multiple variables - with the last named var getting all remaining items. Thus, put "a,b,c,d,e" into tAll put the items of tAll into t1, t2, t3 would result in t1 == a t2 == b t3 == c,d,e And of course you could also do put the items by COMMA of Color into tRed, tGreen, tBlue -- Alex. On 21/11/2013 18:45, J. Landman Gay wrote: > On 11/21/13 12:19 PM, Bill Vlahos wrote: > >> The only problem I see in making this change now is that it will >> break some apps. If I give or get a stack from someone who defaults >> to a different delimiter things will break in funny ways. >> >> Perhaps there can be a statement in some standard place such as >> preOpenStack like ?set the itemDelimiter to XXX? or a stack Custom >> Property. LiveCode IDEs after a certain date will read and set it and >> if it isn?t there the current behavior of comma will be used as the >> default. This would provide backwards compatibility without much >> overhead. > > I use commas all the time, and so does the engine. The default > delimiter for all native properties is comma (colors, rects, etc.) and > changing it universally would break almost all legacy stacks. > > However, that said, I think the original request was for the developer > to be able to specifically set a global delimiter, which would be the > correct way to implement this. The default global delimiter would be a > comma, as it is now. But there would be a command to change that, > which authors could use if they wanted it. > > set the globalDelimiter to tab > > That could be executed anywhere in any script and would change the > global propery until it was changed again. Legacy stacks would remain > unaffected because the engine default would be comma as it is now. > > I do think it will cause the same issues that we had in HyperCard, > where setting the itemDelimiter was global instead of > handler-specific. I welcomed the revised use of item delimiters back > in MetaCard because I no longer had to bracket every change with > saving the old one, using the new one, and then restoring the old one. > Keeping the delimiter handler-specific was a godsend that made > scripting much easier. > > Providing a way to implement this older HC behavior could cause the > same issues. Every time you want to extract the components of a > rectangle, a color, or any other native property, you will have to do > this: > > put the itemDelimiter into tOldDel > set the itemDelimiter to comma > put item 1 of tColor into tRed > set the itemDelimiter to tOldDel > > That's what we had to do in HC and I guarantee it's a pain in the patoot. > From MikeKerner at roadrunner.com Thu Nov 21 14:37:15 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 21 Nov 2013 14:37:15 -0500 Subject: item delimiter defaults In-Reply-To: <528E5FA7.4010607@tweedly.net> References: <8A7EACF4-FDAC-4283-A920-D2AC481A2FCC@uleth.ca> <8D015688-D00F-4ED6-BC64-767409DF2DBA@mac.com> <528E54E6.3070500@hyperactivesw.com> <528E5FA7.4010607@tweedly.net> Message-ID: You might also be able to make it a default for a particular stack, which would then go away for substacks, libraries, etc. On Thu, Nov 21, 2013 at 2:31 PM, Alex Tweedly wrote: > > I suspect that a global property (even with conservative defaults) would > be a source of great problems to library / custom control authors. > > How about a different approach - add an optional phrase to the 'item' > keyword, such as "by character", e.g. > > put item 1 by COMMA of tColor into tRed > > put item 3 by TAB of myVar into tCell3 > > Come to think of it, while I'm asking for some features to do with items, > I would really like > > put the items of myVar into t1, t2, t3 > > which would split out the items into multiple variables - with the last > named var getting all remaining items. > > Thus, > put "a,b,c,d,e" into tAll > put the items of tAll into t1, t2, t3 > would result in > t1 == a > t2 == b > t3 == c,d,e > > And of course you could also do > put the items by COMMA of Color into tRed, tGreen, tBlue > > > -- Alex. > > > On 21/11/2013 18:45, J. Landman Gay wrote: > >> On 11/21/13 12:19 PM, Bill Vlahos wrote: >> >> The only problem I see in making this change now is that it will >>> break some apps. If I give or get a stack from someone who defaults >>> to a different delimiter things will break in funny ways. >>> >>> Perhaps there can be a statement in some standard place such as >>> preOpenStack like ?set the itemDelimiter to XXX? or a stack Custom >>> Property. LiveCode IDEs after a certain date will read and set it and >>> if it isn?t there the current behavior of comma will be used as the >>> default. This would provide backwards compatibility without much >>> overhead. >>> >> >> I use commas all the time, and so does the engine. The default delimiter >> for all native properties is comma (colors, rects, etc.) and changing it >> universally would break almost all legacy stacks. >> >> However, that said, I think the original request was for the developer to >> be able to specifically set a global delimiter, which would be the correct >> way to implement this. The default global delimiter would be a comma, as it >> is now. But there would be a command to change that, which authors could >> use if they wanted it. >> >> set the globalDelimiter to tab >> >> That could be executed anywhere in any script and would change the global >> propery until it was changed again. Legacy stacks would remain unaffected >> because the engine default would be comma as it is now. >> >> I do think it will cause the same issues that we had in HyperCard, where >> setting the itemDelimiter was global instead of handler-specific. I >> welcomed the revised use of item delimiters back in MetaCard because I no >> longer had to bracket every change with saving the old one, using the new >> one, and then restoring the old one. Keeping the delimiter handler-specific >> was a godsend that made scripting much easier. >> >> Providing a way to implement this older HC behavior could cause the same >> issues. Every time you want to extract the components of a rectangle, a >> color, or any other native property, you will have to do this: >> >> put the itemDelimiter into tOldDel >> set the itemDelimiter to comma >> put item 1 of tColor into tRed >> set the itemDelimiter to tOldDel >> >> That's what we had to do in HC and I guarantee it's a pain in the patoot. >> >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From monte at sweattechnologies.com Thu Nov 21 15:25:43 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 22 Nov 2013 07:25:43 +1100 Subject: Differentiating a substack from a mainstack In-Reply-To: References: <528D0E57.1040405@fourthworld.com> <528D432F.2080501@hyperactivesw.com> <119194436529.20131120170914@ahsoftware.net> Message-ID: On 22/11/2013, at 3:03 AM, Peter Haworth wrote: > I am trapping mainstackhanged for other reasons but unfortunately it > happens too late for this particular purpose. I like the idea of setting a > behavior on IDE objects and using before / after handlers though. Hmm... it occurs to me that if there's a few of us doing it then we aught to check the current behavior chain and add our behaviors to the last one rather than the original target: command SetBehavior pObject,pBehavior if the behavior of pObject is empty then set the behavior of pObject to pBehavior else SetBehavior the behavior of pObject,pBehavior end if end SetBehavior Here's another screenshot of the IDE integration stuff I'm doing ;-) https://dl.dropboxusercontent.com/u/11969754/PastedGraphic-4.png Cheers -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From Nakia.Brewer at westrac.com.au Thu Nov 21 15:53:42 2013 From: Nakia.Brewer at westrac.com.au (Nakia Brewer) Date: Thu, 21 Nov 2013 20:53:42 +0000 Subject: ticked off In-Reply-To: References: <4E4B65FC-2B1D-4ADC-BAE1-89FF8D2B6D1E@mac.com> Message-ID: <67116DB20798A94285EEE12A67079A2832635C14@MHSEXC02.westrac.com.au> Thanks Paul, After digging around my old stuff last night for a few hours I ended up finding it... -----Original Message----- From: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Erik Beugelaar Sent: Friday, 22 November 2013 01:04 To: How to use LiveCode Subject: Re: ticked off Hi Paul, You can also sent a download link via http://www.wetransfer.com so the receiver, Nakia, can download the material by himself. You can upload up to 2GB. Regards, Erik On 21/11/13 06:47, "Paul Hibbert" wrote: >Hi Nakia, > >I do have a copy of the full course, it was the summer academy from 2011. >I'm sure we would need permission from RR for me to be able to send it to >you. I can't see them objecting, but it is their copyright. > >It's about 1.2GB including the movies so it would take me quite a while >to upload it as I don't have a good internet connection here, but if >that's the only way you can get it I'll happily send it, just get Heather >to let me know and I can send you a link via dropbox. > >Paul > >On 2013-11-20, at 9:15 PM, Nakia Brewer >wrote: > >> Hi, >> >> Just wondering if anyone still has a copy of the ticked Off tutorial >>that was around a few years back? >> >> >> >> >> >> 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 at 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 at 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 at 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. From monte at sweattechnologies.com Thu Nov 21 15:56:23 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 22 Nov 2013 07:56:23 +1100 Subject: Dreaming up Webservices with LC server In-Reply-To: <87DFF17D-26E2-49A1-9C85-AF9C35727C2E@derbrill.de> References: <87DFF17D-26E2-49A1-9C85-AF9C35727C2E@derbrill.de> Message-ID: On 22/11/2013, at 12:01 AM, Malte Brill wrote: > Well, what I would of course love to have is something that exposes my liveCode handlers as a webservice (generate all the required stuff automagically) just by looking at the script that is used in the backend. Similar to what Java does. :-) That's really not far off what you can do with revIgniter. revIgniter + mergJSON makes this fairly easy as your view is just running mergJSON on an array. If you have LC at the other end you might want to look at compressed arrayEncoded arrays as an alternative. Cheers -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From scott at tactilemedia.com Thu Nov 21 16:27:00 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 21 Nov 2013 13:27:00 -0800 Subject: Launching Preview In-Reply-To: <0B0404FE-9F49-490C-AB17-D6BBC507B20D@sbcglobal.net> References: <0B0404FE-9F49-490C-AB17-D6BBC507B20D@sbcglobal.net> Message-ID: Hi Jim: I'm not sure how you expect Preview to display something it can't normally access through it's File menu, but try this and see if it works for you. on mouseUp set itemDel to "/" put item 1 to -2 of the tempName into theFolder put "tempexport.png" into theFile put (theFolder & "/" & theFile) into theFilePath export snapshot from grc "oval" to file theFilePath as PNG launch theFilePath with "Preview.app" end mouseUp I'm not positive but I believe the temp folder should always be available to write to unless the host machine is severely locked down. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 11/21/13 6:47 AM, "Jim Hurley" wrote: >Hi Roger, > >Thanks. This level of Apple Script is over my head, I'm afraid. > >I tried it, but "theGroup" didn't show up in Preview. > >I'm surprised that LC doesn't have a more direct way of getting a >snapshot into Preview than first creating a file to disk, i.e. > > export snapshot from rect (rect of graphic "oval") of this card >to file tPathAndName as PNG > launch document tPathANDNAME > >Might there be a way to launch Preview and then "activate" the "New from >clipboard" within Preview? Not sure what I mean by "activate." > >Jim Hurley > >> >> Message: 6 >> Date: Wed, 20 Nov 2013 13:13:29 -0500 >> From: Roger Eller >> To: How to use LiveCode >> Subject: Re: Launching Preview >> Message-ID: >> >> Content-Type: text/plain; charset=ISO-8859-1 >> >> Ok, this one works, and it doesn't matter if Preview is already open. >> >> on mouseUp >> put "tell application" && quote & "System Events" & quote && "to >> keystroke" && quote & "n" & quote && "using {command down}" into >> tAppleScript >> export snapshot from grp "theGroup" to tempVariable as PNG >> set the clipboardData["image"] to tempVariable >> launch "Preview.app" >> do "tell Preview" & cr & "end tell" as AppleScrpt -- focus on Preview >> do tAppleScript as AppleScript -- Apple-N (New from Clipboard) >> end mouseUp >> >> ~Roger >> > > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode > From kee at kagi.com Thu Nov 21 16:58:05 2013 From: kee at kagi.com (kee nethery) Date: Thu, 21 Nov 2013 13:58:05 -0800 Subject: item delimiter defaults In-Reply-To: References: <8A7EACF4-FDAC-4283-A920-D2AC481A2FCC@uleth.ca> <8D015688-D00F-4ED6-BC64-767409DF2DBA@mac.com> <528E54E6.3070500@hyperactivesw.com> <528E5FA7.4010607@tweedly.net> Message-ID: I am happy to add the code in each of my handlers to save, set, use and then reset the itemdelimiter so that it is absolutely positively what I want it to be when I want it to be that. Being able to set a global for the itemdelimiter is not a problem I want solved because of all the potential problems I don?t need that it can create. It?s fine the way it is. My two cents, Kee Nethery From roger.e.eller at sealedair.com Thu Nov 21 17:05:48 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Thu, 21 Nov 2013 17:05:48 -0500 Subject: Launching Preview In-Reply-To: References: <0B0404FE-9F49-490C-AB17-D6BBC507B20D@sbcglobal.net> Message-ID: Scott, I think he was wanting to avoid writing a file at all, which is why I used the clipboard, and AppleScript to send Apple-N. It would be cool if we could: launch the clipboardData["image"] with "Preview.app" ~Roger On Thu, Nov 21, 2013 at 4:27 PM, Scott Rossi wrote: > Hi Jim: > > I'm not sure how you expect Preview to display something it can't normally > access through it's File menu, but try this and see if it works for you. > > on mouseUp > set itemDel to "/" > put item 1 to -2 of the tempName into theFolder > put "tempexport.png" into theFile > put (theFolder & "/" & theFile) into theFilePath > export snapshot from grc "oval" to file theFilePath as PNG > launch theFilePath with "Preview.app" > end mouseUp > > > I'm not positive but I believe the temp folder should always be available > to write to unless the host machine is severely locked down. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > On 11/21/13 6:47 AM, "Jim Hurley" wrote: > > >Hi Roger, > > > >Thanks. This level of Apple Script is over my head, I'm afraid. > > > >I tried it, but "theGroup" didn't show up in Preview. > > > >I'm surprised that LC doesn't have a more direct way of getting a > >snapshot into Preview than first creating a file to disk, i.e. > > > > export snapshot from rect (rect of graphic "oval") of this card > >to file tPathAndName as PNG > > launch document tPathANDNAME > > > >Might there be a way to launch Preview and then "activate" the "New from > >clipboard" within Preview? Not sure what I mean by "activate." > > > >Jim Hurley > > > >> > >> Message: 6 > >> Date: Wed, 20 Nov 2013 13:13:29 -0500 > >> From: Roger Eller > >> To: How to use LiveCode > >> Subject: Re: Launching Preview > >> Message-ID: > >> XwFfDAQq6LiYoUDQQQ at mail.gmail.com> > >> Content-Type: text/plain; charset=ISO-8859-1 > >> > >> Ok, this one works, and it doesn't matter if Preview is already open. > >> > >> on mouseUp > >> put "tell application" && quote & "System Events" & quote && "to > >> keystroke" && quote & "n" & quote && "using {command down}" into > >> tAppleScript > >> export snapshot from grp "theGroup" to tempVariable as PNG > >> set the clipboardData["image"] to tempVariable > >> launch "Preview.app" > >> do "tell Preview" & cr & "end tell" as AppleScrpt -- focus on Preview > >> do tAppleScript as AppleScript -- Apple-N (New from Clipboard) > >> end mouseUp > >> > >> ~Roger > >> > > > > > >_______________________________________________ > >use-livecode mailing list > >use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From rjb at robelko.com Thu Nov 21 17:02:55 2013 From: rjb at robelko.com (Robert Brenstein) Date: Thu, 21 Nov 2013 23:02:55 +0100 Subject: item delimiter defaults In-Reply-To: References: <8A7EACF4-FDAC-4283-A920-D2AC481A2FCC@uleth.ca> <8D015688-D00F-4ED6-BC64-767409DF2DBA@mac.com> Message-ID: On 21.11.2013 at 11:19 Uhr -0800 Peter Haworth apparently wrote: >There's a property named columnDelimiter that defaults to tab but according >to the dictionary, it's only used by the split command. Maybe it's use >could be extended to a new entity named "column"? > >put column 3 of tVar into ...... > >If that were possible, it would be great if there was a global setting to >change columnDelimiter to something other than tab > I second this suggestion. It adds a new feature, so backward compatibility is not an issue, and it extends language with something quite useful and a better approach that changing global default. RObert From monte at sweattechnologies.com Thu Nov 21 17:21:20 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 22 Nov 2013 09:21:20 +1100 Subject: item delimiter defaults In-Reply-To: References: <8A7EACF4-FDAC-4283-A920-D2AC481A2FCC@uleth.ca> <8D015688-D00F-4ED6-BC64-767409DF2DBA@mac.com> Message-ID: <6F7EDC2D-0C2E-484D-8E18-EE675610D936@sweattechnologies.com> On 22/11/2013, at 9:02 AM, Robert Brenstein wrote: > I second this suggestion. It adds a new feature, so backward compatibility is not an issue, and it extends language with something quite useful and a better approach that changing global default. Wouldn't we still need to ensure the columnDelimiter is what we want it to be and set it back to what others expect like Jacque was pointing out it's pretty annoying. Working with the folder drives me nuts for example... -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From mwieder at ahsoftware.net Thu Nov 21 17:21:49 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 21 Nov 2013 14:21:49 -0800 Subject: item delimiter defaults In-Reply-To: References: <8A7EACF4-FDAC-4283-A920-D2AC481A2FCC@uleth.ca> <8D015688-D00F-4ED6-BC64-767409DF2DBA@mac.com> <528E54E6.3070500@hyperactivesw.com> <528E5FA7.4010607@tweedly.net> Message-ID: <24270791383.20131121142149@ahsoftware.net> Thursday, November 21, 2013, 1:58:05 PM, Kee wrote: > Being able to set a global for the itemdelimiter is not a problem > I want solved because of all the potential problems I don?t need > that it can create. It?s fine the way it is. In addition, it makes code harder to read because you have to keep in mind constantly what the default itemDelimiter is when you see a line of code that uses items. If substacks inherit a default delimiter then this could cause problems. If they don't inherit, then this could also cause problems. If anything, I'd argue that things should be the other way around: that there be *no* default itemDelimiter, and the use of items without having explicitly defined the delimiter should result in a runtime error. -- -Mark Wieder ahsoftware at gmail.com From scott at tactilemedia.com Thu Nov 21 17:25:25 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 21 Nov 2013 14:25:25 -0800 Subject: Launching Preview In-Reply-To: References: <0B0404FE-9F49-490C-AB17-D6BBC507B20D@sbcglobal.net> Message-ID: Roger, I understand that. Jim claimed it didn't work him (don't know for sure), so I offered another option that does indeed write a file. Maybe it's an option. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 11/21/13 2:05 PM, "Roger Eller" wrote: >Scott, > >I think he was wanting to avoid writing a file at all, which is why I used >the clipboard, and AppleScript to send Apple-N. It would be cool if we >could: > >launch the clipboardData["image"] with "Preview.app" > >~Roger > > >On Thu, Nov 21, 2013 at 4:27 PM, Scott Rossi >wrote: > >> Hi Jim: >> >> I'm not sure how you expect Preview to display something it can't >>normally >> access through it's File menu, but try this and see if it works for you. >> >> on mouseUp >> set itemDel to "/" >> put item 1 to -2 of the tempName into theFolder >> put "tempexport.png" into theFile >> put (theFolder & "/" & theFile) into theFilePath >> export snapshot from grc "oval" to file theFilePath as PNG >> launch theFilePath with "Preview.app" >> end mouseUp >> >> >> I'm not positive but I believe the temp folder should always be >>available >> to write to unless the host machine is severely locked down. >> >> Regards, >> >> Scott Rossi >> Creative Director >> Tactile Media, UX/UI Design >> >> >> >> >> On 11/21/13 6:47 AM, "Jim Hurley" wrote: >> >> >Hi Roger, >> > >> >Thanks. This level of Apple Script is over my head, I'm afraid. >> > >> >I tried it, but "theGroup" didn't show up in Preview. >> > >> >I'm surprised that LC doesn't have a more direct way of getting a >> >snapshot into Preview than first creating a file to disk, i.e. >> > >> > export snapshot from rect (rect of graphic "oval") of this card >> >to file tPathAndName as PNG >> > launch document tPathANDNAME >> > >> >Might there be a way to launch Preview and then "activate" the "New >>from >> >clipboard" within Preview? Not sure what I mean by "activate." >> > >> >Jim Hurley >> > >> >> >> >> Message: 6 >> >> Date: Wed, 20 Nov 2013 13:13:29 -0500 >> >> From: Roger Eller >> >> To: How to use LiveCode >> >> Subject: Re: Launching Preview >> >> Message-ID: >> >> > XwFfDAQq6LiYoUDQQQ at mail.gmail.com> >> >> Content-Type: text/plain; charset=ISO-8859-1 >> >> >> >> Ok, this one works, and it doesn't matter if Preview is already open. >> >> >> >> on mouseUp >> >> put "tell application" && quote & "System Events" & quote && "to >> >> keystroke" && quote & "n" & quote && "using {command down}" into >> >> tAppleScript >> >> export snapshot from grp "theGroup" to tempVariable as PNG >> >> set the clipboardData["image"] to tempVariable >> >> launch "Preview.app" >> >> do "tell Preview" & cr & "end tell" as AppleScrpt -- focus on >>Preview >> >> do tAppleScript as AppleScript -- Apple-N (New from Clipboard) >> >> end mouseUp >> >> >> >> ~Roger >> >> >> > >> > >> >_______________________________________________ >> >use-livecode mailing list >> >use-livecode at 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 at 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 at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode > From mwieder at ahsoftware.net Thu Nov 21 17:24:40 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 21 Nov 2013 14:24:40 -0800 Subject: item delimiter defaults In-Reply-To: References: <8A7EACF4-FDAC-4283-A920-D2AC481A2FCC@uleth.ca> <8D015688-D00F-4ED6-BC64-767409DF2DBA@mac.com> Message-ID: <17270962127.20131121142440@ahsoftware.net> Pete- Thursday, November 21, 2013, 11:19:55 AM, you wrote: > There's a property named columnDelimiter that defaults to tab but according > to the dictionary, it's only used by the split command. Maybe it's use > could be extended to a new entity named "column"? > put column 3 of tVar into ...... > If that were possible, it would be great if there was a global setting to > change columnDelimiter to something other than tab +1 I like the idea of a column chunk. I didn't realize that there was a columnDelimiter property, and letting it separate text into columns makes sense to me. -- -Mark Wieder ahsoftware at gmail.com From mwieder at ahsoftware.net Thu Nov 21 17:32:31 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 21 Nov 2013 14:32:31 -0800 Subject: Dreaming up Webservices with LC server In-Reply-To: <87DFF17D-26E2-49A1-9C85-AF9C35727C2E@derbrill.de> References: <87DFF17D-26E2-49A1-9C85-AF9C35727C2E@derbrill.de> Message-ID: <35271433560.20131121143231@ahsoftware.net> Malte- Thursday, November 21, 2013, 5:01:25 AM, you wrote: > Well, what I would of course love to have is something that > exposes my liveCode handlers as a webservice (generate all the > required stuff automagically) just by looking at the script that is > used in the backend. Similar to what Java does. :-) > I am aware that this is a bit too much too ask at the moment though. Well, I've got exactly the opposite of what you want . The libSOAP library on revOnline has functions that can generate the webservice code from a WSDL document. Dealing with the xml intricacies of WSDL is no fun. -- -Mark Wieder ahsoftware at gmail.com From scott at tactilemedia.com Thu Nov 21 17:34:24 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 21 Nov 2013 14:34:24 -0800 Subject: Launching Preview In-Reply-To: References: <0B0404FE-9F49-490C-AB17-D6BBC507B20D@sbcglobal.net> Message-ID: BTW, your script works here. :-) Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 11/21/13 2:05 PM, "Roger Eller" wrote: >I think he was wanting to avoid writing a file at all, which is why I used >the clipboard, and AppleScript to send Apple-N. From prothero at earthednet.org Thu Nov 21 17:35:31 2013 From: prothero at earthednet.org (prothero at earthednet.org) Date: Thu, 21 Nov 2013 14:35:31 -0800 Subject: Is there a handler summary app? Message-ID: <2B3B7E76-A2F9-4B9A-A4E7-CA4E4BE38774@earthednet.org> Folks: As I'm developing my first app, it starts to get confusing, where I have put various scripts. I have organized them into topical substacks, but I still spend inordinate time looking for specific scripts, and I may have forgotten the exact handler name, so the universal search isn't that useful. Is there an app that will create a list of each handler and its location in the project? Seems a fairly simple thing to create, so I suspect there is something available. It would help a lot. Thanks, Bill William Prothero http://es.earthednet.org From ambassador at fourthworld.com Thu Nov 21 18:03:09 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 21 Nov 2013 15:03:09 -0800 Subject: Is there a handler summary app? In-Reply-To: <2B3B7E76-A2F9-4B9A-A4E7-CA4E4BE38774@earthednet.org> References: <2B3B7E76-A2F9-4B9A-A4E7-CA4E4BE38774@earthednet.org> Message-ID: <528E912D.5080405@fourthworld.com> Bill Prothero wrote: > Is there an app that will create a list of each handler and its > location in the project? Seems a fairly simple thing to create, > so I suspect there is something available. It would help a lot. I started on such a tool a while ago, but with my current schedule I won't be able to get back to it for a few weeks. But the hard part is provided for you in the undocumented revAvailableHandlers function. Putting that in a script to loop through stacks, card, and controls should give you a pretty complete list. get the revAvailableHandlers of -- 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 From pete at lcsql.com Thu Nov 21 18:12:12 2013 From: pete at lcsql.com (Peter Haworth) Date: Thu, 21 Nov 2013 15:12:12 -0800 Subject: item delimiter defaults In-Reply-To: <6F7EDC2D-0C2E-484D-8E18-EE675610D936@sweattechnologies.com> References: <8A7EACF4-FDAC-4283-A920-D2AC481A2FCC@uleth.ca> <8D015688-D00F-4ED6-BC64-767409DF2DBA@mac.com> <6F7EDC2D-0C2E-484D-8E18-EE675610D936@sweattechnologies.com> Message-ID: Seems like most folks issues revolve around having tab as a delimiter, no doubt because of the way LC returns data from a database, so if a new "thingy" named "column" could use the columnDelimiter setting, I could live without a global or stack level default. Pete lcSQL Software On Thu, Nov 21, 2013 at 2:21 PM, Monte Goulding wrote: > > On 22/11/2013, at 9:02 AM, Robert Brenstein wrote: > > > I second this suggestion. It adds a new feature, so backward > compatibility is not an issue, and it extends language with something quite > useful and a better approach that changing global default. > > Wouldn't we still need to ensure the columnDelimiter is what we want it to > be and set it back to what others expect like Jacque was pointing out it's > pretty annoying. Working with the folder drives me nuts for example... > > -- > Monte Goulding > > M E R Goulding - software development services > mergExt - There's an external for that! > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From monte at sweattechnologies.com Thu Nov 21 18:15:04 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 22 Nov 2013 10:15:04 +1100 Subject: item delimiter defaults In-Reply-To: <24270791383.20131121142149@ahsoftware.net> References: <8A7EACF4-FDAC-4283-A920-D2AC481A2FCC@uleth.ca> <8D015688-D00F-4ED6-BC64-767409DF2DBA@mac.com> <528E54E6.3070500@hyperactivesw.com> <528E5FA7.4010607@tweedly.net> <24270791383.20131121142149@ahsoftware.net> Message-ID: On 22/11/2013, at 9:21 AM, Mark Wieder wrote: > If anything, I'd argue that things should be the other way around: > that there be *no* default itemDelimiter, and the use of items without > having explicitly defined the delimiter should result in a runtime > error. Ooo.... now that would break a heap of code... :-) I already avoid items like the plague they are. Array syntax can be much more descriptive: Look at this 6 months later and you know you're dealing with a name: set the text of field "company" to tArrayA[tIndex]["name"] Look at this 6 months later and you need to go and look at where your list is created to remember what was in item 3: set the text of field "company" to item 3 of line tIndex of tData Stuff like this makes my head spin: get item 3 of line tIndex of tData set the itemDelimiter to "|" get item 2 of it --- and so on... Then there's the never having to worry about delimiters being in your data thing... Cheers -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From jacque at hyperactivesw.com Thu Nov 21 18:17:32 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 21 Nov 2013 17:17:32 -0600 Subject: Is there a handler summary app? In-Reply-To: <2B3B7E76-A2F9-4B9A-A4E7-CA4E4BE38774@earthednet.org> References: <2B3B7E76-A2F9-4B9A-A4E7-CA4E4BE38774@earthednet.org> Message-ID: <528E948C.3020108@hyperactivesw.com> On 11/21/13 4:35 PM, prothero at earthednet.org wrote: > Folks: As I'm developing my first app, it starts to get confusing, > where I have put various scripts. I have organized them into topical > substacks, but I still spend inordinate time looking for specific > scripts, and I may have forgotten the exact handler name, so the > universal search isn't that useful. If you are trying to find a handler whose name you are looking at in a script, you can right-click the handler name in the script editor and choose "go to definition". It will take you directly to the right place. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From rjb at robelko.com Thu Nov 21 18:18:31 2013 From: rjb at robelko.com (Robert Brenstein) Date: Fri, 22 Nov 2013 00:18:31 +0100 Subject: item delimiter defaults In-Reply-To: <6F7EDC2D-0C2E-484D-8E18-EE675610D936@sweattechnologies.com> References: <8A7EACF4-FDAC-4283-A920-D2AC481A2FCC@uleth.ca> <8D015688-D00F-4ED6-BC64-767409DF2DBA@mac.com> <6F7EDC2D-0C2E-484D-8E18-EE675610D936@sweattechnologies.com> Message-ID: On 22.11.2013 at 9:21 Uhr +1100 Monte Goulding apparently wrote: > >Wouldn't we still need to ensure the columnDelimiter is what we want >it to be and set it back to what others expect like Jacque was >pointing out it's pretty annoying. Working with the folder drives me >nuts for example... > No, unless we go with option to change global default. "column" would be simply a new text chunking option parallel to items. The way I understood it, when we have a line of code with tabs and commas, we could refer to its items (comma-delimited) or columns (tab-delimited) without having to set any delimiter at all. Of course, we would still have an option to reset any of those delimiters as it is now for items, but the default settings would eliminate the need to set the item delimiter to tab, which was the issue raised by the original poster, affecting many others, myself included, while not affecting any existing code or people who rely on comma being the default item delimiter. RObert From monte at sweattechnologies.com Thu Nov 21 18:37:38 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 22 Nov 2013 10:37:38 +1100 Subject: item delimiter defaults In-Reply-To: References: <8A7EACF4-FDAC-4283-A920-D2AC481A2FCC@uleth.ca> <8D015688-D00F-4ED6-BC64-767409DF2DBA@mac.com> <6F7EDC2D-0C2E-484D-8E18-EE675610D936@sweattechnologies.com> Message-ID: On 22/11/2013, at 10:12 AM, Peter Haworth wrote: > Seems like most folks issues revolve around having tab as a delimiter, no > doubt because of the way LC returns data from a database, so if a new > "thingy" named "column" could use the columnDelimiter setting, I could live > without a global or stack level default. It's probably not all that tricky to add this... I guess you would want row also. The parser would need to disallow use of both column and item or row and line I think. In that case it's basically just a case of adding the chunk type and getting the right thing from the exec point. However for a complete implementation we would want column and row everywhere we have item and line. sort, filter, offset and so on... Cheers -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From jhurley0305 at sbcglobal.net Thu Nov 21 18:56:18 2013 From: jhurley0305 at sbcglobal.net (James Hurley) Date: Thu, 21 Nov 2013 15:56:18 -0800 Subject: Translate code from Mac to PC In-Reply-To: References: Message-ID: I need a little code translation for a program I am doing for a local school. It is a drawing program. After the drawing is complete, I need a way for the student to print and or save the image. On the Mac that is easy. Take a snapshot of the rect containing the image, save it to disk, launch the file and it opens in Preview. And from Preview, the image can be printed or saves. Here is that in Mac speak. on mouseUp ask "Please name this image." with "MyImage" if it is "" then exit mouseUP put "/" & it & ".png" into tName put specialFolderPath ( "desktop") & tName Into tPathAndName export snapshot from rect (rect of graphic "oval") of this card to file tPathAndName as PNG launch document tPathAndName end mouseUp I need this for the PC as well. Is there an app on the PC that opens any PNG file that is double clicked? Thanks, Jim Hurley From m.schonewille at economy-x-talk.com Thu Nov 21 19:03:08 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 22 Nov 2013 01:03:08 +0100 Subject: Translate code from Mac to PC In-Reply-To: References: Message-ID: <528E9F3C.1000606@economy-x-talk.com> Hi Jim, Your script should work on both Mac and Windows. It would always use the default picture viewer to open the PNG file. On Windows 8, this is an app called Photo but many people change it to Windows Photo Viewer or something else. On Mac it is Preview and only few people will change this to a different app. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi Fill out this survey please http://livecodebeginner.economy-x-talk.com/survey/ On 11/22/2013 00:56, James Hurley wrote: > I need a little code translation for a program I am doing for a local school. > > It is a drawing program. After the drawing is complete, I need a way for the student to print and or save the image. > > On the Mac that is easy. Take a snapshot of the rect containing the image, save it to disk, launch the file and it opens in Preview. > And from Preview, the image can be printed or saves. Here is that in Mac speak. > > on mouseUp > ask "Please name this image." with "MyImage" > if it is "" then exit mouseUP > put "/" & it & ".png" into tName > put specialFolderPath ( "desktop") & tName Into tPathAndName > export snapshot from rect (rect of graphic "oval") of this card to file tPathAndName as PNG > launch document tPathAndName > end mouseUp > > I need this for the PC as well. Is there an app on the PC that opens any PNG file that is double clicked? > > Thanks, > > Jim Hurley From scott at tactilemedia.com Thu Nov 21 19:10:20 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 21 Nov 2013 16:10:20 -0800 Subject: Translate code from Mac to PC In-Reply-To: References: Message-ID: Hi Jim: By default, whatever is the default app for images on Windows will open, which is often Paint or Windows Photo Viewer. (On my system, double-clicking a GIF launches IE.) Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 11/21/13 3:56 PM, "James Hurley" wrote: >I need a little code translation for a program I am doing for a local >school. > >It is a drawing program. After the drawing is complete, I need a way for >the student to print and or save the image. > >On the Mac that is easy. Take a snapshot of the rect containing the >image, save it to disk, launch the file and it opens in Preview. >And from Preview, the image can be printed or saves. Here is that in Mac >speak. > >on mouseUp > ask "Please name this image." with "MyImage" > if it is "" then exit mouseUP > put "/" & it & ".png" into tName > put specialFolderPath ( "desktop") & tName Into tPathAndName > export snapshot from rect (rect of graphic "oval") of this card to >file tPathAndName as PNG > launch document tPathAndName >end mouseUp > >I need this for the PC as well. Is there an app on the PC that opens any >PNG file that is double clicked? > >Thanks, > >Jim Hurley >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode > From ray at linkit.com Thu Nov 21 19:32:38 2013 From: ray at linkit.com (Ray) Date: Thu, 21 Nov 2013 19:32:38 -0500 Subject: Translate code from Mac to PC In-Reply-To: References: Message-ID: <528EA626.4010903@LinkIt.Com> When I first bought a Windows 8 system I was really disappointed to discover that every time I opened an image file it used Photo Viewer or something as the default program. It went full screen and left me back in the, what I consider undesirable, "metro" side of Windows 8. I've gotten around this using a free download called Foxit Reader. You might take a look and see if it meets your needs on the Windows side. Regards, Ray Horsley LinkIt! Software On 11/21/2013 7:10 PM, Scott Rossi wrote: > Hi Jim: > > By default, whatever is the default app for images on Windows will open, > which is often Paint or Windows Photo Viewer. (On my system, > double-clicking a GIF launches IE.) > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > On 11/21/13 3:56 PM, "James Hurley" wrote: > >> I need a little code translation for a program I am doing for a local >> school. >> >> It is a drawing program. After the drawing is complete, I need a way for >> the student to print and or save the image. >> >> On the Mac that is easy. Take a snapshot of the rect containing the >> image, save it to disk, launch the file and it opens in Preview. >> And from Preview, the image can be printed or saves. Here is that in Mac >> speak. >> >> on mouseUp >> ask "Please name this image." with "MyImage" >> if it is "" then exit mouseUP >> put "/" & it & ".png" into tName >> put specialFolderPath ( "desktop") & tName Into tPathAndName >> export snapshot from rect (rect of graphic "oval") of this card to >> file tPathAndName as PNG >> launch document tPathAndName >> end mouseUp >> >> I need this for the PC as well. Is there an app on the PC that opens any >> PNG file that is double clicked? >> >> Thanks, >> >> Jim Hurley >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mwieder at ahsoftware.net Thu Nov 21 19:48:18 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 21 Nov 2013 16:48:18 -0800 Subject: Translate code from Mac to PC In-Reply-To: <528EA626.4010903@LinkIt.Com> References: <528EA626.4010903@LinkIt.Com> Message-ID: <83279580640.20131121164818@ahsoftware.net> Ray- Thursday, November 21, 2013, 4:32:38 PM, you wrote: > When I first bought a Windows 8 system I was really disappointed Ah... the essential Microsoft experience -- -Mark Wieder ahsoftware at gmail.com From mwieder at ahsoftware.net Thu Nov 21 19:48:55 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 21 Nov 2013 16:48:55 -0800 Subject: item delimiter defaults In-Reply-To: References: <8A7EACF4-FDAC-4283-A920-D2AC481A2FCC@uleth.ca> <8D015688-D00F-4ED6-BC64-767409DF2DBA@mac.com> <528E54E6.3070500@hyperactivesw.com> <528E5FA7.4010607@tweedly.net> <24270791383.20131121142149@ahsoftware.net> Message-ID: <181279617089.20131121164855@ahsoftware.net> Monte- Thursday, November 21, 2013, 3:15:04 PM, you wrote: > On 22/11/2013, at 9:21 AM, Mark Wieder wrote: >> If anything, I'd argue that things should be the other way around: >> that there be *no* default itemDelimiter, and the use of items without >> having explicitly defined the delimiter should result in a runtime >> error. > Ooo.... now that would break a heap of code... :-) Yep. Probably everything I've ever written. -- -Mark Wieder ahsoftware at gmail.com From mwieder at ahsoftware.net Thu Nov 21 19:49:36 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 21 Nov 2013 16:49:36 -0800 Subject: item delimiter defaults In-Reply-To: References: <8A7EACF4-FDAC-4283-A920-D2AC481A2FCC@uleth.ca> <8D015688-D00F-4ED6-BC64-767409DF2DBA@mac.com> <6F7EDC2D-0C2E-484D-8E18-EE675610D936@sweattechnologies.com> Message-ID: <61279658376.20131121164936@ahsoftware.net> Monte- Thursday, November 21, 2013, 3:37:38 PM, you wrote: > It's probably not all that tricky to add this... I guess you > would want row also. Wouldn't the lineDelimiter act as a row delimiter? -- -Mark Wieder ahsoftware at gmail.com From monte at sweattechnologies.com Thu Nov 21 19:56:21 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 22 Nov 2013 11:56:21 +1100 Subject: item delimiter defaults In-Reply-To: <61279658376.20131121164936@ahsoftware.net> References: <8A7EACF4-FDAC-4283-A920-D2AC481A2FCC@uleth.ca> <8D015688-D00F-4ED6-BC64-767409DF2DBA@mac.com> <6F7EDC2D-0C2E-484D-8E18-EE675610D936@sweattechnologies.com> <61279658376.20131121164936@ahsoftware.net> Message-ID: <2D5FB68A-820D-496A-B787-97F060BE8535@sweattechnologies.com> On 22/11/2013, at 11:49 AM, Mark Wieder wrote: > Wouldn't the lineDelimiter act as a row delimiter? Yes but there's a rowDelimiter which is independent of lineDelimiter even though it's initialised the same. -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From roger.e.eller at sealedair.com Thu Nov 21 20:08:33 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Thu, 21 Nov 2013 20:08:33 -0500 Subject: item delimiter defaults In-Reply-To: <181279617089.20131121164855@ahsoftware.net> References: <8A7EACF4-FDAC-4283-A920-D2AC481A2FCC@uleth.ca> <8D015688-D00F-4ED6-BC64-767409DF2DBA@mac.com> <528E54E6.3070500@hyperactivesw.com> <528E5FA7.4010607@tweedly.net> <24270791383.20131121142149@ahsoftware.net> <181279617089.20131121164855@ahsoftware.net> Message-ID: In the fashion of smarter code, or dynamic properties, why not let the engine sort it out from a quick sampling? If the first line of data has a bunch of tabs, then the dynamic intemDel is tab. If no pattern is detected, default to comma. ~Roger On Nov 21, 2013 7:53 PM, "Mark Wieder" wrote: > Monte- > > Thursday, November 21, 2013, 3:15:04 PM, you wrote: > > > > On 22/11/2013, at 9:21 AM, Mark Wieder wrote: > > >> If anything, I'd argue that things should be the other way around: > >> that there be *no* default itemDelimiter, and the use of items without > >> having explicitly defined the delimiter should result in a runtime > >> error. > > > Ooo.... now that would break a heap of code... :-) > > Yep. Probably everything I've ever written. > > -- > -Mark Wieder > ahsoftware at gmail.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From m.schonewille at economy-x-talk.com Thu Nov 21 20:17:53 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 22 Nov 2013 02:17:53 +0100 Subject: Translate code from Mac to PC In-Reply-To: <528EA626.4010903@LinkIt.Com> References: <528EA626.4010903@LinkIt.Com> Message-ID: <528EB0C1.4090502@economy-x-talk.com> Ray, That is really unnecessary, unless Foxit Reader provided more than just the ability to view pictures. You can easily change the default app for picture files in Windows. I changed it from Photo to Windows Photo Viewer and can now view pictures in a window instead of full-screen. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi Fill out this survey please http://livecodebeginner.economy-x-talk.com/survey/ On 11/22/2013 01:32, Ray wrote: > When I first bought a Windows 8 system I was really disappointed to > discover that every time I opened an image file it used Photo Viewer or > something as the default program. It went full screen and left me back > in the, what I consider undesirable, "metro" side of Windows 8. I've > gotten around this using a free download called Foxit Reader. You might > take a look and see if it meets your needs on the Windows side. > > Regards, > > Ray Horsley > LinkIt! Software From bvlahos at mac.com Thu Nov 21 20:33:08 2013 From: bvlahos at mac.com (Bill Vlahos) Date: Thu, 21 Nov 2013 17:33:08 -0800 Subject: Test message. Please ignore. Message-ID: <85C39BEF-EBFE-418E-B5F6-20E2172635FE@mac.com> Bill Vlahos From mwieder at ahsoftware.net Thu Nov 21 20:31:09 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 21 Nov 2013 17:31:09 -0800 Subject: item delimiter defaults In-Reply-To: References: <8A7EACF4-FDAC-4283-A920-D2AC481A2FCC@uleth.ca> <8D015688-D00F-4ED6-BC64-767409DF2DBA@mac.com> <528E54E6.3070500@hyperactivesw.com> <528E5FA7.4010607@tweedly.net> <24270791383.20131121142149@ahsoftware.net> <181279617089.20131121164855@ahsoftware.net> Message-ID: <163282150753.20131121173109@ahsoftware.net> In case anyone is still mulling this over, I wasn't really being serious about the suggestion to create runtime errors. Just in case that wasn't clear. -- -Mark Wieder ahsoftware at gmail.com From dochawk at gmail.com Thu Nov 21 20:34:34 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Thu, 21 Nov 2013 17:34:34 -0800 Subject: RELEASE: LiveCode 6.5 RC6 In-Reply-To: <528D13A9.5010407@hyperactivesw.com> References: <721FF677-E617-4688-9F8B-75E341D07968@mac.com> <528D0FD9.2050805@fourthworld.com> <528D10FD.1020409@gmail.com> <528D13A9.5010407@hyperactivesw.com> Message-ID: On Wed, Nov 20, 2013 at 11:55 AM, J. Landman Gay wrote: > > I read the HyperCard manual end to end (twice I think, because I didn't > understand what a function was) and I still live and breathe to tell about > it. I'll take your word for it . . . but why take chances? :) But then, thinking back, I'm pretty sure I read the entire CP/M and MBASIC 5 manuals, probably the hypercard manual (which I still have, along with Inside Macintosh, a Fortan 90/95 manual, the Apple ][ "red book", The C Programming Langauge, and my own dissertation. Oh, and the BAIC manual for an IBM system 36 . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From ray at linkit.com Thu Nov 21 20:48:56 2013 From: ray at linkit.com (Ray) Date: Thu, 21 Nov 2013 20:48:56 -0500 Subject: Translate code from Mac to PC In-Reply-To: <528EB0C1.4090502@economy-x-talk.com> References: <528EA626.4010903@LinkIt.Com> <528EB0C1.4090502@economy-x-talk.com> Message-ID: <528EB808.3040907@LinkIt.Com> Yeah, I tried that but every time I try to open a PDF I get an error from Windows Photo Viewer which says it can't open that kind of a file. Can you open PDF's with Windows Photo Viewer? If so maybe I need to update my copy or something. On 11/21/2013 8:17 PM, Mark Schonewille wrote: > Ray, > > That is really unnecessary, unless Foxit Reader provided more than > just the ability to view pictures. You can easily change the default > app for picture files in Windows. I changed it from Photo to Windows > Photo Viewer and can now view pictures in a window instead of > full-screen. > > -- > Best regards, > > Mark Schonewille From roger.e.eller at sealedair.com Thu Nov 21 21:01:05 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Thu, 21 Nov 2013 21:01:05 -0500 Subject: Translate code from Mac to PC In-Reply-To: References: Message-ID: I don't see why your code isn't ok for both Mac and Windows. It looks like it would use the default image viewer. On Nov 21, 2013 6:56 PM, "James Hurley" wrote: > I need a little code translation for a program I am doing for a local > school. > > It is a drawing program. After the drawing is complete, I need a way for > the student to print and or save the image. > > On the Mac that is easy. Take a snapshot of the rect containing the image, > save it to disk, launch the file and it opens in Preview. > And from Preview, the image can be printed or saves. Here is that in Mac > speak. > > on mouseUp > ask "Please name this image." with "MyImage" > if it is "" then exit mouseUP > put "/" & it & ".png" into tName > put specialFolderPath ( "desktop") & tName Into tPathAndName > export snapshot from rect (rect of graphic "oval") of this card to > file tPathAndName as PNG > launch document tPathAndName > end mouseUp > > I need this for the PC as well. Is there an app on the PC that opens any > PNG file that is double clicked? > > Thanks, > > Jim Hurley > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From m.schonewille at economy-x-talk.com Thu Nov 21 21:11:34 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 22 Nov 2013 03:11:34 +0100 Subject: Translate code from Mac to PC In-Reply-To: <528EB808.3040907@LinkIt.Com> References: <528EA626.4010903@LinkIt.Com> <528EB0C1.4090502@economy-x-talk.com> <528EB808.3040907@LinkIt.Com> Message-ID: Hi Ray, The default app for PDF's is Reader. On Windows, you can't open a PDF in the default picture viewer. On Mac OS X, you can open PDF's in Preview. This is because Apple added some API's that allow QuickTime, QuickLook and other apps and services to render PDF's. Windows doesn't have such an OS-wide API for PDF's. If you don't want to use the default app Reader on Windows, you'll have to install Adobe Acrobat, Adobe Reader or another Windows compatible PDF reader. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com We have time for new software development projects. Contact me for a quote. On 22 nov 2013, at 02:48, Ray wrote: > Yeah, I tried that but every time I try to open a PDF I get an error from Windows Photo Viewer which says it can't open that kind of a file. Can you open PDF's with Windows Photo Viewer? If so maybe I need to update my copy or something. > > On 11/21/2013 8:17 PM, Mark Schonewille wrote: >> Ray, >> >> That is really unnecessary, unless Foxit Reader provided more than just the ability to view pictures. You can easily change the default app for picture files in Windows. I changed it from Photo to Windows Photo Viewer and can now view pictures in a window instead of full-screen. >> >> -- >> Best regards, >> >> Mark Schonewille > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From endernafi at gmail.com Thu Nov 21 21:16:49 2013 From: endernafi at gmail.com (Ender Nafi Elekcioglu) Date: Fri, 22 Nov 2013 04:16:49 +0200 Subject: submitting iOS app built with LC 6.1.3 In-Reply-To: References: <635801E2-AB6A-4E66-93A0-22A949B9BF40@icloud.com> <528D33F3.2070303@hyperactivesw.com> <9501730D-D214-4217-87AF-7E07A291025E@icloud.com> Message-ID: Chris, I was already editing the CFBundleDevelopmentRegion key of settings.plist file for a localization issue. But I couldn?t figure out which key to edit for this icon issue. Could you give an example? Thanks? ~ Ender On November 21, 2013 at 17:23:55, Chris Sheffield (cmsheffield at icloud.com) wrote: Ender (and anyone else who?s interested), I did a search and found some instructions on how to modify the Info.plist template. I was able to work around this problem by modifying that template (/Applications/LiveCode 6.1.3/LiveCode 6.1.3.app/Contents/Tools/Runtime/iOS/[Device]/Settings.plist) to explicitly include the correct icon files. After doing that and building my app and resubmitting it, the warning from Apple went away. This is a workaround, of course. As I mentioned, I have submitted a bug report regarding the issue. If anyone does decide to modify that template file, but sure to back up the original first. Chris From MikeKerner at roadrunner.com Thu Nov 21 21:58:42 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Thu, 21 Nov 2013 21:58:42 -0500 Subject: item delimiter defaults In-Reply-To: <163282150753.20131121173109@ahsoftware.net> References: <8A7EACF4-FDAC-4283-A920-D2AC481A2FCC@uleth.ca> <8D015688-D00F-4ED6-BC64-767409DF2DBA@mac.com> <528E54E6.3070500@hyperactivesw.com> <528E5FA7.4010607@tweedly.net> <24270791383.20131121142149@ahsoftware.net> <181279617089.20131121164855@ahsoftware.net> <163282150753.20131121173109@ahsoftware.net> Message-ID: I could live with new syntax for rows and columns, because at least the scope is better, BUT, with the caveat that we don't treat null last columns like they aren't there, the way we treat null last items like they aren't there. DBMS's don't like it when you do an INSERT with the wrong number of values, for instance. -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From dochawk at gmail.com Thu Nov 21 22:19:44 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Thu, 21 Nov 2013 19:19:44 -0800 Subject: Is there a reasonable way to use numbers smaller than about 10^-6 In-Reply-To: References: <528CE8ED.8080100@gmail.com> Message-ID: On Wed, Nov 20, 2013 at 10:21 AM, Geoff Canyon wrote: > My plan so far is just to do the math. If the result is 0, then increase my > timescale by 100,000 and try again. (and repeat as necessary) That way when > there is something overwhelming nearby, extremely distant/small objects > will have 0 effect, but if there is nothing nearby/large, then > smaller/farther objects will be applied across timescales that work for > them. > Logarithmic calculations could do this in a single pass . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From pete at lcsql.com Thu Nov 21 23:33:20 2013 From: pete at lcsql.com (Peter Haworth) Date: Thu, 21 Nov 2013 20:33:20 -0800 Subject: item delimiter defaults In-Reply-To: References: <8A7EACF4-FDAC-4283-A920-D2AC481A2FCC@uleth.ca> <8D015688-D00F-4ED6-BC64-767409DF2DBA@mac.com> <528E54E6.3070500@hyperactivesw.com> <528E5FA7.4010607@tweedly.net> <24270791383.20131121142149@ahsoftware.net> Message-ID: I agree that arrays are better. Now if only LC would return an array of data returned from a database query, main key record number, subkey column name, we might not need this new column entity. Pete lcSQL Software On Nov 21, 2013 3:15 PM, "Monte Goulding" wrote: > > On 22/11/2013, at 9:21 AM, Mark Wieder wrote: > > > If anything, I'd argue that things should be the other way around: > > that there be *no* default itemDelimiter, and the use of items without > > having explicitly defined the delimiter should result in a runtime > > error. > > Ooo.... now that would break a heap of code... :-) > > I already avoid items like the plague they are. Array syntax can be much > more descriptive: > > Look at this 6 months later and you know you're dealing with a name: > set the text of field "company" to tArrayA[tIndex]["name"] > > Look at this 6 months later and you need to go and look at where your list > is created to remember what was in item 3: > set the text of field "company" to item 3 of line tIndex of tData > > Stuff like this makes my head spin: > get item 3 of line tIndex of tData > set the itemDelimiter to "|" > get item 2 of it > --- and so on... > > Then there's the never having to worry about delimiters being in your data > thing... > > Cheers > > -- > M E R Goulding > Software development services > Bespoke application development for vertical markets > > mergExt - There's an external for that! > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at lcsql.com Thu Nov 21 23:37:31 2013 From: pete at lcsql.com (Peter Haworth) Date: Thu, 21 Nov 2013 20:37:31 -0800 Subject: Is there a handler summary app? In-Reply-To: <528E948C.3020108@hyperactivesw.com> References: <2B3B7E76-A2F9-4B9A-A4E7-CA4E4BE38774@earthednet.org> <528E948C.3020108@hyperactivesw.com> Message-ID: Especially if you have Trevor's plugin that extends the scope of that function. Pete lcSQL Software On Nov 21, 2013 3:17 PM, "J. Landman Gay" wrote: > On 11/21/13 4:35 PM, prothero at earthednet.org wrote: > >> Folks: As I'm developing my first app, it starts to get confusing, >> where I have put various scripts. I have organized them into topical >> substacks, but I still spend inordinate time looking for specific >> scripts, and I may have forgotten the exact handler name, so the >> universal search isn't that useful. >> > > If you are trying to find a handler whose name you are looking at in a > script, you can right-click the handler name in the script editor and > choose "go to definition". It will take you directly to the right place. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From monte at sweattechnologies.com Fri Nov 22 00:27:54 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 22 Nov 2013 16:27:54 +1100 Subject: item delimiter defaults In-Reply-To: References: <8A7EACF4-FDAC-4283-A920-D2AC481A2FCC@uleth.ca> <8D015688-D00F-4ED6-BC64-767409DF2DBA@mac.com> <528E54E6.3070500@hyperactivesw.com> <528E5FA7.4010607@tweedly.net> <24270791383.20131121142149@ahsoftware.net> Message-ID: On 22/11/2013, at 3:33 PM, Peter Haworth wrote: > I agree that arrays are better. Now if only LC would return an array of > data returned from a database query, main key record number, subkey column > name, we might not need this new column entity. It's pretty easy to write a function to turn a query into an array like that. Depending on the amount of data you're dealing with it may or may not be a good idea to get it all into one variable like that. The reason why revdb doesn't have an option like that is probably because multi-dimensional arrays aren't supported by the externals sdk... at least not the one revdb is written in. The new one does although I haven't played with it as it's only been un-#ifdef'ed out recently. -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From toolbook at kestner.de Fri Nov 22 03:01:52 2013 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Fri, 22 Nov 2013 09:01:52 +0100 Subject: AW: Solved : Re: Standalone still refuses to launch on Mavericks In-Reply-To: References: <528D0E57.1040405@fourthworld.com> <528D432F.2080501@hyperactivesw.com> <119194436529.20131120170914@ahsoftware.net> Message-ID: <001801cee759$1ae2a650$50a7f2f0$@de> Hi jbv, was it an individual issue only related to your project or is it something in general going from old versions to maverick which has changed? Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag > von jbv at souslelogo.com > Gesendet: Donnerstag, 21. November 2013 20:02 > An: How to use LiveCode > Betreff: Solved : Re: Standalone still refuses to launch on Mavericks > > Well, I'm responding to my own post with the solution (I'd hope it would > happen more often ;-) the problem was simply related to permissions and a > simple chmod -x did the trick. > > jbv > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jbv at souslelogo.com Fri Nov 22 04:02:08 2013 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Fri, 22 Nov 2013 11:02:08 +0200 Subject: AW: Solved : Re: Standalone still refuses to launch on Mavericks In-Reply-To: <001801cee759$1ae2a650$50a7f2f0$@de> References: <528D0E57.1040405@fourthworld.com> <528D432F.2080501@hyperactivesw.com> <119194436529.20131120170914@ahsoftware.net> <001801cee759$1ae2a650$50a7f2f0$@de> Message-ID: <0f86d64018ddc07d1534f7fe63c679be.squirrel@185.8.104.234> Hi, Honestly I'm not sure... My client lives 250 km from here and as I still haven't upgraded to Mavericks myself, the only thing I could do is ask him to send me the error messages displayed in Console when trying to launch the standalone (and having him manipulating Console was quite an adventure ;-) Then a quick google search about "Job failed to exec(3) for weird reason: 13" lead me to a few pages explaining it was a permissions issue. According to the same web pages, this also happened to various other pieces of software, so my guess is that it's not only related to my project... jbv > Hi jbv, > was it an individual issue only related to your project or is it something > in general going from old versions to maverick which has changed? > Tiemo > > From toolbook at kestner.de Fri Nov 22 04:44:06 2013 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Fri, 22 Nov 2013 10:44:06 +0100 Subject: Valentina 4 install fails with OS X Intel Only bundle Message-ID: <002801cee767$631bb110$29531330$@de> Hello, For Valentina users. I tried to install the Valentina drivers with the installscript "install_vcomponents_v4rev_v4" into an OS X "Intel Only" bundle, created with LC 6.1 on OS X 10.5. The installer script runs through without errors, but it copies only the "/Contents/vcomponents" folder into my bundle, but not the "/Contents/MacOS/Externals/database_drivers" folder and not the "/Contents/MacOS/Externals/v4rev.bundle". After fiddling around for a day I found out by accident that everything runs fine with a LiveCode bundle, which is build for "Mac OS X (Universal)". As a workaround I am going on to use the Universal package, though I wanted to reduce the size of the package with intel only. I have no idea what is going on under the hood of those packages, but it would be of interest what the difference in the package structure is, what could cause the fail copying valentina files into them? Tiemo From marc.vancauwenberghe at pandora.be Fri Nov 22 09:21:58 2013 From: marc.vancauwenberghe at pandora.be (Marc Van Cauwenberghe ) Date: Fri, 22 Nov 2013 15:21:58 +0100 Subject: 6.1.3 and 6.5 Message-ID: <003d01cee78e$341644d0$9c42ce70$@pandora.be> Hi, Just wondering. Will the release of 6.5 include 6.1.3? Will they merge? Marc From selander at tkf.att.ne.jp Fri Nov 22 09:26:59 2013 From: selander at tkf.att.ne.jp (Tim Selander) Date: Fri, 22 Nov 2013 23:26:59 +0900 Subject: Character encoding using LC server on on-rev In-Reply-To: <528E153C.5020009@tkf.att.ne.jp> References: <528D630B.7020004@tkf.att.ne.jp> <528DE92F.3090908@runrev.com> <528E153C.5020009@tkf.att.ne.jp> Message-ID: <528F69B3.2070907@tkf.att.ne.jp> This falls into the category of answering your own question, but I decided to post the answer just in case an archive search by someone with the same problem brings them here. For some reason the normal charset command in the HTML does not work in a .irev or .lc page. But if you put this at the top of your page before anything else is output, your page encoding is properly set: Have tested with shift-jis and utf-8 and both work fine. FWIW Tim Selander Tokyo, Japan On 11/21/13 11:14 PM, Tim Selander wrote: > Thanks, Neil. > > A few hours after my post, when no one hear chimed in on the > matter, I did decide to contact on-rev support to see if they > could help, since we decided it was embarrassing to have users > having browser text encoding problems on the couple of pages we > use LC coding with. > > David Williams got right back to me and we're working on it > together. > > Regards, > > Tim Selander > > > > On 11/21/13 8:06 PM, Neil Roger wrote: >> Hi Tim, >> >> If this has only recently started to happen please contact our >> on-rev support team who should be able to assist further- >> >> http://on-rev.com/support/contact-us/ >> >> Kind Regards, >> >> Neil Roger >> >> -- >> RunRev Support Team ~ http://www.runrev.com >> - >> >> On 21/11/2013 01:34, Tim Selander wrote: >>> Hi, >>> >>> My Japanese .irev web pages are not loading with the right >>> encoding anymore. I'm on the server pancake. >>> >>> My html header has this: >>> >>> >>> >>> There are no other charset commands anywhere in the page. But >>> browsers are displaying the pages with Western ISO-8859-1. >>> >>> PHP has a header function that lets you set the charset; does LC? >>> >>> Tim Selander >>> Tokyo, Japan >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ray at linkit.com Fri Nov 22 10:05:12 2013 From: ray at linkit.com (Ray) Date: Fri, 22 Nov 2013 10:05:12 -0500 Subject: Translate code from Mac to PC In-Reply-To: References: <528EA626.4010903@LinkIt.Com> <528EB0C1.4090502@economy-x-talk.com> <528EB808.3040907@LinkIt.Com> Message-ID: <528F72A8.3080300@LinkIt.Com> Hi Mark, Thanks for this insight. Personally I don't like Reader since it always goes full screen on Windows 8 forcing forcing me to grab the top center of the whole screen with a 'claw' and swipe it all the way to the bottom. And then I'm dumped off at the 'metro' view of Windows 8, something I rarely use. So I think I'll just stick with my new discovery, Foxit, which opens PDF's in a reasonably sized window on the desktop. Ray On 11/21/2013 9:11 PM, Mark Schonewille wrote: > Hi Ray, > > The default app for PDF's is Reader. On Windows, you can't open a PDF in the default picture viewer. On Mac OS X, you can open PDF's in Preview. This is because Apple added some API's that allow QuickTime, QuickLook and other apps and services to render PDF's. Windows doesn't have such an OS-wide API for PDF's. If you don't want to use the default app Reader on Windows, you'll have to install Adobe Acrobat, Adobe Reader or another Windows compatible PDF reader. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com > > We have time for new software development projects. Contact me for a quote. > > > > > > > On 22 nov 2013, at 02:48, Ray wrote: > >> Yeah, I tried that but every time I try to open a PDF I get an error from Windows Photo Viewer which says it can't open that kind of a file. Can you open PDF's with Windows Photo Viewer? If so maybe I need to update my copy or something. >> >> On 11/21/2013 8:17 PM, Mark Schonewille wrote: >>> Ray, >>> >>> That is really unnecessary, unless Foxit Reader provided more than just the ability to view pictures. You can easily change the default app for picture files in Windows. I changed it from Photo to Windows Photo Viewer and can now view pictures in a window instead of full-screen. >>> >>> -- >>> Best regards, >>> >>> Mark Schonewille >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Fri Nov 22 10:17:51 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 22 Nov 2013 07:17:51 -0800 Subject: Array key paths In-Reply-To: References: Message-ID: <528F759F.1020300@fourthworld.com> Monte Goulding wrote: > On 13/11/2013, at 9:38 AM, Mark Wieder wrote: > >> And the multidimensional array doesn't even have to be numerically >> indexed - the split command creates a hierarchical index for the hash: >> >> put "hello" into tTest["abba"]["zabba"] >> put "abba,zabba" into tPath >> split tPath by comma >> -- tPath is now >> -- [1] : "abba" >> -- [2] : "zabba" >> put tTest[tPath] --> "hello" > > Ah.. yeah... I should have made that more clear in my example... it's the path that needs to be numerically indexed. > > The other thing you can do is mix things up: > > put "hello" into tTest[1][2]["abba"]["zabba"] > put "abba,zabba" into tPath > split tPath by comma > put 1,2 into tRootPath > split tRootPath by comma > put tTest[tRootPath][tPath] = "hello" -- true The part about "it's the path that needs to be numerically indexed" confuses me, as does Mark Waddingham's description in the RQCC request at : The meaning of 'tKey' will be extended: 1) If it is a string then it is as it is now 2) If it is a numerically keyed array starting at 1, then it will mean: put tValue into tArray[tKey[1]][tKey[2]]...[tKey[n]] where is the number of elements in tKey 3) Otherwise it is an error. In my brief experiments it seems the path key array works like any other array, in that it's an associative array so that it makes no difference whether the key is numeric or a string, since the under-the-hood representation is still a string. Given this, Mark's 3) above is something I'm not seeing. What am I not understanding? -- 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 From jbv at souslelogo.com Fri Nov 22 10:47:27 2013 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Fri, 22 Nov 2013 17:47:27 +0200 Subject: OT : help needed with a mySQL request In-Reply-To: <003d01cee78e$341644d0$9c42ce70$@pandora.be> References: <003d01cee78e$341644d0$9c42ce70$@pandora.be> Message-ID: <5fc55733938bee16310be7f5dec2d9d5.squirrel@185.8.104.234> Hi list, I have a table with a Date column (among others). Each entry has a date that ranges from 1930 to 2013. For several entries, the content of other columns can be similar, only the Date value changes. For instance I can have aaa 2004 aaa 2013 I need to find with 1 single request all entries with Date = 2013 that don't exist in the table with other Date values. I tried SELECT * FROM myTable WHERE MIN(Date) = 2013 but that returns an error #1111 - Invalid use of group function Any help would be much apreciated. Thanks in advance. jbv From pete at lcsql.com Fri Nov 22 10:52:22 2013 From: pete at lcsql.com (Peter Haworth) Date: Fri, 22 Nov 2013 07:52:22 -0800 Subject: item delimiter defaults In-Reply-To: References: <8A7EACF4-FDAC-4283-A920-D2AC481A2FCC@uleth.ca> <8D015688-D00F-4ED6-BC64-767409DF2DBA@mac.com> <528E54E6.3070500@hyperactivesw.com> <528E5FA7.4010607@tweedly.net> <24270791383.20131121142149@ahsoftware.net> Message-ID: Yes, I've written functions to do that but worry about doing it on large data sets. I think redoing the db layer was one of the Kickstarter goals so maybe we'll see this turn up. Pete lcSQL Software On Nov 21, 2013 9:27 PM, "Monte Goulding" wrote: > > On 22/11/2013, at 3:33 PM, Peter Haworth wrote: > > > I agree that arrays are better. Now if only LC would return an array of > > data returned from a database query, main key record number, subkey > column > > name, we might not need this new column entity. > > It's pretty easy to write a function to turn a query into an array like > that. Depending on the amount of data you're dealing with it may or may not > be a good idea to get it all into one variable like that. The reason why > revdb doesn't have an option like that is probably because > multi-dimensional arrays aren't supported by the externals sdk... at least > not the one revdb is written in. The new one does although I haven't played > with it as it's only been un-#ifdef'ed out recently. > > -- > M E R Goulding > Software development services > Bespoke application development for vertical markets > > mergExt - There's an external for that! > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From devin_asay at byu.edu Fri Nov 22 11:10:48 2013 From: devin_asay at byu.edu (Devin Asay) Date: Fri, 22 Nov 2013 16:10:48 +0000 Subject: OT : help needed with a mySQL request In-Reply-To: <5fc55733938bee16310be7f5dec2d9d5.squirrel@185.8.104.234> References: <003d01cee78e$341644d0$9c42ce70$@pandora.be> <5fc55733938bee16310be7f5dec2d9d5.squirrel@185.8.104.234> Message-ID: <185A0A67-544A-4CFA-B3E1-C658D1345433@byu.edu> On Nov 22, 2013, at 8:47 AM, wrote: > Hi list, > > I have a table with a Date column (among others). > Each entry has a date that ranges from 1930 to 2013. > For several entries, the content of other columns can be similar, > only the Date value changes. For instance I can have > aaa 2004 > aaa 2013 > I need to find with 1 single request all entries with Date = 2013 > that don't exist in the table with other Date values. > I tried SELECT * FROM myTable WHERE MIN(Date) = 2013 > but that returns an error #1111 - Invalid use of group function > > Any help would be much apreciated. > Thanks in advance. > jbv I'm not exactly understanding what you're trying to do, but here are a couple of things to keep in mind: - functions need to be embedded in the SELECT clause, not the WHERE clause. - I have found that most MySQL interfaces require dates to be quotes; e.g., WHERE date = '2013'. So a query like this should be legal (not tested): SELECT foo, bar, MIN(date) FROM myTable WHERE date < '2012' Again, I don't understand exactly what you want, but this might give you some clues. Devin Devin Asay Learn to code with LiveCode University http://university.livecode.com From jbv at souslelogo.com Fri Nov 22 11:19:57 2013 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Fri, 22 Nov 2013 18:19:57 +0200 Subject: OT : help needed with a mySQL request In-Reply-To: <185A0A67-544A-4CFA-B3E1-C658D1345433@byu.edu> References: <003d01cee78e$341644d0$9c42ce70$@pandora.be> <5fc55733938bee16310be7f5dec2d9d5.squirrel@185.8.104.234> <185A0A67-544A-4CFA-B3E1-C658D1345433@byu.edu> Message-ID: <05d55cb5b366d0f0a115413986bcf4db.squirrel@185.8.104.234> Hi Devin, Thanks for your reply. I'll try to make myself a bit more clear... Let's say I have the following table (2 columns, 4 entries) : aaa 2004 aaa 2013 bbb 2013 ccc 2013 I need to output with 1 single request entries bbb and ccc because they're the only ones that don't exist in the table with a date value other than 2013. Of course, I don't need to do that with 2013 only but with a wide range of dates from 1980 to 2013, but everytime the approach is the same with a specific year. Does it make more sense now ? Thanks. jbv > > On Nov 22, 2013, at 8:47 AM, > wrote: > >> Hi list, >> >> I have a table with a Date column (among others). >> Each entry has a date that ranges from 1930 to 2013. >> For several entries, the content of other columns can be similar, >> only the Date value changes. For instance I can have >> aaa 2004 >> aaa 2013 >> I need to find with 1 single request all entries with Date = 2013 >> that don't exist in the table with other Date values. >> I tried SELECT * FROM myTable WHERE MIN(Date) = 2013 >> but that returns an error #1111 - Invalid use of group function >> >> Any help would be much apreciated. >> Thanks in advance. >> jbv > > I'm not exactly understanding what you're trying to do, but here are a > couple of things to keep in mind: > > - functions need to be embedded in the SELECT clause, not the WHERE > clause. > > - I have found that most MySQL interfaces require dates to be quotes; > e.g., WHERE date = '2013'. > > So a query like this should be legal (not tested): > > SELECT foo, bar, MIN(date) FROM myTable WHERE date < '2012' > > Again, I don't understand exactly what you want, but this might give you > some clues. > > Devin > From jhurley0305 at sbcglobal.net Fri Nov 22 11:23:37 2013 From: jhurley0305 at sbcglobal.net (James Hurley) Date: Fri, 22 Nov 2013 08:23:37 -0800 Subject: Translate code from Mac to PC In-Reply-To: References: Message-ID: Thanks to all for the help on this. Our local library has gotten wind of this app and have asked to include it among the apps included on their public computers. It is a much trimmed down version of a kaleidoscope program I did some time ago. You can download it here. (My apologies to the Mac faithful. I have forgotten how to use the Menu Builder.) (And to the PC users if the "Export a snapshot" feature doesn't work.) Jim From cmsheffield at icloud.com Fri Nov 22 11:32:15 2013 From: cmsheffield at icloud.com (Chris Sheffield) Date: Fri, 22 Nov 2013 09:32:15 -0700 Subject: app won't run in Android simulator Message-ID: <0DA9198E-19B5-4219-803A-C06B487EFFB5@icloud.com> I realize the Android simulator is pretty much useless for real testing, but I?m just kind of getting started and have created a very simple stack with two buttons. The app won?t even run. It installs ok, but when launching it immediately closes with a message ?[app name] has stopped?. Any way to fix this? I?ve tried now on two different emulated devices: a generic Android 7? tablet and a Kindle Fire HDX 7?. Same results on both. I?m currently using LC 6.1.3 for this test. Can anyone help? Thanks, Chris -- Chris Sheffield Read Naturally, Inc. www.readnaturally.com From john at splash21.com Fri Nov 22 11:44:54 2013 From: john at splash21.com (John Craig) Date: Fri, 22 Nov 2013 16:44:54 +0000 Subject: OT : help needed with a mySQL request In-Reply-To: <5fc55733938bee16310be7f5dec2d9d5.squirrel@185.8.104.234> References: <003d01cee78e$341644d0$9c42ce70$@pandora.be> <5fc55733938bee16310be7f5dec2d9d5.squirrel@185.8.104.234> Message-ID: <528F8A06.4090300@splash21.com> If I understrand correctly, you have data similar to below; mysql> select * from data; +----+------+------+ | id | name | year | +----+------+------+ | 1 | John | 1972 | | 2 | John | 2006 | | 3 | John | 2010 | | 4 | John | 2013 | | 5 | Kyle | 2006 | | 6 | Kyle | 2010 | | 7 | Kyle | 2013 | | 8 | Katy | 2013 | +----+------+------+ and you only want the 'Katy' record. Here's one possible query; mysql> SELECT *, (SELECT COUNT(id) FROM data AS data2 WHERE name = data.name AND year < 2013) AS yCount FROM data WHERE year = 2013 HAVING yCount = 0; +----+------+------+--------+ | id | name | year | yCount | +----+------+------+--------+ | 8 | Katy | 2013 | 0 | +----+------+------+--------+ :D On 22/11/2013 15:47, jbv at souslelogo.com wrote: > Hi list, > > I have a table with a Date column (among others). > Each entry has a date that ranges from 1930 to 2013. > For several entries, the content of other columns can be similar, > only the Date value changes. For instance I can have > aaa 2004 > aaa 2013 > I need to find with 1 single request all entries with Date = 2013 > that don't exist in the table with other Date values. > I tried SELECT * FROM myTable WHERE MIN(Date) = 2013 > but that returns an error #1111 - Invalid use of group function > > Any help would be much apreciated. > Thanks in advance. > jbv > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at lcsql.com Fri Nov 22 12:11:52 2013 From: pete at lcsql.com (Peter Haworth) Date: Fri, 22 Nov 2013 09:11:52 -0800 Subject: OT : help needed with a mySQL request In-Reply-To: <05d55cb5b366d0f0a115413986bcf4db.squirrel@185.8.104.234> References: <003d01cee78e$341644d0$9c42ce70$@pandora.be> <5fc55733938bee16310be7f5dec2d9d5.squirrel@185.8.104.234> <185A0A67-544A-4CFA-B3E1-C658D1345433@byu.edu> <05d55cb5b366d0f0a115413986bcf4db.squirrel@185.8.104.234> Message-ID: HI, Interesting query! Something like this should do it. I'm calling your column with aaa,bbb,etc in ti "text" and this is from my SQLite knowledge not mySQL so there might be syntax differences. SELECT Text,Date FROM table GROUP BY Text HAVING Date='2013' AND count(Text)=1 ORDER BY Text Haven't tested it though. Pete lcSQL Software On Fri, Nov 22, 2013 at 8:19 AM, wrote: > Hi Devin, > > Thanks for your reply. I'll try to make myself a bit more clear... > Let's say I have the following table (2 columns, 4 entries) : > aaa 2004 > aaa 2013 > bbb 2013 > ccc 2013 > > I need to output with 1 single request entries bbb and ccc > because they're the only ones that don't exist in the table > with a date value other than 2013. > Of course, I don't need to do that with 2013 only but with > a wide range of dates from 1980 to 2013, but everytime > the approach is the same with a specific year. > Does it make more sense now ? > > Thanks. > jbv > > > > > On Nov 22, 2013, at 8:47 AM, > > wrote: > > > >> Hi list, > >> > >> I have a table with a Date column (among others). > >> Each entry has a date that ranges from 1930 to 2013. > >> For several entries, the content of other columns can be similar, > >> only the Date value changes. For instance I can have > >> aaa 2004 > >> aaa 2013 > >> I need to find with 1 single request all entries with Date = 2013 > >> that don't exist in the table with other Date values. > >> I tried SELECT * FROM myTable WHERE MIN(Date) = 2013 > >> but that returns an error #1111 - Invalid use of group function > >> > >> Any help would be much apreciated. > >> Thanks in advance. > >> jbv > > > > I'm not exactly understanding what you're trying to do, but here are a > > couple of things to keep in mind: > > > > - functions need to be embedded in the SELECT clause, not the WHERE > > clause. > > > > - I have found that most MySQL interfaces require dates to be quotes; > > e.g., WHERE date = '2013'. > > > > So a query like this should be legal (not tested): > > > > SELECT foo, bar, MIN(date) FROM myTable WHERE date < '2012' > > > > Again, I don't understand exactly what you want, but this might give you > > some clues. > > > > Devin > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jbv at souslelogo.com Fri Nov 22 12:16:22 2013 From: jbv at souslelogo.com (jbv at souslelogo.com) Date: Fri, 22 Nov 2013 19:16:22 +0200 Subject: OT : help needed with a mySQL request In-Reply-To: <528F8A06.4090300@splash21.com> References: <003d01cee78e$341644d0$9c42ce70$@pandora.be> <5fc55733938bee16310be7f5dec2d9d5.squirrel@185.8.104.234> <528F8A06.4090300@splash21.com> Message-ID: John, Thank you so much : I just tested the request you sent and compared it with the results I got with several successive requests and everything is consistent... If I may, I have one last question though : what if I want, in the same single request, to output the number of distinct names, instead of the full list of entries with all columns ? In your example the output should be "1". I tried SELECT COUNT(DISTINCT name) at the beginning of the request, but the result was empty... Thanks again, jbv > If I understrand correctly, you have data similar to below; > > mysql> select * from data; > +----+------+------+ > | id | name | year | > +----+------+------+ > | 1 | John | 1972 | > | 2 | John | 2006 | > | 3 | John | 2010 | > | 4 | John | 2013 | > | 5 | Kyle | 2006 | > | 6 | Kyle | 2010 | > | 7 | Kyle | 2013 | > | 8 | Katy | 2013 | > +----+------+------+ > > and you only want the 'Katy' record. Here's one possible query; > > mysql> SELECT *, (SELECT COUNT(id) FROM data AS data2 WHERE name = > data.name AND year < 2013) AS yCount FROM data WHERE year = 2013 HAVING > yCount = 0; > +----+------+------+--------+ > | id | name | year | yCount | > +----+------+------+--------+ > | 8 | Katy | 2013 | 0 | > +----+------+------+--------+ > > > :D > > > On 22/11/2013 15:47, jbv at souslelogo.com wrote: >> Hi list, >> >> I have a table with a Date column (among others). >> Each entry has a date that ranges from 1930 to 2013. >> For several entries, the content of other columns can be similar, >> only the Date value changes. For instance I can have >> aaa 2004 >> aaa 2013 >> I need to find with 1 single request all entries with Date = 2013 >> that don't exist in the table with other Date values. >> I tried SELECT * FROM myTable WHERE MIN(Date) = 2013 >> but that returns an error #1111 - Invalid use of group function >> >> Any help would be much apreciated. >> Thanks in advance. >> jbv >> >> From pete at lcsql.com Fri Nov 22 12:23:21 2013 From: pete at lcsql.com (Peter Haworth) Date: Fri, 22 Nov 2013 09:23:21 -0800 Subject: Array key paths In-Reply-To: <528F759F.1020300@fourthworld.com> References: <528F759F.1020300@fourthworld.com> Message-ID: On Fri, Nov 22, 2013 at 7:17 AM, Richard Gaskin wrote: > In my brief experiments it seems the path key array works like any other > array, in that it's an associative array so that it makes no difference > whether the key is numeric or a string, since the under-the-hood > representation is still a string. > > Given this, Mark's 3) above is something I'm not seeing. > > What am I not understanding? > I seem to remember getting an error if the keys of path key were not integers. Are you saying you've made it work with non-integer keys? Pete lcSQL Software From devin_asay at byu.edu Fri Nov 22 12:30:27 2013 From: devin_asay at byu.edu (Devin Asay) Date: Fri, 22 Nov 2013 17:30:27 +0000 Subject: OT : help needed with a mySQL request In-Reply-To: References: <003d01cee78e$341644d0$9c42ce70$@pandora.be> <5fc55733938bee16310be7f5dec2d9d5.squirrel@185.8.104.234> <528F8A06.4090300@splash21.com> Message-ID: On Nov 22, 2013, at 10:16 AM, wrote: > John, > > Thank you so much : I just tested the request you sent and compared it > with the results I got with several successive requests and everything > is consistent... > > If I may, I have one last question though : > what if I want, in the same single request, to output the number of > distinct names, instead of the full list of entries with all columns ? > In your example the output should be "1". > I tried > SELECT COUNT(DISTINCT name) > at the beginning of the request, but the result was empty? Again, not tested, but it might need an embedded query: SELECT COUNT(SELECT DISTINCT name from foo) Me, I usually take the coward's way out: put revDataFromQuery(,,connid, "SELECT DISTINCT name FROM foo") into tNames put the number of lines in tNames into tNameCount :-) Devin Devin Asay Learn to code with LiveCode University http://university.livecode.com From ambassador at fourthworld.com Fri Nov 22 12:38:38 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 22 Nov 2013 09:38:38 -0800 Subject: Array key paths In-Reply-To: References: Message-ID: <528F969E.1010702@fourthworld.com> Peter Haworth wrote: > On Fri, Nov 22, 2013 at 7:17 AM, Richard Gaskin wrote: > >> In my brief experiments it seems the path key array works like any other >> array, in that it's an associative array so that it makes no difference >> whether the key is numeric or a string, since the under-the-hood >> representation is still a string. >> >> Given this, Mark's 3) above is something I'm not seeing. >> >> What am I not understanding? > > I seem to remember getting an error if the keys of path key were not > integers. Are you saying you've made it work with non-integer keys? This test seems to work: Script of one button to load the array: on mouseUp global gA put "bob" into gA["bob"] put "44" into gA["bob"]["age"] put "ted" into gA["ted"] put "48" into gA["ted"]["age"] end mouseUp Script of a second button to split a key and use it to retrieve a value: on mouseUp global gA put fld "key" into s split s by comma put gA[s] into fld "r" put the result end mouseUp There are two fields - the one named "key" has: bob,age ...and when I click the second button the field named "r" shows: 44 Nothing shows in the Message Box, so presumably there was no error. This is what I would expect, since associative arrays usually have no way to distinguish between numeric and non-numeric keys, since all of them are treated as strings when they go through the hash to assign their buckets. -- 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 From john at splash21.com Fri Nov 22 12:40:14 2013 From: john at splash21.com (John Craig) Date: Fri, 22 Nov 2013 17:40:14 +0000 Subject: OT : help needed with a mySQL request In-Reply-To: References: <003d01cee78e$341644d0$9c42ce70$@pandora.be> <5fc55733938bee16310be7f5dec2d9d5.squirrel@185.8.104.234> <528F8A06.4090300@splash21.com> Message-ID: <528F96FE.9050605@splash21.com> You can also do (maybe easier to read); mysql> SELECT * FROM data HAVING (SELECT COUNT(id) FROM data AS data2 WHERE name = data.name AND year < 2013) = 0; +----+--------+------+ | id | name | year | +----+--------+------+ | 8 | Katy | 2013 | | 9 | Tracey | 2013 | +----+--------+------+ And to get the count (2 results in this case); mysql> SELECT COUNT(id) FROM (SELECT * FROM data HAVING (SELECT COUNT(id) FROM data AS data2 WHERE name = data.name AND year < 2013) = 0) AS derivedTable; +-----------+ | COUNT(id) | +-----------+ | 2 | +-----------+ There will be more solutions - this will either fit your requirements or at least give you a start ;) On 22/11/2013 17:16, jbv at souslelogo.com wrote: > John, > > Thank you so much : I just tested the request you sent and compared it > with the results I got with several successive requests and everything > is consistent... > > If I may, I have one last question though : > what if I want, in the same single request, to output the number of > distinct names, instead of the full list of entries with all columns ? > In your example the output should be "1". > I tried > SELECT COUNT(DISTINCT name) > at the beginning of the request, but the result was empty... > > Thanks again, > jbv > >> If I understrand correctly, you have data similar to below; >> >> mysql> select * from data; >> +----+------+------+ >> | id | name | year | >> +----+------+------+ >> | 1 | John | 1972 | >> | 2 | John | 2006 | >> | 3 | John | 2010 | >> | 4 | John | 2013 | >> | 5 | Kyle | 2006 | >> | 6 | Kyle | 2010 | >> | 7 | Kyle | 2013 | >> | 8 | Katy | 2013 | >> +----+------+------+ >> >> and you only want the 'Katy' record. Here's one possible query; >> >> mysql> SELECT *, (SELECT COUNT(id) FROM data AS data2 WHERE name = >> data.name AND year < 2013) AS yCount FROM data WHERE year = 2013 HAVING >> yCount = 0; >> +----+------+------+--------+ >> | id | name | year | yCount | >> +----+------+------+--------+ >> | 8 | Katy | 2013 | 0 | >> +----+------+------+--------+ >> >> >> :D >> >> >> On 22/11/2013 15:47, jbv at souslelogo.com wrote: >>> Hi list, >>> >>> I have a table with a Date column (among others). >>> Each entry has a date that ranges from 1930 to 2013. >>> For several entries, the content of other columns can be similar, >>> only the Date value changes. For instance I can have >>> aaa 2004 >>> aaa 2013 >>> I need to find with 1 single request all entries with Date = 2013 >>> that don't exist in the table with other Date values. >>> I tried SELECT * FROM myTable WHERE MIN(Date) = 2013 >>> but that returns an error #1111 - Invalid use of group function >>> >>> Any help would be much apreciated. >>> Thanks in advance. >>> jbv >>> >>> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at lcsql.com Fri Nov 22 12:54:31 2013 From: pete at lcsql.com (Peter Haworth) Date: Fri, 22 Nov 2013 09:54:31 -0800 Subject: OT : help needed with a mySQL request In-Reply-To: References: <003d01cee78e$341644d0$9c42ce70$@pandora.be> <5fc55733938bee16310be7f5dec2d9d5.squirrel@185.8.104.234> <528F8A06.4090300@splash21.com> Message-ID: Hi, Just put together a quick database using John's data and the query I sent earlier works great, at least in sqlite. To get a count of the number of entries, the query is: SELECT count(*) FROM (SELECT Text FROM Table GROUP BY Text HAVING Date='2013' AND count(Text)=1) Pete lcSQL Software On Fri, Nov 22, 2013 at 9:16 AM, wrote: > John, > > Thank you so much : I just tested the request you sent and compared it > with the results I got with several successive requests and everything > is consistent... > > If I may, I have one last question though : > what if I want, in the same single request, to output the number of > distinct names, instead of the full list of entries with all columns ? > In your example the output should be "1". > I tried > SELECT COUNT(DISTINCT name) > at the beginning of the request, but the result was empty... > > Thanks again, > jbv > > > If I understrand correctly, you have data similar to below; > > > > mysql> select * from data; > > +----+------+------+ > > | id | name | year | > > +----+------+------+ > > | 1 | John | 1972 | > > | 2 | John | 2006 | > > | 3 | John | 2010 | > > | 4 | John | 2013 | > > | 5 | Kyle | 2006 | > > | 6 | Kyle | 2010 | > > | 7 | Kyle | 2013 | > > | 8 | Katy | 2013 | > > +----+------+------+ > > > > and you only want the 'Katy' record. Here's one possible query; > > > > mysql> SELECT *, (SELECT COUNT(id) FROM data AS data2 WHERE name = > > data.name AND year < 2013) AS yCount FROM data WHERE year = 2013 HAVING > > yCount = 0; > > +----+------+------+--------+ > > | id | name | year | yCount | > > +----+------+------+--------+ > > | 8 | Katy | 2013 | 0 | > > +----+------+------+--------+ > > > > > > :D > > > > > > On 22/11/2013 15:47, jbv at souslelogo.com wrote: > >> Hi list, > >> > >> I have a table with a Date column (among others). > >> Each entry has a date that ranges from 1930 to 2013. > >> For several entries, the content of other columns can be similar, > >> only the Date value changes. For instance I can have > >> aaa 2004 > >> aaa 2013 > >> I need to find with 1 single request all entries with Date = 2013 > >> that don't exist in the table with other Date values. > >> I tried SELECT * FROM myTable WHERE MIN(Date) = 2013 > >> but that returns an error #1111 - Invalid use of group function > >> > >> Any help would be much apreciated. > >> Thanks in advance. > >> jbv > >> > >> > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From devin_asay at byu.edu Fri Nov 22 13:18:34 2013 From: devin_asay at byu.edu (Devin Asay) Date: Fri, 22 Nov 2013 18:18:34 +0000 Subject: Why I love LiveCode Message-ID: I have been using LC/Rev since v. 1.0 beta, and HyperCard for 10 years before that, and I never knew you could do this. It's probably LC 101 to most of you, but for some reason I had never needed to do this. I was in a substack and needed to know which card was currently showing in the mainstack. So I tried: put this card of stack "foo" -- the mainstack --> error, not a container. So then I tried put the name of this card of stack "foo" --> works! It's even more readable like this put the name of the current card of stack "foo" -- 'current' is a synonym of 'this' I love "guessable" syntax! Cheers! Devin Devin Asay Learn to code with LiveCode University http://university.livecode.com From ben at runrev.com Fri Nov 22 13:22:00 2013 From: ben at runrev.com (Benjamin Beaumont) Date: Fri, 22 Nov 2013 18:22:00 +0000 Subject: RELEASE: LiveCode 6.5 RC7 Message-ID: Dear List Members, We are pleased to announce the release of LiveCode 6.5 RC7. *Warning*, there still may be bugs in this pre-release. It is always good practice to back up your stacks before testing. *Release Contents* Items marked in *bold* are new to this release Full screen scaling mode. Improved image editing tools. Server graphics support PCRE library updated to version 8.33 libUrlSetSSLVerification now supported on mobile platforms Resolution Independence New global property colorDialogColors Integration of revFont external Enhanced \'filter\' command Text Measurement The optional *recursively* adverb has been added to union and intersect commands Xpath functions 67 bug fixes: *11494 - Crash when calling intersects on a button with an icon.* *11486 - Angled images not rendering correctly in certain situations.* *11475 - Field htmltext has invalid color attribure values* *11428 - Fix crash on Android calling mobilePlaySoundOnChannel with invalid path* *11395 - Grapic markers are drawn incorrectly* *11278 - Android mobilePick can only be called once, reliably* *11149 - revDatabaseConnectResult always returns empty* 11476 - Freeze when drawing certain gradients 11472 - Linux \"Open Stack...\" dialog does not show \"All Files\" option. 11471 - Loss of quality for certain gradient types 11470 - Regular polygons with a line size greater than 1 clip 11469 - Ovals are filled incorrectly when using startAngle/arcAngle 11464 - Fix crash when printing an RLE-encoded image on OSX 11457 - Antialised single point lines draw across pixels 11456 - OS X tab buttons clip for certain text sizes 11445 - Fix image scaling with \"best\" resizequality rounding scale factors down to integer values. 11444 - Odd letter spacing in text when rendered in certain fonts at certain sizes. 10485 - Take account of keyboard visibility in Android \"effective working screenrect\". Notify engine of changes to keyboard visibility. 11436 - Standalone builder still has option for Armv6 iOS builds 11426 - When drawing opaque round rectangles the fill overlaps the stroke 11422 - Multiply blend mode incorrect 11415 - Random issues with text layout and alignment. 11413 - Text clipped vertically on iOS for certain fonts (updated fix for iOS 6) 11320 - Player rect not adjusted by stack scroll when redrawing on OSX 11197 - Crash when attempting to print to file on linux. 11397 - Imagedata of resized images returned at wrong scale 11393 - Fullscreen modes cause clipped text on Windows 11390 - Fix incorrect cropping of resized image 11389 - Dashed borders on oval grapgics do not start at the correct location 11388 - 1 pixel non-antialiased lines draw incorrectly in certain circumstances 11360 - Linux themeing does not correctly work on non 32bit displays 11355 - Focus border on Windows default button has artefacts. 10508 - Printing text to PDF on Windows can result in poor layout. 11367 - Gradient inspector does not draw fully 11359 - Redraw issues with inner glow and inner shadow. 11351 - \"recursively\" option for array union and intersect not working. 11349 - Content outside of card rect can be seen in show all fullscreenmode when acceleratedRendering is true. 11338 - Character backColor not rendered in fields. 11336 - The fullscreenModes are now camel-case. 11335 - In fullscreen mode on Mac, the window resize handle still appears. 11332 - Text not rendered in correct location in -ui mode when taking snapshot of object. 11330 - Visual effects not displayed correctly on iOS when fullscreenmode is \'no border\', and stack extends outside of the visible screen. 11329 - Dynamic layers do not render correctly when fullscreenmode causes stack to not be at top-left of screen. 11327 - Opening large scripts takes longer in 6.5 than 6.1.2 11325 - Graphic effects rendered incorrectly when non-Normal blend mode used. 11324 - Borders still rendered even if borderWidth == 0. 11315 - Instability of LiveCode when gradients are being / have been displayed. 11314 - Image transparency is lost when setting the imagedata 11299 - Answer folder for XCode app bundle has a typo 11198 - Fix color issues on PowerPC Mac 11174 - Conical spiral XY and sqrtXY gradients render incorrectly. 11310 - Italic fonts clipped on right hand side on iOS 11309 - Text clips for certain fonts on Mac 11297 - Setting the color of a graphic effect resets its opacity 11283 - Italic fonts are not rendered on Mac. 11280 - Project browser does not expand cards of substacks 11241 - Non-3D borders are always black. 11227 - Android native controls are positioned incorrectly. 11221 - Field background pattern not working. 11179 - Images with an angle other than 0 are not drawn. 11178 - Import from paint always fails. 11176 - MouseDoubleUp messages are not sent on Linux. 10995 - Standalones now set default font settings the same as the IDE. 10980 - Setting the filename of an image which already has a filename causes the property to be unset and \'could not load image\' in the result. 10977 - Setting the image filename to empty unsets the image text and vice-versa 10964 - Inconsistent rounding of floating point values. 6720 - Scrollbar properties not returned in correct format. *Getting this release* To upgrade to this release please select "check for updates" from the help menu in LiveCode or download the installers directly at: http://downloads.livecode.com/livecode/6_5_0/ Warm regards, The LiveCode Team From jacque at hyperactivesw.com Fri Nov 22 13:26:47 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 22 Nov 2013 12:26:47 -0600 Subject: Why I love LiveCode In-Reply-To: References: Message-ID: <528FA1E7.4000206@hyperactivesw.com> On 11/22/13 12:18 PM, Devin Asay wrote: > I have been using LC/Rev since v. 1.0 beta, and HyperCard for 10 years before that, and I never knew you could do this. It's probably LC 101 to most of you, but for some reason I had never needed to do this. > > I was in a substack and needed to know which card was currently showing in the mainstack. > > So I tried: > > put this card of stack "foo" -- the mainstack --> error, not a container. > > So then I tried > > put the name of this card of stack "foo" --> works! > > It's even more readable like this > > put the name of the current card of stack "foo" -- 'current' is a synonym of 'this' > > I love "guessable" syntax! There's also the "currentCard" property: put the currentCard of stack "foo". I still haven't quite figured out how it differs from "this card" though, except that you don't need to specify "short name". CurrentCard was added a few versions ago. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From skip at magicgate.com Fri Nov 22 13:28:18 2013 From: skip at magicgate.com (Magicgate Software - Skip Kimpel) Date: Fri, 22 Nov 2013 13:28:18 -0500 Subject: SQL and store procedures Message-ID: Is there anyway for Livecode to execute a store procedure call and return a dataset from it? SQL Yoga? Thanks for your input! SKIP From bvlahos at mac.com Fri Nov 22 13:29:50 2013 From: bvlahos at mac.com (Bill Vlahos) Date: Fri, 22 Nov 2013 10:29:50 -0800 Subject: 6.1.3 and 6.5 In-Reply-To: <003d01cee78e$341644d0$9c42ce70$@pandora.be> References: <003d01cee78e$341644d0$9c42ce70$@pandora.be> Message-ID: Marc, 6.1.3 has already been released and is on a different ?train? from the 6.5 release. Check for updates. Version 6.5 will eventually replace 6.1.x. Bill Vlahos On Nov 22, 2013, at 6:21 AM, Marc Van Cauwenberghe wrote: > Hi, > > > > Just wondering. Will the release of 6.5 include 6.1.3? Will they merge? > > > > Marc > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From coiin at verizon.net Fri Nov 22 13:31:25 2013 From: coiin at verizon.net (Colin Holgate) Date: Fri, 22 Nov 2013 13:31:25 -0500 Subject: RELEASE: LiveCode 6.5 RC7 In-Reply-To: References: Message-ID: <9E6EF84F-7FEA-456B-ACDE-BE1C8604A1C3@verizon.net> I see ?letterbox? is still all lowercase, so I?ll take that to be the correct version. From bvlahos at mac.com Fri Nov 22 13:38:46 2013 From: bvlahos at mac.com (Bill Vlahos) Date: Fri, 22 Nov 2013 10:38:46 -0800 Subject: RELEASE: LiveCode 6.5 RC6 In-Reply-To: <721FF677-E617-4688-9F8B-75E341D07968@mac.com> References: <528D02F6.8050005@fourthworld.com> <721FF677-E617-4688-9F8B-75E341D07968@mac.com> Message-ID: <01FDE084-FEE0-4865-868F-C70B5E94C62B@mac.com> I?m having some trouble with my email client so I apologize if this is a repeat message. LiveCode 6.5.0 RC6 does fix the conflict with lcTaskList. I?ve also tested it with RC7 and that works too. Bill Vlahos On Nov 20, 2013, at 11:30 AM, Paul Hibbert wrote: > I just opened the PDF first then went straight to the "Specific Bug Fixes (6.5.0-rc-6)" link in the index and it took me straight to this section, there I could see that this release overcomes the problem with gradients, hopefully this should avoid the crash with lcTasklist, so now I know it's worth me downloading to try, I don't use Linux, that was the only other specific bug fix, but if it was the only fix I wouldn't have bothered downloading the update. > > Paul From ambassador at fourthworld.com Fri Nov 22 13:52:25 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 22 Nov 2013 10:52:25 -0800 Subject: RELEASE: LiveCode 6.5 RC7 In-Reply-To: References: Message-ID: <528FA7E9.6040007@fourthworld.com> Benjamin Beaumont wrote: > We are pleased to announce the release of LiveCode 6.5 RC7. ... > *Release Contents* > Items marked in *bold* are new to this release Well done, Ben. Thanks. -- 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 From stephenREVOLUTION2 at barncard.com Fri Nov 22 13:59:26 2013 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Fri, 22 Nov 2013 10:59:26 -0800 Subject: RELEASE: LiveCode 6.5 RC7 In-Reply-To: <9E6EF84F-7FEA-456B-ACDE-BE1C8604A1C3@verizon.net> References: <9E6EF84F-7FEA-456B-ACDE-BE1C8604A1C3@verizon.net> Message-ID: Ben, I'm trying to get Linux *server* 6.5.x to work using the .htaccess method at Dreamhost - in the same environment where 6.1.x versions were fine? but I get the same errors in a web page that I get with wrong permissions. Is there anything I should know about Linux server 6.5 that is different - libs needed, etc? *--* *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words* On Fri, Nov 22, 2013 at 10:31 AM, Colin Holgate wrote: > I see ?letterbox? is still all lowercase, so I?ll take that to be the > correct version. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From roger.e.eller at sealedair.com Fri Nov 22 14:02:33 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Fri, 22 Nov 2013 14:02:33 -0500 Subject: SQL and store procedures In-Reply-To: References: Message-ID: put "exec stored_procedure_name" into tSQL -- this calls a 'stored procedure' put revDataFromQuery(tab,return,myDB,tSQL) into tSQLresult ~Roger On Fri, Nov 22, 2013 at 1:28 PM, Magicgate Software - Skip Kimpel wrote: > Is there anyway for Livecode to execute a store procedure call and return a > dataset from it? SQL Yoga? > > Thanks for your input! > > SKIP > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ambassador at fourthworld.com Fri Nov 22 14:04:46 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 22 Nov 2013 11:04:46 -0800 Subject: RELEASE: LiveCode 6.5 RC7 In-Reply-To: References: Message-ID: <528FAACE.2000606@fourthworld.com> stephen barncard wrote: > I'm trying to get Linux *server* 6.5.x to work using the .htaccess method > at Dreamhost - in the same environment where 6.1.x versions were fine? but > I get the same errors in a web page that I get with wrong permissions. > > Is there anything I should know about Linux server 6.5 that is different - > libs needed, etc? Pango and a couple other packaes are needed for the new graphics rendering, and on many hosts those aren't installed by default, limiting the use of such features to dedicated servers, colos, and VPSes. You can verify if the problem is an unmet dependency by shelling into the server and running the script from the command line - any unmet dependencies are usually output to the console: ./livecode-server somescriptnane.irev -- 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 From pete at lcsql.com Fri Nov 22 14:10:41 2013 From: pete at lcsql.com (Peter Haworth) Date: Fri, 22 Nov 2013 11:10:41 -0800 Subject: RELEASE: LiveCode 6.5 RC7 In-Reply-To: References: Message-ID: On Fri, Nov 22, 2013 at 10:22 AM, Benjamin Beaumont wrote: > *11494 - Crash when calling intersects on a button with an icon.* > *11486 - Angled images not rendering correctly in certain situations.* > *11475 - Field htmltext has invalid color attribure values* > *11428 - Fix crash on Android calling mobilePlaySoundOnChannel with invalid > path* > *11395 - Grapic markers are drawn incorrectly* > *11278 - Android mobilePick can only be called once, reliably* > *11149 - revDatabaseConnectResult always returns empty* > Nice! I assume the asterisks indicate the new fixes in this release. Even nicer, they fixed my bug report regarding revDatabaseConnectResult. Pete lcSQL Software From stephenREVOLUTION2 at barncard.com Fri Nov 22 14:12:37 2013 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Fri, 22 Nov 2013 11:12:37 -0800 Subject: RELEASE: LiveCode 6.5 RC7 In-Reply-To: <528FAACE.2000606@fourthworld.com> References: <528FAACE.2000606@fourthworld.com> Message-ID: and then what? ask Dreamhost to install the dependent libs I find? sqb *--* *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words* On Fri, Nov 22, 2013 at 11:04 AM, Richard Gaskin wrote: > stephen barncard wrote: > > I'm trying to get Linux *server* 6.5.x to work using the .htaccess method >> >> at Dreamhost - in the same environment where 6.1.x versions were fine? but >> I get the same errors in a web page that I get with wrong permissions. >> >> Is there anything I should know about Linux server 6.5 that is different - >> libs needed, etc? >> > > Pango and a couple other packaes are needed for the new graphics > rendering, and on many hosts those aren't installed by default, limiting > the use of such features to dedicated servers, colos, and VPSes. > > You can verify if the problem is an unmet dependency by shelling into the > server and running the script from the command line - any unmet > dependencies are usually output to the console: > > ./livecode-server somescriptnane.irev > > > > -- > 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From skip at magicgate.com Fri Nov 22 14:16:40 2013 From: skip at magicgate.com (Magicgate Software - Skip Kimpel) Date: Fri, 22 Nov 2013 14:16:40 -0500 Subject: SQL and store procedures In-Reply-To: References: Message-ID: Thank you Roger! SKIP On Fri, Nov 22, 2013 at 2:02 PM, Roger Eller wrote: > put "exec stored_procedure_name" into tSQL -- this calls a 'stored > procedure' > put revDataFromQuery(tab,return,myDB,tSQL) into tSQLresult > > ~Roger > > > On Fri, Nov 22, 2013 at 1:28 PM, Magicgate Software - Skip Kimpel wrote: > > > Is there anyway for Livecode to execute a store procedure call and > return a > > dataset from it? SQL Yoga? > > > > Thanks for your input! > > > > SKIP > > _______________________________________________ > > use-livecode mailing list > > use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From alex at tweedly.net Fri Nov 22 14:17:35 2013 From: alex at tweedly.net (Alex Tweedly) Date: Fri, 22 Nov 2013 19:17:35 +0000 Subject: Array key paths In-Reply-To: <528F969E.1010702@fourthworld.com> References: <528F969E.1010702@fourthworld.com> Message-ID: <528FADCF.7030107@tweedly.net> But Richard, in this example 's' is a numerically indexed array unless I'm misunderstanding). on mouseUp global gA put fld "key" into s ** so now variable 's' has the content "bob,age" split s by comma ** now 's' is an array, with two elements [1] == "bob, and [2] == "age" ** i.e. it is numerically indexed put gA[s] into fld "r" put the result end mouseUp I think it's confusing (for me at least) because we're using the split command to populate the index array - clearer if you do it directly This, in the msg box, works OK put "44" into gArray["bob"]["age"] put "bob" into tA[1] put "age" into tA[2] put gArray[tA] after msg and outputs "44" but if you modify it so the index array (tA) has an element with a non-numeric key, like put "44" into gArray["bob"]["age"] put "bob" into tA[1] put "age" into tA[2] put gArray[tA] after msg put "fail" into tA["two"] put gArray[tA] after msg then it fails with Message execution error: Error description: Array: bad index expression Hint: btw - you also say This is what I would expect, since associative arrays usually have no way to distinguish between numeric and non-numeric keys, since all of them are treated as strings when they go through the hash to assign their buckets. But it said in the release notes (for some version, no idea which) that there was an optimization in place for arrays for which the keys are a small number of consecutive, numeric values (i.e. I think, 1,2,3,....) so I guess the engine does keep track of whether or not an array's keys conform to this restriction. -- Alex. On 22/11/2013 17:38, Richard Gaskin wrote: > > This test seems to work: > > Script of one button to load the array: > > on mouseUp > global gA > put "bob" into gA["bob"] > put "44" into gA["bob"]["age"] > put "ted" into gA["ted"] > put "48" into gA["ted"]["age"] > end mouseUp > > Script of a second button to split a key and use it to retrieve a value: > > on mouseUp > global gA > put fld "key" into s > split s by comma > put gA[s] into fld "r" > put the result > end mouseUp > > > There are two fields - the one named "key" has: > > bob,age > > ...and when I click the second button the field named "r" shows: > > 44 > > Nothing shows in the Message Box, so presumably there was no error. > > This is what I would expect, since associative arrays usually have no > way to distinguish between numeric and non-numeric keys, since all of > them are treated as strings when they go through the hash to assign > their buckets. > > -- > 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Fri Nov 22 14:19:14 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 22 Nov 2013 11:19:14 -0800 Subject: RELEASE: LiveCode 6.5 RC7 In-Reply-To: References: Message-ID: <528FAE32.70300@fourthworld.com> Possibly. First determine if that's the case. I've had mixed results with special requests at Dreamhost. I believe they want to be accommodating where practical, but when managing so many hundreds of machines there's only so much they can do to tailor one for a single customer. Hosting is a commodity business with low margins, so I understand where they're coming from. If DH is unable to do what you need (assuming package installations are needed at all), other options include VPSes, colos, dedicated servers, or migrating the domain you need this specialized graphics support on to a smaller hosting company in a better position to tailor per customer. I moved a few accounts from DH to InterServer for that reason back in Feb., and have been quite pleased with them. In addition to their shared hosting account, which is very much on par with DH in price/features, I also got a VPS through them - starting as low as $6/mo. Fastest service I've ever seen in the hosting biz too, with most emails answered in just minutes. -- 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 stephen barncard wrote: > and then what? ask Dreamhost to install the dependent libs I find? > > sqb > > *--* > *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words* > > > On Fri, Nov 22, 2013 at 11:04 AM, Richard Gaskin > wrote: > >> stephen barncard wrote: >> >> I'm trying to get Linux *server* 6.5.x to work using the .htaccess method >>> >>> at Dreamhost - in the same environment where 6.1.x versions were fine? but >>> I get the same errors in a web page that I get with wrong permissions. >>> >>> Is there anything I should know about Linux server 6.5 that is different - >>> libs needed, etc? >>> >> >> Pango and a couple other packaes are needed for the new graphics >> rendering, and on many hosts those aren't installed by default, limiting >> the use of such features to dedicated servers, colos, and VPSes. >> From pete at lcsql.com Fri Nov 22 14:21:53 2013 From: pete at lcsql.com (Peter Haworth) Date: Fri, 22 Nov 2013 11:21:53 -0800 Subject: OT : help needed with a mySQL request In-Reply-To: <528F96FE.9050605@splash21.com> References: <003d01cee78e$341644d0$9c42ce70$@pandora.be> <5fc55733938bee16310be7f5dec2d9d5.squirrel@185.8.104.234> <528F8A06.4090300@splash21.com> <528F96FE.9050605@splash21.com> Message-ID: On Fri, Nov 22, 2013 at 9:40 AM, John Craig wrote: > mysql> SELECT * FROM data HAVING (SELECT COUNT(id) FROM data AS data2 > WHERE name = data.name AND year < 2013) = 0; > +----+--------+------+ > | id | name | year | > +----+--------+------+ > | 8 | Katy | 2013 | > | 9 | Tracey | 2013 | > +----+--------+------+ > Hi John, Don't think that will work if there are rows with years greater than the one he's looking for, for example: Katy 2010 Katy 2011 Tracey 2010 Tracey 2012 You'd still get Tracy and Katy selected. I'm learning something about mySQL though. In SQLite, HAVING is a subclause of GROUP but looks like it can stand on its own in mySQL. Pete lcSQL Software From ambassador at fourthworld.com Fri Nov 22 14:24:47 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 22 Nov 2013 11:24:47 -0800 Subject: Array key paths In-Reply-To: <528FADCF.7030107@tweedly.net> References: <528FADCF.7030107@tweedly.net> Message-ID: <528FAF7F.70909@fourthworld.com> Alex Tweedly wrote: > But Richard, in this example 's' is a numerically indexed array unless > I'm misunderstanding). > > on mouseUp > global gA > put fld "key" into s > > ** so now variable 's' has the content "bob,age" > split s by comma > ** now 's' is an array, with two elements [1] == "bob, and [2] == "age" > ** i.e. it is numerically indexed > put gA[s] into fld "r" > put the result > end mouseUp > > I think it's confusing (for me at least) because we're using the split > command to populate the index array - clearer if you do it directly > > This, in the msg box, works OK > put "44" into gArray["bob"]["age"] > put "bob" into tA[1] > put "age" into tA[2] > put gArray[tA] after msg > and outputs "44" > > but if you modify it so the index array (tA) has an element with a > non-numeric key, like > put "44" into gArray["bob"]["age"] > put "bob" into tA[1] > put "age" into tA[2] > put gArray[tA] after msg > put "fail" into tA["two"] > put gArray[tA] after msg > > then it fails with > Message execution error: > Error description: Array: bad index expression > Hint: Thanks, Alex. Yes, I was so excited to have exactly what I'd been looking for in terms of being able to turn a simple string unto a key path that I'd completely overlooked what's going on under the hood. Good explanation. > btw - you also say > > This is what I would expect, since associative arrays usually have no > way to distinguish between numeric and non-numeric keys, since all of > them are treated as strings when they go through the hash to assign > their buckets. > > But it said in the release notes (for some version, no idea which) that > there was an optimization in place for arrays for which the keys are a > small number of consecutive, numeric values (i.e. I think, 1,2,3,....) > so I guess the engine does keep track of whether or not an array's keys > conform to this restriction. That's very useful info - thanks. I missed that when it premiered - do you know any other details about how to take advantage of it, or what the optimization is doing under the hood? If anyone here can recall which version of the Release Notes that's in I'll be sure to add them to the archive at LiveCodeJournal.com: -- 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 From pete at lcsql.com Fri Nov 22 14:27:47 2013 From: pete at lcsql.com (Peter Haworth) Date: Fri, 22 Nov 2013 11:27:47 -0800 Subject: Array key paths In-Reply-To: <528F969E.1010702@fourthworld.com> References: <528F969E.1010702@fourthworld.com> Message-ID: I'm not that familiar with the split command but doesn't it create a numerically keyed array (starting at 1) when you specify just the primary delimiter? I think your split command would create: s[1] containing "bob" s[2] containing "age" If so, you're back to numeric keys in the path key array Pete lcSQL Software On Fri, Nov 22, 2013 at 9:38 AM, Richard Gaskin wrote: > Peter Haworth wrote: > > On Fri, Nov 22, 2013 at 7:17 AM, Richard Gaskin wrote: >> >> In my brief experiments it seems the path key array works like any other >>> array, in that it's an associative array so that it makes no difference >>> whether the key is numeric or a string, since the under-the-hood >>> representation is still a string. >>> >>> Given this, Mark's 3) above is something I'm not seeing. >>> >>> What am I not understanding? >>> >> >> I seem to remember getting an error if the keys of path key were not >> integers. Are you saying you've made it work with non-integer keys? >> > > This test seems to work: > > Script of one button to load the array: > > on mouseUp > global gA > put "bob" into gA["bob"] > put "44" into gA["bob"]["age"] > put "ted" into gA["ted"] > put "48" into gA["ted"]["age"] > end mouseUp > > Script of a second button to split a key and use it to retrieve a value: > > on mouseUp > global gA > put fld "key" into s > split s by comma > put gA[s] into fld "r" > put the result > end mouseUp > > > There are two fields - the one named "key" has: > > bob,age > > ...and when I click the second button the field named "r" shows: > > 44 > > Nothing shows in the Message Box, so presumably there was no error. > > This is what I would expect, since associative arrays usually have no way > to distinguish between numeric and non-numeric keys, since all of them are > treated as strings when they go through the hash to assign their buckets. > > > -- > 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From capellan2000 at gmail.com Fri Nov 22 14:49:59 2013 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Fri, 22 Nov 2013 11:49:59 -0800 (PST) Subject: Jiggly splash screens In-Reply-To: <0B8224BF-39AA-48E6-8FD7-7F9844407754@mac.com> References: <526ABFEE.4050803@gmail.com> <526BAE96.2000601@gmail.com> <526BEB01.5080808@gmail.com> <526C143D.9010605@gmail.com> <7240BDBA-3EE1-4003-9E5E-9F7DBBFD803A@mac.com> <1382852925686-4671509.post@n4.nabble.com> <0B8224BF-39AA-48E6-8FD7-7F9844407754@mac.com> Message-ID: <1385149799560-4672806.post@n4.nabble.com> Hi All, I believe that this thread deserves closure. If in a near future a developer search the mail list for answers to this topic, her/him will left with the false impression that it's not possible to recreate in LiveCode the effect asked by Richmond. Actually, the stack posted by Hermman is, from my point of view, the solution. Visit the Livecode's forum and download the last stack posted by Hermman [-hh] http://forums.runrev.com/download/file.php?id=2508 Have a nice day! Al --------------------- Hermman posted in the Livecode's forum, on Sat Oct 26, 2013 11:49 pm: Further improvements for a smooth resizing are achieved as follows. Change size of an object with ONE setting. Here for example: set rect of img "TOM" to 0,0,DIMZ,DIMZ Instead of resizing the stack set the windowshape of this stack (make tom's background transparent for this to work) Lock messages before the two repeats This all together works on my oldest machine (PPC/Tiger) very good. And it is pretty fast. I recently used this technique elsewhere and apply it now for your Halloween-like TOM. splash2.livecode.zip (154.93 KiB) Downloaded 24 times For the polygon graphic object it may be best to make first a snapshot of the stack window, edit the image to make it's background transparent (or do it both by script) and then apply the technique from above. For this graphic object the SVG stretch goal will probably allow to avoid the snapshot. ---------------------- -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Jiggly-splash-screens-tp4671464p4672806.html Sent from the Revolution - User mailing list archive at Nabble.com. From john at splash21.com Fri Nov 22 14:51:32 2013 From: john at splash21.com (John Craig) Date: Fri, 22 Nov 2013 19:51:32 +0000 Subject: OT : help needed with a mySQL request In-Reply-To: References: <003d01cee78e$341644d0$9c42ce70$@pandora.be> <5fc55733938bee16310be7f5dec2d9d5.squirrel@185.8.104.234> <528F8A06.4090300@splash21.com> <528F96FE.9050605@splash21.com> Message-ID: <528FB5C4.4020307@splash21.com> It's not a complete solution to jbv's problem - just one quick example that will hopefully help him to move forward. The '>' can be changed to '!=' to avoid future years - jbv can tweak to fit his own needs - or choose another method! :) On 22/11/2013 19:21, Peter Haworth wrote: > On Fri, Nov 22, 2013 at 9:40 AM, John Craig wrote: > >> mysql> SELECT * FROM data HAVING (SELECT COUNT(id) FROM data AS data2 >> WHERE name = data.name AND year < 2013) = 0; >> +----+--------+------+ >> | id | name | year | >> +----+--------+------+ >> | 8 | Katy | 2013 | >> | 9 | Tracey | 2013 | >> +----+--------+------+ >> > Hi John, > Don't think that will work if there are rows with years greater than the > one he's looking for, for example: > > Katy 2010 > Katy 2011 > Tracey 2010 > Tracey 2012 > > You'd still get Tracy and Katy selected. > > I'm learning something about mySQL though. In SQLite, HAVING is a > subclause of GROUP but looks like it can stand on its own in mySQL. > > Pete > lcSQL Software > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From cmsheffield at icloud.com Fri Nov 22 14:53:57 2013 From: cmsheffield at icloud.com (Chris Sheffield) Date: Fri, 22 Nov 2013 12:53:57 -0700 Subject: app won't run in Android simulator In-Reply-To: <0DA9198E-19B5-4219-803A-C06B487EFFB5@icloud.com> References: <0DA9198E-19B5-4219-803A-C06B487EFFB5@icloud.com> Message-ID: <0D441FD9-02D4-4701-8BC4-509A294A4E9E@icloud.com> Just for fun I tried LC 6.5 RC7. Same results. I?ve got to be doing something wrong. Perhaps a setting in standalone settings that I?m missing? Or is LC possibly not compatible with the latest Android SDK? Do I need to specify a certain version of Android in my AVD settings? Not really sure what to do... On Nov 22, 2013, at 9:32 AM, Chris Sheffield wrote: > I realize the Android simulator is pretty much useless for real testing, but I?m just kind of getting started and have created a very simple stack with two buttons. The app won?t even run. It installs ok, but when launching it immediately closes with a message ?[app name] has stopped?. Any way to fix this? I?ve tried now on two different emulated devices: a generic Android 7? tablet and a Kindle Fire HDX 7?. Same results on both. I?m currently using LC 6.1.3 for this test. > > Can anyone help? > > Thanks, > Chris > > > -- > Chris Sheffield > Read Naturally, Inc. > www.readnaturally.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From monte at sweattechnologies.com Fri Nov 22 14:53:51 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Sat, 23 Nov 2013 06:53:51 +1100 Subject: 6.1.3 and 6.5 In-Reply-To: <003d01cee78e$341644d0$9c42ce70$@pandora.be> References: <003d01cee78e$341644d0$9c42ce70$@pandora.be> Message-ID: On 23/11/2013, at 1:21 AM, "Marc Van Cauwenberghe " wrote: > Just wondering. Will the release of 6.5 include 6.1.3? Will they merge? Yes, all the changes have already been merged. -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From monte at sweattechnologies.com Fri Nov 22 14:56:04 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Sat, 23 Nov 2013 06:56:04 +1100 Subject: item delimiter defaults In-Reply-To: References: <8A7EACF4-FDAC-4283-A920-D2AC481A2FCC@uleth.ca> <8D015688-D00F-4ED6-BC64-767409DF2DBA@mac.com> <528E54E6.3070500@hyperactivesw.com> <528E5FA7.4010607@tweedly.net> <24270791383.20131121142149@ahsoftware.net> Message-ID: On 23/11/2013, at 2:52 AM, Peter Haworth wrote: > Yes, I've written functions to do that but worry about doing it on large > data sets. On large data sets you probably want the DB to manage the data and just get a row as you need. > > I think redoing the db layer was one of the Kickstarter goals so maybe > we'll see this turn up Maybe -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From gcanyon at gmail.com Fri Nov 22 15:02:06 2013 From: gcanyon at gmail.com (Geoff Canyon) Date: Fri, 22 Nov 2013 14:02:06 -0600 Subject: OT : help needed with a mySQL request In-Reply-To: <5fc55733938bee16310be7f5dec2d9d5.squirrel@185.8.104.234> References: <003d01cee78e$341644d0$9c42ce70$@pandora.be> <5fc55733938bee16310be7f5dec2d9d5.squirrel@185.8.104.234> Message-ID: If I understand correctly (far from sure that I do) there are at least two ways I can think of to do this. Either: 1. Find all rows where there is only one row with that particular set of values in the other columns. 2. Find the results of (1) where the Date is in 2013 or 1. Find all the rows where the Date is 2013 2. Find the results of (1) where there is only one row with those values. I think the latter might be more efficient, so if your date column is myDate and the column with the other value is myLabel this should work: select * from myTable as T1 where myTable.myDate >= '2013-01-01' and myTable.myDate < '2014-01-01' and (select count(*) from myTable as T2 where T2.myLabel = T1.myLabel) = 1; On Fri, Nov 22, 2013 at 9:47 AM, wrote: > Hi list, > > I have a table with a Date column (among others). > Each entry has a date that ranges from 1930 to 2013. > For several entries, the content of other columns can be similar, > only the Date value changes. For instance I can have > aaa 2004 > aaa 2013 > I need to find with 1 single request all entries with Date = 2013 > that don't exist in the table with other Date values. > I tried SELECT * FROM myTable WHERE MIN(Date) = 2013 > but that returns an error #1111 - Invalid use of group function > > Any help would be much apreciated. > Thanks in advance. > jbv > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Fri Nov 22 15:43:34 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 22 Nov 2013 14:43:34 -0600 Subject: app won't run in Android simulator In-Reply-To: <0D441FD9-02D4-4701-8BC4-509A294A4E9E@icloud.com> References: <0DA9198E-19B5-4219-803A-C06B487EFFB5@icloud.com> <0D441FD9-02D4-4701-8BC4-509A294A4E9E@icloud.com> Message-ID: <528FC1F6.5090807@hyperactivesw.com> On 11/22/13 1:53 PM, Chris Sheffield wrote: > Just for fun I tried LC 6.5 RC7. Same results. > > I?ve got to be doing something wrong. Perhaps a setting in standalone > settings that I?m missing? Or is LC possibly not compatible with the > latest Android SDK? Do I need to specify a certain version of Android > in my AVD settings? Not really sure what to do... Have you tried debugging it? You can insert logging commands into the script so at least you know how far it got. You can also use an errorDialog handler to write errors to stndout, which will appear in terminal. Mobile debugging on Android: The debugging notes recommend just looking for LiveCode reports, but if you don't see anything relevant then I'd just use the plain logcat command without any filters. That should tell you where things went wrong if you can plow through all the rest of the deluge it produces. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mgruenthal at mac.com Fri Nov 22 15:54:47 2013 From: mgruenthal at mac.com (Michael Gruenthal) Date: Fri, 22 Nov 2013 15:54:47 -0500 Subject: Color Madness In-Reply-To: <8D0B4313EDE4031-2350-419CE@webmail-m246.sysops.aol.com> References: <8D0B4313EDE4031-2350-419CE@webmail-m246.sysops.aol.com> Message-ID: Sounds like you may have autoHilite enabled for btn 2? On 11/20/13, 12:58 PM, "dunbarx at aol.com" wrote: > >Tried this on the forum. Only Simon loves me. > > >Experimenting with a simple gadget to help a new user, I made two largish >square buttons, and set the backColor of btn 2 to any old color. I put >this into the card script: > > >on mouseMove > get the rect of btn 1 > put the mouseV into item 2 of it > if the mouseloc is within the rect of btn 1 and the mouse is down then >set the rect of btn 2 to it >end mouseMove > > >Not rocket science, button 2 "fills" or "empties" btn 1 when you click >and drag inside btn1. But the when I move the cursor in a downward >direction, the backcolor of btn 2 changes to dark purple. It displays the >prescribed color just fine on the way up. If I clear the color of btn 2, >same thing, basically, clear going up, purple going down.. If I start >with two brand new rectangular buttons, not setting any color, there is >no such effect. As soon as I set any backColor in btn 2, though, this odd >effect appears. > > >I tried: > > >on mouseEnter >set the backColor of btn 2 to "113,115,23" --arbitrary RGB >end mouseEnter > > >on mouseMove > get the rect of btn 1 > put the mouseV into item 2 of it > if the mouseloc is within the rect of btn 1 and the mouse is down then > put the backColor of btn 2 -- to monitor while moving > set the rect of btn 2 to it > end if >end mouseMove > > >The initital setting ("113,115,23") is shown in msg going both up and >down, so LC seems not to know about the change. The purple "down" color >seems to be overlaid on, not substituted for, the initial color. This can >be seen if you try different starting colors. The purple "down" overlay >mixes differently with any initial color choice. >--------- > >AHA. Found out that if the cursor touches btn 2, the purple thing >appears. if it does not, normal colors. In my test, the mouseV and the >top of btn 2 are coincident. If I have the cursor ride just above the top >of btn 2, back to normal colors in both directions. > > > >Seems like a bug to me, and an odd one at that. LC 6.1.3, Mac OS 10.6. > > >Craig Newman >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode From cmsheffield at icloud.com Fri Nov 22 16:58:36 2013 From: cmsheffield at icloud.com (Chris Sheffield) Date: Fri, 22 Nov 2013 14:58:36 -0700 Subject: app won't run in Android simulator In-Reply-To: <528FC1F6.5090807@hyperactivesw.com> References: <0DA9198E-19B5-4219-803A-C06B487EFFB5@icloud.com> <0D441FD9-02D4-4701-8BC4-509A294A4E9E@icloud.com> <528FC1F6.5090807@hyperactivesw.com> Message-ID: Thanks, Jacque. Super helpful. Unfortunately I?m not getting any meaningful output. The errorDialog handler is not reporting anything, and when I try logcat without any filters I just get a message that says "W/ActivityManager( 1228): Activity destroy timeout for ActivityRecord{a750baf8 u0 com.readnaturally.androidtest/.mblandroid}? or something similar. So I don?t think the app is even getting to the point of trying to run any scripts. I didn?t even have anything in the stack script until I added these debugging methods. I?m thinking it?s an engine-level thing. Something?s not right. Are you able to successfully launch an app in an Android emulator? If so, would you mind sharing your AVD settings? Maybe I just need the right settings in order to make it work. Thanks, Chris On Nov 22, 2013, at 1:43 PM, J. Landman Gay wrote: > On 11/22/13 1:53 PM, Chris Sheffield wrote: >> Just for fun I tried LC 6.5 RC7. Same results. >> >> I?ve got to be doing something wrong. Perhaps a setting in standalone >> settings that I?m missing? Or is LC possibly not compatible with the >> latest Android SDK? Do I need to specify a certain version of Android >> in my AVD settings? Not really sure what to do... > > Have you tried debugging it? You can insert logging commands into the script so at least you know how far it got. You can also use an errorDialog handler to write errors to stndout, which will appear in terminal. > > Mobile debugging on Android: > > > The debugging notes recommend just looking for LiveCode reports, but if you don't see anything relevant then I'd just use the plain logcat command without any filters. That should tell you where things went wrong if you can plow through all the rest of the deluge it produces. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at lcsql.com Fri Nov 22 17:09:43 2013 From: pete at lcsql.com (Peter Haworth) Date: Fri, 22 Nov 2013 14:09:43 -0800 Subject: item delimiter defaults In-Reply-To: References: <8A7EACF4-FDAC-4283-A920-D2AC481A2FCC@uleth.ca> <8D015688-D00F-4ED6-BC64-767409DF2DBA@mac.com> <528E54E6.3070500@hyperactivesw.com> <528E5FA7.4010607@tweedly.net> <24270791383.20131121142149@ahsoftware.net> Message-ID: On Fri, Nov 22, 2013 at 11:56 AM, Monte Goulding < monte at sweattechnologies.com> wrote: > On large data sets you probably want the DB to manage the data and just > get a row as you need. Yeah, I often use use cursors to handle large datasets but then there's datagrids.... There's ways to give a datagrid a small amount of data at a time but it's pretty complicated. Anyway, wandering off the original topic here. As someone commented, it's not likely that anyone at RunRev will see any of this so what's the best way to bring it to their attention? QCC Enhancement request? Posting on the engine forum? Pete lcSQL Software From marc.vancauwenberghe at pandora.be Fri Nov 22 17:42:13 2013 From: marc.vancauwenberghe at pandora.be (Marc Van Cauwenberghe) Date: Fri, 22 Nov 2013 23:42:13 +0100 Subject: 6.1.3 and 6.5 In-Reply-To: References: <003d01cee78e$341644d0$9c42ce70$@pandora.be> Message-ID: Thank you! Verstuurd vanaf mijn iPad > Op 22-nov.-2013 om 20:53 heeft Monte Goulding het volgende geschreven: > > >> On 23/11/2013, at 1:21 AM, "Marc Van Cauwenberghe " wrote: >> >> Just wondering. Will the release of 6.5 include 6.1.3? Will they merge? > > Yes, all the changes have already been merged. > > -- > Monte Goulding > > M E R Goulding - software development services > mergExt - There's an external for that! > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Fri Nov 22 17:49:37 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 22 Nov 2013 16:49:37 -0600 Subject: app won't run in Android simulator In-Reply-To: References: <0DA9198E-19B5-4219-803A-C06B487EFFB5@icloud.com> <0D441FD9-02D4-4701-8BC4-509A294A4E9E@icloud.com> <528FC1F6.5090807@hyperactivesw.com> Message-ID: <528FDF81.2050605@hyperactivesw.com> On 11/22/13 3:58 PM, Chris Sheffield wrote: > I?m thinking it?s an engine-level thing. Something?s not right. Are > you able to successfully launch an app in an Android emulator? If so, > would you mind sharing your AVD settings? Maybe I just need the right > settings in order to make it work. I've been working on desktop apps lately and haven't even installed the latest Android stuff yet, so I can't help much there. Hopefully someone else has some input about it. But my gut says you should just report it because I agree it sounds like an engine thing. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dunbarx at aol.com Fri Nov 22 18:25:41 2013 From: dunbarx at aol.com (dunbarx at aol.com) Date: Fri, 22 Nov 2013 18:25:41 -0500 (EST) Subject: Color Madness In-Reply-To: References: <8D0B4313EDE4031-2350-419CE@webmail-m246.sysops.aol.com> Message-ID: <8D0B5F14B3CFB9A-2350-5BFD3@webmail-m246.sysops.aol.com> Mike. Turning the autoHilite off certainly gets rid of the oddity, and there must be a clue there, so thanks. But, still, why does this happen only in a downward drag, not upward? If I do this: on mouseMove put the rect of btn 1 into temp put the mouseV + 5 into item 2 of temp if the mouse is down then set the rect of btn 2 to temp end mouseMove The effect does not show up. The moving cursor does not "touch" the changing button (may relate to the autoHilite?) If I leave out that offset, or put a negative one in, it does show up. Craig -----Original Message----- From: Michael Gruenthal To: How to use LiveCode Sent: Fri, Nov 22, 2013 3:56 pm Subject: Re: Color Madness Sounds like you may have autoHilite enabled for btn 2? On 11/20/13, 12:58 PM, "dunbarx at aol.com" wrote: > >Tried this on the forum. Only Simon loves me. > > >Experimenting with a simple gadget to help a new user, I made two largish >square buttons, and set the backColor of btn 2 to any old color. I put >this into the card script: > > >on mouseMove > get the rect of btn 1 > put the mouseV into item 2 of it > if the mouseloc is within the rect of btn 1 and the mouse is down then >set the rect of btn 2 to it >end mouseMove > > >Not rocket science, button 2 "fills" or "empties" btn 1 when you click >and drag inside btn1. But the when I move the cursor in a downward >direction, the backcolor of btn 2 changes to dark purple. It displays the >prescribed color just fine on the way up. If I clear the color of btn 2, >same thing, basically, clear going up, purple going down.. If I start >with two brand new rectangular buttons, not setting any color, there is >no such effect. As soon as I set any backColor in btn 2, though, this odd >effect appears. > > >I tried: > > >on mouseEnter >set the backColor of btn 2 to "113,115,23" --arbitrary RGB >end mouseEnter > > >on mouseMove > get the rect of btn 1 > put the mouseV into item 2 of it > if the mouseloc is within the rect of btn 1 and the mouse is down then > put the backColor of btn 2 -- to monitor while moving > set the rect of btn 2 to it > end if >end mouseMove > > >The initital setting ("113,115,23") is shown in msg going both up and >down, so LC seems not to know about the change. The purple "down" color >seems to be overlaid on, not substituted for, the initial color. This can >be seen if you try different starting colors. The purple "down" overlay >mixes differently with any initial color choice. >--------- > >AHA. Found out that if the cursor touches btn 2, the purple thing >appears. if it does not, normal colors. In my test, the mouseV and the >top of btn 2 are coincident. If I have the cursor ride just above the top >of btn 2, back to normal colors in both directions. > > > >Seems like a bug to me, and an odd one at that. LC 6.1.3, Mac OS 10.6. > > >Craig Newman >_______________________________________________ >use-livecode mailing list >use-livecode at 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 at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From jhurley0305 at sbcglobal.net Fri Nov 22 18:47:33 2013 From: jhurley0305 at sbcglobal.net (James Hurley) Date: Fri, 22 Nov 2013 15:47:33 -0800 Subject: Translate code from Mac to PC In-Reply-To: References: Message-ID: <775372E4-9E16-46BE-B2E5-98BDB2D9D1D8@sbcglobal.net> Oops. "Here," below, was meant to be a link. But links disappear when uploaded to the list, so here is the link spelled out: http://jamesphurley.on-rev.com/Kaleidoscopes.html Jim > Thanks to all for the help on this. > > Our local library has gotten wind of this app and have asked to include it among the apps included on their public computers. > It is a much trimmed down version of a kaleidoscope program I did some time ago. > > You can download it here. (My apologies to the Mac faithful. I have forgotten how to use the Menu Builder.) (And to the PC users if the "Export a snapshot" feature doesn't work.) > > Jim From bernd.niggemann at uni-wh.de Fri Nov 22 20:00:45 2013 From: bernd.niggemann at uni-wh.de (BNig) Date: Fri, 22 Nov 2013 17:00:45 -0800 (PST) Subject: Translate code from Mac to PC In-Reply-To: <775372E4-9E16-46BE-B2E5-98BDB2D9D1D8@sbcglobal.net> References: <775372E4-9E16-46BE-B2E5-98BDB2D9D1D8@sbcglobal.net> Message-ID: <1385168445307-4672820.post@n4.nabble.com> Hi Jim, if you want to see a difference between LiveCode version < 6.5.0 and 6.5.0 RCx then run your beautiful Kaleidoscope in paint mode, i.e. card 1 and what used to be a rather slow painting is now really fast and a lot more fun. It is just as fast as the graphic mode on card 2. (those seem to be faster also) You should consider using 6.5.0 for deploying it to the library. Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Translate-code-from-Mac-to-PC-tp4672740p4672820.html Sent from the Revolution - User mailing list archive at Nabble.com. From ambassador at fourthworld.com Sat Nov 23 10:34:03 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 23 Nov 2013 07:34:03 -0800 Subject: Feedback request: getProp/setProp and lockMessages Message-ID: <5290CAEB.4010107@fourthworld.com> There's a discussion in the Engine Contributors Section of the forum in which a change has been proposed, and to make sure the benefits of the change outweigh any potential issues with backward compatibility I've been asked to run it past you folks here: PROBLEM: LockMessages limits the usefulness of getProp and setProp ------------------------------------------------------------------ With built-in props, behavior changes occur when a property is set regardless of the state of lockMessages. Setting the listBehavior of a field, for example, will change that field's behavior whether lockMessages is true or false. Custom controls, however, often require custom properties, and unlike built-in properties for native objects the change can be suppressed if the user changes a property in a custom control while lockMessages is true. In some cases this may cause unexpected appearances, and in the worst case could conceivably result in data loss with some custom controls. Also, once we have getProp and setProp for built-in properties, the same brittleness becomes introduced for overloaded built-in properties as well. Because custom controls can be adversely affected by lockMessages, sadly I rarely use getProp and setProp, despite how good a fit they are for such things in all other respects, opting instead for accessor handlers to set those values and trigger those actions, requiring clumsier syntax to use. So to bring custom controls up to par with native controls in terms of robustness, some solution needs to be invented so they can be reliable and robust independent of whether the scripter needs to block system messages. SOLUTION: Make getProp and setProp immune to lockMessages --------------------------------------------------------- Mark Waddingham supports the proposed change with this reasoning: The idea of lockMessages is to stop engine messages from being sent - there's a certain mechanism in the engine which all engine originated messages use and that will do nothing if lockMessages is true. The getProp / setProp messages use the same mechanism but *technically* the message does not originate from the engine - it originates from script. At the moment there are the following ways 'messages' get dispatched: direct call (e.g. doMyHandler tParam1 in script). send / call / dispatch getProp / setProp handlers (invoked via 'the prop of obj') engine events (e.g. mouseUp / mouseDown) Of these only the last two no-op if lockMessages is set. Given that send/call/dispatch/direct calls which all originate from script ignore lock messages, perhaps getprop / setprop handler invocation should too? ..If it can be agreed that setProp/getProp handlers are in fact *not* engine messages (and are more like send / call / dispatch / direct calls) then they should ignore the setting of lockMessages thus solving the issue without any need to introduce new types of handlers, or special cases. The argument for setProp/getProp messages not being considered to be engine messages is pretty simple - the only way they are ever invoked is by an explicit line in script: get the myCustomProp of And it is hard to see why that should be treated differently from: dispatch function "getMyCustomProp" to REQUEST: Would this adversely affect your scripts? -------------------------------------------------- In short, Mark is suggesting that getProp and setProp are essentially custom messages, and therefore should be redefined as such, allowing them to work regardless of the state of lockMessages. Personally, I agree with Mark's assessment and feel the benefits far outweigh any possible downsides. In fact, for my own work I can't see any downsides at all. However, when introducing elements that may change backward compatibility the team is keenly interesting in soliciting feedback from the community to make sure there aren't critical use cases that may have been overlooked. So please take some time to think about this proposed change, and if you have a circumstance which would be adversely affected by the change describe it here so it can be considered. If the cost to developers is as low relative to the benefits as I think they are this change would likely appear in a new build soon (perhaps not the next one but probably not long after). So please take a moment to think this over, and offer your feedback here. Thanks in advance for your participation in this process - -- 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 From scott at tactilemedia.com Sat Nov 23 11:00:07 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Sat, 23 Nov 2013 08:00:07 -0800 Subject: Feedback request: getProp/setProp and lockMessages In-Reply-To: <5290CAEB.4010107@fourthworld.com> References: <5290CAEB.4010107@fourthworld.com> Message-ID: <0199329F-5687-4BA8-A519-BE279BF7C5FD@tactilemedia.com> Yes, please. Two thumbs up. +10 In my projects, I've been using a combination of custom properties and functions to get around the locked messages limitation, so this change would be a welcome addition. Regards, Scott Rossi Creative Director Tactile Media, UX Design > On Nov 23, 2013, at 7:34 AM, Richard Gaskin wrote: > > Make getProp and setProp immune to lockMessages From th.douez at gmail.com Sat Nov 23 11:13:08 2013 From: th.douez at gmail.com (Thierry Douez) Date: Sat, 23 Nov 2013 17:13:08 +0100 Subject: Feedback request: getProp/setProp and lockMessages In-Reply-To: <0199329F-5687-4BA8-A519-BE279BF7C5FD@tactilemedia.com> References: <5290CAEB.4010107@fourthworld.com> <0199329F-5687-4BA8-A519-BE279BF7C5FD@tactilemedia.com> Message-ID: 2013/11/23 Scott Rossi > Yes, please. Two thumbs up. +10 > > In my projects, I've been using a combination of custom properties and > functions to get around the locked messages limitation, so this change > would be a welcome addition. ?Exactly the same for me. So 3 thumbs up here!? ?and if any of my old scripts are broken, I'll be a happy guy to change whatever has to?.. > > Make getProp and setProp immune to lockMessages > ------------------------------------------------ Thierry Douez - http://sunny-tdz.com Maker of sunnYperl - sunnYmidi - sunnYmage ? - sunnYpdf? From dunbarx at aol.com Sat Nov 23 11:22:26 2013 From: dunbarx at aol.com (dunbarx at aol.com) Date: Sat, 23 Nov 2013 11:22:26 -0500 (EST) Subject: Feedback request: getProp/setProp and lockMessages In-Reply-To: <0199329F-5687-4BA8-A519-BE279BF7C5FD@tactilemedia.com> References: <5290CAEB.4010107@fourthworld.com> <0199329F-5687-4BA8-A519-BE279BF7C5FD@tactilemedia.com> Message-ID: <8D0B67F54B1AA61-23BC-618BF@webmail-d276.sysops.aol.com> I agree with the concept that the world of set and getProp messages lives almost entirely in scripts, not embedded in the underlying "engine". Being therefore "hand-made", they should rightly be grouped, as Mark W. asserts, and as Richard so clearly explains, with its kindred "send", et. al. Craig Newman -----Original Message----- From: Scott Rossi To: How to use LiveCode Sent: Sat, Nov 23, 2013 11:00 am Subject: Re: Feedback request: getProp/setProp and lockMessages Yes, please. Two thumbs up. +10 In my projects, I've been using a combination of custom properties and functions to get around the locked messages limitation, so this change would be a welcome addition. Regards, Scott Rossi Creative Director Tactile Media, UX Design > On Nov 23, 2013, at 7:34 AM, Richard Gaskin wrote: > > Make getProp and setProp immune to lockMessages _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From mwieder at ahsoftware.net Sat Nov 23 12:14:34 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 23 Nov 2013 09:14:34 -0800 Subject: Feedback request: getProp/setProp and lockMessages In-Reply-To: <5290CAEB.4010107@fourthworld.com> References: <5290CAEB.4010107@fourthworld.com> Message-ID: <1425156394.20131123091434@ahsoftware.net> Richard- Saturday, November 23, 2013, 7:34:03 AM, you wrote: > If the cost to developers is as low relative to the benefits as I think > they are this change would likely appear in a new build soon (perhaps > not the next one but probably not long after). So please take a moment > to think this over, and offer your feedback here. I cautiously think this is a Good Thing. My hesitation is that lockMessages is critically important in being able to rescue stacks that have been set into infinite loops in resize and preopenstack handlers, etc. I realize that this change won't affect those because they're system messages and so would be masked, but I keep thinking that *somehow* there's a way to get into trouble. But since I can't come up with a problem situation right now, I'll give this one thumb up and cross the other one behind my back. Ouch. -- -Mark Wieder ahsoftware at gmail.com From ambassador at fourthworld.com Sat Nov 23 13:19:46 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 23 Nov 2013 10:19:46 -0800 Subject: Feedback request: getProp/setProp and lockMessages In-Reply-To: <1425156394.20131123091434@ahsoftware.net> References: <1425156394.20131123091434@ahsoftware.net> Message-ID: <5290F1C2.6030509@fourthworld.com> Mark Wieder wrote: > I cautiously think this is a Good Thing. My hesitation is that > lockMessages is critically important in being able to rescue stacks > that have been set into infinite loops in resize and preopenstack > handlers, etc. I realize that this change won't affect those because > they're system messages and so would be masked, but I keep thinking > that *somehow* there's a way to get into trouble. I wonder if there might be some other global property - perhaps the "killEveryMovingFanBladeSoICanStickMyFingersBetweenThem" - that could help with such diagnostics. Of course I'm joking about the token name, but this seems like something rarely needed though useful when it is, and arguably should extend to all custom message (send, dispatch, etc.). -- 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 From mwieder at ahsoftware.net Sat Nov 23 13:26:37 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 23 Nov 2013 10:26:37 -0800 Subject: Feedback request: getProp/setProp and lockMessages In-Reply-To: <5290F1C2.6030509@fourthworld.com> References: <1425156394.20131123091434@ahsoftware.net> <5290F1C2.6030509@fourthworld.com> Message-ID: <43429478683.20131123102637@ahsoftware.net> Richard- Saturday, November 23, 2013, 10:19:46 AM, you wrote: > I wonder if there might be some other global property - perhaps the > "killEveryMovingFanBladeSoICanStickMyFingersBetweenThem" - that could > help with such diagnostics. LOL. I'd settle for something more like "letMeEditAScriptInATextEditorWithoutLaunchingTheStack" or "launchTheIDEInASeparateThreadSoTheStackDoesn'tKillIt" -- -Mark Wieder ahsoftware at gmail.com From dunbarx at aol.com Sat Nov 23 13:40:32 2013 From: dunbarx at aol.com (dunbarx at aol.com) Date: Sat, 23 Nov 2013 13:40:32 -0500 (EST) Subject: Feedback request: getProp/setProp and lockMessages In-Reply-To: <1425156394.20131123091434@ahsoftware.net> References: <5290CAEB.4010107@fourthworld.com> <1425156394.20131123091434@ahsoftware.net> Message-ID: <8D0B6929FB1C281-23BC-62A42@webmail-d276.sysops.aol.com> Would it be ungainly to add a new command: "lockPropMessages" that would only address those? Craig -----Original Message----- From: Mark Wieder To: How to use LiveCode Sent: Sat, Nov 23, 2013 12:17 pm Subject: Re: Feedback request: getProp/setProp and lockMessages Richard- Saturday, November 23, 2013, 7:34:03 AM, you wrote: > If the cost to developers is as low relative to the benefits as I think > they are this change would likely appear in a new build soon (perhaps > not the next one but probably not long after). So please take a moment > to think this over, and offer your feedback here. I cautiously think this is a Good Thing. My hesitation is that lockMessages is critically important in being able to rescue stacks that have been set into infinite loops in resize and preopenstack handlers, etc. I realize that this change won't affect those because they're system messages and so would be masked, but I keep thinking that *somehow* there's a way to get into trouble. But since I can't come up with a problem situation right now, I'll give this one thumb up and cross the other one behind my back. Ouch. -- -Mark Wieder ahsoftware at gmail.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From ambassador at fourthworld.com Sat Nov 23 13:51:52 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 23 Nov 2013 10:51:52 -0800 Subject: Feedback request: getProp/setProp and lockMessages In-Reply-To: <43429478683.20131123102637@ahsoftware.net> References: <43429478683.20131123102637@ahsoftware.net> Message-ID: <5290F948.1080108@fourthworld.com> Mark Wieder wrote: > LOL. I'd settle for something more like > "letMeEditAScriptInATextEditorWithoutLaunchingTheStack" This works in both the LC and MC IDEs: edit script of stack "/folder/whatever.livecode" -- 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 From jacque at hyperactivesw.com Sat Nov 23 13:57:03 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 23 Nov 2013 12:57:03 -0600 Subject: Translate code from Mac to PC In-Reply-To: <775372E4-9E16-46BE-B2E5-98BDB2D9D1D8@sbcglobal.net> References: <775372E4-9E16-46BE-B2E5-98BDB2D9D1D8@sbcglobal.net> Message-ID: <5290FA7F.7030404@hyperactivesw.com> On 11/22/13 5:47 PM, James Hurley wrote: > Oops. "Here," below, was meant to be a link. But links disappear when uploaded to the list, so here is the link spelled out: > > http://jamesphurley.on-rev.com/Kaleidoscopes.html I finally got a minute to look at this and it's amazing. I'm not surprised your library wants it. It's really nice work. It could use an app icon, and if you're interested in a few interface tweaks I thought of, drop me a line. Very cool regardless. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sat Nov 23 14:00:54 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 23 Nov 2013 13:00:54 -0600 Subject: Feedback request: getProp/setProp and lockMessages In-Reply-To: <1425156394.20131123091434@ahsoftware.net> References: <5290CAEB.4010107@fourthworld.com> <1425156394.20131123091434@ahsoftware.net> Message-ID: <5290FB66.6030602@hyperactivesw.com> On 11/23/13 11:14 AM, Mark Wieder wrote: > I cautiously think this is a Good Thing. My hesitation is that > lockMessages is critically important in being able to rescue stacks > that have been set into infinite loops in resize and preopenstack > handlers, etc. I realize that this change won't affect those because > they're system messages and so would be masked, but I keep thinking > that *somehow* there's a way to get into trouble. But since I can't > come up with a problem situation right now, I'll give this one thumb > up and cross the other one behind my back. Ouch. > That was the first thing I thought of when I read Richard's proposal. From the dictionary: *** Caution! If a setProp handler in one object's script sets the custom property for a different object, and the first object is in the second object's message path, a runaway recursion will result. For example, if the following handler is in a card script, and you set the "myCustomProperty" of a button on the card, runaway recursion will result: setProp myCustomProperty newValue set the myCustomProperty of the target to newValue + 1 -- Because the target is the button, and this handler is in -- the card, the above statement sends another setProp trigger -- to the button. end myCustomProperty To avoid this problem, set the lockMessages property to true before setting the custom property. *** So we'd either need a special kind of lock just for setprop, which seems convoluted to me, or some other solution. Or a huge 60-point warning in red text all over the documentation. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jhurley0305 at sbcglobal.net Sat Nov 23 14:11:11 2013 From: jhurley0305 at sbcglobal.net (Jim Hurley) Date: Sat, 23 Nov 2013 11:11:11 -0800 Subject: Translate code from Mac to PC In-Reply-To: References: Message-ID: <7F40B7A8-9DE9-4156-917F-C4B06DF782A2@sbcglobal.net> Hi Bernd, Good to hear from you again. Actually I didn't mean to send the *three* card version of Kaleidoscope. There was a lot of card two that many others contributed critically to, yourself, not the least among them. So I don't feel right about presenting that to the library as my own. But I think the kids will have fun with card 1 alone. There is just something intrinsically please about symmetry for its own sake. The Radio City Musical Hall Rockets have been making a living off symmetry for years. I don't think I have see evidence of 6.5. Is that out and generally available? I thought 6.2 was the latest. I'm haven't really been keeping up. I haven't even moved off into the portable stuff for iOS. It aggravates me no end that I would have to pay tribute to Apple if I just want to write an app for my own use on my own iPod or Pad. I would be willing to pay for the tools to do that, but not for a continuing toll, and, insult to injury, pass it through their filter. Everything I do is for personal use. There is no need for Apple to get involved in how I use their products. I don't mean to imply that that plain old OS X is limiting. I still get a lot of use and entertainment from plain old vanilla LC. I'm not even sure that I would be up to programming for iOS in the first place; there is something that happens to the mind, a toll taken, after it has exceeded 81 years of use and abuse. Kind regards, Jim > > Message: 25 > Date: Fri, 22 Nov 2013 17:00:45 -0800 (PST) > From: BNig > To: use-revolution at lists.runrev.com > Subject: Re: Translate code from Mac to PC > Message-ID: <1385168445307-4672820.post at n4.nabble.com> > Content-Type: text/plain; charset=us-ascii > > Hi Jim, > > if you want to see a difference between LiveCode version < 6.5.0 and 6.5.0 > RCx then run your beautiful Kaleidoscope in paint mode, i.e. card 1 and what > used to be a rather slow painting is now really fast and a lot more fun. It > is just as fast as the graphic mode on card 2. (those seem to be faster > also) > > You should consider using 6.5.0 for deploying it to the library. > > Kind regards > Bernd > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Translate-code-from-Mac-to-PC-tp4672740p4672820.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/use-livecode > > ------------------------------ > > End of use-livecode Digest, Vol 122, Issue 51 > ********************************************* From ambassador at fourthworld.com Sat Nov 23 14:17:36 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 23 Nov 2013 11:17:36 -0800 Subject: Feedback request: getProp/setProp and lockMessages In-Reply-To: <5290FB66.6030602@hyperactivesw.com> References: <5290FB66.6030602@hyperactivesw.com> Message-ID: <5290FF50.5000600@fourthworld.com> J. Landman Gay wrote: > That was the first thing I thought of when I read Richard's proposal. > From the dictionary: > > *** > Caution! If a setProp handler in one object's script sets the custom > property for a different object, and the first object is in the second > object's message path, a runaway recursion will result. For example, if > the following handler is in a card script, and you set the > "myCustomProperty" of a button on the card, runaway recursion will result: > > setProp myCustomProperty newValue > set the myCustomProperty of the target to newValue + 1 > -- Because the target is the button, and this handler is in > -- the card, the above statement sends another setProp trigger > -- to the button. > end myCustomProperty > > To avoid this problem, set the lockMessages property to true before > setting the custom property. > *** > > So we'd either need a special kind of lock just for setprop, which seems > convoluted to me, or some other solution. Or a huge 60-point warning in > red text all over the documentation. Good point, Jacque - thanks for bringing that up. Since it involves what is really an erroneous circumstance, it would seem only as serious (and far less frequently encountered) than what happens when you put an answer dialog in a loop and can only escape by quitting. Maybe the solution for that isn't to continue hampering the usefulness of getProp/setProp, but something that would address all the many such issues we encounter with recursive errors at runtime. One thought that comes to mind might be to somply have Cmd-. work. :) Right now that doesn't truly exit to top in all cases, and has no effect with dialogs, which are especially problematic since they have their own event loops. Maybe the dev engine could be enhanced so that as long as the environment is "development", Cmd-. exits dialogs and any loops and any recursive stuff and truly brings a complete halt to all execution. Whether or not this should be extended to include runtime is a more complex issue, but if Cmd-. worked in LC as it did in HC it would have saved me many, many hours over the years. -- 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 From bernd.niggemann at uni-wh.de Sat Nov 23 15:21:46 2013 From: bernd.niggemann at uni-wh.de (BNig) Date: Sat, 23 Nov 2013 12:21:46 -0800 (PST) Subject: Translate code from Mac to PC In-Reply-To: <7F40B7A8-9DE9-4156-917F-C4B06DF782A2@sbcglobal.net> References: <7F40B7A8-9DE9-4156-917F-C4B06DF782A2@sbcglobal.net> Message-ID: <1385238105896-4672834.post@n4.nabble.com> Hi Jim, LiveCode 6.5.0 is currently in prerelease status. There are lot of developer previews (DP) and release candidate (RC) versions on the website below. The most current one is 6.0.5 RC7 >From what I gather it will be not very long before 6.5.0 will be released as a final version. For whatever I contributed to Kaleidoscope, please feel free to use it as you please. You might even consider it a Thank You for the many algorithms you offered to do geometry. Quite some of them I use regularly. Especially if you only want to use card 1, the one in painting mode, LiveCode 6.5.0 is so much more responsive and fun that I suggest you try it with a prerelease version of 6.5.0 to see the difference. As far as I understand you could use the community edition to deploy Kaleidoscope to the library as long as it is not for profit. And the source code of Kaleidoscope is already published (this is a condition of using the community edition as far as I understand). This is the link to all downloads of all current versions of 6.5.0 http://downloads.livecode.com/livecode/6_5_0/ This is the direct link to the download of the community edition of 6.5.0 LiveCodeCommunityInstaller-6_5_0_rc_7-Mac.dmg Yes, your post brought back some nice memories. Thank you again for Kaleidoscope Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Translate-code-from-Mac-to-PC-tp4672740p4672834.html Sent from the Revolution - User mailing list archive at Nabble.com. From richmondmathewson at gmail.com Sat Nov 23 15:53:24 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 23 Nov 2013 22:53:24 +0200 Subject: A better IDE appearance hacker Message-ID: <529115C4.8020102@gmail.com> is now available here: https://www.facebook.com/groups/runrev/# or by off-list message to me. Richmond. From pete at lcsql.com Sat Nov 23 17:26:22 2013 From: pete at lcsql.com (Peter Haworth) Date: Sat, 23 Nov 2013 14:26:22 -0800 Subject: openCard in plugin stacks Message-ID: I have stack with an openCard handler which executes fine when the stack is run as a toplevel stack. When I put the stack into my plugins folder and set it to run modeless, the openCard handler doesn't execute. Tried putting answer dialogs at the top of the openCard handler, they never appear when the plugin runs. Also tried moving the openCard logic into a separate handler then calling it from openCard after a wait 0 milliseconds but still no joy. I tried using the message watcher to see if I can spot an openCard message. Problem is, there are so many messages that they overflow the message watcher display field and scrolling back to the top of it doesn't get me far enough back. I see there is a way to specify messages to exclude but I don't see a way to specify a list of messages to include - can that be done? Any ideas on why openCard doesn't fire? I've run into problems like this before when a stack is starting up - it seems the LC environment is very fragile at that point! Pete lcSQL Software From stephenREVOLUTION2 at barncard.com Sat Nov 23 17:31:50 2013 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sat, 23 Nov 2013 14:31:50 -0800 Subject: icon and menu in Right side of mac menubar Message-ID: Is there a way to insert a custom icon and menu on the right side of the (mac) menubar and have it stay resident? *--* *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words* From m.schonewille at economy-x-talk.com Sat Nov 23 17:43:16 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 23 Nov 2013 23:43:16 +0100 Subject: openCard in plugin stacks In-Reply-To: References: Message-ID: <52912F84.1040406@economy-x-talk.com> Hi Pete, have you had a look at the Plugin Settings already? In this window, you can choose messages that are sent to the plugin. On the other hand, I think that the plugins I've made so far, including Installer Maker, don't have the problem you describe. The preOpenCard and preOpenStack messages just fire. Is it possible that something blocks these messages in your copy of LC? If you have named your plugin revSomething, any errors won't show up. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi Fill out this survey please http://livecodebeginner.economy-x-talk.com/survey/ On 11/23/2013 23:26, Peter Haworth wrote: > I have stack with an openCard handler which executes fine when the stack is > run as a toplevel stack. When I put the stack into my plugins folder and > set it to run modeless, the openCard handler doesn't execute. > > Tried putting answer dialogs at the top of the openCard handler, they never > appear when the plugin runs. Also tried moving the openCard logic into a > separate handler then calling it from openCard after a wait 0 milliseconds > but still no joy. > > I tried using the message watcher to see if I can spot an openCard message. > Problem is, there are so many messages that they overflow the message > watcher display field and scrolling back to the top of it doesn't get me > far enough back. I see there is a way to specify messages to exclude but I > don't see a way to specify a list of messages to include - can that be done? > > Any ideas on why openCard doesn't fire? I've run into problems like this > before when a stack is starting up - it seems the LC environment is very > fragile at that point! > > > Pete > lcSQL Software > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dochawk at gmail.com Sat Nov 23 19:30:00 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 23 Nov 2013 16:30:00 -0800 Subject: SQL: using the newly inserted index as a value for insertion Message-ID: I use an SQLite :memory: database, and store insertion commands into the "remote" database (remote postgres, disk SQLite, etc.) To deal with newly created data, I have something like INSERT INTO remoteTable (scratch) VALUES (scratchKey); UPDATE remoteTable SET cmd=INSERT INTO localTable (key,cmd) VALUES(' || key || ' ) WHERE scratch=scratchKey; However, it tells me that "column key does not exist"--where key is the autoincrementing primary key for the table! It's two commands as much because I assumed that key would get a temporary value pending commit. I'm trying to avoid two transactions due to the lag over the connections (from here, I have a half-second penalty each time I hit the db). Is there a way to do this that's portable across sqlite, postgres, & mysql? -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From pete at lcsql.com Sat Nov 23 20:01:54 2013 From: pete at lcsql.com (Peter Haworth) Date: Sat, 23 Nov 2013 17:01:54 -0800 Subject: SQL: using the newly inserted index as a value for insertion In-Reply-To: References: Message-ID: Not sure I understand what you are trying to do here. Are you trying to set a literal value into the cmd column? If so, you need single quotes around it. If you are trying to execute an INSERT command to get the value of cmd, you can't do that in an UPDATE command. What is the intention of the ' || key || ' in the VALUES? Plus your UPDATE command names two columns but there is only one value in the VALUES clause. The best way to do this would be to create a TRIGGER to execute AFTER INSERT into your remoteTable table which would update the cmd column for you. That way, you would only have to issue the INSERT command and the UPDATE would be handled by the trigger. You can refer to any values from the INSERTed remoteTable entry with the syntax new.columname. Pete lcSQL Software On Sat, Nov 23, 2013 at 4:30 PM, Dr. Hawkins wrote: > I use an SQLite :memory: database, and store insertion commands into the > "remote" database (remote postgres, disk SQLite, etc.) > > To deal with newly created data, I have something like > > INSERT INTO remoteTable (scratch) VALUES (scratchKey); > UPDATE remoteTable SET cmd=INSERT INTO localTable (key,cmd) > VALUES(' || key || ' ) WHERE scratch=scratchKey; > > However, it tells me that "column key does not exist"--where key is the > autoincrementing primary key for the table! > > It's two commands as much because I assumed that key would get a temporary > value pending commit. > > I'm trying to avoid two transactions due to the lag over the connections > (from here, I have a half-second penalty each time I hit the db). > > Is there a way to do this that's portable across sqlite, postgres, & mysql? > > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dochawk at gmail.com Sat Nov 23 20:43:08 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 23 Nov 2013 17:43:08 -0800 Subject: SQL: using the newly inserted index as a value for insertion In-Reply-To: References: Message-ID: On Sat, Nov 23, 2013 at 5:01 PM, Peter Haworth wrote: > Not sure I understand what you are trying to do here. Are you trying to set > a literal value into the cmd column? If so, you need single quotes around > it. If you are trying to execute an INSERT command to get the value of > cmd, you can't do that in an UPDATE command. > The cmd is used to re-create the data in the in-memory db (this let me go to 1 remote table per debtor, rather than 3 or more). The catch is that as I write the command, and send it to the remote, I don't know what value will be assigned. If I use postgres' "returning" extension, I can get the index of the new entry (but aside from non-portability, the transaction would be over, and I can't get multiple queries back, and . . . .). I'm trying to use the column name of the unique key to put the value of the key into the middle of a string in the same record. so INSERT INTO . . . UPDATE . . . SET cmd="blah-blah" WHERE {scratch matches} What is the intention of the ' || key || ' in the VALUES? > concatenation. Something got eaten . . . That *should* have been, UPDATE remoteTable SET cmd='INSERT INTO localTable (key,stuff) VALUES(' || key || ', ''this is some stuff'' ); ' WHERE scratch='scratchKey'; so that a query would produce a cmd of INSERT INTO localTable (key,stuff) VALUES(, 'this is some stuff' ) ; > Plus your UPDATE > command names two columns but there is only one value in the VALUES clause. > (same glitch) > > The best way to do this would be to create a TRIGGER to execute AFTER > INSERT into your remoteTable table which would update the cmd column for > you. That way, you would only have to issue the INSERT command and the > UPDATE would be handled by the trigger. You can refer to any values from > the INSERTed remoteTable entry with the syntax new.columname. > That could be an ugly (and expensive?) replacement, couldn't it--I'd be trying to match a "magic string" I left in the middle of a string with an integer. Or am I missing something? -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From jhurley0305 at sbcglobal.net Sat Nov 23 21:09:16 2013 From: jhurley0305 at sbcglobal.net (Jim Hurley) Date: Sat, 23 Nov 2013 18:09:16 -0800 Subject: Translate code from Mac to PC In-Reply-To: References: Message-ID: Hi Bernd, Darn. I can't see any difference between 5.02 and 6.5.0 I am using the "curve tool" in both. Is that what you recommend? And the resolution appears to be the same. Am I missing something? A setting maybe? Kind regards, Jim > > Message: 25 > Date: Fri, 22 Nov 2013 17:00:45 -0800 (PST) > From: BNig > To: use-revolution at lists.runrev.com > Subject: Re: Translate code from Mac to PC > Message-ID: <1385168445307-4672820.post at n4.nabble.com> > Content-Type: text/plain; charset=us-ascii > > Hi Jim, > > if you want to see a difference between LiveCode version < 6.5.0 and 6.5.0 > RCx then run your beautiful Kaleidoscope in paint mode, i.e. card 1 and what > used to be a rather slow painting is now really fast and a lot more fun. It > is just as fast as the graphic mode on card 2. (those seem to be faster > also) > > You should consider using 6.5.0 for deploying it to the library. > > Kind regards > Bernd > From pete at lcsql.com Sat Nov 23 21:25:24 2013 From: pete at lcsql.com (Peter Haworth) Date: Sat, 23 Nov 2013 18:25:24 -0800 Subject: openCard in plugin stacks In-Reply-To: References: Message-ID: Still have no idea why no openCard happened but I moved the processing from openCard to preOpenCard and it now works. Not ideal because I really needed the card to be visible while the processing was going on but it will have to do for now. Pete lcSQL Software On Sat, Nov 23, 2013 at 2:26 PM, Peter Haworth wrote: > I have stack with an openCard handler which executes fine when the stack > is run as a toplevel stack. When I put the stack into my plugins folder > and set it to run modeless, the openCard handler doesn't execute. > > Tried putting answer dialogs at the top of the openCard handler, they > never appear when the plugin runs. Also tried moving the openCard logic > into a separate handler then calling it from openCard after a wait 0 > milliseconds but still no joy. > > I tried using the message watcher to see if I can spot an openCard > message. Problem is, there are so many messages that they overflow the > message watcher display field and scrolling back to the top of it doesn't > get me far enough back. I see there is a way to specify messages to > exclude but I don't see a way to specify a list of messages to include - > can that be done? > > Any ideas on why openCard doesn't fire? I've run into problems like this > before when a stack is starting up - it seems the LC environment is very > fragile at that point! > > > Pete > lcSQL Software > From jacque at hyperactivesw.com Sat Nov 23 23:40:32 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 23 Nov 2013 22:40:32 -0600 Subject: openCard in plugin stacks In-Reply-To: References: Message-ID: <9decdc82-81a6-4971-9b4e-eeef45ae88a6@email.android.com> I had a similar problem recently. If the stack is loaded but not open and you go to the current card, no openstack is sent. I had to use resumestack instead. If your plug in was already loaded that could be what happened. I would assume you wouldn't get any pre* messages either though, so I'm not sure what's going on there. Peter Haworth wrote: >Still have no idea why no openCard happened but I moved the processing >from >openCard to preOpenCard and it now works. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dochawk at gmail.com Sat Nov 23 23:54:02 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 23 Nov 2013 20:54:02 -0800 Subject: SQL: using the newly inserted index as a value for insertion In-Reply-To: References: Message-ID: Perhaps a simpler way to explain what I'm after: Suppose I need to retrieve that the value of joe's"stuff" is "fluffy". Suppose further that when I toss this in, the primary key that gets assigned will be "5" So I want to be able to retrieve the command to put this into the :memory: db: INSERT INTO memTable (key, child, stuff) VALUES(5,'Joe', 'fluffy'); but I don't know that 5 will be assigned when I put this into the table. So my thinking is INSERT INTO masterTable (child,scratch) VALUES('Joe','abc123'); UPDATE masterTable SET cmd='INSERT INTO memTable (key, child, stuff) VALUES(' || key ||' ,''Joe'', ''fluffy'');' WHERE scratch='abc123'; The actual commands are more complicated; there are about 45 fields that get set. There is also no guarantee that the child (Joe) is unique (in fact, frequently it will not be). What I'm seeing is that "key" is indeed recognized as a column name--but it states that there is no such column available. From dglass at graymattercomputing.com Sun Nov 24 00:52:38 2013 From: dglass at graymattercomputing.com (David Glass) Date: Sat, 23 Nov 2013 21:52:38 -0800 Subject: SQL: using the newly inserted index as a value for insertion In-Reply-To: References: Message-ID: <52919426.9000709@graymattercomputing.com> How much control over the databases do you have? If you have some measure of control I'd think the simplest solution would be to get away from the auto-incrementing key, and provide your own. Then you know exactly what the value needs to be in each of your statements. Barring that, for the three dbs you are dealing with you'll have to specialize a bit and use the functions available to each one. RETURNING for PostgreSQL is probably best, but SELECT LASTVAL() would work. LAST_INSERT_ID() for MySQL LAST_INSERT_ROWID() for SQLite Keeping in mind the danger inherent in those last two (and LASTVAL()), of course. On 11/23/2013, 8:54 PM, Dr. Hawkins wrote: > Perhaps a simpler way to explain what I'm after: > > Suppose I need to retrieve that the value of joe's"stuff" is "fluffy". > > Suppose further that when I toss this in, the primary key that gets > assigned will be "5" > > So I want to be able to retrieve the command to put this into the :memory: > db: > > INSERT INTO memTable (key, child, stuff) VALUES(5,'Joe', 'fluffy'); > > but I don't know that 5 will be assigned when I put this into the table. > So my thinking is > > INSERT INTO masterTable (child,scratch) VALUES('Joe','abc123'); > UPDATE masterTable SET cmd='INSERT INTO memTable (key, child, stuff) > VALUES(' || key ||' ,''Joe'', ''fluffy'');' WHERE scratch='abc123'; > > The actual commands are more complicated; there are about 45 fields that > get set. There is also no guarantee that the child (Joe) is unique (in > fact, frequently it will not be). > > What I'm seeing is that "key" is indeed recognized as a column name--but it > states that there is no such column available. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > -- > David Glass - Gray Matter Computing > graymattercomputing.com > Central Valley: 559-303-4915 > East Bay: 925-335-8486 From pete at lcsql.com Sun Nov 24 01:26:03 2013 From: pete at lcsql.com (Peter Haworth) Date: Sat, 23 Nov 2013 22:26:03 -0800 Subject: SQL: using the newly inserted index as a value for insertion In-Reply-To: References: Message-ID: You want the word key to be replaced by the value of the primary key from the row from the INSERT statement? If so, that's how the trigger can help. You can refer to any column from the INSERT using the syntax "new.colname" where colname is the name of any column in master table. Still not 100% sure I understand but maybe that helps. Pete lcSQL Software On Nov 23, 2013 8:54 PM, "Dr. Hawkins" wrote: > Perhaps a simpler way to explain what I'm after: > > Suppose I need to retrieve that the value of joe's"stuff" is "fluffy". > > Suppose further that when I toss this in, the primary key that gets > assigned will be "5" > > So I want to be able to retrieve the command to put this into the :memory: > db: > > INSERT INTO memTable (key, child, stuff) VALUES(5,'Joe', 'fluffy'); > > but I don't know that 5 will be assigned when I put this into the table. > So my thinking is > > INSERT INTO masterTable (child,scratch) VALUES('Joe','abc123'); > UPDATE masterTable SET cmd='INSERT INTO memTable (key, child, stuff) > VALUES(' || key ||' ,''Joe'', ''fluffy'');' WHERE scratch='abc123'; > > The actual commands are more complicated; there are about 45 fields that > get set. There is also no guarantee that the child (Joe) is unique (in > fact, frequently it will not be). > > What I'm seeing is that "key" is indeed recognized as a column name--but it > states that there is no such column available. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From admin at FlexibleLearning.com Sun Nov 24 04:13:33 2013 From: admin at FlexibleLearning.com (FlexibleLearning.com) Date: Sun, 24 Nov 2013 09:13:33 -0000 Subject: Feedback request: getProp/setProp and lockMessages In-Reply-To: Message-ID: Gets my vote! Hugh Senior FLCo > On Nov 23, 2013, at 7:34 AM, Richard Gaskin wrote: > > Make getProp and setProp immune to lockMessages From bernd.niggemann at uni-wh.de Sun Nov 24 05:38:39 2013 From: bernd.niggemann at uni-wh.de (BNig) Date: Sun, 24 Nov 2013 02:38:39 -0800 (PST) Subject: Translate code from Mac to PC In-Reply-To: References: Message-ID: <1385289519701-4672850.post@n4.nabble.com> Hi Jim, I tested in 6.1.3 (the current release version) and 6.5.0 (the release candidate) and the difference in speed was huge. It turns out that version 6 introduced something that slowed "drag" down which is apparently fixed in 6.5.0 When testing in version 5.0.2 and other versions of the 5.x.x cycle Kaleidoscope runs just as fine as in 6.5.0 So this was a false alarm. I was just assuming (not testing) that the drag routines in version 6 are just as fast as they were in 5.x.x The way it is I don't see why you would not want to deploy Kaleidoscope using 5.0.2 Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Translate-code-from-Mac-to-PC-tp4672740p4672850.html Sent from the Revolution - User mailing list archive at Nabble.com. From dixonja at hotmail.co.uk Sun Nov 24 07:00:41 2013 From: dixonja at hotmail.co.uk (John Dixon) Date: Sun, 24 Nov 2013 12:00:41 +0000 Subject: Translate code from Mac to PC In-Reply-To: <1385289519701-4672850.post@n4.nabble.com> References: , , <1385289519701-4672850.post@n4.nabble.com> Message-ID: > I tested in 6.1.3 (the current release version) and 6.5.0 (the release > candidate) and the difference in speed was huge. > > Kind regards > Bernd Hi Bernd... The increase in speed when using 6.5.0. - RC7 is huge, but in all areas. I building a stack at the moment that it moving text around and making calls to a server... It was only this morning that I tried RC7 as and earlier RC had caused me some problems... I am really knocked out over the 'speed increase' that has appeared.. Dixie From jiml at netrin.com Sun Nov 24 10:14:26 2013 From: jiml at netrin.com (Jim Lambert) Date: Sun, 24 Nov 2013 07:14:26 -0800 Subject: Feedback request: getProp/setProp and lockMessages In-Reply-To: References: Message-ID: Richard, I?m fine with the proposed change. Until, of course, that unforeseen situation arises when the negatives rear their ugly heads! ;) But seriously, this will allow those of us who shy away from get/setProp to employ them more often. Jim Lambert From pete at lcsql.com Sun Nov 24 10:33:33 2013 From: pete at lcsql.com (Peter Haworth) Date: Sun, 24 Nov 2013 07:33:33 -0800 Subject: openCard in plugin stacks In-Reply-To: <9decdc82-81a6-4971-9b4e-eeef45ae88a6@email.android.com> References: <9decdc82-81a6-4971-9b4e-eeef45ae88a6@email.android.com> Message-ID: Thanks Jacqueline. I can't figure out why I get a preopen but no open either but it works so I'm moving on. Pete lcSQL Software On Nov 23, 2013 8:40 PM, "J. Landman Gay" wrote: > I had a similar problem recently. If the stack is loaded but not open and > you go to the current card, no openstack is sent. I had to use resumestack > instead. If your plug in was already loaded that could be what happened. > I would assume you wouldn't get any pre* messages either though, so I'm > not sure what's going on there. > > Peter Haworth wrote: > >Still have no idea why no openCard happened but I moved the processing > >from > >openCard to preOpenCard and it now works. > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bill at bluewatermaritime.com Sun Nov 24 10:57:01 2013 From: bill at bluewatermaritime.com (william humphrey) Date: Sun, 24 Nov 2013 11:57:01 -0400 Subject: Create a dashed line Message-ID: Is there a simple way with "fill" or something to make the standard line graphic create a dashed line? I could do it with an imported graphic but I want to make a bunch several lengths and it would be so easy if I could use the native drawing tool. Thanks! From klaus at major-k.de Sun Nov 24 11:02:33 2013 From: klaus at major-k.de (Klaus major-k) Date: Sun, 24 Nov 2013 17:02:33 +0100 Subject: Create a dashed line In-Reply-To: References: Message-ID: <4EFF550C-2253-4CBE-BF5F-FAB95A5D5076@major-k.de> Hi Bill, Am 24.11.2013 um 16:57 schrieb william humphrey : > Is there a simple way with "fill" or something to make the standard > line graphic create a dashed line? I could do it with an imported > graphic but I want to make a bunch several lengths and it would be so > easy if I could use the native drawing tool. you can set "the dashes" of (line) graphics via script! Just check "dashes" in the inspector! Check the dictionary for the snytax and options. :-) > Thanks! Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From m.schonewille at economy-x-talk.com Sun Nov 24 11:05:51 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 24 Nov 2013 17:05:51 +0100 Subject: Create a dashed line In-Reply-To: References: Message-ID: <529223DF.2030308@economy-x-talk.com> Hi William, set the dashes of the templategraphic to 5,5 set the dashes of grc 1 to 1,3 etc... -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi Fill out this survey please http://livecodebeginner.economy-x-talk.com/survey/ On 11/24/2013 16:57, william humphrey wrote: > Is there a simple way with "fill" or something to make the standard > line graphic create a dashed line? I could do it with an imported > graphic but I want to make a bunch several lengths and it would be so > easy if I could use the native drawing tool. > > Thanks! From bill at bluewatermaritime.com Sun Nov 24 11:18:11 2013 From: bill at bluewatermaritime.com (william humphrey) Date: Sun, 24 Nov 2013 12:18:11 -0400 Subject: Create a dashed line In-Reply-To: <529223DF.2030308@economy-x-talk.com> References: <529223DF.2030308@economy-x-talk.com> Message-ID: Thanks. It is so nice to go for a cup of coffee and come back and see a solution. On Sun, Nov 24, 2013 at 12:05 PM, Mark Schonewille wrote: > Hi William, > > set the dashes of the templategraphic to 5,5 > > set the dashes of grc 1 to 1,3 > > etc... > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour > spaces. http://www.color-converter.com > > Buy my new book "Programming LiveCode for the Real Beginner" > http://qery.us/3fi > > Fill out this survey please > http://livecodebeginner.economy-x-talk.com/survey/ > > > On 11/24/2013 16:57, william humphrey wrote: >> >> Is there a simple way with "fill" or something to make the standard >> line graphic create a dashed line? I could do it with an imported >> graphic but I want to make a bunch several lengths and it would be so >> easy if I could use the native drawing tool. >> >> Thanks! > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- http://www.bluewatermaritime.com From ray at linkit.com Sun Nov 24 11:31:15 2013 From: ray at linkit.com (Ray) Date: Sun, 24 Nov 2013 11:31:15 -0500 Subject: Does a Control Exist? In-Reply-To: References: <529223DF.2030308@economy-x-talk.com> Message-ID: <529229D3.7010601@LinkIt.Com> After loosely following the item delimiter thread last week a similar idea came to me today which might be an interesting discussion. It's often time consuming to type spell out... if there is a field "My Field" then put field "My Field" into myVar If I don't first check to see if the control exists [and it doesn't] I get an error and the script stops execution. I don't have to do this with a custom property. That is if the script is... put the NewProperty of this card into myVar and said property doesn't exist, I simply end up with nothing in myVar, but it doesn't cause an error and the script continues. Does anybody think it would be worth it to have a way to stop errors from being produced when referring to non-existent controls? Ray Horsley LinkIt! Software From richmondmathewson at gmail.com Sun Nov 24 11:46:41 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 24 Nov 2013 18:46:41 +0200 Subject: Does a Control Exist? In-Reply-To: <529229D3.7010601@LinkIt.Com> References: <529223DF.2030308@economy-x-talk.com> <529229D3.7010601@LinkIt.Com> Message-ID: <52922D71.1060302@gmail.com> On 24.11.2013 18:31, Ray wrote: > After loosely following the item delimiter thread last week a similar > idea came to me today which might be an interesting discussion. > > It's often time consuming to type spell out... > if there is a field "My Field" then put field "My Field" into myVar > > If I don't first check to see if the control exists [and it doesn't] I > get an error and the script stops execution. > > I don't have to do this with a custom property. That is if the script > is... > put the NewProperty of this card into myVar > and said property doesn't exist, I simply end up with nothing in > myVar, but it doesn't cause an error and the script continues. > > Does anybody think it would be worth it to have a way to stop errors > from being produced when referring to non-existent controls? > > Ray Horsley > LinkIt! Software > Well, surely the trick is to do something like this: if exists(fld "My Field") then put fld "My Field" into myVar end if Easy-Peasy-Lemon-Squeezy! Richmond. From ray at linkit.com Sun Nov 24 11:58:48 2013 From: ray at linkit.com (Ray) Date: Sun, 24 Nov 2013 11:58:48 -0500 Subject: Does a Control Exist? In-Reply-To: <52922D71.1060302@gmail.com> References: <529223DF.2030308@economy-x-talk.com> <529229D3.7010601@LinkIt.Com> <52922D71.1060302@gmail.com> Message-ID: <52923048.1010700@LinkIt.Com> Yeah, I know there are various ways of checking whether the control exists or not before proceeding. I just wondered whether anybody else thought it might be nice not to have to do that since it does halt the script if the control doesn't exist. On 11/24/2013 11:46 AM, Richmond wrote: > On 24.11.2013 18:31, Ray wrote: >> After loosely following the item delimiter thread last week a similar >> idea came to me today which might be an interesting discussion. >> >> It's often time consuming to type spell out... >> if there is a field "My Field" then put field "My Field" into myVar >> >> If I don't first check to see if the control exists [and it doesn't] >> I get an error and the script stops execution. >> >> I don't have to do this with a custom property. That is if the >> script is... >> put the NewProperty of this card into myVar >> and said property doesn't exist, I simply end up with nothing in >> myVar, but it doesn't cause an error and the script continues. >> >> Does anybody think it would be worth it to have a way to stop errors >> from being produced when referring to non-existent controls? >> >> Ray Horsley >> LinkIt! Software >> > > Well, surely the trick is to do something like this: > > if exists(fld "My Field") then > put fld "My Field" into myVar > end if > > Easy-Peasy-Lemon-Squeezy! > > Richmond. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dunbarx at aol.com Sun Nov 24 12:13:31 2013 From: dunbarx at aol.com (dunbarx at aol.com) Date: Sun, 24 Nov 2013 12:13:31 -0500 (EST) Subject: Does a Control Exist? In-Reply-To: <52923048.1010700@LinkIt.Com> References: <529223DF.2030308@economy-x-talk.com> <529229D3.7010601@LinkIt.Com> <52922D71.1060302@gmail.com> <52923048.1010700@LinkIt.Com> Message-ID: <8D0B74FA290739E-6B0-668D2@webmail-d253.sysops.aol.com> I think that a strict constructionist position is best here. Though it is less of an issue if you: put fld "foo" into myVar and there is no fld "foo" It seems to me very dangerous to try to: put myVar into fld "foo" when there is no such field. This could lead users astray, including the original author. Craig P.S. Jacque and many others will know where 'foo" came from. What about "author"? -----Original Message----- From: Ray To: use-livecode Sent: Sun, Nov 24, 2013 11:59 am Subject: Re: Does a Control Exist? Yeah, I know there are various ways of checking whether the control exists or not before proceeding. I just wondered whether anybody else thought it might be nice not to have to do that since it does halt the script if the control doesn't exist. On 11/24/2013 11:46 AM, Richmond wrote: > On 24.11.2013 18:31, Ray wrote: >> After loosely following the item delimiter thread last week a similar >> idea came to me today which might be an interesting discussion. >> >> It's often time consuming to type spell out... >> if there is a field "My Field" then put field "My Field" into myVar >> >> If I don't first check to see if the control exists [and it doesn't] >> I get an error and the script stops execution. >> >> I don't have to do this with a custom property. That is if the >> script is... >> put the NewProperty of this card into myVar >> and said property doesn't exist, I simply end up with nothing in >> myVar, but it doesn't cause an error and the script continues. >> >> Does anybody think it would be worth it to have a way to stop errors >> from being produced when referring to non-existent controls? >> >> Ray Horsley >> LinkIt! Software >> > > Well, surely the trick is to do something like this: > > if exists(fld "My Field") then > put fld "My Field" into myVar > end if > > Easy-Peasy-Lemon-Squeezy! > > Richmond. > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From pete at lcsql.com Sun Nov 24 12:25:21 2013 From: pete at lcsql.com (Peter Haworth) Date: Sun, 24 Nov 2013 09:25:21 -0800 Subject: Does a Control Exist? In-Reply-To: <529229D3.7010601@LinkIt.Com> References: <529223DF.2030308@economy-x-talk.com> <529229D3.7010601@LinkIt.Com> Message-ID: I feel like that's more a problem with custom property creation than a problem with errors on objects that don't exist. The custom property issue has been discussed a few times on the list and Alex Tweedly has a neat little stack that helps with the issue. Sure wish there was an engine/IDE solution to it though. Pete lcSQL Software On Sun, Nov 24, 2013 at 8:31 AM, Ray wrote: > After loosely following the item delimiter thread last week a similar idea > came to me today which might be an interesting discussion. > > It's often time consuming to type spell out... > if there is a field "My Field" then put field "My Field" into myVar > > If I don't first check to see if the control exists [and it doesn't] I get > an error and the script stops execution. > > I don't have to do this with a custom property. That is if the script > is... > put the NewProperty of this card into myVar > and said property doesn't exist, I simply end up with nothing in myVar, > but it doesn't cause an error and the script continues. > > Does anybody think it would be worth it to have a way to stop errors from > being produced when referring to non-existent controls? > > Ray Horsley > LinkIt! Software > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From richmondmathewson at gmail.com Sun Nov 24 12:27:01 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 24 Nov 2013 19:27:01 +0200 Subject: Does a Control Exist? In-Reply-To: <52923048.1010700@LinkIt.Com> References: <529223DF.2030308@economy-x-talk.com> <529229D3.7010601@LinkIt.Com> <52922D71.1060302@gmail.com> <52923048.1010700@LinkIt.Com> Message-ID: <529236E5.3040504@gmail.com> On 24.11.2013 18:58, Ray wrote: > Yeah, I know there are various ways of checking whether the control > exists or not before proceeding. I just wondered whether anybody else > thought it might be nice not to have to do that since it does halt the > script if the control doesn't exist. > >> Well, surely the trick is to do something like this: >> >> if exists(fld "My Field") then >> put fld "My Field" into myVar >> end if >> >> Easy-Peasy-Lemon-Squeezy! >> >> Richmond. >> I must be missing something . . . I'm not sure what you mean by "halt the script". Certainly, if fld "My Field" does not exist the script won't put anything into myVar, after all, it's not meant to. I just tried something else, in an attempt to understand what you meant by "halt the script"; I set up a stack with one fld "cheese" and a one btn "Button" containing this script: on mouseUp if exists(fld "dogs") then put "yap" into fld "dogs" end if if exists(fld "cheese") then put "zip" into fld "cheese" end if end mouseUp Now, as fld "dogs" does not exist, "yap" appears nowhere, but "zip" does end up in fld "cheese"; so the fact that fld "dogs" does not exists does not stop the rest of the script from doing what it should. Richmond. From pete at lcsql.com Sun Nov 24 12:29:23 2013 From: pete at lcsql.com (Peter Haworth) Date: Sun, 24 Nov 2013 09:29:23 -0800 Subject: SQL: using the newly inserted index as a value for insertion In-Reply-To: <52919426.9000709@graymattercomputing.com> References: <52919426.9000709@graymattercomputing.com> Message-ID: I think David has a better solutionthan my trigger idea.. You'd have to replace the word "key" with (SELECT last_insert_rowid()) and be sure that everything is done within the scope of a single transaction. That assumes that you have an INTEGER PRIMARY KEY column in your table since rowid is a synonym for it. Pete lcSQL Software On Sat, Nov 23, 2013 at 9:52 PM, David Glass wrote: > How much control over the databases do you have? > > If you have some measure of control I'd think the simplest solution would > be to get away from the auto-incrementing key, and provide your own. > Then you know exactly what the value needs to be in each of your > statements. > > Barring that, for the three dbs you are dealing with you'll have to > specialize a bit and use the functions available to each one. > > RETURNING for PostgreSQL is probably best, but SELECT LASTVAL() would work. > LAST_INSERT_ID() for MySQL > LAST_INSERT_ROWID() for SQLite > > Keeping in mind the danger inherent in those last two (and LASTVAL()), of > course. > > > On 11/23/2013, 8:54 PM, Dr. Hawkins wrote: > >> Perhaps a simpler way to explain what I'm after: >> >> Suppose I need to retrieve that the value of joe's"stuff" is "fluffy". >> >> Suppose further that when I toss this in, the primary key that gets >> assigned will be "5" >> >> So I want to be able to retrieve the command to put this into the :memory: >> db: >> >> INSERT INTO memTable (key, child, stuff) VALUES(5,'Joe', 'fluffy'); >> >> but I don't know that 5 will be assigned when I put this into the table. >> So my thinking is >> >> INSERT INTO masterTable (child,scratch) VALUES('Joe','abc123'); >> UPDATE masterTable SET cmd='INSERT INTO memTable (key, child, stuff) >> VALUES(' || key ||' ,''Joe'', ''fluffy'');' WHERE scratch='abc123'; >> >> The actual commands are more complicated; there are about 45 fields that >> get set. There is also no guarantee that the child (Joe) is unique (in >> fact, frequently it will not be). >> >> What I'm seeing is that "key" is indeed recognized as a column name--but >> it >> states that there is no such column available. >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> >> -- >> David Glass - Gray Matter Computing >> graymattercomputing.com >> Central Valley: 559-303-4915 >> East Bay: 925-335-8486 >> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dochawk at gmail.com Sun Nov 24 12:33:10 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Sun, 24 Nov 2013 09:33:10 -0800 Subject: SQL: using the newly inserted index as a value for insertion In-Reply-To: References: Message-ID: On Sat, Nov 23, 2013 at 10:26 PM, Peter Haworth wrote: > You want the word key to be replaced by the value of the primary key from > the row from the INSERT statement? > Yes; the primary key assigned on the previous command. > If so, that's how the trigger can help. You can refer to any column from > the INSERT using the syntax "new.colname" where colname is the name of any > column in master table. > What I'm missing (and is probably fundamental) is *why* I can't use the value of the column in my UPDATE, and why postgres answers that the column doesn't exist. If I run BEGIN TRANSACTION; UPDATE theTable SET price=100 WHERE key=7; UPDATE theTable SET profit=price/3 WHERE key=7; END TRANSACTION; I should get profit set to 33 in that record (subject to rollback). I'm not seeing the difference between setting that value in an insert and using it the next line in an update on the one hadnd, and changing in an update then using that changed value on the next line. Sure, I'm using it as part of a string operation, but postgres is supposed to support those. And won't a trigger be expensive, taking time every time I UPDATE over a relatively uncommon event? > Still not 100% sure I understand but maybe that helps. > I think so, but I'm not there yet :) And isn't -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From pete at lcsql.com Sun Nov 24 13:12:02 2013 From: pete at lcsql.com (Peter Haworth) Date: Sun, 24 Nov 2013 10:12:02 -0800 Subject: SQL: using the newly inserted index as a value for insertion In-Reply-To: References: Message-ID: Assuming there really is a column named key, I don't know why you're getting the error, maybe because key is a reserved word. However, as mentioned in my last email, I think David's solution is better than my idea of using a trigger. Your UPDATE statement would be: UPDATE remoteTable SET cmd='INSERT INTO localTable (key,stuff) VALUES(' || (SELECT last_insert_rowid()) || ', ''this is some stuff'' ); ' WHERE scratch='scratchKey'; I think it's OK to include a SELECT statement as a value in an UPDATE command but not 100% sure. Just to clarify on the trigger statement, the trigger would be defined to happen on an INSERT to remotetable, not an UPDATE and if you decided to go that route, then the SLECT statement above would be replaced by "new.rowid" Pete lcSQL Software On Sun, Nov 24, 2013 at 9:33 AM, Dr. Hawkins wrote: > On Sat, Nov 23, 2013 at 10:26 PM, Peter Haworth wrote: > > > You want the word key to be replaced by the value of the primary key from > > the row from the INSERT statement? > > > > Yes; the primary key assigned on the previous command. > > > > If so, that's how the trigger can help. You can refer to any column > from > > the INSERT using the syntax "new.colname" where colname is the name of > any > > column in master table. > > > > What I'm missing (and is probably fundamental) is *why* I can't use the > value of the column in my UPDATE, and why postgres answers that the column > doesn't exist. > > If I run > > BEGIN TRANSACTION; > UPDATE theTable SET price=100 WHERE key=7; > UPDATE theTable SET profit=price/3 WHERE key=7; > END TRANSACTION; > > I should get profit set to 33 in that record (subject to rollback). > > I'm not seeing the difference between setting that value in an insert and > using it the next line in an update on the one hadnd, and changing in an > update then using that changed value on the next line. > > Sure, I'm using it as part of a string operation, but postgres is supposed > to support those. > > And won't a trigger be expensive, taking time every time I UPDATE over a > relatively uncommon event? > > > > Still not 100% sure I understand but maybe that helps. > > > > I think so, but I'm not there yet :) > > And isn't > > > > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From gcanyon at gmail.com Sun Nov 24 13:46:46 2013 From: gcanyon at gmail.com (Geoff Canyon) Date: Sun, 24 Nov 2013 12:46:46 -0600 Subject: Feedback request: getProp/setProp and lockMessages In-Reply-To: <5290F1C2.6030509@fourthworld.com> References: <1425156394.20131123091434@ahsoftware.net> <5290F1C2.6030509@fourthworld.com> Message-ID: On Sat, Nov 23, 2013 at 12:19 PM, Richard Gaskin wrote: > I wonder if there might be some other global property - perhaps the " > killEveryMovingFanBladeSoICanStickMyFingersBetweenThem" - that could help > with such diagnostics. > > Of course I'm joking about the token name, but this seems like something > rarely needed though useful when it is, and arguably should extend to all > custom message (send, dispatch, etc.). > This was going to be my one suggestion. Otherwise, I'm all for this. I think your proposed syntax is a little verbose -- how about seriouslyStopSquirming? ;-) Actually, in a sense, isn't there a parallel to levels of execution privilege: system messages are 0, getprop and setprop are 1, code explicitly called by the current handler is 2, the current handler is 3, and the message box is 4. That way you just set the privilege level required to execute -- the engine could even have some way of interrupting everything to set the execution level for when we get stuck in a bad place, so it would be easy to set to 4, then save, or save as, etc. and things like lock messages could be synonyms for setting the execution level. From pete at lcsql.com Sun Nov 24 13:58:37 2013 From: pete at lcsql.com (Peter Haworth) Date: Sun, 24 Nov 2013 10:58:37 -0800 Subject: Why does this line work in IDE, fail in standalone? In-Reply-To: <528564B1.5000204@fourthworld.com> References: <1384453820387-4672338.post@n4.nabble.com> <528564B1.5000204@fourthworld.com> Message-ID: Another belated thought on this since I've just run into the same issue. I'm not seeing why copying a control from a password protected stack poses a security issue if it does not have a script. I can quite easily see the graphic representation of the object and see or change any of it's properties, including custom ones, via script or the IDE. Pete lcSQL Software On Thu, Nov 14, 2013 at 4:02 PM, Richard Gaskin wrote: > Cloning objects that contain scripts seems like a good candidate for > behaviors, where you could protect the stack that has the behavior script > and leave the stack that has the template object to be cloned without a > password, since it won't have any code anyway. > > -- > 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Sun Nov 24 14:08:15 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 24 Nov 2013 13:08:15 -0600 Subject: Does a Control Exist? In-Reply-To: <529229D3.7010601@LinkIt.Com> References: <529223DF.2030308@economy-x-talk.com> <529229D3.7010601@LinkIt.Com> Message-ID: <52924E9F.1020205@hyperactivesw.com> On 11/24/13 10:31 AM, Ray wrote: > After loosely following the item delimiter thread last week a similar > idea came to me today which might be an interesting discussion. > > It's often time consuming to type spell out... > if there is a field "My Field" then put field "My Field" into myVar > > If I don't first check to see if the control exists [and it doesn't] I > get an error and the script stops execution. > > I don't have to do this with a custom property. That is if the script > is... > put the NewProperty of this card into myVar > and said property doesn't exist, I simply end up with nothing in myVar, > but it doesn't cause an error and the script continues. > > Does anybody think it would be worth it to have a way to stop errors > from being produced when referring to non-existent controls? I think it would be dangerous, there would be too many other script complications if the engine worked that way. But you can do this on your own without a change to the engine. Instead of directly putting text into the field (or manipulating any other control,) create a setProp handler that does it instead. Then the setProp handler can check the existence and just exit without taking any action if the object doesn't exist. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sun Nov 24 14:09:30 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 24 Nov 2013 13:09:30 -0600 Subject: Does a Control Exist? In-Reply-To: <8D0B74FA290739E-6B0-668D2@webmail-d253.sysops.aol.com> References: <529223DF.2030308@economy-x-talk.com> <529229D3.7010601@LinkIt.Com> <52922D71.1060302@gmail.com> <52923048.1010700@LinkIt.Com> <8D0B74FA290739E-6B0-668D2@webmail-d253.sysops.aol.com> Message-ID: <52924EEA.5010003@hyperactivesw.com> On 11/24/13 11:13 AM, dunbarx at aol.com wrote: > P.S. Jacque and many others will know where 'foo" came from. What about "author"? If it isn't in the LiveCode dictionary, I'm clueless. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ray at linkit.com Sun Nov 24 14:37:21 2013 From: ray at linkit.com (Ray) Date: Sun, 24 Nov 2013 14:37:21 -0500 Subject: Does a Control Exist? In-Reply-To: <529236E5.3040504@gmail.com> References: <529223DF.2030308@economy-x-talk.com> <529229D3.7010601@LinkIt.Com> <52922D71.1060302@gmail.com> <52923048.1010700@LinkIt.Com> <529236E5.3040504@gmail.com> Message-ID: <52925571.2060908@LinkIt.Com> Really? When I do this... on mouseUp put "test 1" into fld "Cats" -- this field does not exist put "test 2" into fld "Dogs" -- this field does exist end mouseUp the script editor window pops up on the first line alerting me with an error. It never progresses to the second line. I haven't tried this in a standalone but I'm pretty sure the script will stop all the same just as soon as it encounters the first line. Nonetheless, I'm not all that sure I'm in favor of changing things. The idea just occurred to me so I decided to see what other devs on the list think about it as long as it's a relatively low traffic Sunday. Ray On 11/24/2013 12:27 PM, Richmond wrote: > On 24.11.2013 18:58, Ray wrote: >> Yeah, I know there are various ways of checking whether the control >> exists or not before proceeding. I just wondered whether anybody >> else thought it might be nice not to have to do that since it does >> halt the script if the control doesn't exist. >> >>> Well, surely the trick is to do something like this: >>> >>> if exists(fld "My Field") then >>> put fld "My Field" into myVar >>> end if >>> >>> Easy-Peasy-Lemon-Squeezy! >>> >>> Richmond. >>> > > I must be missing something . . . > > I'm not sure what you mean by "halt the script". > > Certainly, if fld "My Field" does not exist the script won't put > anything into myVar, after all, it's > not meant to. > > I just tried something else, in an attempt to understand what you > meant by "halt the script"; > > I set up a stack with one fld "cheese" and a one btn "Button" > containing this script: > > on mouseUp > if exists(fld "dogs") then > put "yap" into fld "dogs" > end if > if exists(fld "cheese") then > put "zip" into fld "cheese" > end if > end mouseUp > > Now, as fld "dogs" does not exist, "yap" appears nowhere, but "zip" > does end up in fld "cheese"; > > so the fact that fld "dogs" does not exists does not stop the rest of > the script from doing what it should. > > Richmond. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Sun Nov 24 14:55:28 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 24 Nov 2013 21:55:28 +0200 Subject: Does a Control Exist? In-Reply-To: <52925571.2060908@LinkIt.Com> References: <529223DF.2030308@economy-x-talk.com> <529229D3.7010601@LinkIt.Com> <52922D71.1060302@gmail.com> <52923048.1010700@LinkIt.Com> <529236E5.3040504@gmail.com> <52925571.2060908@LinkIt.Com> Message-ID: <529259B0.5060703@gmail.com> On 24.11.2013 21:37, Ray wrote: > Really? When I do this... > > on mouseUp > put "test 1" into fld "Cats" -- this field does not > exist > put "test 2" into fld "Dogs" -- this field does exist > end mouseUp > > the script editor window pops up on the first line alerting me with an > error. It never progresses to the second line. I haven't tried this > in a standalone but I'm pretty sure the script will stop all the same > just as soon as it encounters the first line. That WILL halt the script, hence the need to use if exists(some control) then do something end if checks. If you try to pour a bucket of water into a non-existent bath-tub you will get wet feet, at which point you will be so cheesed-off you will be unable to proceed with whatever you had planned to do subsequently. Richmond. > > Nonetheless, I'm not all that sure I'm in favor of changing things. > The idea just occurred to me so I decided to see what other devs on > the list think about it as long as it's a relatively low traffic Sunday. > > Ray > > On 11/24/2013 12:27 PM, Richmond wrote: >> On 24.11.2013 18:58, Ray wrote: >>> Yeah, I know there are various ways of checking whether the control >>> exists or not before proceeding. I just wondered whether anybody >>> else thought it might be nice not to have to do that since it does >>> halt the script if the control doesn't exist. >>> >>>> Well, surely the trick is to do something like this: >>>> >>>> if exists(fld "My Field") then >>>> put fld "My Field" into myVar >>>> end if >>>> >>>> Easy-Peasy-Lemon-Squeezy! >>>> >>>> Richmond. >>>> >> >> I must be missing something . . . >> >> I'm not sure what you mean by "halt the script". >> >> Certainly, if fld "My Field" does not exist the script won't put >> anything into myVar, after all, it's >> not meant to. >> >> I just tried something else, in an attempt to understand what you >> meant by "halt the script"; >> >> I set up a stack with one fld "cheese" and a one btn "Button" >> containing this script: >> >> on mouseUp >> if exists(fld "dogs") then >> put "yap" into fld "dogs" >> end if >> if exists(fld "cheese") then >> put "zip" into fld "cheese" >> end if >> end mouseUp >> >> Now, as fld "dogs" does not exist, "yap" appears nowhere, but "zip" >> does end up in fld "cheese"; >> >> so the fact that fld "dogs" does not exists does not stop the rest of >> the script from doing what it should. >> >> Richmond. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dunbarx at aol.com Sun Nov 24 15:07:08 2013 From: dunbarx at aol.com (dunbarx at aol.com) Date: Sun, 24 Nov 2013 15:07:08 -0500 (EST) Subject: Does a Control Exist? In-Reply-To: <52924EEA.5010003@hyperactivesw.com> References: <529223DF.2030308@economy-x-talk.com> <529229D3.7010601@LinkIt.Com> <52922D71.1060302@gmail.com> <52923048.1010700@LinkIt.Com> <8D0B74FA290739E-6B0-668D2@webmail-d253.sysops.aol.com> <52924EEA.5010003@hyperactivesw.com> Message-ID: <8D0B767E3894627-6B0-678D1@webmail-d253.sysops.aol.com> Jacque. Pretty sure "foo" was penned by Goodman. And "author" was used by him as well, derived, I guess, from userLevel 4 in HC. Craig -----Original Message----- From: J. Landman Gay To: How to use LiveCode Sent: Sun, Nov 24, 2013 2:09 pm Subject: Re: Does a Control Exist? On 11/24/13 11:13 AM, dunbarx at aol.com wrote: > P.S. Jacque and many others will know where 'foo" came from. What about "author"? If it isn't in the LiveCode dictionary, I'm clueless. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Sun Nov 24 15:15:28 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 24 Nov 2013 14:15:28 -0600 Subject: Does a Control Exist? In-Reply-To: <8D0B767E3894627-6B0-678D1@webmail-d253.sysops.aol.com> References: <529223DF.2030308@economy-x-talk.com> <529229D3.7010601@LinkIt.Com> <52922D71.1060302@gmail.com> <52923048.1010700@LinkIt.Com> <8D0B74FA290739E-6B0-668D2@webmail-d253.sysops.aol.com> <52924EEA.5010003@hyperactivesw.com> <8D0B767E3894627-6B0-678D1@webmail-d253.sysops.aol.com> Message-ID: <52925E60.7010508@hyperactivesw.com> On 11/24/13 2:07 PM, dunbarx at aol.com wrote: > > Pretty sure "foo" was penned by Goodman. And "author" was used by him as well, > derived, I guess, from userLevel 4 in HC. Okay, so I looked it up. Says 1938 at MIT (they did "bar" too.) As for "author", no idea, except maybe that we write code the way some people write books, even though we strive for brevity more than some of them. My gut wants to attribute it to HC though. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sun Nov 24 15:23:21 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 24 Nov 2013 14:23:21 -0600 Subject: Does a Control Exist? In-Reply-To: <529259B0.5060703@gmail.com> References: <529223DF.2030308@economy-x-talk.com> <529229D3.7010601@LinkIt.Com> <52922D71.1060302@gmail.com> <52923048.1010700@LinkIt.Com> <529236E5.3040504@gmail.com> <52925571.2060908@LinkIt.Com> <529259B0.5060703@gmail.com> Message-ID: <52926039.6050104@hyperactivesw.com> On 11/24/13 1:55 PM, Richmond wrote: > That WILL halt the script, hence the need to use > > if exists(some control) then > do something > end if > > checks. > Right. But Ray's requesting that we not have to do any existence check in the first place. He wants the engine to fail silently. I think that would cause issues if it were implemented. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mwieder at ahsoftware.net Sun Nov 24 15:35:29 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 24 Nov 2013 12:35:29 -0800 Subject: another mobile LC ebook Message-ID: <5523610604.20131124123529@ahsoftware.net> LiveCode Mobile Development Hotshot: Haven't looked at the book, but a glance through the downloadable example code seems reasonable enough, although it's pretty simple stuff and there's an overuse of global variables. Might be good for beginners. At any rate, it's good to see more titles appearing. If you're going to get it, order through O-Reilly - avoid having to deal with Packt directly. http://shop.oreilly.com/product/9781849697484.do -- -Mark Wieder ahsoftware at gmail.com From richmondmathewson at gmail.com Sun Nov 24 15:56:34 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 24 Nov 2013 22:56:34 +0200 Subject: Does a Control Exist? In-Reply-To: <52926039.6050104@hyperactivesw.com> References: <529223DF.2030308@economy-x-talk.com> <529229D3.7010601@LinkIt.Com> <52922D71.1060302@gmail.com> <52923048.1010700@LinkIt.Com> <529236E5.3040504@gmail.com> <52925571.2060908@LinkIt.Com> <529259B0.5060703@gmail.com> <52926039.6050104@hyperactivesw.com> Message-ID: <52926802.4040306@gmail.com> On 24.11.2013 22:23, J. Landman Gay wrote: > On 11/24/13 1:55 PM, Richmond wrote: > >> That WILL halt the script, hence the need to use >> >> if exists(some control) then >> do something >> end if >> >> checks. >> > > Right. But Ray's requesting that we not have to do any existence check > in the first place. He wants the engine to fail silently. I think that > would cause issues if it were implemented. > Anything that fails silently is a pain in the bum as it is then very difficult indeed to see whether or why it failed. Richmond. From ray at linkit.com Sun Nov 24 16:04:42 2013 From: ray at linkit.com (Ray) Date: Sun, 24 Nov 2013 16:04:42 -0500 Subject: Does a Control Exist? In-Reply-To: <52926802.4040306@gmail.com> References: <529223DF.2030308@economy-x-talk.com> <529229D3.7010601@LinkIt.Com> <52922D71.1060302@gmail.com> <52923048.1010700@LinkIt.Com> <529236E5.3040504@gmail.com> <52925571.2060908@LinkIt.Com> <529259B0.5060703@gmail.com> <52926039.6050104@hyperactivesw.com> <52926802.4040306@gmail.com> Message-ID: <529269EA.6040503@LinkIt.Com> After looking at these thoughts I think I agree with Richmond. It can make for a difficult situation if something silently fails, so the trade off with first having to check whether or not something exists is probably best. My original comparison to custom properties in which case you don't have to check to see if the property exists, and if it doesn't the script keeps on going, is not totally fair since custom properties are not the same as controls. Ray On 11/24/2013 3:56 PM, Richmond wrote: > On 24.11.2013 22:23, J. Landman Gay wrote: >> On 11/24/13 1:55 PM, Richmond wrote: >> >>> That WILL halt the script, hence the need to use >>> >>> if exists(some control) then >>> do something >>> end if >>> >>> checks. >>> >> >> Right. But Ray's requesting that we not have to do any existence >> check in the first place. He wants the engine to fail silently. I >> think that would cause issues if it were implemented. >> > > Anything that fails silently is a pain in the bum as it is then very > difficult indeed to see whether or why it failed. > > Richmond. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mwieder at ahsoftware.net Sun Nov 24 17:46:17 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 24 Nov 2013 14:46:17 -0800 Subject: Does a Control Exist? In-Reply-To: <529269EA.6040503@LinkIt.Com> References: <529223DF.2030308@economy-x-talk.com> <529229D3.7010601@LinkIt.Com> <52922D71.1060302@gmail.com> <52923048.1010700@LinkIt.Com> <529236E5.3040504@gmail.com> <52925571.2060908@LinkIt.Com> <529259B0.5060703@gmail.com> <52926039.6050104@hyperactivesw.com> <52926802.4040306@gmail.com> <529269EA.6040503@LinkIt.Com> Message-ID: <98531458973.20131124144617@ahsoftware.net> Ray- Sunday, November 24, 2013, 1:04:42 PM, you wrote: > My original comparison to custom properties in which case you don't have > to check to see if the property exists, and if it doesn't the script > keeps on going, is not totally fair since custom properties are not the > same as controls. It's not an entirely unfair comparison either, because it's a bit difficult to tell whether or not a custom property exists before getting its contents. -- -Mark Wieder ahsoftware at gmail.com From dochawk at gmail.com Sun Nov 24 19:50:49 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Sun, 24 Nov 2013 16:50:49 -0800 Subject: SQL: using the newly inserted index as a value for insertion In-Reply-To: <52919426.9000709@graymattercomputing.com> References: <52919426.9000709@graymattercomputing.com> Message-ID: On Sat, Nov 23, 2013 at 9:52 PM, David Glass wrote: > How much control over the databases do you have? > Pretty much complete, but . . . > > If you have some measure of control I'd think the simplest solution would > be to get away from the auto-incrementing key, and provide your own. > Then you know exactly what the value needs to be in each of your > statements. > That opens bigger cans of worms :) The presumption is simultaneous users with periodic updates (the lag stops me from doing them real time, so I store in memory until synchronization when no keystrokes for a while). If Jane enters a new record on her machine, and Wendy a new record on hers, local assignment would give them both the same key, at which point I have to deal with *that* when the second one trys to sync . . . so they keep a temporary id in memory, and the same transaction that inserts to the table finds the new record and brings it back. My temporary workaround is to do a replace in livecode to fix the returned string when I read back, but I have to check every record from the remote for this. Once fixed, on the next update it will write the correct string back to the remote. > Barring that, for the three dbs you are dealing with you'll have to > specialize a bit and use the functions available to each one. > > RETURNING for PostgreSQL is probably best, but SELECT LASTVAL() would work. > LAST_INSERT_ID() for MySQL > LAST_INSERT_ROWID() for SQLite > > Keeping in mind the danger inherent in those last two (and LASTVAL()), of > course. However, I would need to process these after transactions, wouldn't I? Bringing me back to two transactions, and two lags. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From dglass at graymattercomputing.com Sun Nov 24 23:04:32 2013 From: dglass at graymattercomputing.com (David Glass) Date: Sun, 24 Nov 2013 20:04:32 -0800 Subject: SQL: using the newly inserted index as a value for insertion In-Reply-To: References: <52919426.9000709@graymattercomputing.com> Message-ID: <5292CC50.5050602@graymattercomputing.com> If you work to make sure the keys are unique then the risk of collision should be minimal. A date stamp down to the second (with all the special bits stripped) with microseconds tacked on the end, and an identifier based on user login, or machine id, or whatever you have available seems like it would be workable. > That opens bigger cans of worms :) > > The presumption is simultaneous users with periodic updates (the lag stops > me from doing them real time, so I store in memory until synchronization > when no keystrokes for a while). If Jane enters a new record on her > machine, and Wendy a new record on hers, local assignment would give them > both the same key, at which point I have to deal with *that* when the > second one trys to sync . . . so they keep a temporary id in memory, and > the same transaction that inserts to the table finds the new record and > brings it back. From acm at armas.com Mon Nov 25 00:29:33 2013 From: acm at armas.com (Mike Markkula) Date: Sun, 24 Nov 2013 21:29:33 -0800 Subject: Does a Control Exist? In-Reply-To: References: <529223DF.2030308@economy-x-talk.com> <529229D3.7010601@LinkIt.Com> Message-ID: <496B5653-0A95-438B-B4D0-4D09A77EF19F@armas.com> What ever happened to "on error"? Mike On Nov 24, 2013, at 9:25 AM, Peter Haworth wrote: > I feel like that's more a problem with custom property creation than a > problem with errors on objects that don't exist. The custom property issue > has been discussed a few times on the list and Alex Tweedly has a neat > little stack that helps with the issue. Sure wish there was an engine/IDE > solution to it though. > > Pete > lcSQL Software > > > On Sun, Nov 24, 2013 at 8:31 AM, Ray wrote: > >> After loosely following the item delimiter thread last week a similar idea >> came to me today which might be an interesting discussion. >> >> It's often time consuming to type spell out... >> if there is a field "My Field" then put field "My Field" into myVar >> >> If I don't first check to see if the control exists [and it doesn't] I get >> an error and the script stops execution. >> >> I don't have to do this with a custom property. That is if the script >> is... >> put the NewProperty of this card into myVar >> and said property doesn't exist, I simply end up with nothing in myVar, >> but it doesn't cause an error and the script continues. >> >> Does anybody think it would be worth it to have a way to stop errors from >> being produced when referring to non-existent controls? >> >> Ray Horsley >> LinkIt! Software >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From stephenREVOLUTION2 at barncard.com Mon Nov 25 00:35:59 2013 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sun, 24 Nov 2013 21:35:59 -0800 Subject: Does a Control Exist? In-Reply-To: <496B5653-0A95-438B-B4D0-4D09A77EF19F@armas.com> References: <529223DF.2030308@economy-x-talk.com> <529229D3.7010601@LinkIt.Com> <496B5653-0A95-438B-B4D0-4D09A77EF19F@armas.com> Message-ID: ?Hi Mike, I'm pretty sure "on error" is a Hypercard thing?. Livecode/Rev has always used TRY / CATCH? which is actually more useful. ?sqb? On Sun, Nov 24, 2013 at 9:29 PM, Mike Markkula wrote: > What ever happened to "on error"? *--* *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words* From jacque at hyperactivesw.com Mon Nov 25 00:46:04 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 24 Nov 2013 23:46:04 -0600 Subject: Does a Control Exist? In-Reply-To: References: <529223DF.2030308@economy-x-talk.com> <529229D3.7010601@LinkIt.Com> <496B5653-0A95-438B-B4D0-4D09A77EF19F@armas.com> Message-ID: <5292E41C.4060508@hyperactivesw.com> On 11/24/13 11:35 PM, stephen barncard wrote: > ?Hi Mike, > > I'm pretty sure "on error" is a Hypercard thing?. > > Livecode/Rev has always used TRY / CATCH? which is actually more useful. We've got "errorDialog" which does close to the same thing. But in any case, the script still stops. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From niconiko at gmail.com Mon Nov 25 00:59:12 2013 From: niconiko at gmail.com (Nicolas Cueto) Date: Mon, 25 Nov 2013 14:59:12 +0900 Subject: Android orientation Message-ID: Hi. My android device was upside down, so of course my app too opened up upside down. But shook the tablet a bit and now the app re-orients right-side up. So, how do I get the app to re-orient itself before appearing onscreen sans the shakes? Had a look at the docs but no examples provided. Thanks. -- Nicolas Cueto From neil at runrev.com Mon Nov 25 03:41:31 2013 From: neil at runrev.com (Neil Roger) Date: Mon, 25 Nov 2013 08:41:31 +0000 Subject: Android orientation In-Reply-To: References: Message-ID: <52930D3B.7070802@runrev.com> Dear Nicolas, This is a known bug that we are looking into fixing. A report on the issue can be viewed here- http://quality.runrev.com/show_bug.cgi?id=11146 Kind Regards Neil Roger -- RunRev Support Team ~ http://www.runrev.com LiveCode ? Realize fast, compile-free coding -- On 25/11/2013 05:59, Nicolas Cueto wrote: > Hi. > > My android device was upside down, so of course my app too opened up > upside down. But shook the tablet a bit and now the app re-orients > right-side up. > > So, how do I get the app to re-orient itself before appearing onscreen > sans the shakes? > > Had a look at the docs but no examples provided. > > Thanks. > > -- > Nicolas Cueto > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From niconiko at gmail.com Mon Nov 25 05:34:27 2013 From: niconiko at gmail.com (Nicolas Cueto) Date: Mon, 25 Nov 2013 19:34:27 +0900 Subject: Android orientation In-Reply-To: <52930D3B.7070802@runrev.com> References: <52930D3B.7070802@runrev.com> Message-ID: Thanks for the reply, Neil. -- Nicolas Cueto From MikeKerner at roadrunner.com Mon Nov 25 09:52:00 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 25 Nov 2013 09:52:00 -0500 Subject: Does a Control Exist? In-Reply-To: <5292E41C.4060508@hyperactivesw.com> References: <529223DF.2030308@economy-x-talk.com> <529229D3.7010601@LinkIt.Com> <496B5653-0A95-438B-B4D0-4D09A77EF19F@armas.com> <5292E41C.4060508@hyperactivesw.com> Message-ID: what about using the result? On Mon, Nov 25, 2013 at 12:46 AM, J. Landman Gay wrote: > On 11/24/13 11:35 PM, stephen barncard wrote: > >> Hi Mike, >> >> I'm pretty sure "on error" is a Hypercard thing?. >> >> Livecode/Rev has always used TRY / CATCH which is actually more useful. >> > > We've got "errorDialog" which does close to the same thing. But in any > case, the script still stops. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From MikeKerner at roadrunner.com Mon Nov 25 09:52:58 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 25 Nov 2013 09:52:58 -0500 Subject: Does a Control Exist? In-Reply-To: References: <529223DF.2030308@economy-x-talk.com> <529229D3.7010601@LinkIt.Com> <496B5653-0A95-438B-B4D0-4D09A77EF19F@armas.com> <5292E41C.4060508@hyperactivesw.com> Message-ID: as in allowing the silent fail and noting the fail in the result On Mon, Nov 25, 2013 at 9:52 AM, Mike Kerner wrote: > what about using the result? > > > On Mon, Nov 25, 2013 at 12:46 AM, J. Landman Gay > wrote: > >> On 11/24/13 11:35 PM, stephen barncard wrote: >> >>> Hi Mike, >>> >>> I'm pretty sure "on error" is a Hypercard thing?. >>> >>> Livecode/Rev has always used TRY / CATCH which is actually more useful. >>> >> >> We've got "errorDialog" which does close to the same thing. But in any >> case, the script still stops. >> >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > > > -- > On the first day, God created the heavens and the Earth > On the second day, God created the oceans. > On the third day, God put the animals on hold for a few hours, > and did a little diving. > And God said, "This is good." > -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From revolution at derbrill.de Mon Nov 25 11:08:03 2013 From: revolution at derbrill.de (Malte Brill) Date: Mon, 25 Nov 2013 17:08:03 +0100 Subject: Does a Control Exist? In-Reply-To: References: Message-ID: <97E46739-9D83-48D4-B1E6-60DD11AA81EE@derbrill.de> Please do not allow more silent failing as we already have! In most cases, a fail will result from typos or not clearly laid out code. Everything that fails silently is a major pain to debug. If you try to fill a field and it is not there, it is an error. I *expect* the code to halt there, as it was most likely me making an error in my code. I have always been an advocate to making the engine a lot stricter (if the person using it decides to use "strict mode" of course). I can not deal with code that has variables declared for example, and if my company has other people writing liveCode for us, basic requirement for code being accepted is that the script compiles in strict mode. Same goes for 3rd party libs. If we do have access to the code base and it does not compile in strict mode, we are very unlikely to use it. Might sound paranoid, but it saves from maintenance nightmares. Comparing the proposal with custom properties, well I would prefer the engine to be a little stricter there too. But that might be just me. Comparing the proposal with what the IDE does also drives me nuts! There are many IDE (and datagrid) errors, that are just being swallowed by gRevDevelopment. I could go berzerk when you just do not see that something went wrong inside the IDE, just to find that it explodes into your face in the standalone? So please, pretty please with cream and a cherry on top: Not more silent failing, but less! 3 cents due to inflation, Malte From mwieder at ahsoftware.net Mon Nov 25 11:11:54 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 25 Nov 2013 08:11:54 -0800 Subject: Does a Control Exist? In-Reply-To: References: <529223DF.2030308@economy-x-talk.com> <529229D3.7010601@LinkIt.Com> <496B5653-0A95-438B-B4D0-4D09A77EF19F@armas.com> <5292E41C.4060508@hyperactivesw.com> Message-ID: <148594196065.20131125081154@ahsoftware.net> Mike- Monday, November 25, 2013, 6:52:58 AM, you wrote: > as in allowing the silent fail and noting the fail in the result I do that with try/catch: try doOneThing catch e --if doOneThing failed we end up here doSomethingElseInstead end try -- -Mark Wieder ahsoftware at gmail.com From bvlahos at mac.com Mon Nov 25 12:57:57 2013 From: bvlahos at mac.com (Bill Vlahos) Date: Mon, 25 Nov 2013 09:57:57 -0800 Subject: Does a Control Exist? In-Reply-To: References: <529223DF.2030308@economy-x-talk.com> <529229D3.7010601@LinkIt.Com> <496B5653-0A95-438B-B4D0-4D09A77EF19F@armas.com> Message-ID: <5131527D-D31E-47BE-906F-8618144EF2C2@mac.com> I think the point Mike was making is to implement error handling. Yes it is Try/Catch. Bill Vlahos On Nov 24, 2013, at 9:35 PM, stephen barncard wrote: > ?Hi Mike, > > I'm pretty sure "on error" is a Hypercard thing?. > > Livecode/Rev has always used TRY / CATCH? which is actually more useful. > > ?sqb? > > > > On Sun, Nov 24, 2013 at 9:29 PM, Mike Markkula wrote: > >> What ever happened to "on error"? > > > From ray at linkit.com Mon Nov 25 13:26:54 2013 From: ray at linkit.com (Ray) Date: Mon, 25 Nov 2013 13:26:54 -0500 Subject: Collapsing a Row in a Datagrid In-Reply-To: <5131527D-D31E-47BE-906F-8618144EF2C2@mac.com> References: <529223DF.2030308@economy-x-talk.com> <529229D3.7010601@LinkIt.Com> <496B5653-0A95-438B-B4D0-4D09A77EF19F@armas.com> <5131527D-D31E-47BE-906F-8618144EF2C2@mac.com> Message-ID: <5293966E.9040700@LinkIt.Com> Does anybody know of a single line of script I can use to set the height of a single row in a data grid? My data grid's style is table and I've already set the dgProp["fixed row height"] to false. Now I'd like to set the row height of a single row to 0 or 1 or something to simulate collapsing the row. Thanks, Ray Horsley LinkIt! Software From lvhdgc7 at gmail.com Mon Nov 25 14:25:11 2013 From: lvhdgc7 at gmail.com (tbodine) Date: Mon, 25 Nov 2013 11:25:11 -0800 (PST) Subject: Is backdrop better these days? Message-ID: <1385407511206-4672895.post@n4.nabble.com> Hi all. I'm working to add backdrop or an alternative method to an app used for presentations to hide the desktop. I see posts from 05 and 09 say backdrop is more trouble than it's worth... is that still so or has it been improved/fixed? I did roll my own "curtain" substack as an experiment, but the bit I'm missing is how to layer the curtain substack so stays behind the main stack. Suggestions? Thanks, Tom Bodine -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Is-backdrop-better-these-days-tp4672895.html Sent from the Revolution - User mailing list archive at Nabble.com. From roger.e.eller at sealedair.com Mon Nov 25 14:53:17 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Mon, 25 Nov 2013 14:53:17 -0500 Subject: Is backdrop better these days? In-Reply-To: <1385407511206-4672895.post@n4.nabble.com> References: <1385407511206-4672895.post@n4.nabble.com> Message-ID: I often use: set the backdrop to "dark gray" when working in the IDE to hide my clutter. I have an old kiosk application running as a standalone on Windows that uses an logo image as the backdrop. I've never had problems with it really, with new or old versions. 2 cents. ~Roger On Mon, Nov 25, 2013 at 2:25 PM, tbodine wrote: > Hi all. > > I'm working to add backdrop or an alternative method to an app used for > presentations to hide the desktop. I see posts from 05 and 09 say backdrop > is more trouble than it's worth... is that still so or has it been > improved/fixed? > > I did roll my own "curtain" substack as an experiment, but the bit I'm > missing is how to layer the curtain substack so stays behind the main > stack. > Suggestions? > > Thanks, > Tom Bodine > > > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/Is-backdrop-better-these-days-tp4672895.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From klaus at major-k.de Mon Nov 25 14:59:55 2013 From: klaus at major-k.de (Klaus major-k) Date: Mon, 25 Nov 2013 20:59:55 +0100 Subject: Is backdrop better these days? In-Reply-To: <1385407511206-4672895.post@n4.nabble.com> References: <1385407511206-4672895.post@n4.nabble.com> Message-ID: <5D2E04A6-21DC-4025-8FB1-61F272116769@major-k.de> Hi Tom, Am 25.11.2013 um 20:25 schrieb tbodine : > Hi all. > > I'm working to add backdrop or an alternative method to an app used for > presentations to hide the desktop. I see posts from 05 and 09 say backdrop > is more trouble than it's worth... is that still so or has it been > improved/fixed? > > I did roll my own "curtain" substack as an experiment, but the bit I'm > missing is how to layer the curtain substack so stays behind the main stack. > Suggestions? may not help now, but in 6.5 you will be able to: ... set the fullscreenmode of stack "xyz" to "noScale" ###"noScale" - The stack is not scaled, but is centered on the screen instead! set the fullscreen of stack "xyz" to TRUE ... Using the same stack as a backdrop seems like a good idea :-) > Thanks, > Tom Bodine Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From pete at lcsql.com Mon Nov 25 15:04:39 2013 From: pete at lcsql.com (Peter Haworth) Date: Mon, 25 Nov 2013 12:04:39 -0800 Subject: paste Message-ID: A while back, there was a discussion on how to store an control definition in a custom property and create the control from the custom property by copying and pasting the control into and out of the custom property. I have all that working fine but I need the pasted control to end up in a group and the paste command doesn't have an option to paste into a group ( that might be a nice enhancement). Currently I paste the control onto the card, copy it into the group then delete the pasted control. That works OK but wondering if there's a more direct way to do it. Pete lcSQL Software From martyknappster at gmail.com Mon Nov 25 15:13:04 2013 From: martyknappster at gmail.com (Marty Knapp) Date: Mon, 25 Nov 2013 12:13:04 -0800 Subject: paste In-Reply-To: References: Message-ID: <5293AF50.7040904@gmail.com> Hey Pete, You could go the "start editing group" route before your paste. I agree - a paste into group feature would be nice to have in a standalone. Marty Knapp > A while back, there was a discussion on how to store an control definition > in a custom property and create the control from the custom property by > copying and pasting the control into and out of the custom property. > > I have all that working fine but I need the pasted control to end up in a > group and the paste command doesn't have an option to paste into a group ( > that might be a nice enhancement). Currently I paste the control onto the > card, copy it into the group then delete the pasted control. That works OK > but wondering if there's a more direct way to do it. > > Pete > lcSQL Software > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From cmsheffield at icloud.com Mon Nov 25 15:15:12 2013 From: cmsheffield at icloud.com (Chris Sheffield) Date: Mon, 25 Nov 2013 13:15:12 -0700 Subject: paste In-Reply-To: References: Message-ID: I agree with Marty. Try ?start editing group? before doing your paste. I believe you can even lock the screen before doing this if desired. Chris -- Chris Sheffield Read Naturally, Inc. www.readnaturally.com On Nov 25, 2013, at 1:04 PM, Peter Haworth wrote: > A while back, there was a discussion on how to store an control definition > in a custom property and create the control from the custom property by > copying and pasting the control into and out of the custom property. > > I have all that working fine but I need the pasted control to end up in a > group and the paste command doesn't have an option to paste into a group ( > that might be a nice enhancement). Currently I paste the control onto the > card, copy it into the group then delete the pasted control. That works OK > but wondering if there's a more direct way to do it. > > Pete > lcSQL Software > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From skip at magicgate.com Mon Nov 25 15:32:17 2013 From: skip at magicgate.com (Magicgate Software - Skip Kimpel) Date: Mon, 25 Nov 2013 15:32:17 -0500 Subject: LiveCode and VOIP Message-ID: Anybody done any work integrating LC and VOIP together? Custom phone app? SKIP From MikeKerner at roadrunner.com Mon Nov 25 15:38:43 2013 From: MikeKerner at roadrunner.com (Mike Kerner) Date: Mon, 25 Nov 2013 15:38:43 -0500 Subject: Does a Control Exist? In-Reply-To: <5131527D-D31E-47BE-906F-8618144EF2C2@mac.com> References: <529223DF.2030308@economy-x-talk.com> <529229D3.7010601@LinkIt.Com> <496B5653-0A95-438B-B4D0-4D09A77EF19F@armas.com> <5131527D-D31E-47BE-906F-8618144EF2C2@mac.com> Message-ID: It isn't an issue for me. I prefer the current behavior, but if there was a setting that someone could turn on, that would be ok, too. On Mon, Nov 25, 2013 at 12:57 PM, Bill Vlahos wrote: > I think the point Mike was making is to implement error handling. Yes it > is Try/Catch. > > Bill Vlahos > > On Nov 24, 2013, at 9:35 PM, stephen barncard < > stephenREVOLUTION2 at barncard.com> wrote: > > > Hi Mike, > > > > I'm pretty sure "on error" is a Hypercard thing?. > > > > Livecode/Rev has always used TRY / CATCH which is actually more useful. > > > > sqb > > > > > > > > On Sun, Nov 24, 2013 at 9:29 PM, Mike Markkula wrote: > > > >> What ever happened to "on error"? > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- On the first day, God created the heavens and the Earth On the second day, God created the oceans. On the third day, God put the animals on hold for a few hours, and did a little diving. And God said, "This is good." From sschvarstein at gmail.com Mon Nov 25 17:14:17 2013 From: sschvarstein at gmail.com (Sergio Schvarstein) Date: Mon, 25 Nov 2013 23:14:17 +0100 Subject: Photo Library Message-ID: Hi, I need to know if there is any way to access to an iPhone photo library and import a picture to a LC stack. Is it possible ? Thanks in advance. ______________________________ Sergio Schvarstein ______________________________ From gerry.orkin at gmail.com Mon Nov 25 17:19:41 2013 From: gerry.orkin at gmail.com (Gerry) Date: Tue, 26 Nov 2013 09:19:41 +1100 Subject: Photo Library In-Reply-To: References: Message-ID: Yes. Look at http://lessons.runrev.com/s/lessons/m/4069/l/11489-how-do-i-get-an-image-from-my-mobile-photo-library. Perhaps try Googling for information too? Might be quicker. Gerry On 26 November 2013 at 9:15:10 am, Sergio Schvarstein (sschvarstein at gmail.com) wrote: Hi, I need to know if there is any way to access to an iPhone photo library and import a picture to a LC stack. Is it possible ? ? From dunbarx at aol.com Mon Nov 25 17:24:48 2013 From: dunbarx at aol.com (dunbarx at aol.com) Date: Mon, 25 Nov 2013 17:24:48 -0500 (EST) Subject: paste In-Reply-To: References: Message-ID: <8D0B844490501DF-1EDC-772DA@webmail-m299.sysops.aol.com> Pete. Isn't this a job for the "templateControl"? Of course, a major limitation is that there is only one template for each control type. I think it would be great to have as many of these as required, defined, as you are trying to implement, similar to a custom property. Maybe a feature request? Craig -----Original Message----- From: Peter Haworth To: How to use LiveCode Sent: Mon, Nov 25, 2013 3:05 pm Subject: paste A while back, there was a discussion on how to store an control definition in a custom property and create the control from the custom property by copying and pasting the control into and out of the custom property. I have all that working fine but I need the pasted control to end up in a group and the paste command doesn't have an option to paste into a group ( that might be a nice enhancement). Currently I paste the control onto the card, copy it into the group then delete the pasted control. That works OK but wondering if there's a more direct way to do it. Pete lcSQL Software _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From pete at lcsql.com Mon Nov 25 17:36:22 2013 From: pete at lcsql.com (Peter Haworth) Date: Mon, 25 Nov 2013 14:36:22 -0800 Subject: Is backdrop better these days? In-Reply-To: <1385407511206-4672895.post@n4.nabble.com> References: <1385407511206-4672895.post@n4.nabble.com> Message-ID: Like Roger, I use a backdrop when working in the IDE and it's always worked fine in that environment. I've never tried it in a standalone. Pete lcSQL Software On Mon, Nov 25, 2013 at 11:25 AM, tbodine wrote: > Hi all. > > I'm working to add backdrop or an alternative method to an app used for > presentations to hide the desktop. I see posts from 05 and 09 say backdrop > is more trouble than it's worth... is that still so or has it been > improved/fixed? > > I did roll my own "curtain" substack as an experiment, but the bit I'm > missing is how to layer the curtain substack so stays behind the main > stack. > Suggestions? > > Thanks, > Tom Bodine > > > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/Is-backdrop-better-these-days-tp4672895.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at lcsql.com Mon Nov 25 17:49:55 2013 From: pete at lcsql.com (Peter Haworth) Date: Mon, 25 Nov 2013 14:49:55 -0800 Subject: paste In-Reply-To: References: Message-ID: Thanks Chris and Marty. I tried that and it seems to work fine. I'm mildly worried about doing it that way only because I've had issue in the past while in group edit mode but that was while manually editing groups, not doing it by script. Pete lcSQL Software On Mon, Nov 25, 2013 at 12:15 PM, Chris Sheffield wrote: > I agree with Marty. Try ?start editing group? before doing your paste. I > believe you can even lock the screen before doing this if desired. > > Chris > > -- > Chris Sheffield > Read Naturally, Inc. > www.readnaturally.com > > > > On Nov 25, 2013, at 1:04 PM, Peter Haworth wrote: > > > A while back, there was a discussion on how to store an control > definition > > in a custom property and create the control from the custom property by > > copying and pasting the control into and out of the custom property. > > > > I have all that working fine but I need the pasted control to end up in a > > group and the paste command doesn't have an option to paste into a group > ( > > that might be a nice enhancement). Currently I paste the control onto > the > > card, copy it into the group then delete the pasted control. That works > OK > > but wondering if there's a more direct way to do it. > > > > Pete > > lcSQL Software > > _______________________________________________ > > use-livecode mailing list > > use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jacque at hyperactivesw.com Mon Nov 25 17:50:17 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 25 Nov 2013 16:50:17 -0600 Subject: paste In-Reply-To: <8D0B844490501DF-1EDC-772DA@webmail-m299.sysops.aol.com> References: <8D0B844490501DF-1EDC-772DA@webmail-m299.sysops.aol.com> Message-ID: <5293D429.6010101@hyperactivesw.com> Peter Haworth wrote: > A while back, there was a discussion on how to store an control definition > in a custom property and create the control from the custom property by > copying and pasting the control into and out of the custom property. > > I have all that working fine but I need the pasted control to end up in a > group and the paste command doesn't have an option to paste into a group I'm working with something similar right now. I store all the template objects in an unplaced group in the source stack. When I want to use one I just copy it by script, which allows copying either to the card or directly into a group. It also has the advantage that it doesn't replace the user's clipboard. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From martyknappster at gmail.com Mon Nov 25 18:08:58 2013 From: martyknappster at gmail.com (Marty Knapp) Date: Mon, 25 Nov 2013 15:08:58 -0800 Subject: paste In-Reply-To: References: Message-ID: <5293D88A.3000701@gmail.com> It makes me a little nervous too! I wrap my paste code into a try/catch statement so that if anything goes wrong, I can exit the edit group mode so my users are left in limbo. I haven't had a problem yet but I wish there was a way around this. Jacque, could you explain more about what you're doing in this regard? Marty > Thanks Chris and Marty. I tried that and it seems to work fine. I'm > mildly worried about doing it that way only because I've had issue in the > past while in group edit mode but that was while manually editing groups, > not doing it by script. > > Pete > lcSQL Software > > > On Mon, Nov 25, 2013 at 12:15 PM, Chris Sheffield wrote: > >> I agree with Marty. Try ?start editing group? before doing your paste. I >> believe you can even lock the screen before doing this if desired. >> >> Chris >> >> -- >> Chris Sheffield >> Read Naturally, Inc. >> www.readnaturally.com >> >> >> >> On Nov 25, 2013, at 1:04 PM, Peter Haworth wrote: >> >>> A while back, there was a discussion on how to store an control >> definition >>> in a custom property and create the control from the custom property by >>> copying and pasting the control into and out of the custom property. >>> >>> I have all that working fine but I need the pasted control to end up in a >>> group and the paste command doesn't have an option to paste into a group >> ( >>> that might be a nice enhancement). Currently I paste the control onto >> the >>> card, copy it into the group then delete the pasted control. That works >> OK >>> but wondering if there's a more direct way to do it. >>> >>> Pete >>> lcSQL Software >>> _______________________________________________ From pete at lcsql.com Mon Nov 25 18:34:03 2013 From: pete at lcsql.com (Peter Haworth) Date: Mon, 25 Nov 2013 15:34:03 -0800 Subject: paste In-Reply-To: <5293D429.6010101@hyperactivesw.com> References: <8D0B844490501DF-1EDC-772DA@webmail-m299.sysops.aol.com> <5293D429.6010101@hyperactivesw.com> Message-ID: Hi Jacque, I originally had the control I wanted to copy (it's a group actually) in a resources stack within my application. That worked fine in my dev stack but the released stack is password protected so I can't copy from it. And of course I didn't figure that out until the last minute after adding password protection. Of course I could have created an unprotected stack to contain the group but I chose to go the cprop route because all my resources would still be in my resources stack, just seemed tidier that way. And I will admit to some bloody mindedness since I fail to see why I should not be able to copy a control from a password protected stack if it has no script attached to it.... but that's another story. Pete lcSQL Software On Mon, Nov 25, 2013 at 2:50 PM, J. Landman Gay wrote: > Peter Haworth wrote: > > A while back, there was a discussion on how to store an control definition >> in a custom property and create the control from the custom property by >> copying and pasting the control into and out of the custom property. >> >> I have all that working fine but I need the pasted control to end up in a >> group and the paste command doesn't have an option to paste into a group >> > > I'm working with something similar right now. I store all the template > objects in an unplaced group in the source stack. When I want to use one I > just copy it by script, which allows copying either to the card or directly > into a group. It also has the advantage that it doesn't replace the user's > clipboard. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at lcsql.com Mon Nov 25 18:37:28 2013 From: pete at lcsql.com (Peter Haworth) Date: Mon, 25 Nov 2013 15:37:28 -0800 Subject: paste In-Reply-To: <8D0B844490501DF-1EDC-772DA@webmail-m299.sysops.aol.com> References: <8D0B844490501DF-1EDC-772DA@webmail-m299.sysops.aol.com> Message-ID: Hi Craig, Not sure I fully understand that but are you saying that I could create the control using the templatexxxx object and set the owner property into it? Pete Pete lcSQL Software On Mon, Nov 25, 2013 at 2:24 PM, wrote: > Pete. > > > Isn't this a job for the "templateControl"? Of course, a major limitation > is that there is only one template for each control type. I think it would > be great to have as many of these as required, defined, as you are trying > to implement, similar to a custom property. Maybe a feature request? > > > Craig > > > > -----Original Message----- > From: Peter Haworth > To: How to use LiveCode > Sent: Mon, Nov 25, 2013 3:05 pm > Subject: paste > > > A while back, there was a discussion on how to store an control definition > in a custom property and create the control from the custom property by > copying and pasting the control into and out of the custom property. > > I have all that working fine but I need the pasted control to end up in a > group and the paste command doesn't have an option to paste into a group ( > that might be a nice enhancement). Currently I paste the control onto the > card, copy it into the group then delete the pasted control. That works OK > but wondering if there's a more direct way to do it. > > Pete > lcSQL Software > _______________________________________________ > use-livecode mailing list > use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at lcsql.com Mon Nov 25 18:38:03 2013 From: pete at lcsql.com (Peter Haworth) Date: Mon, 25 Nov 2013 15:38:03 -0800 Subject: paste In-Reply-To: <5293D88A.3000701@gmail.com> References: <5293D88A.3000701@gmail.com> Message-ID: Good idea on the try/catch Marty, I will add that to my code. Pete lcSQL Software On Mon, Nov 25, 2013 at 3:08 PM, Marty Knapp wrote: > It makes me a little nervous too! I wrap my paste code into a try/catch > statement so that if anything goes wrong, I can exit the edit group mode so > my users are left in limbo. I haven't had a problem yet but I wish there > was a way around this. > > Jacque, could you explain more about what you're doing in this regard? > > Marty > >> Thanks Chris and Marty. I tried that and it seems to work fine. I'm >> mildly worried about doing it that way only because I've had issue in the >> past while in group edit mode but that was while manually editing groups, >> not doing it by script. >> >> Pete >> lcSQL Software >> >> >> >> On Mon, Nov 25, 2013 at 12:15 PM, Chris Sheffield > >wrote: >> >> I agree with Marty. Try ?start editing group? before doing your paste. I >>> believe you can even lock the screen before doing this if desired. >>> >>> Chris >>> >>> -- >>> Chris Sheffield >>> Read Naturally, Inc. >>> www.readnaturally.com >>> >>> >>> >>> On Nov 25, 2013, at 1:04 PM, Peter Haworth wrote: >>> >>> A while back, there was a discussion on how to store an control >>>> >>> definition >>> >>>> in a custom property and create the control from the custom property by >>>> copying and pasting the control into and out of the custom property. >>>> >>>> I have all that working fine but I need the pasted control to end up in >>>> a >>>> group and the paste command doesn't have an option to paste into a group >>>> >>> ( >>> >>>> that might be a nice enhancement). Currently I paste the control onto >>>> >>> the >>> >>>> card, copy it into the group then delete the pasted control. That works >>>> >>> OK >>> >>>> but wondering if there's a more direct way to do it. >>>> >>>> Pete >>>> lcSQL Software >>>> _______________________________________________ >>>> >>> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From alex at tweedly.net Mon Nov 25 18:55:05 2013 From: alex at tweedly.net (Alex Tweedly) Date: Mon, 25 Nov 2013 23:55:05 +0000 Subject: OT? : ChartsEngine - does it work on IOS and Android ? Message-ID: <5293E359.4010307@tweedly.net> [ I figured this was a general interest question, so I decided to ask it on-list. ] Hi Bjornke, ChartsEngine says it is available "for Mac, Windows and Linux", but I don't expect that there would be anything that would prevent it from working on IOS or Android. Do you know if it does work on those platforms ? Or if it could easily be made to do so ? Thanks -- Alex. From m.schonewille at economy-x-talk.com Mon Nov 25 18:58:22 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 26 Nov 2013 00:58:22 +0100 Subject: OT? : ChartsEngine - does it work on IOS and Android ? In-Reply-To: <5293E359.4010307@tweedly.net> References: <5293E359.4010307@tweedly.net> Message-ID: <5293E41E.2080005@economy-x-talk.com> Hi Alex, I think Bj?rnke will answer tomorrow. Probably he will tell you that ChartsEngine should work fine on Android and iOS but that he hasn't tested it. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi Fill out this survey please http://livecodebeginner.economy-x-talk.com/survey/ On 11/26/2013 00:55, Alex Tweedly wrote: > [ I figured this was a general interest question, so I decided to ask it > on-list. ] > > Hi Bjornke, > > ChartsEngine says it is available "for Mac, Windows and Linux", but I > don't expect that there would be anything that would prevent it from > working on IOS or Android. Do you know if it does work on those > platforms ? Or if it could easily be made to do so ? > > Thanks > -- Alex. From lvhdgc7 at gmail.com Mon Nov 25 19:28:27 2013 From: lvhdgc7 at gmail.com (tbodine) Date: Mon, 25 Nov 2013 16:28:27 -0800 (PST) Subject: Is backdrop better these days? In-Reply-To: <5D2E04A6-21DC-4025-8FB1-61F272116769@major-k.de> References: <1385407511206-4672895.post@n4.nabble.com> <5D2E04A6-21DC-4025-8FB1-61F272116769@major-k.de> Message-ID: <1385425707926-4672915.post@n4.nabble.com> Thanks, guys. I have implemented backdrop in my standalone and it is working smoothly. But I am looking forward to those fullscreen features in 6.5! -- Tom Bodine -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Is-backdrop-better-these-days-tp4672895p4672915.html Sent from the Revolution - User mailing list archive at Nabble.com. From pmbrig at gmail.com Mon Nov 25 22:10:10 2013 From: pmbrig at gmail.com (Peter M. Brigham) Date: Mon, 25 Nov 2013 22:10:10 -0500 Subject: problem with "launch" in a standalone Message-ID: So I have a handler that runs fine in the IDE, and even when I suspend the development tools it runs fine, but when I build the standalone it fails. The idea is to be able to store the locations of images and display them in the default image app when they are chosen from a pop-up list. In the standalone, when I select the name of the image from the pop-up, nothing happens. The script of my pop-up button includes the following (see the bottom section for where the problem lies): on menuPick u -- each card has a property storedImages -- which is an array of one or more images and info -- if is the title of the image, then -- each storedImages[] is an array: -- storedImages[]["uImage"] is an image -- storedImages[]["uFilepath"] is the location of the image file -- storedImages[]["uExtension"] is the file extension (file type) -- jpg, png, pdf, etc. put the shiftkey is down into deleting switch case u contains "store" answer file "Choose your image:" if it = empty then exit to top put it into tPath importImage tPath break default -- an image title was selected put the storedImages of this card into rImages if deleting then ? .. else -- display image ******** this is the part that isn't working: ******** put rImages[u]["uImage"] into tImage put rImages[u]["uFilepath"] into tFilepath put lastThing(tFilepath,"/") into shortFileName if there is a file (tFilepath) then launch document tFilepath if the result <> empty then answer the result as sheet end if else? The fact that I don't get an error answer dialog means that the launch command is not returning any indication of a problem. Any suggestions? 2008 MacBook, OSX 10.7.4 (Lion), Rev Studio 5.5.1, build 1487. Yes, I'm still running an older version of LC. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From revdev at pdslabs.net Mon Nov 25 23:08:08 2013 From: revdev at pdslabs.net (Phil Davis) Date: Mon, 25 Nov 2013 20:08:08 -0800 Subject: problem with "launch" in a standalone In-Reply-To: References: Message-ID: <52941EA8.1030606@pdslabs.net> Hi Peter, Have you tried putting a breakpoint at your "launch" line so you can see what's in the tFilePath variable? It may not contain what you think. At least that's how it sometimes works for me. Phil Davis On 11/25/13, 7:10 PM, Peter M. Brigham wrote: > So I have a handler that runs fine in the IDE, and even when I suspend the development tools it runs fine, but when I build the standalone it fails. The idea is to be able to store the locations of images and display them in the default image app when they are chosen from a pop-up list. In the standalone, when I select the name of the image from the pop-up, nothing happens. > > The script of my pop-up button includes the following (see the bottom section for where the problem lies): > > on menuPick u > -- each card has a property storedImages > -- which is an array of one or more images and info > -- if is the title of the image, then > -- each storedImages[] is an array: > -- storedImages[]["uImage"] is an image > -- storedImages[]["uFilepath"] is the location of the image file > -- storedImages[]["uExtension"] is the file extension (file type) -- jpg, png, pdf, etc. > > put the shiftkey is down into deleting > switch > case u contains "store" > answer file "Choose your image:" > if it = empty then exit to top > put it into tPath > importImage tPath > break > default > -- an image title was selected > put the storedImages of this card into rImages > if deleting then > ? .. > else -- display image > > ******** this is the part that isn't working: ******** > > put rImages[u]["uImage"] into tImage > put rImages[u]["uFilepath"] into tFilepath > put lastThing(tFilepath,"/") into shortFileName > if there is a file (tFilepath) then > launch document tFilepath > if the result <> empty then > answer the result as sheet > end if > else? > > > The fact that I don't get an error answer dialog means that the launch command is not returning any indication of a problem. Any suggestions? 2008 MacBook, OSX 10.7.4 (Lion), Rev Studio 5.5.1, build 1487. Yes, I'm still running an older version of LC. > > -- Peter > > Peter M. Brigham > pmbrig at gmail.com > http://home.comcast.net/~pmbrig > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Phil Davis From revdev at pdslabs.net Mon Nov 25 23:10:48 2013 From: revdev at pdslabs.net (Phil Davis) Date: Mon, 25 Nov 2013 20:10:48 -0800 Subject: problem with "launch" in a standalone In-Reply-To: <52941EA8.1030606@pdslabs.net> References: <52941EA8.1030606@pdslabs.net> Message-ID: <52941F48.5090506@pdslabs.net> Oops. it's a standalone. Try 'answer tFilePath' or some other display method instead of using the breakpoint. Phil On 11/25/13, 8:08 PM, Phil Davis wrote: > Hi Peter, > > Have you tried putting a breakpoint at your "launch" line so you can > see what's in the tFilePath variable? It may not contain what you > think. At least that's how it sometimes works for me. > > Phil Davis > > > > On 11/25/13, 7:10 PM, Peter M. Brigham wrote: >> So I have a handler that runs fine in the IDE, and even when I >> suspend the development tools it runs fine, but when I build the >> standalone it fails. The idea is to be able to store the locations of >> images and display them in the default image app when they are chosen >> from a pop-up list. In the standalone, when I select the name of the >> image from the pop-up, nothing happens. >> >> The script of my pop-up button includes the following (see the bottom >> section for where the problem lies): >> >> on menuPick u >> -- each card has a property storedImages >> -- which is an array of one or more images and info >> -- if is the title of the image, then >> -- each storedImages[] is an array: >> -- storedImages[]["uImage"] is an image >> -- storedImages[]["uFilepath"] is the location of the >> image file >> -- storedImages[]["uExtension"] is the file extension >> (file type) -- jpg, png, pdf, etc. >> put the shiftkey is down into deleting >> switch >> case u contains "store" >> answer file "Choose your image:" >> if it = empty then exit to top >> put it into tPath >> importImage tPath >> break >> default >> -- an image title was selected >> put the storedImages of this card into rImages >> if deleting then >> ? .. >> else -- display image >> >> ******** this is the part that isn't working: ******** >> >> put rImages[u]["uImage"] into tImage >> put rImages[u]["uFilepath"] into tFilepath >> put lastThing(tFilepath,"/") into shortFileName >> if there is a file (tFilepath) then >> launch document tFilepath >> if the result <> empty then >> answer the result as sheet >> end if >> else? >> >> >> The fact that I don't get an error answer dialog means that the >> launch command is not returning any indication of a problem. Any >> suggestions? 2008 MacBook, OSX 10.7.4 (Lion), Rev Studio 5.5.1, build >> 1487. Yes, I'm still running an older version of LC. >> >> -- Peter >> >> Peter M. Brigham >> pmbrig at gmail.com >> http://home.comcast.net/~pmbrig >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > -- Phil Davis From rman at free.fr Tue Nov 26 03:42:22 2013 From: rman at free.fr (Robert Mann) Date: Tue, 26 Nov 2013 00:42:22 -0800 (PST) Subject: Feedback request: getProp/setProp and lockMessages In-Reply-To: <5290FF50.5000600@fourthworld.com> References: <5290CAEB.4010107@fourthworld.com> <1425156394.20131123091434@ahsoftware.net> <5290FB66.6030602@hyperactivesw.com> <5290FF50.5000600@fourthworld.com> Message-ID: <1385455342227-4672920.post@n4.nabble.com> Hi, I started using setProp & getProps and find it ??elegant??, worthwhile encouraging. I understand that -- this is more and more useful for custom controls. -- and that the current scope of the lockmsg command could (badly!) interfere with that. Hence this proposal to restrict the scope of the lockmsg command to strictly system msg. As jacqueline points out : the lockMsg command is required in the set/get prop context when a setProp handler sets the property of a child. Using a parent setProp handler to set a child?s, or grand child?s etc.. property seems useful for all temporary objects dealt with. It does not seem a good idea to kill that practice. I personally like the idea of being able to move further in the path of ??object programming?? with livecode, in the trail of the articles about ??oops in livecode?? that were published a while ago. So 1) I definitely thing and *vote massively for the cmd ??something?? action to really work to halt any process* launched in the IDE. It?s hard to conceive that this does not yet work!!! This has cost to all of us some lost NRJ. 2) I do vote *in favor of this proposal to exclude set prop & getProp msg from the scope of the lockMsg* command, to favor the development of custom controls. 3) I propose to either ---- *b) add a parameter to the set & get prop msg*, to deal with the situation when one set/get a child?s property. Something like : set the myCustomProperty of the target to newValue *with lockMsg* (with lockMsg being optional) or ---- b) *modify the msg path behavior* so that a script launched by a parentObject sends as usual a msg up the path, but that this msg does not come back up. A kind of ??one shot?? short live msg ??shouted?? back down the path for kids! To my view this would simplify the use of livecode and contribute to *liberating a little the ??oops?? potential of live code*. it's kind of brain tease to have to cope with the systematic msg path and the whole point of the lockmsg was to bring a little peace in mind... /What can be seen as a restriction would in fact be an addition to the language : like a downward msg path that will be opened up./ or ----- c) solution a) extended to all commands :: all commands could have have an *optional parameter like "scope"* or "mode" to trigger a kind of *msg path scope*, but only for that precise command. example : set the myCustomProperty of the target to newValue *scope local* scope could have the standard default value "up" (msg send up the path) or "local" (msg not sent) or "down" (msg sent down the path) or UpandDown (up and down the path..) To start with the two values "up" and "local" could be implemented for a start, and that could be extended later to cope with downward msgs. I would love that third (c) option if feasable! Robert man -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Feedback-request-getProp-setProp-and-lockMessages-tp4672821p4672920.html Sent from the Revolution - User mailing list archive at Nabble.com. From monte at sweattechnologies.com Tue Nov 26 03:48:41 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Tue, 26 Nov 2013 19:48:41 +1100 Subject: Feedback request: getProp/setProp and lockMessages In-Reply-To: <1385455342227-4672920.post@n4.nabble.com> References: <5290CAEB.4010107@fourthworld.com> <1425156394.20131123091434@ahsoftware.net> <5290FB66.6030602@hyperactivesw.com> <5290FF50.5000600@fourthworld.com> <1385455342227-4672920.post@n4.nabble.com> Message-ID: On 26/11/2013, at 7:42 PM, Robert Mann wrote: > As jacqueline points out : the lockMsg command is required in the set/get > prop context when a setProp handler sets the property of a child. There's two other ways to deal with that use case: - use the pass command so that the property is set on the target object - set the whole custom property set in one hit Cheers -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From sschvarstein at gmail.com Tue Nov 26 05:14:21 2013 From: sschvarstein at gmail.com (Sergio Schvarstein) Date: Tue, 26 Nov 2013 11:14:21 +0100 Subject: Photo Library Message-ID: <485D9AD2-7B1A-4A17-96CF-DFEE549EF2CB@gmail.com> Thanks a lot Gerry. :-) I made some Google and Runrev iOS documentation searches but I couldn?t find it. Maybe I used the wrong terms, sorry. After the picture is imported, do you know how can I do to keep it inside the stack, so I can see it after closing and reopening ? Can I save it in some way ? Which commands can be involved in this operation ? Thanks in advance. ______________________________ Sergio Schvarstein sschvarstein at gmail.com ______________________________ From bvg at mac.com Tue Nov 26 07:26:09 2013 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Tue, 26 Nov 2013 13:26:09 +0100 Subject: OT? : ChartsEngine - does it work on IOS and Android ? In-Reply-To: <5293E359.4010307@tweedly.net> References: <5293E359.4010307@tweedly.net> Message-ID: As far as I know, it works. After all it's just LC scripting. I did test it on the iOS simulator once, and had no problems, but that was quite some time ago. I suggest not to use gigantic amounts of data to show, considering the processing limitations on mobile devices. On 26.11.2013, at 00:55, Alex Tweedly wrote: > [ I figured this was a general interest question, so I decided to ask it on-list. ] > > Hi Bjornke, > > ChartsEngine says it is available "for Mac, Windows and Linux", but I don't expect that there would be anything that would prevent it from working on IOS or Android. Do you know if it does work on those platforms ? Or if it could easily be made to do so ? > > Thanks > -- Alex. -- Use an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ From livfoss at mac.com Tue Nov 26 08:21:06 2013 From: livfoss at mac.com (Graham Samuel) Date: Tue, 26 Nov 2013 13:21:06 +0000 Subject: 'Quit' mystery Message-ID: <7416F563-0883-4753-A658-F6DA1D456BFF@mac.com> I have a desktop app (Mac and Windows) which has one main menu: in that menu is a conventional 'File' submenu, ending with 'Quit' (Mac) or 'Exit' (PC). I need to do some housekeeping before the actual quit, so in my menu handler for file I have code like this: case "Quit" case "Exit" quit break When I create a standalone, all the other items in the 'File' menu, such as 'Save', work as expected, but the 'Quit' just quits, and my "stuff" doesn't get done. This is true both on the Mac (where the 'Quit' menu item gets moved to another menu) and the PC (where it doesn't). I even put a statement at the beginning of the 'File' menu that makes a log entry showing that the menu has been called: again, it works for 'Save' and such, but not for 'Quit' .This log would work even if my spelling of 'Quit' were wrong, for example, so the 'Quit' is being hijacked by the engine somehow and bypassing my menu handler completely. Thinking I had misunderstood something, I then put in a 'shutdownRequest' handler in the main library stack of my app. I understand from the LC Dictionary that this is fired by the 'quit' command, so now I have on shutdownRequest end shutDownRequest According to the Dictionary, if I don't pass the shutdownRequest, then the app won't quit. I thought this would be good for debugging purposes. Anyway, this handler is never called, and the standalone just quits as before, so the 'quit' to which my app responds must be somehow in another path. As usual, doubtless I've made an error, but what kind of mistake can it be? TIA for any assistance Graham From heather at runrev.com Tue Nov 26 08:30:04 2013 From: heather at runrev.com (Heather Laine) Date: Tue, 26 Nov 2013 13:30:04 +0000 Subject: You can now review LiveCode, too Message-ID: Dear List folks, A few days ago I flagged up some new functionality in our store for the Extensions products - you can now give stars and post reviews for these. It's been great to see the reviews coming in, do keep them coming. LiveCode felt a bit left out in the cold, so we've now added this functionality to the LiveCode product itself: http://livecode.com/store/livecode/livecode-commercial Who will be the first to post a review? Warm Regards, Heather Heather Laine Customer Services Manager http://www.livecode.com/ From dunbarx at aol.com Tue Nov 26 08:47:45 2013 From: dunbarx at aol.com (dunbarx at aol.com) Date: Tue, 26 Nov 2013 08:47:45 -0500 (EST) Subject: You can now review LiveCode, too In-Reply-To: References: Message-ID: <8D0B8C53850DD7C-1EDC-7D1E9@webmail-m299.sysops.aol.com> Heather. Logged in, but saw no place to write a review. Craig Newman -----Original Message----- From: Heather Laine To: How to use LiveCode Sent: Tue, Nov 26, 2013 8:31 am Subject: You can now review LiveCode, too Dear List folks, A few days ago I flagged up some new functionality in our store for the Extensions products - you can now give stars and post reviews for these. It's been great to see the reviews coming in, do keep them coming. LiveCode felt a bit left out in the cold, so we've now added this functionality to the LiveCode product itself: http://livecode.com/store/livecode/livecode-commercial Who will be the first to post a review? Warm Regards, Heather Heather Laine Customer Services Manager http://www.livecode.com/ _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From m.schonewille at economy-x-talk.com Tue Nov 26 09:11:49 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 26 Nov 2013 15:11:49 +0100 Subject: [OT] Everything you need to know about my book Message-ID: <5294AC25.4050004@economy-x-talk.com> Hi, During the past 7 months, I regularly wrote an update about my book on this mailing list. I have now written a blog post with all the information I posted the past months. You can find the blog post here: http://qery.us/41j Short version: there are 30 books left, we'll ship the last batch of the year on 12 December, we expect to have sold them all by that date, and any order made after that date will be put on a waiting list. Long version: http://qery.us/41j -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi Fill out this survey please http://livecodebeginner.economy-x-talk.com/survey/ From heather at runrev.com Tue Nov 26 09:45:44 2013 From: heather at runrev.com (Heather Laine) Date: Tue, 26 Nov 2013 14:45:44 +0000 Subject: You can now review LiveCode, too In-Reply-To: <8D0B8C53850DD7C-1EDC-7D1E9@webmail-m299.sysops.aol.com> References: <8D0B8C53850DD7C-1EDC-7D1E9@webmail-m299.sysops.aol.com> Message-ID: Scroll to the bottom? Still don't see it? On 26 Nov 2013, at 13:47, dunbarx at aol.com wrote: > Heather. > > > Logged in, but saw no place to write a review. > > > > Craig Newman > > > -----Original Message----- > From: Heather Laine > To: How to use LiveCode > Sent: Tue, Nov 26, 2013 8:31 am > Subject: You can now review LiveCode, too > > > Dear List folks, > > A few days ago I flagged up some new functionality in our store for the > Extensions products - you can now give stars and post reviews for these. It's > been great to see the reviews coming in, do keep them coming. > > LiveCode felt a bit left out in the cold, so we've now added this functionality > to the LiveCode product itself: > > http://livecode.com/store/livecode/livecode-commercial > > Who will be the first to post a review? > > Warm Regards, > > Heather > > Heather Laine > Customer Services Manager > http://www.livecode.com/ > > > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode Heather Laine Customer Services Manager http://www.livecode.com/ From dunbarx at aol.com Tue Nov 26 10:37:41 2013 From: dunbarx at aol.com (dunbarx at aol.com) Date: Tue, 26 Nov 2013 10:37:41 -0500 (EST) Subject: You can now review LiveCode, too In-Reply-To: References: <8D0B8C53850DD7C-1EDC-7D1E9@webmail-m299.sysops.aol.com> Message-ID: <8D0B8D493A512E9-1EDC-7E0D3@webmail-m299.sysops.aol.com> Heather. No. I have my seat, some stuff I won, probably from kickstarter, and then a site map and that sort of thing. Craig -----Original Message----- From: Heather Laine To: How to use LiveCode Sent: Tue, Nov 26, 2013 9:46 am Subject: Re: You can now review LiveCode, too Scroll to the bottom? Still don't see it? On 26 Nov 2013, at 13:47, dunbarx at aol.com wrote: > Heather. > > > Logged in, but saw no place to write a review. > > > > Craig Newman > > > -----Original Message----- > From: Heather Laine > To: How to use LiveCode > Sent: Tue, Nov 26, 2013 8:31 am > Subject: You can now review LiveCode, too > > > Dear List folks, > > A few days ago I flagged up some new functionality in our store for the > Extensions products - you can now give stars and post reviews for these. It's > been great to see the reviews coming in, do keep them coming. > > LiveCode felt a bit left out in the cold, so we've now added this functionality > to the LiveCode product itself: > > http://livecode.com/store/livecode/livecode-commercial > > Who will be the first to post a review? > > Warm Regards, > > Heather > > Heather Laine > Customer Services Manager > http://www.livecode.com/ > > > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode Heather Laine Customer Services Manager http://www.livecode.com/ _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From heather at runrev.com Tue Nov 26 10:54:01 2013 From: heather at runrev.com (Heather Laine) Date: Tue, 26 Nov 2013 15:54:01 +0000 Subject: You can now review LiveCode, too In-Reply-To: <8D0B8D493A512E9-1EDC-7E0D3@webmail-m299.sysops.aol.com> References: <8D0B8C53850DD7C-1EDC-7D1E9@webmail-m299.sysops.aol.com> <8D0B8D493A512E9-1EDC-7E0D3@webmail-m299.sysops.aol.com> Message-ID: <63370A86-075E-4591-B544-E4E9E1D97786@runrev.com> Ah. You're in your account. From here (while still logged in) you need to go to the store, and select LiveCode Commercial. Scroll to the bottom and you should see where to review it. I hope this helps, Regards, Heather On 26 Nov 2013, at 15:37, dunbarx at aol.com wrote: > Heather. > > > No. I have my seat, some stuff I won, probably from kickstarter, and then a site map and that sort of thing. > > > Craig > > > > > -----Original Message----- > From: Heather Laine > To: How to use LiveCode > Sent: Tue, Nov 26, 2013 9:46 am > Subject: Re: You can now review LiveCode, too > > > Scroll to the bottom? Still don't see it? > > > On 26 Nov 2013, at 13:47, dunbarx at aol.com wrote: > >> Heather. >> >> >> Logged in, but saw no place to write a review. >> >> >> >> Craig Newman >> >> >> -----Original Message----- >> From: Heather Laine >> To: How to use LiveCode >> Sent: Tue, Nov 26, 2013 8:31 am >> Subject: You can now review LiveCode, too >> >> >> Dear List folks, >> >> A few days ago I flagged up some new functionality in our store for the >> Extensions products - you can now give stars and post reviews for these. It's >> been great to see the reviews coming in, do keep them coming. >> >> LiveCode felt a bit left out in the cold, so we've now added this > functionality >> to the LiveCode product itself: >> >> http://livecode.com/store/livecode/livecode-commercial >> >> Who will be the first to post a review? >> >> Warm Regards, >> >> Heather >> >> Heather Laine >> Customer Services Manager >> http://www.livecode.com/ >> >> >> >> >> >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > Heather Laine > Customer Services Manager > http://www.livecode.com/ > > > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode Heather Laine Customer Services Manager http://www.livecode.com/ From mkoob at rogers.com Tue Nov 26 11:15:46 2013 From: mkoob at rogers.com (Martin Koob) Date: Tue, 26 Nov 2013 08:15:46 -0800 (PST) Subject: 'Quit' mystery In-Reply-To: <7416F563-0883-4753-A658-F6DA1D456BFF@mac.com> References: <7416F563-0883-4753-A658-F6DA1D456BFF@mac.com> Message-ID: <1385482546819-4672931.post@n4.nabble.com> The way I have quit set up in my application is that in the menu handler for the File menu I don't have the 'quit' command in the "quit" case of the switch statement. I think the engine issues the quit command on its own. I have the 'shutdownrequest' handler in the card scripts of various cards and they are triggered when I choose 'Quit' from the File menu in the standalone. Martin -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Quit-mystery-tp4672924p4672931.html Sent from the Revolution - User mailing list archive at Nabble.com. From livfoss at mac.com Tue Nov 26 11:45:32 2013 From: livfoss at mac.com (Graham Samuel) Date: Tue, 26 Nov 2013 16:45:32 +0000 Subject: 'Quit' mystery In-Reply-To: <1385482546819-4672931.post@n4.nabble.com> References: <7416F563-0883-4753-A658-F6DA1D456BFF@mac.com> <1385482546819-4672931.post@n4.nabble.com> Message-ID: <06193071-78BB-4931-8F50-283382F4A71A@mac.com> Thanks, Martin - that's helpful. I don't recall leaving 'Quit' out of the 'File' menu in previous cross-platform apps I've written. In fact, the current LC User Guide says: > The File menu and the "Quit" menu item > > On OS X systems, the "Quit" menu item is normally placed in the Application menu (which is maintained by the operating system) rather than in the File menu, as is standard on other platforms. To accommodate this user-interface standard, LiveCode removes the last two menu items of the File menu when a standalone application is running on an OS X system. Therefore, the last menu item in your File menu button should be "Quit". The menu item above it should be a divider line (a dash). > When the Guide says "remove", it doesn't explain that this really **means** "remove" and not "move": the difference being that any script you put in the menu handler for the quit item will be lost - I can show this to be true. This certainly needs clarification in the forthcoming rewrite of the User Guide. BTW what happens in your apps on the PC, where the Quit menu item is not moved by the engine? During this investigation I found out one other thing about this issue: In the LC Dictionary, it says in the entry on 'shutdownRequest' > In standalones, some care is needed to ensure you receive the shutdownRequest message if your application uses multiple stacks. The most reliable approach is to install a library stack or backscript to handle the message when your application starts up. Well, my menu is in one stack (say A), and my shutdownRequest is in another (say B): these are separate mainstacks. However, in a preOpenStack handler in A, I make sure that I put the script of B into back. This clearly works for my own scripted handlers, as the script of B is a library containing handlers used successfully throughout the app and frequently called from A. However, in the situation described below, shutDownRequest is not invoked. I now find that if I move the shutdownRequest handler to A, where the menu is, it **does** get invoked on quit. So this is a bug, but maybe only (!) in the Dictionary. I am not looking forward to abstracting this for a bug report, but I guess I should do so. Thanks again Graham On 26 Nov 2013, at 16:15, Martin Koob wrote: > The way I have quit set up in my application is that in the menu handler for > the File menu I don't have the 'quit' command in the "quit" case of the > switch statement. I think the engine issues the quit command on its own. > > I have the 'shutdownrequest' handler in the card scripts of various cards > and they are triggered when I choose 'Quit' from the File menu in the > standalone. > > Martin From mkoob at rogers.com Tue Nov 26 13:19:54 2013 From: mkoob at rogers.com (Martin Koob) Date: Tue, 26 Nov 2013 10:19:54 -0800 (PST) Subject: 'Quit' mystery In-Reply-To: <7416F563-0883-4753-A658-F6DA1D456BFF@mac.com> References: <7416F563-0883-4753-A658-F6DA1D456BFF@mac.com> Message-ID: <1385489993995-4672933.post@n4.nabble.com> Hi It has been a long time since I set this up in my application so I don't remember exactly the logic as to why I set this up this way but it seems to work. The main stack has several substacks which may be open when quit is selected from the menu. Each of the substacks' scripts have a shutdownRequest handler but not a 'pass shutdownRequest' command. This handler sends a prepareToQuit command to the main card of the main stack. substack stack script ------------------- on shutdownRequest send "preparetoquit" to card "main" of stack "mainstack" end shutdownRequest ------------------ The main card of the main stack has the prepareToQuit handler which just has a quit command. This triggers the shutdownRequest handler in the main card. This shutdownRequest handler has all of the code you want implemented before quitting. This handler has the 'pass shutdownRequest' command that allows the application to quit. Mainstack >card "main" script ----------------------- on preparetoquit quit end preparetoquit on shutdownRequest pass shutdownRequest end shutdownRequest -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Quit-mystery-tp4672924p4672933.html Sent from the Revolution - User mailing list archive at Nabble.com. From pmbrig at gmail.com Tue Nov 26 14:38:59 2013 From: pmbrig at gmail.com (Peter M. Brigham) Date: Tue, 26 Nov 2013 14:38:59 -0500 Subject: problem with "launch" in a standalone In-Reply-To: <52941F48.5090506@pdslabs.net> References: <52941EA8.1030606@pdslabs.net> <52941F48.5090506@pdslabs.net> Message-ID: I used answer commands to locate the problem. Repeatedly if I have a general function handler in the main stack script, even something simple like: function lastThing str, delmtr set the itemdel to delmtr return item -1 of str end lastThing then any script that calls the function will fail silently. If I move the contents of the function script into the calling script and do the exact same things directly instead of using a function, it works fine in the standalone. So I sacrificed elegance and brevity and stopped calling any of my utility functions and moved the contents into the various calling handlers. Don't know why I would have to do this, but problem solved. It didn't have to do with the launch command, it was failing right before the launch line of the script. I now have (1) a working standalone and (2) more puzzlement about the workings of LiveCode. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Nov 25, 2013, at 11:10 PM, Phil Davis wrote: > Oops. it's a standalone. Try 'answer tFilePath' or some other display method instead of using the breakpoint. > > Phil > > > On 11/25/13, 8:08 PM, Phil Davis wrote: >> Hi Peter, >> >> Have you tried putting a breakpoint at your "launch" line so you can see what's in the tFilePath variable? It may not contain what you think. At least that's how it sometimes works for me. >> >> Phil Davis >> >> >> >> On 11/25/13, 7:10 PM, Peter M. Brigham wrote: >>> So I have a handler that runs fine in the IDE, and even when I suspend the development tools it runs fine, but when I build the standalone it fails. The idea is to be able to store the locations of images and display them in the default image app when they are chosen from a pop-up list. In the standalone, when I select the name of the image from the pop-up, nothing happens. >>> >>> The script of my pop-up button includes the following (see the bottom section for where the problem lies): >>> >>> on menuPick u >>> -- each card has a property storedImages >>> -- which is an array of one or more images and info >>> -- if is the title of the image, then >>> -- each storedImages[] is an array: >>> -- storedImages[]["uImage"] is an image >>> -- storedImages[]["uFilepath"] is the location of the image file >>> -- storedImages[]["uExtension"] is the file extension (file type) -- jpg, png, pdf, etc. >>> put the shiftkey is down into deleting >>> switch >>> case u contains "store" >>> answer file "Choose your image:" >>> if it = empty then exit to top >>> put it into tPath >>> importImage tPath >>> break >>> default >>> -- an image title was selected >>> put the storedImages of this card into rImages >>> if deleting then >>> ? .. >>> else -- display image >>> >>> ******** this is the part that isn't working: ******** >>> >>> put rImages[u]["uImage"] into tImage >>> put rImages[u]["uFilepath"] into tFilepath >>> put lastThing(tFilepath,"/") into shortFileName >>> if there is a file (tFilepath) then >>> launch document tFilepath >>> if the result <> empty then >>> answer the result as sheet >>> end if >>> else? >>> >>> >>> The fact that I don't get an error answer dialog means that the launch command is not returning any indication of a problem. Any suggestions? 2008 MacBook, OSX 10.7.4 (Lion), Rev Studio 5.5.1, build 1487. Yes, I'm still running an older version of LC. >>> >>> -- Peter >>> >>> Peter M. Brigham >>> pmbrig at gmail.com >>> http://home.comcast.net/~pmbrig >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> > > -- > Phil Davis > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pmbrig at gmail.com Tue Nov 26 14:55:22 2013 From: pmbrig at gmail.com (Peter M. Brigham) Date: Tue, 26 Nov 2013 14:55:22 -0500 Subject: Photo Library In-Reply-To: <485D9AD2-7B1A-4A17-96CF-DFEE549EF2CB@gmail.com> References: <485D9AD2-7B1A-4A17-96CF-DFEE549EF2CB@gmail.com> Message-ID: On Nov 26, 2013, at 5:14 AM, Sergio Schvarstein wrote: > After the picture is imported, do you know how can I do to keep it inside the stack, so I can see it after closing and reopening ? > Can I save it in some way ? Which commands can be involved in this operation ? By coincidence, this is just the problem I was solving with my standalone. First you should realize that if you store images in a stackfile and there are lots and lots of them, your stackfile will grow in size enormously. I would not store more than a few dozen full-size images within a stack. Much better to use references to image files that reside on disk or on the web. Having said that, what I did to store images was to "put url ("binfile:" & imageFilePath) into tImageData" then store tImageData as a customprop. You have to make sure that you save and store the file extension/file type as well, ".jpg", "PDF," etc. All the image data will be saved with the stack. Then to display the image, fetch the image data out of the customprop, write it to the (specialfolderpath("temporary") folder, making sure that the file name uses the correct file extension, then launch the temporary file, which will open the image with the default image app for the OS. If you want to display the image entirely within LC, you'll have to use an image display substack or a browser instance, but this is more difficult, since you have to know and store the dimensions of the original image. I'm sure others have solutions as well, maybe more elegant and flexible than what I put together?. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From bobsneidar at iotecdigital.com Tue Nov 26 15:25:46 2013 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 26 Nov 2013 20:25:46 +0000 Subject: Opening multiple files from a script in XP Message-ID: <9C292D64-E78A-427F-A2F1-8991ACAA888B@iotecdigital.com> Hi all. I have gotten an app to beta, and am now trying to open multiple PDF files in Windows XP by script. I can open them from Windows Explorer and they will open multiple instances in Reader, but if I attempt this from a script, only the first one opens. The result is ? Process is already open?. The exact same stack works a peach in OS X Mavericks. Any ideas? I?m going to hazard a guess and say that launch document does not work with multiple documents in Win XP. It might in Win 7 but I don?t have an available instance to test with right now. Bob From bobsneidar at iotecdigital.com Tue Nov 26 15:39:54 2013 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Tue, 26 Nov 2013 20:39:54 +0000 Subject: Opening multiple files from a script in XP In-Reply-To: <9C292D64-E78A-427F-A2F1-8991ACAA888B@iotecdigital.com> References: <9C292D64-E78A-427F-A2F1-8991ACAA888B@iotecdigital.com> Message-ID: <35FF5D6F-92DE-46AE-814F-55E1A4734F7E@iotecdigital.com> BTW I should mention that I attempted to use launch by itself and the result is No Association, even though I set an association already to Acrobat Reader 11. I attempted in vain to use launch URL. Not sure how to format the URL when it has a drive letter in it. ?File:Y:/? does not seem to work. I get ?Can't open file.? I?ve used forward and back slashes with the same results. On Nov 26, 2013, at 12:25 , Bob Sneidar > wrote: Hi all. I have gotten an app to beta, and am now trying to open multiple PDF files in Windows XP by script. I can open them from Windows Explorer and they will open multiple instances in Reader, but if I attempt this from a script, only the first one opens. The result is ? Process is already open?. The exact same stack works a peach in OS X Mavericks. Any ideas? I?m going to hazard a guess and say that launch document does not work with multiple documents in Win XP. It might in Win 7 but I don?t have an available instance to test with right now. Bob _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Tue Nov 26 19:50:06 2013 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Wed, 27 Nov 2013 00:50:06 +0000 Subject: Opening multiple files from a script in XP In-Reply-To: <9C292D64-E78A-427F-A2F1-8991ACAA888B@iotecdigital.com> References: <9C292D64-E78A-427F-A2F1-8991ACAA888B@iotecdigital.com> Message-ID: <30A44EA5-FB15-4197-95B9-9274D2922A4E@iotecdigital.com> NVM I figured this out on my own. Oddly, none of the blogs I googled on this seem to know. Just use ?start c:/? in your shell and that will open each one as a separate process. Bob On Nov 26, 2013, at 12:25 , Bob Sneidar > wrote: Hi all. I have gotten an app to beta, and am now trying to open multiple PDF files in Windows XP by script. I can open them from Windows Explorer and they will open multiple instances in Reader, but if I attempt this from a script, only the first one opens. The result is ? Process is already open?. The exact same stack works a peach in OS X Mavericks. Any ideas? I?m going to hazard a guess and say that launch document does not work with multiple documents in Win XP. It might in Win 7 but I don?t have an available instance to test with right now. Bob _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From capellan2000 at gmail.com Tue Nov 26 23:12:06 2013 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Tue, 26 Nov 2013 20:12:06 -0800 (PST) Subject: Is backdrop better these days? In-Reply-To: <5D2E04A6-21DC-4025-8FB1-61F272116769@major-k.de> References: <1385407511206-4672895.post@n4.nabble.com> <5D2E04A6-21DC-4025-8FB1-61F272116769@major-k.de> Message-ID: <1385525526350-4672939.post@n4.nabble.com> Hi Klaus, Klaus major-k wrote > [snip] > > in 6.5 you will be able to: > ... > set the fullscreenmode of stack "xyz" to "noScale" > ###"noScale" - The stack is not scaled, but is centered on the screen > instead! > set the fullscreen of stack "xyz" to TRUE > ... Just for curiosity, How did you set the color or the pattern of the black border that shows in letterbox's fullscreenmode? I would like to set a background image instead of this black border... Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Is-backdrop-better-these-days-tp4672895p4672939.html Sent from the Revolution - User mailing list archive at Nabble.com. From scott at tactilemedia.com Tue Nov 26 23:44:49 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 26 Nov 2013 20:44:49 -0800 Subject: LiveCode Server on DreanHost? Message-ID: Hi All: I know this has been done by a few people and am wondering if there is a setup guide somewhere around. I found a link in the mail archives created by Andre Garzia, but it no longer works. And while I've saved a few emails over the years, they're incomplete. I'm fairly new to DreamHost and could use a bit of hand-holding/pointers. Any FAQs or guides available? Thanks & Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design From scott at tactilemedia.com Wed Nov 27 00:09:58 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 26 Nov 2013 21:09:58 -0800 Subject: LiveCode Server on DreamHost? Message-ID: Of course, I meant DREAMHOST. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 11/26/13 8:44 PM, "Scott Rossi" wrote: >Hi All: > >I know this has been done by a few people and am wondering if there is a >setup guide somewhere around. I found a link in the mail archives created >by Andre Garzia, but it no longer works. And while I've saved a few >emails over the years, they're incomplete. I'm fairly new to DreamHost >and could use a bit of hand-holding/pointers. > >Any FAQs or guides available? > >Thanks & Regards, > >Scott Rossi >Creative Director >Tactile Media, UX/UI Design > > > > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode > From peterwawood at gmail.com Wed Nov 27 00:15:06 2013 From: peterwawood at gmail.com (Peter W A Wood) Date: Wed, 27 Nov 2013 13:15:06 +0800 Subject: LiveCode Server on DreanHost? In-Reply-To: References: Message-ID: Hi Scott Google found some helpful advice from Stephen Bancard: http://runtime-revolution.278305.n4.nabble.com/Setting-up-LC-Server-on-Dreamhost-td4667922.html http://fulton.barncard.com/downloads/LIVECODE_SERVER_SETUP.pdf Hope it helps and if not perhaps Stephen can. Peter http://LiveCode1001.blogspot.com On 27 Nov 2013, at 12:44, Scott Rossi wrote: > Hi All: > > I know this has been done by a few people and am wondering if there is a > setup guide somewhere around. I found a link in the mail archives created > by Andre Garzia, but it no longer works. And while I've saved a few > emails over the years, they're incomplete. I'm fairly new to DreamHost > and could use a bit of hand-holding/pointers. > > Any FAQs or guides available? > > Thanks & Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From scott at tactilemedia.com Wed Nov 27 01:00:18 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 26 Nov 2013 22:00:18 -0800 Subject: LiveCode Server on DreamHost? Message-ID: Thanks Peter, that's more recent than what I found. Have the files uploaded and permissioned, and am now doing the "what's wrong" dance. Hopefully will figure things out soon. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 11/26/13 9:15 PM, "Peter W A Wood" wrote: >Hi Scott > >Google found some helpful advice from Stephen Bancard: > >http://runtime-revolution.278305.n4.nabble.com/Setting-up-LC-Server-on-Dre >amhost-td4667922.html >http://fulton.barncard.com/downloads/LIVECODE_SERVER_SETUP.pdf > >Hope it helps and if not perhaps Stephen can. > >Peter >http://LiveCode1001.blogspot.com > > >On 27 Nov 2013, at 12:44, Scott Rossi wrote: > >> Hi All: >> >> I know this has been done by a few people and am wondering if there is a >> setup guide somewhere around. I found a link in the mail archives >>created >> by Andre Garzia, but it no longer works. And while I've saved a few >> emails over the years, they're incomplete. I'm fairly new to DreamHost >> and could use a bit of hand-holding/pointers. >> >> Any FAQs or guides available? >> >> Thanks & Regards, >> >> Scott Rossi >> Creative Director >> Tactile Media, UX/UI Design >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode > From gerry.orkin at gmail.com Wed Nov 27 03:55:58 2013 From: gerry.orkin at gmail.com (Gerry) Date: Wed, 27 Nov 2013 19:55:58 +1100 Subject: Scrolling a very large image on iOS Message-ID: Dear LiveCode hive mind I have an image that is 55000 pixels wide by 1250 pixels high. It contains 44 square photographs, evenly spaced across the image. The image is an imported jpeg that is about 9.5mb on disk. I?m scrolling it in a native iOS scroller that is 1250 x 1250 pixels. Paging is set to true (so as the user swipes the image snaps into position) - the scrolling group and image are positioned correctly so that swipes across the image positions each photograph correctly as the user swipes back and forth. As the image snaps into position, I grab the hScroll of the scroller and display it in a field. ? The scrolling group has it?s layer mode set to scrolling. The large image within the group has it's layermode set to dynamic. On preopencard I?m setting acceleratedrendering to true and the compositorType of the stack to ?OpenGL". Works well on an iPad 3?until I reach position 26 (hScroll = 32502). If I try to scroll to position 27 the image disappears (on both the device and the simulator). The scroller keeps working, however - if I keep scrolling I can see the hScroll value going up. And when I scroll back to position 26?the image re-appears. I?m thinking this is a memory problem. Is there any way I can improve the performance of this scroller (besides reducing the quality of image)? Cheers Gerry From neil at runrev.com Wed Nov 27 04:05:19 2013 From: neil at runrev.com (Neil Roger) Date: Wed, 27 Nov 2013 09:05:19 +0000 Subject: Scrolling a very large image on iOS In-Reply-To: References: Message-ID: <5295B5CF.80502@runrev.com> Hi Gerry, This could be an image cache issue. By default it is set to 64MB but this can be increased to 256MB via the following script- on preOpenStack set the imageCacheLimit to 268435456 end preOpenStack Kind Regards, Neil Roger -- RunRev Support Team ~ http://www.runrev.com LiveCode ? Realize fast, compile-free coding -- On 27/11/2013 08:55, Gerry wrote: > Dear LiveCode hive mind > > I have an image that is 55000 pixels wide by 1250 pixels high. It contains 44 square photographs, evenly spaced across the image. The image is an imported jpeg that is about 9.5mb on disk. > > I?m scrolling it in a native iOS scroller that is 1250 x 1250 pixels. Paging is set to true (so as the user swipes the image snaps into position) - the scrolling group and image are positioned correctly so that swipes across the image positions each photograph correctly as the user swipes back and forth. As the image snaps into position, I grab the hScroll of the scroller and display it in a field. > > The scrolling group has it?s layer mode set to scrolling. The large image within the group has it's layermode set to dynamic. On preopencard I?m setting acceleratedrendering to true and the compositorType of the stack to ?OpenGL". > > Works well on an iPad 3?until I reach position 26 (hScroll = 32502). If I try to scroll to position 27 the image disappears (on both the device and the simulator). The scroller keeps working, however - if I keep scrolling I can see the hScroll value going up. And when I scroll back to position 26?the image re-appears. > > I?m thinking this is a memory problem. Is there any way I can improve the performance of this scroller (besides reducing the quality of image)? > > Cheers > > Gerry > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From endernafi at gmail.com Wed Nov 27 04:05:46 2013 From: endernafi at gmail.com (Ender Nafi Elekcioglu) Date: Wed, 27 Nov 2013 11:05:46 +0200 Subject: Scrolling a very large image on iOS In-Reply-To: References: Message-ID: Hi Gerry, It?s not a memory problem; it?s a size {as in pixels} problem. All livecode objects have a 32k pixel size limit. If an object {especially the groups} exceeds this limit, scrolling gets totally erratic. You can test it by temporarily resizing your image to 30k pixel. It?ll work without a problem. Increase its width back to 34k {for example}, then scrolling will get crazy again ;-) Solution? There isn?t an easy one,? but you can try different workarounds after pinpointing the source of problem. Best, ~ Ender Nafi From monte at sweattechnologies.com Wed Nov 27 04:05:35 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed, 27 Nov 2013 20:05:35 +1100 Subject: Scrolling a very large image on iOS In-Reply-To: References: Message-ID: <25FEA60E-CA81-4AA8-AA89-5A7A681B2C03@sweattechnologies.com> On 27/11/2013, at 7:55 PM, Gerry wrote: > Works well on an iPad 3?until I reach position 26 (hScroll = 32502). If I try to scroll to position 27 the image disappears (on both the device and the simulator). The scroller keeps working, however - if I keep scrolling I can see the hScroll value going up. And when I scroll back to position 26?the image re-appears. I recently found scrolling layer mode has a limit around that wide while working on my paging springboard control. Cheers -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From gerry.orkin at gmail.com Wed Nov 27 04:14:48 2013 From: gerry.orkin at gmail.com (Gerry) Date: Wed, 27 Nov 2013 20:14:48 +1100 Subject: Scrolling a very large image on iOS In-Reply-To: <25FEA60E-CA81-4AA8-AA89-5A7A681B2C03@sweattechnologies.com> References: <25FEA60E-CA81-4AA8-AA89-5A7A681B2C03@sweattechnologies.com> Message-ID: Yeah I think Ender and Monte are right. Rats. Ok, before I try rolling my own, does anyone have a recipe for doing this sort of thing using single images (or any other suggestions)? We want the scrolling to work smoothly like it does e.g. in the iPhone camera roll.? And is this limitation (the 32k image limit) going to go away any time soon? Gerry On 27 November 2013 at 8:06:06 pm, Monte Goulding (monte at sweattechnologies.com) wrote: I recently found scrolling layer mode has a limit around that wide while working on my paging springboard control.? From endernafi at gmail.com Wed Nov 27 04:20:38 2013 From: endernafi at gmail.com (Ender Nafi Elekcioglu) Date: Wed, 27 Nov 2013 11:20:38 +0200 Subject: Scrolling a very large image on iOS In-Reply-To: References: <25FEA60E-CA81-4AA8-AA89-5A7A681B2C03@sweattechnologies.com> Message-ID: Gerry: ??And is this limitation (the 32k image limit) going to go away any time soon? ? It doesn?t seem so, unfortunately. Best method for a workaround is to split your image into 3 overlapping pieces. Scrolling towards the end of one image, swap it with the next one. Since they overlap, user won?t notice the change. It?s not an easy task, but once I?ve managed {with Bernd?s kind help} something like this. Hope it helps? ~ Ender Nafi From gerry.orkin at gmail.com Wed Nov 27 04:26:05 2013 From: gerry.orkin at gmail.com (Gerry) Date: Wed, 27 Nov 2013 20:26:05 +1100 Subject: Scrolling a very large image on iOS In-Reply-To: References: <25FEA60E-CA81-4AA8-AA89-5A7A681B2C03@sweattechnologies.com> Message-ID: Yep that's the sort of thing I was thinking of. Maybe 4 x 11 photos per image - keep track of which strip I'm on, and swap to the next or previous one when I get to the last or first image for each strip. Hang on?can?t I just use 3-4 images each less than the 32k limit? And just group them? Gerry On 27 November 2013 at 8:20:41 pm, Ender Nafi Elekcioglu (endernafi at gmail.com) wrote: Best method for a workaround is to split your image into 3 overlapping pieces. Scrolling towards the end of one image, swap it with the next one. Since they overlap, user won?t notice the change. From endernafi at gmail.com Wed Nov 27 04:29:26 2013 From: endernafi at gmail.com (Ender Nafi Elekcioglu) Date: Wed, 27 Nov 2013 11:29:26 +0200 Subject: Scrolling a very large image on iOS In-Reply-To: References: <25FEA60E-CA81-4AA8-AA89-5A7A681B2C03@sweattechnologies.com> Message-ID: Gerry: "Hang on?can?t I just use 3-4 images each less than the 32k limit? And just group them?? Nope :) The limit is not just for images, it?s for all objects. That?s why I said in my first post *especially groups* ;-) The group itself should be less than 32k, you have to swap the images within this limitation. ~ Ender Nafi From endernafi at gmail.com Wed Nov 27 04:33:37 2013 From: endernafi at gmail.com (Ender Nafi Elekcioglu) Date: Wed, 27 Nov 2013 11:33:37 +0200 Subject: Scrolling a very large image on iOS In-Reply-To: References: <25FEA60E-CA81-4AA8-AA89-5A7A681B2C03@sweattechnologies.com> Message-ID: This is Bernd?s stack: http://forums.runrev.com/viewtopic.php?f=49&t=13430#p64561 I?m sure it?ll help, or at least inspire you. Best, ~ Ender Nafi From monte at sweattechnologies.com Wed Nov 27 04:37:26 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Wed, 27 Nov 2013 20:37:26 +1100 Subject: Scrolling a very large image on iOS In-Reply-To: References: <25FEA60E-CA81-4AA8-AA89-5A7A681B2C03@sweattechnologies.com> Message-ID: On 27/11/2013, at 8:29 PM, Ender Nafi Elekcioglu wrote: > Gerry: > "Hang on?can?t I just use 3-4 images each less than the 32k limit? And just group them?? > > Nope :) > > The limit is not just for images, it?s for all objects. > That?s why I said in my first post *especially groups* ;-) > > The group itself should be less than 32k, you have to swap the images within this limitation. Hmm.. MCRectangle in the engine uses uint2 for width and height which should mean 65536 max. I think the limit is something to do with scrolling layer mode and accelerated rendering rather than object size. Cheers -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From endernafi at gmail.com Wed Nov 27 04:48:11 2013 From: endernafi at gmail.com (Ender Nafi Elekcioglu) Date: Wed, 27 Nov 2013 11:48:11 +0200 Subject: Scrolling a very large image on iOS In-Reply-To: References: <25FEA60E-CA81-4AA8-AA89-5A7A681B2C03@sweattechnologies.com> Message-ID: I?m dealing with this issue for a while. Actually, being afraid to deal with it. There are a couple of projects on my desk awaiting *endless scrolling lists*. Since scrolling can be done only via groups and since the groups has this dreadful size limit; those projects will become a nightmare for me. By *endless*, I mean the lists which update themselves when scrolling gets near to the bottom. 32k is too little,? Monte?s probably right but even 64k isn?t enough for a news/video list. I, too, have to come up with a good, smooth scrolling workaround. Or an engine fix hopefully :) ~ Ender Nafi On November 27, 2013 at 11:38:34, Gerry (gerry.orkin at gmail.com) wrote: Yeah just tried it :) Rats again. Arghhh :) Gerry On 27 November 2013 at 8:29:29 pm, Ender Nafi Elekcioglu (endernafi at gmail.com) wrote: Nope :) From klaus at major-k.de Wed Nov 27 06:35:54 2013 From: klaus at major-k.de (Klaus major-k) Date: Wed, 27 Nov 2013 12:35:54 +0100 Subject: Is backdrop better these days? In-Reply-To: <1385525526350-4672939.post@n4.nabble.com> References: <1385407511206-4672895.post@n4.nabble.com> <5D2E04A6-21DC-4025-8FB1-61F272116769@major-k.de> <1385525526350-4672939.post@n4.nabble.com> Message-ID: Hola Alejandro, Am 27.11.2013 um 05:12 schrieb Alejandro Tejada : > Hi Klaus, > > Klaus major-k wrote >> [snip] >> >> in 6.5 you will be able to: >> ... >> set the fullscreenmode of stack "xyz" to "noScale" >> ###"noScale" - The stack is not scaled, but is centered on the screen >> instead! >> set the fullscreen of stack "xyz" to TRUE >> ... > Just for curiosity, How did you set the color or the pattern > of the black border that shows in letterbox's fullscreenmode? I didn't, that was just a theoretic answer :-) > I would like to set a background image instead of this black border... Sorry, no idea so far... > Al Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From alanstenhouse at hotmail.com Wed Nov 27 06:43:57 2013 From: alanstenhouse at hotmail.com (Alan Stenhouse) Date: Wed, 27 Nov 2013 12:43:57 +0100 Subject: Scrolling a very large image on iOS In-Reply-To: References: Message-ID: Merhaba Ender In those cases do you ever think about just using an HTML page with embedded links that you can later parse? (Here I'm presuming that the HTML native scroller doesn't have the same 32k limitation?) Nice work on the panorama from you and Bernd et al too! :-) cheers Alan On 27/11/2013, at 12:00 PM, use-livecode-request at lists.runrev.com wrote: > Date: Wed, 27 Nov 2013 11:48:11 +0200 > From: Ender Nafi Elekcioglu > > I?m dealing with this issue for a while. > Actually, being afraid to deal with it. > There are a couple of projects on my desk awaiting *endless scrolling lists*. > > Since scrolling can be done only via groups and since the groups has this dreadful size limit; > those projects will become a nightmare for me. > > By *endless*, I mean the lists which update themselves when scrolling gets near to the bottom. > 32k is too little,? > Monte?s probably right but even 64k isn?t enough for a news/video list. > > I, too, have to come up with a good, smooth scrolling workaround. > Or an engine fix hopefully :) > > > ~ Ender Nafi From roger.e.eller at sealedair.com Wed Nov 27 07:50:37 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Wed, 27 Nov 2013 07:50:37 -0500 Subject: Is backdrop better these days? In-Reply-To: <1385525526350-4672939.post@n4.nabble.com> References: <1385407511206-4672895.post@n4.nabble.com> <5D2E04A6-21DC-4025-8FB1-61F272116769@major-k.de> <1385525526350-4672939.post@n4.nabble.com> Message-ID: I don't think that is currently an option, but it would be a great enhancement request. ~Roger On Nov 26, 2013 11:13 PM, "Alejandro Tejada" wrote: > Hi Klaus, > > > Klaus major-k wrote > > [snip] > > > > in 6.5 you will be able to: > > ... > > set the fullscreenmode of stack "xyz" to "noScale" > > ###"noScale" - The stack is not scaled, but is centered on the screen > > instead! > > set the fullscreen of stack "xyz" to TRUE > > ... > > Just for curiosity, How did you set the color or the pattern > of the black border that shows in letterbox's fullscreenmode? > > I would like to set a background image instead of this black border... > > Al > > > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/Is-backdrop-better-these-days-tp4672895p4672939.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From ambassador at fourthworld.com Wed Nov 27 09:06:02 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 27 Nov 2013 06:06:02 -0800 Subject: LiveCode Server on DreamHost? In-Reply-To: References: Message-ID: <5295FC4A.8070204@fourthworld.com> Scott Rossi wrote: > Have the files uploaded and permissioned, and am now doing the "what's > wrong" dance. Hopefully will figure things out soon. What error are you getting? -- 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 From capellan2000 at gmail.com Wed Nov 27 09:34:57 2013 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Wed, 27 Nov 2013 09:34:57 -0500 Subject: Scrolling a very large image on iOS Message-ID: on Wed, 27 Nov 2013 11:48:11 +0200 Ender Nafi Elekcioglu wrote: > I'm dealing with this issue for a while. > Actually, being afraid to deal with it. > There are a couple of projects on my desk awaiting > *endless scrolling lists*. Interesting, to say the least... Time ago, in the days of HyperCard, developers used many tricks to create the illusion of infinite scrolling. (swapping content, xcmd's and hidden fields) But it's important to consider the pro and cons of using such design. http://econsultancy.com/do/blog/61703-infinite-scrolling-pros-and-cons Al From ben at runrev.com Wed Nov 27 11:58:52 2013 From: ben at runrev.com (Benjamin Beaumont) Date: Wed, 27 Nov 2013 16:58:52 +0000 Subject: RELEASE LiveCode 6.5 Message-ID: Dear List Members We are please to announce the release of LiveCode 6.5.0. Thank you to all those who tested the releases and reported reproducible bugs. It is your work that has enabled us to release today. LiveCode 6.5 will now because the basis for our maintenance cycle so maintenance releases will now have the 6.5.x numbering convention. *Release Content* Fullscreen scaling on mobile High density screen support Density Mapped images Improved image editing tools. PCRE library updated to version 8.33 libUrlSetSSLVerification now supported on mobile platforms New global property colorDialogColors Integration of revFont external Enhanced \'filter\' command Text Measurement The optional *recursively* adverb has been added to union and intersect commands Xpath functions 75 bug fixes: 11523 - 3D borders render incorrectly *11522 - Crash when getting the filename of an image which references a file that does not exist* *11512 - 1 pixel borders don\'t scale correctly in fullscreen mode* *11511 - Fix a crash when retrieving contacts imported from Outlook into the iOS address book* *11501 - Certain non-antialiased polygons with 1 pixel borders fill incorrectly* *11496 - Redrawing gradients when accelerated rendering is on can cause lines to appear in certain cases* *11485 - Mobile native controls are positioned incorrectly in fullscreen mode* *11458 - Text size element of styled text array is not converted to numeric format* 11494 - Crash when calling intersects on a button with an icon. 11486 - Angled images not rendering correctly in certain situations. 11475 - Field htmltext has invalid color attribure values 11428 - Fix crash on Android calling mobilePlaySoundOnChannel with invalid path 11395 - Grapic markers are drawn incorrectly 11278 - Android mobilePick can only be called once, reliably 11149 - revDatabaseConnectResult always returns empty 11476 - Freeze when drawing certain gradients 11472 - Linux \"Open Stack...\" dialog does not show \"All Files\" option. 11471 - Loss of quality for certain gradient types 11470 - Regular polygons with a line size greater than 1 clip 11469 - Ovals are filled incorrectly when using startAngle/arcAngle 11464 - Fix crash when printing an RLE-encoded image on OSX 11457 - Antialised single point lines draw across pixels 11456 - OS X tab buttons clip for certain text sizes 11445 - Fix image scaling with \"best\" resizequality rounding scale factors down to integer values. 11444 - Odd letter spacing in text when rendered in certain fonts at certain sizes. 10485 - Take account of keyboard visibility in Android \"effective working screenrect\". Notify engine of changes to keyboard visibility. 11436 - Standalone builder still has option for Armv6 iOS builds 11426 - When drawing opaque round rectangles the fill overlaps the stroke 11422 - Multiply blend mode incorrect 11415 - Random issues with text layout and alignment. 11413 - Text clipped vertically on iOS for certain fonts (updated fix for iOS 6) 11320 - Player rect not adjusted by stack scroll when redrawing on OSX 11197 - Crash when attempting to print to file on linux 11397 - Imagedata of resized images returned at wrong scale 11393 - Fullscreen modes cause clipped text on Windows 11390 - Fix incorrect cropping of resized image 11389 - Dashed borders on oval grapgics do not start at the correct location 11388 - 1 pixel non-antialiased lines draw incorrectly in certain circumstances 11360 - Linux themeing does not correctly work on non 32bit displays 11355 - Focus border on Windows default button has artefacts. 10508 - Printing text to PDF on Windows can result in poor layout. 11367 - Gradient inspector does not draw fully 11359 - Redraw issues with inner glow and inner shadow. 11351 - \"recursively\" option for array union and intersect not working. 11349 - Content outside of card rect can be seen in show all fullscreenmode when acceleratedRendering is true. 11338 - Character backColor not rendered in fields. 11336 - The fullscreenModes are now camel-case. 11335 - In fullscreen mode on Mac, the window resize handle still appears. 11332 - Text not rendered in correct location in -ui mode when taking snapshot of object. 11330 - Visual effects not displayed correctly on iOS when fullscreenmode is \'no border\', and stack extends outside of the visible screen. 11329 - Dynamic layers do not render correctly when fullscreenmode causes stack to not be at top-left of screen. 11327 - Opening large scripts takes longer in 6.5 than 6.1.2 11325 - Graphic effects rendered incorrectly when non-Normal blend mode used. 11324 - Borders still rendered even if borderWidth == 0. 11315 - Instability of LiveCode when gradients are being / have been displayed. 11314 - Image transparency is lost when setting the imagedata 11299 - Answer folder for XCode app bundle has a typo 11198 - Fix color issues on PowerPC Mac 11174 - Conical spiral XY and sqrtXY gradients render incorrectly. 11310 - Italic fonts clipped on right hand side on iOS 11309 - Text clips for certain fonts on Mac 11297 - Setting the color of a graphic effect resets its opacity 11283 - Italic fonts are not rendered on Mac. 11280 - Project browser does not expand cards of substacks 11241 - Non-3D borders are always black. 11227 - Android native controls are positioned incorrectly. 11221 - Field background pattern not working. 11179 - Images with an angle other than 0 are not drawn. 11178 - Import from paint always fails. 11176 - MouseDoubleUp messages are not sent on Linux. 10995 - Standalones now set default font settings the same as the IDE. 10980 - Setting the filename of an image which already has a filename causes the property to be unset and \'could not load image\' in the result. 10977 - Setting the image filename to empty unsets the image text and vice-versa 10964 - Inconsistent rounding of floating point values. 6720 - Scrollbar properties not returned in correct format. *Tutorials* For all those interested in using these features in you stacks, please see the release notes for usage details. For certain features we've also produced tutorials which can be found here: http://lessons.runrev.com/m/15262 *Getting this release* To upgrade to this release please select "check for updates" from the help menu in LiveCode or download the installers directly at: http://downloads.livecode.com/livecode/6_5_0/ Warm regards, The LiveCode Team From rman at free.fr Wed Nov 27 12:15:28 2013 From: rman at free.fr (Robert Mann) Date: Wed, 27 Nov 2013 09:15:28 -0800 (PST) Subject: Feedback request: getProp/setProp and lockMessages In-Reply-To: References: <5290CAEB.4010107@fourthworld.com> <1425156394.20131123091434@ahsoftware.net> <5290FB66.6030602@hyperactivesw.com> <5290FF50.5000600@fourthworld.com> <1385455342227-4672920.post@n4.nabble.com> Message-ID: <1385572528726-4672962.post@n4.nabble.com> Hi Monte, thanks for outlining the work around trick of setting the whole property set to avoid calling any set prop handler above. Could you develop a little with an example on how the use of a pass command to deal with the problem outlined? Thanks, Robert -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Feedback-request-getProp-setProp-and-lockMessages-tp4672821p4672962.html Sent from the Revolution - User mailing list archive at Nabble.com. From rman at free.fr Wed Nov 27 12:29:34 2013 From: rman at free.fr (Robert Mann) Date: Wed, 27 Nov 2013 09:29:34 -0800 (PST) Subject: Feedback request: getProp/setProp and lockMessages In-Reply-To: <1385572528726-4672962.post@n4.nabble.com> References: <5290CAEB.4010107@fourthworld.com> <1425156394.20131123091434@ahsoftware.net> <5290FB66.6030602@hyperactivesw.com> <5290FF50.5000600@fourthworld.com> <1385455342227-4672920.post@n4.nabble.com> <1385572528726-4672962.post@n4.nabble.com> Message-ID: <1385573374388-4672963.post@n4.nabble.com> oop!s answering to myself :: can you confirm you meant using the "pass to top" form I just discovered! ?? Still if you have an example, would be useful! thanks. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Feedback-request-getProp-setProp-and-lockMessages-tp4672821p4672963.html Sent from the Revolution - User mailing list archive at Nabble.com. From richmondmathewson at gmail.com Wed Nov 27 12:47:50 2013 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 27 Nov 2013 19:47:50 +0200 Subject: RELEASE LiveCode 6.5 In-Reply-To: References: Message-ID: <52963046.90902@gmail.com> fullscreenmode looks a blast! Harry Congratters on 6.5.0! Richmond. From scott at tactilemedia.com Wed Nov 27 14:05:21 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 27 Nov 2013 11:05:21 -0800 Subject: LiveCode Server on DreamHost? In-Reply-To: <5295FC4A.8070204@fourthworld.com> References: <5295FC4A.8070204@fourthworld.com> Message-ID: Not Found The requested URL /cgi-bin/livecode-server/test.lc was not found on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. It seems like something path-related is wrong, or perhaps the location of the files. In looking over Stephen Barncard's posts on the list, it seems 2 htaccess files are needed to get things running on DreamHost, but his PDF appears to show only one. Perhaps something needs to be enabled somewhere via my user management panel? I wrote to Stephen off list -- not sure what else to try. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 11/27/13 6:06 AM, "Richard Gaskin" wrote: >Scott Rossi wrote: >> Have the files uploaded and permissioned, and am now doing the "what's >> wrong" dance. Hopefully will figure things out soon. > >What error are you getting? > >-- > 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 at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode > From monte at sweattechnologies.com Wed Nov 27 14:37:11 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu, 28 Nov 2013 06:37:11 +1100 Subject: Feedback request: getProp/setProp and lockMessages In-Reply-To: <1385573374388-4672963.post@n4.nabble.com> References: <5290CAEB.4010107@fourthworld.com> <1425156394.20131123091434@ahsoftware.net> <5290FB66.6030602@hyperactivesw.com> <5290FF50.5000600@fourthworld.com> <1385455342227-4672920.post@n4.nabble.com> <1385572528726-4672962.post@n4.nabble.com> <1385573374388-4672963.post@n4.nabble.com> Message-ID: <8C700868-7E11-4DD7-9C0E-30D077301602@sweattechnologies.com> On 28/11/2013, at 4:29 AM, Robert Mann wrote: > oop!s answering to myself :: can you confirm you meant using the "pass to > top" form I just discovered! ?? Still if you have an example, would be > useful! thanks. You can use pass or pass to top. You would use pass to top if you are concerned there may be other setprop handlers for that property in the message path that may not pass. As long as the setProp is passed eventually to the engine then the target gets it's property set. The thing we can't do here is pass with a modified parameter which is where you might want to set the property of the target but if you use the customPropertySet syntax it avoids the recursion.... still pass with modified parameters might be a helpful thing in sone circumstances... Cheers -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From skip at magicgate.com Wed Nov 27 14:41:17 2013 From: skip at magicgate.com (Magicgate Software - Skip Kimpel) Date: Wed, 27 Nov 2013 14:41:17 -0500 Subject: 6.5 and black backdrop issue? Message-ID: Just downloaded and installed 6.5. When I launch it, I get a black backdrop. Even when I go into preferences and change the color there, it still remains black. Suggestions? SKIP From endernafi at gmail.com Wed Nov 27 14:58:20 2013 From: endernafi at gmail.com (Ender Nafi Elekcioglu) Date: Wed, 27 Nov 2013 21:58:20 +0200 Subject: Scrolling a very large image on iOS In-Reply-To: References: Message-ID: Alan, Webviews doesn?t have such a limitation, as far as I know. But transcending to a hybrid approach is a huge undertake. I have a co-worker who is proficient in Html5, so we?re discussing this issue. We already use an html5 photo gallery in our apps. It has its own drawbacks, though,? one of many is that native mobile objects can?t get layered. Apparently, Apple didn?t make them as a part of OpenGL library. They don?t pass through touch messages,? blending them into the app {making them look like a native part of the app} is really hard, etc. Conclusion?? I couldn?t convince myself, I?m still very fond of native solutions :) I rather prefer using tricks as Alejandro mentioned. Alejandro,? I couldn?t think a way how to use an ?xcmd?, ?xfcn? or ?hidden field? for scrolling. I?m googling for working samples. Thanks for the article, but pro?s outweigh the con?s thinking of my needs. I've had 3 functionalities to be accomplished for my business apps. * Slideview: to reveal an underneath menu and to go back previous page iOS 7 style * Photo gallery: Android or iOS style gallery, pinch-zoom supported, native LiveCode * Infinite scrolling: self-updating news list First done, two to go :) Best, ~ Ender Nafi From martyknappster at gmail.com Wed Nov 27 15:33:05 2013 From: martyknappster at gmail.com (Marty Knapp) Date: Wed, 27 Nov 2013 12:33:05 -0800 Subject: Printing quality in 6.5 Message-ID: <52965701.8060502@gmail.com> I just did a quick test print on my Mac of a stack with a couple of fields with text in them. In LC 6.1.3 the text is nice and crisp but on 6.5 it's a bit pixelated - definitely lower quality. It looks like it's printing it as a graphic. Haven't tried it on Windows but this is not good news for me. Is anybody else seeing this? Marty Knapp From bill at bluewatermaritime.com Wed Nov 27 16:04:02 2013 From: bill at bluewatermaritime.com (william humphrey) Date: Wed, 27 Nov 2013 17:04:02 -0400 Subject: Printing quality in 6.5 In-Reply-To: <52965701.8060502@gmail.com> References: <52965701.8060502@gmail.com> Message-ID: That is a stopper for me. I reported this and they confirmed that they knew images were of lower quality (even when set to best quality). I was hoping they fixed it. In addition to printing just try looking at an image png or jpg imported as a graphic and note how it is almost turned into 8 byte. Please report the low quality printing too. On Wed, Nov 27, 2013 at 4:33 PM, Marty Knapp wrote: > I just did a quick test print on my Mac of a stack with a couple of fields > with text in them. In LC 6.1.3 the text is nice and crisp but on 6.5 it's a > bit pixelated - definitely lower quality. It looks like it's printing it as > a graphic. Haven't tried it on Windows but this is not good news for me. Is > anybody else seeing this? > > Marty Knapp > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- http://www.bluewatermaritime.com From richmondmathewson at gmail.com Wed Nov 27 16:11:03 2013 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 27 Nov 2013 23:11:03 +0200 Subject: Printing quality in 6.5 In-Reply-To: <52965701.8060502@gmail.com> References: <52965701.8060502@gmail.com> Message-ID: <52965FE7.2090807@gmail.com> On 27.11.2013 22:33, Marty Knapp wrote: > I just did a quick test print on my Mac of a stack with a couple of > fields with text in them. In LC 6.1.3 the text is nice and crisp but > on 6.5 it's a bit pixelated - definitely lower quality. It looks like > it's printing it as a graphic. Haven't tried it on Windows but this is > not good news for me. Is anybody else seeing this? > > Marty Knapp > I don't quite understand how that can have happened. I thought that 6.1.3 was merged with 6.5.0; maybe not. Richmond. From pete at lcsql.com Wed Nov 27 16:49:26 2013 From: pete at lcsql.com (Peter Haworth) Date: Wed, 27 Nov 2013 13:49:26 -0800 Subject: 6.5 Problem Message-ID: I have a plugin stack that works fine in LC 6.1.x but when I open it in 6.5, the height and width of the two fields on it are changed to the extent that they don't fit within the stack window. I don't see any obvious code that could be causing this. Any clues? Pete lcSQL Software From paulhibbert at mac.com Wed Nov 27 16:52:36 2013 From: paulhibbert at mac.com (Paul Hibbert) Date: Wed, 27 Nov 2013 13:52:36 -0800 Subject: Printing quality in 6.5 In-Reply-To: <52965FE7.2090807@gmail.com> References: <52965701.8060502@gmail.com> <52965FE7.2090807@gmail.com> Message-ID: <60B6B9EE-C87E-4330-BFC4-2C8F8A768837@mac.com> Hi Marty, Just done a test and found no problems printing text or high res images on Mac OS X 10.8.5 to Epson R2000, I can't see any difference at all. I also printed to PDF and compared enlarged PDFs, still no difference, in fact at max enlargement in Preview the text is still crisp indicating that LC printed the text as vector data not pixel data. Paul On 2013-11-27, at 1:11 PM, Richmond wrote: > On 27.11.2013 22:33, Marty Knapp wrote: >> I just did a quick test print on my Mac of a stack with a couple of fields with text in them. In LC 6.1.3 the text is nice and crisp but on 6.5 it's a bit pixelated - definitely lower quality. It looks like it's printing it as a graphic. Haven't tried it on Windows but this is not good news for me. Is anybody else seeing this? >> >> Marty Knapp >> > > I don't quite understand how that can have happened. > > I thought that 6.1.3 was merged with 6.5.0; maybe not. > > Richmond. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Wed Nov 27 16:59:13 2013 From: richmondmathewson at gmail.com (Richmond) Date: Wed, 27 Nov 2013 23:59:13 +0200 Subject: Printing quality in 6.5 In-Reply-To: <60B6B9EE-C87E-4330-BFC4-2C8F8A768837@mac.com> References: <52965701.8060502@gmail.com> <52965FE7.2090807@gmail.com> <60B6B9EE-C87E-4330-BFC4-2C8F8A768837@mac.com> Message-ID: <52966B31.3090103@gmail.com> On 27.11.2013 23:52, Paul Hibbert wrote: > Hi Marty, > > Just done a test and found no problems printing text or high res images on Mac OS X 10.8.5 to Epson R2000, I can't see any difference at all. > > I also printed to PDF and compared enlarged PDFs, still no difference, in fact at max enlargement in Preview the text is still crisp indicating that LC printed the text as vector data not pixel data. > > Paul > > > On 2013-11-27, at 1:11 PM, Richmond wrote: > >> On 27.11.2013 22:33, Marty Knapp wrote: >>> I just did a quick test print on my Mac of a stack with a couple of fields with text in them. In LC 6.1.3 the text is nice and crisp but on 6.5 it's a bit pixelated - definitely lower quality. It looks like it's printing it as a graphic. Haven't tried it on Windows but this is not good news for me. Is anybody else seeing this? >>> >>> Marty Knapp >>> >> I don't quite understand how that can have happened. >> >> I thought that 6.1.3 was merged with 6.5.0; maybe not. >> >> Richmond. >> >> My printer is at work, so I just printed a card with an image to PDF here on my UbuntuStudio 13.10 box with no jaggy nonsense at all. Richmond. From pete at lcsql.com Wed Nov 27 17:01:36 2013 From: pete at lcsql.com (Peter Haworth) Date: Wed, 27 Nov 2013 14:01:36 -0800 Subject: 6.5 Problem In-Reply-To: References: Message-ID: Also have a report from a customer that the plugin is positioned with its top above the top of the screen. Pete lcSQL Software On Wed, Nov 27, 2013 at 1:49 PM, Peter Haworth wrote: > I have a plugin stack that works fine in LC 6.1.x but when I open it in > 6.5, the height and width of the two fields on it are changed to the extent > that they don't fit within the stack window. > > I don't see any obvious code that could be causing this. Any clues? > > > Pete > lcSQL Software > From martyknappster at gmail.com Wed Nov 27 17:04:08 2013 From: martyknappster at gmail.com (Marty Knapp) Date: Wed, 27 Nov 2013 14:04:08 -0800 Subject: Printing quality in 6.5 In-Reply-To: <60B6B9EE-C87E-4330-BFC4-2C8F8A768837@mac.com> References: <52965701.8060502@gmail.com> <52965FE7.2090807@gmail.com> <60B6B9EE-C87E-4330-BFC4-2C8F8A768837@mac.com> Message-ID: <52966C58.4040701@gmail.com> I just printed to PDF and enlarged it, looked good, printed the PDF not so good. This was done on Mavericks. So I then transferred the PDF to a Snow Leopard machine and it prints fine, so it appears to be a Mavericks issue. The weird thing is that printing from LC 6.1.3 on Mavericks looks good. Marty > Hi Marty, > > Just done a test and found no problems printing text or high res images on Mac OS X 10.8.5 to Epson R2000, I can't see any difference at all. > > I also printed to PDF and compared enlarged PDFs, still no difference, in fact at max enlargement in Preview the text is still crisp indicating that LC printed the text as vector data not pixel data. > > Paul > > > On 2013-11-27, at 1:11 PM, Richmond wrote: > >> On 27.11.2013 22:33, Marty Knapp wrote: >>> I just did a quick test print on my Mac of a stack with a couple of fields with text in them. In LC 6.1.3 the text is nice and crisp but on 6.5 it's a bit pixelated - definitely lower quality. It looks like it's printing it as a graphic. Haven't tried it on Windows but this is not good news for me. Is anybody else seeing this? >>> >>> Marty Knapp >>> >> I don't quite understand how that can have happened. >> >> I thought that 6.1.3 was merged with 6.5.0; maybe not. >> >> Richmond. >> From harrison at all-auctions.com Wed Nov 27 17:06:56 2013 From: harrison at all-auctions.com (Rick Harrison) Date: Wed, 27 Nov 2013 17:06:56 -0500 Subject: iOS Image/Sprite Animation? In-Reply-To: References: <1385407511206-4672895.post@n4.nabble.com> <5D2E04A6-21DC-4025-8FB1-61F272116769@major-k.de> <1385525526350-4672939.post@n4.nabble.com> Message-ID: <152147D2-E8D4-4DEB-9237-DCD75CF17AEA@all-auctions.com> Hi there, I?m trying to do what I at first thought to be some simple image/sprite animations on iOS. I started out with the idea of using a Quicktime movie. I thought maybe I?d use 2 or three of them. Turns out one can only display 1 movie at a time in iOS, and the movie always has to be on the top layer under iOS. That killed that idea. :-( I then thought about converting my movie to an animated gif. It is 240 frames, and runs very slowly. Anyway to speed it up? I then looked at the custom icon type animation, but alas icons can only be 128 by 128 pixels. My image needs to be 608 by 342 pixels, so that kills that idea. I looked at setting one image to the contents of another one, but then noticed the routine uses: put URL VarImageName into image VarImageDisplay of card 1 which loads images from the disk which is also too slow! I know I can?t be the only one who has run into this situation before. What do you more experienced animators recommend? Thanks in advance! Rick From endernafi at gmail.com Wed Nov 27 17:11:27 2013 From: endernafi at gmail.com (Ender Nafi Elekcioglu) Date: Thu, 28 Nov 2013 00:11:27 +0200 Subject: iOS Image/Sprite Animation? In-Reply-To: <152147D2-E8D4-4DEB-9237-DCD75CF17AEA@all-auctions.com> References: <1385407511206-4672895.post@n4.nabble.com> <5D2E04A6-21DC-4025-8FB1-61F272116769@major-k.de> <1385525526350-4672939.post@n4.nabble.com> <152147D2-E8D4-4DEB-9237-DCD75CF17AEA@all-auctions.com> Message-ID: Rick: ?? but alas icons can only be 128 by 128 pixels ?? Which icons? I don?t believe there?s such a limitation. RunRev offers button-icon type sprites for animation. Something like this: _local sCounter _on animationProcess __set the icon of button ?animation? to the id of image (?sprite_? & sCounter) __add 1 to sCounter __send ?animationProcess? to me in 1 milliseconds _end animationProcess Hope it helps, ~ Ender Nafi From scott at tactilemedia.com Wed Nov 27 17:34:36 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 27 Nov 2013 14:34:36 -0800 Subject: iOS Image/Sprite Animation? In-Reply-To: <152147D2-E8D4-4DEB-9237-DCD75CF17AEA@all-auctions.com> References: <1385407511206-4672895.post@n4.nabble.com> <5D2E04A6-21DC-4025-8FB1-61F272116769@major-k.de> <1385525526350-4672939.post@n4.nabble.com> <152147D2-E8D4-4DEB-9237-DCD75CF17AEA@all-auctions.com> Message-ID: What exactly are you trying to animate? If you provide some details, a suggestion might be easier. If you're not already, look at the acceleratedRendering property and the layerMode of the object/s you're trying to animate. If you're replacing frames of a rectangular region, you might be able to manually update an image object using the individual frames of the animation. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 11/27/13 2:06 PM, "Rick Harrison" wrote: >Hi there, > >I?m trying to do what I at first thought to >be some simple image/sprite animations >on iOS. > >I started out with the idea of using a >Quicktime movie. I thought maybe I?d >use 2 or three of them. > >Turns out one can only display 1 movie >at a time in iOS, and the movie always >has to be on the top layer under iOS. >That killed that idea. :-( > >I then thought about converting my >movie to an animated gif. It is 240 >frames, and runs very slowly. >Anyway to speed it up? > >I then looked at the custom icon type >animation, but alas icons can only be >128 by 128 pixels. My image needs to >be 608 by 342 pixels, so that kills that >idea. > >I looked at setting one image to the >contents of another one, but then >noticed the routine uses: >put URL VarImageName into image VarImageDisplay of card 1 >which loads images from the disk which >is also too slow! > >I know I can?t be the only one who has >run into this situation before. What >do you more experienced animators >recommend? > >Thanks in advance! > >Rick > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode > From endernafi at gmail.com Wed Nov 27 17:37:43 2013 From: endernafi at gmail.com (Ender Nafi Elekcioglu) Date: Thu, 28 Nov 2013 00:37:43 +0200 Subject: iOS Image/Sprite Animation? In-Reply-To: References: <1385407511206-4672895.post@n4.nabble.com> <5D2E04A6-21DC-4025-8FB1-61F272116769@major-k.de> <1385525526350-4672939.post@n4.nabble.com> <152147D2-E8D4-4DEB-9237-DCD75CF17AEA@all-auctions.com> Message-ID: Rick hi, Scott?s right, what kind of animation you?re trying to achieve changes a lot of things. My sample script is just for defining the method. If you need a couple of separate animations going on simultaneously, then it will fall short performance-wise. You may consider implementing a *frameUpdate* process. There?s a good example in the script of Galactic Gauntlet of RunRev. I don?t know its licensing conditions though,? it was part of Game Academy, if I remember correctly. Best, ~ Ender Nafi From martyknappster at gmail.com Wed Nov 27 17:46:16 2013 From: martyknappster at gmail.com (Marty Knapp) Date: Wed, 27 Nov 2013 14:46:16 -0800 Subject: Printing quality in 6.5 In-Reply-To: <52966C58.4040701@gmail.com> References: <52965701.8060502@gmail.com> <52965FE7.2090807@gmail.com> <60B6B9EE-C87E-4330-BFC4-2C8F8A768837@mac.com> <52966C58.4040701@gmail.com> Message-ID: <52967638.9070809@gmail.com> For what it's worth, this appears to be related to just this one aftermarket font. I did try building a standalone in 6.5 and printed from that and it seems to be fine, so it's this one font in the 6.5 IDE (and any PDFs I create from there). Works fine everywhere else. How weird is that? We'll see how it goes. Marty > I just printed to PDF and enlarged it, looked good, printed the PDF > not so good. This was done on Mavericks. So I then transferred the PDF > to a Snow Leopard machine and it prints fine, so it appears to be a > Mavericks issue. The weird thing is that printing from LC 6.1.3 on > Mavericks looks good. > > Marty >> Hi Marty, >> >> Just done a test and found no problems printing text or high res >> images on Mac OS X 10.8.5 to Epson R2000, I can't see any difference >> at all. >> >> I also printed to PDF and compared enlarged PDFs, still no >> difference, in fact at max enlargement in Preview the text is still >> crisp indicating that LC printed the text as vector data not pixel data. >> >> Paul >> >> >> On 2013-11-27, at 1:11 PM, Richmond wrote: >> >>> On 27.11.2013 22:33, Marty Knapp wrote: >>>> I just did a quick test print on my Mac of a stack with a couple of >>>> fields with text in them. In LC 6.1.3 the text is nice and crisp >>>> but on 6.5 it's a bit pixelated - definitely lower quality. It >>>> looks like it's printing it as a graphic. Haven't tried it on >>>> Windows but this is not good news for me. Is anybody else seeing this? >>>> >>>> Marty Knapp >>>> >>> I don't quite understand how that can have happened. >>> >>> I thought that 6.1.3 was merged with 6.5.0; maybe not. >>> >>> Richmond. >>> From ray at linkit.com Wed Nov 27 17:58:25 2013 From: ray at linkit.com (Ray) Date: Wed, 27 Nov 2013 17:58:25 -0500 Subject: iOS Image/Sprite Animation? In-Reply-To: References: <1385407511206-4672895.post@n4.nabble.com> <5D2E04A6-21DC-4025-8FB1-61F272116769@major-k.de> <1385525526350-4672939.post@n4.nabble.com> <152147D2-E8D4-4DEB-9237-DCD75CF17AEA@all-auctions.com> Message-ID: <52967911.9050307@LinkIt.Com> Scott, I'm just finishing an animation program and Livecode has served us well as a platform for this. We're not using different images for each frame, yet, but we're doing a lot of other creative things like rotating images, changing their dimensions and changing their opacity (fade in and out) and I'd be happy to share this with you if you think it would help. We've had good results taking snapshots of images on the fly so you might consider doing this before you start playing your animation. This might eliminate your speed issues. Ray On 11/27/2013 5:34 PM, Scott Rossi wrote: > What exactly are you trying to animate? If you provide some details, a > suggestion might be easier. > > If you're not already, look at the acceleratedRendering property and the > layerMode of the object/s you're trying to animate. > > If you're replacing frames of a rectangular region, you might be able to > manually update an image object using the individual frames of the > animation. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > On 11/27/13 2:06 PM, "Rick Harrison" wrote: > >> Hi there, >> >> I?m trying to do what I at first thought to >> be some simple image/sprite animations >> on iOS. >> >> I started out with the idea of using a >> Quicktime movie. I thought maybe I?d >> use 2 or three of them. >> >> Turns out one can only display 1 movie >> at a time in iOS, and the movie always >> has to be on the top layer under iOS. >> That killed that idea. :-( >> >> I then thought about converting my >> movie to an animated gif. It is 240 >> frames, and runs very slowly. >> Anyway to speed it up? >> >> I then looked at the custom icon type >> animation, but alas icons can only be >> 128 by 128 pixels. My image needs to >> be 608 by 342 pixels, so that kills that >> idea. >> >> I looked at setting one image to the >> contents of another one, but then >> noticed the routine uses: >> put URL VarImageName into image VarImageDisplay of card 1 >> which loads images from the disk which >> is also too slow! >> >> I know I can?t be the only one who has >> run into this situation before. What >> do you more experienced animators >> recommend? >> >> Thanks in advance! >> >> Rick >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bill at bluewatermaritime.com Wed Nov 27 18:00:17 2013 From: bill at bluewatermaritime.com (william humphrey) Date: Wed, 27 Nov 2013 19:00:17 -0400 Subject: Printing quality in 6.5 In-Reply-To: <52967638.9070809@gmail.com> References: <52965701.8060502@gmail.com> <52965FE7.2090807@gmail.com> <60B6B9EE-C87E-4330-BFC4-2C8F8A768837@mac.com> <52966C58.4040701@gmail.com> <52967638.9070809@gmail.com> Message-ID: It happens to me only when I import images. On Wed, Nov 27, 2013 at 6:46 PM, Marty Knapp wrote: > For what it's worth, this appears to be related to just this one aftermarket > font. I did try building a standalone in 6.5 and printed from that and it > seems to be fine, so it's this one font in the 6.5 IDE (and any PDFs I > create from there). Works fine everywhere else. How weird is that? We'll see > how it goes. > > Marty > >> I just printed to PDF and enlarged it, looked good, printed the PDF not so >> good. This was done on Mavericks. So I then transferred the PDF to a Snow >> Leopard machine and it prints fine, so it appears to be a Mavericks issue. >> The weird thing is that printing from LC 6.1.3 on Mavericks looks good. >> >> Marty >>> >>> Hi Marty, >>> >>> Just done a test and found no problems printing text or high res images >>> on Mac OS X 10.8.5 to Epson R2000, I can't see any difference at all. >>> >>> I also printed to PDF and compared enlarged PDFs, still no difference, in >>> fact at max enlargement in Preview the text is still crisp indicating that >>> LC printed the text as vector data not pixel data. >>> >>> Paul >>> >>> >>> On 2013-11-27, at 1:11 PM, Richmond wrote: >>> >>>> On 27.11.2013 22:33, Marty Knapp wrote: >>>>> >>>>> I just did a quick test print on my Mac of a stack with a couple of >>>>> fields with text in them. In LC 6.1.3 the text is nice and crisp but on 6.5 >>>>> it's a bit pixelated - definitely lower quality. It looks like it's printing >>>>> it as a graphic. Haven't tried it on Windows but this is not good news for >>>>> me. Is anybody else seeing this? >>>>> >>>>> Marty Knapp >>>>> >>>> I don't quite understand how that can have happened. >>>> >>>> I thought that 6.1.3 was merged with 6.5.0; maybe not. >>>> >>>> Richmond. >>>> > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- http://www.bluewatermaritime.com From harrison at all-auctions.com Wed Nov 27 18:44:32 2013 From: harrison at all-auctions.com (Rick Harrison) Date: Wed, 27 Nov 2013 18:44:32 -0500 Subject: iOS Image/Sprite Animation? In-Reply-To: References: <1385407511206-4672895.post@n4.nabble.com> <5D2E04A6-21DC-4025-8FB1-61F272116769@major-k.de> <1385525526350-4672939.post@n4.nabble.com> <152147D2-E8D4-4DEB-9237-DCD75CF17AEA@all-auctions.com> Message-ID: <490B4BD3-C694-40F4-9DE4-2C8A44FE1731@all-auctions.com> Hi Scott, Think ?Movie Animation?. The rect stays in the same place and get updated with new images. The layer needs to be in the background so that other things can fly across it in a topmost layer. Thanks, Rick On Nov 27, 2013, at 5:34 PM, Scott Rossi wrote: > What exactly are you trying to animate? If you provide some details, a > suggestion might be easier. > > If you're not already, look at the acceleratedRendering property and the > layerMode of the object/s you're trying to animate. > > If you're replacing frames of a rectangular region, you might be able to > manually update an image object using the individual frames of the > animation. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > On 11/27/13 2:06 PM, "Rick Harrison" wrote: > >> Hi there, >> >> I?m trying to do what I at first thought to >> be some simple image/sprite animations >> on iOS. >> >> I started out with the idea of using a >> Quicktime movie. I thought maybe I?d >> use 2 or three of them. >> >> Turns out one can only display 1 movie >> at a time in iOS, and the movie always >> has to be on the top layer under iOS. >> That killed that idea. :-( >> >> I then thought about converting my >> movie to an animated gif. It is 240 >> frames, and runs very slowly. >> Anyway to speed it up? >> >> I then looked at the custom icon type >> animation, but alas icons can only be >> 128 by 128 pixels. My image needs to >> be 608 by 342 pixels, so that kills that >> idea. >> >> I looked at setting one image to the >> contents of another one, but then >> noticed the routine uses: >> put URL VarImageName into image VarImageDisplay of card 1 >> which loads images from the disk which >> is also too slow! >> >> I know I can?t be the only one who has >> run into this situation before. What >> do you more experienced animators >> recommend? >> >> Thanks in advance! >> >> Rick >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From harrison at all-auctions.com Wed Nov 27 18:45:34 2013 From: harrison at all-auctions.com (Rick Harrison) Date: Wed, 27 Nov 2013 18:45:34 -0500 Subject: iOS Image/Sprite Animation? In-Reply-To: References: <1385407511206-4672895.post@n4.nabble.com> <5D2E04A6-21DC-4025-8FB1-61F272116769@major-k.de> <1385525526350-4672939.post@n4.nabble.com> <152147D2-E8D4-4DEB-9237-DCD75CF17AEA@all-auctions.com> Message-ID: Hi Ender, Thanks I?ll check it out. Rick On Nov 27, 2013, at 5:37 PM, Ender Nafi Elekcioglu wrote: > Rick hi, > > Scott?s right, what kind of animation you?re trying to achieve changes a lot of things. > My sample script is just for defining the method. > If you need a couple of separate animations going on simultaneously, > then it will fall short performance-wise. > > You may consider implementing a *frameUpdate* process. > There?s a good example in the script of Galactic Gauntlet of RunRev. > I don?t know its licensing conditions though, > it was part of Game Academy, if I remember correctly. > > > Best, > > ~ Ender Nafi > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From harrison at all-auctions.com Wed Nov 27 18:47:44 2013 From: harrison at all-auctions.com (Rick Harrison) Date: Wed, 27 Nov 2013 18:47:44 -0500 Subject: iOS Image/Sprite Animation? In-Reply-To: <52967911.9050307@LinkIt.Com> References: <1385407511206-4672895.post@n4.nabble.com> <5D2E04A6-21DC-4025-8FB1-61F272116769@major-k.de> <1385525526350-4672939.post@n4.nabble.com> <152147D2-E8D4-4DEB-9237-DCD75CF17AEA@all-auctions.com> <52967911.9050307@LinkIt.Com> Message-ID: <70A751B2-BD93-4144-9682-B70DA8F0707F@all-auctions.com> Hi Ray, I?m looking at changing size for one of the animations too. I want the impression that the object is getting farther away over time. Anything you feel comfortable sharing with all of us would be greatly appreciated! Thanks, Rick On Nov 27, 2013, at 5:58 PM, Ray wrote: > Scott, > > I'm just finishing an animation program and Livecode has served us well as a platform for this. We're not using different images for each frame, yet, but we're doing a lot of other creative things like rotating images, changing their dimensions and changing their opacity (fade in and out) and I'd be happy to share this with you if you think it would help. > > We've had good results taking snapshots of images on the fly so you might consider doing this before you start playing your animation. This might eliminate your speed issues. > > Ray > > On 11/27/2013 5:34 PM, Scott Rossi wrote: >> What exactly are you trying to animate? If you provide some details, a >> suggestion might be easier. >> >> If you're not already, look at the acceleratedRendering property and the >> layerMode of the object/s you're trying to animate. >> >> If you're replacing frames of a rectangular region, you might be able to >> manually update an image object using the individual frames of the >> animation. >> >> Regards, >> >> Scott Rossi >> Creative Director >> Tactile Media, UX/UI Design >> >> >> >> >> On 11/27/13 2:06 PM, "Rick Harrison" wrote: >> >>> Hi there, >>> >>> I?m trying to do what I at first thought to >>> be some simple image/sprite animations >>> on iOS. >>> >>> I started out with the idea of using a >>> Quicktime movie. I thought maybe I?d >>> use 2 or three of them. >>> >>> Turns out one can only display 1 movie >>> at a time in iOS, and the movie always >>> has to be on the top layer under iOS. >>> That killed that idea. :-( >>> >>> I then thought about converting my >>> movie to an animated gif. It is 240 >>> frames, and runs very slowly. >>> Anyway to speed it up? >>> >>> I then looked at the custom icon type >>> animation, but alas icons can only be >>> 128 by 128 pixels. My image needs to >>> be 608 by 342 pixels, so that kills that >>> idea. >>> >>> I looked at setting one image to the >>> contents of another one, but then >>> noticed the routine uses: >>> put URL VarImageName into image VarImageDisplay of card 1 >>> which loads images from the disk which >>> is also too slow! >>> >>> I know I can?t be the only one who has >>> run into this situation before. What >>> do you more experienced animators >>> recommend? >>> >>> Thanks in advance! >>> >>> Rick >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ray at linkit.com Wed Nov 27 18:53:00 2013 From: ray at linkit.com (Ray) Date: Wed, 27 Nov 2013 18:53:00 -0500 Subject: iOS Image/Sprite Animation? In-Reply-To: <70A751B2-BD93-4144-9682-B70DA8F0707F@all-auctions.com> References: <1385407511206-4672895.post@n4.nabble.com> <5D2E04A6-21DC-4025-8FB1-61F272116769@major-k.de> <1385525526350-4672939.post@n4.nabble.com> <152147D2-E8D4-4DEB-9237-DCD75CF17AEA@all-auctions.com> <52967911.9050307@LinkIt.Com> <70A751B2-BD93-4144-9682-B70DA8F0707F@all-auctions.com> Message-ID: <529685DC.8050304@LinkIt.Com> Rick, First of all, sorry about getting confused as to who started this thread. I thought it was Scott. Changing the size would be a completely different approach to movies in a window. We're using images which can freely move around the stack's window and even off of it, as opposed to movement within the confines of a quicktime window or something. With this kind of animation the smaller the image the better, of course. Let me know if you want to 'switch' to this kind of an approach. Ray On 11/27/2013 6:47 PM, Rick Harrison wrote: > Hi Ray, > > I?m looking at changing size for one of the animations too. > I want the impression that the object is getting farther away > over time. Anything you feel comfortable sharing with all > of us would be greatly appreciated! > > Thanks, > > Rick > > On Nov 27, 2013, at 5:58 PM, Ray wrote: > >> Scott, >> >> I'm just finishing an animation program and Livecode has served us well as a platform for this. We're not using different images for each frame, yet, but we're doing a lot of other creative things like rotating images, changing their dimensions and changing their opacity (fade in and out) and I'd be happy to share this with you if you think it would help. >> >> We've had good results taking snapshots of images on the fly so you might consider doing this before you start playing your animation. This might eliminate your speed issues. >> >> Ray >> >> On 11/27/2013 5:34 PM, Scott Rossi wrote: >>> What exactly are you trying to animate? If you provide some details, a >>> suggestion might be easier. >>> >>> If you're not already, look at the acceleratedRendering property and the >>> layerMode of the object/s you're trying to animate. >>> >>> If you're replacing frames of a rectangular region, you might be able to >>> manually update an image object using the individual frames of the >>> animation. >>> >>> Regards, >>> >>> Scott Rossi >>> Creative Director >>> Tactile Media, UX/UI Design >>> >>> >>> >>> >>> On 11/27/13 2:06 PM, "Rick Harrison" wrote: >>> >>>> Hi there, >>>> >>>> I?m trying to do what I at first thought to >>>> be some simple image/sprite animations >>>> on iOS. >>>> >>>> I started out with the idea of using a >>>> Quicktime movie. I thought maybe I?d >>>> use 2 or three of them. >>>> >>>> Turns out one can only display 1 movie >>>> at a time in iOS, and the movie always >>>> has to be on the top layer under iOS. >>>> That killed that idea. :-( >>>> >>>> I then thought about converting my >>>> movie to an animated gif. It is 240 >>>> frames, and runs very slowly. >>>> Anyway to speed it up? >>>> >>>> I then looked at the custom icon type >>>> animation, but alas icons can only be >>>> 128 by 128 pixels. My image needs to >>>> be 608 by 342 pixels, so that kills that >>>> idea. >>>> >>>> I looked at setting one image to the >>>> contents of another one, but then >>>> noticed the routine uses: >>>> put URL VarImageName into image VarImageDisplay of card 1 >>>> which loads images from the disk which >>>> is also too slow! >>>> >>>> I know I can?t be the only one who has >>>> run into this situation before. What >>>> do you more experienced animators >>>> recommend? >>>> >>>> Thanks in advance! >>>> >>>> Rick >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at 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 at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From gerry.orkin at gmail.com Wed Nov 27 19:21:11 2013 From: gerry.orkin at gmail.com (Gerry) Date: Thu, 28 Nov 2013 11:21:11 +1100 Subject: Scrolling a very large image on iOS In-Reply-To: References: <25FEA60E-CA81-4AA8-AA89-5A7A681B2C03@sweattechnologies.com> Message-ID: Ender, monte and others My solution to the problem is to use animationEngine animate the individual images flying in and out. A few extra lines of code position the next and previous images just to the left and right of the visible area. It?s working well on an iPad 4. This is a one-off project for a photo exhibition catalogue. It?ll be installed on a couple of devices in the gallery. Thanks again for everyone?s suggestions. Gerry From m.schonewille at economy-x-talk.com Wed Nov 27 19:21:33 2013 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 28 Nov 2013 01:21:33 +0100 Subject: [ANN] Installer Maker 1.7.17 Message-ID: <52968C8D.7070409@economy-x-talk.com> Hi everyone, You might have tried to use Installer Maker Plugin 1.7.16 with LiveCode 6.1. It has appeared that this didn't work in half of the cases or maybe more. We have uploaded a new version of Installer Maker to fix this problem. You can download this version now at http://qery.us/41p Note that this update applies to the plug-in only, which can be used with licensed versions of LiveCode. If you use the standalone version of Installer Maker rather than the plug-in, you can continue to use Installer Maker 1.7.16, which you can download at http://qery.us/41q -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi Fill out this survey please http://livecodebeginner.economy-x-talk.com/survey/ From scott at tactilemedia.com Wed Nov 27 19:35:49 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 27 Nov 2013 16:35:49 -0800 Subject: iOS Image/Sprite Animation? In-Reply-To: <490B4BD3-C694-40F4-9DE4-2C8A44FE1731@all-auctions.com> References: <1385407511206-4672895.post@n4.nabble.com> <5D2E04A6-21DC-4025-8FB1-61F272116769@major-k.de> <1385525526350-4672939.post@n4.nabble.com> <152147D2-E8D4-4DEB-9237-DCD75CF17AEA@all-auctions.com> <490B4BD3-C694-40F4-9DE4-2C8A44FE1731@all-auctions.com> Message-ID: Hi Rick I posted a basic stack that shows one way to display frame animation in a single image (created from multiple frames). Execute the following in your message box: go url "http://dl.dropbox.com/s/nmgwv1zqzvu5hqx/framebyframe.livecode" You'll have to decide if you can employ a technique like this and if it updates fast enough on your device. This can be layered under other LiveCode objects, but note that you'll likely get better performance if the overlaid objects do not have graphic effects applied to them. Hope this helps. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 11/27/13 3:44 PM, "Rick Harrison" wrote: >Hi Scott, > >Think ?Movie Animation?. The rect stays in the same place >and get updated with new images. The layer needs to be >in the background so that other things can fly across it in >a topmost layer. > >Thanks, > >Rick > >On Nov 27, 2013, at 5:34 PM, Scott Rossi wrote: > >> What exactly are you trying to animate? If you provide some details, a >> suggestion might be easier. >> >> If you're not already, look at the acceleratedRendering property and the >> layerMode of the object/s you're trying to animate. >> >> If you're replacing frames of a rectangular region, you might be able to >> manually update an image object using the individual frames of the >> animation. >> >> Regards, >> >> Scott Rossi >> Creative Director >> Tactile Media, UX/UI Design >> >> >> >> >> On 11/27/13 2:06 PM, "Rick Harrison" wrote: >> >>> Hi there, >>> >>> I?m trying to do what I at first thought to >>> be some simple image/sprite animations >>> on iOS. >>> >>> I started out with the idea of using a >>> Quicktime movie. I thought maybe I?d >>> use 2 or three of them. >>> >>> Turns out one can only display 1 movie >>> at a time in iOS, and the movie always >>> has to be on the top layer under iOS. >>> That killed that idea. :-( >>> >>> I then thought about converting my >>> movie to an animated gif. It is 240 >>> frames, and runs very slowly. >>> Anyway to speed it up? >>> >>> I then looked at the custom icon type >>> animation, but alas icons can only be >>> 128 by 128 pixels. My image needs to >>> be 608 by 342 pixels, so that kills that >>> idea. >>> >>> I looked at setting one image to the >>> contents of another one, but then >>> noticed the routine uses: >>> put URL VarImageName into image VarImageDisplay of card 1 >>> which loads images from the disk which >>> is also too slow! >>> >>> I know I can?t be the only one who has >>> run into this situation before. What >>> do you more experienced animators >>> recommend? >>> >>> Thanks in advance! >>> >>> Rick >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at 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 at 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 at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at lcsql.com Wed Nov 27 19:45:12 2013 From: pete at lcsql.com (Peter Haworth) Date: Wed, 27 Nov 2013 16:45:12 -0800 Subject: 6.5 Problem In-Reply-To: References: Message-ID: Well I guess I'll just add this to the ever growing list of bugs in this release and notify my customers that my plugin is broken in 6.5. This is extremely frustrating. Pete lcSQL Software On Wed, Nov 27, 2013 at 2:01 PM, Peter Haworth wrote: > Also have a report from a customer that the plugin is positioned with its > top above the top of the screen. > > Pete > lcSQL Software > > > On Wed, Nov 27, 2013 at 1:49 PM, Peter Haworth wrote: > >> I have a plugin stack that works fine in LC 6.1.x but when I open it in >> 6.5, the height and width of the two fields on it are changed to the extent >> that they don't fit within the stack window. >> >> I don't see any obvious code that could be causing this. Any clues? >> >> >> Pete >> lcSQL Software >> > > From ambassador at fourthworld.com Wed Nov 27 20:03:58 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 27 Nov 2013 17:03:58 -0800 Subject: 6.5 Problem In-Reply-To: References: Message-ID: <5296967E.9040005@fourthworld.com> Peter Haworth wrote: > Well I guess I'll just add this to the ever growing list of bugs in this > release and notify my customers that my plugin is broken in 6.5. > > This is extremely frustrating. Did it work in the last RC? -- 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 From roger.e.eller at sealedair.com Wed Nov 27 20:32:36 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Wed, 27 Nov 2013 20:32:36 -0500 Subject: 6.5 Problem In-Reply-To: <5296967E.9040005@fourthworld.com> References: <5296967E.9040005@fourthworld.com> Message-ID: I almost asked the same question, but I stopped because this isn't the Dev List. I don't know if the OP has access to RC builds. On Nov 27, 2013 8:04 PM, "Richard Gaskin" wrote: > Peter Haworth wrote: > >> Well I guess I'll just add this to the ever growing list of bugs in this >> release and notify my customers that my plugin is broken in 6.5. >> >> This is extremely frustrating. >> > > Did it work in the last RC? > > -- > 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From monte at sweattechnologies.com Wed Nov 27 20:36:11 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu, 28 Nov 2013 12:36:11 +1100 Subject: 6.5 Problem In-Reply-To: References: <5296967E.9040005@fourthworld.com> Message-ID: <47D4084F-CF6B-49FD-A761-7D2ED18DDFDE@sweattechnologies.com> On 28/11/2013, at 12:32 PM, Roger Eller wrote: > I almost asked the same question, but I stopped because this isn't the Dev > List. I don't know if the OP has access to RC builds. Everyone has access to RC builds these days. -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From roger.e.eller at sealedair.com Wed Nov 27 20:39:52 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Wed, 27 Nov 2013 20:39:52 -0500 Subject: 6.5 Problem In-Reply-To: <47D4084F-CF6B-49FD-A761-7D2ED18DDFDE@sweattechnologies.com> References: <5296967E.9040005@fourthworld.com> <47D4084F-CF6B-49FD-A761-7D2ED18DDFDE@sweattechnologies.com> Message-ID: Oh yeah. I recall seeing the announcements cross posted on both lists. So, sorry for the wasted bits. ~Roger On Nov 27, 2013 8:36 PM, "Monte Goulding" wrote: > > On 28/11/2013, at 12:32 PM, Roger Eller wrote: > > > I almost asked the same question, but I stopped because this isn't the > Dev > > List. I don't know if the OP has access to RC builds. > > Everyone has access to RC builds these days. > > -- > M E R Goulding > Software development services > Bespoke application development for vertical markets > > mergExt - There's an external for that! > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From pete at lcsql.com Wed Nov 27 21:18:55 2013 From: pete at lcsql.com (Peter Haworth) Date: Wed, 27 Nov 2013 18:18:55 -0800 Subject: 6.5 Problem In-Reply-To: <5296967E.9040005@fourthworld.com> References: <5296967E.9040005@fourthworld.com> Message-ID: Don't know, I don't touch RC releases unless they include a bug fix or feature that interests me Pete lcSQL Software On Nov 27, 2013 5:03 PM, "Richard Gaskin" wrote: > Peter Haworth wrote: > >> Well I guess I'll just add this to the ever growing list of bugs in this >> release and notify my customers that my plugin is broken in 6.5. >> >> This is extremely frustrating. >> > > Did it work in the last RC? > > -- > 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bobsneidar at iotecdigital.com Wed Nov 27 21:44:24 2013 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 28 Nov 2013 02:44:24 +0000 Subject: Icon Refresh Message-ID: <06F135F9-3968-4169-B0EC-9F8A721329A0@iotecdigital.com> Hi all. Is there an easy way to get a button whose icon is from a referenced control to update when I modify the referenced file? For instance, I have a PNG file that I imported as a referenced control. I then set a buttons? icon to the id of that control. All is well. Now I want to change the size of the icon because it?s too big, so I edit the icon in Preview, half it?s size and save it. Now, how do I get Livecode to recognize the change and update the icon accordingly? I?m sure I could find a way around it, but I was hoping there was some kind of obscure livecode command I could use. Bob Sneidar From ambassador at fourthworld.com Wed Nov 27 21:57:52 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 27 Nov 2013 18:57:52 -0800 Subject: 6.5 Problem In-Reply-To: References: Message-ID: <5296B130.20908@fourthworld.com> Peter Haworth wrote: >> On Nov 27, 2013 5:03 PM, "Richard Gaskin" wrote: >> >> Did it work in the last RC? > > Don't know, I don't touch RC releases unless they include a bug fix > or feature that interests me Well, looks like it got your attention now. :) FWIW, you're not alone in finding issues post-release with this version. With 6.1.3 released only very recently and with Kevin's note that he expected a long RC cycle with 6.5, I put most of my testing effort into 6.1.3. But I did so with the understanding that if I find anything in 6.5 I may have to skip a version and wait for 6.5.x or 6.6 instead. Having multiple test releases simultaneously is generally a very good thing, but one of the reasons I've been such a curmudgeon about the labeling of them is what we're seeing now, and it boils down to a form of tester fatigue. When a build is labeled "Developer Preview" I consider it optional. I may or may not spend much time with it as I know things are very much in flux, and what time I do spend with it is on exploring new features. But when a build is labeled "Release Candidate" that communicates to me that it's quite literally a candidate for release, that the team has finished all the new features and addressed every bug they and the early testers could find, and it's now my job to drop what I'm doing and run my app with it to make sure there are no regressions. If a Release Candidate isn't quite yet a candidate for release, the communicative value of the label is lost, testers slack off, and bug discovery winds up deferred post-release. Apparently I'm not the only one who slacked off on late-stage testing with 6.5, but it's at least understandable because there was little indication of what late-stage meant after we'd seen so many months of builds labeled "Release Candidate". And in all fairness to RunRev, the optimism surrounding the 6.5 cycle isn't unique to them, or even to that build: One of the oldest adages in the software world, going back to my earliest days of buying software back in the mid-80s, is that if any package is labeled dot-oh or dot-five you can expect bugs to be discovered after release, and the dot-dot version that inevitably follows is the one you'll be using for real work. :) -- 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 From bobsneidar at iotecdigital.com Wed Nov 27 22:03:18 2013 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 28 Nov 2013 03:03:18 +0000 Subject: Printing quality in 6.5 In-Reply-To: References: <52965701.8060502@gmail.com> <52965FE7.2090807@gmail.com> <60B6B9EE-C87E-4330-BFC4-2C8F8A768837@mac.com> <52966C58.4040701@gmail.com> <52967638.9070809@gmail.com> Message-ID: <18BC3A37-E996-486A-A661-3E72C0A7F20F@iotecdigital.com> Sounds like Mavericks is using the bitmap and not the vector. Any chance you have some kind of font ID conflict? Bob Sneidar IT Technician Integrated Office Technology bobsneidar at iotecdigital.com 714-401-2407 On Nov 27, 2013, at 15:00 , william humphrey > wrote: It happens to me only when I import images. On Wed, Nov 27, 2013 at 6:46 PM, Marty Knapp > wrote: For what it's worth, this appears to be related to just this one aftermarket font. I did try building a standalone in 6.5 and printed from that and it seems to be fine, so it's this one font in the 6.5 IDE (and any PDFs I create from there). Works fine everywhere else. How weird is that? We'll see how it goes. Marty I just printed to PDF and enlarged it, looked good, printed the PDF not so good. This was done on Mavericks. So I then transferred the PDF to a Snow Leopard machine and it prints fine, so it appears to be a Mavericks issue. The weird thing is that printing from LC 6.1.3 on Mavericks looks good. Marty Hi Marty, Just done a test and found no problems printing text or high res images on Mac OS X 10.8.5 to Epson R2000, I can't see any difference at all. I also printed to PDF and compared enlarged PDFs, still no difference, in fact at max enlargement in Preview the text is still crisp indicating that LC printed the text as vector data not pixel data. Paul On 2013-11-27, at 1:11 PM, Richmond > wrote: On 27.11.2013 22:33, Marty Knapp wrote: I just did a quick test print on my Mac of a stack with a couple of fields with text in them. In LC 6.1.3 the text is nice and crisp but on 6.5 it's a bit pixelated - definitely lower quality. It looks like it's printing it as a graphic. Haven't tried it on Windows but this is not good news for me. Is anybody else seeing this? Marty Knapp I don't quite understand how that can have happened. I thought that 6.1.3 was merged with 6.5.0; maybe not. Richmond. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode -- http://www.bluewatermaritime.com _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From monte at sweattechnologies.com Wed Nov 27 22:14:18 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Thu, 28 Nov 2013 14:14:18 +1100 Subject: 6.5 Problem In-Reply-To: <5296B130.20908@fourthworld.com> References: <5296B130.20908@fourthworld.com> Message-ID: <0F75BD07-E3BC-445F-8491-0FE4F3EB46D2@sweattechnologies.com> On 28/11/2013, at 1:57 PM, Richard Gaskin wrote: > FWIW, you're not alone in finding issues post-release with this version. Yes, I just noticed that the font I use in the SE now doesn't do bold in 6.5 RC 7. I haven't built the GM yet but I can't see any related work in the commits since RC 7. BTW for those oof you keen on testing you use much less bandwidth and get much better docs about changes if you use a git gui like sourcetree to follow along and then build LC. Cheers -- M E R Goulding Software development services Bespoke application development for vertical markets mergExt - There's an external for that! From shoreagent at gmail.com Wed Nov 27 22:21:52 2013 From: shoreagent at gmail.com (William Humphrey) Date: Wed, 27 Nov 2013 23:21:52 -0400 Subject: Printing quality in 6.5 In-Reply-To: <18BC3A37-E996-486A-A661-3E72C0A7F20F@iotecdigital.com> References: <52965701.8060502@gmail.com> <52965FE7.2090807@gmail.com> <60B6B9EE-C87E-4330-BFC4-2C8F8A768837@mac.com> <52966C58.4040701@gmail.com> <52967638.9070809@gmail.com> <18BC3A37-E996-486A-A661-3E72C0A7F20F@iotecdigital.com> Message-ID: <4CD101F4-6CE7-45F5-A4A7-397A6FE28DDD@gmail.com> I just finished testing it with imported images. Normal quality is terrible but best quality is the same or maybe even better than before. So I don't understand the feature but it works. Brevity and errors in this email probably the result of being sent by a mobile device. > On Nov 27, 2013, at 11:03 PM, Bob Sneidar wrote: > > Sounds like Mavericks is using the bitmap and not the vector. Any chance you have some kind of font ID conflict? > > Bob Sneidar > IT Technician > Integrated Office Technology > bobsneidar at iotecdigital.com > 714-401-2407 > > > > On Nov 27, 2013, at 15:00 , william humphrey > wrote: > > It happens to me only when I import images. > > On Wed, Nov 27, 2013 at 6:46 PM, Marty Knapp > wrote: > For what it's worth, this appears to be related to just this one aftermarket > font. I did try building a standalone in 6.5 and printed from that and it > seems to be fine, so it's this one font in the 6.5 IDE (and any PDFs I > create from there). Works fine everywhere else. How weird is that? We'll see > how it goes. > > Marty > > I just printed to PDF and enlarged it, looked good, printed the PDF not so > good. This was done on Mavericks. So I then transferred the PDF to a Snow > Leopard machine and it prints fine, so it appears to be a Mavericks issue. > The weird thing is that printing from LC 6.1.3 on Mavericks looks good. > > Marty > > Hi Marty, > > Just done a test and found no problems printing text or high res images > on Mac OS X 10.8.5 to Epson R2000, I can't see any difference at all. > > I also printed to PDF and compared enlarged PDFs, still no difference, in > fact at max enlargement in Preview the text is still crisp indicating that > LC printed the text as vector data not pixel data. > > Paul > > > On 2013-11-27, at 1:11 PM, Richmond > wrote: > > On 27.11.2013 22:33, Marty Knapp wrote: > > I just did a quick test print on my Mac of a stack with a couple of > fields with text in them. In LC 6.1.3 the text is nice and crisp but on 6.5 > it's a bit pixelated - definitely lower quality. It looks like it's printing > it as a graphic. Haven't tried it on Windows but this is not good news for > me. Is anybody else seeing this? > > Marty Knapp > > I don't quite understand how that can have happened. > > I thought that 6.1.3 was merged with 6.5.0; maybe not. > > Richmond. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > -- > http://www.bluewatermaritime.com > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From martyknappster at gmail.com Wed Nov 27 22:46:50 2013 From: martyknappster at gmail.com (Marty Knapp) Date: Wed, 27 Nov 2013 19:46:50 -0800 Subject: Printing quality in 6.5 In-Reply-To: <18BC3A37-E996-486A-A661-3E72C0A7F20F@iotecdigital.com> References: <52965701.8060502@gmail.com> <52965FE7.2090807@gmail.com> <60B6B9EE-C87E-4330-BFC4-2C8F8A768837@mac.com> <52966C58.4040701@gmail.com> <52967638.9070809@gmail.com> <18BC3A37-E996-486A-A661-3E72C0A7F20F@iotecdigital.com> Message-ID: <5296BCAA.2030102@gmail.com> Hey Bob, The problem only seems to happen in the 6.5 IDE. In the 6.1.3 IDE it's fine. If I use the font in TextEdit it works fine. And it worked in a standalone made with 6.5. Go figure! Marty > Sounds like Mavericks is using the bitmap and not the vector. Any chance you have some kind of font ID conflict? > > Bob Sneidar > IT Technician > Integrated Office Technology > bobsneidar at iotecdigital.com > 714-401-2407 > > > > On Nov 27, 2013, at 15:00 , william humphrey > wrote: > > It happens to me only when I import images. > > On Wed, Nov 27, 2013 at 6:46 PM, Marty Knapp > wrote: > For what it's worth, this appears to be related to just this one aftermarket > font. I did try building a standalone in 6.5 and printed from that and it > seems to be fine, so it's this one font in the 6.5 IDE (and any PDFs I > create from there). Works fine everywhere else. How weird is that? We'll see > how it goes. > > Marty > > I just printed to PDF and enlarged it, looked good, printed the PDF not so > good. This was done on Mavericks. So I then transferred the PDF to a Snow > Leopard machine and it prints fine, so it appears to be a Mavericks issue. > The weird thing is that printing from LC 6.1.3 on Mavericks looks good. > > Marty > > Hi Marty, > > Just done a test and found no problems printing text or high res images > on Mac OS X 10.8.5 to Epson R2000, I can't see any difference at all. > > I also printed to PDF and compared enlarged PDFs, still no difference, in > fact at max enlargement in Preview the text is still crisp indicating that > LC printed the text as vector data not pixel data. > > Paul > > > On 2013-11-27, at 1:11 PM, Richmond > wrote: > > On 27.11.2013 22:33, Marty Knapp wrote: > > I just did a quick test print on my Mac of a stack with a couple of > fields with text in them. In LC 6.1.3 the text is nice and crisp but on 6.5 > it's a bit pixelated - definitely lower quality. It looks like it's printing > it as a graphic. Haven't tried it on Windows but this is not good news for > me. Is anybody else seeing this? > > Marty Knapp > > I don't quite understand how that can have happened. > > I thought that 6.1.3 was merged with 6.5.0; maybe not. > > Richmond. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > -- > http://www.bluewatermaritime.com > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Best regards, Marty Knapp Knappster Solutions LLC --------------------------- From bobsneidar at iotecdigital.com Wed Nov 27 23:00:57 2013 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 28 Nov 2013 04:00:57 +0000 Subject: Answer File on Mac OS X Message-ID: <5FE3DA64-535E-4B6C-9850-20132A37C599@iotecdigital.com> Hi all. I know this has been visited (many times) before, but I have tried every iteration of answer file (of type/with filter) on Mac OS X and for whatever reason I cannot for the life of me exclude ALL FILES EXCEPT those with a .pdf extension! When I run this on Windows using the filter variation it works famously, but on OS X Mavericks, I see ALL FILES or the files are greyed out. Any help would be appreciated. Bob Sneidar IT Technician Integrated Office Technology bobsneidar at iotecdigital.com 714-401-2407 From bobsneidar at iotecdigital.com Wed Nov 27 23:03:52 2013 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 28 Nov 2013 04:03:52 +0000 Subject: Icon Refresh In-Reply-To: <06F135F9-3968-4169-B0EC-9F8A721329A0@iotecdigital.com> References: <06F135F9-3968-4169-B0EC-9F8A721329A0@iotecdigital.com> Message-ID: Once again, I seem to have stumbled on my own solution. It seems if I use the object properties to edit the image, when I return from the editing application, the icon updates along with the button. I knew this once. I suppose one of the great things about aging is constantly learning new things, seeing new movies, meeting new friends? you get the picture. Bob Sneidar On Nov 27, 2013, at 18:44 , Bob Sneidar > wrote: Hi all. Is there an easy way to get a button whose icon is from a referenced control to update when I modify the referenced file? For instance, I have a PNG file that I imported as a referenced control. I then set a buttons? icon to the id of that control. All is well. Now I want to change the size of the icon because it?s too big, so I edit the icon in Preview, half it?s size and save it. Now, how do I get Livecode to recognize the change and update the icon accordingly? I?m sure I could find a way around it, but I was hoping there was some kind of obscure livecode command I could use. Bob Sneidar _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From martyknappster at gmail.com Wed Nov 27 23:12:36 2013 From: martyknappster at gmail.com (Marty Knapp) Date: Wed, 27 Nov 2013 20:12:36 -0800 Subject: Answer File on Mac OS X In-Reply-To: <5FE3DA64-535E-4B6C-9850-20132A37C599@iotecdigital.com> References: <5FE3DA64-535E-4B6C-9850-20132A37C599@iotecdigital.com> Message-ID: <5296C2B4.4020501@gmail.com> Bob, I think you're looking for the "with type" parameter, like this: answer file "Select file to open:" with type "*|pdf" Marty > Hi all. > > I know this has been visited (many times) before, but I have tried every iteration of answer file (of type/with filter) on Mac OS X and for whatever reason I cannot for the life of me exclude ALL FILES EXCEPT those with a .pdf extension! When I run this on Windows using the filter variation it works famously, but on OS X Mavericks, I see ALL FILES or the files are greyed out. > > Any help would be appreciated. > > Bob Sneidar > IT Technician > Integrated Office Technology > bobsneidar at iotecdigital.com > 714-401-2407 > > > From bobsneidar at iotecdigital.com Wed Nov 27 23:15:46 2013 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 28 Nov 2013 04:15:46 +0000 Subject: Printing quality in 6.5 In-Reply-To: <5296BCAA.2030102@gmail.com> References: <52965701.8060502@gmail.com> <52965FE7.2090807@gmail.com> <60B6B9EE-C87E-4330-BFC4-2C8F8A768837@mac.com> <52966C58.4040701@gmail.com> <52967638.9070809@gmail.com> <18BC3A37-E996-486A-A661-3E72C0A7F20F@iotecdigital.com> <5296BCAA.2030102@gmail.com> Message-ID: <9B015D44-085F-4139-8495-18FE2C3E7A1D@iotecdigital.com> You wouldn?t be warm to sending me the font for testing purposes if I promise to either buy it or delete it when I?m done? Bob On Nov 27, 2013, at 19:46 , Marty Knapp > wrote: Hey Bob, The problem only seems to happen in the 6.5 IDE. In the 6.1.3 IDE it's fine. If I use the font in TextEdit it works fine. And it worked in a standalone made with 6.5. Go figure! Marty Sounds like Mavericks is using the bitmap and not the vector. Any chance you have some kind of font ID conflict? Bob Sneidar IT Technician Integrated Office Technology bobsneidar at iotecdigital.com 714-401-2407 On Nov 27, 2013, at 15:00 , william humphrey > wrote: It happens to me only when I import images. On Wed, Nov 27, 2013 at 6:46 PM, Marty Knapp > wrote: For what it's worth, this appears to be related to just this one aftermarket font. I did try building a standalone in 6.5 and printed from that and it seems to be fine, so it's this one font in the 6.5 IDE (and any PDFs I create from there). Works fine everywhere else. How weird is that? We'll see how it goes. Marty I just printed to PDF and enlarged it, looked good, printed the PDF not so good. This was done on Mavericks. So I then transferred the PDF to a Snow Leopard machine and it prints fine, so it appears to be a Mavericks issue. The weird thing is that printing from LC 6.1.3 on Mavericks looks good. Marty Hi Marty, Just done a test and found no problems printing text or high res images on Mac OS X 10.8.5 to Epson R2000, I can't see any difference at all. I also printed to PDF and compared enlarged PDFs, still no difference, in fact at max enlargement in Preview the text is still crisp indicating that LC printed the text as vector data not pixel data. Paul On 2013-11-27, at 1:11 PM, Richmond > wrote: On 27.11.2013 22:33, Marty Knapp wrote: I just did a quick test print on my Mac of a stack with a couple of fields with text in them. In LC 6.1.3 the text is nice and crisp but on 6.5 it's a bit pixelated - definitely lower quality. It looks like it's printing it as a graphic. Haven't tried it on Windows but this is not good news for me. Is anybody else seeing this? Marty Knapp I don't quite understand how that can have happened. I thought that 6.1.3 was merged with 6.5.0; maybe not. Richmond. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode -- http://www.bluewatermaritime.com _______________________________________________ use-livecode mailing list use-livecode at 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 at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode -- Best regards, Marty Knapp Knappster Solutions LLC --------------------------- > _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From coiin at verizon.net Wed Nov 27 23:19:22 2013 From: coiin at verizon.net (Colin Holgate) Date: Wed, 27 Nov 2013 23:19:22 -0500 Subject: Answer File on Mac OS X In-Reply-To: <5296C2B4.4020501@gmail.com> References: <5FE3DA64-535E-4B6C-9850-20132A37C599@iotecdigital.com> <5296C2B4.4020501@gmail.com> Message-ID: I tracked that info down too, but I tried it before answering. It doesn?t work. With filter all files are grayed out, with type all files are enabled. On Nov 27, 2013, at 11:12 PM, Marty Knapp wrote: > >I think you're looking for the "with type" parameter, like this: > > answer file "Select file to open:" with type "*|pdf" From martyknappster at gmail.com Wed Nov 27 23:31:38 2013 From: martyknappster at gmail.com (Marty Knapp) Date: Wed, 27 Nov 2013 20:31:38 -0800 Subject: Answer File on Mac OS X In-Reply-To: References: <5FE3DA64-535E-4B6C-9850-20132A37C599@iotecdigital.com> <5296C2B4.4020501@gmail.com> Message-ID: <5296C72A.6020607@gmail.com> It works for me on Mac and Windows 7. You do have to use the "|" character: with type "*|pdf" or everything will be enabled. (unless I've been drinking my bath water . . . ) Marty > I tracked that info down too, but I tried it before answering. It doesn?t work. With filter all files are grayed out, with type all files are enabled. > > > On Nov 27, 2013, at 11:12 PM, Marty Knapp wrote: > >>> I think you're looking for the "with type" parameter, like this: >> answer file "Select file to open:" with type "*|pdf" From bobsneidar at iotecdigital.com Wed Nov 27 23:34:58 2013 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 28 Nov 2013 04:34:58 +0000 Subject: Answer File on Mac OS X In-Reply-To: <5296C2B4.4020501@gmail.com> References: <5FE3DA64-535E-4B6C-9850-20132A37C599@iotecdigital.com> <5296C2B4.4020501@gmail.com> Message-ID: <28449E87-E245-4261-ABF6-8BC0AED01C6E@iotecdigital.com> Hi Marty. Thanks for the reply. Actually I just solved my own problem (again) by downloading and installing Quick Change, a utility that shows the actual 4 character file type. (works in Mavericks) For PDF?s it?s ?PDF ? (note the SPACE AFTER PDF). If I use that with the ?of type? form, it works a peach. There is no way I know of, besides some obscure terminal command which I am sure exists, to get the file TYPE of a document in OS X. It ought to be something you can see in the Get Info dialog, but alas, these days we are at the mercy of our system developer gurus, they being really, REALLY smart IT guys right out of college, who nonetheless have no real world experience in the every day problems we face. Thankfully, the geniuses of years heretofore seem to have the solutions we crave, if we would but GOOGLE long and hard enough. ;-) Bob Sneidar IT Technician Integrated Office Technology bobsneidar at iotecdigital.com 714-401-2407 On Nov 27, 2013, at 20:12 , Marty Knapp > wrote: Bob, I think you're looking for the "with type" parameter, like this: answer file "Select file to open:" with type "*|pdf" Marty Hi all. I know this has been visited (many times) before, but I have tried every iteration of answer file (of type/with filter) on Mac OS X and for whatever reason I cannot for the life of me exclude ALL FILES EXCEPT those with a .pdf extension! When I run this on Windows using the filter variation it works famously, but on OS X Mavericks, I see ALL FILES or the files are greyed out. Any help would be appreciated. Bob Sneidar IT Technician Integrated Office Technology bobsneidar at iotecdigital.com 714-401-2407 _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From harrison at all-auctions.com Wed Nov 27 23:44:43 2013 From: harrison at all-auctions.com (Rick Harrison) Date: Wed, 27 Nov 2013 23:44:43 -0500 Subject: iOS Image/Sprite Animation? In-Reply-To: References: <1385407511206-4672895.post@n4.nabble.com> <5D2E04A6-21DC-4025-8FB1-61F272116769@major-k.de> <1385525526350-4672939.post@n4.nabble.com> <152147D2-E8D4-4DEB-9237-DCD75CF17AEA@all-auctions.com> <490B4BD3-C694-40F4-9DE4-2C8A44FE1731@all-auctions.com> Message-ID: Hi Scott, That is a very creative solution. I like that you put the frames into the custom properties. That?s a nice touch! Thanks, Rick On Nov 27, 2013, at 7:35 PM, Scott Rossi wrote: > go url "http://dl.dropbox.com/s/nmgwv1zqzvu5hqx/framebyframe.livecode" From harrison at all-auctions.com Wed Nov 27 23:47:12 2013 From: harrison at all-auctions.com (Rick Harrison) Date: Wed, 27 Nov 2013 23:47:12 -0500 Subject: iOS Image/Sprite Animation? In-Reply-To: <529685DC.8050304@LinkIt.Com> References: <1385407511206-4672895.post@n4.nabble.com> <5D2E04A6-21DC-4025-8FB1-61F272116769@major-k.de> <1385525526350-4672939.post@n4.nabble.com> <152147D2-E8D4-4DEB-9237-DCD75CF17AEA@all-auctions.com> <52967911.9050307@LinkIt.Com> <70A751B2-BD93-4144-9682-B70DA8F0707F@all-auctions.com> <529685DC.8050304@LinkIt.Com> Message-ID: <4A106B0D-BAC8-4AC4-A4EA-49952D7AFF7E@all-auctions.com> Hi Ray, Yes, I?m doing both kinds of animation. One is like a QuickTime Movie, while the other is a quick resizing of the image to make it appear it is getting farther away from the viewer. Thanks, Rick On Nov 27, 2013, at 6:53 PM, Ray wrote: > Rick, > > First of all, sorry about getting confused as to who started this thread. I thought it was Scott. Changing the size would be a completely different approach to movies in a window. We're using images which can freely move around the stack's window and even off of it, as opposed to movement within the confines of a quicktime window or something. > > With this kind of animation the smaller the image the better, of course. Let me know if you want to 'switch' to this kind of an approach. > > Ray From jacque at hyperactivesw.com Thu Nov 28 00:05:03 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 27 Nov 2013 23:05:03 -0600 Subject: Icon Refresh In-Reply-To: References: <06F135F9-3968-4169-B0EC-9F8A721329A0@iotecdigital.com> Message-ID: <5296CEFF.9000406@hyperactivesw.com> On 11/27/13 10:03 PM, Bob Sneidar wrote: > Once again, I seem to have stumbled on my own solution. It seems if I > use the object properties to edit the image, when I return from the > editing application, the icon updates along with the button. Or you can just set the icon to the same ID again from the message box. Anything that forces the engine to reload the reference works. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobsneidar at iotecdigital.com Thu Nov 28 00:06:27 2013 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 28 Nov 2013 05:06:27 +0000 Subject: Answer File on Mac OS X In-Reply-To: References: <5FE3DA64-535E-4B6C-9850-20132A37C599@iotecdigital.com> <5296C2B4.4020501@gmail.com> Message-ID: <311FBAA1-48F5-4965-8442-BFD1FF4FC007@iotecdigital.com> Colin see my post. The type should be ?PDF ? note the space after PDF Bob Sneidar On Nov 27, 2013, at 20:19 , Colin Holgate > wrote: I tracked that info down too, but I tried it before answering. It doesn?t work. With filter all files are grayed out, with type all files are enabled. On Nov 27, 2013, at 11:12 PM, Marty Knapp > wrote: I think you're looking for the "with type" parameter, like this: answer file "Select file to open:" with type "*|pdf" _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From bobsneidar at iotecdigital.com Thu Nov 28 00:08:25 2013 From: bobsneidar at iotecdigital.com (Bob Sneidar) Date: Thu, 28 Nov 2013 05:08:25 +0000 Subject: iOS Image/Sprite Animation? In-Reply-To: References: <1385407511206-4672895.post@n4.nabble.com> <5D2E04A6-21DC-4025-8FB1-61F272116769@major-k.de> <1385525526350-4672939.post@n4.nabble.com> <152147D2-E8D4-4DEB-9237-DCD75CF17AEA@all-auctions.com> <490B4BD3-C694-40F4-9DE4-2C8A44FE1731@all-auctions.com> Message-ID: I?ve said it before, and I?ll say it again, why Scott is not one of the Livecode Dev team boggles my mind. Maybe he likes the warm weather of Australia in lieu of the damnably cold wet weather of Scotland. But I?m just guessing. ;-) Bob Sneidar On Nov 27, 2013, at 20:44 , Rick Harrison > wrote: Hi Scott, That is a very creative solution. I like that you put the frames into the custom properties. That?s a nice touch! Thanks, Rick On Nov 27, 2013, at 7:35 PM, Scott Rossi > wrote: go url "http://dl.dropbox.com/s/nmgwv1zqzvu5hqx/framebyframe.livecode" _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From endernafi at gmail.com Thu Nov 28 00:10:51 2013 From: endernafi at gmail.com (Ender Nafi Elekcioglu) Date: Thu, 28 Nov 2013 07:10:51 +0200 Subject: iOS Image/Sprite Animation? In-Reply-To: References: <1385407511206-4672895.post@n4.nabble.com> <5D2E04A6-21DC-4025-8FB1-61F272116769@major-k.de> <1385525526350-4672939.post@n4.nabble.com> <152147D2-E8D4-4DEB-9237-DCD75CF17AEA@all-auctions.com> <490B4BD3-C694-40F4-9DE4-2C8A44FE1731@all-auctions.com> Message-ID: On November 28, 2013 at 7:08:39, Bob Sneidar (bobsneidar at iotecdigital.com) wrote: I??ve said it before, and I??ll say it again, why Scott is not one of the Livecode Dev team boggles my mind. Maybe he likes the warm weather of Australia in lieu of the damnably cold wet weather of Scotland. But I??m just guessing. ;-)? Bob Sneidar? +1 ? :) ~ Ender Nafi From jacque at hyperactivesw.com Thu Nov 28 00:17:15 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 27 Nov 2013 23:17:15 -0600 Subject: Answer File on Mac OS X In-Reply-To: <28449E87-E245-4261-ABF6-8BC0AED01C6E@iotecdigital.com> References: <5FE3DA64-535E-4B6C-9850-20132A37C599@iotecdigital.com> <5296C2B4.4020501@gmail.com> <28449E87-E245-4261-ABF6-8BC0AED01C6E@iotecdigital.com> Message-ID: <5296D1DB.6070006@hyperactivesw.com> On 11/27/13 10:34 PM, Bob Sneidar wrote: > Hi Marty. Thanks for the reply. > > Actually I just solved my own problem (again) by downloading and > installing Quick Change, a utility that shows the actual 4 character > file type. (works in Mavericks) For PDF?s it?s ?PDF ? (note the SPACE > AFTER PDF). If I use that with the ?of type? form, it works a peach. > There is no way I know of, besides some obscure terminal command > which I am sure exists, to get the file TYPE of a document in OS X. Mac file types are a remnant of OS 9 and are phased out in OS X, which relies only on extensions just as Windows does. This works: answer file with type "PDF files|pdf" The file type can be omitted, at least on my Snow Leopard Mac. Haven't tried it in Mavericks but I assume it should be the same. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Thu Nov 28 00:19:34 2013 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 27 Nov 2013 23:19:34 -0600 Subject: 6.5 Problem In-Reply-To: References: Message-ID: <5296D266.7070305@hyperactivesw.com> On 11/27/13 6:45 PM, Peter Haworth wrote: > Well I guess I'll just add this to the ever growing list of bugs in this > release and notify my customers that my plugin is broken in 6.5. Did you check for rev geometry custom properties? Maybe some sneaked in. It's all I can think of. Or maybe it's related to the new scaling options. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pete at lcsql.com Thu Nov 28 01:09:34 2013 From: pete at lcsql.com (Peter Haworth) Date: Wed, 27 Nov 2013 22:09:34 -0800 Subject: 6.5 Problem In-Reply-To: <5296D266.7070305@hyperactivesw.com> References: <5296D266.7070305@hyperactivesw.com> Message-ID: I believe it is something to do with resizing/repositioning the stack during startup After installing a pristine version of the plugin, it works fine in all LC versions I tested, including 6.5, until I resize the stack. Resizing works fine but the next time I run after resizing, things still work OK in 5.5.x and 6.1.3 but fail in 6.5. The symptoms are slightly different depending on whether the plugin is started manually from the plugins menu or started when LC loads, which is another mystery. I don't use the Geometry Manager but have written my own resizing handlers. To thicken the plot, I have a new version of the plugin in beta which does not exhibit the 6.5 problem. I'm currently poring through the code to see if I can spot any changes that I might have made in my resizing handlers that might have stopped the problem. Pete lcSQL Software On Wed, Nov 27, 2013 at 9:19 PM, J. Landman Gay wrote: > On 11/27/13 6:45 PM, Peter Haworth wrote: > >> Well I guess I'll just add this to the ever growing list of bugs in this >> release and notify my customers that my plugin is broken in 6.5. >> > > Did you check for rev geometry custom properties? Maybe some sneaked in. > It's all I can think of. Or maybe it's related to the new scaling options. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From richmondmathewson at gmail.com Thu Nov 28 01:43:27 2013 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 28 Nov 2013 08:43:27 +0200 Subject: 6.5 Problem In-Reply-To: References: <5296967E.9040005@fourthworld.com> Message-ID: <5296E60F.6090709@gmail.com> On 28.11.2013 03:32, Roger Eller wrote: > I almost asked the same question, but I stopped because this isn't the Dev > List. I don't know if the OP has access to RC builds. Everybody now has access to RC builds: http://downloads.livecode.com/livecode/ Richmond. > On Nov 27, 2013 8:04 PM, "Richard Gaskin" > wrote: > >> Peter Haworth wrote: >> >>> Well I guess I'll just add this to the ever growing list of bugs in this >>> release and notify my customers that my plugin is broken in 6.5. >>> >>> This is extremely frustrating. >>> >> Did it work in the last RC? >> >> -- >> 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Thu Nov 28 02:22:32 2013 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 28 Nov 2013 09:22:32 +0200 Subject: 6.5 Problem In-Reply-To: References: <5296D266.7070305@hyperactivesw.com> Message-ID: <5296EF38.2050801@gmail.com> In the Livecode Kickstarter Roadmap there is a point made that all new versions of Livecode must be completely backward compatible. In light of "grumps and bumps" with recent supposedly finished releases I am wondering how backward compatible they really are. If the price of new features is breaking those we have come to depend upon then that price is too high. What this might do is result in an awful lot of people continuing to use earlier versions and not stumping up the money for new commercial versions. This will result in a wee problem in RunRev's bank account. Perhaps "the road ahead" (sorry, couldn't resist that one) is for dp and rc releases to be released with a list of what RunRev would like beta-testing end-users to test rather than just a list of bugs that have been (?) ironed out since the previous release. Richmond. ----------------------------------------------------------- Oh, and by the way, if anyone could point me to a Mac Classic version of 2.0.1 and 2.6.1 I should be most grateful. Frankly moving image files from Bryce 4 and Poser 4 back and forth between the G3 running Mac OS 9 and the Optiplex 745 running Ubuntustudio 13.10 is a bit of a fag. RR/LC 1.1.1 is, quite, cutting the mustard on the G3. As all versions of RR/LC prior to version 2.1 were usable on a script-limit basis I cannot see why RunRev would object to making them available to anybody who might want them for the odd "walk on the wild side." From richmondmathewson at gmail.com Thu Nov 28 02:43:05 2013 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 28 Nov 2013 09:43:05 +0200 Subject: 6.5.0 doesn't like antiquated Gnomes Message-ID: <5296F409.5020501@gmail.com> The 6.5.0 final installer will not work on Ubuntu 12.04 with GNOME Fallback. As the 6.5.0 rc-6 installer did work Gnomes must have crept into the woodpile in between those releases. Richmond. From richmondmathewson at gmail.com Thu Nov 28 03:05:08 2013 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 28 Nov 2013 10:05:08 +0200 Subject: 6.5.0 doesn't like antiquated Gnomes In-Reply-To: <5296F409.5020501@gmail.com> References: <5296F409.5020501@gmail.com> Message-ID: <5296F934.8030407@gmail.com> On 28/11/13 09:43, Richmond wrote: > The 6.5.0 final installer will not work on Ubuntu 12.04 with GNOME > Fallback. > > As the 6.5.0 rc-6 installer did work Gnomes must have crept into the > woodpile in between those releases. > > Richmond. But, it will work on Ubuntu 12.04 with XFCE 4.10. Hey, after dance of the applications, we have dance of the desktop managers. What next? Probably the dance of the sugar plum fairy . . . LOL. Richmond. From ben at runrev.com Thu Nov 28 05:44:53 2013 From: ben at runrev.com (Benjamin Beaumont) Date: Thu, 28 Nov 2013 10:44:53 +0000 Subject: RELEASE LiveCode 6.5 In-Reply-To: <5296CD2D.8020004@hyperactivesw.com> References: <24F6621E-6C9D-4893-A5DA-DBFD88AE9686@me.com> <9E38792B-9E39-49C3-9E63-4B4ABB302E79@me.com> <4F498FD5-0E8A-4D21-B644-A4E52B78C58C@luceatlux.com> <52968183.8050403@fourthworld.com> <0EFEE313-6356-4126-A67C-12B65967BC58@luceatlux.com> <52968ED2.7070109@fourthworld.com> <5296CD2D.8020004@hyperactivesw.com> Message-ID: Hi All, Thanks for the warm messages. For those of you encountering issues can I encourage your to get bug reports to us. The new maintenance cycle structure is designed so that we can continue to work on a release long after the initial version and bring refinements and improvements. Over the next week are so you can expect a RC1 of 6.5.1 through which we'll be bringing fixes to bugs that people report against yesterdays release. As a motivation let me encourage you by explaining the work we've done this year. - In LiveCode 6.5 we completely re-implemented the entire graphics layer as part of our work towards supporting a raft of new features such as theme drawing, custom controls, replaced video, browser.. in fact, most of the roadmap ahead required a modern 2D drawing API. - In LiveCode 7.0 which we've been working on for 9 months, we're refactoring nearly every line of code in the engine to create a smaller core platform with a much cleaner structure allowing for quicker extension of the language. The result will provide all of us a team team and the community as a whole with a more robust platform that can more easily be extended. 2014 will be an exciting year as we are able to add more features to the platform and so are community members. There is a catch though. Big changes introduce a lot of bugs. We have an automated system that we use to test our new engines at an API level. However, because this is a development language, interactions are hugely varied and complicated, which is sometimes beyond automated testing. This is where we rely on you as our community to test stacks and feedback to us. It's something we don't take for granted. We are hugely thankful to have a community that cares about the product and it's only with your support that we can make LiveCode a true success. So, we encourage anyone who is interested and especially those in the community who rely on the technology to test and feedback. In particular as the RC stage. At this point we are saying that we deem the release to be feature complete and are now just refining it for release. Thanks again for your warm encouragements and support! Regards, Ben On 28 November 2013 04:57, J. Landman Gay wrote: > On 11/27/13 6:31 PM, Richard Gaskin wrote: > > We all get busy, and it's been hard to focus on testing with so much >> work to do. >> >> But over time I've learned that if I don't test my apps with the current >> test build, I'm likely to have to skip a version if I find anything. >> >> > That's been my problem too lately. They did warn us that 6.5 was a major > overhaul and we should test our stacks with it (and work on copies) because > in particular the graphics engine was changed. I wanted to help but I've > just been too busy to do much. Since I couldn't provide any feedback, I > figure I can't complain if my pet glitch doesn't work. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > > _______________________________________________ > livecode-dev mailing list > livecode-dev at lists.runrev.com > http://lists.runrev.com/mailman/listinfo/livecode-dev > -- _____________________________________________ Benjamin Beaumont . RunRev Ltd LiveCode Product Manager mail : 25a Thistle Street Lane South West, Edinburgh, EH2 1EW email : ben at runrev.com company : +44(0) 845 219 89 23 fax : +44(0) 845 458 8487 web : www.runrev.com LiveCode - Programming made simple From ben at runrev.com Thu Nov 28 05:49:50 2013 From: ben at runrev.com (Benjamin Beaumont) Date: Thu, 28 Nov 2013 10:49:50 +0000 Subject: 6.5 Problem In-Reply-To: References: Message-ID: Hi Peter, Thanks for your messages. I'm sorry you're encountering issues with 6.5. Please submit a report at quality.runrev.com and we'll get this addressed for you in LiveCode 6.5.1. If your stack is sensitive in nature you can submit a bug and send your stack directly to the team rather than upload it to the public quality system. Warm regards, Ben On 27 November 2013 21:49, Peter Haworth wrote: > I have a plugin stack that works fine in LC 6.1.x but when I open it in > 6.5, the height and width of the two fields on it are changed to the extent > that they don't fit within the stack window. > > I don't see any obvious code that could be causing this. Any clues? > > > Pete > lcSQL Software > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- _____________________________________________ Benjamin Beaumont . RunRev Ltd LiveCode Product Manager mail : 25a Thistle Street Lane South West, Edinburgh, EH2 1EW email : ben at runrev.com company : +44(0) 845 219 89 23 fax : +44(0) 845 458 8487 web : www.runrev.com LiveCode - Programming made simple From kevin at runrev.com Thu Nov 28 06:12:26 2013 From: kevin at runrev.com (Kevin Miller) Date: Thu, 28 Nov 2013 11:12:26 +0000 Subject: RELEASE LiveCode 6.5 In-Reply-To: Message-ID: Just to chime in here and add to what Ben has said below. 6.5 wasn't a case of adding a few minor features. We didn't do what we usually do and "bolt-on" the resolution independence code to the existing architecture. Instead, we replaced the entire graphics architecture for all graphics on all platforms in the entire engine. It was a ton of effort and we got "just" one big feature this release - resolution independence. It might seem like a bitter pill to swallow for just that feature. Of course that isn't the point. We now have a modern graphics layer and we can do so much more with it over the next few versions, as Ben has outlined. We have so much scope now to expose additional graphics features, re-implement theming and so forth. There is simply no way to make a change so big without causing some issues somewhere. We do have an automated test framework, but it too is new. We are adding tests to it every day to get better coverage. It will take time to get comprehensive coverage. And with a platform like LiveCode we simply can't predict and test every possible use even when that is done. Then there is the issue that, understandably, our customers are busy and don't always have time to test a release before it comes out. That's fine, it just means we will need to address your issues in 6.5.x. If you're still spotting little errors rendering and so forth, please report them and we'll get them ironed out fast. I wish I could tell you that the 7.0 process will be smoother. However I think it only sensible to come out right now and say that it won't be. Rather than changing (just!) the graphics architecture, we've touched almost every single line of code in the entire engine on every platform. Again we're "only" getting one major feature with 7.0 - complete and transparent Unicode support on all platforms. Again though, this sets us up to deliver themes and open language hot on the heals of this. And once we get through all that, things will really speed up. All those stretch goals that are outstanding become rapid to implement on top. Right now it looks like we're making slow progress, because we have so many people working on big architecture stuff that brings only one or two features in the first release. However our capacity is so much greater that you'll see the feature set rounded out on top of this work far more rapidly than you've ever seen before from us. We're going to do everything we can to be responsive to feedback on 7.0, to test it internally and to stabilize it. And we will, absolutely, achieve a rock solid release of all the new tech. But it is going to take some time. There is no other way to do all of this. We'll communicate as clearly as we can and be responsive. At the end of the day though we're relying on your support and patience to get through the next few months of sweeping changes to the architecture. It will be worth it for everyone when its done. Thanks again to all for your patience and support. Kind regards, Kevin Kevin Miller ~ kevin at runrev.com ~ http://www.runrev.com/ LiveCode: Everyone can code On 28/11/2013 10:44, "Benjamin Beaumont" wrote: >Hi All, > >Thanks for the warm messages. > >For those of you encountering issues can I encourage your to get bug >reports to us. The new maintenance cycle structure is designed so that we >can continue to work on a release long after the initial version and bring >refinements and improvements. Over the next week are so you can expect a >RC1 of 6.5.1 through which we'll be bringing fixes to bugs that people >report against yesterdays release. > >As a motivation let me encourage you by explaining the work we've done >this >year. >- In LiveCode 6.5 we completely re-implemented the entire graphics layer >as >part of our work towards supporting a raft of new features such as theme >drawing, custom controls, replaced video, browser.. in fact, most of the >roadmap ahead required a modern 2D drawing API. >- In LiveCode 7.0 which we've been working on for 9 months, we're >refactoring nearly every line of code in the engine to create a smaller >core platform with a much cleaner structure allowing for quicker extension >of the language. The result will provide all of us a team team and the >community as a whole with a more robust platform that can more easily be >extended. 2014 will be an exciting year as we are able to add more >features >to the platform and so are community members. > >There is a catch though. Big changes introduce a lot of bugs. We have an >automated system that we use to test our new engines at an API level. >However, because this is a development language, interactions are hugely >varied and complicated, which is sometimes beyond automated testing. This >is where we rely on you as our community to test stacks and feedback to >us. >It's something we don't take for granted. We are hugely thankful to have a >community that cares about the product and it's only with your support >that >we can make LiveCode a true success. > >So, we encourage anyone who is interested and especially those in the >community who rely on the technology to test and feedback. In particular >as >the RC stage. At this point we are saying that we deem the release to be >feature complete and are now just refining it for release. > >Thanks again for your warm encouragements and support! > >Regards, > >Ben > > >On 28 November 2013 04:57, J. Landman Gay >wrote: > >> On 11/27/13 6:31 PM, Richard Gaskin wrote: >> >> We all get busy, and it's been hard to focus on testing with so much >>> work to do. >>> >>> But over time I've learned that if I don't test my apps with the >>>current >>> test build, I'm likely to have to skip a version if I find anything. >>> >>> >> That's been my problem too lately. They did warn us that 6.5 was a major >> overhaul and we should test our stacks with it (and work on copies) >>because >> in particular the graphics engine was changed. I wanted to help but I've >> just been too busy to do much. Since I couldn't provide any feedback, I >> figure I can't complain if my pet glitch doesn't work. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> >> >> _______________________________________________ >> livecode-dev mailing list >> livecode-dev at lists.runrev.com >> http://lists.runrev.com/mailman/listinfo/livecode-dev >> > > > >-- >_____________________________________________ > >Benjamin Beaumont . RunRev Ltd > >LiveCode Product Manager >mail : 25a Thistle Street Lane South West, Edinburgh, EH2 1EW >email : ben at runrev.com >company : +44(0) 845 219 89 23 >fax : +44(0) 845 458 8487 >web : www.runrev.com > >LiveCode - Programming made simple >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode From coiin at verizon.net Thu Nov 28 10:09:41 2013 From: coiin at verizon.net (Colin Holgate) Date: Thu, 28 Nov 2013 10:09:41 -0500 Subject: Answer File on Mac OS X In-Reply-To: <5296D1DB.6070006@hyperactivesw.com> References: <5FE3DA64-535E-4B6C-9850-20132A37C599@iotecdigital.com> <5296C2B4.4020501@gmail.com> <28449E87-E245-4261-ABF6-8BC0AED01C6E@iotecdigital.com> <5296D1DB.6070006@hyperactivesw.com> Message-ID: <23946865-EB48-4FF4-B802-4828358FFB71@verizon.net> Both Jacque?s and Bob?s ways work. The one Marty posted happened not to work because the wildcard part overrode the pdf part. So, ?|pdf? (no space), should work, and "PDF Files|pdf? will work too. Now, the above is using ?with?. If you use ?of?, then the old file TYPE comes into play. So, this would work: answer file "Select file to open:" of type "PDF ? (note the space), but it would only show files that had been saved with the OS9 style of Type/Creator information. Any pure OSX PDFs would most likely be grayed out. This article by Devin Asay has a handy list of the file types: http://revolution.byu.edu/helps/file-creatorcodes.php From rjb at robelko.com Thu Nov 28 10:06:12 2013 From: rjb at robelko.com (Robert Brenstein) Date: Thu, 28 Nov 2013 16:06:12 +0100 Subject: Feedback request: getProp/setProp and lockMessages In-Reply-To: <0199329F-5687-4BA8-A519-BE279BF7C5FD@tactilemedia.com> References: <5290CAEB.4010107@fourthworld.com> <0199329F-5687-4BA8-A519-BE279BF7C5FD@tactilemedia.com> Message-ID: Since you are counting the votes, another thumb up for exclusing getProp/setProp from lockMessages and adding lockPropMessages to the lockXxxx family. The positives way outweigh negatives for me. RObert From pete at lcsql.com Thu Nov 28 12:34:41 2013 From: pete at lcsql.com (Peter Haworth) Date: Thu, 28 Nov 2013 09:34:41 -0800 Subject: 6.5 Problem In-Reply-To: References: Message-ID: Thanks Ben, I will do that however the qcc does not have an option for the GM version of 6.5, only the various RC releases. Pete lcSQL Software On Thu, Nov 28, 2013 at 2:49 AM, Benjamin Beaumont wrote: > Hi Peter, > > Thanks for your messages. I'm sorry you're encountering issues with 6.5. > Please submit a report at quality.runrev.com and we'll get this addressed > for you in LiveCode 6.5.1. > > If your stack is sensitive in nature you can submit a bug and send your > stack directly to the team rather than upload it to the public quality > system. > > Warm regards, > > Ben > > > On 27 November 2013 21:49, Peter Haworth wrote: > > > I have a plugin stack that works fine in LC 6.1.x but when I open it in > > 6.5, the height and width of the two fields on it are changed to the > extent > > that they don't fit within the stack window. > > > > I don't see any obvious code that could be causing this. Any clues? > > > > > > Pete > > lcSQL Software > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > -- > _____________________________________________ > > Benjamin Beaumont . RunRev Ltd > > LiveCode Product Manager > mail : 25a Thistle Street Lane South West, Edinburgh, EH2 1EW > email : ben at runrev.com > company : +44(0) 845 219 89 23 > fax : +44(0) 845 458 8487 > web : www.runrev.com > > LiveCode - Programming made simple > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From capellan2000 at gmail.com Thu Nov 28 12:48:17 2013 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Thu, 28 Nov 2013 09:48:17 -0800 (PST) Subject: RELEASE LiveCode 6.5 In-Reply-To: References: Message-ID: <1385660897801-4673030.post@n4.nabble.com> Kevin Miller wrote > Just to chime in here and add to what Ben has said below. 6.5 wasn't a > case of adding a few minor features. We didn't do what we usually do and > "bolt-on" the resolution independence code to the existing architecture. > Instead, we replaced the entire graphics architecture for all graphics on > all platforms in the entire engine. > > It was a ton of effort and we got "just" one big feature this release - > resolution independence. It might seem like a bitter pill to swallow for > just that feature. Of course that isn't the point. We now have a modern > graphics layer and we can do so much more with it over the next few > versions, as Ben has outlined. We have so much scope now to expose > additional graphics features, re-implement theming and so forth. > [snip] Just for curiosity, Besides Google Chrome and LiveCode, Which others fully cross-platform software employs the Graphics library Skia in all available platforms? If my guess is correct, LiveCode 6.5 must be a complete new ground for Skia graphic library. How many of the graphic bugs reported belongs to Livecode's implementation? How many of the graphic bugs reported belongs to Skia's platform specific code? That would be really interesting to know. Al So, -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/RELEASE-LiveCode-6-5-tp4672961p4673030.html Sent from the Revolution - User mailing list archive at Nabble.com. From richmondmathewson at gmail.com Thu Nov 28 13:02:38 2013 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 28 Nov 2013 20:02:38 +0200 Subject: RELEASE LiveCode 6.5 In-Reply-To: References: Message-ID: <5297853E.6020301@gmail.com> On 28.11.2013 13:12, Kevin Miller wrote: > Just to chime in here and add to what Ben has said below. 6.5 wasn't a > case of adding a few minor features. We didn't do what we usually do and > "bolt-on" the resolution independence code to the existing architecture. > Instead, we replaced the entire graphics architecture for all graphics on > all platforms in the entire engine. > > It was a ton of effort and we got "just" one big feature this release - > resolution independence. It might seem like a bitter pill to swallow for > just that feature. Of course that isn't the point. We now have a modern > graphics layer and we can do so much more with it over the next few > versions, as Ben has outlined. We have so much scope now to expose > additional graphics features, re-implement theming and so forth. > > There is simply no way to make a change so big without causing some issues > somewhere. Indeed, and that is why I understood the seemingly odd 6.1.3, and was expecting the 6.5.0 process to be far more drawn out, with 6.1.4 and so on while we were waiting. I hope that between 6.5.0 and 7.0.0 there will be a much longer lag time with interim releases so that when we get "there" (7.0.0) we don't get all upset again. > We do have an automated test framework, but it too is new. We > are adding tests to it every day to get better coverage. It will take time > to get comprehensive coverage. And with a platform like LiveCode we simply > can't predict and test every possible use even when that is done. > > Then there is the issue that, understandably, our customers are busy and > don't always have time to test a release before it comes out. That's fine, > it just means we will need to address your issues in 6.5.x. If you're > still spotting little errors rendering and so forth, please report them > and we'll get them ironed out fast. Why does this come across as a funny way of saying "our finished versions are really still Beta versions" ? > > I wish I could tell you that the 7.0 process will be smoother. However I > think it only sensible to come out right now and say that it won't be. > > Rather than changing (just!) the graphics architecture, we've touched > almost every single line of code in the entire engine on every platform. > Again we're "only" getting one major feature with 7.0 - complete and > transparent Unicode support on all platforms. Again though, this sets us > up to deliver themes and open language hot on the heals of this. And once > we get through all that, things will really speed up. All those stretch > goals that are outstanding become rapid to implement on top. Right now it > looks like we're making slow progress, because we have so many people > working on big architecture stuff that brings only one or two features in > the first release. However our capacity is so much greater that you'll see > the feature set rounded out on top of this work far more rapidly than > you've ever seen before from us. > > We're going to do everything we can to be responsive to feedback on 7.0, > to test it internally and to stabilize it. And we will, absolutely, > achieve a rock solid release of all the new tech. But it is going to take > some time. There is no other way to do all of this. We'll communicate as > clearly as we can and be responsive. At the end of the day though we're > relying on your support and patience to get through the next few months of > sweeping changes to the architecture. It will be worth it for everyone > when its done. > > Thanks again to all for your patience and support. > > Kind regards, > > Kevin > > Kevin Miller ~ kevin at runrev.com ~ http://www.runrev.com/ > LiveCode: Everyone can code > > Richmond. From monte at sweattechnologies.com Thu Nov 28 13:58:02 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 29 Nov 2013 05:58:02 +1100 Subject: Feedback request: getProp/setProp and lockMessages In-Reply-To: References: <5290CAEB.4010107@fourthworld.com> <0199329F-5687-4BA8-A519-BE279BF7C5FD@tactilemedia.com> Message-ID: On 29/11/2013, at 2:06 AM, Robert Brenstein wrote: > Since you are counting the votes, another thumb up for exclusing getProp/setProp from lockMessages and adding lockPropMessages to the lockXxxx family. The positives way outweigh negatives for me. If we add lockPropMessages we end up with the same problem of getProp/setProp being unreliable. Cheers -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From rjb at robelko.com Thu Nov 28 14:24:01 2013 From: rjb at robelko.com (Robert Brenstein) Date: Thu, 28 Nov 2013 20:24:01 +0100 Subject: Feedback request: getProp/setProp and lockMessages In-Reply-To: References: <5290CAEB.4010107@fourthworld.com> <0199329F-5687-4BA8-A519-BE279BF7C5FD@tactilemedia.com> Message-ID: On 29.11.2013 at 5:58 Uhr +1100 Monte Goulding apparently wrote: > >If we add lockPropMessages we end up with the same problem of >getProp/setProp being unreliable. > >Cheers > >-- >Monte Goulding I imagine that lockPropMessages would apply to all cases discussed earlier, so behavior would be consistent, and since locking will be done by the developer, said developer should know the consequences and use this only when required. Without the lock option, the problem situations, as discussed, would have no escape valve. RObert From monte at sweattechnologies.com Thu Nov 28 14:29:50 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 29 Nov 2013 06:29:50 +1100 Subject: Feedback request: getProp/setProp and lockMessages In-Reply-To: References: <5290CAEB.4010107@fourthworld.com> <0199329F-5687-4BA8-A519-BE279BF7C5FD@tactilemedia.com> Message-ID: <2D6F2D25-E860-4C8D-B8A2-F1A42EA89048@sweattechnologies.com> On 29/11/2013, at 6:24 AM, Robert Brenstein wrote: > I imagine that lockPropMessages would apply to all cases discussed earlier, so behavior would be consistent, and since locking will be done by the developer, said developer should know the consequences and use this only when required. Without the lock option, the problem situations, as discussed, would have no escape valve. Are you talking about the recursion? If it were fixed in the engine to ensure setting the property from within a setProp hander anywhere in the path (not just in the object itself as is currently) did not trigger the handler again wouldn't that resolve the problem. There's also pass and setting the whole property set as options. Cheers -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From pete at lcsql.com Thu Nov 28 14:57:16 2013 From: pete at lcsql.com (Peter Haworth) Date: Thu, 28 Nov 2013 11:57:16 -0800 Subject: 6.5 Problem In-Reply-To: References: <5296D266.7070305@hyperactivesw.com> Message-ID: And yet another plot thickener - the stack is displayed correctly in 6.5 if it is opened from the file menu and not run as a plugin. This isn;t the first time I've run into issues that surface only when a stack is run as a plugin. Pete lcSQL Software On Wed, Nov 27, 2013 at 10:09 PM, Peter Haworth wrote: > I believe it is something to do with resizing/repositioning the stack > during startup After installing a pristine version of the plugin, it works > fine in all LC versions I tested, including 6.5, until I resize the stack. > Resizing works fine but the next time I run after resizing, things still > work OK in 5.5.x and 6.1.3 but fail in 6.5. The symptoms are slightly > different depending on whether the plugin is started manually from the > plugins menu or started when LC loads, which is another mystery. > > I don't use the Geometry Manager but have written my own resizing handlers. > > To thicken the plot, I have a new version of the plugin in beta which does > not exhibit the 6.5 problem. I'm currently poring through the code to see > if I can spot any changes that I might have made in my resizing handlers > that might have stopped the problem. > > > > Pete > lcSQL Software > > > On Wed, Nov 27, 2013 at 9:19 PM, J. Landman Gay wrote: > >> On 11/27/13 6:45 PM, Peter Haworth wrote: >> >>> Well I guess I'll just add this to the ever growing list of bugs in this >>> release and notify my customers that my plugin is broken in 6.5. >>> >> >> Did you check for rev geometry custom properties? Maybe some sneaked in. >> It's all I can think of. Or maybe it's related to the new scaling options. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > From monte at sweattechnologies.com Thu Nov 28 15:39:53 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 29 Nov 2013 07:39:53 +1100 Subject: RELEASE LiveCode 6.5 In-Reply-To: <5297853E.6020301@gmail.com> References: <5297853E.6020301@gmail.com> Message-ID: <2A0EF97A-40AA-4065-9763-01745AF342A5@sweattechnologies.com> On 29/11/2013, at 5:02 AM, Richmond wrote: > I hope that between 6.5.0 and 7.0.0 there will be a much longer lag time with > interim releases so that when we get "there" (7.0.0) we don't get all upset again. Why would you get upset? RunRev must aggressively push forward in order to deliver what they have promised and a good way to do that is to get the .0 releases out ASAP and then open up a .1 release cycle almost immediately to clean things up. None of us are used to RunRev being as highly resourced as they are at present. I shudder to think of what can be achieved once the core refactoring is complete but it's going to be a bumpy ride to get there. Cheers -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From richmondmathewson at gmail.com Thu Nov 28 15:50:22 2013 From: richmondmathewson at gmail.com (Richmond) Date: Thu, 28 Nov 2013 22:50:22 +0200 Subject: RELEASE LiveCode 6.5 In-Reply-To: <2A0EF97A-40AA-4065-9763-01745AF342A5@sweattechnologies.com> References: <5297853E.6020301@gmail.com> <2A0EF97A-40AA-4065-9763-01745AF342A5@sweattechnologies.com> Message-ID: <5297AC8E.70105@gmail.com> On 28.11.2013 22:39, Monte Goulding wrote: > On 29/11/2013, at 5:02 AM, Richmond wrote: > >> I hope that between 6.5.0 and 7.0.0 there will be a much longer lag time with >> interim releases so that when we get "there" (7.0.0) we don't get all upset again. > Why would you get upset? RunRev must aggressively push forward in order to deliver what they have promised and a good way to do that is to get the .0 releases out ASAP and then open up a .1 release cycle almost immediately to clean things up. None of us are used to RunRev being as highly resourced as they are at present. I shudder to think of what can be achieved once the core refactoring is complete but it's going to be a bumpy ride to get there. > > Cheers > > -- > Monte Goulding > > Personally I'm not upset in the slightest, but then I don't really have anything that is really going to upset my bank account riding on current releases. I think what RunRev are doing is super. However; no sooner was 6.5.0 final out the door than people for whom what happens right now got upset. I would be quite happy if I could get my hands on a version of RR/LC 2.0.1 for Mac OS 9. Richmond. From irog at mac.com Thu Nov 28 16:12:49 2013 From: irog at mac.com (Roger Guay) Date: Thu, 28 Nov 2013 13:12:49 -0800 Subject: iOS Image/Sprite Animation? In-Reply-To: References: <1385407511206-4672895.post@n4.nabble.com> <5D2E04A6-21DC-4025-8FB1-61F272116769@major-k.de> <1385525526350-4672939.post@n4.nabble.com> <152147D2-E8D4-4DEB-9237-DCD75CF17AEA@all-auctions.com> <490B4BD3-C694-40F4-9DE4-2C8A44FE1731@all-auctions.com> Message-ID: Once again, I learn so much from your contributions, Scott. However I?m having trouble recreating your stack with my images. After I "set the uIMAG of image myImage to image myPng.png? (myPng.png is an image I?ve imported to the stack) and then ?set text of image myImage to value(the uIMG of image myImage)?, I get nothing in image myImage. The image is still there but there?s nothing to see. What am I missing, please? Is there something special about the images that are stored? Thanks and cheers, Roger On Nov 27, 2013, at 4:35 PM, Scott Rossi wrote: > Hi Rick > > I posted a basic stack that shows one way to display frame animation in a > single image (created from multiple frames). Execute the following in > your message box: > > go url "http://dl.dropbox.com/s/nmgwv1zqzvu5hqx/framebyframe.livecode" > > > You'll have to decide if you can employ a technique like this and if it > updates fast enough on your device. This can be layered under other > LiveCode objects, but note that you'll likely get better performance if > the overlaid objects do not have graphic effects applied to them. > > Hope this helps. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > On 11/27/13 3:44 PM, "Rick Harrison" wrote: > >> Hi Scott, >> >> Think ?Movie Animation?. The rect stays in the same place >> and get updated with new images. The layer needs to be >> in the background so that other things can fly across it in >> a topmost layer. >> >> Thanks, >> >> Rick >> >> On Nov 27, 2013, at 5:34 PM, Scott Rossi wrote: >> >>> What exactly are you trying to animate? If you provide some details, a >>> suggestion might be easier. >>> >>> If you're not already, look at the acceleratedRendering property and the >>> layerMode of the object/s you're trying to animate. >>> >>> If you're replacing frames of a rectangular region, you might be able to >>> manually update an image object using the individual frames of the >>> animation. >>> >>> Regards, >>> >>> Scott Rossi >>> Creative Director >>> Tactile Media, UX/UI Design >>> >>> >>> >>> >>> On 11/27/13 2:06 PM, "Rick Harrison" wrote: >>> >>>> Hi there, >>>> >>>> I?m trying to do what I at first thought to >>>> be some simple image/sprite animations >>>> on iOS. >>>> >>>> I started out with the idea of using a >>>> Quicktime movie. I thought maybe I?d >>>> use 2 or three of them. >>>> >>>> Turns out one can only display 1 movie >>>> at a time in iOS, and the movie always >>>> has to be on the top layer under iOS. >>>> That killed that idea. :-( >>>> >>>> I then thought about converting my >>>> movie to an animated gif. It is 240 >>>> frames, and runs very slowly. >>>> Anyway to speed it up? >>>> >>>> I then looked at the custom icon type >>>> animation, but alas icons can only be >>>> 128 by 128 pixels. My image needs to >>>> be 608 by 342 pixels, so that kills that >>>> idea. >>>> >>>> I looked at setting one image to the >>>> contents of another one, but then >>>> noticed the routine uses: >>>> put URL VarImageName into image VarImageDisplay of card 1 >>>> which loads images from the disk which >>>> is also too slow! >>>> >>>> I know I can?t be the only one who has >>>> run into this situation before. What >>>> do you more experienced animators >>>> recommend? >>>> >>>> Thanks in advance! >>>> >>>> Rick >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at 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 at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From klaus at major-k.de Thu Nov 28 16:19:37 2013 From: klaus at major-k.de (Klaus major-k) Date: Thu, 28 Nov 2013 22:19:37 +0100 Subject: iOS Image/Sprite Animation? In-Reply-To: References: <1385407511206-4672895.post@n4.nabble.com> <5D2E04A6-21DC-4025-8FB1-61F272116769@major-k.de> <1385525526350-4672939.post@n4.nabble.com> <152147D2-E8D4-4DEB-9237-DCD75CF17AEA@all-auctions.com> <490B4BD3-C694-40F4-9DE4-2C8A44FE1731@all-auctions.com> Message-ID: <4E6012C3-BCFB-4AAD-819F-CD08CE175723@major-k.de> Hi Roger, Am 28.11.2013 um 22:12 schrieb Roger Guay : > Once again, I learn so much from your contributions, Scott. However I?m having trouble recreating your stack with my images. > After I > "set the uIMAG of image myImage to image myPng.png? (myPng.png is an image I?ve imported to the stack) ... set the uIMAG of image "myImage" to THE TEXT of image "myPng.png? ... > and then > ?set text of image myImage to value(the uIMG of image myImage)?, I get nothing in image myImage. The image is still there but there?s nothing to see. Since you are testing this with only one image, don't use VALUE: ... set text of image "myImage" to the uIMG of image "myImage" ... > What am I missing, please? Is there something special about the images that are stored? > Thanks and cheers, > > Roger Best Klaus -- Klaus Major http://www.major-k.de klaus at major-k.de From scott at tactilemedia.com Thu Nov 28 17:21:15 2013 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 28 Nov 2013 14:21:15 -0800 Subject: iOS Image/Sprite Animation? In-Reply-To: <4E6012C3-BCFB-4AAD-819F-CD08CE175723@major-k.de> References: <1385407511206-4672895.post@n4.nabble.com> <5D2E04A6-21DC-4025-8FB1-61F272116769@major-k.de> <1385525526350-4672939.post@n4.nabble.com> <152147D2-E8D4-4DEB-9237-DCD75CF17AEA@all-auctions.com> <490B4BD3-C694-40F4-9DE4-2C8A44FE1731@all-auctions.com> <4E6012C3-BCFB-4AAD-819F-CD08CE175723@major-k.de> Message-ID: Klaus is right. "Value" is used to resolve the numbered property names (uFrame1, uFrame2, etc). It's been mentioned before -- the "text" property of images is not intuitively named, but it's a property you can set to update an image's contents, especially when changing both the imageData and alphaData simultaneously. Also, make sure you don't have a typo occurring in your script: uIMAG vs uIMG Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 11/28/13 1:19 PM, "Klaus major-k" wrote: >Hi Roger, > >Am 28.11.2013 um 22:12 schrieb Roger Guay : > >> Once again, I learn so much from your contributions, Scott. However I?m >>having trouble recreating your stack with my images. >> After I >> "set the uIMAG of image myImage to image myPng.png? (myPng.png is an >>image I?ve imported to the stack) > >... >set the uIMAG of image "myImage" to THE TEXT of image "myPng.png? >... > >> and then >> ?set text of image myImage to value(the uIMG of image myImage)?, I get >>nothing in image myImage. The image is still there but there?s nothing >>to see. > >Since you are testing this with only one image, don't use VALUE: >... >set text of image "myImage" to the uIMG of image "myImage" >... > >> What am I missing, please? Is there something special about the images >>that are stored? >> Thanks and cheers, >> >> Roger > >Best > >Klaus > >-- >Klaus Major >http://www.major-k.de >klaus at major-k.de > > >_______________________________________________ >use-livecode mailing list >use-livecode at lists.runrev.com >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode From irog at mac.com Thu Nov 28 17:30:39 2013 From: irog at mac.com (Roger Guay) Date: Thu, 28 Nov 2013 14:30:39 -0800 Subject: iOS Image/Sprite Animation? In-Reply-To: References: <1385407511206-4672895.post@n4.nabble.com> <5D2E04A6-21DC-4025-8FB1-61F272116769@major-k.de> <1385525526350-4672939.post@n4.nabble.com> <152147D2-E8D4-4DEB-9237-DCD75CF17AEA@all-auctions.com> <490B4BD3-C694-40F4-9DE4-2C8A44FE1731@all-auctions.com> <4E6012C3-BCFB-4AAD-819F-CD08CE175723@major-k.de> Message-ID: <58862C31-60B2-4E0D-AE58-A92E2C0063D6@mac.com> Thank you, Klaus and Scott for pushing back the frontiers of ignorance once again!! Roger On Nov 28, 2013, at 2:21 PM, Scott Rossi wrote: > Klaus is right. "Value" is used to resolve the numbered property names > (uFrame1, uFrame2, etc). > > It's been mentioned before -- the "text" property of images is not > intuitively named, but it's a property you can set to update an image's > contents, especially when changing both the imageData and alphaData > simultaneously. > > Also, make sure you don't have a typo occurring in your script: uIMAG vs > uIMG > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > On 11/28/13 1:19 PM, "Klaus major-k" wrote: > >> Hi Roger, >> >> Am 28.11.2013 um 22:12 schrieb Roger Guay : >> >>> Once again, I learn so much from your contributions, Scott. However I?m >>> having trouble recreating your stack with my images. >>> After I >>> "set the uIMAG of image myImage to image myPng.png? (myPng.png is an >>> image I?ve imported to the stack) >> >> ... >> set the uIMAG of image "myImage" to THE TEXT of image "myPng.png? >> ... >> >>> and then >>> ?set text of image myImage to value(the uIMG of image myImage)?, I get >>> nothing in image myImage. The image is still there but there?s nothing >>> to see. >> >> Since you are testing this with only one image, don't use VALUE: >> ... >> set text of image "myImage" to the uIMG of image "myImage" >> ... >> >>> What am I missing, please? Is there something special about the images >>> that are stored? >>> Thanks and cheers, >>> >>> Roger >> >> Best >> >> Klaus >> >> -- >> Klaus Major >> http://www.major-k.de >> klaus at major-k.de >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From zryip.theslug at gmail.com Thu Nov 28 19:08:53 2013 From: zryip.theslug at gmail.com (zryip theSlug) Date: Fri, 29 Nov 2013 01:08:53 +0100 Subject: [ANN] Excel Library released Message-ID: Dear LiveCoders, We have released our Excel Library in 2 versions: 1. An open source version: http://www.aslugontheroad.com/download/category/5-open-sources 2. A commercial version: http://www.aslugontheroad.com/ourproducts/14-excel-library-for-livecode The Excel Library package is composed by: - a library of more than 170 commands or functions for controlling MS Excel with LiveCode (allowing the creation or deletion of sheets, shapes or charts, among a lot of numerous things) - a full documentation with its Lab for directly experimenting the library commands The Excel Library is compatible with - LiveCode Community and Commercial both versions - MS Excel Windows and MS Excel Macintosh A big thanks to our Excel Library Testers group who helped testing the library in different approaches and with different Excel versions. Best Regards, -- Zryip TheSlug http://www.aslugontheroad.com From jhj at jhj.com Thu Nov 28 19:56:12 2013 From: jhj at jhj.com (Jerry Jensen) Date: Thu, 28 Nov 2013 16:56:12 -0800 Subject: [ANN] Excel Library released In-Reply-To: References: Message-ID: Congratulations and thanks! This is something I don't need right now, but I know I will in the future. Its a comfort to have it available. Best, Jerry On Nov 28, 2013, at 4:08 PM, zryip theSlug wrote: > Dear LiveCoders, > > > We have released our Excel Library in 2 versions: > > 1. An open source version: > http://www.aslugontheroad.com/download/category/5-open-sources > > 2. A commercial version: > http://www.aslugontheroad.com/ourproducts/14-excel-library-for-livecode From gcanyon at gmail.com Thu Nov 28 20:01:50 2013 From: gcanyon at gmail.com (Geoff Canyon) Date: Thu, 28 Nov 2013 19:01:50 -0600 Subject: iOS Image/Sprite Animation? In-Reply-To: References: <1385407511206-4672895.post@n4.nabble.com> <5D2E04A6-21DC-4025-8FB1-61F272116769@major-k.de> <1385525526350-4672939.post@n4.nabble.com> <152147D2-E8D4-4DEB-9237-DCD75CF17AEA@all-auctions.com> <490B4BD3-C694-40F4-9DE4-2C8A44FE1731@all-auctions.com> Message-ID: Is there documentation somewhere about the format of the text property of images? It appears to be much more compact (as you've implemented it here) than the imageData. On Wed, Nov 27, 2013 at 6:35 PM, Scott Rossi wrote: > Hi Rick > > I posted a basic stack that shows one way to display frame animation in a > single image (created from multiple frames). Execute the following in > your message box: > > go url "http://dl.dropbox.com/s/nmgwv1zqzvu5hqx/framebyframe.livecode" > > > You'll have to decide if you can employ a technique like this and if it > updates fast enough on your device. This can be layered under other > LiveCode objects, but note that you'll likely get better performance if > the overlaid objects do not have graphic effects applied to them. > > Hope this helps. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX/UI Design > > > > > On 11/27/13 3:44 PM, "Rick Harrison" wrote: > > >Hi Scott, > > > >Think ?Movie Animation?. The rect stays in the same place > >and get updated with new images. The layer needs to be > >in the background so that other things can fly across it in > >a topmost layer. > > > >Thanks, > > > >Rick > > > >On Nov 27, 2013, at 5:34 PM, Scott Rossi wrote: > > > >> What exactly are you trying to animate? If you provide some details, a > >> suggestion might be easier. > >> > >> If you're not already, look at the acceleratedRendering property and the > >> layerMode of the object/s you're trying to animate. > >> > >> If you're replacing frames of a rectangular region, you might be able to > >> manually update an image object using the individual frames of the > >> animation. > >> > >> Regards, > >> > >> Scott Rossi > >> Creative Director > >> Tactile Media, UX/UI Design > >> > >> > >> > >> > >> On 11/27/13 2:06 PM, "Rick Harrison" wrote: > >> > >>> Hi there, > >>> > >>> I?m trying to do what I at first thought to > >>> be some simple image/sprite animations > >>> on iOS. > >>> > >>> I started out with the idea of using a > >>> Quicktime movie. I thought maybe I?d > >>> use 2 or three of them. > >>> > >>> Turns out one can only display 1 movie > >>> at a time in iOS, and the movie always > >>> has to be on the top layer under iOS. > >>> That killed that idea. :-( > >>> > >>> I then thought about converting my > >>> movie to an animated gif. It is 240 > >>> frames, and runs very slowly. > >>> Anyway to speed it up? > >>> > >>> I then looked at the custom icon type > >>> animation, but alas icons can only be > >>> 128 by 128 pixels. My image needs to > >>> be 608 by 342 pixels, so that kills that > >>> idea. > >>> > >>> I looked at setting one image to the > >>> contents of another one, but then > >>> noticed the routine uses: > >>> put URL VarImageName into image VarImageDisplay of card 1 > >>> which loads images from the disk which > >>> is also too slow! > >>> > >>> I know I can?t be the only one who has > >>> run into this situation before. What > >>> do you more experienced animators > >>> recommend? > >>> > >>> Thanks in advance! > >>> > >>> Rick > >>> > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at 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 at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From capellan2000 at gmail.com Thu Nov 28 21:26:51 2013 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Thu, 28 Nov 2013 18:26:51 -0800 (PST) Subject: iOS Image/Sprite Animation? In-Reply-To: References: <1385407511206-4672895.post@n4.nabble.com> <5D2E04A6-21DC-4025-8FB1-61F272116769@major-k.de> <1385525526350-4672939.post@n4.nabble.com> <152147D2-E8D4-4DEB-9237-DCD75CF17AEA@all-auctions.com> <490B4BD3-C694-40F4-9DE4-2C8A44FE1731@all-auctions.com> Message-ID: <1385692011814-4673045.post@n4.nabble.com> Geoff Canyon-4 wrote > Is there documentation somewhere about the format of the text property of > images? It appears to be much more compact (as you've implemented it here) > than the imageData. Hi Geoff, The text of an image is more compact because it is actually the compressed original file itself in jpg or png format. The imagedata is the bitmap decompressed representation of this compressed data. Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Is-backdrop-better-these-days-tp4672895p4673045.html Sent from the Revolution - User mailing list archive at Nabble.com. From slylabs13 at me.com Thu Nov 28 22:24:15 2013 From: slylabs13 at me.com (Robert Sneidar) Date: Thu, 28 Nov 2013 19:24:15 -0800 Subject: RELEASE: LiveCode 6.5 RC6 In-Reply-To: <1384991274943-4672660.post@n4.nabble.com> References: <528D02F6.8050005@fourthworld.com> <528D0D65.9040709@fourthworld.com> <1384978222572-4672627.post@n4.nabble.com> <1384991274943-4672660.post@n4.nabble.com> Message-ID: Move along. On Nov 20, 2013, at 3:47 PM, Alejandro Tejada wrote: > Scott Rossi wrote >> One is here: >> go url "http://www.tactilemedia.com/site_files/downloads/namegen.rev" >> But these probably aren't the names you're looking for. :-) > > Certainly! These aren't the droids I'm looking :D > > Al > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/RELEASE-LiveCode-6-5-RC6-tp4672605p4672660.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From RevList at CreaTECHSol.com Thu Nov 28 23:40:24 2013 From: RevList at CreaTECHSol.com (RevList) Date: Thu, 28 Nov 2013 20:40:24 -0800 Subject: On-Rev Message-ID: I have been out of the loop for quite some time but now I need to get back to my On-Rev account and the c-panel. The problem is, when I try to go to https://loki.on-rev.com:2083/ I get nothing. Can someone tell me who to contact to sort this out? From monte at sweattechnologies.com Thu Nov 28 23:51:05 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Fri, 29 Nov 2013 15:51:05 +1100 Subject: On-Rev In-Reply-To: References: Message-ID: <3FC65D76-95A7-402D-8A1C-B011CCB34070@sweattechnologies.com> On 29/11/2013, at 3:40 PM, "RevList" wrote: > I have been out of the loop for quite some time but now I need to get back to my On-Rev account and the c-panel. > > The problem is, when I try to go to https://loki.on-rev.com:2083/ I get nothing. > > Can someone tell me who to contact to sort this out? Your account has probably moved to a new server. Try https://.on-rev.com:2083 Cheers -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From gcanyon at gmail.com Thu Nov 28 23:51:11 2013 From: gcanyon at gmail.com (Geoff Canyon) Date: Thu, 28 Nov 2013 22:51:11 -0600 Subject: iOS Image/Sprite Animation? In-Reply-To: <1385692011814-4673045.post@n4.nabble.com> References: <1385407511206-4672895.post@n4.nabble.com> <5D2E04A6-21DC-4025-8FB1-61F272116769@major-k.de> <1385525526350-4672939.post@n4.nabble.com> <152147D2-E8D4-4DEB-9237-DCD75CF17AEA@all-auctions.com> <490B4BD3-C694-40F4-9DE4-2C8A44FE1731@all-auctions.com> <1385692011814-4673045.post@n4.nabble.com> Message-ID: On Thu, Nov 28, 2013 at 8:26 PM, Alejandro Tejada wrote: > The text of an image is more compact because it is > actually the compressed original file itself in jpg or > png format. > So if you want to set the alpha data at the same time, png is the only way, correct? I just tested, and learned all sorts of things: Getting the text defaults to png. Setting the text also sets the dimension of the target -- setting the text of a 200x200 image to the text of a 100x100 image doesn't bork the image the way it would with the imageData. Instead the target is converted to 100x100, and ends up just fine. It also seems that if the original is re-sized, the target will still end up at 100x100, and fine. If the lockLoc of an image is false and the image is not its original size, then getting the imageData will reset the image's dimensions back to their originals. This also means that if image 1 starts out at 100x100, you resize it to 150x100, then you set the rect of image 2 to 100x100 and set the imageData of image 2 to the imageData of image 1, then image 1 will reset to 100x100, and image 2 will look like image 1. If image 1's lockLoc is true, then doing the same would not work; image 2 would have bogus data in it. However, setting the text of image 2 to the text of image 1 will work fine. So curious... From gcanyon at gmail.com Thu Nov 28 23:51:11 2013 From: gcanyon at gmail.com (Geoff Canyon) Date: Thu, 28 Nov 2013 22:51:11 -0600 Subject: iOS Image/Sprite Animation? In-Reply-To: <1385692011814-4673045.post@n4.nabble.com> References: <1385407511206-4672895.post@n4.nabble.com> <5D2E04A6-21DC-4025-8FB1-61F272116769@major-k.de> <1385525526350-4672939.post@n4.nabble.com> <152147D2-E8D4-4DEB-9237-DCD75CF17AEA@all-auctions.com> <490B4BD3-C694-40F4-9DE4-2C8A44FE1731@all-auctions.com> <1385692011814-4673045.post@n4.nabble.com> Message-ID: On Thu, Nov 28, 2013 at 8:26 PM, Alejandro Tejada wrote: > The text of an image is more compact because it is > actually the compressed original file itself in jpg or > png format. > So if you want to set the alpha data at the same time, png is the only way, correct? I just tested, and learned all sorts of things: Getting the text defaults to png. Setting the text also sets the dimension of the target -- setting the text of a 200x200 image to the text of a 100x100 image doesn't bork the image the way it would with the imageData. Instead the target is converted to 100x100, and ends up just fine. It also seems that if the original is re-sized, the target will still end up at 100x100, and fine. If the lockLoc of an image is false and the image is not its original size, then getting the imageData will reset the image's dimensions back to their originals. This also means that if image 1 starts out at 100x100, you resize it to 150x100, then you set the rect of image 2 to 100x100 and set the imageData of image 2 to the imageData of image 1, then image 1 will reset to 100x100, and image 2 will look like image 1. If image 1's lockLoc is true, then doing the same would not work; image 2 would have bogus data in it. However, setting the text of image 2 to the text of image 1 will work fine. So curious... From bvlahos at mac.com Fri Nov 29 00:53:05 2013 From: bvlahos at mac.com (Bill Vlahos) Date: Thu, 28 Nov 2013 21:53:05 -0800 Subject: 6.5 Problem In-Reply-To: References: <5296D266.7070305@hyperactivesw.com> Message-ID: Pete, Could the issue be in the type of window it is? The default for plugins is Palette but if you just open it in the IDE it would probably be regular modeless window. What is the behavior if you change how the plugin is loaded? Bill Vlahos On Nov 28, 2013, at 11:57 AM, Peter Haworth wrote: > And yet another plot thickener - the stack is displayed correctly in 6.5 if > it is opened from the file menu and not run as a plugin. This isn;t the > first time I've run into issues that surface only when a stack is run as a > plugin. > > Pete > lcSQL Software From RevList at CreaTECHSol.com Fri Nov 29 02:16:18 2013 From: RevList at CreaTECHSol.com (RevList) Date: Thu, 28 Nov 2013 23:16:18 -0800 Subject: On-Rev In-Reply-To: <3FC65D76-95A7-402D-8A1C-B011CCB34070@sweattechnologies.com> References: <3FC65D76-95A7-402D-8A1C-B011CCB34070@sweattechnologies.com> Message-ID: Monte Goulding on November 28, 2013 at 8:51 PM -0800 wrote: >Your account has probably moved to a new server. Try https://.on-rev.com:2083 I tried https://stewartl.on-rev.com:2083 and that got me nowhere. Tried just https://on-rev.com:2083 That got me to an insecure c-panel login, but that did not accept either my login ID or PW (I may have it wrong) Took out the s in https and I got redirected to https://meg.on-rev.com:2083/ but that would not accept my login ID or password either. Who can I contact regarding this? Stewart Lynch From lfredricks at proactive-intl.com Fri Nov 29 02:46:06 2013 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Thu, 28 Nov 2013 23:46:06 -0800 Subject: Valentina 5.5 Released; Black Friday 50% Off Sale Message-ID: <5E515E9D7DA544B9A99D9A2FAE77F324@GATEWAY> Free Valentina Studio 5.5 and Valentina Studio 5.5 Pro are released! The powerful cross platform database management solution for Linux, Mac OS X and Windows includes new features for administration of database servers, improved report design features and over 42 fixes and improvements. New Valentina Studio 5.5 Features - Use Report Designer to build reports for datasource Microsoft SQL Server - Administrator: Display Log Files from MySQL and Postgre SQL Servers - Administrator: Connect to PostGre Server with a socket file on Linux/Mac OS X - Administrator: Connect to Microsoft SQL Server with a socket file on Linux/Mac OS X and named pipe on Windows Valentina Studio is free; Valentina Studio Pro adds SQLDIFF, Report Designer and other advanced features for $199 on Mac OS X, Windows and Linux. Report Designer lets you visually design rich, business reports, including sub-reports, graphs, charts, bar codes and more, which can be used within Valentina Studio Pro, deployed for use with applications using Valentina Reports ADK or on both the free and commercial versions of Valentina Server. Valentina Studio Pro comes with 12 months of free updates. BLACK FRIDAY -> CYBER MONDAY 2013 SPECIALS Get the following products at a 50% discount through 12/2/2013: - Valentina DB ADK (reg $199, now $99). The ultra fast database component for your favorite development environment with full object relational and traditional db models supported. - Valentina Studio Pro (reg $199, now $99). All the power of Valentina Studio and SQL DIFF, Reports Building, Database Administration, Powerful diagramming with backward and forward engineering, and more. - Valentina Developer Network (reg $599, now $299). Deploy a version of the ultra fast Reports and Database Server royalty free with your projects, with support for Mac OS X, Windows and Linux. The updates and special offers are immediately available for download on their website at http://www.valentina-db.com. From peterwawood at gmail.com Fri Nov 29 03:21:48 2013 From: peterwawood at gmail.com (Peter W A Wood) Date: Fri, 29 Nov 2013 16:21:48 +0800 Subject: On-Rev In-Reply-To: References: <3FC65D76-95A7-402D-8A1C-B011CCB34070@sweattechnologies.com> Message-ID: <13F2AEBE-AF3C-4BBC-9FD1-D9637DE6D27B@gmail.com> Stewart Did you try to login via the on-rev homepage (on-rev.com)? If that doesn't work, you can either use the form at http://on-rev.com/support/contact-us/ or just email support at runrev.com Regards Peter http://LiveCode1001.blogspot.com On 29 Nov 2013, at 15:16, RevList wrote: > Monte Goulding on November 28, 2013 at 8:51 PM -0800 wrote: >> Your account has probably moved to a new server. Try https://.on-rev.com:2083 > > I tried https://stewartl.on-rev.com:2083 and that got me nowhere. > > Tried just https://on-rev.com:2083 > That got me to an insecure c-panel login, but that did not accept either my login ID or PW (I may have it wrong) > > Took out the s in https and I got redirected to https://meg.on-rev.com:2083/ but that would not accept my login ID or password either. > > Who can I contact regarding this? > > Stewart Lynch > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From alanstenhouse at hotmail.com Fri Nov 29 06:16:57 2013 From: alanstenhouse at hotmail.com (Alan Stenhouse) Date: Fri, 29 Nov 2013 12:16:57 +0100 Subject: On-Rev In-Reply-To: References: Message-ID: The correct address for on-rev support is on-rev at runrev.com HTH cheers, Alan On 29/11/2013, at 12:00 PM, use-livecode-request at lists.runrev.com wrote: > If that doesn't work, you can either use the form at http://on-rev.com/support/contact-us/ or just email support at runrev.com > > Regards > Peter > http://LiveCode1001.blogspot.com > > On 29 Nov 2013, at 15:16, RevList wrote: > >> Monte Goulding on November 28, 2013 at 8:51 PM -0800 wrote: >>> Your account has probably moved to a new server. Try https://.on-rev.com:2083 >> >> I tried https://stewartl.on-rev.com:2083 and that got me nowhere. >> >> Tried just https://on-rev.com:2083 >> That got me to an insecure c-panel login, but that did not accept either my login ID or PW (I may have it wrong) >> >> Took out the s in https and I got redirected to https://meg.on-rev.com:2083/ but that would not accept my login ID or password either. >> >> Who can I contact regarding this? >> >> Stewart Lynch From alanstenhouse at hotmail.com Fri Nov 29 08:10:16 2013 From: alanstenhouse at hotmail.com (Alan Stenhouse) Date: Fri, 29 Nov 2013 14:10:16 +0100 Subject: Problem Debugging with iOS 7 Simulator Message-ID: Is there a problem debugging using the iOS 7 simulator? Using the iPhone 6.1 Simulator my "put" statements are output to system.log as expected. But this doesn't happen with the 7.0 Simulator. Has anyone else noticed this and/or found a solution? cheers Alan From skip at magicgate.com Fri Nov 29 09:46:13 2013 From: skip at magicgate.com (Magicgate Software - Skip Kimpel) Date: Fri, 29 Nov 2013 09:46:13 -0500 Subject: 6.5 Notes Message-ID: Where can I get the most recent LiveCodeNotes regarding Android and iOS changes? SKIP From dochawk at gmail.com Fri Nov 29 12:44:40 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Fri, 29 Nov 2013 09:44:40 -0800 Subject: SQL: using the newly inserted index as a value for insertion In-Reply-To: References: Message-ID: On Sun, Nov 24, 2013 at 10:12 AM, Peter Haworth wrote: > Assuming there really is a column named key, I don't know why you're > getting the error, maybe because key is a reserved word. > > However, as mentioned in my last email, I think David's solution is better > than my idea of using a trigger. Your UPDATE statement would be: > > UPDATE remoteTable SET cmd='INSERT INTO localTable (key,stuff) > VALUES(' || (SELECT last_insert_rowid()) || ', ''this is some stuff'' > ); ' WHERE > scratch='scratchKey'; > What ended up working was UPDATE remoteTable SET cmd='INSERT INTO localTable (key,stuff) VALUES(' || LASTVAL() || ', ''this is some stuff'' ); ' WHERE scratch='scratchKey'; That is, no SELECT to use LASTVAL(). David's suggestion of constructing my own key could work, but looking down the road, the load on the server and other speed issues will be far faster having a numeric primary key index than a text one . . . I also had an interim solution that I didn't particularly like in which the intitial placeholder kept a temporary value in the string, picked up the id on the SELECT at the end of the statement, fixed it stuffing to the :memory: db and marking *that* as hanged, so that the remote master would be updated on the next pass . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From pete at lcsql.com Fri Nov 29 12:46:16 2013 From: pete at lcsql.com (Peter Haworth) Date: Fri, 29 Nov 2013 09:46:16 -0800 Subject: 6.5 Problem In-Reply-To: References: <5296D266.7070305@hyperactivesw.com> Message-ID: Hi Bill, The plugin is set to load as modeless not a palette. I'll give it a whirl with different modes but this issue will still be why it suddenly stopped working in 6.5 when it worked in all proper versions. Pete lcSQL Software On Thu, Nov 28, 2013 at 9:53 PM, Bill Vlahos wrote: > Pete, > > Could the issue be in the type of window it is? The default for plugins is > Palette but if you just open it in the IDE it would probably be regular > modeless window. > > What is the behavior if you change how the plugin is loaded? > > Bill Vlahos > > On Nov 28, 2013, at 11:57 AM, Peter Haworth wrote: > > > And yet another plot thickener - the stack is displayed correctly in 6.5 > if > > it is opened from the file menu and not run as a plugin. This isn;t the > > first time I've run into issues that surface only when a stack is run as > a > > plugin. > > > > Pete > > lcSQL Software > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bvlahos at mac.com Fri Nov 29 13:52:46 2013 From: bvlahos at mac.com (Bill Vlahos) Date: Fri, 29 Nov 2013 10:52:46 -0800 Subject: 6.5 Problem In-Reply-To: References: <5296D266.7070305@hyperactivesw.com> Message-ID: Of course. I?m just thinking this will help troubleshoot the bug. However, I?m surprised that you have the problem with modeless. That would be the most similar to just opening the stack in the IDE which you say works. Good luck. Bill On Nov 29, 2013, at 9:46 AM, Peter Haworth wrote: > Hi Bill, > The plugin is set to load as modeless not a palette. I'll give it a whirl > with different modes but this issue will still be why it suddenly stopped > working in 6.5 when it worked in all proper versions. > > Pete > lcSQL Software From yvescoppe at skynet.be Fri Nov 29 14:40:50 2013 From: yvescoppe at skynet.be (Yves COPPE) Date: Fri, 29 Nov 2013 20:40:50 +0100 Subject: Scroll of a Datagrid Message-ID: Hello, I have a datagrid, table style i?d like in a preopencard script the data grid scrolling at the end of the table How can I script that ? Thanks. Greetings. Yves COPPE yvescoppe at skynet.be From bill at bluewatermaritime.com Fri Nov 29 14:44:45 2013 From: bill at bluewatermaritime.com (william humphrey) Date: Fri, 29 Nov 2013 15:44:45 -0400 Subject: Printing quality in 6.5 In-Reply-To: <9B015D44-085F-4139-8495-18FE2C3E7A1D@iotecdigital.com> References: <52965701.8060502@gmail.com> <52965FE7.2090807@gmail.com> <60B6B9EE-C87E-4330-BFC4-2C8F8A768837@mac.com> <52966C58.4040701@gmail.com> <52967638.9070809@gmail.com> <18BC3A37-E996-486A-A661-3E72C0A7F20F@iotecdigital.com> <5296BCAA.2030102@gmail.com> <9B015D44-085F-4139-8495-18FE2C3E7A1D@iotecdigital.com> Message-ID: I've done some more testing of 6.5 printing of images and found out that "best" quality is fine for looking at your image on the card but that you must use "normal" quality setting to get a print-out or PDF of "best" quality. If you use the setting "best" quality then your print-outs and your PDF's will have an odd blurry quality. It's weird and doesn't make sense and also when you use "normal" quality (which you have to to get the good printing and PDF's) than your cards will have badly rendered images on them. On Thu, Nov 28, 2013 at 12:15 AM, Bob Sneidar wrote: > You wouldn?t be warm to sending me the font for testing purposes if I promise to either buy it or delete it when I?m done? > > Bob > > On Nov 27, 2013, at 19:46 , Marty Knapp > wrote: > > Hey Bob, > The problem only seems to happen in the 6.5 IDE. In the 6.1.3 IDE it's fine. If I use the font in TextEdit it works fine. And it worked in a standalone made with 6.5. Go figure! > > Marty > Sounds like Mavericks is using the bitmap and not the vector. Any chance you have some kind of font ID conflict? > > Bob Sneidar > IT Technician > Integrated Office Technology > bobsneidar at iotecdigital.com > 714-401-2407 > > > > On Nov 27, 2013, at 15:00 , william humphrey > wrote: > > It happens to me only when I import images. > > On Wed, Nov 27, 2013 at 6:46 PM, Marty Knapp > wrote: > For what it's worth, this appears to be related to just this one aftermarket > font. I did try building a standalone in 6.5 and printed from that and it > seems to be fine, so it's this one font in the 6.5 IDE (and any PDFs I > create from there). Works fine everywhere else. How weird is that? We'll see > how it goes. > > Marty > > I just printed to PDF and enlarged it, looked good, printed the PDF not so > good. This was done on Mavericks. So I then transferred the PDF to a Snow > Leopard machine and it prints fine, so it appears to be a Mavericks issue. > The weird thing is that printing from LC 6.1.3 on Mavericks looks good. > > Marty > > Hi Marty, > > Just done a test and found no problems printing text or high res images > on Mac OS X 10.8.5 to Epson R2000, I can't see any difference at all. > > I also printed to PDF and compared enlarged PDFs, still no difference, in > fact at max enlargement in Preview the text is still crisp indicating that > LC printed the text as vector data not pixel data. > > Paul > > > On 2013-11-27, at 1:11 PM, Richmond > wrote: > > On 27.11.2013 22:33, Marty Knapp wrote: > > I just did a quick test print on my Mac of a stack with a couple of > fields with text in them. In LC 6.1.3 the text is nice and crisp but on 6.5 > it's a bit pixelated - definitely lower quality. It looks like it's printing > it as a graphic. Haven't tried it on Windows but this is not good news for > me. Is anybody else seeing this? > > Marty Knapp > > I don't quite understand how that can have happened. > > I thought that 6.1.3 was merged with 6.5.0; maybe not. > > Richmond. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > -- > http://www.bluewatermaritime.com > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > -- > Best regards, > Marty Knapp > Knappster Solutions LLC > --------------------------- > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- http://www.bluewatermaritime.com From gcanyon at gmail.com Fri Nov 29 18:06:01 2013 From: gcanyon at gmail.com (Geoff Canyon) Date: Fri, 29 Nov 2013 17:06:01 -0600 Subject: 6.5 Problem In-Reply-To: References: Message-ID: Shot in the dark here, but have you tried setting the useDeviceResolution of the stack to true on preOpenStack? On Wed, Nov 27, 2013 at 3:49 PM, Peter Haworth wrote: > I have a plugin stack that works fine in LC 6.1.x but when I open it in > 6.5, the height and width of the two fields on it are changed to the extent > that they don't fit within the stack window. > > I don't see any obvious code that could be causing this. Any clues? > > > Pete > lcSQL Software > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From john at onechip.com Fri Nov 29 18:07:29 2013 From: john at onechip.com (John) Date: Fri, 29 Nov 2013 15:07:29 -0800 Subject: Sporadic "answer file ... as sheet" Message-ID: Hi, I submitted an app to the App Store and it was rejected due to a bug. With some patience I managed to recreate it. The app was finished in LC 6.1.3 under OS 10.9. The report from Apple indicated that when a file was being saved an error dialog appeared using OS 10.8.5. The error dialog is one of mine. I tested on a 10.8.5 computer and was unable to reproduce the issue. The technical note Apple referenced (Technical Q&A QA1778: How to reproduce bugs reported against Mac App Store submissions) indicated I should test on a fresh OS install. When I tested on a brand new installation of 10.8.5, answer file with sheet sporadically appears detached from the stack window (there is a slight distortion line above it) and, when it does. I get a bad path hence the error dialog. This happens once every three or so time I try. Has anyone else seen this (if so is there a fix)? Is answer file without sheet known to be reliable? Thanks, John From alex at harryscollar.com Fri Nov 29 19:58:00 2013 From: alex at harryscollar.com (Alex Shaw) Date: Sat, 30 Nov 2013 10:58:00 +1000 Subject: RELEASE LiveCode 6.5 server In-Reply-To: References: Message-ID: <52993818.90501@harryscollar.com> Has the commercial version of LC server 6.5.0 been finalised? Can see the community version is available but when I log into my account only 6.1.0 is offered. I found it at.. http://downloads.livecode.com/livecode/livecode-server/6_5_0/ .. but not sure if it's ready. regards alex From lists at mangomultimedia.com Fri Nov 29 20:03:36 2013 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri, 29 Nov 2013 20:03:36 -0500 Subject: Sporadic "answer file ... as sheet" In-Reply-To: References: Message-ID: On Fri, Nov 29, 2013 at 6:07 PM, John wrote: > I tested on a 10.8.5 computer and was unable to reproduce the issue. > The technical note Apple referenced (Technical Q&A QA1778: How to > reproduce bugs reported against Mac App Store submissions) indicated I > should test on a fresh OS install. When I tested on a brand new > installation of 10.8.5, answer file with sheet sporadically appears > detached from the stack window (there is a slight distortion line above it) > and, when it does. I get a bad path hence the error dialog. This happens > once every three or so time I try. > > Has anyone else seen this (if so is there a fix)? Is answer file > without sheet known to be reliable? > John, System dialogs as sheets and sandboxed file dialogs (as required by MAS) do not work in my tests. Perhaps what you are seeing is related to either of the following two issues. http://quality.runrev.com/show_bug.cgi?id=10477 http://quality.runrev.com/show_bug.cgi?id=10338 I haven't been able to submit updates to my app in the MAS for months. -- Trevor DeVore Blue Mango Learning Systems www.screensteps.com - www.clarify-it.com From pete at lcsql.com Fri Nov 29 20:41:41 2013 From: pete at lcsql.com (Peter Haworth) Date: Fri, 29 Nov 2013 17:41:41 -0800 Subject: 6.5 Problem In-Reply-To: References: Message-ID: Thanks Geoff, I will give that a try. Maybe the new resolution stuff doesn't "just work" in some circumstances. I have submitted a bug report for this and sent the stack to Ben so hopefully RunRev will figure it out. I have this strange feeling that it's happening because of something I'm doing that because of a bug in earlier versions of LC which was fixed in 6.5, we'll see. Pete Pete lcSQL Software On Fri, Nov 29, 2013 at 3:06 PM, Geoff Canyon wrote: > Shot in the dark here, but have you tried setting the useDeviceResolution > of the stack to true on preOpenStack? > > > On Wed, Nov 27, 2013 at 3:49 PM, Peter Haworth wrote: > > > I have a plugin stack that works fine in LC 6.1.x but when I open it in > > 6.5, the height and width of the two fields on it are changed to the > extent > > that they don't fit within the stack window. > > > > I don't see any obvious code that could be causing this. Any clues? > > > > > > Pete > > lcSQL Software > > _______________________________________________ > > use-livecode mailing list > > use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From john at onechip.com Fri Nov 29 21:08:13 2013 From: john at onechip.com (John) Date: Fri, 29 Nov 2013 18:08:13 -0800 Subject: Sporadic "answer file ... as sheet" In-Reply-To: References: Message-ID: Trevor, Thanks for the links. It may be related. Interestingly, Apple didn?t seem to have issue with signing or sandboxing (perhaps the new Mavericks way of signing combined with my use of App Wrapper got me past that). The sporadic behavior where it sometimes appeared as a sheet and other times as a stand alone dialog is perplexing. Even more odd, it always works unless it is a clean OS install. I guess will update, removing the ?as sheet?, variant and hope for the best. Thanks, John On Nov 29, 2013, at 5:03 PM, Trevor DeVore wrote: > On Fri, Nov 29, 2013 at 6:07 PM, John wrote: > >> I tested on a 10.8.5 computer and was unable to reproduce the issue. >> The technical note Apple referenced (Technical Q&A QA1778: How to >> reproduce bugs reported against Mac App Store submissions) indicated I >> should test on a fresh OS install. When I tested on a brand new >> installation of 10.8.5, answer file with sheet sporadically appears >> detached from the stack window (there is a slight distortion line above it) >> and, when it does. I get a bad path hence the error dialog. This happens >> once every three or so time I try. >> >> Has anyone else seen this (if so is there a fix)? Is answer file >> without sheet known to be reliable? >> > > John, > > System dialogs as sheets and sandboxed file dialogs (as required by MAS) do > not work in my tests. Perhaps what you are seeing is related to either of > the following two issues. > > http://quality.runrev.com/show_bug.cgi?id=10477 > > http://quality.runrev.com/show_bug.cgi?id=10338 > > I haven't been able to submit updates to my app in the MAS for months. > > -- > Trevor DeVore > Blue Mango Learning Systems > www.screensteps.com - www.clarify-it.com > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From john at onechip.com Sat Nov 30 01:50:48 2013 From: john at onechip.com (John) Date: Fri, 29 Nov 2013 22:50:48 -0800 Subject: Sporadic "answer file ... as sheet" In-Reply-To: References: Message-ID: <913CB38A-7A57-452F-BD3C-0A4A73742E35@onechip.com> Things are ?sort of? working correctly now. When building under 10.9 and testing under 10.8.5, ask file, with a file name appended to the end of the path passed in, reliably returns a good path. That said, the ?favorites? drop down menu in the dialog that appears has generic document icons rather then the standard ones that appear in other apps. This is much better than what was happening with the ?as sheet? option which presented the correct dialog (with visual artifacts) while returning a bad path (although the drop down icons were randomly correct). Everything looks normal when the app runs under 10.9. I hope this passes muster with Apple. If not I suppose I can move my development to 10.8.5 to see of that helps. Has anyone seen anything similar? Does anyone know if ?ask file? is using ?fake? (liveCode style) dialog boxes or making actual system calls? Thanks, John On Nov 29, 2013, at 6:08 PM, John wrote: > Trevor, > > Thanks for the links. It may be related. Interestingly, Apple didn?t seem to have issue with signing or sandboxing (perhaps the new Mavericks way of signing combined with my use of App Wrapper got me past that). The sporadic behavior where it sometimes appeared as a sheet and other times as a stand alone dialog is perplexing. Even more odd, it always works unless it is a clean OS install. > > I guess will update, removing the ?as sheet?, variant and hope for the best. > > Thanks, > John > > > On Nov 29, 2013, at 5:03 PM, Trevor DeVore wrote: > >> On Fri, Nov 29, 2013 at 6:07 PM, John wrote: >> >>> I tested on a 10.8.5 computer and was unable to reproduce the issue. >>> The technical note Apple referenced (Technical Q&A QA1778: How to >>> reproduce bugs reported against Mac App Store submissions) indicated I >>> should test on a fresh OS install. When I tested on a brand new >>> installation of 10.8.5, answer file with sheet sporadically appears >>> detached from the stack window (there is a slight distortion line above it) >>> and, when it does. I get a bad path hence the error dialog. This happens >>> once every three or so time I try. >>> >>> Has anyone else seen this (if so is there a fix)? Is answer file >>> without sheet known to be reliable? >>> >> >> John, >> >> System dialogs as sheets and sandboxed file dialogs (as required by MAS) do >> not work in my tests. Perhaps what you are seeing is related to either of >> the following two issues. >> >> http://quality.runrev.com/show_bug.cgi?id=10477 >> >> http://quality.runrev.com/show_bug.cgi?id=10338 >> >> I haven't been able to submit updates to my app in the MAS for months. >> >> -- >> Trevor DeVore >> Blue Mango Learning Systems >> www.screensteps.com - www.clarify-it.com >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From john at onechip.com Sat Nov 30 02:34:28 2013 From: john at onechip.com (John) Date: Fri, 29 Nov 2013 23:34:28 -0800 Subject: Signing strangeness (was "Sporadic "answer file ... as sheet") Message-ID: <65C97155-0FA1-42E4-A8B2-0458066DE28F@onechip.com> I found something (that I don?t understand) that others might find helpful. In a previous thread (Sporadic "answer file ... as sheet?) I was describing some very odd behavior that affected the presentation (and function) of the dialog that appears when using ?ask file? if the app was built under 10.9 and tested under 10.8.5. Looking further at the built apps behavior, I noticed some other things that were not quite right. I now use App Wrapper to sign my apps (it takes the hassle out of it). My app, signed by app wrapper, works as expected (that is to say, as it does in the LC IDE) when the app is moved from 10.9 to 10.8.5. Using the LC built, unsigned app, does not. Running both the signed and unsigned apps does not cause the test computer to throw any errors or caution dialogs. The signed and unsigned apps simply work differently. I have no idea why. During beta testing, on a number of different computers, this didn?t seem to be an issue. Thanks, John From andre.bisseret at wanadoo.fr Sat Nov 30 03:18:28 2013 From: andre.bisseret at wanadoo.fr (=?iso-8859-1?Q?Andr=E9_Bisseret?=) Date: Sat, 30 Nov 2013 09:18:28 +0100 Subject: Scroll of a Datagrid In-Reply-To: References: Message-ID: <19DAF1D0-AC41-4E8C-B587-4A212DA26819@wanadoo.fr> Bonjour Yves, I just tried : ----- set the dgVScrollpercent of grp "YourDGName" to 1 -------- (the dgVScrollpercent varies from 0 to 1) seems to do the trick! bon week-end Andr? Le 29 nov. 2013 ? 20:40, Yves COPPE a ?crit : > Hello, > > > I have a datagrid, table style > i?d like in a preopencard script the data grid scrolling at the end of the table > How can I script that ? > > Thanks. > > Greetings. > > Yves COPPE > yvescoppe at skynet.be > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jburtt at earthlink.net Sat Nov 30 04:42:48 2013 From: jburtt at earthlink.net (John) Date: Sat, 30 Nov 2013 01:42:48 -0800 Subject: RELEASE LiveCode 6.5 In-Reply-To: References: Message-ID: On Nov 28, 2013, at 9:53 PM, Richmond wrote: > I would be quite happy if I could get my hands on a version of RR/LC > 2.0.1 for Mac OS 9. > > Richmond. Would a copy of Rev 2.0.3 make you happy? I could send it to you if you like. John From yvescoppe at skynet.be Sat Nov 30 09:45:20 2013 From: yvescoppe at skynet.be (Yves COPPE) Date: Sat, 30 Nov 2013 15:45:20 +0100 Subject: Scroll of a Datagrid In-Reply-To: <19DAF1D0-AC41-4E8C-B587-4A212DA26819@wanadoo.fr> References: <19DAF1D0-AC41-4E8C-B587-4A212DA26819@wanadoo.fr> Message-ID: <36C2FA09-D94E-416A-952B-9449E04B024C@skynet.be> Hello, Works perfectly. Many thanks. Bonjour de Belgique ! Greetings. Yves COPPE yvescoppe at skynet.be Le 30 nov. 2013 ? 09:18, Andr? Bisseret a ?crit : > Bonjour Yves, > > I just tried : > ----- > set the dgVScrollpercent of grp "YourDGName" to 1 > -------- > (the dgVScrollpercent varies from 0 to 1) > > seems to do the trick! > > bon week-end > > Andr? > > Le 29 nov. 2013 ? 20:40, Yves COPPE a ?crit : > >> Hello, >> >> >> I have a datagrid, table style >> i?d like in a preopencard script the data grid scrolling at the end of the table >> How can I script that ? >> >> Thanks. >> >> Greetings. >> >> Yves COPPE >> yvescoppe at skynet.be >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dochawk at gmail.com Sat Nov 30 12:42:52 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 30 Nov 2013 09:42:52 -0800 Subject: Communicating between to standalones with "write to process" Message-ID: I've attached a pair of trivial demo stacks here. They assume that the standalones get compiled to the desktops in folders, and probably need to be changed . . . I even added that they are public domain at the top of the stack scripts . . . Anyway, what they try to do is have "master" open "slave", This much works. It opens for "binary update". "The result" is unchanged, so there is apparently no error (but shouldn't it be set to empty on success? The slave loops every second, watching standard input, and displaying that in it's field. But nothing happens . . . I'm including these as I figure it would be useful to have a file pair that actually works available on, uhm, wherever the sample files are these days. I actually want to turn this back into a single executable, whose behavior depends upon which name it was called under (so the visible slave file would be a link to the master. *really* nice would be for two livecode processes to be able to share a SQLite :memory: database . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From paulhibbert at mac.com Sat Nov 30 13:18:51 2013 From: paulhibbert at mac.com (Paul Hibbert) Date: Sat, 30 Nov 2013 10:18:51 -0800 Subject: Communicating between to standalones with "write to process" In-Reply-To: References: Message-ID: <0B5F1508-307A-43F7-A78C-81BE6044303B@mac.com> Richard, Attachments aren't allowed to the lists! Maybe a Dropbox link or something similar. Paul On 2013-11-30, at 9:42 AM, Dr. Hawkins wrote: > I've attached a pair of trivial demo stacks here. From dochawk at gmail.com Sat Nov 30 14:24:18 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 30 Nov 2013 11:24:18 -0800 Subject: Communicating between to standalones with "write to process" In-Reply-To: <0B5F1508-307A-43F7-A78C-81BE6044303B@mac.com> References: <0B5F1508-307A-43F7-A78C-81BE6044303B@mac.com> Message-ID: On Sat, Nov 30, 2013 at 10:18 AM, Paul Hibbert wrote: > Attachments aren't allowed to the lists! > No, *large* attachments aren't allowed. It's actually that the list limits the message to something like 15k; this is a pair of 3k files. -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From ambassador at fourthworld.com Sat Nov 30 14:35:43 2013 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 30 Nov 2013 11:35:43 -0800 Subject: Communicating between to standalones with "write to process" In-Reply-To: References: Message-ID: <529A3E0F.10806@fourthworld.com> Dr. Hawkins wrote: > On Sat, Nov 30, 2013 at 10:18 AM, Paul Hibbert wrote: > >> Attachments aren't allowed to the lists! > > No, *large* attachments aren't allowed. It's actually that the list limits > the message to something like 15k; this is a pair of 3k files. And yet your attachments didn't make it through, at least not to my (or Paul's) client. I believe Paul's correct: AFAIK this list strips all attachments. There's also a limit on the size of posts, but only the body of a post will ever be sent to subscribers of this list. -- 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 From richmondmathewson at gmail.com Sat Nov 30 15:12:26 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sat, 30 Nov 2013 22:12:26 +0200 Subject: RELEASE LiveCode 6.5 In-Reply-To: References: Message-ID: <529A46AA.80508@gmail.com> Thanks for your kind offer; but, luckily, I have just found a Mac Classic version of 2.0 on a zip disk. Richmond. From yvescoppe at skynet.be Sat Nov 30 15:13:56 2013 From: yvescoppe at skynet.be (Yves COPPE) Date: Sat, 30 Nov 2013 21:13:56 +0100 Subject: chars changed in a fld Message-ID: Hi list, On mac OS mavericks, LC 6.5 I?ve scanned a text in French language with an OCR soft and save it as plain text. I import the text via a script in a fld and get strange result the accentuated chars are replaced by 2 chars in the fld in LC but are good in textEdit (Occidental macOS roman Option) for example : - ? ? ? with ? ?? ? - ? ? ? with ? ?? ? What?s the problem ? Thanks. Greetings. Yves COPPE yvescoppe at skynet.be From monte at sweattechnologies.com Sat Nov 30 15:40:28 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Sun, 1 Dec 2013 07:40:28 +1100 Subject: chars changed in a fld In-Reply-To: References: Message-ID: <9BEE653F-A85F-4EA2-AB50-0D4C65A16735@sweattechnologies.com> On 01/12/2013, at 7:13 AM, Yves COPPE wrote: > What?s the problem ? Sounds to me like it's been saved as UTF8. Try: set the unicodeText of field "whatever" to uniEncode(url ("binfile:"&yourFilePath),"UTF8") or set the text of field "whatever" to uniDecode(uniEncode(url ("binfile:"&yourFilePath),"UTF8"),"ANSI") Cheers -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From yvescoppe at skynet.be Sat Nov 30 16:00:11 2013 From: yvescoppe at skynet.be (Yves COPPE) Date: Sat, 30 Nov 2013 22:00:11 +0100 Subject: chars changed in a fld In-Reply-To: <9BEE653F-A85F-4EA2-AB50-0D4C65A16735@sweattechnologies.com> References: <9BEE653F-A85F-4EA2-AB50-0D4C65A16735@sweattechnologies.com> Message-ID: Hello Monte, Works fine ! thanks ! Greetings. Yves COPPE yvescoppe at skynet.be Le 30 nov. 2013 ? 21:40, Monte Goulding a ?crit : > > On 01/12/2013, at 7:13 AM, Yves COPPE wrote: > >> What?s the problem ? > > Sounds to me like it's been saved as UTF8. Try: > set the unicodeText of field "whatever" to uniEncode(url ("binfile:"&yourFilePath),"UTF8") > > or > > set the text of field "whatever" to uniDecode(uniEncode(url ("binfile:"&yourFilePath),"UTF8"),"ANSI") > > Cheers > > -- > Monte Goulding > > M E R Goulding - software development services > mergExt - There's an external for that! > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at lcsql.com Sat Nov 30 16:05:03 2013 From: pete at lcsql.com (Peter Haworth) Date: Sat, 30 Nov 2013 13:05:03 -0800 Subject: 6.5 Problem In-Reply-To: References: Message-ID: On Fri, Nov 29, 2013 at 3:06 PM, Geoff Canyon wrote: > Shot in the dark here, but have you tried setting the useDeviceResolution > of the stack to true on preOpenStack? > I guess I spoke too soon - I don't see any mention of useDeviceResolution in the 6.5 dictionary. Doesn't mean it doesn't exist of course but maybe that's not the right name? Pete lcSQL Software From coiin at verizon.net Sat Nov 30 16:10:43 2013 From: coiin at verizon.net (Colin Holgate) Date: Sat, 30 Nov 2013 16:10:43 -0500 Subject: 6.5 Problem In-Reply-To: References: Message-ID: <32E4CF0B-7DE2-4F30-AD85-7725EB16D4EB@verizon.net> Not right name. It?s iphoneUseDeviceResolution, If you had typed in ?usedev? it would have shown up. It probably should be called mobileUseDeviceResolution. On Nov 30, 2013, at 4:05 PM, Peter Haworth wrote: > >I guess I spoke too soon - I don't see any mention of useDeviceResolution > in the 6.5 dictionary. Doesn't mean it doesn't exist of course but maybe > that's not the right name? From yvescoppe at skynet.be Sat Nov 30 16:11:10 2013 From: yvescoppe at skynet.be (Yves COPPE) Date: Sat, 30 Nov 2013 22:11:10 +0100 Subject: chars changed in a fld In-Reply-To: References: <9BEE653F-A85F-4EA2-AB50-0D4C65A16735@sweattechnologies.com> Message-ID: Hello, Another question about the same subject when you import a text with : put url (? File: ?..) is it possible to know if the text is plain text or UTF8 encoded ? Thanks. Greetings. Yves COPPE yvescoppe at skynet.be Le 30 nov. 2013 ? 22:00, Yves COPPE a ?crit : > Hello Monte, > > Works fine ! > thanks ! > > Greetings. > > Yves COPPE > yvescoppe at skynet.be > > Le 30 nov. 2013 ? 21:40, Monte Goulding a ?crit : > >> >> On 01/12/2013, at 7:13 AM, Yves COPPE wrote: >> >>> What?s the problem ? >> >> Sounds to me like it's been saved as UTF8. Try: >> set the unicodeText of field "whatever" to uniEncode(url ("binfile:"&yourFilePath),"UTF8") >> >> or >> >> set the text of field "whatever" to uniDecode(uniEncode(url ("binfile:"&yourFilePath),"UTF8"),"ANSI") >> >> Cheers >> >> -- >> Monte Goulding >> >> M E R Goulding - software development services >> mergExt - There's an external for that! >> >> >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From monte at sweattechnologies.com Sat Nov 30 16:12:38 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Sun, 1 Dec 2013 08:12:38 +1100 Subject: 6.5 Problem In-Reply-To: <32E4CF0B-7DE2-4F30-AD85-7725EB16D4EB@verizon.net> References: <32E4CF0B-7DE2-4F30-AD85-7725EB16D4EB@verizon.net> Message-ID: <13768452-AC1D-4CD9-9690-D707DCBA9B08@sweattechnologies.com> On 01/12/2013, at 8:10 AM, Colin Holgate wrote: > It probably should be called mobileUseDeviceResolution. It's iOS only at the moment as far as I know. -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From coiin at verizon.net Sat Nov 30 16:16:03 2013 From: coiin at verizon.net (Colin Holgate) Date: Sat, 30 Nov 2013 16:16:03 -0500 Subject: 6.5 Problem In-Reply-To: <13768452-AC1D-4CD9-9690-D707DCBA9B08@sweattechnologies.com> References: <32E4CF0B-7DE2-4F30-AD85-7725EB16D4EB@verizon.net> <13768452-AC1D-4CD9-9690-D707DCBA9B08@sweattechnologies.com> Message-ID: That?s strange, given that the multiple density features are Android too, On Nov 30, 2013, at 4:12 PM, Monte Goulding wrote: >> It probably should be called mobileUseDeviceResolution. > > It's iOS only at the moment as far as I know. From monte at sweattechnologies.com Sat Nov 30 16:35:20 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Sun, 1 Dec 2013 08:35:20 +1100 Subject: chars changed in a fld In-Reply-To: References: <9BEE653F-A85F-4EA2-AB50-0D4C65A16735@sweattechnologies.com> Message-ID: <908F11A6-4DC3-42D1-A559-17036048F0B4@sweattechnologies.com> On 01/12/2013, at 8:11 AM, Yves COPPE wrote: > Another question about the same subject > when you import a text with : put url (? File: ?..) > is it possible to know if the text is plain text or UTF8 encoded ? See the answer to this question here: http://stackoverflow.com/questions/4520184/how-to-detect-the-character-encoding-of-a-text-file There's some info on invalid byte sequences for UTF8 here: http://en.wikipedia.org/wiki/UTF-8#Invalid_byte_sequences Hopefully we won't need to worry about this stuff much in LC 7+ which I believe will have encoding detection built in. Cheers -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From monte at sweattechnologies.com Sat Nov 30 16:37:07 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Sun, 1 Dec 2013 08:37:07 +1100 Subject: 6.5 Problem In-Reply-To: References: <32E4CF0B-7DE2-4F30-AD85-7725EB16D4EB@verizon.net> <13768452-AC1D-4CD9-9690-D707DCBA9B08@sweattechnologies.com> Message-ID: <5EFF16C4-CFCB-4DBB-8D25-8256D2F683C8@sweattechnologies.com> On 01/12/2013, at 8:16 AM, Colin Holgate wrote: > That?s strange, given that the multiple density features are Android too I think they are planned for OS X and Windows too but at the moment I don't think the ability to use the full device res is implemented on any other platform. Perhaps it will show up in 6.6? -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From roger.e.eller at sealedair.com Sat Nov 30 16:39:56 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Sat, 30 Nov 2013 16:39:56 -0500 Subject: 6.5 Problem In-Reply-To: References: <32E4CF0B-7DE2-4F30-AD85-7725EB16D4EB@verizon.net> <13768452-AC1D-4CD9-9690-D707DCBA9B08@sweattechnologies.com> Message-ID: I agree. In fact, I have brought it up before, and even at the RunRevLIVE conference. All of the iphoneThisAndThat names were selected before Android was a real consideration. For the record, someone who's name rhymes with Waddingham wanted to use a more generic naming convention, but was over-ruled. ~Roger On Nov 30, 2013 4:16 PM, "Colin Holgate" wrote: > That?s strange, given that the multiple density features are Android too, > > > On Nov 30, 2013, at 4:12 PM, Monte Goulding > wrote: > > >> It probably should be called mobileUseDeviceResolution. > > > > It's iOS only at the moment as far as I know. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From roger.e.eller at sealedair.com Sat Nov 30 16:46:29 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Sat, 30 Nov 2013 16:46:29 -0500 Subject: RELEASE LiveCode 6.5 In-Reply-To: <529A46AA.80508@gmail.com> References: <529A46AA.80508@gmail.com> Message-ID: On a zip disk!? Richmond, you must truly live on the island of misfit toys. ;-D ~Roger On Nov 30, 2013 3:12 PM, "Richmond" wrote: > Thanks for your kind offer; but, luckily, I have just found a Mac Classic > version of 2.0 on a zip disk. > > Richmond. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From dochawk at gmail.com Sat Nov 30 16:52:54 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 30 Nov 2013 13:52:54 -0800 Subject: Communicating between to standalones with "write to process" In-Reply-To: <529A3E0F.10806@fourthworld.com> References: <529A3E0F.10806@fourthworld.com> Message-ID: On Sat, Nov 30, 2013 at 11:35 AM, Richard Gaskin wrote: > And yet your attachments didn't make it through, at least not to my (or > Paul's) client. > > I believe Paul's correct: AFAIK this list strips all attachments. > Hmm, looks like I'm getting artifacts from what I've sent and direct replies to me . . . I'll send more links -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From paulhibbert at mac.com Sat Nov 30 16:54:24 2013 From: paulhibbert at mac.com (Paul Hibbert) Date: Sat, 30 Nov 2013 13:54:24 -0800 Subject: 6.5 Problem In-Reply-To: References: <32E4CF0B-7DE2-4F30-AD85-7725EB16D4EB@verizon.net> <13768452-AC1D-4CD9-9690-D707DCBA9B08@sweattechnologies.com> Message-ID: Both the latest newsletter and a new 6.5.0 lesson quote "useDeviceResolution", so it seems something is out of sync. useDeviceResolution fails on LC6.5.0 with iPhone iOS 7 and OS X so it doesn't appear to be lurking under the hood. iphoneUseDeviceResolution works as expected on iOS. Links: Newsletter: http://newsletters.livecode.com/november/issue162/newsletter4.html Lesson: http://lessons.runrev.com/s/lessons/m/15262/l/156530-how-do-i-support-different-device-screen-densities Paul On 2013-11-30, at 1:39 PM, Roger Eller wrote: > I agree. In fact, I have brought it up before, and even at the RunRevLIVE > conference. All of the iphoneThisAndThat names were selected before > Android was a real consideration. For the record, someone who's name > rhymes with Waddingham wanted to use a more generic naming convention, > but was over-ruled. > > ~Roger > On Nov 30, 2013 4:16 PM, "Colin Holgate" wrote: > >> That?s strange, given that the multiple density features are Android too, >> >> >> On Nov 30, 2013, at 4:12 PM, Monte Goulding >> wrote: >> >>>> It probably should be called mobileUseDeviceResolution. >>> >>> It's iOS only at the moment as far as I know. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dochawk at gmail.com Sat Nov 30 16:58:06 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 30 Nov 2013 13:58:06 -0800 Subject: master/slave stack links Message-ID: Here are the links, with the original message following http://dochawkbk.com/lcImages/master.livecode http://dochawkbk.com/lcImages/slave.livecode I've attached a pair of trivial demo stacks here. They assume that the standalones get compiled to the desktops in folders, and probably need to be changed . . . I even added that they are public domain at the top of the stack scripts . . . Anyway, what they try to do is have "master" open "slave", This much works. It opens for "binary update". "The result" is unchanged, so there is apparently no error (but shouldn't it be set to empty on success? The slave loops every second, watching standard input, and displaying that in it's field. But nothing happens . . . I'm including these as I figure it would be useful to have a file pair that actually works available on, uhm, wherever the sample files are these days. I actually want to turn this back into a single executable, whose behavior depends upon which name it was called under (so the visible slave file would be a link to the master. *really* nice would be for two livecode processes to be able to share a SQLite :memory: database . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From monte at sweattechnologies.com Sat Nov 30 17:00:05 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Sun, 1 Dec 2013 09:00:05 +1100 Subject: 6.5 Problem In-Reply-To: References: <32E4CF0B-7DE2-4F30-AD85-7725EB16D4EB@verizon.net> <13768452-AC1D-4CD9-9690-D707DCBA9B08@sweattechnologies.com> Message-ID: <942B1FAF-701B-451E-A192-7BFC151B0A00@sweattechnologies.com> On 01/12/2013, at 8:54 AM, Paul Hibbert wrote: > Both the latest newsletter and a new 6.5.0 lesson quote "useDeviceResolution", so it seems something is out of sync. Ah... maybe I missed something... there's one spot where it's called the deviceResolution property too... Cheers -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From roger.e.eller at sealedair.com Sat Nov 30 17:00:17 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Sat, 30 Nov 2013 17:00:17 -0500 Subject: 6.5 Problem In-Reply-To: References: <32E4CF0B-7DE2-4F30-AD85-7725EB16D4EB@verizon.net> <13768452-AC1D-4CD9-9690-D707DCBA9B08@sweattechnologies.com> Message-ID: I think those are good indicators that a more general term is coming to a future version. On Nov 30, 2013 4:54 PM, "Paul Hibbert" wrote: > Both the latest newsletter and a new 6.5.0 lesson quote > "useDeviceResolution", so it seems something is out of sync. > > useDeviceResolution fails on LC6.5.0 with iPhone iOS 7 and OS X so it > doesn't appear to be lurking under the hood. iphoneUseDeviceResolution > works as expected on iOS. > > Links: > Newsletter: > http://newsletters.livecode.com/november/issue162/newsletter4.html > Lesson: > http://lessons.runrev.com/s/lessons/m/15262/l/156530-how-do-i-support-different-device-screen-densities > > Paul > > > On 2013-11-30, at 1:39 PM, Roger Eller > wrote: > > > I agree. In fact, I have brought it up before, and even at the > RunRevLIVE > > conference. All of the iphoneThisAndThat names were selected before > > Android was a real consideration. For the record, someone who's name > > rhymes with Waddingham wanted to use a more generic naming > convention, > > but was over-ruled. > > > > ~Roger > > On Nov 30, 2013 4:16 PM, "Colin Holgate" wrote: > > > >> That?s strange, given that the multiple density features are Android > too, > >> > >> > >> On Nov 30, 2013, at 4:12 PM, Monte Goulding < > monte at sweattechnologies.com> > >> wrote: > >> > >>>> It probably should be called mobileUseDeviceResolution. > >>> > >>> It's iOS only at the moment as far as I know. > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode at 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 at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From yvescoppe at skynet.be Sat Nov 30 17:02:19 2013 From: yvescoppe at skynet.be (Yves COPPE) Date: Sat, 30 Nov 2013 23:02:19 +0100 Subject: chars changed in a fld In-Reply-To: <908F11A6-4DC3-42D1-A559-17036048F0B4@sweattechnologies.com> References: <9BEE653F-A85F-4EA2-AB50-0D4C65A16735@sweattechnologies.com> <908F11A6-4DC3-42D1-A559-17036048F0B4@sweattechnologies.com> Message-ID: <51FB0612-B80C-411C-AB31-FB394D80CD2C@skynet.be> Hello, I mean with a LiveCode script! The link you post is another computer language ?;I don?t understand this language I hope LC 7 will help me if you can?t ? Thanks. Greetings. Yves COPPE yvescoppe at skynet.be Le 30 nov. 2013 ? 22:35, Monte Goulding a ?crit : > > On 01/12/2013, at 8:11 AM, Yves COPPE wrote: > >> Another question about the same subject >> when you import a text with : put url (? File: ?..) >> is it possible to know if the text is plain text or UTF8 encoded ? > > See the answer to this question here: > http://stackoverflow.com/questions/4520184/how-to-detect-the-character-encoding-of-a-text-file > > There's some info on invalid byte sequences for UTF8 here: > http://en.wikipedia.org/wiki/UTF-8#Invalid_byte_sequences > > Hopefully we won't need to worry about this stuff much in LC 7+ which I believe will have encoding detection built in. > > Cheers > > -- > Monte Goulding > > M E R Goulding - software development services > mergExt - There's an external for that! > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dochawk at gmail.com Sat Nov 30 17:02:38 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 30 Nov 2013 14:02:38 -0800 Subject: field properties changing when group copied Message-ID: I think I've hit this before . . . The new federal bankruptcy forms, with which I am stuck, have very small lines at points . . . I think this bit me before in another context. The original card looks like: http://dochawkbk.com/lcImages/screen_shot.pre_copy.png But after I copy it, the margins and text size get changed: http://dochawkbk.com/lcImages/screen_shot.copied.png (the blue text in the second one has been set by my program, from pure ascii pulled from a db) Do I need to choose between the evils of oversized fields and looping around *every* field on *every* copy to use its customProperties to set it's properties, or is there a sane solution available? -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From richmondmathewson at gmail.com Sat Nov 30 17:17:21 2013 From: richmondmathewson at gmail.com (Richmond) Date: Sun, 01 Dec 2013 00:17:21 +0200 Subject: RELEASE LiveCode 6.5 In-Reply-To: References: <529A46AA.80508@gmail.com> Message-ID: <529A63F1.50503@gmail.com> On 30.11.2013 23:46, Roger Eller wrote: > On a zip disk!? Richmond, you must truly live on the island of misfit > toys. ;-D Quite possibly :) Come to Bulgaria one day, breath in slowly, have a good look around you, chant "misfit toys" to yourself several times, and then . . . But, I digress. ----------------------------- When I lived and worked in the UAE I needed something to back up work I was doing on my Performa 5270CD and my G3 Beige box, and the ONLY thing that was available in the one Apple shop in the country (in Dubai; a 2 hour drive from Al Ain) was a SCSI IOmega zip drive. I still have that zip drive and 20 zip disks with all the stuff I backed up in Al Ain. I connected it via a SCSI PCI card to my Linux box, and then transferred the file via a Flash drive to my G3 iMac running Mac OS 9. I also found a back up of about 2 years' worth of academic work my wife thought she had lost 12 years ago; so a very good thing I hung onto the thing and the disks. ---------------------------- I don't know why there seems to be so much flack about IOmega Zip; I have worked with ZIP disks, and used them to restore various "old but gold" Apple computers for financially strapped pensioners with absolutely no problems at all for about 15 years. At one time, in the UAE, I used an IOmega JAZ drive and disks to cart work back and forth between home and work. The only unfunny thing was that I had to work with Toolbook, which is not nearly as good as Livecode. Richmond. > > ~Roger > On Nov 30, 2013 3:12 PM, "Richmond" wrote: > >> Thanks for your kind offer; but, luckily, I have just found a Mac Classic >> version of 2.0 on a zip disk. >> >> Richmond. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From gcanyon at gmail.com Sat Nov 30 17:21:13 2013 From: gcanyon at gmail.com (Geoff Canyon) Date: Sat, 30 Nov 2013 16:21:13 -0600 Subject: 6.5 Problem In-Reply-To: References: <32E4CF0B-7DE2-4F30-AD85-7725EB16D4EB@verizon.net> <13768452-AC1D-4CD9-9690-D707DCBA9B08@sweattechnologies.com> Message-ID: On Sat, Nov 30, 2013 at 3:54 PM, Paul Hibbert wrote: > Both the latest newsletter and a new 6.5.0 lesson quote > "useDeviceResolution", so it seems something is out of sync. > Yeah, that's where I got it from. I'm not crazy! From monte at sweattechnologies.com Sat Nov 30 17:52:42 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Sun, 1 Dec 2013 09:52:42 +1100 Subject: chars changed in a fld In-Reply-To: <51FB0612-B80C-411C-AB31-FB394D80CD2C@skynet.be> References: <9BEE653F-A85F-4EA2-AB50-0D4C65A16735@sweattechnologies.com> <908F11A6-4DC3-42D1-A559-17036048F0B4@sweattechnologies.com> <51FB0612-B80C-411C-AB31-FB394D80CD2C@skynet.be> Message-ID: <91F1C331-8094-4337-B24D-65A0B0B7C40D@sweattechnologies.com> On 01/12/2013, at 9:02 AM, Yves COPPE wrote: > I mean with a LiveCode script! > The link you post is another computer language ?;I don?t understand this language > I hope LC 7 will help me if you can?t ? What the answer on SO says is it's quite reliable (particularly if your string is long) to just check the validity of the UTF8. That's why I posted the wikipedia article which discusses invalid byte sequences in UTF8. So... without reading too deeply into it and while coding in an email client: function ValidUTF8 pString repeat with tCharNum = 192 to 193 if numToChar(tCharNum) is in pString then return false end repeat repeat with tCharNum = 245 to 255 if numToChar(tCharNum) is in pString then return false end repeat return true end ValidUTF8 Now... just because it's valid UTF8 doesn't mean it's definitely UTF8 however some editors will encode the unicode byte order mark before it and given these days UTF8 is relatively likely you might do something like this: function IsUTF8 pString -- check for byte order mark if char 1 to 3 of pString is numToChar(239)&numToChar(187)&numToChar(191) or pString is an ascii string then return true else -- here we are having an educated guess that it's UTF8 return ValidUTF8() end if end IsUTF8 It all gets more complicated though if your file could be UTF16 or UTF32 or even modified UTF8 or some other thing... lots of options and I'm not sure how smart the engine will be about this just yet... there's libraries for this stuff so maybe they will incorporate an appropriately licensed one: https://code.google.com/p/uchardet/ Cheers -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From yvescoppe at skynet.be Sat Nov 30 18:01:45 2013 From: yvescoppe at skynet.be (Yves COPPE) Date: Sun, 1 Dec 2013 00:01:45 +0100 Subject: chars changed in a fld In-Reply-To: <91F1C331-8094-4337-B24D-65A0B0B7C40D@sweattechnologies.com> References: <9BEE653F-A85F-4EA2-AB50-0D4C65A16735@sweattechnologies.com> <908F11A6-4DC3-42D1-A559-17036048F0B4@sweattechnologies.com> <51FB0612-B80C-411C-AB31-FB394D80CD2C@skynet.be> <91F1C331-8094-4337-B24D-65A0B0B7C40D@sweattechnologies.com> Message-ID: <4A675FD7-E3C4-4849-B1A2-036FB80DFE01@skynet.be> Hello, Waouw ! looks great and ? seems to work. I?ll make some tests more deeply with this script (tomorrow!). Much thanks. Greetigns. Yves COPPE yvescoppe at skynet.be Le 30 nov. 2013 ? 23:52, Monte Goulding a ?crit : > > On 01/12/2013, at 9:02 AM, Yves COPPE wrote: > >> I mean with a LiveCode script! >> The link you post is another computer language ?;I don?t understand this language >> I hope LC 7 will help me if you can?t ? > > What the answer on SO says is it's quite reliable (particularly if your string is long) to just check the validity of the UTF8. That's why I posted the wikipedia article which discusses invalid byte sequences in UTF8. So... without reading too deeply into it and while coding in an email client: > > function ValidUTF8 pString > repeat with tCharNum = 192 to 193 > if numToChar(tCharNum) is in pString then return false > end repeat > repeat with tCharNum = 245 to 255 > if numToChar(tCharNum) is in pString then return false > end repeat > return true > end ValidUTF8 > > Now... just because it's valid UTF8 doesn't mean it's definitely UTF8 however some editors will encode the unicode byte order mark before it and given these days UTF8 is relatively likely you might do something like this: > > function IsUTF8 pString > -- check for byte order mark > if char 1 to 3 of pString is numToChar(239)&numToChar(187)&numToChar(191) or pString is an ascii string then > return true > else > -- here we are having an educated guess that it's UTF8 > return ValidUTF8() > end if > end IsUTF8 > > It all gets more complicated though if your file could be UTF16 or UTF32 or even modified UTF8 or some other thing... lots of options and I'm not sure how smart the engine will be about this just yet... there's libraries for this stuff so maybe they will incorporate an appropriately licensed one: https://code.google.com/p/uchardet/ > > Cheers > > -- > Monte Goulding > > M E R Goulding - software development services > mergExt - There's an external for that! > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at lcsql.com Sat Nov 30 18:27:16 2013 From: pete at lcsql.com (Peter Haworth) Date: Sat, 30 Nov 2013 15:27:16 -0800 Subject: 6.5 Problem In-Reply-To: References: <32E4CF0B-7DE2-4F30-AD85-7725EB16D4EB@verizon.net> <13768452-AC1D-4CD9-9690-D707DCBA9B08@sweattechnologies.com> Message-ID: A rose by any other name I guess. Since my problem is on OSX, it won't help anyway. Pete lcSQL Software On Nov 30, 2013 2:21 PM, "Geoff Canyon" wrote: > On Sat, Nov 30, 2013 at 3:54 PM, Paul Hibbert wrote: > > > Both the latest newsletter and a new 6.5.0 lesson quote > > "useDeviceResolution", so it seems something is out of sync. > > > > Yeah, that's where I got it from. I'm not crazy! > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From alex at tweedly.net Sat Nov 30 19:56:31 2013 From: alex at tweedly.net (Alex Tweedly) Date: Sun, 01 Dec 2013 00:56:31 +0000 Subject: master/slave stack links In-Reply-To: References: Message-ID: <529A893F.5050306@tweedly.net> I get an error Forbidden You don't have permission to access /lcImages/slave.livecode on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. trying to download them -- Alex. On 30/11/2013 21:58, Dr. Hawkins wrote: > Here are the links, with the original message following > > http://dochawkbk.com/lcImages/master.livecode > http://dochawkbk.com/lcImages/slave.livecode > > > > I've attached a pair of trivial demo stacks here. > > They assume that the standalones get compiled to the desktops in folders, > and probably need to be changed . . . I even added that they > are public domain at the top of the stack scripts . . . > > Anyway, what they try to do is have "master" open "slave", This much works. > It opens for "binary update". "The result" is unchanged, so there is > apparently no error (but shouldn't it be set to empty on success? > > The slave loops every second, watching standard input, and displaying that > in it's field. > > But nothing happens . . . > > I'm including these as I figure it would be useful to have a file pair that > actually works available on, uhm, wherever the sample files are these days. > > I actually want to turn this back into a single executable, whose behavior > depends upon which name it was called under (so the visible slave file > would be a link to the master. > > *really* nice would be for two livecode processes to be able to share a > SQLite :memory: database . . . > From mwieder at ahsoftware.net Sat Nov 30 20:03:43 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 30 Nov 2013 17:03:43 -0800 Subject: Copy Message-ID: <421058105292.20131130170343@ahsoftware.net> Interesting new service I'm trying out. It's like Dropbox, but it starts you out with 20GB if you follow this link (and cross-platform: Mac, Windows, linux, mobile): https://copy.com?r=nOZ6xX -- -Mark Wieder ahsoftware at gmail.com From mwieder at ahsoftware.net Sat Nov 30 20:13:29 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 30 Nov 2013 17:13:29 -0800 Subject: master/slave stack links In-Reply-To: <529A893F.5050306@tweedly.net> References: <529A893F.5050306@tweedly.net> Message-ID: <1841058690692.20131130171329@ahsoftware.net> Alex- Saturday, November 30, 2013, 4:56:31 PM, you wrote: > I get an error > Forbidden > You don't have permission to access /lcImages/slave.livecode on this server. > Additionally, a 404 Not Found error was encountered while trying to use > an ErrorDocument to handle the request. Yeah. I'm not quite sure what's going on there, but if you try the parent directory you can get the listing and download the files from there. -- -Mark Wieder ahsoftware at gmail.com From mwieder at ahsoftware.net Sat Nov 30 20:15:33 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 30 Nov 2013 17:15:33 -0800 Subject: master/slave stack links In-Reply-To: <529A893F.5050306@tweedly.net> References: <529A893F.5050306@tweedly.net> Message-ID: <781058814860.20131130171533@ahsoftware.net> I spoke too soon. It's a permissions problem. -- -Mark Wieder ahsoftware at gmail.com From roger.e.eller at sealedair.com Sat Nov 30 20:32:08 2013 From: roger.e.eller at sealedair.com (Roger Eller) Date: Sat, 30 Nov 2013 20:32:08 -0500 Subject: Copy In-Reply-To: <421058105292.20131130170343@ahsoftware.net> References: <421058105292.20131130170343@ahsoftware.net> Message-ID: That sounds very interesting. 20GB is enticing, BUT... After all the NSA hoopla, a lot of folks are considering bringing their data back in-house. I have heard good things about ownCloud. It is a complete open-source cloud server, and includes clients for popular desktops, as well as mobile devices. https://owncloud.com/download ~Roger On Sat, Nov 30, 2013 at 8:03 PM, Mark Wieder wrote: > Interesting new service I'm trying out. It's like Dropbox, but it > starts you out with 20GB if you follow this link (and cross-platform: > Mac, Windows, linux, mobile): > > https://copy.com?r=nOZ6xX > > -- > -Mark Wieder > ahsoftware at gmail.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mwieder at ahsoftware.net Sat Nov 30 21:27:58 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 30 Nov 2013 18:27:58 -0800 Subject: Copy In-Reply-To: References: <421058105292.20131130170343@ahsoftware.net> Message-ID: <471063159621.20131130182758@ahsoftware.net> Roger- Saturday, November 30, 2013, 5:32:08 PM, you wrote: > That sounds very interesting. 20GB is enticing, BUT... After all the NSA > hoopla, a lot of folks are considering bringing their data back in-house. Yes, it's a good point, but Copy is using 256-bit AES encryption, which is about as good as you're going to get in the cloud. And they've got an innovative approach to sharing storage: if a folder is shared among three people, they are each apportioned one third of the storage limit, so teams aren't paying for storage more than once. As I understand it, if you have a 20GB limit and you put 10GB in your shared folder, and so do two other people you've shared it with, there are now 30GB in that folder but you're still within your storage allocation limit. -- -Mark Wieder ahsoftware at gmail.com From dochawk at gmail.com Sat Nov 30 22:17:24 2013 From: dochawk at gmail.com (Dr. Hawkins) Date: Sat, 30 Nov 2013 19:17:24 -0800 Subject: master/slave stack links In-Reply-To: References: Message-ID: I've fixed it. Kind of odd: I scp'd 4 files in one transaction, and two ended up like this . . . On Sat, Nov 30, 2013 at 1:58 PM, Dr. Hawkins wrote: > Here are the links, with the original message following > > http://dochawkbk.com/lcImages/master.livecode > http://dochawkbk.com/lcImages/slave.livecode > > > > I've attached a pair of trivial demo stacks here. > > They assume that the standalones get compiled to the desktops in folders, > and probably need to be changed . . . I even added that they > are public domain at the top of the stack scripts . . . > > Anyway, what they try to do is have "master" open "slave", This much > works. > It opens for "binary update". "The result" is unchanged, so there is > apparently no error (but shouldn't it be set to empty on success? > > The slave loops every second, watching standard input, and displaying that > in it's field. > > But nothing happens . . . > > I'm including these as I figure it would be useful to have a file pair > that actually works available on, uhm, wherever the sample files are these > days. > > I actually want to turn this back into a single executable, whose behavior > depends upon which name it was called under (so the visible slave file > would be a link to the master. > > *really* nice would be for two livecode processes to be able to share a > SQLite :memory: database . . . > > -- > Dr. Richard E. Hawkins, Esq. > (702) 508-8462 > -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 From stephenREVOLUTION2 at barncard.com Sat Nov 30 22:54:20 2013 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sat, 30 Nov 2013 19:54:20 -0800 Subject: Copy In-Reply-To: <471063159621.20131130182758@ahsoftware.net> References: <421058105292.20131130170343@ahsoftware.net> <471063159621.20131130182758@ahsoftware.net> Message-ID: Yes, I recently dropped Dropbox's now overpriced yearly 100g plan and started to look for other ways to share big files. Copy is great but there is no client for any Mac OS less than Lion. another way might be peer to peer with OSS BitTorrent Sync. Encrypted, supported and free. http://www.bittorrent.com/sync say what you will about what bittorrent has been used for, it's still a useful protocol. *--* *Stephen Barncard - San Francisco Ca. USA - Deeds Not Words* On Sat, Nov 30, 2013 at 6:27 PM, Mark Wieder wrote: > Roger- > > Saturday, November 30, 2013, 5:32:08 PM, you wrote: > > > That sounds very interesting. 20GB is enticing, BUT... After all the > NSA > > hoopla, a lot of folks are considering bringing their data back in-house. > > Yes, it's a good point, but Copy is using 256-bit AES encryption, > which is about as good as you're going to get in the cloud. And > they've got an innovative approach to sharing storage: if a folder is > shared among three people, they are each apportioned one third of the > storage limit, so teams aren't paying for storage more than once. As I > understand it, if you have a 20GB limit and you put 10GB in your > shared folder, and so do two other people you've shared it with, there > are now 30GB in that folder but you're still within your storage > allocation limit. > > -- > -Mark Wieder > ahsoftware at gmail.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From mwieder at ahsoftware.net Sat Nov 30 23:04:43 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 30 Nov 2013 20:04:43 -0800 Subject: master/slave stack links In-Reply-To: References: Message-ID: <1721068965094.20131130200443@ahsoftware.net> > I've fixed it. > Kind of odd: I scp'd 4 files in one transaction, and two ended up like > this . . . Email sent. -- -Mark Wieder ahsoftware at gmail.com From mwieder at ahsoftware.net Sat Nov 30 23:08:02 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 30 Nov 2013 20:08:02 -0800 Subject: master/slave stack links In-Reply-To: References: Message-ID: <1601069163550.20131130200802@ahsoftware.net> Richard- Saturday, November 30, 2013, 7:17:24 PM, you wrote: >> The slave loops every second, watching standard input, and displaying that >> in it's field. >> >> But nothing happens . . . Actually, the slave is stuck on the read line. I changed "read until end" to "read until cr"... I'm not really clear on what "end" means. -- -Mark Wieder ahsoftware at gmail.com From monte at sweattechnologies.com Sat Nov 30 23:11:26 2013 From: monte at sweattechnologies.com (Monte Goulding) Date: Sun, 1 Dec 2013 15:11:26 +1100 Subject: Copy In-Reply-To: <421058105292.20131130170343@ahsoftware.net> References: <421058105292.20131130170343@ahsoftware.net> Message-ID: <5E555BFD-DB61-4D7F-A7DE-5F713CC6E24F@sweattechnologies.com> On 01/12/2013, at 12:03 PM, Mark Wieder wrote: > Interesting new service I'm trying out. It's like Dropbox, but it > starts you out with 20GB if you follow this link (and cross-platform: > Mac, Windows, linux, mobile): How did you go with SparkleShare? Being able to get any version of a file seemed pretty cool. Combined with BitBucket private repos it's not far of unlimited free private storage... although I'm sure their TOS would kick in at some point... Cheers -- Monte Goulding M E R Goulding - software development services mergExt - There's an external for that! From mwieder at ahsoftware.net Sat Nov 30 23:22:53 2013 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 30 Nov 2013 20:22:53 -0800 Subject: Copy In-Reply-To: <5E555BFD-DB61-4D7F-A7DE-5F713CC6E24F@sweattechnologies.com> References: <421058105292.20131130170343@ahsoftware.net> <5E555BFD-DB61-4D7F-A7DE-5F713CC6E24F@sweattechnologies.com> Message-ID: <1731070054886.20131130202253@ahsoftware.net> Monte- Saturday, November 30, 2013, 8:11:26 PM, you wrote: > How did you go with SparkleShare? Being able to get any version > of a file seemed pretty cool. Combined with BitBucket private repos > it's not far of unlimited free private storage... although I'm sure > their TOS would kick in at some point... SparkleShare uses git, so it's great at some things and not at others. It saves file history forever, so your storage allocation keeps growing and you can never trim it. -- -Mark Wieder ahsoftware at gmail.com From chipp at altuit.com Sat Nov 30 23:36:32 2013 From: chipp at altuit.com (Chipp Walters) Date: Sat, 30 Nov 2013 22:36:32 -0600 Subject: Possible to change the iOS status bar color? Message-ID: In iOS 7, the status bar can be a custom color. Is it possible to set this in LC?