From admin at mfelkerco.com Mon Aug 1 00:16:02 2011 From: admin at mfelkerco.com (Admin) Date: Sun, 31 Jul 2011 23:16:02 -0500 Subject: How do I remove part of a =?UTF-8?Q?path=3F?= In-Reply-To: References: <1312167065.60222.YahooMailClassic@web161617.mail.bf1.yahoo.com> Message-ID: <633b85e9eff084059bbbf042168a2c5b@mfelkerco.com> Guys. THANK YOU!!! From the bottom of my heart, Thank You. You guys saved my tushy tonight. My app works 100% now thanks to all of your help. Mike On Sun, 31 Jul 2011 20:45:24 -0700, Pete wrote: > Yeah, messed up the syntax, but you get the idea! > Pete > Molly's Revenge > > On Sun, Jul 31, 2011 at 7:51 PM, Michael Kann wrote: > >> Pete, One little improvement is needed: replace item 4 of with empty in When I change the itemDelimiter to something exotic I almost always forget to change it back then wonder why those items don't obey. If you are going to change the itemDelimiter you might try something like: put the itemDel into old_delimiter set the itemDel to "/" -- gather some items set the itemDel to old_delimiter Mike --- On Sun, 7/31/11, Pete wrote: From: Pete Subject: Re: How do I remove part of a path? To: "How to use LiveCode" Date: Sunday, July 31, 2011, 9:36 PM replace "/public.html" with empty in . That's assuming it's always the same string you want to get rid of. Alternatively: set the itemdelimiter to "/" replace item 4 of with empty Pete Molly's Revenge On Sun, Jul 31, 2011 at 6:58 PM, Admin wrote: >> >>> Hello all, Say I have the following path: >> http://www.travelandworkusa.com/public_html/userfiles/Felker_Mike/robot_trans_noshadow.png [8] >> >>> How do I get rid of just /public_html ? Thanks. Mike _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com [1] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode [2] >> _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com [9] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode [10] _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com [11] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode [12] > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com [15] > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode [16] Links: ------ [1] mailto:use-livecode at lists.runrev.com [2] http://lists.runrev.com/mailman/listinfo/use-livecode [3] mailto:pete at mollysrevenge.com [4] mailto:pete at mollysrevenge.com [5] mailto:use-livecode at lists.runrev.com [6] http://www.mollysrevenge.com [7] mailto:admin at mfelkerco.com [8] http://www.travelandworkusa.com/public_html/userfiles/Felker_Mike/robot_trans_noshadow.png [9] mailto:use-livecode at lists.runrev.com [10] http://lists.runrev.com/mailman/listinfo/use-livecode [11] mailto:use-livecode at lists.runrev.com [12] http://lists.runrev.com/mailman/listinfo/use-livecode [13] http://www.mollysrevenge.com [14] mailto:mikekann at yahoo.com [15] mailto:use-livecode at lists.runrev.com [16] http://lists.runrev.com/mailman/listinfo/use-livecode From admin at mfelkerco.com Mon Aug 1 01:44:18 2011 From: admin at mfelkerco.com (Admin) Date: Mon, 01 Aug 2011 00:44:18 -0500 Subject: How do I remove part of a =?UTF-8?Q?path=3F?= In-Reply-To: <633b85e9eff084059bbbf042168a2c5b@mfelkerco.com> References: <1312167065.60222.YahooMailClassic@web161617.mail.bf1.yahoo.com> <633b85e9eff084059bbbf042168a2c5b@mfelkerco.com> Message-ID: Hello again. One more. What is the correct code to run a file (in this case, self extracting .exe files) in LiveCode. Here are the code I have written (with help) and it does not work: if the platform is "MacOS" then open file "http://www.campstaffusa.com/newdb/uploadpic_swt_mac.exe" else open file "http://www.campstaffusa.com/newdb/uploadpic_swt.exe" end if if the platform is "MacOS" then open file "http://www.campstaffusa.com/newdb/resume_swt_mac.exe" else open file "http://www.campstaffusa.com/newdb/resume_swt.exe" end if Please help. It is VITAL that the program, whether online or used as a program, load these files properly. Thanks again. Mike On Sun, 31 Jul 2011 23:16:02 -0500, Admin wrote: > Guys. > > THANK YOU!!! From the bottom of my heart, Thank You. You > guys saved my tushy tonight. My app works 100% now thanks to all of your > help. > > Mike > > On Sun, 31 Jul 2011 20:45:24 -0700, Pete wrote: > >> Yeah, > > messed up the syntax, but you get the idea! > >> Pete Molly's Revenge > Pete, One >> >> little improvement is needed: replace item 4 of with empty in When I change the itemD > omething exotic I almost always forget to change it back then wonder why those items don't obey. If you are going to change the itemDelimiter you might try something like: put the itemDel into old_delimiter set the itemDel to "/" -- gather some items set the itemDel to old_delimiter Mike --- On Sun, 7/31/11, Pete wrote: From: Pete Subject: Re: How do I remove part of a path? To: "How to use LiveCode" Date: Sunday, July 31, 2011, 9:36 PM replace "/public.html" with empty in . That's assuming it's always the same string you want to get rid of. Alternatively: set the itemdelimiter to "/" replace item 4 of with empty Pete Molly's Revenge On Sun, Jul 31, 2011 at 6:58 PM, Admin wrote: Hello all, Say I have the following path: >> >> http://www.travelandworkusa.com/public_html/userfiles/Felker_Mike/robot_trans_noshadow.png > H > >> _______________________________________ use-livecode mailing list use-livecode at lists.runrev.com [1] [1] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > sts.runrev.com/mailman/listinfo/use-livecode[2]_______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com [2] [9] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode [3] [10] _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com [4] [11] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode [5][12]_______________________________________________ use-livecode mailing > > list > use-livecode at lists.runrev.com [6] [15] Please visit this url to > > subscribe, unsubscribe and manage your subscription preferences:http://lists.runrev.com/mailman/listinf> se-livecode at lists.ru > [2] http://lists.runrev.com/mailman/listinfo/use-livecode [7] [3] mailto:pete at mollysrevenge.com [8] [4] mailto:use-livecode at lists.runrev.com [6] http://www.mollysrevenge.com > to:admin at mfelkerco.com [9] [8] http://www.travelandworkusa.com/public_html/userfiles/Felker_Mike/robot_trans_noshadow.png [10] [9] mailto:use-livecode at lists.runrev.com [11] [10] http://lists.runrev.com/mailman/listinfo/use-livecode [12] [11] mailto:use-livecode at lists.runrev.com [13] [12] http://lists.runrev.com/mailman/listinfo/use-livecode [14] [13] http://www.mollysrevenge.com [15] [14] mailto:mikekann at yahoo.com [16] [15] mailto:use-livecode at lists.runrev.com [17] [16] http://lists.runrev.com/mailman/listinfo/use-livecode [18] _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com [19] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode [20] Links: ------ [1] mailto:use-livecode at lists.runrev.com [2] mailto:use-livecode at lists.runrev.com [3] http://lists.runrev.com/mailman/listinfo/use-livecode [4] mailto:use-livecode at lists.runrev.com [5] http://lists.runrev.com/mailman/listinfo/use-livecode [6] mailto:use-livecode at lists.runrev.com [7] http://lists.runrev.com/mailman/listinfo/use-livecode [8] mailto:pete at mollysrevenge.com [9] mailto:admin at mfelkerco.com [10] http://www.travelandworkusa.com/public_html/userfiles/Felker_Mike/robot_trans_noshadow.png [11] mailto:use-livecode at lists.runrev.com [12] http://lists.runrev.com/mailman/listinfo/use-livecode [13] mailto:use-livecode at lists.runrev.com [14] http://lists.runrev.com/mailman/listinfo/use-livecode [15] http://www.mollysrevenge.com [16] mailto:mikekann at yahoo.com [17] mailto:use-livecode at lists.runrev.com [18] http://lists.runrev.com/mailman/listinfo/use-livecode [19] mailto:use-livecode at lists.runrev.com [20] http://lists.runrev.com/mailman/listinfo/use-livecode From pete at mollysrevenge.com Mon Aug 1 02:03:23 2011 From: pete at mollysrevenge.com (Pete) Date: Sun, 31 Jul 2011 23:03:23 -0700 Subject: How do I remove part of a path? In-Reply-To: <1312167065.60222.YahooMailClassic@web161617.mail.bf1.yahoo.com> References: <1312167065.60222.YahooMailClassic@web161617.mail.bf1.yahoo.com> Message-ID: Yes, it should be: replace "/" & item 4 of with empty in The other way works if he's always looking to replace the same string, this is better if the string is always in a known position but the string itself could vary. I have so many instances where I need to set the itemdelimiter to tab that I wrote a handler to deal with it. function tabItem pitem,pstring set the itemdelim to tab return item pitem of pstring end tabItem put tabItem(4,mystring) into myItem Since itemdelim is local to the handler, no need to store it away and restore it. Nothing fancy but probably saved me a few hundred lines of code, and forgetting to restore the itemdelim in the calling handlers. I wish there was a way to "put column 4 of into xyz" using the columndelimiter setting (default tab) but I think columndelimiter only applies to the split and combine commands for handling arrays. Pete Molly's Revenge On Sun, Jul 31, 2011 at 7:51 PM, Michael Kann wrote: > Pete, > > One little improvement is needed: > > replace item 4 of with empty in is> > > When I change the itemDelimiter to something exotic I almost always forget > to change it back then wonder why those items don't obey. If you are going > to change the itemDelimiter you might try something like: > > put the itemDel into old_delimiter > set the itemDel to "/" > -- gather some items > set the itemDel to old_delimiter > > Mike > > > --- On Sun, 7/31/11, Pete wrote: > > From: Pete > Subject: Re: How do I remove part of a path? > To: "How to use LiveCode" > Date: Sunday, July 31, 2011, 9:36 PM > > replace "/public.html" with empty in . That's > assuming > it's always the same string you want to get rid of. Alternatively: > > set the itemdelimiter to "/" > replace item 4 of with empty > > Pete > Molly's Revenge > > > > > On Sun, Jul 31, 2011 at 6:58 PM, Admin wrote: > > > > > > > Hello all, > > > > Say I have the following path: > > > > > > > > > http://www.travelandworkusa.com/public_html/userfiles/Felker_Mike/robot_trans_noshadow.png > > > > > > How do I get rid of just /public_html ? > > > > 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 > > > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 andre.bisseret at wanadoo.fr Mon Aug 1 03:15:26 2011 From: andre.bisseret at wanadoo.fr (=?iso-8859-1?Q?Andr=E9_Bisseret?=) Date: Mon, 1 Aug 2011 09:15:26 +0200 Subject: How do I remove part of a path? In-Reply-To: References: <1312167065.60222.YahooMailClassic@web161617.mail.bf1.yahoo.com> <633b85e9eff084059bbbf042168a2c5b@mfelkerco.com> Message-ID: <8234DCEB-6CCF-4030-AEC5-ECF2B1B65733@wanadoo.fr> Le 1 ao?t 2011 ? 07:44, Admin a ?crit : > > > Hello again. > > One more. > > What is the correct code to run a file > (in this case, self extracting .exe files) in LiveCode. > > Here are the > code I have written (with help) and it does not work: > > if the platform > is "MacOS" then > open file > "http://www.campstaffusa.com/newdb/uploadpic_swt_mac.exe" Here above should it not be : mac.app ? Andr? > else > open > file "http://www.campstaffusa.com/newdb/uploadpic_swt.exe" > end if > > if > the platform is "MacOS" then > open file > "http://www.campstaffusa.com/newdb/resume_swt_mac.exe" idem > else > open file > "http://www.campstaffusa.com/newdb/resume_swt.exe" > end if > > Please help. > It is VITAL that the program, whether online or used as a program, load > these files properly. > > Thanks again. > > Mike > > On Sun, 31 Jul 2011 23:16:02 > -0500, Admin wrote: > >> Guys. >> >> THANK YOU!!! From the bottom of my > heart, Thank You. You >> guys saved my tushy tonight. My app works 100% > now thanks to all of your >> help. >> >> Mike >> >> On Sun, 31 Jul 2011 > 20:45:24 -0700, Pete wrote: >> >>> Yeah, >> >> messed up the syntax, but > you get the idea! >> >>> Pete Molly's Revenge >> Pete, One >>> >>> little > improvement is needed: replace item 4 of with empty in When I change the > itemD >> omething exotic I almost always forget to change it back then > wonder why those items don't obey. If you are going to change the > itemDelimiter you might try something like: put the itemDel into > old_delimiter set the itemDel to "/" -- gather some items set the > itemDel to old_delimiter Mike --- On Sun, 7/31/11, Pete wrote: From: > Pete Subject: Re: How do I remove part of a path? To: "How to use > LiveCode" Date: Sunday, July 31, 2011, 9:36 PM replace "/public.html" > with empty in . That's assuming it's always the same string you want to > get rid of. Alternatively: set the itemdelimiter to "/" replace item 4 > of with empty Pete Molly's Revenge On Sun, Jul 31, 2011 at 6:58 PM, > Admin wrote: Hello all, Say I have the following path: >>> >>> > http://www.travelandworkusa.com/public_html/userfiles/Felker_Mike/robot_trans_noshadow.png >> > H >> >>> _______________________________________ use-livecode mailing > list use-livecode at lists.runrev.com [1] [1] Please visit this url to > subscribe, unsubscribe and manage your subscription preferences: >> > sts.runrev.com/mailman/listinfo/use-livecode[2]_______________________________________________ > use-livecode mailing list use-livecode at lists.runrev.com [2] [9] Please > visit this url to subscribe, unsubscribe and manage your subscription > preferences: http://lists.runrev.com/mailman/listinfo/use-livecode [3] > [10] _______________________________________________ use-livecode > mailing list use-livecode at lists.runrev.com [4] [11] Please visit this > url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > [5][12]_______________________________________________ use-livecode > mailing >> >> list >> use-livecode at lists.runrev.com [6] [15] Please visit > this url to >> >> subscribe, unsubscribe and manage your subscription > preferences:http://lists.runrev.com/mailman/listinf> > se-livecode at lists.ru >> [2] > http://lists.runrev.com/mailman/listinfo/use-livecode [7] [3] > mailto:pete at mollysrevenge.com [8] [4] > mailto:use-livecode at lists.runrev.com [6] http://www.mollysrevenge.com >> > to:admin at mfelkerco.com [9] [8] > http://www.travelandworkusa.com/public_html/userfiles/Felker_Mike/robot_trans_noshadow.png > [10] [9] mailto:use-livecode at lists.runrev.com [11] [10] > http://lists.runrev.com/mailman/listinfo/use-livecode [12] [11] > mailto:use-livecode at lists.runrev.com [13] [12] > http://lists.runrev.com/mailman/listinfo/use-livecode [14] [13] > http://www.mollysrevenge.com [15] [14] mailto:mikekann at yahoo.com [16] > [15] mailto:use-livecode at lists.runrev.com [17] [16] > http://lists.runrev.com/mailman/listinfo/use-livecode [18] > _______________________________________________ use-livecode mailing > list use-livecode at lists.runrev.com [19] Please visit this url to > subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode [20] > > > > > Links: > ------ > [1] mailto:use-livecode at lists.runrev.com > [2] > mailto:use-livecode at lists.runrev.com > [3] > http://lists.runrev.com/mailman/listinfo/use-livecode > [4] > mailto:use-livecode at lists.runrev.com > [5] > http://lists.runrev.com/mailman/listinfo/use-livecode > [6] > mailto:use-livecode at lists.runrev.com > [7] > http://lists.runrev.com/mailman/listinfo/use-livecode > [8] > mailto:pete at mollysrevenge.com > [9] mailto:admin at mfelkerco.com > [10] > http://www.travelandworkusa.com/public_html/userfiles/Felker_Mike/robot_trans_noshadow.png > [11] > mailto:use-livecode at lists.runrev.com > [12] > http://lists.runrev.com/mailman/listinfo/use-livecode > [13] > mailto:use-livecode at lists.runrev.com > [14] > http://lists.runrev.com/mailman/listinfo/use-livecode > [15] > http://www.mollysrevenge.com > [16] mailto:mikekann at yahoo.com > [17] > mailto:use-livecode at lists.runrev.com > [18] > http://lists.runrev.com/mailman/listinfo/use-livecode > [19] > mailto:use-livecode at lists.runrev.com > [20] > 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 JRARICK at hpsk12.net Mon Aug 1 06:58:06 2011 From: JRARICK at hpsk12.net (JACK RARICK) Date: Mon, 1 Aug 2011 06:58:06 -0400 Subject: FTP Error - Solved Message-ID: I wanted to thank everyone who through out suggestions to my FTP issues. Here is what I learned. #1) Path names on servers, specifically my on-rev server, are very CaSe SeNsItIVe. I didn't know that. #2) I spent a lot of time tearing apart Andre's FTP Commander - and discovered that any time he used a variable that was assigned from a list in a field, he deleted the last character. For instance put the selectedtext of fld "ClipList" into clipname delete the last character of clipname This invisible character NEVER showed up - but caused my all kinds of problems! #3) Logging the FTP session into a field was HUGE. Not only did I learn a lot more about FTP connections, it helped me solve my problem. (Thanks Andre!) As always and always - thank you all. And because there is no rest for the wicked - my next question is coming in about six minutes! Jack Rarick Freshmen Center Earth Science Technology Coodinator Varsity Men's Track & Field Varsity Football - Offensive Line Coach, Peanut Butter Coordinator From JRARICK at hpsk12.net Mon Aug 1 07:29:02 2011 From: JRARICK at hpsk12.net (JACK RARICK) Date: Mon, 1 Aug 2011 07:29:02 -0400 Subject: FTP with Proxy Help Message-ID: I told you all I would be back! My code works great out in the wide open 'net. But sitting behind a proxy server, it goes to heck in a hand basket quick. And at schools, it is not uncommon to have proxy servers. My system administrator gave me the proxy setting 154.0.0.2121 Here is my line of code: Put "ftp://cva at cva.on-rev.com:myPassword at ftp.cva.on-rev.com/public_html/holtfootball/hartland/media/Clip 001.mov" into tDestination I've looked and looked at the dictionary - but I am very confused about where to put the port setting. HELP! (By the way, all I have done is FTP an iMovieHD project to my on-rev server. My app allows players/coaches to watch the game film from their home - one clip at a time.) Jack Rarick Freshmen Center Earth Science Technology Coodinator Varsity Men's Track & Field Varsity Football - Offensive Line Coach, Peanut Butter Coordinator From cszasz at mac.com Mon Aug 1 10:01:54 2011 From: cszasz at mac.com (Charles Szasz) Date: Mon, 01 Aug 2011 10:01:54 -0400 Subject: lack of Mac OS X intuition: system menu Message-ID: <63514024-2FE9-4417-BCCF-F1E232E5D7D7@mac.com> Mark, Please contact me off of the list. Charles Szasz cszasz at mac.com From rman at free.fr Mon Aug 1 10:03:24 2011 From: rman at free.fr (Robert Mann) Date: Mon, 1 Aug 2011 07:03:24 -0700 (PDT) Subject: [server] using STACKS within ON-REV Message-ID: <1312207404137-3709738.post@n4.nabble.com> Hi all, the former thread on the subject got bugged with other considerations, and I'd like to share results of my tests and check it out, so that we can have a clear picture of what we can expect from these stacks. This is the very simple test I made :: dropping an index.lc in a test folder on my on-rev account : CGI is on with LC

" put "

----------------------

" start using stack "stackTest-v1.livecode" -- works ok -- go stack "stackTest-v1.livecode" :: does not work (rest of page is blank) put test1() -- print a simple message :: working=YES! put test0() -- print the number of cards of this stack :: working= NO!! (plenty of errors) put test2() -- print the content of a simple field :: working=NO! (plenty of errors) put test3() -- print the content of field "name" of card x :: working=NO!! (plenty of errors) -- to make sure : put field "titre" -- throws plenty f errors put the number of cards of this stack -- outputs 1 (instead of 3!) ?> -> It is highly surprising for me that cards and fields are not recognized, is that the general case? -> Does go stack work elsewhere and improves accessibility to cards and fields? Thanks all, Robert -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/server-using-STACKS-within-ON-REV-tp3709738p3709738.html Sent from the Revolution - User mailing list archive at Nabble.com. From cszasz at mac.com Mon Aug 1 10:12:58 2011 From: cszasz at mac.com (Charles Szasz) Date: Mon, 01 Aug 2011 10:12:58 -0400 Subject: A question about using Arrow Keys in a Listbox Message-ID: <6D0681AF-85A9-4261-835B-B2D99FFE1F32@mac.com> I am using Rev. 4.0. I have a mileage app that has two list fields: From and To In the first list field (From) I have the following script: on mouseDown global globalFrom put word 2 of the clickline into globalFrom end mouseDown In the second list field (To), I have the following script: on mouseDown global globalFrom global globalTo put word 2 of the clickline into globalTo if globalFrom > "" and globalTo >"" then put globalFrom,GlobalTo into theMatch else answer information "Please make a selection from both list boxes" end if put the dist["travel"] of field "data" into theMatch2 repeat for each line theMatch2 in the dist["travel"] of field "data" if item 1 to 2 of theMatch = item 1 to 2 of theMatch2 then put item 3 theMatch2 into field "results" exit repeat end if end repeat end mouseDown The script works great when the user clicks on a line in the first field and then clicks in a line from the second field, which displays the mileage between two points in a field "results". I would like to implement in the second list where the user could simply use the arrow keys to go up or down and display the mileage for difference locations in the second list. How can I do that? Charles Szasz cszasz at mac.com From form at nonsanity.com Mon Aug 1 10:25:17 2011 From: form at nonsanity.com (Nonsanity) Date: Mon, 1 Aug 2011 10:25:17 -0400 Subject: How do I remove part of a path? In-Reply-To: <1312167357.70982.YahooMailClassic@web161619.mail.bf1.yahoo.com> References: <1312167357.70982.YahooMailClassic@web161619.mail.bf1.yahoo.com> Message-ID: set itemdel to "/" put "" into item 4 of it There should be no double slash then. That line removes that whole item. ~ Chris Innanen ~ Nonsanity On Sun, Jul 31, 2011 at 10:55 PM, Michael Kann wrote: > Pete, > > I checked to see if the itemDelimiter trick left behind a "/" and found > that it does. > > > http://www.travelandworkusa.com//userfiles/Felker_Mike/robot_trans_noshadow.png > > -- notice the 2 forward slashes where there should be uno. > > Mike > > > --- On Sun, 7/31/11, Pete wrote: > > From: Pete > Subject: Re: How do I remove part of a path? > To: "How to use LiveCode" > Date: Sunday, July 31, 2011, 9:36 PM > > replace "/public.html" with empty in . That's > assuming > it's always the same string you want to get rid of. Alternatively: > > set the itemdelimiter to "/" > replace item 4 of with empty > > Pete > Molly's Revenge > > > > > On Sun, Jul 31, 2011 at 6:58 PM, Admin wrote: > > > > > > > Hello all, > > > > Say I have the following path: > > > > > > > > > http://www.travelandworkusa.com/public_html/userfiles/Felker_Mike/robot_trans_noshadow.png > > > > > > How do I get rid of just /public_html ? > > > > 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 > > > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 jimaultwins at yahoo.com Mon Aug 1 10:30:19 2011 From: jimaultwins at yahoo.com (Jim Ault) Date: Mon, 1 Aug 2011 07:30:19 -0700 (PDT) Subject: How do I remove part of a path? In-Reply-To: Message-ID: <1312209019.88274.YahooMailClassic@web120526.mail.ne1.yahoo.com> If you are concered about the current itemDel setting then you could add one line (instead of 3) before the path operation replace "/" with the itemDel in itemsToParse > put the itemDel into old_delimiter > set the itemDel to "/" > -- gather some items > set the itemDel to old_delimiter > > Mike On Sun, Jul 31, 2011 at 7:51 PM, Michael Kann wrote: > Pete, > One little improvement is needed: > replace item 4 of with empty in is> > > When I change the itemDelimiter to something exotic I almost always forget > to change it back then wonder why those items don't obey. If you are going > to change the itemDelimiter you might try something like: > > put the itemDel into old_delimiter > set the itemDel to "/" > -- gather some items > set the itemDel to old_delimiter > Mike > --- On Sun, 7/31/11, Pete wrote: > > replace "/public.html" with empty in .? That's > assuming > it's always the same string you want to get rid of.? Alternatively: > set the itemdelimiter to "/" > replace item 4 of with empty > Pete> > > On Sun, Jul 31, 2011 at 6:58 PM, Admin wrote: > > Hello all, > > Say I have the following path: > > > http://www.travelandworkusa.com/public_html/userfiles/Felker_Mike/robot_trans_noshadow.png > > > How do I get rid of just /public_html ? From jimaultwins at yahoo.com Mon Aug 1 10:49:10 2011 From: jimaultwins at yahoo.com (Jim Ault) Date: Mon, 1 Aug 2011 07:49:10 -0700 (PDT) Subject: How do I remove part of a path? In-Reply-To: Message-ID: <1312210150.59206.YahooMailClassic@web120525.mail.ne1.yahoo.com> Chri, which version of LC are you using? My version 4.5 does not delete the itemDel, just the contents. put empty into item 4 of tString --keeps the "/" delete item 4 of tString? -- purges the slash -- this should work to make a shorter path string replace "/" with itemDel in tString delete item itemOffset("public.html", tString) of tString --purges the item replace itemDel with "/" in tString Jim Ault Las Vegas --- On Mon, 8/1/11, Nonsanity
wrote: From: Nonsanity Subject: Re: How do I remove part of a path? To: "How to use LiveCode" Date: Monday, August 1, 2011, 7:25 AM set itemdel to "/" put "" into item 4 of it There should be no double slash then. That line removes that whole item. ~ Chris Innanen ~ Nonsanity On Sun, Jul 31, 2011 at 10:55 PM, Michael Kann wrote: > Pete, > > I checked to see if the itemDelimiter trick left behind a "/" and found > that it does. > > > http://www.travelandworkusa.com//userfiles/Felker_Mike/robot_trans_noshadow.png > > -- notice the 2 forward slashes where there should be uno. > > Mike From form at nonsanity.com Mon Aug 1 11:05:28 2011 From: form at nonsanity.com (Nonsanity) Date: Mon, 1 Aug 2011 11:05:28 -0400 Subject: Where does survive the inventive user ? In-Reply-To: <13527D10-FDE9-4F42-99EE-D7B83B34D5B7@wanadoo.fr> References: <13527D10-FDE9-4F42-99EE-D7B83B34D5B7@wanadoo.fr> Message-ID: Briefly, there was Revolution Media, a FREE version of the IDE that, while it couldn't build stand-along apps or do some of the database interfacing, had the whole language and development environment right there at your fingertips. Seeing that made me happy for Livecode's future. It meant that anyone that wanted to learn to program, or had a particular task in mind and needed something easy to implement it with... A free solution was at hand. But that's gone now, and the best alternative is the 30-day trial, and who can learn a whole new language (even one as easy as LC), or worse learn programming itself, in just 30 days? I recently started investigating the Khan Academy video library. It's a free collection of videos (available on YouTube) teaching math, economics, and other subjects. And that includes computer science. But they are using Python as the language of choice, and one can see why. It's multi-platform, its used in many environments, and it's free. Livecode has all that, except the free entry point. While I'm going to be using the Khan videos to help teach my daughter, for programming, I'm going to teach her myself with Livecode. Khan Academy has only been doing videos on Computer Science for a month now, but the math videos have been around for a while now and have had a LOT of eyes on them. And with talk about using them as part of public education reform, who knows how big they will get. Imagine if all those eyes were looking at Livecode instead of a cryptic text-only Python script... ~ Chris Innanen ~ Nonsanity On Wed, Jul 27, 2011 at 5:09 PM, Francis Nugent Dixon wrote: > Hi, > > Craig said : > > > who might fall in love with LC if they only were simply >> > > exposed to it >> > > Amen to that ! > > This was my point - Who IS exposed to LiveCode ? > > Maybe we can get some input from the LiveCode Commercial > Department. How do you go about tickling a non-LiveCode-User ? > > Certainly not on an upturned dustbin in Trafalgar Square .... > > -Francis From mikekann at yahoo.com Mon Aug 1 11:09:19 2011 From: mikekann at yahoo.com (Michael Kann) Date: Mon, 1 Aug 2011 08:09:19 -0700 (PDT) Subject: How do I remove part of a path? In-Reply-To: <1312209019.88274.YahooMailClassic@web120526.mail.ne1.yahoo.com> Message-ID: <1312211359.69877.YahooMailClassic@web161618.mail.bf1.yahoo.com> Jim, itemToParse must be a new gadget added after 4.0. I don't see it in my dictionary. How does it know when to go back to the old itemDelimiter? Or do you need a second line downstream? Learning from you guys all the time, Mike --- On Mon, 8/1/11, Jim Ault wrote: From: Jim Ault Subject: Re: How do I remove part of a path? To: "How to use LiveCode" Date: Monday, August 1, 2011, 9:30 AM If you are concered about the current itemDel setting then you could add one line (instead of 3) before the path operation replace "/" with the itemDel in itemsToParse > put the itemDel into old_delimiter > set the itemDel to "/" > -- gather some items > set the itemDel to old_delimiter > > Mike On Sun, Jul 31, 2011 at 7:51 PM, Michael Kann wrote: > Pete, > One little improvement is needed: > replace item 4 of with empty in is> > > When I change the itemDelimiter to something exotic I almost always forget > to change it back then wonder why those items don't obey. If you are going > to change the itemDelimiter you might try something like: > > put the itemDel into old_delimiter > set the itemDel to "/" > -- gather some items > set the itemDel to old_delimiter > Mike > --- On Sun, 7/31/11, Pete wrote: > > replace "/public.html" with empty in .? That's > assuming > it's always the same string you want to get rid of.? Alternatively: > set the itemdelimiter to "/" > replace item 4 of with empty > Pete> > > On Sun, Jul 31, 2011 at 6:58 PM, Admin wrote: > > Hello all, > > Say I have the following path: > > > http://www.travelandworkusa.com/public_html/userfiles/Felker_Mike/robot_trans_noshadow.png > > > How do I get rid of just /public_html ? _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From jimaultwins at yahoo.com Mon Aug 1 11:28:09 2011 From: jimaultwins at yahoo.com (Jim Ault) Date: Mon, 1 Aug 2011 08:28:09 -0700 Subject: How do I remove part of a path? In-Reply-To: <1312211359.69877.YahooMailClassic@web161618.mail.bf1.yahoo.com> References: <1312211359.69877.YahooMailClassic@web161618.mail.bf1.yahoo.com> Message-ID: <02BFD806-28F7-48EA-96C2-EC1099C2AAB8@yahoo.com> "itemToParse" is a variable name I created that contains the string, such as "http://domain.com/subfolder/subfolder/page.html" Sorry about the confusion. Perhaps I should have used "tStringOfItemsToParse" On Aug 1, 2011, at 8:09 AM, Michael Kann wrote: > Jim, > itemToParse must be a new gadget added after 4.0. I don't see it in > my dictionary. How does it know when to go back to the old > itemDelimiter? Or do you need a second line downstream? > Jim Ault Las Vegas From mikekann at yahoo.com Mon Aug 1 11:38:20 2011 From: mikekann at yahoo.com (Michael Kann) Date: Mon, 1 Aug 2011 08:38:20 -0700 (PDT) Subject: How do I remove part of a path? In-Reply-To: <02BFD806-28F7-48EA-96C2-EC1099C2AAB8@yahoo.com> Message-ID: <1312213100.83194.YahooMailClassic@web161619.mail.bf1.yahoo.com> Jim, Now I get it. Good one-liner. Mike --- On Mon, 8/1/11, Jim Ault wrote: From: Jim Ault Subject: Re: How do I remove part of a path? To: "How to use LiveCode" Date: Monday, August 1, 2011, 10:28 AM "itemToParse" is a variable name I created that contains the string, such as "http://domain.com/subfolder/subfolder/page.html" Sorry about the confusion. Perhaps I should have used "tStringOfItemsToParse" On Aug 1, 2011, at 8:09 AM, Michael Kann wrote: > Jim, > itemToParse must be a new gadget added after 4.0. I don't see it in my dictionary. How does it know when to go back to the old itemDelimiter? Or do you need a second line downstream? > Jim Ault Las Vegas _______________________________________________ use-livecode mailing list use-livecode at 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 Mon Aug 1 11:40:48 2011 From: rman at free.fr (Robert Mann) Date: Mon, 1 Aug 2011 08:40:48 -0700 (PDT) Subject: [server] using STACKS within ON-REV Message-ID: <1312213248751-3710035.post@n4.nabble.com> Hi all, the former thread on the subject got bugged with other considerations, and I'd like to share results of my tests and check it out, so that we can have a clear picture of what we can expect from these stacks. This is the very simple test I made :: made a simple "teststack.livecode" in the IDE : it contains 3 cards and 3 fields, and a few test functions. Dropped it in a test folder on my on-rev account, and added an index.lc file at the same level. problems :: 1) go stack DOES NOT work 2) start using stack, seems to swallow all handlers from stackTest into the HOME stack, so that they loose all the context of their original stack. 3) fields on cards can be accessed IF THE name of the stack is precised each time. So that requires to write handlers in a different way, a standard stack will break very easily on the server if an implicit ref. to a field is used. Any comment? Do I get it right? does "go stack work for some? Thanks all, Robert ----------- details ----------- CGI is on with LC

" put "

----------------------

" -- YES : the CGI works start using stack "stackTest-v1.livecode" -- go to stack "stackTest-v1.livecode" -- go stack is NOT recognized as stated in the docs -- http://www.runrev.com/developers/documentation/server/ put "

" put "1 ) Simple test1 : outputing a var =" put "

" put test1() -- simple function in stackTest that sends a chunk of text back. -- YES :: works fine. put "

" put "2) name of this stack= " put the name of this stack put "

" put "

" put "3) Number of card of this stack=" put the number of cards of this stack put "

" -- ANSWER 1 CARD, beacause the context is the "HOME" card dans not the stackTest! put "

" put "3) BIS Number of card of this stack, but called from a function in the stack stcktest. => " put test0() put "

" -- ANSWER 1 CARD, because the context is the "HOME" card dans not the stackTest, again! put "

" put "4) Number of card of stack stacktest=" put the number of cards of stack "stacktest" put "

" -- ANSWER 3 CARD, which is right for stackTest this time. put "

" create card "add1" put "5) Number of cards of this stack after card after addition= " put the number of cards of this stack put "

" -- ANSWER 2 CARD, so we can add cards to the HOME stack. put "

" put "6) Field3 of card 3 of stack stacktest= " put field "Field3" of card 3 of stack "stacktest" put "

" -- YES, adressing fields works, SO LONG the name of stack is precised. put "6) BIS same query but from a function in the stack, with stackname" put "

" put test3() -- simple function in stackTest that sends back the content of a field, precizing the stakcname put "

" -- YES, adressing fields works, SO LONG the name of stack is precised. put "

" put "6) TER same query but from a function in the stack, without stackname" put "

" put test2() -- simple function in stackTest that sends back the content of a field without the stackname put "

" -- NO, adressing fields works, ONLY if the name of stack is precised. -- CSQ :: handlers and functions have to be written specifically for the server, with that limitation in mind. -- go to card 1 of this stack and put field "that field" into var DOES NOT WORK! grr! -- and that is a severe error that completely blocks the process and throws plenty of errors!! ?> -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/server-using-STACKS-within-ON-REV-tp3710035p3710035.html Sent from the Revolution - User mailing list archive at Nabble.com. From bobs at twft.com Mon Aug 1 11:56:35 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 1 Aug 2011 08:56:35 -0700 Subject: Blacklisted In-Reply-To: <1312123258.35835.YahooMailClassic@web161616.mail.bf1.yahoo.com> References: <1312123258.35835.YahooMailClassic@web161616.mail.bf1.yahoo.com> Message-ID: If you have ever had spam or malware coming from that IP then it is quite possible you have been blacklisted. This can occur if a device behind that router has been compromised. If it is a Windows PC without antivirus, this is almost surely the culprit. Yes, I am afraid you will have to respond to the blacklisting authority after you have found and resolved the problem. Bob On Jul 31, 2011, at 7:40 AM, Michael Kann wrote: > I sent an email request to support at runrev.com from my yahoo account and got the following failure notice: > --------------------------------- > Sorry, we were unable to deliver your message to the following address. > > : > Remote host said: 550 5.7.1 Your IP 98.139.212.175 is blacklisted. Click delist.emailfiltering.com to delist [RCPT_TO] > --------------------------------- > Do you think this is legit or is it a scam to get you to click on the delist URL? > More importantly, did my email get through? > --------------------------------- > Here's the question I was going to ask. I've installed LiveCode 4.6.3 on both XP and Vista and can't get past the dialog box where it wants you to associate the file endings .rev and .livecode with the program. Anywhere I click when I get that dialog box makes the program disappear. > > What I really want is to see the new dictionary so I can start playing around with the liveCode Server engine. Has anyone liberated the new dictionary so we can read it as a text file? > > Any help is appreciated as always, > > 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 bobs at twft.com Mon Aug 1 11:58:30 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 1 Aug 2011 08:58:30 -0700 Subject: Notification Manger or Bounce the Dock Icon In-Reply-To: <2CEFF3CB-7A83-465A-8807-DB0651C773EB@mac.com> References: <2CEFF3CB-7A83-465A-8807-DB0651C773EB@mac.com> Message-ID: <44B06CF4-B3E0-4591-AE39-A798A7C7D3BF@twft.com> I don't know, but I do know some apps use Growl, and require users to install it to get notifications. Bob On Jul 31, 2011, at 4:50 PM, Bill Vlahos wrote: > How do I trigger the system (Mac, Windows, Linux) notification manager when a dialog box comes up? > > If my program is not the frontmost app and a dialog box comes up, the user won't notice that the application needs attention if other applications are covering the area of the screen showing the dialog box (either as sheet or modal). > > I expected a dialog box to trigger the system notification manager. On the Mac that would be to bounce the dock icon. I thought I read how LC can do this but I can't find it. > > Any help would be appreciated. > > Thanks, > Bill Vlahos > _________________ > InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Mon Aug 1 12:02:49 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 1 Aug 2011 09:02:49 -0700 Subject: FTP Error - Solved In-Reply-To: References: Message-ID: <55E80820-7329-41A3-86F0-776EF833A39D@twft.com> That may be because the last character of a line in a list is a carriage return? I have never heard of this in any other posts. I don't think I have had any problems with getting a line from a list and comparing it to something else either. Doesn't make sense to me. Bob On Aug 1, 2011, at 3:58 AM, JACK RARICK wrote: > put the selectedtext of fld "ClipList" into clipname > delete the last character of clipname > > This invisible character NEVER showed up - but caused my all kinds of problems! From bobs at twft.com Mon Aug 1 12:08:59 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 1 Aug 2011 09:08:59 -0700 Subject: FTP with Proxy Help In-Reply-To: References: Message-ID: <2F6B38D6-A58A-47F6-9490-45B2AE15C4FC@twft.com> there is a space in the filename. your syntax does not seem correct either. it's usually ftp://site.address.com:username at password/path/to/file. It looks like you are sending password at site for credentials. As far as where to put the port, try ftp://site.address.com:portnumber:username at password/path/to/file. I have never done this before, and I don't think it's necessary. The proxy server should be handling all redirects. Otherwise anyone using a proxy server would have to know the redirect port numbers before going anywhere. Not sure of your particular setup though. Bob On Aug 1, 2011, at 4:29 AM, JACK RARICK wrote: > I told you all I would be back! > > My code works great out in the wide open 'net. But sitting behind a proxy server, it goes to heck in a hand basket quick. And at schools, it is not uncommon to have proxy servers. > > My system administrator gave me the proxy setting 154.0.0.2121 > > Here is my line of code: > Put "ftp://cva at cva.on-rev.com:myPassword at ftp.cva.on-rev.com/public_html/holtfootball/hartland/media/Clip 001.mov" into tDestination > > I've looked and looked at the dictionary - but I am very confused about where to put the port setting. HELP! > > (By the way, all I have done is FTP an iMovieHD project to my on-rev server. My app allows players/coaches to watch the game film from their home - one clip at a time.) > > > Jack Rarick > Freshmen Center > Earth Science > Technology Coodinator > Varsity Men's Track & Field > Varsity Football - Offensive Line Coach, Peanut Butter Coordinator > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Mon Aug 1 12:15:19 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 1 Aug 2011 09:15:19 -0700 Subject: Where does survive the inventive user ? In-Reply-To: <4E34185E.9070405@fourthworld.com> References: <4E34185E.9070405@fourthworld.com> Message-ID: That's insane! No one in their right mind would do that! ;-) Bob On Jul 30, 2011, at 7:42 AM, Richard Gaskin wrote: >> Strange what we think we'd never do. > > Or even stranger, we could trust our money to so-called professional money managers who mishandle it so badly that the world economy is brought to the edge of collapse. ;) From bobs at twft.com Mon Aug 1 12:32:49 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 1 Aug 2011 09:32:49 -0700 Subject: Where does survive the inventive user ? In-Reply-To: References: <4E34185E.9070405@fourthworld.com> Message-ID: <3CE75DA6-B59D-4FC4-A705-1DD3B62107A6@twft.com> I think the theory behind money is that it gives everyone a common reference to the amount of productive work a person has performed, so that if you were a blacksmith and the baker's horse didn't need shoes right now, you wouldn't go hungry. It has a lot of advantages, but of course one disadvantage is that if someone can ever con everyone into putting it all into one great big pool, with the promise that they will get more back later, then they can take it from everyone without them knowing what happened until it's too late, and just say something like, "Well we never guaranteed you this would work!" Another problem with paper money is the controlling authority can just print more of it whenever they want to get richer, thus devaluing everyone else's money, and thereby "stealing" it, or rather stealing the value of it and transferring it to themselves. This is how our mothers and fathers got their lifetime savings taken away from them. This why many of them spent their senior years in bad old folk's homes, and their children were fairly powerless to do anything about it. We the People let some cons run the government and devalue everything we worked for all our lives. At some point we just accepted that politicians could not be virtuous, and that it didn't matter anyway. So as long as they made the right promises to help us personally and seemed to be "on our team" we would vote for them, no matter what kind of lushes or brigands they proved to be. Now politics is a con man's utopia, a ritzy fishing club where those who have done well at the game are allowed to fish in the "big pond". But there I go again. Just shake your head at me and click the delete button. :-) Bob On Jul 30, 2011, at 8:31 AM, Roger Eller wrote: > This video is a very informative explanation of where money 'actually' comes > from. It's shocking if you've not seen it before. > > http://video.google.com/videoplay?docid=-2550156453790090544# > > ?Roger From bobs at twft.com Mon Aug 1 12:39:37 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 1 Aug 2011 09:39:37 -0700 Subject: carrying a global variable from stack to sub stack In-Reply-To: References: <1312060134258-3706864.post@n4.nabble.com> <8632aaae54a6aecd62fdd741c3a1578a@mfelkerco.com> <016101cc4f00$8b170e00$a1452a00$@com> Message-ID: <6B48C716-4355-4957-AB0D-1D3949C5E5AE@twft.com> Hi Admin. (Did your parents really name you "Admin"??) ;-) You can also put the global declaration at the top of the stack and substack script: global bobTest on openCard put "This is a test" into bobTest end openCard If your global is going to be used in a lot of places, this is a better way to go. In fact, this is better for ALL globals in that you can see all your globals in one place instead of having to dig around in your scripts to see if you declared it or not, or if you mistyped it in the script that does not happen to be working at the moment. Bob On Jul 30, 2011, at 5:30 PM, Admin wrote: > Thank you. > > The only place I did not have it was in my stack's > script with the openstack handler. > > Duh! > > Mike From pete at mollysrevenge.com Mon Aug 1 12:51:12 2011 From: pete at mollysrevenge.com (Pete) Date: Mon, 1 Aug 2011 09:51:12 -0700 Subject: Blacklisted In-Reply-To: References: <1312123258.35835.YahooMailClassic@web161616.mail.bf1.yahoo.com> Message-ID: The blacklisting is for a Yahoo mail server - need to contact Yahoo and get them to fix whatever it was that got them blacklisted. As an aside, blacklisting is how I got to know about Livecode (Revolution at the time). A couple of years back, my email hosts server was blacklisted and I got involved with the blacklisting service to get it fixed, signing up on their discussion list. A couple of months later, Heather Nagey had to deal with the same blacklisting agency and I saw from her email that she was involved with a software company, looked them up and ended becoming a customer. Pete Molly's Revenge On Mon, Aug 1, 2011 at 8:56 AM, Bob Sneidar wrote: > If you have ever had spam or malware coming from that IP then it is quite > possible you have been blacklisted. This can occur if a device behind that > router has been compromised. If it is a Windows PC without antivirus, this > is almost surely the culprit. > > Yes, I am afraid you will have to respond to the blacklisting authority > after you have found and resolved the problem. > > Bob > > > On Jul 31, 2011, at 7:40 AM, Michael Kann wrote: > > > I sent an email request to support at runrev.com from my yahoo account and > got the following failure notice: > > --------------------------------- > > Sorry, we were unable to deliver your message to the following address. > > > > : > > Remote host said: 550 5.7.1 Your IP 98.139.212.175 is blacklisted. Click > delist.emailfiltering.com to delist [RCPT_TO] > > --------------------------------- > > Do you think this is legit or is it a scam to get you to click on the > delist URL? > > More importantly, did my email get through? > > --------------------------------- > > Here's the question I was going to ask. I've installed LiveCode 4.6.3 on > both XP and Vista and can't get past the dialog box where it wants you to > associate the file endings .rev and .livecode with the program. Anywhere I > click when I get that dialog box makes the program disappear. > > > > What I really want is to see the new dictionary so I can start playing > around with the liveCode Server engine. Has anyone liberated the new > dictionary so we can read it as a text file? > > > > Any help is appreciated as always, > > > > 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Aug 1 12:54:36 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Mon, 1 Aug 2011 09:54:36 -0700 Subject: [server] using STACKS within ON-REV In-Reply-To: <1312213248751-3710035.post@n4.nabble.com> References: <1312213248751-3710035.post@n4.nabble.com> Message-ID: On my 4.6.3 installation at Dreamhost: *open, create* stack works for me - "*go*" probably makes no sense to the server engine. *new card*, *number of cards*. I can get the contents of a field, but cannot change it. No HTMLtext of a field. Not sure what custom properties work - all dimensions, *set, get* *start using* works I've used Mark Smith's id3 library successfully on server. Lots of subroutines and custom properties. some objects like buttons in a stack seem to crash the calling script. It would be useful to have all objects be invisibly included as they could be used as a template for a web layout. I am guessing that these are bugs that will be straightened out. THe use of "This stack" really gives the engine no clue as to what "this stack" is. I have also found this unreliable on the desktop too where there are multiple stacks in play. I find it preferable to be explicit as possible when referring to objects. On 1 August 2011 08:40, Robert Mann wrote: > Hi all, the former thread on the subject got bugged with other > considerations, and I'd like to share results of my tests and check it out, > so that we can have a clear picture of what we can expect from these > stacks. > > This is the very simple test I made :: made a simple "teststack.livecode" > in > the IDE : it contains 3 cards and 3 fields, and a few test functions. > Dropped it in a test folder on my on-rev account, and added an index.lcfile > at the same level. > > problems :: > > 1) go stack DOES NOT work > > 2) start using stack, seems to swallow all handlers from stackTest into the > HOME stack, so that they loose all the context of their original stack. > > 3) fields on cards can be accessed IF THE name of the stack is precised > each > time. > > So that requires to write handlers in a different way, a standard stack > will break very easily on the server if an implicit ref. to a field is > used. > > Any comment? Do I get it right? does "go stack work for some? > > Thanks all, > Robert > > ----------- > details > ----------- > > > > > > > > put "

CGI is on with LC

" > put "

----------------------

" > -- YES : the CGI works > > start using stack "stackTest-v1.livecode" > -- go to stack "stackTest-v1.livecode" > -- go stack is NOT recognized as stated in the docs > -- http://www.runrev.com/developers/documentation/server/ > > put "

" > put "1 ) Simple test1 : outputing a var =" > put "

" > put test1() -- simple function in stackTest that sends a chunk of text > back. > -- YES :: works fine. > > put "

" > put "2) name of this stack= " > put the name of this stack > put "

" > > put "

" > put "3) Number of card of this stack=" > put the number of cards of this stack > put "

" > -- ANSWER 1 CARD, beacause the context is the "HOME" card dans not > the > stackTest! > > put "

" > put "3) BIS Number of card of this stack, but called from a function in > the stack stcktest. => " > put test0() > put "

" > -- ANSWER 1 CARD, because the context is the "HOME" card dans not > the > stackTest, again! > > put "

" > put "4) Number of card of stack stacktest=" > put the number of cards of stack "stacktest" > put "

" > -- ANSWER 3 CARD, which is right for stackTest this time. > > put "

" > create card "add1" > put "5) Number of cards of this stack after card after addition= " > put the number of cards of this stack > put "

" > -- ANSWER 2 CARD, so we can add cards to the HOME stack. > > put "

" > put "6) Field3 of card 3 of stack stacktest= " > put field "Field3" of card 3 of stack "stacktest" > put "

" > -- YES, adressing fields works, SO LONG the name of stack is > precised. > > put "6) BIS same query but from a function in the stack, with stackname" > put "

" > put test3() -- simple function in stackTest that sends back the content > of a field, precizing the stakcname > put "

" > -- YES, adressing fields works, SO LONG the name of stack is precised. > > put "

" > put "6) TER same query but from a function in the stack, without > stackname" > put "

" > put test2() -- simple function in stackTest that sends back the content > of a field without the stackname > put "

" > -- NO, adressing fields works, ONLY if the name of stack is > precised. > -- CSQ :: handlers and functions have to be written specifically for > the > server, with that limitation in mind. > -- go to card 1 of this stack and put field "that field" into var > DOES NOT > WORK! grr! > > -- and that is a severe error that completely blocks the process and > throws > plenty of errors!! > > ?> > > > > > > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/server-using-STACKS-within-ON-REV-tp3710035p3710035.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 > -- Stephen Barncard San Francisco Ca. USA more about sqb From pete at mollysrevenge.com Mon Aug 1 13:11:41 2011 From: pete at mollysrevenge.com (Pete) Date: Mon, 1 Aug 2011 10:11:41 -0700 Subject: How do I remove part of a path? In-Reply-To: <1312213100.83194.YahooMailClassic@web161619.mail.bf1.yahoo.com> References: <02BFD806-28F7-48EA-96C2-EC1099C2AAB8@yahoo.com> <1312213100.83194.YahooMailClassic@web161619.mail.bf1.yahoo.com> Message-ID: Another variant might be: replace "/" & item 4 of myURL with empty in myURL As an aside, I have found a very frequent need to parse out tab-delimited strings and had been doing it by setting the itemdelimiter to tab and back again. I got myself in trouble so many times by forgetting to set the itemdelimiter back to its original value that I wrote a short handler to do this: function tabItem pitem,pstring set the itemdelimiter to tab return item pitem of pstring end tabItem put tabItem(3,myString) into myColumn Since the itemdelimiter setting is local to a handler, don't need to save/reset it. Saved me a few hundred lines of coding and eliminated itemdelimiter debuggung issues. I wish there was a tab-delimited chunk type native to LC. I see there is a columndelimiter property that is set to tab but I think it's only use is for combine and split on arrays. Would be great to be able to do "put column 3 of myString into myColumn". Pete Molly's Revenge On Mon, Aug 1, 2011 at 8:38 AM, Michael Kann wrote: > Jim, > Now I get it. Good one-liner. > Mike > > --- On Mon, 8/1/11, Jim Ault wrote: > > From: Jim Ault > Subject: Re: How do I remove part of a path? > To: "How to use LiveCode" > Date: Monday, August 1, 2011, 10:28 AM > > "itemToParse" is a variable name I created that contains the string, such > as > > "http://domain.com/subfolder/subfolder/page.html" > > Sorry about the confusion. > Perhaps I should have used "tStringOfItemsToParse" > > From jacque at hyperactivesw.com Mon Aug 1 13:30:43 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 01 Aug 2011 12:30:43 -0500 Subject: [server] using STACKS within ON-REV In-Reply-To: <1312213248751-3710035.post@n4.nabble.com> References: <1312213248751-3710035.post@n4.nabble.com> Message-ID: <4E36E2C3.2070708@hyperactivesw.com> On 8/1/11 10:40 AM, Robert Mann wrote: > This is the very simple test I made :: made a simple "teststack.livecode" in > the IDE : it contains 3 cards and 3 fields, and a few test functions. > Dropped it in a test folder on my on-rev account, and added an index.lc file > at the same level. > > problems :: > > 1) go stack DOES NOT work > > 2) start using stack, seems to swallow all handlers from stackTest into the > HOME stack, so that they loose all the context of their original stack. > > 3) fields on cards can be accessed IF THE name of the stack is precised each > time. > > So that requires to write handlers in a different way, a standard stack > will break very easily on the server if an implicit ref. to a field is used. > > Any comment? Do I get it right? does "go stack work for some? These things have always been true of all server-related syntax, including the old CGI method. "Go" is a GUI command, and includes an instruction to redraw a card. The server has no GUI, so a redraw throws an error. Instead of "go", just reference the card remotely. Long object names have also always always been required for all server work. The rule of thumb is to always use long object names, never try to navigate within a stack, and always use remote references: go card 1 -- fails go stack "testStack" -- fails get the text of field 1 of card 1 of stack "testStack" -- works The "start using" command has also always been required. It is the only way to implement a library script on a server. I don't think there is a Home stack on a server; there are only libraries that sit behind the web page in the hierarchy. From my old CGI tutorial : Some native Revolution commands that don't work (and may hang your script) are: go - requires a GUI window redraw toplevel - GUI-based modeless (or any other stack modes) - GUI-based create stack (or any file creation) - CGI permissions restriction save stack (errors with "can't open stack backup file") - permissions restriction beep - GUI-based I haven't worked with the new server yet, but since the current directory on the server is outside the CGI-bin folder, creating new stacks and files would be possible, unlike the old CGI method in the tutorial. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon Aug 1 13:32:08 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 01 Aug 2011 12:32:08 -0500 Subject: How do I remove part of a path? In-Reply-To: References: <1312167065.60222.YahooMailClassic@web161617.mail.bf1.yahoo.com> <633b85e9eff084059bbbf042168a2c5b@mfelkerco.com> Message-ID: <4E36E318.8010305@hyperactivesw.com> On 8/1/11 12:44 AM, Admin wrote: > > > Hello again. > > One more. > > What is the correct code to run a file > (in this case, self extracting .exe files) in LiveCode. > > Here are the > code I have written (with help) and it does not work: > > if the platform > is "MacOS" then > open file > "http://www.campstaffusa.com/newdb/uploadpic_swt_mac.exe" > else > open > file "http://www.campstaffusa.com/newdb/uploadpic_swt.exe" > end if > > if > the platform is "MacOS" then > open file > "http://www.campstaffusa.com/newdb/resume_swt_mac.exe" > else > open file > "http://www.campstaffusa.com/newdb/resume_swt.exe" > end if Try "launch url" instead of "open". -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From keith.clarke at clarkeandclarke.co.uk Mon Aug 1 13:48:55 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Mon, 1 Aug 2011 18:48:55 +0100 Subject: LiveCode server single-thread risks and considerations? Message-ID: <80C0CB3D-4E27-494D-9136-BF7059439A82@clarkeandclarke.co.uk> Hi folks, Now that we have a released LiveCode server - and a few experts have climbed the burning rope for mere mortals to follow - I'm about to dive into the LC server goodies my on-rev service. However, I have a sense-check question to the early-adopter community... What are the top-3 (or 5 or 10) risks/gotchas that we need to consider with LiveCode Server's single-threaded architecture - and how do we mitigate these in the somewhat 'exposed-to-nastiness' world of servers? Is there a LiveCode server dos and don'ts list somewhere? Best, Keith.. From capellan2000 at gmail.com Mon Aug 1 13:57:46 2011 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Mon, 1 Aug 2011 10:57:46 -0700 (PDT) Subject: MD5 digest of arrays and controls In-Reply-To: <1B6C8F3A-9BC7-4F25-96DC-6D39C6EF13A1@unimelb.edu.au> References: <1B6C8F3A-9BC7-4F25-96DC-6D39C6EF13A1@unimelb.edu.au> Message-ID: <1312221466254-3710396.post@n4.nabble.com> Hi Terry Terry Judd wrote: > >>> How could I get the MD5digest of an Array and >>> all the properties of a control? > > I guess you could use arrayEncode() first and then get an MD5digest of the > data. > This command works great. Many Thanks! :-D Terry Judd wrote: > >> For example, I created a control, by script, >> and I want to make sure that it's identical >> to another control created by a different script. > > How about copying the objects to the clipboard and then querying the > clipboardData["objects"]. > I am not sure how I could use this code to compare the properties of two controls. Thanks again for your help! Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/MD5-digest-of-arrays-and-controls-tp3708824p3710396.html Sent from the Revolution - User mailing list archive at Nabble.com. From jacque at hyperactivesw.com Mon Aug 1 13:58:49 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 01 Aug 2011 12:58:49 -0500 Subject: Blacklisted In-Reply-To: References: <1312123258.35835.YahooMailClassic@web161616.mail.bf1.yahoo.com> Message-ID: <4E36E959.6000705@hyperactivesw.com> On 8/1/11 11:51 AM, Pete wrote: > As an aside, blacklisting is how I got to know about Livecode (Revolution at > the time). A couple of years back, my email hosts server was blacklisted > and I got involved with the blacklisting service to get it fixed, signing up > on their discussion list. A couple of months later, Heather Nagey had to > deal with the same blacklisting agency and I saw from her email that she was > involved with a software company, looked them up and ended becoming a > customer. Wow. Talk about silver linings. :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From revdev at pdslabs.net Mon Aug 1 13:59:07 2011 From: revdev at pdslabs.net (Phil Davis) Date: Mon, 01 Aug 2011 10:59:07 -0700 Subject: [server] using STACKS within ON-REV In-Reply-To: <1312213248751-3710035.post@n4.nabble.com> References: <1312213248751-3710035.post@n4.nabble.com> Message-ID: <4E36E96B.8020107@pdslabs.net> Hi Robert - On 8/1/11 8:40 AM, Robert Mann wrote: > Hi all, the former thread on the subject got bugged with other > considerations, and I'd like to share results of my tests and check it out, > so that we can have a clear picture of what we can expect from these stacks. > > This is the very simple test I made :: made a simple "teststack.livecode" in > the IDE : it contains 3 cards and 3 fields, and a few test functions. > Dropped it in a test folder on my on-rev account, and added an index.lc file > at the same level. > > problems :: > > 1) go stack DOES NOT work In server scripts, use "set the defaultStack to..." - this have the same effect and will work. -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net From psahores at free.fr Mon Aug 1 14:20:05 2011 From: psahores at free.fr (Pierre Sahores) Date: Mon, 1 Aug 2011 20:20:05 +0200 Subject: [server] using STACKS within ON-REV In-Reply-To: <4E36E2C3.2070708@hyperactivesw.com> References: <1312213248751-3710035.post@n4.nabble.com> <4E36E2C3.2070708@hyperactivesw.com> Message-ID: Hi Friends, Is there some special precautions to take in about global variables management and share between lc flat scripts and the stacks libs referenced on top of the lc script ? My habit is to declare all my global vars on top of both the lc scripts (witch works fine) : > global var1,var2,etc... > > function onef params > ... > end onef > > function twof > ... > end twof > > command onec > ... > end onec > and in the stack script (lib) witch don't seems to be seen by the lc script after i include > start using stack while the stack is clearly well seen by the script (functions no using vars are well executed by the lc script) Where am i wrong and what means that the globals are not dynamically viewable in between the lc scripts and stack-lib.livecode library ? Thanks for any help. I hope not to have to declare each global used by the stack lib below each function / command declaration alike this > function onef > global var1 > ... > end onef Kind regards, Pierre Le 1 ao?t 2011 ? 19:30, J. Landman Gay a ?crit : > On 8/1/11 10:40 AM, Robert Mann wrote: > >> This is the very simple test I made :: made a simple "teststack.livecode" in >> the IDE : it contains 3 cards and 3 fields, and a few test functions. >> Dropped it in a test folder on my on-rev account, and added an index.lc file >> at the same level. >> >> problems :: >> >> 1) go stack DOES NOT work >> >> 2) start using stack, seems to swallow all handlers from stackTest into the >> HOME stack, so that they loose all the context of their original stack. >> >> 3) fields on cards can be accessed IF THE name of the stack is precised each >> time. >> >> So that requires to write handlers in a different way, a standard stack >> will break very easily on the server if an implicit ref. to a field is used. >> >> Any comment? Do I get it right? does "go stack work for some? > > These things have always been true of all server-related syntax, including the old CGI method. "Go" is a GUI command, and includes an instruction to redraw a card. The server has no GUI, so a redraw throws an error. Instead of "go", just reference the card remotely. > > Long object names have also always always been required for all server work. The rule of thumb is to always use long object names, never try to navigate within a stack, and always use remote references: > > go card 1 -- fails > go stack "testStack" -- fails > get the text of field 1 of card 1 of stack "testStack" -- works > > The "start using" command has also always been required. It is the only way to implement a library script on a server. > > I don't think there is a Home stack on a server; there are only libraries that sit behind the web page in the hierarchy. > > From my old CGI tutorial : > > > Some native Revolution commands that don't work (and may hang your script) are: > > go - requires a GUI window redraw > toplevel - GUI-based > modeless (or any other stack modes) - GUI-based > create stack (or any file creation) - CGI permissions restriction > save stack (errors with "can't open stack backup file") - permissions restriction > beep - GUI-based > > > I haven't worked with the new server yet, but since the current directory on the server is outside the CGI-bin folder, creating new stacks and files would be possible, unlike the old CGI method in the tutorial. > > -- > 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 > -- Pierre Sahores mobile : (33) 6 03 95 77 70 www.woooooooords.com www.sahores-conseil.com From stephenREVOLUTION2 at barncard.com Mon Aug 1 14:22:26 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Mon, 1 Aug 2011 11:22:26 -0700 Subject: LiveCode server single-thread risks and considerations? In-Reply-To: <80C0CB3D-4E27-494D-9136-BF7059439A82@clarkeandclarke.co.uk> References: <80C0CB3D-4E27-494D-9136-BF7059439A82@clarkeandclarke.co.uk> Message-ID: I have a good server tip, recommended by Andre: *break things into small processes rather than large crunching routines, use small chunks at at time to give breathing room for other processes.* * * As far as security, Livecode should be at least as secure as PHP. All traces of the code are gone by display time. On 1 August 2011 10:48, Keith Clarke wrote: > Hi folks, > Now that we have a released LiveCode server - and a few experts have > climbed the burning rope for mere mortals to follow - I'm about to dive into > the LC server goodies my on-rev service. However, I have a sense-check > question to the early-adopter community... > > What are the top-3 (or 5 or 10) risks/gotchas that we need to consider with > LiveCode Server's single-threaded architecture - and how do we mitigate > these in the somewhat 'exposed-to-nastiness' world of servers? > > Is there a LiveCode server dos and don'ts list somewhere? > Best, > Keith.. > _______________________________________________ > use-livecode mailing list > use-livecode 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 dunbarx at aol.com Mon Aug 1 14:44:31 2011 From: dunbarx at aol.com (dunbarx at aol.com) Date: Mon, 1 Aug 2011 14:44:31 -0400 (EDT) Subject: A question about using Arrow Keys in a Listbox In-Reply-To: <6D0681AF-85A9-4261-835B-B2D99FFE1F32@mac.com> References: <6D0681AF-85A9-4261-835B-B2D99FFE1F32@mac.com> Message-ID: <8CE1E922F4B868E-16AC-10EEAE@webmail-d169.sysops.aol.com> I see that there are other fields involved, but in any case, check out the "arrowKey" message in the dictionary. It can be used in place of your mouseDown message. You can determine the selectedLine and then use the arrowKey parameters to know which way the user went. Craig Newman on mouseDown global globalFrom put word 2 of the clickline into globalFrom end mouseDown In the second list field (To), I have the following script: on mouseDown global globalFrom global globalTo put word 2 of the clickline into globalTo if globalFrom > "" and globalTo >"" then put globalFrom,GlobalTo into theMatch else answer information "Please make a selection from both list boxes" end if put the dist["travel"] of field "data" into theMatch2 repeat for each line theMatch2 in the dist["travel"] of field "data" if item 1 to 2 of theMatch = item 1 to 2 of theMatch2 then put item 3 theMatch2 into field "results" exit repeat end if end repeat end mouseDown -----Original Message----- From: Charles Szasz To: use-livecode Sent: Mon, Aug 1, 2011 6:15 am Subject: A question about using Arrow Keys in a Listbox I am using Rev. 4.0. I have a mileage app that has two list fields: From and To In the first list field (From) I have the following script: on mouseDown global globalFrom put word 2 of the clickline into globalFrom end mouseDown In the second list field (To), I have the following script: on mouseDown global globalFrom global globalTo put word 2 of the clickline into globalTo if globalFrom > "" and globalTo >"" then put globalFrom,GlobalTo into theMatch else answer information "Please make a selection from both list boxes" end if put the dist["travel"] of field "data" into theMatch2 repeat for each line theMatch2 in the dist["travel"] of field "data" if item 1 to 2 of theMatch = item 1 to 2 of theMatch2 then put item 3 theMatch2 into field "results" exit repeat end if end repeat end mouseDown The script works great when the user clicks on a line in the first field and then clicks in a line from the second field, which displays the mileage between two points in a field "results". I would like to implement in the second list where the user could simply use the arrow keys to go up or down and display the mileage for difference locations in the second list. How can I do that? Charles Szasz cszasz 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 From stephenREVOLUTION2 at barncard.com Mon Aug 1 14:50:24 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Mon, 1 Aug 2011 11:50:24 -0700 Subject: [server] using STACKS within ON-REV In-Reply-To: <4E36E2C3.2070708@hyperactivesw.com> References: <1312213248751-3710035.post@n4.nabble.com> <4E36E2C3.2070708@hyperactivesw.com> Message-ID: Jacque, here is a 'virtual' home stack now in 4.6.3, as described in the recent version notes. This global script is naturally integrated into the existing language structure by being represented as an implicitly created 'Home' stack that sits at the root of the message path - identical to the Home stack in the IDE engine. and ? The 'global script environment' is now a 'home' stack that sits at the root of the message path. This should not cause any problems with existing scripts as previously there was no interaction with the message path at all, so they would not be using it. There's some good reading in the first formal notes about the server. I love this one - I've always wanted to put my scripts after the html ? Script files are now parsed before being executed - this allows the placement of handlers anywhere within the script regardless of where they are called from. (Variables still need to be declared before they are referenced - just like in object scripts - this is because variable scope is not dynamic and is determined at parse-time in order of encounter). On 1 August 2011 10:30, J. Landman Gay wrote: > > > I don't think there is a Home stack on a server; there are only libraries > that sit behind the web page in the hierarchy. > > 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 bobs at twft.com Mon Aug 1 14:59:16 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 1 Aug 2011 11:59:16 -0700 Subject: Blacklisted In-Reply-To: <4E36E959.6000705@hyperactivesw.com> References: <1312123258.35835.YahooMailClassic@web161616.mail.bf1.yahoo.com> <4E36E959.6000705@hyperactivesw.com> Message-ID: We need to get Heather to sign up for more lists and do some evangelizing! :-) Bob On Aug 1, 2011, at 10:58 AM, J. Landman Gay wrote: > On 8/1/11 11:51 AM, Pete wrote: > >> As an aside, blacklisting is how I got to know about Livecode (Revolution at >> the time). A couple of years back, my email hosts server was blacklisted >> and I got involved with the blacklisting service to get it fixed, signing up >> on their discussion list. A couple of months later, Heather Nagey had to >> deal with the same blacklisting agency and I saw from her email that she was >> involved with a software company, looked them up and ended becoming a >> customer. > > Wow. Talk about silver linings. :) > > -- > 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 pmbrig at gmail.com Mon Aug 1 15:01:40 2011 From: pmbrig at gmail.com (Peter Brigham MD) Date: Mon, 1 Aug 2011 15:01:40 -0400 Subject: How do I remove part of a path? In-Reply-To: References: <02BFD806-28F7-48EA-96C2-EC1099C2AAB8@yahoo.com> <1312213100.83194.YahooMailClassic@web161619.mail.bf1.yahoo.com> Message-ID: When you replace item 4 of tStr with empty, you don't delete the item itself, you just make the item empty: put "a/b/c/d/e/f" into k set itemdel to "/" put "" into item 4 of k put k -> a/b/c//e/f What you need to do is delete the item itself: put "a/b/c/d/e/f" into k set itemdel to "/" delete item 4 of k -- note the change put k -> a/b/c/e/f -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Aug 1, 2011, at 1:11 PM, Pete wrote: > Another variant might be: > > replace "/" & item 4 of myURL with empty in myURL > > As an aside, I have found a very frequent need to parse out tab-delimited > strings and had been doing it by setting the itemdelimiter to tab and back > again. I got myself in trouble so many times by forgetting to set the > itemdelimiter back to its original value that I wrote a short handler to do > this: > > function tabItem pitem,pstring > set the itemdelimiter to tab > return item pitem of pstring > end tabItem > > put tabItem(3,myString) into myColumn > > Since the itemdelimiter setting is local to a handler, don't need to > save/reset it. Saved me a few hundred lines of coding and eliminated > itemdelimiter debuggung issues. > > I wish there was a tab-delimited chunk type native to LC. I see there is a > columndelimiter property that is set to tab but I think it's only use is for > combine and split on arrays. Would be great to be able to do "put column 3 > of myString into myColumn". > > Pete > Molly's Revenge > > > > > On Mon, Aug 1, 2011 at 8:38 AM, Michael Kann wrote: > >> Jim, >> Now I get it. Good one-liner. >> Mike >> >> --- On Mon, 8/1/11, Jim Ault wrote: >> >> From: Jim Ault >> Subject: Re: How do I remove part of a path? >> To: "How to use LiveCode" >> Date: Monday, August 1, 2011, 10:28 AM >> >> "itemToParse" is a variable name I created that contains the string, such >> as >> >> "http://domain.com/subfolder/subfolder/page.html" >> >> Sorry about the confusion. >> Perhaps I should have used "tStringOfItemsToParse" >> >> > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Aug 1 15:04:35 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 01 Aug 2011 14:04:35 -0500 Subject: [server] using STACKS within ON-REV In-Reply-To: References: <1312213248751-3710035.post@n4.nabble.com> <4E36E2C3.2070708@hyperactivesw.com> Message-ID: <4E36F8C3.3080307@hyperactivesw.com> On 8/1/11 1:50 PM, stephen barncard wrote: > Jacque, here is a 'virtual' home stack now in 4.6.3, as described in the > recent version notes. Thanks, I shouldn't have speculated before I'm more educated. I didn't know about Phil's suggestion to set the defaultstack either. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From roger.e.eller at sealedair.com Mon Aug 1 15:23:50 2011 From: roger.e.eller at sealedair.com (Roger Eller) Date: Mon, 1 Aug 2011 15:23:50 -0400 Subject: How do I remove part of a path? In-Reply-To: References: <02BFD806-28F7-48EA-96C2-EC1099C2AAB8@yahoo.com> <1312213100.83194.YahooMailClassic@web161619.mail.bf1.yahoo.com> Message-ID: On Mon, Aug 1, 2011 at 3:01 PM, Peter Brigham MD wrote: > When you replace item 4 of tStr with empty, you don't delete the item > itself, you just make the item empty: > > put "a/b/c/d/e/f" into k > set itemdel to "/" > put "" into item 4 of k > put k > > -> a/b/c//e/f > > What you need to do is delete the item itself: > > put "a/b/c/d/e/f" into k > set itemdel to "/" > delete item 4 of k -- note the change > put k > > -> a/b/c/e/f > > -- Peter > > Peter M. Brigham > pmbrig at gmail.com > http://home.comcast.net/~pmbrig > > And Peter wins the prize!!!! That is awesomely simple... "delete" item 4 of k ~Roger From pete at mollysrevenge.com Mon Aug 1 17:30:34 2011 From: pete at mollysrevenge.com (Pete) Date: Mon, 1 Aug 2011 14:30:34 -0700 Subject: Update for Mac + Windows Deployment Message-ID: Just went to download my copy of 4.6.3 and I see there is an "Update Addon" link for my Mac + Windows desktop deployment for $32. Anyone know what changed? Pete Molly's Revenge From pete at mollysrevenge.com Mon Aug 1 17:39:39 2011 From: pete at mollysrevenge.com (Pete) Date: Mon, 1 Aug 2011 14:39:39 -0700 Subject: New Dictionary? Message-ID: I got a runrev newsletter that said a new dictionary shipped with 4.6.3. Just installed 4.6.3 and don;t see anything different. Pete Molly's Revenge From psahores at free.fr Mon Aug 1 17:43:29 2011 From: psahores at free.fr (Pierre Sahores) Date: Mon, 1 Aug 2011 23:43:29 +0200 Subject: [server] using STACKS within ON-REV In-Reply-To: References: <1312213248751-3710035.post@n4.nabble.com> <4E36E2C3.2070708@hyperactivesw.com> Message-ID: <0B5C12AA-FCD5-449C-9AB1-F5268C904967@free.fr> Problem solved : no need to care about the global vars declarations (unchanged). My problem was lying in the fact that LC-Server stacks libs statements needs to be addressed as functions or commands and that direct statements alike : Hi Friends, > > Is there some special precautions to take in about global variables management and share between lc flat scripts and the stacks libs referenced on top of the lc script ? > > My habit is to declare all my global vars on top of both the lc scripts (witch works fine) : > >> global var1,var2,etc... >> >> function onef params >> ... >> end onef >> >> function twof >> ... >> end twof >> >> command onec >> ... >> end onec >> > > and in the stack script (lib) > > witch don't seems to be seen by the lc script after i include > >> start using stack > > > while the stack is clearly well seen by the script (functions no using vars are well executed by the lc script) > > Where am i wrong and what means that the globals are not dynamically viewable in between the lc scripts and stack-lib.livecode library ? > > Thanks for any help. > > I hope not to have to declare each global used by the stack lib below each function / command declaration alike this > >> function onef >> global var1 >> ... >> end onef > > > Kind regards, > > Pierre > > > Le 1 ao?t 2011 ? 19:30, J. Landman Gay a ?crit : > >> On 8/1/11 10:40 AM, Robert Mann wrote: >> >>> This is the very simple test I made :: made a simple "teststack.livecode" in >>> the IDE : it contains 3 cards and 3 fields, and a few test functions. >>> Dropped it in a test folder on my on-rev account, and added an index.lc file >>> at the same level. >>> >>> problems :: >>> >>> 1) go stack DOES NOT work >>> >>> 2) start using stack, seems to swallow all handlers from stackTest into the >>> HOME stack, so that they loose all the context of their original stack. >>> >>> 3) fields on cards can be accessed IF THE name of the stack is precised each >>> time. >>> >>> So that requires to write handlers in a different way, a standard stack >>> will break very easily on the server if an implicit ref. to a field is used. >>> >>> Any comment? Do I get it right? does "go stack work for some? >> >> These things have always been true of all server-related syntax, including the old CGI method. "Go" is a GUI command, and includes an instruction to redraw a card. The server has no GUI, so a redraw throws an error. Instead of "go", just reference the card remotely. >> >> Long object names have also always always been required for all server work. The rule of thumb is to always use long object names, never try to navigate within a stack, and always use remote references: >> >> go card 1 -- fails >> go stack "testStack" -- fails >> get the text of field 1 of card 1 of stack "testStack" -- works >> >> The "start using" command has also always been required. It is the only way to implement a library script on a server. >> >> I don't think there is a Home stack on a server; there are only libraries that sit behind the web page in the hierarchy. >> >> From my old CGI tutorial : >> >> >> Some native Revolution commands that don't work (and may hang your script) are: >> >> go - requires a GUI window redraw >> toplevel - GUI-based >> modeless (or any other stack modes) - GUI-based >> create stack (or any file creation) - CGI permissions restriction >> save stack (errors with "can't open stack backup file") - permissions restriction >> beep - GUI-based >> >> >> I haven't worked with the new server yet, but since the current directory on the server is outside the CGI-bin folder, creating new stacks and files would be possible, unlike the old CGI method in the tutorial. >> >> -- >> 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 >> > > -- > Pierre Sahores > mobile : (33) 6 03 95 77 70 > > www.woooooooords.com > www.sahores-conseil.com > > > > > -- Pierre Sahores mobile : (33) 6 03 95 77 70 www.woooooooords.com www.sahores-conseil.com From dixonja at hotmail.co.uk Mon Aug 1 18:17:36 2011 From: dixonja at hotmail.co.uk (John Dixon) Date: Mon, 1 Aug 2011 23:17:36 +0100 Subject: Playing Audio files in iOS Movie Player Message-ID: Hi? I have been playing with the examples that came with the liveCode externals SDK? especially with 'rrmicrophone'. I works really well, the quality of the recorded file is good and using the play command, can play, stop, pause and resume the sound at will? so far, so good. I would like to be able to use the MPMoviePlayerController to play the files created using the rrmicrophone external to be able to scan forwards and backwards through the audio files, but can't seem to get it to play nicely? In fact, not at all ! Has anyone tried this ?? getting a file created with the rrmicrophone external to play in the player control ? be well Dixie From mikekann at yahoo.com Mon Aug 1 18:30:41 2011 From: mikekann at yahoo.com (Michael Kann) Date: Mon, 1 Aug 2011 15:30:41 -0700 (PDT) Subject: www.ted.com/talks -- anyone watch them? In-Reply-To: <4E36F8C3.3080307@hyperactivesw.com> Message-ID: <1312237841.48320.YahooMailClassic@web161618.mail.bf1.yahoo.com> I've put together a web page to make it easier to navigate the videos at www.ted.com/talks -- especially if your native language is not English. If anyone is interested I'll polish it up and let it loose. Mike From sarah.reichelt at gmail.com Mon Aug 1 18:58:03 2011 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Tue, 2 Aug 2011 08:58:03 +1000 Subject: Notification Manger or Bounce the Dock Icon In-Reply-To: <2CEFF3CB-7A83-465A-8807-DB0651C773EB@mac.com> References: <2CEFF3CB-7A83-465A-8807-DB0651C773EB@mac.com> Message-ID: On Mon, Aug 1, 2011 at 9:50 AM, Bill Vlahos wrote: > How do I trigger the system (Mac, Windows, Linux) notification manager when a dialog box comes up? > > If my program is not the frontmost app and a dialog box comes up, the user won't notice that the application needs attention if other applications are covering the area of the screen showing the dialog box (either as sheet or modal). > > I expected a dialog box to trigger the system notification manager. On the Mac that would be to bounce the dock icon. I thought I read how LC can do this but I can't find it. Shao Sean wrote an external that allows you to set the dock icon bouncing. But I can't find the site - maybe someone else knows where that stuff is now. Cheers, Sarah From tsj at unimelb.edu.au Mon Aug 1 19:20:04 2011 From: tsj at unimelb.edu.au (Terry Judd) Date: Mon, 1 Aug 2011 23:20:04 +0000 Subject: MD5 digest of arrays and controls In-Reply-To: <1312221466254-3710396.post@n4.nabble.com> References: <1B6C8F3A-9BC7-4F25-96DC-6D39C6EF13A1@unimelb.edu.au> <1312221466254-3710396.post@n4.nabble.com> Message-ID: On 02/08/2011, at 03:57 AM, Alejandro Tejada wrote: Hi Terry Terry Judd wrote: How could I get the MD5digest of an Array and all the properties of a control? I guess you could use arrayEncode() first and then get an MD5digest of the data. This command works great. Many Thanks! :-D Terry Judd wrote: For example, I created a control, by script, and I want to make sure that it's identical to another control created by a different script. How about copying the objects to the clipboard and then querying the clipboardData["objects"]. I am not sure how I could use this code to compare the properties of two controls. How about comparing the properties arrays of the two controls In the following example I simply created two identical buttons on a blank stack. They should be identical in almost every respect, the exceptions being their ids their rects and their layers. If you put the properties array of each object into separate variables and delete the elements for those three properties from each variable then the two variables should be equivalent. on compareProps put the properties of btn 1 into t1 put the properties of btn 2 into t2 delete variable t1["id"] delete variable t2["id"] delete variable t1["rect"] delete variable t2["rect"] delete variable t1["layer"] delete variable t2["layer"] put t1 = t2 end compareProps Alternatively, you could simply iterate through the keys of the properties of the two objects and compare the values of the individual properties. Terry... Thanks again for your help! Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/MD5-digest-of-arrays-and-controls-tp3708824p3710396.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 Mon Aug 1 19:45:26 2011 From: bvlahos at mac.com (Bill Vlahos) Date: Mon, 01 Aug 2011 16:45:26 -0700 Subject: Notification Manger or Bounce the Dock Icon In-Reply-To: References: <2CEFF3CB-7A83-465A-8807-DB0651C773EB@mac.com> Message-ID: <9C24EB5C-BC30-44BB-A4E6-D9027E363D60@mac.com> Sarah, Yes I actually have the ssMacExternal from Shao Sean and it works great. I thought I had seen that LC can do this itself and, of course, the external only works on Mac. Unfortunately she has taken the external off the market. Bill Vlahos _________________ InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. On Aug 1, 2011, at 3:58 PM, Sarah Reichelt wrote: > On Mon, Aug 1, 2011 at 9:50 AM, Bill Vlahos wrote: >> How do I trigger the system (Mac, Windows, Linux) notification manager when a dialog box comes up? >> >> If my program is not the frontmost app and a dialog box comes up, the user won't notice that the application needs attention if other applications are covering the area of the screen showing the dialog box (either as sheet or modal). >> >> I expected a dialog box to trigger the system notification manager. On the Mac that would be to bounce the dock icon. I thought I read how LC can do this but I can't find it. > > > Shao Sean wrote an external that allows you to set the dock icon bouncing. > But I can't find the site - maybe someone else knows where that stuff is now. > > Cheers, > Sarah > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 mfelkerco.com Mon Aug 1 20:28:06 2011 From: admin at mfelkerco.com (Admin) Date: Mon, 01 Aug 2011 19:28:06 -0500 Subject: How do I remove part of a =?UTF-8?Q?path=3F?= In-Reply-To: <4E36E318.8010305@hyperactivesw.com> References: <1312167065.60222.YahooMailClassic@web161617.mail.bf1.yahoo.com> <633b85e9eff084059bbbf042168a2c5b@mfelkerco.com> <4E36E318.8010305@hyperactivesw.com> Message-ID: Thank you. Launch URL worked perfectly. Another question - say I have a page that is too long for people - I group all the controls on the page, lock it down and then add the vertical scrollbar - should be fine, right? Nope. Does nothing. Is there any code that I have to write to make the vertical scrollbar scroll the page properly? Mike On Mon, 01 Aug 2011 12:32:08 -0500, J. Landman Gay wrote: > On 8/1/11 12:44 AM, Admin wrote: > >> Hello again. One more. What is the correct code to run a file (in this case, self extracting .exe files) in LiveCode. Here are the code I have written (with help) and it does not work: if the platform is "MacOS" then open file "http://www.campstaffusa.com/newdb/uploadpic_swt_mac.exe [1]" else open file "http://www.campstaffusa.com/newdb/uploadpic_swt.exe [2]" end if if the platform is "MacOS" then open file "http://www.campstaffusa.com/newdb/resume_swt_mac.exe [3]" else open file "http://www.campstaffusa.com/newdb/resume_swt.exe [4]" end if > > Try "launch url" instead of "open". Links: ------ [1] http://www.campstaffusa.com/newdb/uploadpic_swt_mac.exe [2] http://www.campstaffusa.com/newdb/uploadpic_swt.exe [3] http://www.campstaffusa.com/newdb/resume_swt_mac.exe [4] http://www.campstaffusa.com/newdb/resume_swt.exe From rman at free.fr Mon Aug 1 20:59:29 2011 From: rman at free.fr (Robert Mann) Date: Mon, 1 Aug 2011 17:59:29 -0700 (PDT) Subject: [server] using STACKS within ON-REV In-Reply-To: <4E36E96B.8020107@pdslabs.net> References: <1312213248751-3710035.post@n4.nabble.com> <4E36E96B.8020107@pdslabs.net> Message-ID: <1312246769017-3711137.post@n4.nabble.com> Thanks a lot Phil, i thought about it too, and tested it and it gives back the correct path; So great. I further tested -- setting and getting values from fields seem OK -- same for custom props -- find seem to work of http://runtime-revolution.278305.n4.nabble.com/file/n3711137/index.lc index.lc http://runtime-revolution.278305.n4.nabble.com/file/n3711137/stackTest-v1.livecode stackTest-v1.livecode Only remaining problem : go to card x does not seem to work, which is often used to loop from cards. Can be replaced by "put the whatever of card i" within a loop. I anybody wants to try these, I uploaded both files. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/server-using-STACKS-within-ON-REV-tp3710035p3711137.html Sent from the Revolution - User mailing list archive at Nabble.com. From mwieder at ahsoftware.net Mon Aug 1 21:00:23 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 1 Aug 2011 18:00:23 -0700 Subject: carrying a global variable from stack to sub stack In-Reply-To: <6B48C716-4355-4957-AB0D-1D3949C5E5AE@twft.com> References: <1312060134258-3706864.post@n4.nabble.com> <8632aaae54a6aecd62fdd741c3a1578a@mfelkerco.com> <016101cc4f00$8b170e00$a1452a00$@com> <6B48C716-4355-4957-AB0D-1D3949C5E5AE@twft.com> Message-ID: <11031835406.20110801180023@ahsoftware.net> Bob- Monday, August 1, 2011, 9:39:37 AM, you wrote: > Hi Admin. (Did your parents really name you "Admin"??) ;-) http://xkcd.com/327/ -- -Mark Wieder mwieder at ahsoftware.net From rman at free.fr Mon Aug 1 21:01:56 2011 From: rman at free.fr (Robert Mann) Date: Mon, 1 Aug 2011 18:01:56 -0700 (PDT) Subject: [server] using STACKS within ON-REV In-Reply-To: <1312246769017-3711137.post@n4.nabble.com> References: <1312213248751-3710035.post@n4.nabble.com> <4E36E96B.8020107@pdslabs.net> <1312246769017-3711137.post@n4.nabble.com> Message-ID: <1312246916757-3711139.post@n4.nabble.com> index.lc http://runtime-revolution.278305.n4.nabble.com/file/n3711139/index.lc index.lc -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/server-using-STACKS-within-ON-REV-tp3710035p3711139.html Sent from the Revolution - User mailing list archive at Nabble.com. From niconiko at gmail.com Mon Aug 1 21:09:12 2011 From: niconiko at gmail.com (Nicolas Cueto) Date: Tue, 2 Aug 2011 10:09:12 +0900 Subject: socket timeout on Windows 7 Message-ID: Hi. Just moved to Window 7 Ultimate. Standalones and stacks that were working under WinXP, aren't. (Aaargh!) I'm hoping someone who knows Win7 can explain why the following bit of script which works under WinXP and Win2k would suddenly not work: case "select all the numbers, the names in full, and their classes" put tPwd & cr & tQueryType & cr & gSchoolNumber into tQueryFormat post tQueryFormat to URL tURL put the result into tSocketMsg put it into tSQLResult break I've made sure to turn off firewalls (even though it's the same firewall software on my WinXp machine), as well as turn off Win7's "User Account Control Settings". Please note too that I'm aware of -- and quite confused by -- the Vista/Win7's "VirtualStore" problem that's been addressed here in the past, in particular Ken Ray's summation at http://www.sonsothunder.com/devres/revolution/tips/env007.htm. Basically, aaargh! -- Nicolas Cueto From admin at mfelkerco.com Mon Aug 1 21:18:39 2011 From: admin at mfelkerco.com (Admin) Date: Mon, 01 Aug 2011 20:18:39 -0500 Subject: carrying a global variable from stack to sub stack In-Reply-To: <11031835406.20110801180023@ahsoftware.net> References: <1312060134258-3706864.post@n4.nabble.com> <8632aaae54a6aecd62fdd741c3a1578a@mfelkerco.com> <016101cc4f00$8b170e00$a1452a00$@com> <6B48C716-4355-4957-AB0D-1D3949C5E5AE@twft.com> <11031835406.20110801180023@ahsoftware.net> Message-ID: No, that's just my main email address all my other email addresses forward to. It's a long story. Mike On Mon, 1 Aug 2011 18:00:23 -0700, Mark Wieder wrote: > Bob- > > Monday, August 1, 2011, 9:39:37 AM, you wrote: > >> Hi Admin. (Did your parents really name you "Admin"??) ;-) > > http://xkcd.com/327/ [1] Links: ------ [1] http://xkcd.com/327/ From admin at mfelkerco.com Mon Aug 1 21:19:31 2011 From: admin at mfelkerco.com (Admin) Date: Mon, 01 Aug 2011 20:19:31 -0500 Subject: socket timeout on Windows 7 In-Reply-To: References: Message-ID: <8551f96bf0fa68b2ec5212a8878fa77c@mfelkerco.com> Probably because it's 64 bit. I don't think livecode is 64 bit ready - and the revlet player sure isn't. Mike On Tue, 2 Aug 2011 10:09:12 +0900, Nicolas Cueto wrote: > Hi. > > Just moved to Window 7 Ultimate. Standalones and stacks that were > working under WinXP, aren't. (Aaargh!) > > I'm hoping someone who knows Win7 can explain why the following bit of > script which works under WinXP and Win2k would suddenly not work: > > case "select all the numbers, the names in full, and their classes" > put tPwd & cr & tQueryType & cr & gSchoolNumber into tQueryFormat > post tQueryFormat to URL tURL > put the result into tSocketMsg > put it into tSQLResult > break > > I've made sure to turn off firewalls (even though it's the same > firewall software on my WinXp machine), as well as turn off Win7's > "User Account Control Settings". Please note too that I'm aware of -- > and quite confused by -- the Vista/Win7's "VirtualStore" problem > that's been addressed here in the past, in particular Ken Ray's > summation at http://www.sonsothunder.com/devres/revolution/tips/env007.htm [1]. > > Basically, aaargh! > > -- > Nicolas Cueto > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com [2] > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode [3] Links: ------ [1] http://www.sonsothunder.com/devres/revolution/tips/env007.htm [2] mailto:use-livecode at lists.runrev.com [3] http://lists.runrev.com/mailman/listinfo/use-livecode From niconiko at gmail.com Mon Aug 1 21:25:36 2011 From: niconiko at gmail.com (Nicolas Cueto) Date: Tue, 2 Aug 2011 10:25:36 +0900 Subject: socket timeout on Windows 7 In-Reply-To: <8551f96bf0fa68b2ec5212a8878fa77c@mfelkerco.com> References: <8551f96bf0fa68b2ec5212a8878fa77c@mfelkerco.com> Message-ID: > Probably because it's 64 bit. My install of Win7 is 32 bit. -- Nicolas Cueto From mikekann at yahoo.com Mon Aug 1 21:32:17 2011 From: mikekann at yahoo.com (Michael Kann) Date: Mon, 1 Aug 2011 18:32:17 -0700 (PDT) Subject: socket timeout on Windows 7 In-Reply-To: Message-ID: <1312248737.41054.YahooMailClassic@web161617.mail.bf1.yahoo.com> Vista has Windows Defender. Perhaps Windows 7 does also and it is defending against something you want to do. Mike --- On Mon, 8/1/11, Nicolas Cueto wrote: From: Nicolas Cueto Subject: Re: socket timeout on Windows 7 To: "How to use LiveCode" Date: Monday, August 1, 2011, 8:25 PM > Probably because it's 64 bit. My install of Win7 is 32 bit. -- 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 bruceap at comcast.net Mon Aug 1 21:35:01 2011 From: bruceap at comcast.net (Bruce Pokras) Date: Mon, 1 Aug 2011 21:35:01 -0400 Subject: [server] using STACKS within ON-REV In-Reply-To: <1312246916757-3711139.post@n4.nabble.com> References: <1312213248751-3710035.post@n4.nabble.com> <4E36E96B.8020107@pdslabs.net> <1312246769017-3711137.post@n4.nabble.com> <1312246916757-3711139.post@n4.nabble.com> Message-ID: On Aug 1, 2011, at 9:01 PM, Robert Mann wrote: > index.lc > http://runtime-revolution.278305.n4.nabble.com/file/n3711139/index.lc > index.lc > Nothing but a blank page in Safari on Snow Leopard 10.6.4. Was that link supposed to perform some action? From pete at mollysrevenge.com Mon Aug 1 21:38:55 2011 From: pete at mollysrevenge.com (Pete) Date: Mon, 1 Aug 2011 18:38:55 -0700 Subject: How do I remove part of a path? In-Reply-To: References: <1312167065.60222.YahooMailClassic@web161617.mail.bf1.yahoo.com> <633b85e9eff084059bbbf042168a2c5b@mfelkerco.com> <4E36E318.8010305@hyperactivesw.com> Message-ID: Shouldn't have to write any code. If you grouped all the objects and left the group's height to what the IDE set, the scrollbar would be inactive because all the objects fit within the group even though they may not fit on the card. If so, just make the height of the group less than the height of the card and the scrollbar should start functioning. Pete Molly's Revenge On Mon, Aug 1, 2011 at 5:28 PM, Admin wrote: > > > Thank you. Launch URL worked perfectly. > > Another question - say I > have a page that is too long for people - I group all the controls on > the page, lock it down and then add the vertical scrollbar - should be > fine, right? Nope. Does nothing. Is there any code that I have to write > to make the vertical scrollbar scroll the page properly? > > Mike > > On > Mon, 01 Aug 2011 12:32:08 -0500, J. Landman Gay wrote: > > > On 8/1/11 > 12:44 AM, Admin wrote: > > > >> Hello again. One more. What is the correct > code to run a file (in this case, self extracting .exe files) in > LiveCode. Here are the code I have written (with help) and it does not > work: if the platform is "MacOS" then open file > "http://www.campstaffusa.com/newdb/uploadpic_swt_mac.exe [1]" else open > file "http://www.campstaffusa.com/newdb/uploadpic_swt.exe [2]" end if if > the platform is "MacOS" then open file > "http://www.campstaffusa.com/newdb/resume_swt_mac.exe [3]" else open > file "http://www.campstaffusa.com/newdb/resume_swt.exe [4]" end if > > > > > Try "launch url" instead of "open". > > > > Links: > ------ > [1] > http://www.campstaffusa.com/newdb/uploadpic_swt_mac.exe > [2] > http://www.campstaffusa.com/newdb/uploadpic_swt.exe > [3] > http://www.campstaffusa.com/newdb/resume_swt_mac.exe > [4] > http://www.campstaffusa.com/newdb/resume_swt.exe > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Aug 1 21:49:47 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 01 Aug 2011 20:49:47 -0500 Subject: How do I remove part of a path? In-Reply-To: References: <1312167065.60222.YahooMailClassic@web161617.mail.bf1.yahoo.com> <633b85e9eff084059bbbf042168a2c5b@mfelkerco.com> <4E36E318.8010305@hyperactivesw.com> Message-ID: <4E3757BB.9050509@hyperactivesw.com> On 8/1/11 7:28 PM, Admin wrote: > Another question - say I > have a page that is too long for people - I group all the controls on > the page, lock it down and then add the vertical scrollbar - should be > fine, right? Nope. Does nothing. Is there any code that I have to write > to make the vertical scrollbar scroll the page properly? If you placed a scrollbar object from the tool palette, that does need to be scripted, but for a group you don't need it. Just turn on the group's vertical scrollbar in the Basic pane of the group's property inspector, and it will all work automatically. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From rman at free.fr Mon Aug 1 22:08:11 2011 From: rman at free.fr (Robert Mann) Date: Mon, 1 Aug 2011 19:08:11 -0700 (PDT) Subject: [server] using STACKS within ON-REV In-Reply-To: References: <1312213248751-3710035.post@n4.nabble.com> <4E36E96B.8020107@pdslabs.net> <1312246769017-3711137.post@n4.nabble.com> <1312246916757-3711139.post@n4.nabble.com> Message-ID: <1312250891092-3711190.post@n4.nabble.com> These are two file to test how stack perform with the server... so they need to be put on a folder on your on-rev server. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/server-using-STACKS-within-ON-REV-tp3710035p3711190.html Sent from the Revolution - User mailing list archive at Nabble.com. From niconiko at gmail.com Mon Aug 1 22:41:46 2011 From: niconiko at gmail.com (Nicolas Cueto) Date: Tue, 2 Aug 2011 11:41:46 +0900 Subject: socket timeout on Windows 7 In-Reply-To: <1312248737.41054.YahooMailClassic@web161617.mail.bf1.yahoo.com> References: <1312248737.41054.YahooMailClassic@web161617.mail.bf1.yahoo.com> Message-ID: Figured it out! (Or at least, I sure hope so.) Adjusted my firewall software's "excepted websites" configuration (But during previous testing I'd used the software's "Disable" function?!). Thanks all the same. -- Nicolas Cueto From chipp at chipp.com Tue Aug 2 00:08:16 2011 From: chipp at chipp.com (Chipp Walters) Date: Mon, 1 Aug 2011 23:08:16 -0500 Subject: [OT] Unboxing the Acer Android Tablet Message-ID: I purchased an Acer Iconia Tab Android 32GB tablet today which we will use in working on the Android app for a client project. Even though it will eventually be in Chris's hands, I am 'unboxing' it tonight before giving it to him tomorrow. Yes, I also unwrap and play with my child's toys before rewrapping and placing them under the Christmas tree - (at least the ones I *really* like). Couple of observations: - The screen is amazing. Much better and much higher resolution than my iPad2: Nvidia Tegra 2, 10.1-inch, 1280 x 800 WXGA screen with an aspect ratio of 16:10 - First thing it did was notify me there was an update-- and that it would/could download it immediately and install it. Wow. Big difference from having to doc to iTunes, wait 45 minutes to sync, then say yes to install the update, wait another 30 minutes to download and install, then transfer back all the data etc. It all happens in much, MUCH less time than on an iPad. Hopefully, iOS 5 will be like this. - Absolute super touch screen. Same technology as Apple and the NVIDIA display response is just incredible. Never a wait on anything. Watching HD YouTube videos was amazing. - Launched the browser and there was a microphone next to search, so I clicked and spoke, "Acer Iconia Review" and it instantly recognized and provided the correct links. Sweet! - Went to the App store, and there were quite a few familiar apps there. I installed rdio, pandora, and a wallpaper-- except none of them installed. Turns out when you install an app, it's sorta like a Kindle where you have to "TELL" the Android App Store what device to "PUSH" the install to. Certainly not that transparent to first time users. - And speaking of first time users, I'm not sure everything is quite a simple and "just works" as iOS does. It will certainly be interesting to figure out how to provision for this device. So far, I've been able to navigate around, but have quite a few questions. Like, for instance, the Gmail browser client is worse than horrible. It's not even as good as the iPad, but instead shows the iPhone mobile interface, which pretty much sucks. While I'm sure there's a fix, I'm not sure where to find it. But, it does seem to be more Windows like and less Mac like in that it has many more settings and configuration options. Plus (big plus) it has both micro and full USB slots for memory storage along with built in micro-HDMI. Both front and rear facing cameras are significantly higher quality than iPad2, and I'm praying they work with Skype, which would be huge. The price was right, too. It was around $430 for a 32 GB WiFi version at Costco. Supposedly there's a sister model with AT&T 3G/4G. That's significantly less than the iPad2 32Gb WiFi which goes for around $600. It will be interesting to see how well the Android can compete with regard to decent apps. -- Chipp Walters CEO, Shafer Walters Group, Inc. From coiin at verizon.net Tue Aug 2 00:20:11 2011 From: coiin at verizon.net (Colin Holgate) Date: Tue, 02 Aug 2011 00:20:11 -0400 Subject: [OT] Unboxing the Acer Android Tablet In-Reply-To: References: Message-ID: A couple of things you say don't seem quite right, but I'll reply to those points tomorrow. Unfortunately the Acer doesn't charge over USB, so if you let it run down, as it did while I was away for a week, you have a device that can't be run. The power adapter isn't powerful enough to power the device if it's run down, so I'll have to leave it on charge over night to then be able to look at the things I want to comment on. From jacque at hyperactivesw.com Tue Aug 2 00:30:29 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 01 Aug 2011 23:30:29 -0500 Subject: [OT] Unboxing the Acer Android Tablet In-Reply-To: References: Message-ID: <4E377D65.4030700@hyperactivesw.com> On 8/1/11 11:20 PM, Colin Holgate wrote: > Unfortunately the Acer doesn't charge over USB My Archos didn't either, until I bought a USB charger cable for six bucks on ebay. It works. You can't buy them in the U.S., they have to come over from China, but it's worth the 10 day wait. I'm sorry I don't have a link, but I'm sure a search would find it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mwieder at ahsoftware.net Tue Aug 2 01:20:05 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 1 Aug 2011 22:20:05 -0700 Subject: www.ted.com/talks -- anyone watch them? In-Reply-To: <1312237841.48320.YahooMailClassic@web161618.mail.bf1.yahoo.com> References: <1312237841.48320.YahooMailClassic@web161618.mail.bf1.yahoo.com> Message-ID: <631047416921.20110801222005@ahsoftware.net> Mike- Monday, August 1, 2011, 3:30:41 PM, you wrote: > I've put together a web page to make it easier to navigate the > videos at www.ted.com/talks -- especially if your native language is > not English. If anyone is interested I'll polish it up and let it > loose. Do. Someone made a big globe spinny thing that let you select ted talks that look interesting, but I can't find it now. And of course, there's http://get-tedpad.com/index.html -- -Mark Wieder mwieder at ahsoftware.net From chipp at chipp.com Tue Aug 2 01:36:35 2011 From: chipp at chipp.com (Chipp Walters) Date: Tue, 2 Aug 2011 00:36:35 -0500 Subject: [OT] Unboxing the Acer Android Tablet In-Reply-To: References: Message-ID: I suspect, just like the iPad, it requires a larger and higher rated USB transformer in order to work. I'm stunned at how unusable Gmail is from the browser. I can't imagine this is anything close to the intended experience. It takes SERIOUSLY many seconds for the typing to'catch up' and the cusor isn't even close to he inteded position its supposed to be at. Andyou can all but forget trying to position the cursor as its just about impossible to get it right, (thus the many errors in this reply). I suspect there must be some sort of Google sanctionedapp for all of this as it is completely unusable in its current form. On Monday, August 1, 2011, Colin Holgate wrote: > A couple of things you say don't seem quite right, but I'll reply to those points tomorrow. Unfortunately the Acer doesn't charge over USB, so if you let it run down, as it did while I was away for a week, you have a device that can't be run. The power adapter isn't powerful enough to power the device if it's run down, so I'll have to leave it on charge over night to then be able to look at the things I want to comment on. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Chipp Walters CEO, Shafer Walters Group, Inc. From lfredricks at proactive-intl.com Tue Aug 2 01:59:49 2011 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Mon, 1 Aug 2011 22:59:49 -0700 Subject: [OT] Unboxing the Acer Android Tablet In-Reply-To: References: Message-ID: <2A9DBF75990540D7A0A63EC9741BA9A7@GATEWAY> > But, it does seem to be more Windows like and less Mac like > in that it has many more settings and configuration options. > Plus (big plus) it has both micro and full USB slots for > memory storage along with built in micro-HDMI. > Both front and rear facing cameras are significantly higher > quality than iPad2, and I'm praying they work with Skype, > which would be huge. Chipp, have you tried plugging in random USB devices (mice, etc) to see if there's any sort of plug-n-play/pray like experience? That's something Ive wondered about. It would be nice to be able to attach whatever input devices one already has. Ive been giving thought to papa's first tablet... Best regards, Lynn Fredricks President Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server From chipp at chipp.com Tue Aug 2 02:09:33 2011 From: chipp at chipp.com (Chipp Walters) Date: Tue, 2 Aug 2011 01:09:33 -0500 Subject: [OT] Unboxing the Acer Android Tablet In-Reply-To: <2A9DBF75990540D7A0A63EC9741BA9A7@GATEWAY> References: <2A9DBF75990540D7A0A63EC9741BA9A7@GATEWAY> Message-ID: Ok, sounds good, I'll check it out. 1 of the nice things about the keyboard is it has this microphone controls wixom speaking into right now Listen to everything exactly right. But columbia does school is going well. I get that looks like I will not be using the microphone is that a bit my boys text for now. On Tuesday, August 2, 2011, Lynn Fredricks wrote: >> But, it does seem to be more Windows like and less Mac like >> in that it has many more settings and configuration options. >> Plus (big plus) it has both micro and full USB slots for >> memory storage along with built in micro-HDMI. >> Both front and rear facing cameras are significantly higher >> quality than iPad2, and I'm praying they work with Skype, >> which would be huge. > > Chipp, have you tried plugging in random USB devices (mice, etc) to see if > there's any sort of plug-n-play/pray like experience? That's something Ive > wondered about. It would be nice to be able to attach whatever input devices > one already has. > > Ive been giving thought to papa's first tablet... > > Best regards, > > Lynn Fredricks > President > Paradigma Software > http://www.paradigmasoft.com > > Valentina SQL Server: The Ultra-fast, Royalty Free Database Server > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Chipp Walters CEO, Shafer Walters Group, Inc. From ruslan_zasukhin at valentina-db.com Tue Aug 2 02:12:56 2011 From: ruslan_zasukhin at valentina-db.com (Ruslan Zasukhin) Date: Tue, 02 Aug 2011 09:12:56 +0300 Subject: [OT] Unboxing the Acer Android Tablet In-Reply-To: <2A9DBF75990540D7A0A63EC9741BA9A7@GATEWAY> Message-ID: On 8/2/11 8:59 AM, "Lynn Fredricks" wrote: >> But, it does seem to be more Windows like and less Mac like >> in that it has many more settings and configuration options. >> Plus (big plus) it has both micro and full USB slots for >> memory storage along with built in micro-HDMI. >> Both front and rear facing cameras are significantly higher >> quality than iPad2, and I'm praying they work with Skype, >> which would be huge. > > Chipp, have you tried plugging in random USB devices (mice, etc) to see if > there's any sort of plug-n-play/pray like experience? That's something Ive > wondered about. It would be nice to be able to attach whatever input devices > one already has. > > Ive been giving thought to papa's first tablet... As for me -- ipad is best of the best. 2-3 heads ahead. All this hardware "bonuses" cost nothing actually. I never was need insert flash into iPad :) ... Why ? Well, may be only if person have in home only ipad? But ipad is not replacement to macbook, it is one more tool, which you should have in home: TV, router, desktop, macbook, ipad, iphone :-) Each device have own target. -------- And only yesterday I have read one more article Which describes how bad bad bad are sales of android tablets ... They really cannot hump to level even of iPad1 technically. IMO, if you love your father -- buy for him at least iPad 1, At least used ... Will be much more pleasure and use for person. Now iPad 1 can be found near to 200-300 in USA, right? Btw, I also going present iPad to parents, First of all because it allow easy and nice zoom text to read. -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From chipp at altuit.com Tue Aug 2 02:35:31 2011 From: chipp at altuit.com (Chipp Walters) Date: Tue, 2 Aug 2011 01:35:31 -0500 Subject: [OT] Unboxing the Acer Android Tablet In-Reply-To: <2A9DBF75990540D7A0A63EC9741BA9A7@GATEWAY> References: <2A9DBF75990540D7A0A63EC9741BA9A7@GATEWAY> Message-ID: Hey Lynn, I'm typing this from a standard USB keyboard which I just plugged into the side of my Android. And I can use a standard USB mouse to click the send button. Miraculously, when you attach keyboard and a mouse, this thing turns into a PC. The onscreen keyboard goes away and an arrow cursor appears, which you control via the mouse just like expected. Pretty cool. iPad certainly can't do THAT. Even so, I've checked the Android App Store and it's predictably pretty lame. Why can't Google, with all the billions and billions, create some killer Android Apps, like Apple does for iPad? There's really no good PowerPoint clone that I can see, nor is there any decent sketch note taking apps, for which there are a couple on iPad. That said, it appears there's not enough money for devs for such apps, even on the iPad. I've noticed the top 3 to 4 note apps on iPad have pretty much ceased all development for quite some time now. And none of them are what I would consider 'professional' apps. I guess you can't survive on charging a buck ninety-nine per app. I suspect, I too, would quit free updates for my customers after two or three trys. Still a long way to go before this is all worked out. On Aug 2, 2011 1:03 AM, "Lynn Fredricks" wrote: >> But, it does seem to be more Windows like and less Mac like >> in that it has many more settings and configuration options. >> Plus (big plus) it has both micro and full USB slots for >> memory storage along with built in micro-HDMI. >> Both front and rear facing cameras are significantly higher >> quality than iPad2, and I'm praying they work with Skype, >> which would be huge. > > Chipp, have you tried plugging in random USB devices (mice, etc) to see if > there's any sort of plug-n-play/pray like experience? That's something Ive > wondered about. It would be nice to be able to attach whatever input devices > one already has. > > Ive been giving thought to papa's first tablet... > > Best regards, > > Lynn Fredricks > President > Paradigma Software > http://www.paradigmasoft.com > > Valentina SQL Server: The Ultra-fast, Royalty Free Database Server > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Tue Aug 2 02:42:47 2011 From: gerry.orkin at gmail.com (Gerry Orkin) Date: Tue, 2 Aug 2011 16:42:47 +1000 Subject: [OT] Unboxing the Acer Android Tablet In-Reply-To: References: <2A9DBF75990540D7A0A63EC9741BA9A7@GATEWAY> Message-ID: <620EB071-E11D-472A-B795-1F0B2515FFBB@gmail.com> I think it can, if it's jailbroken. Gerry On 02/08/2011, at 4:35 PM, Chipp Walters wrote: > iPad certainly can't do THAT. From chipp at altuit.com Tue Aug 2 02:50:38 2011 From: chipp at altuit.com (Chipp Walters) Date: Tue, 2 Aug 2011 01:50:38 -0500 Subject: [OT] Unboxing the Acer Android Tablet In-Reply-To: <620EB071-E11D-472A-B795-1F0B2515FFBB@gmail.com> References: <2A9DBF75990540D7A0A63EC9741BA9A7@GATEWAY> <620EB071-E11D-472A-B795-1F0B2515FFBB@gmail.com> Message-ID: After Apple bricked some jail-broke iPhones a couple years back, I don't recommend to anyone to jailbreak Apple devices. On Aug 2, 2011 1:45 AM, "Gerry Orkin" wrote: > I think it can, if it's jailbroken. > > Gerry > > On 02/08/2011, at 4:35 PM, Chipp Walters wrote: > >> iPad certainly can't do 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 keith at gulfbreezeortholab.com Tue Aug 2 03:24:35 2011 From: keith at gulfbreezeortholab.com (Keith (Gulf Breeze Ortho Lab)) Date: Tue, 2 Aug 2011 02:24:35 -0500 Subject: What is the best/fastest way to extract strings of text? Message-ID: <5BD44D3C75A94DBE97825153AD2B1202@KeithPC> Hello, I am still playing with LiveCode and am now exploring chunks... My question is as follows. Suppose I have a variable with a lot of text. Throughout the text I have various strings, separated by consistent tags, that I need to extract. For example, the following text is in the variable myVar: The boy <#B>went to the store<#E>. He enjoyed his day out. The woman loves <#B>shopping at the mall<#E>. So do I. The girl loves <#E>eating at the restaurant<#E>. So does he. I am looking for the most efficient way to extract each of the strings of text between the <#B> and <#E> tags... I presume I will have to use a loop and the matchChunk function? I have experimented but am having a problem putting starting and ending positions into variables. Is there a better way to accomplish the above? Thanks! - Boo From keith.clarke at clarkeandclarke.co.uk Tue Aug 2 04:01:06 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Tue, 2 Aug 2011 09:01:06 +0100 Subject: What is the best/fastest way to extract strings of text? In-Reply-To: <5BD44D3C75A94DBE97825153AD2B1202@KeithPC> References: <5BD44D3C75A94DBE97825153AD2B1202@KeithPC> Message-ID: <5D05E4E5-AC3B-4257-BE22-8EBDF94CEBC7@clarkeandclarke.co.uk> The recipe I (learned here and) use with extracting specific HTML / XML elements is to get the specific target elements on their own line, remove the unwanted lines and then move the target string items in the remaining lines out into a separate variable - something like... 1. Get the target elements into their own line by prefixing the opening tag with return, using: replace "<#B>" with return & "<#B>" in theSource 2. Get the closing tag onto its own line by adding a return suffix, using: replace "<#E>" with "<#E>" & return in theSource 2. Remove the unwanted lines, (that lack the specific opening tag) using: filter theSource with "<#B>" 3. Delimit the line into items at the '>' character, using: set the item delimiters to numtochar(62) 4. Iterate through the list to extract the string, using: repeat for each line l in theSource put item 2 and return after theExtract end repeat 5. Clean-up the extract of any extra returns, using: filter theExtract without empty If (my pre-coffee brain worked) theExtract should contain the tagged strings in theSource. ...hmmm, talking of coffee... Best, Keith.. On 2 Aug 2011, at 08:24, Keith (Gulf Breeze Ortho Lab) wrote: > Hello, > > I am still playing with LiveCode and am now exploring chunks... > > My question is as follows. Suppose I have a variable with a lot of text. Throughout the text I have various strings, separated by consistent tags, that I need to extract. > > For example, the following text is in the variable myVar: > > The boy <#B>went to the store<#E>. He enjoyed his day out. > > The woman loves <#B>shopping at the mall<#E>. So do I. > > The girl loves <#E>eating at the restaurant<#E>. So does he. > > I am looking for the most efficient way to extract each of the strings of text between the <#B> and <#E> tags... I presume I will have to use a loop and the matchChunk function? I have experimented but am having a problem putting starting and ending positions into variables. > > Is there a better way to accomplish the above? > > Thanks! > > - Boo > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Tue Aug 2 04:22:10 2011 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Tue, 2 Aug 2011 01:22:10 -0700 Subject: [OT] Unboxing the Acer Android Tablet In-Reply-To: References: <2A9DBF75990540D7A0A63EC9741BA9A7@GATEWAY> Message-ID: > That said, it appears there's not enough money for devs for > such apps, even on the iPad. I've noticed the top 3 to 4 note > apps on iPad have pretty much ceased all development for > quite some time now. And none of them are what I would > consider 'professional' apps. I guess you can't survive on > charging a buck ninety-nine per app. I suspect, I too, would > quit free updates for my customers after two or three trys. There are a lot of single developers out there who, despite their education never figured out how to do the math ;-) Best regards, Lynn Fredricks President Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server From toolbook at kestner.de Tue Aug 2 05:04:10 2011 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Tue, 2 Aug 2011 11:04:10 +0200 Subject: Need advice with Lion permission changes Message-ID: <001a01cc50f3$2837c3c0$78a74b40$@de> Hello, I have stored several files of my app in /library/preferences/ because they should be accessible for all users. One file is a registration file, which doesn't make sense in the users folder and on the other hand I have 8GB of video files, which I obviously want to share for all users and didn't wanted to put into the apps folder, because of my update mechanism. As we have learned, Lion has changed the permissions and now I am in trouble, my software can't be installed anymore on Lion. I have read all the threads regarding the Lion changes, and what I can see is that you can actually store your files only in the users preferences ~/library/preferences/ or within your bundle or doing some chmod thru the backdoor. I am pretty much puzzled and helpless. My questions are: 1. What about the apple guidelines with Joshs approach to create a folder within /library/preferences/ and open it with chmod for all users? Are there any other pitfalls with it? Will the user be prompted to grant it or can this be done under the hood? Could this create any other trouble on Lion later on? 2. What about the /applications/ folder? Could I create a folder like /applications/myFolder/myFiles to put my common files into that? What about the rights and permissions on that? What about the apple guidelines on that? 3. Another approach could be that the first user creates all files in his ~/library/preferences/, move them with mv to the common /library/preferences/, where the next user copies them back into his ~/library/preferences/. I can't believe that this could be wanted by apple? 4. Is there really no common place any more in Lion where to create and modify files for all users? How do other apps it? Am I the only one who has common files? 5. I don't understand the sense of /library/preferences/ (for all users) if you can't work with it anymore, what is the sense of this folder? Thank you for any statement, which helps me finding the straight forward way. Tiemo From shaosean at wehostmacs.com Tue Aug 2 05:23:29 2011 From: shaosean at wehostmacs.com (Shao Sean) Date: Tue, 2 Aug 2011 05:23:29 -0400 Subject: Need advice with Lion permission changes Message-ID: <5934E0F4-3DC6-4B40-827D-88957567B6B8@wehostmacs.com> As previously mentioned: ? /Library (Mac OS X only)?Applications that share resources between users store those resources in this version of the Library directory. Sandboxed application are not permitted to use this directory. "Sandboxed applications" are apps from the Mac App store.. If the end user is downloading from your site then you can use that directory.. If you are going through the Mac App store you can use the following info: Your application must adhere to the following requirements: ? You may use Apple frameworks such as User Defaults, Calendar Store, and Address Book that implicitly write to files in specific locations, including locations is not allowed to access directly. ? Your application may write to temporary paths that you acquire using the appropriate Apple programming interfaces. ? Your application may write to the following directories: ? ~/Library/Application Support/ ? ~/Library/ ? ~/Library/Caches/ where is your application's bundle identifier, its name, or your company?s name. This must exactly match what is in iTunes Connect for the application. So it looks like you should move your shared files from /Library/ Preferences to /Library/Application Support/ regardless if you are using the Mac App store or direct downloads.. From coiin at verizon.net Tue Aug 2 07:01:06 2011 From: coiin at verizon.net (Colin Holgate) Date: Tue, 02 Aug 2011 07:01:06 -0400 Subject: [OT] Unboxing the Acer Android Tablet In-Reply-To: <4E377D65.4030700@hyperactivesw.com> References: <4E377D65.4030700@hyperactivesw.com> Message-ID: <8B623E48-D7BC-4926-A879-143E550C7A3A@verizon.net> I had hoped that like the iPad it might charge over the fat USB cable, and I did eventually try that (surprising how hard it is to find a USB type A to type A lead), but it wouldn't charge. I was wrong about the power adapter not being strong enough, I was using the wrong one! With the right one it powers ok while it charges, but it doesn't allow system updates until the battery is at 30% charge. The main things Chipp said that seemed wrong was about the screen. I've seen colleagues who use their iPad at the default energy saving brightness, they just don't know how amazingly bright the iPad screen can be! I can imagine that if you compare that against the Acer that you might think the Acer was better, but the iPad at it's full brightness makes most Android screens look dull. The Acer isn't dull, but it isn't better than the iPad. And the resolution isn't "much" better. The wide screen can be useful when playing Angry Birds Rio levels, but the actual DPI is only 149 versus 132. 132 is already fairly high, and unless I wear reading glasses and try to look for differences, I wouldn't describe the extra 12% as being that much better. Playing Rio can get very choppy on the Acer, I'm curious whether the new system update will help that. I'm still only at 19% charge, so it won't let me do the update yet. On Aug 2, 2011, at 12:30 AM, J. Landman Gay wrote: >> Unfortunately the Acer doesn't charge over USB > > My Archos didn't either, until I bought a USB charger cable for six bucks on ebay. From toolbook at kestner.de Tue Aug 2 08:02:19 2011 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Tue, 2 Aug 2011 14:02:19 +0200 Subject: AW: Need advice with Lion permission changes In-Reply-To: <5934E0F4-3DC6-4B40-827D-88957567B6B8@wehostmacs.com> References: <5934E0F4-3DC6-4B40-827D-88957567B6B8@wehostmacs.com> Message-ID: <003101cc510c$0cf0d930$26d28b90$@de> Hi Sean, (it is your first name - right?) thanks for your quick response. I have read your previous post about this, but it is still not clear for me, or I misinterpret it. In the apple restrictions posted below, all write accessible paths begin with "~", what means for me it's the users path. And at the end you are pointing to /Library/Application Support/, what means for me it?s a common path. This would be, what I am looking for, but as I read apples guidline, its forbidden, see above. Where am I wrong? Thanks Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode-bounces at lists.runrev.com [mailto:use-livecode- > bounces at lists.runrev.com] Im Auftrag von Shao Sean > Gesendet: Dienstag, 2. August 2011 11:23 > An: use-livecode at lists.runrev.com > Betreff: Re: Need advice with Lion permission changes > > As previously mentioned: > > ? /Library (Mac OS X only)?Applications that share resources between > users store those resources in this version of the Library directory. > Sandboxed application are not permitted to use this directory. > > "Sandboxed applications" are apps from the Mac App store.. If the end > user is downloading from your site then you can use that directory.. > > If you are going through the Mac App store you can use the following > info: > > Your application must adhere to the following requirements: > ? You may use Apple frameworks such as User Defaults, Calendar Store, > and Address Book that implicitly write to files in specific locations, > including locations is not allowed to access directly. > ? Your application may write to temporary paths that you acquire using > the appropriate Apple programming interfaces. > ? Your application may write to the following directories: > ? ~/Library/Application Support/ > ? ~/Library/ > ? ~/Library/Caches/ > where is your application's bundle identifier, its > name, or your company?s name. This must exactly match what is in > iTunes Connect for the application. > > > So it looks like you should move your shared files from /Library/ > Preferences to /Library/Application Support/ > regardless if you are using the Mac App store or direct downloads.. > _______________________________________________ > use-livecode mailing list > use-livecode at 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 mfelkerco.com Tue Aug 2 08:27:54 2011 From: admin at mfelkerco.com (Admin) Date: Tue, 02 Aug 2011 07:27:54 -0500 Subject: [OT] Unboxing the Acer Android Tablet In-Reply-To: References: Message-ID: I own an Acer Iconia and love it. I do not use gmail. I use the built in email client with my email accounts. It works great. I am experiencing NONE of the problems you have stated. Mike On Tue, 2 Aug 2011 00:36:35 -0500, Chipp Walters wrote: > I suspect, just like the iPad, it requires a larger and higher rated USB > transformer in order to work. I'm stunned at how unusable Gmail is from the > browser. I can't imagine this is anything close to the intended experience. > It takes SERIOUSLY many seconds for the typing to'catch up' and the cusor > isn't even close to he inteded position its supposed to be at. Andyou can > all but forget trying to position the cursor as its just about impossible to > get it right, (thus the many errors in this reply). I suspect there must be > some sort of Google sanctionedapp for all of this as it is completely > unusable in its current form. > > On Monday, August 1, 2011, Colin Holgate wrote: > >> A couple of things you say don't seem quite right, but I'll reply to those > > points tomorrow. Unfortunately the Acer doesn't charge over USB, so if you > let it run down, as it did while I was away for a week, you have a device > that can't be run. The power adapter isn't powerful enough to power the > device if it's run down, so I'll have to leave it on charge over night to > then be able to look at the things I want to comment on. > >> _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com [1] Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: Links: ------ [1] mailto:use-livecode at lists.runrev.com [2] mailto:coiin at verizon.net From admin at mfelkerco.com Tue Aug 2 08:28:44 2011 From: admin at mfelkerco.com (Admin) Date: Tue, 02 Aug 2011 07:28:44 -0500 Subject: [OT] Unboxing the Acer Android Tablet In-Reply-To: <2A9DBF75990540D7A0A63EC9741BA9A7@GATEWAY> References: <2A9DBF75990540D7A0A63EC9741BA9A7@GATEWAY> Message-ID: <9609a88e57cd4cf0288c7845551d7c29@mfelkerco.com> Keyboard works, mouse is coming (and may already work with the newest update, which was promised). Other peripherals work fine. Mike On Mon, 1 Aug 2011 22:59:49 -0700, Lynn Fredricks wrote: >> But, it does seem to be more Windows like and less Mac like in that it has many more settings and configuration options. Plus (big plus) it has both micro and full USB slots for memory storage along with built in micro-HDMI. Both front and rear facing cameras are significantly higher quality than iPad2, and I'm praying they work with Skype, which would be huge. > > Chipp, have you tried plugging in random USB devices (mice, etc) to see if > there's any sort of plug-n-play/pray like experience? That's something Ive > wondered about. It would be nice to be able to attach whatever input devices > one already has. > > Ive been giving thought to papa's first tablet... > > Best regards, > > Lynn Fredricks > President > Paradigma Software > http://www.paradigmasoft.com [1] > > Valentina SQL Server: The Ultra-fast, Royalty Free Database Server > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com [2] > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode [3] Links: ------ [1] http://www.paradigmasoft.com [2] mailto:use-livecode at lists.runrev.com [3] http://lists.runrev.com/mailman/listinfo/use-livecode From admin at mfelkerco.com Tue Aug 2 08:31:15 2011 From: admin at mfelkerco.com (Admin) Date: Tue, 02 Aug 2011 07:31:15 -0500 Subject: [OT] Unboxing the Acer Android Tablet In-Reply-To: References: Message-ID: I could not disagree more. I brother owns and Ipad 2. He and I were having lunch and he noticed my hi-def, surround sound Acer Iconia (yes, it has Dolby Surround). He also noticed the dual cams (one a 5 megapixel), the gps on board, the tactile touch and feel. I let him try it. He was blown away by the responsiveness and quality of the build. It is a solid, good looking and comfortable device. Needless to say, he bought one and gave his Ipad2 away to one of his employees. That says EVERYTHING. Mike On Tue, 02 Aug 2011 09:12:56 +0300, Ruslan Zasukhin wrote: > On 8/2/11 8:59 AM, "Lynn Fredricks" wrote: > >>> But, it does seem to be more Windows like and less Mac like in that it has many more settings and configuration options. Plus (big plus) it has both micro and full USB slots for memory storage along with built in micro-HDMI. Both front and rear facing cameras are significantly higher quality than iPad2, and I'm praying they work with Skype, which would be huge. >> Chipp, have you tried plugging in random USB devices (mice, etc) to see if there's any sort of plug-n-play/pray like experience? That's something Ive wondered about. It would be nice to be able to attach whatever input devices one already has. Ive been giving thought to papa's first tablet... > > As for me -- ipad is best of the best. > 2-3 heads ahead. > > All this hardware "bonuses" cost nothing actually. > I never was need insert flash into iPad :) ... Why ? > Well, may be only if person have in home only ipad? > But ipad is not replacement to macbook, it is one more tool, which you > should have in home: TV, router, desktop, macbook, ipad, iphone :-) > Each device have own target. > > -------- > And only yesterday I have read one more article > Which describes how bad bad bad are sales of android tablets ... > They really cannot hump to level even of iPad1 technically. > > IMO, if you love your father -- buy for him at least iPad 1, > At least used ... Will be much more pleasure and use for person. > Now iPad 1 can be found near to 200-300 in USA, right? > > Btw, I also going present iPad to parents, > First of all because it allow easy and nice zoom text to read. > > -- > Best regards, > > Ruslan Zasukhin > VP Engineering and New Technology > Paradigma Software, Inc > > Valentina - Joining Worlds of Information > http://www.paradigmasoft.com [2] > > [I feel the need: the need for speed] > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com [3] > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode [4] Links: ------ [1] mailto:lfredricks at proactive-intl.com [2] http://www.paradigmasoft.com [3] mailto:use-livecode at lists.runrev.com [4] http://lists.runrev.com/mailman/listinfo/use-livecode From admin at mfelkerco.com Tue Aug 2 08:35:46 2011 From: admin at mfelkerco.com (Admin) Date: Tue, 02 Aug 2011 07:35:46 -0500 Subject: [OT] Unboxing the Acer Android Tablet In-Reply-To: References: <2A9DBF75990540D7A0A63EC9741BA9A7@GATEWAY> Message-ID: <68bc215d045d588d6819c02c8c081527@mfelkerco.com> I'll tell you why. Unlike apple, which controls every facet of app creation and takes a healthy cut of the profits AND charges to allow you to become a developer AND makes it near impossible to publish anything, Android and google have a more hands off approach. Does this mean the market is FLOODED with substandard apps - YEP. However, as always, the cream rises to the top. There are FANTASTIC apps out there, it's just that you have to wade through the crap to get to them. This begs the question, is control better or worse. The very nature of the open source android development 3rd party realm dictates that there will be more useless apps available - but it also means that more and more people can try their hand at creating apps. The truly good ones will surface. If you want a better app experience, try amazon apps. It's a free download and they give a free commercial app away every single day. Yesterday they gave away Guitar Hero 5. Before that, it was a database app. It is a MUCH better marketplace. But that's the point. There is not just one marketplace, there are HUNDREDS. Some great, some not so great and some truly amazing. Mike On Tue, 2 Aug 2011 01:35:31 -0500, Chipp Walters wrote: > Hey Lynn, > > I'm typing this from a standard USB keyboard which I just plugged into the > side of my Android. > > And I can use a standard USB mouse to click the send button. Miraculously, > when you attach keyboard and a mouse, this thing turns into a PC. The > onscreen keyboard goes away and an arrow cursor appears, which you control > via the mouse just like expected. Pretty cool. iPad certainly can't do THAT. > > Even so, I've checked the Android App Store and it's predictably pretty > lame. Why can't Google, with all the billions and billions, create some > killer Android Apps, like Apple does for iPad? There's really no good > PowerPoint clone that I can see, nor is there any decent sketch note taking > apps, for which there are a couple on iPad. > > That said, it appears there's not enough money for devs for such apps, even > on the iPad. I've noticed the top 3 to 4 note apps on iPad have pretty much > ceased all development for quite some time now. And none of them are what I > would consider 'professional' apps. I guess you can't survive on charging a > buck ninety-nine per app. I suspect, I too, would quit free updates for my > customers after two or three trys. > > Still a long way to go before this is all worked out. > On Aug 2, 2011 1:03 AM, "Lynn Fredricks" > wrote: > >>> But, it does seem to be more Windows like and less Mac like in that it has many more settings and configuration options. Plus (big plus) it has both micro and full USB slots for memory storage along with built in micro-HDMI. Both front and rear facing cameras are significantly higher quality than iPad2, and I'm praying they work with Skype, which would be huge. >> Chipp, have you tried plugging in random USB devices (mice, etc) to see if there's any sort of plug-n-play/pray like experience? That's something Ive wondered about. It would be nice to be able to attach whatever input > > devices > >> one already has. Ive been giving thought to papa's first tablet... Best regards, Lynn Fredricks President Paradigma Software http://www.paradigmasoft.com [1] Valentina SQL Server: The Ultra-fast, Royalty Free Database Server _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com [2] Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-li > >> href="mailto:use-livecode at lists.runrev.com">use-livecode at lists.runrev.com Please visit this url to subscribe, unsubs > age your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode [4] Links: ------ [1] http://www.paradigmasoft.com [2] mailto:use-livecode at lists.runrev.com [3] mailto:lfredricks at proactive-intl.com [4] http://lists.runrev.com/mailman/listinfo/use-livecode From admin at mfelkerco.com Tue Aug 2 08:36:20 2011 From: admin at mfelkerco.com (Admin) Date: Tue, 02 Aug 2011 07:36:20 -0500 Subject: [OT] Unboxing the Acer Android Tablet In-Reply-To: <620EB071-E11D-472A-B795-1F0B2515FFBB@gmail.com> References: <2A9DBF75990540D7A0A63EC9741BA9A7@GATEWAY> <620EB071-E11D-472A-B795-1F0B2515FFBB@gmail.com> Message-ID: We call that rooting round these parts. Be careful, it voids warranty. Mike On Tue, 2 Aug 2011 16:42:47 +1000, Gerry Orkin wrote: > I think it can, if it's jailbroken. > > Gerry > > On 02/08/2011, at 4:35 PM, Chipp Walters wrote: > >> iPad certainly can't do THAT. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com [1] > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode [2] Links: ------ [1] mailto:use-livecode at lists.runrev.com [2] http://lists.runrev.com/mailman/listinfo/use-livecode From admin at mfelkerco.com Tue Aug 2 08:40:44 2011 From: admin at mfelkerco.com (Admin) Date: Tue, 02 Aug 2011 07:40:44 -0500 Subject: [OT] Unboxing the Acer Android Tablet In-Reply-To: <8B623E48-D7BC-4926-A879-143E550C7A3A@verizon.net> References: <4E377D65.4030700@hyperactivesw.com> <8B623E48-D7BC-4926-A879-143E550C7A3A@verizon.net> Message-ID: <8f0e5dad2f6de09156ab87d28ccb4df1@mfelkerco.com> Again, I disagree. I bought all the angry birds apps, along with tons of other games and the Nvidia Tegra dual core SHINES. Every kid that has played it (I am a administrator at a camp this summer) LOVES IT. They say it rivals their xbox 360 and playstation 3. The Ipad 2 is good, but not THAT good. Sorry. No choppiness here. Check to see if something is draining your memory. Get an app that saves battery and automatically closes programs. What you may not know about the Iconia (and hence most android 3.0 devices) is that it multithreads and all the apps are still running. You have to shut them off to ensure a quality experience. Mike On Tue, 02 Aug 2011 07:01:06 -0400, Colin Holgate wrote: > I had hoped that like the iPad it might charge over the fat USB cable, and I did eventually try that (surprising how hard it is to find a USB type A to type A lead), but it wouldn't charge. > > I was wrong about the power adapter not being strong enough, I was using the wrong one! With the right one it powers ok while it charges, but it doesn't allow system updates until the battery is at 30% charge. > > The main things Chipp said that seemed wrong was about the screen. I've seen colleagues who use their iPad at the default energy saving brightness, they just don't know how amazingly bright the iPad screen can be! I can imagine that if you compare that against the Acer that you might think the Acer was better, but the iPad at it's full brightness makes most Android screens look dull. The Acer isn't dull, but it isn't better than the iPad. > > And the resolution isn't "much" better. The wide screen can be useful when playing Angry Birds Rio levels, but the actual DPI is only 149 versus 132. 132 is already fairly high, and unless I wear reading glasses and try to look for differences, I wouldn't describe the extra 12% as being that much better. > > Playing Rio can get very choppy on the Acer, I'm curious whether the new system update will help that. I'm still only at 19% charge, so it won't let me do the update yet. > > On Aug 2, 2011, at 12:30 AM, J. Landman Gay wrote: > >>> Unfortunately the Acer doesn't charge over USB >> My Archos didn't either, until I bought a USB charger cable for six bucks on ebay. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com [1] > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode [2] Links: ------ [1] mailto:use-livecode at lists.runrev.com [2] http://lists.runrev.com/mailman/listinfo/use-livecode From mikekann at yahoo.com Tue Aug 2 08:59:49 2011 From: mikekann at yahoo.com (Michael Kann) Date: Tue, 2 Aug 2011 05:59:49 -0700 (PDT) Subject: What is the best/fastest way to extract strings of text? In-Reply-To: <5D05E4E5-AC3B-4257-BE22-8EBDF94CEBC7@clarkeandclarke.co.uk> Message-ID: <1312289989.37477.YahooMailClassic@web161619.mail.bf1.yahoo.com> put numToChar(255) into m replace "<#B>" with m replace "<#E>" with m put zero into c repeat for each item k in raw_input ?? add 1 to c ?? if c mod 2 is zero then ????? put k & kr after h ?? end if end repeat delete char -1 of h put h into clean_output --- On Tue, 8/2/11, Keith Clarke wrote: From: Keith Clarke Subject: Re: What is the best/fastest way to extract strings of text? To: "How to use LiveCode" Date: Tuesday, August 2, 2011, 3:01 AM The recipe I (learned here and) use with extracting specific HTML / XML elements is to get the specific target elements on their own line, remove the unwanted lines and then move the target string items in the remaining lines out into a separate variable - something like... 1. Get the target elements into their own line by prefixing the opening tag with return, using: replace "<#B>" with return & "<#B>" in theSource 2. Get the closing tag onto its own line by adding a return suffix, using: replace "<#E>" with "<#E>" & return in theSource 2. Remove the unwanted lines, (that lack the specific opening tag) using: filter theSource with "<#B>" 3. Delimit the line into items at the '>' character, using: set the item delimiters to numtochar(62) 4. Iterate through the list to extract the string, using: ??? repeat for each line l in theSource ??? ??? put item 2 and return after theExtract ??? end repeat 5. Clean-up the extract of any extra returns, using: filter theExtract without empty If (my pre-coffee brain worked) theExtract should contain the tagged strings in theSource. ...hmmm, talking of coffee... Best, Keith.. ? On 2 Aug 2011, at 08:24, Keith (Gulf Breeze Ortho Lab) wrote: > Hello, > > I am still playing with LiveCode and am now exploring chunks... > > My question is as follows. Suppose I have a variable with a lot of text. Throughout the text I have various strings, separated by consistent tags, that I need to extract. > > For example, the following text is in the variable myVar: > > The boy <#B>went to the store<#E>. He enjoyed his day out. > > The woman loves <#B>shopping at the mall<#E>. So do I. > > The girl loves <#E>eating at the restaurant<#E>. So does he. > > I am looking for the most efficient way to extract each of the strings of text between the <#B> and <#E> tags... I presume I will have to use a loop and the matchChunk function? I have experimented but am having a problem putting starting and ending positions into variables. > > Is there a better way to accomplish the above? > > Thanks! > > - Boo > _______________________________________________ > use-livecode mailing list > use-livecode 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 mikekann at yahoo.com Tue Aug 2 09:05:15 2011 From: mikekann at yahoo.com (Michael Kann) Date: Tue, 2 Aug 2011 06:05:15 -0700 (PDT) Subject: What is the best/fastest way to extract strings of text? In-Reply-To: <1312289989.37477.YahooMailClassic@web161619.mail.bf1.yahoo.com> Message-ID: <1312290315.42567.YahooMailClassic@web161616.mail.bf1.yahoo.com> put numToChar(255) into m set the itemDel to m? ---------- FORGOT THIS LINE replace "<#B>" with m replace "<#E>" with m put zero into c repeat for each item k in raw_input ?? add 1 to c ?? if c mod 2 is zero then ????? put k & kr after h ?? end if end repeat delete char -1 of h put h into clean_output --- On Tue, 8/2/11, Keith Clarke wrote: From: Keith Clarke Subject: Re: What is the best/fastest way to extract strings of text? To: "How to use LiveCode" Date: Tuesday, August 2, 2011, 3:01 AM The recipe I (learned here and) use with extracting specific HTML / XML elements is to get the specific target elements on their own line, remove the unwanted lines and then move the target string items in the remaining lines out into a separate variable - something like... 1. Get the target elements into their own line by prefixing the opening tag with return, using: replace "<#B>" with return & "<#B>" in theSource 2. Get the closing tag onto its own line by adding a return suffix, using: replace "<#E>" with "<#E>" & return in theSource 2. Remove the unwanted lines, (that lack the specific opening tag) using: filter theSource with "<#B>" 3. Delimit the line into items at the '>' character, using: set the item delimiters to numtochar(62) 4. Iterate through the list to extract the string, using: ??? repeat for each line l in theSource ??? ??? put item 2 and return after theExtract ??? end repeat 5. Clean-up the extract of any extra returns, using: filter theExtract without empty If (my pre-coffee brain worked) theExtract should contain the tagged strings in theSource. ...hmmm, talking of coffee... Best, Keith.. ? On 2 Aug 2011, at 08:24, Keith (Gulf Breeze Ortho Lab) wrote: > Hello, > > I am still playing with LiveCode and am now exploring chunks... > > My question is as follows. Suppose I have a variable with a lot of text. Throughout the text I have various strings, separated by consistent tags, that I need to extract. > > For example, the following text is in the variable myVar: > > The boy <#B>went to the store<#E>. He enjoyed his day out. > > The woman loves <#B>shopping at the mall<#E>. So do I. > > The girl loves <#E>eating at the restaurant<#E>. So does he. > > I am looking for the most efficient way to extract each of the strings of text between the <#B> and <#E> tags... I presume I will have to use a loop and the matchChunk function? I have experimented but am having a problem putting starting and ending positions into variables. > > Is there a better way to accomplish the above? > > Thanks! > > - Boo > _______________________________________________ > use-livecode mailing list > use-livecode 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 coiin at verizon.net Tue Aug 2 09:29:03 2011 From: coiin at verizon.net (Colin Holgate) Date: Tue, 02 Aug 2011 09:29:03 -0400 Subject: [OT] Unboxing the Acer Android Tablet In-Reply-To: References: Message-ID: <8C57DF88-B800-4FB8-B69F-A8534471D218@verizon.net> Have you then been able to plug the device into a high power USB 2 port, and it gains charge? That would be so useful, I wouldn't have to carry the power adapter around with me. BTW, I have an app that quits all other apps, and I use that when testing performance. I'll try a session with Angry Birds Rio, now that it has Android 3.1 installed, see if that remains un-choppy. On Aug 2, 2011, at 8:27 AM, Admin wrote: > It works great. I am > experiencing NONE of the problems you have stated. From capellan2000 at gmail.com Tue Aug 2 09:30:49 2011 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Tue, 2 Aug 2011 06:30:49 -0700 (PDT) Subject: MD5 digest of arrays and controls In-Reply-To: References: <1B6C8F3A-9BC7-4F25-96DC-6D39C6EF13A1@unimelb.edu.au> <1312221466254-3710396.post@n4.nabble.com> Message-ID: <1312291849545-3712329.post@n4.nabble.com> Hi Terry, Finally, I found the property that was blocking my code: set the caseSensitive to true Now, the question is: Why setting the caseSensitive to true, is impeding this line of code to work: do "set the fillGradient of it to " & tGradientName (where tGradientName is an arrayvariable named like: "_Radial_Gradient_1") I have verified (with your code) that contents of arrayvariable is correct. Only setting this caseSensitive property is the difference. If one of you have some clue about this strange interaction between the global property "caseSensitive" and the command "do", I will be really grateful! Have a nice day! Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/MD5-digest-of-arrays-and-controls-tp3708824p3712329.html Sent from the Revolution - User mailing list archive at Nabble.com. From admin at mfelkerco.com Tue Aug 2 09:47:33 2011 From: admin at mfelkerco.com (Admin) Date: Tue, 02 Aug 2011 08:47:33 -0500 Subject: [OT] Unboxing the Acer Android Tablet In-Reply-To: <8C57DF88-B800-4FB8-B69F-A8534471D218@verizon.net> References: <8C57DF88-B800-4FB8-B69F-A8534471D218@verizon.net> Message-ID: <33779868227660b80c59e53337e69676@mfelkerco.com> TBH, the battery lasts so long I really don't care about charging it. It lasts 20 hours for me - so I can let it go for almost a week before charging it. Then I put it on charge overnight and I wake up and it's ready to go for another week. Mike On Tue, 02 Aug 2011 09:29:03 -0400, Colin Holgate wrote: > Have you then been able to plug the device into a high power USB 2 port, and it gains charge? That would be so useful, I wouldn't have to carry the power adapter around with me. > > BTW, I have an app that quits all other apps, and I use that when testing performance. I'll try a session with Angry Birds Rio, now that it has Android 3.1 installed, see if that remains un-choppy. > > On Aug 2, 2011, at 8:27 AM, Admin wrote: > >> It works great. I am experiencing NONE of the problems you have stated. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com [1] > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode [2] Links: ------ [1] mailto:use-livecode at lists.runrev.com [2] http://lists.runrev.com/mailman/listinfo/use-livecode From scott at elementarysoftware.com Tue Aug 2 10:23:51 2011 From: scott at elementarysoftware.com (Scott Morrow) Date: Tue, 2 Aug 2011 07:23:51 -0700 Subject: iOS forcing interface rotation Message-ID: <0F5103DE-7C28-45EA-8AAC-5C2AD9390517@elementarysoftware.com> I am working with an iOS UI that allows portrait and landscape rotation on one card but requires that the UI be presented in portrait on all other cards? no matter what the actual device rotation is. The problem arises when leaving the card that allows landscape and going to a card that requires portrait. If the user navigates to a "portrait only" card with device already in landscape, the UI is skewed. Is there a way to force the auto-rotation without requiring the user to physically rotate the device? (I had hoped perhaps some trickery with mobileSetAllowedOrientations and mobileLockOrientation /mobileUnlockOrientation?) TIA, Scott Morrow Elementary Software (Now with 20% less chalk dust!) web http://elementarysoftware.com/ email scott at elementarysoftware.com ------------------------------------------------------ From selander at tkf.att.ne.jp Tue Aug 2 10:43:12 2011 From: selander at tkf.att.ne.jp (Tim Selander) Date: Tue, 02 Aug 2011 23:43:12 +0900 Subject: [OT] Unboxing the Acer Android Tablet In-Reply-To: References: <2A9DBF75990540D7A0A63EC9741BA9A7@GATEWAY> Message-ID: <4E380D00.8040604@tkf.att.ne.jp> Hey, that's about how good I talk Japanese ;-) Tim Selander Tokyo, Japan On 8/2/11 3:09 PM, Chipp Walters wrote: > Ok, sounds good, I'll check it out. > 1 of the nice things about the keyboard is it has this microphone controls > wixom speaking into right now > Listen to everything exactly right. But columbia does school is going well. > I get that looks like I will not be using the microphone is that a bit my > boys text for now. From mkoob at rogers.com Tue Aug 2 10:46:37 2011 From: mkoob at rogers.com (Martin Koob) Date: Tue, 2 Aug 2011 07:46:37 -0700 (PDT) Subject: Success with LiveCode Server, Mac OS X server and revigniter Message-ID: <1312296397441-3712576.post@n4.nabble.com> I have installed Livecode server on Mac OS X server and have the got the revignitor chat tutorial running. There were a couple of bumps on the way I thought I should share in case someone else it trying to get livecode server running on Mac OS X server. I first tried following the instructions in the release notes that accompany the 4.6.3 server and I felt like Johnny Cash building his cadillac, when I went to put in the motor all the holes were gone. I hadn't realized that the instructions in the release notes were for the regular version of Mac OS X and there would be differences for Mac OS X server. I managed to find a good explanation of how to install the prerelease revserver on Mac OS X server. http://blog.clarityforsuccess.com/2011/02/revserver-on-osx-server-snow-leopard.html I had to of course change the references to revserver and irev-script to livecode-server and livecode-script etc. One change to the above instructions was that I kept the ability to recongnize both irev and lc extensions by adding handlers for both in the httpd.conf file AddHandler livecode-script lc AddHandler livecode-script irev Perhaps future versions of the release notes should have a section specifically for Mac OS X Server based on the instructions there. Next I wanted to test the installation this by installing revigniter (http://revigniter.com) and try the chat tutorial. I got the chat tutorial files from the RevUp newsletter on the same topic: http://www.runrev.com/newsletter/july/issue96/newsletter2.php It has a link to the completed tutorial files which I downloaded and placed in the folders indicated. Since the tutorial needed database access I installed mySQL on MaC OS X server and set up the chat database. Then I tried to load the chat page. At first it did not work. It came up with the following error. 'The model you are loading is a resource that is already being used: chatmodel' I found what was causing that error. At the end of the chat.irev file there is a line that calls the controller handler 'chat'. If I commented out the call to the 'chat' controller handler it worked. Elsewhere in the documentation it said you were supposed to call the controller handler with the same name as the controller file at the end of the script. Anyway not calling it made things work. The other error in the chat.irev was in the 'index' handler. In the 6th line put varPost("name", TRUE) into tPOSTname should be put rigvarPost("name", TRUE) into tPOSTname After changing these two lines I was running the chat application on the server on my local network. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Success-with-LiveCode-Server-Mac-OS-X-server-and-revigniter-tp3712576p3712576.html Sent from the Revolution - User mailing list archive at Nabble.com. From mkoob at rogers.com Tue Aug 2 11:12:28 2011 From: mkoob at rogers.com (Martin Koob) Date: Tue, 2 Aug 2011 08:12:28 -0700 (PDT) Subject: [server] using STACKS within ON-REV In-Reply-To: References: <1312213248751-3710035.post@n4.nabble.com> Message-ID: <1312297948995-3712679.post@n4.nabble.com> I was able to get the command 'go stack' to work. >From the 4.6.3 release notes: The go stack command is also valid: go stack "" Here, the newly loaded stack will sit in front of the home stack and will be sent the standard initialisation messages (preopenstack, openstack etc). I created a stack called gotostack.livecode and I put an openstack handler in the stack script. on openstack put "

gotostack is opened

" end openstack In another file I use the go stack command. This works, the text "gotostack is opened" is output to the browser output. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/server-using-STACKS-within-ON-REV-tp3710035p3712679.html Sent from the Revolution - User mailing list archive at Nabble.com. From ruslan_zasukhin at valentina-db.com Tue Aug 2 11:14:32 2011 From: ruslan_zasukhin at valentina-db.com (Ruslan Zasukhin) Date: Tue, 02 Aug 2011 18:14:32 +0300 Subject: [OT] Unboxing the Acer Android Tablet In-Reply-To: Message-ID: On 8/2/11 3:31 PM, "Admin" wrote: > > I could not disagree more. I brother owns and Ipad 2. He and I were > having lunch and he noticed my hi-def, surround sound Acer Iconia (yes, > it has Dolby Surround). He also noticed the dual cams (one a 5 > megapixel), the gps on board, the tactile touch and feel. I let him try > it. He was blown away by the responsiveness and quality of the build. It > is a solid, good looking and comfortable device. * Ipad do not have GPS? * Dolby Surround sound? How you will listen it without big room, and 6 good dynamic? and why ????? Tablet is mainly for READING. Other task go to book... * win7 right? On touch device ... brrrrrrrrrrrrr ... No thanks :) > Needless to say, he > bought one and gave his Ipad2 away to one of his employees. That says > EVERYTHING. 1-2 persons vs millions Yes, this says EVERYTHING :))) Also I have hear true stories how people have throw away their iphones/ipads to jump to android, and few weeks come back for next ios device .. This says what? :) But of course this is up to personal habits ... -- Best regards, Ruslan Zasukhin VP Engineering and New Technology Paradigma Software, Inc Valentina - Joining Worlds of Information http://www.paradigmasoft.com [I feel the need: the need for speed] From lan.kc.macmail at gmail.com Tue Aug 2 11:32:36 2011 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Tue, 2 Aug 2011 23:32:36 +0800 Subject: [OT] Flash is Dead Message-ID: It would appear Flash is dead or certainly critically ill. Happened much quicker than even I expected. http://www.telecomtv.com/comspace_newsDetail.aspx?n=47914&id=e9381817-0593-417a-8639-c4c53e2a2a10 And all those people who thought banning Flash would be the end of Apple, and that it was stifling competition. I can't count the number of people who've told me they 'must have' Flash so I've said 'don't buy an iPhone/iPad', but they still did. Maybe that's why Adobe gave up so quickly, even they saw the people who wanted Flash weren't prepared to support it? So now it would seem that the competition isn't over, it's just starting to warm up, on a completely different front. Good times :-) Gotta love 'free' enterprise... where everyone wants to get a hold of your dollar. From jimaultwins at yahoo.com Tue Aug 2 11:33:40 2011 From: jimaultwins at yahoo.com (Jim Ault) Date: Tue, 2 Aug 2011 08:33:40 -0700 Subject: What is the best/fastest way to extract strings of text? In-Reply-To: <5D05E4E5-AC3B-4257-BE22-8EBDF94CEBC7@clarkeandclarke.co.uk> References: <5BD44D3C75A94DBE97825153AD2B1202@KeithPC> <5D05E4E5-AC3B-4257-BE22-8EBDF94CEBC7@clarkeandclarke.co.uk> Message-ID: <07DB071F-CF09-42C3-88EF-D6694A1C6C5C@yahoo.com> For Html, the returns have no meaning, so the first step I would take is to replace cr with empty in textBlock and make the text a single line... but this may not be good, depending on the original textBlock On Aug 2, 2011, at 1:01 AM, Keith Clarke wrote: > The recipe I (learned here and) use with extracting specific HTML / > XML elements is to get the specific target elements on their own > line, remove the unwanted lines and then move the target string > items in the remaining lines out into a separate variable - > something like... > > 1. Get the target elements into their own line by prefixing the > opening tag with return, using: replace "<#B>" with return & "<#B>" > in theSource > 2. Get the closing tag onto its own line by adding a return suffix, > using: replace "<#E>" with "<#E>" & return in theSource > 2. Remove the unwanted lines, (that lack the specific opening tag) > using: filter theSource with "<#B>" > 3. Delimit the line into items at the '>' character, using: set the > item delimiters to numtochar(62) > 4. Iterate through the list to extract the string, using: > repeat for each line l in theSource > put item 2 and return after theExtract > end repeat > 5. Clean-up the extract of any extra returns, using: filter > theExtract without empty > > If (my pre-coffee brain worked) theExtract should contain the tagged > strings in theSource. > > Jim Ault Las Vegas From bobs at twft.com Tue Aug 2 11:36:23 2011 From: bobs at twft.com (Bob Sneidar) Date: Tue, 2 Aug 2011 08:36:23 -0700 Subject: MD5 digest of arrays and controls In-Reply-To: <1312291849545-3712329.post@n4.nabble.com> References: <1B6C8F3A-9BC7-4F25-96DC-6D39C6EF13A1@unimelb.edu.au> <1312221466254-3710396.post@n4.nabble.com> <1312291849545-3712329.post@n4.nabble.com> Message-ID: What is in it? Is the object in it correct case sensitively? Why set the case sensitive to true anyway? What does that accomplish? Bob On Aug 2, 2011, at 6:30 AM, Alejandro Tejada wrote: > Hi Terry, > > Finally, I found the property that was > blocking my code: > > set the caseSensitive to true > > Now, the question is: > Why setting the caseSensitive to true, > is impeding this line of code to work: > > do "set the fillGradient of it to " & tGradientName > (where tGradientName is an arrayvariable > named like: "_Radial_Gradient_1") > > I have verified (with your code) that contents of > arrayvariable is correct. Only setting this caseSensitive > property is the difference. > > If one of you have some clue about this strange interaction > between the global property "caseSensitive" and the command > "do", I will be really grateful! > > Have a nice day! > > Al > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/MD5-digest-of-arrays-and-controls-tp3708824p3712329.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 bobs at twft.com Tue Aug 2 11:47:55 2011 From: bobs at twft.com (Bob Sneidar) Date: Tue, 2 Aug 2011 08:47:55 -0700 Subject: carrying a global variable from stack to sub stack In-Reply-To: <11031835406.20110801180023@ahsoftware.net> References: <1312060134258-3706864.post@n4.nabble.com> <8632aaae54a6aecd62fdd741c3a1578a@mfelkerco.com> <016101cc4f00$8b170e00$a1452a00$@com> <6B48C716-4355-4957-AB0D-1D3949C5E5AE@twft.com> <11031835406.20110801180023@ahsoftware.net> Message-ID: <864110B7-6CCA-4D65-A93C-285C040136FF@twft.com> heh heh nice. :-) Bob On Aug 1, 2011, at 6:00 PM, Mark Wieder wrote: > Bob- > > Monday, August 1, 2011, 9:39:37 AM, you wrote: > >> Hi Admin. (Did your parents really name you "Admin"??) ;-) > > http://xkcd.com/327/ > > -- > -Mark Wieder > mwieder at ahsoftware.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 From jacque at hyperactivesw.com Tue Aug 2 11:58:41 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 02 Aug 2011 10:58:41 -0500 Subject: [OT] Unboxing the Acer Android Tablet In-Reply-To: <8f0e5dad2f6de09156ab87d28ccb4df1@mfelkerco.com> References: <4E377D65.4030700@hyperactivesw.com> <8B623E48-D7BC-4926-A879-143E550C7A3A@verizon.net> <8f0e5dad2f6de09156ab87d28ccb4df1@mfelkerco.com> Message-ID: <4E381EB1.2020306@hyperactivesw.com> On 8/2/11 7:40 AM, Admin wrote: >Get an app that saves battery and > automatically closes programs. What you may not know about the Iconia > (and hence most android 3.0 devices) is that it multithreads and all the > apps are still running. You have to shut them off to ensure a quality > experience. From everything I've read, this used to be true but isn't any longer as of Froyo. The OS handles all that very well. While the apps may still be in the "running" processes, they are using no system resources. They have no impact, and in fact, quitting them is detrimental in the long run because they have to reload from scratch (and some of them will restart immediately in the background, not just when you manually open them.) There was a huge debate on one of the Android forums that went on for many pages and, again, I'm sorry I didn't save the link. But the Android developers all strongly supported not force-quitting apps, and the evidence on the other side was largely hearsay from users, so I decided the folks who actually work on the OS probably knew what they were talking about. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From lfredricks at proactive-intl.com Tue Aug 2 12:12:10 2011 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Tue, 2 Aug 2011 09:12:10 -0700 Subject: [OT] Flash is NOT Dead In-Reply-To: References: Message-ID: <3024D28281A6468C898339110585C615@GATEWAY> > It would appear Flash is dead or certainly critically ill. > Happened much quicker than even I expected. > > http://www.telecomtv.com/comspace_newsDetail.aspx?n=47914&id=e > 9381817-0593-417a-8639-c4c53e2a2a10 > > And all those people who thought banning Flash would be the > end of Apple, and that it was stifling competition. I can't > count the number of people who've told me they 'must have' > Flash so I've said 'don't buy an iPhone/iPad', but they still > did. Maybe that's why Adobe gave up so quickly, even they saw > the people who wanted Flash weren't prepared to support it? Hey Kay - wow, that site has an annoying pop up. If you don't want to join, that pop up doesn't go away and won't let you read the article. Adobe putting out an HTML 5 animation product doesn't mean anything about winning or losing. They are, very wisely, putting out a tool because web interactivity is a market where they already have a strong foothold. Not doing anything is worse. If Adobe can sell you yet another product, it is a win - and they have a huge user base to sell to. There are some other HTML 5 products out there already, but its in Adobe's interest that you buy from Adobe instead of them. These companies groom sets of customers to sell more stuff to, and if you fall outside of that target customer profile, they really don't care. Adobe hasn't given up on Flash at all - they are spending time on developments which can still differentiate Flash from what you can achieve with HTML 5, such as Molehill: http://labs.adobe.com/technologies/flashplatformruntimes/features/stage3d.ht ml. Blocking Flash from iOS has hurt Apple (a little) because its given the Android phone and tablet market a gift, but you are right - so many people do not care. The details of the arguments surrounding Apple's walled garden strategy, on top of other developer focused weirdness we've all experienced at one time or the othe working with Apple, is just static noise to your average iPhone user. One thing you can bank on is that people are more than willing to not look beyond the most immediate and self gratifying. I mean, how else can you explain the success of strategies that "reward" you with a sort of average discount for 12 months, but still charge you a much higher price for the remainder of a 36 month contract (ie cable companies...)? I see two companies with very smart people coming up with very far reaching strategies. Very interesting times we live in. Best regards, Lynn Fredricks President Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server From richmondmathewson at gmail.com Tue Aug 2 12:17:47 2011 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Tue, 02 Aug 2011 19:17:47 +0300 Subject: [OT] Flash is NOT Dead In-Reply-To: <3024D28281A6468C898339110585C615@GATEWAY> References: <3024D28281A6468C898339110585C615@GATEWAY> Message-ID: <4E38232B.4050909@gmail.com> On 08/02/2011 07:12 PM, Lynn Fredricks wrote: >> It would appear Flash is dead or certainly critically ill. >> Happened much quicker than even I expected. >> >> http://www.telecomtv.com/comspace_newsDetail.aspx?n=47914&id=e >> 9381817-0593-417a-8639-c4c53e2a2a10 >> >> And all those people who thought banning Flash would be the >> end of Apple, and that it was stifling competition. I can't >> count the number of people who've told me they 'must have' >> Flash so I've said 'don't buy an iPhone/iPad', but they still >> did. Maybe that's why Adobe gave up so quickly, even they saw >> the people who wanted Flash weren't prepared to support it? > Hey Kay - wow, that site has an annoying pop up. If you don't want to join, > that pop up doesn't go away and won't let you read the article. > > Seems readable: Firefox Beta 6; Ubuntu 11.04 From richmondmathewson at gmail.com Tue Aug 2 12:22:26 2011 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Tue, 02 Aug 2011 19:22:26 +0300 Subject: [OT] Flash is Dead In-Reply-To: References: Message-ID: <4E382442.9090908@gmail.com> http://labs.adobe.com/technologies/edge/ Better than Danton's head . . . :) From coiin at verizon.net Tue Aug 2 12:24:02 2011 From: coiin at verizon.net (Colin Holgate) Date: Tue, 02 Aug 2011 12:24:02 -0400 Subject: [OT] Unboxing the Acer Android Tablet In-Reply-To: References: Message-ID: On Aug 2, 2011, at 11:14 AM, Ruslan Zasukhin wrote: > * Ipad do not have GPS? > The 3G one does , the wi-fi one doesn't, but that's rarely an issue. If i was stuck in the wilderness needing to use satellites to find my way, I could use my iPhone, and probably wouldn't have my iPad with me anyway. > * Dolby Surround sound? HDMI out is optional on iPad, and even though I have that option I've only tried it out once. I have used VGA out more. From lfredricks at proactive-intl.com Tue Aug 2 12:25:41 2011 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Tue, 2 Aug 2011 09:25:41 -0700 Subject: [OT] Unboxing the Acer Android Tablet In-Reply-To: References: Message-ID: > * Dolby Surround sound? > How you will listen it without big room, and 6 good dynamic? > and why ????? Tablet is mainly for READING. > Other task go to book... You can simulate various audio effects on smaller devices nowadays. There are systems that, for example, make 5.1 sound sound pretty good coming out of just two speakers. > * win7 right? On touch device ... brrrrrrrrrrrrr ... No thanks :) Android isn't the same thing. MS is working on a sort of Win7/8 OS though. > But of course this is up to personal habits ... How many people use an iPhone just to make calls? :-) Best regards, Lynn Fredricks President Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server From richmondmathewson at gmail.com Tue Aug 2 12:27:27 2011 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Tue, 02 Aug 2011 19:27:27 +0300 Subject: [OT] Max-Gentleman Message-ID: <4E38256F.7070309@gmail.com> Does anybody know who "Max-Gentleman" is? He keeps sending me e-mails (to all my e-mail accounts), and obviously is a very short person (P.O.R.G. - person of restricted growth) as he seems to be appealing for some sort of pills to make him grow. Should I feel sorry for this chap, considering he is vertically challenged? Considering his parents, considering his short stature, have given him a sadistic moniker? And, can anybody suggest a way to help him in such a way that he stops filling my in-boxes and spam-boxes up with his importunings? From pmbrig at gmail.com Tue Aug 2 12:56:58 2011 From: pmbrig at gmail.com (Peter Brigham MD) Date: Tue, 2 Aug 2011 12:56:58 -0400 Subject: [OT] Flash is NOT Dead In-Reply-To: <3024D28281A6468C898339110585C615@GATEWAY> References: <3024D28281A6468C898339110585C615@GATEWAY> Message-ID: <04ED08D0-CB37-41C6-B9F0-10F6D21C806B@gmail.com> On Aug 2, 2011, at 12:12 PM, Lynn Fredricks wrote: >> It would appear Flash is dead or certainly critically ill. >> Happened much quicker than even I expected. >> >> http://www.telecomtv.com/comspace_newsDetail.aspx?n=47914&id=e >> 9381817-0593-417a-8639-c4c53e2a2a10 >> >> And all those people who thought banning Flash would be the >> end of Apple, and that it was stifling competition. I can't >> count the number of people who've told me they 'must have' >> Flash so I've said 'don't buy an iPhone/iPad', but they still >> did. Maybe that's why Adobe gave up so quickly, even they saw >> the people who wanted Flash weren't prepared to support it? > > Hey Kay - wow, that site has an annoying pop up. If you don't want to join, > that pop up doesn't go away and won't let you read the article. furthermore, when I click to join and get the fields to fill in personal info, which I did not fill in, and I click "terms and conditions" (which I do before I join anything these days), nothing happens. No terms and conditions. Doing a search on "terms and conditions" gives me a list of articles but no telecomtv terms and conditions. And the "FAQ" consists of two introductory articles and nothing else. So needless to say, I ain't joining. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From jacque at hyperactivesw.com Tue Aug 2 13:05:02 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 02 Aug 2011 12:05:02 -0500 Subject: AirLaunch 1.0b1 Message-ID: <4E382E3E.4090905@hyperactivesw.com> I've uploaded the first beta of a plugin that allows you to install iOS apps without the use of iTunes or XCode. This version has only basic functionality, there will be more to come. For now I'm looking for a few folks to test it and get back to me with any issues with just this basic feature set. You can run AirLaunch as a stack or as a plugin. If you want it in your Plugins menu, just drop it into your plugins folder and restart LiveCode. Instructions are in the stack, click the Info button. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From coiin at verizon.net Tue Aug 2 13:11:05 2011 From: coiin at verizon.net (Colin Holgate) Date: Tue, 02 Aug 2011 13:11:05 -0400 Subject: [OT] Flash is Dead In-Reply-To: References: Message-ID: <6933C949-4CEE-44C8-8A6A-D1D5539FA1B7@verizon.net> Here's the latest Flash thing I did (we did the whole site): http://www.cartoonnetwork.com/mixit/index.html At that page you can either just view "mixits" that other people have done, or you can log in, make your own one, and save that for others to view. Even with that barrier to entry there have been over 60,000 mixits made in the last day. So, some people are happily continuing to use Flash. From coiin at verizon.net Tue Aug 2 13:11:49 2011 From: coiin at verizon.net (Colin Holgate) Date: Tue, 02 Aug 2011 13:11:49 -0400 Subject: [OT] Unboxing the Acer Android Tablet In-Reply-To: References: Message-ID: They make calls too? On Aug 2, 2011, at 12:25 PM, Lynn Fredricks wrote: > How many people use an iPhone just to make calls? :-) From stephenREVOLUTION2 at barncard.com Tue Aug 2 13:18:49 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Tue, 2 Aug 2011 10:18:49 -0700 Subject: [OT] Max-Gentleman In-Reply-To: <4E38256F.7070309@gmail.com> References: <4E38256F.7070309@gmail.com> Message-ID: Use gmail and *smite* him. On 2 August 2011 09:27, Richmond Mathewson wrote: > Does anybody know who "Max-Gentleman" is? > > He keeps sending me e-mails (to all my e-mail accounts), and obviously > is a very short person (P.O.R.G. - person of restricted growth) as he seems > to be > appealing for some sort of pills to make him grow. > > Should I feel sorry for this chap, considering he is vertically challenged? > > Considering his parents, considering his short stature, have given him a > sadistic moniker? > > And, can anybody suggest a way to help him in such a way that he stops > filling my in-boxes and spam-boxes up with his importunings? > > ______________________________**_________________ > use-livecode mailing list > use-livecode 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 lfredricks at proactive-intl.com Tue Aug 2 13:29:15 2011 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Tue, 2 Aug 2011 10:29:15 -0700 Subject: [OT] Flash is Dead In-Reply-To: <6933C949-4CEE-44C8-8A6A-D1D5539FA1B7@verizon.net> References: <6933C949-4CEE-44C8-8A6A-D1D5539FA1B7@verizon.net> Message-ID: > http://www.cartoonnetwork.com/mixit/index.html > > At that page you can either just view "mixits" that other > people have done, or you can log in, make your own one, and > save that for others to view. Even with that barrier to entry > there have been over 60,000 mixits made in the last day. So, > some people are happily continuing to use Flash. Very cool! Just watching some of them - reminds me of a twisted cross between modern anime and Rocky & Bullwinkle... Best regards, Lynn Fredricks President Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server From richmondmathewson at gmail.com Tue Aug 2 13:34:26 2011 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Tue, 02 Aug 2011 20:34:26 +0300 Subject: [OT] Max-Gentleman In-Reply-To: References: <4E38256F.7070309@gmail.com> Message-ID: <4E383522.7090904@gmail.com> On 08/02/2011 08:18 PM, stephen barncard wrote: > Use gmail and *smite* him. I tried; but to no avail! > > > On 2 August 2011 09:27, Richmond Mathewsonwrote: > >> Does anybody know who "Max-Gentleman" is? >> >> He keeps sending me e-mails (to all my e-mail accounts), and obviously >> is a very short person (P.O.R.G. - person of restricted growth) as he seems >> to be >> appealing for some sort of pills to make him grow. >> >> Should I feel sorry for this chap, considering he is vertically challenged? >> >> Considering his parents, considering his short stature, have given him a >> sadistic moniker? >> >> And, can anybody suggest a way to help him in such a way that he stops >> filling my in-boxes and spam-boxes up with his importunings? >> >> ______________________________**_________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/**mailman/listinfo/use-livecode >> > > From chipp at altuit.com Tue Aug 2 13:38:52 2011 From: chipp at altuit.com (Chipp Walters) Date: Tue, 2 Aug 2011 12:38:52 -0500 Subject: [OT] Unboxing the Acer Android Tablet Message-ID: 'And the resolution isn't "much" better. The wide screen can be useful when playing Angry Birds Rio levels, but the actual DPI is only 149 versus 132. 132 is already fairly high, and unless I wear reading glasses and try to look for differences, I wouldn't describe the extra 12% as being that much better.' Colin, resolution typically refers to the number of pixels on a screen, not the density. The Acer Iconis has a 1280 x 800 screen, vs the iPad's 1024 x 768. That's 1,024,000 pixels vs the 786,432 of the I pad, which is significant, and much more than 12%. I turned both the Acer and I pad screen to their brightest levels and viewed them side by side, and they looked about the same. From chipp at altuit.com Tue Aug 2 13:40:27 2011 From: chipp at altuit.com (Chipp Walters) Date: Tue, 2 Aug 2011 12:40:27 -0500 Subject: [OT] Unboxing the Acer Android Tablet In-Reply-To: References: Message-ID: Turns out the Android doesn't know how to spell I pad. :-) On Aug 2, 2011 12:38 PM, "Chipp Walters" wrote: > 'And the resolution isn't "much" better. The wide screen can be useful when > playing Angry Birds Rio levels, but the actual DPI is only 149 versus 132. > 132 is already fairly high, and unless I wear reading glasses and try to > look for differences, I wouldn't describe the extra 12% as being that much > better.' > > Colin, resolution typically refers to the number of pixels on a screen, not > the density. The Acer Iconis has a 1280 x 800 screen, vs the iPad's 1024 x > 768. That's 1,024,000 pixels vs the 786,432 of the I pad, which is > significant, and much more than 12%. > > I turned both the Acer and I pad screen to their brightest levels and viewed > them side by side, and they looked about the same. From richmondmathewson at gmail.com Tue Aug 2 13:42:33 2011 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Tue, 02 Aug 2011 20:42:33 +0300 Subject: [OT] Flash is Dead In-Reply-To: References: <6933C949-4CEE-44C8-8A6A-D1D5539FA1B7@verizon.net> Message-ID: <4E383709.7080007@gmail.com> Considering how much investment, in terms of talent, money and time there has been in Flash [I really wonder what the proportion of websites that use Flash is, but, subjectively at least, it does seem quite high] I cannot see everybody merrily abandoning it for the "next thang" very quickly. Steve Jobs is Steve Jobs [PBUH; Pimples Be Upon Him], but all those folk who've spent hard-earned money, or (one has to take into account folk in Bulgaria here) at least, spent hours slaving with a pirate copy (or an open source way of doing things, come to think of it), are not Steve Jobs, and don't have more crinklies than the US treasury, and so cannot just up-sticks and move licketty-split. Let us rephrase things to say "Flash is vaguely threatened in some way which may, or may not, mean its ultimate demise some way down the road". We've heard "XXX is dead" so many times that it gets like that chap looking after the sheep who thought it was a big laugh to cry "Wolf". ============================= I see that Adobe are still selling all their Flash "stuff" on their website . . . From davidocoker at gmail.com Tue Aug 2 13:43:41 2011 From: davidocoker at gmail.com (David C.) Date: Tue, 2 Aug 2011 12:43:41 -0500 Subject: [OT] Unboxing the Acer Android Tablet In-Reply-To: References: Message-ID: Just an FYI... If you don't mind the smaller size, need the functionality of on-board camera(s) or 3/4G, the Nook Color makes a really nice and inexpensive Android tablet. Plus you can run the whole thing off of the MicroSD card, without rooting the device and/or worrying about warranty issues. My experience is that both the Amazon and Nook reader apps work well (nook app for android is even better than the native version), providing consolidated access to your e-books. That gives you the best of both worlds as a dedicated Nook reader or Android tablet, for half the price of a low end iPad.. Best regards, David C. From bobs at twft.com Tue Aug 2 13:44:04 2011 From: bobs at twft.com (Bob Sneidar) Date: Tue, 2 Aug 2011 10:44:04 -0700 Subject: [OT] Max-Gentleman In-Reply-To: <4E38256F.7070309@gmail.com> References: <4E38256F.7070309@gmail.com> Message-ID: I think you misunderstand him. He intends to make his BANK ACCOUNT grow. The pills he wants to sell you, at best, if dropped into a cup of coffee, make it sweeter. This same gentleman also contacts me frequently, but as I have no need for anything about me to grow any more, (even if the pills DID do as he says) I simply mark his emails as spam. Bob On Aug 2, 2011, at 9:27 AM, Richmond Mathewson wrote: > Does anybody know who "Max-Gentleman" is? > > He keeps sending me e-mails (to all my e-mail accounts), and obviously > is a very short person (P.O.R.G. - person of restricted growth) as he seems to be > appealing for some sort of pills to make him grow. > > Should I feel sorry for this chap, considering he is vertically challenged? > > Considering his parents, considering his short stature, have given him a sadistic moniker? > > And, can anybody suggest a way to help him in such a way that he stops filling my in-boxes and spam-boxes up with his importunings? > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From chipp at altuit.com Tue Aug 2 13:44:30 2011 From: chipp at altuit.com (Chipp Walters) Date: Tue, 2 Aug 2011 12:44:30 -0500 Subject: [OT] Unboxing the Acer Android Tablet In-Reply-To: References: Message-ID: I should also mention, once I figured out how to use the cursor with my finger, it's a MUCH more satisfying experience than the 'bubble approach Apple has. Score one for Google in UIX over Apple. Still, there's little if any after market accessories for any of these Android products, especially compared to Apple. Too bad. On Aug 2, 2011 12:40 PM, "Chipp Walters" wrote: > Turns out the Android doesn't know how to spell I pad. :-) > On Aug 2, 2011 12:38 PM, "Chipp Walters" wrote: >> 'And the resolution isn't "much" better. The wide screen can be useful > when >> playing Angry Birds Rio levels, but the actual DPI is only 149 versus 132. >> 132 is already fairly high, and unless I wear reading glasses and try to >> look for differences, I wouldn't describe the extra 12% as being that much >> better.' >> >> Colin, resolution typically refers to the number of pixels on a screen, > not >> the density. The Acer Iconis has a 1280 x 800 screen, vs the iPad's 1024 x >> 768. That's 1,024,000 pixels vs the 786,432 of the I pad, which is >> significant, and much more than 12%. >> >> I turned both the Acer and I pad screen to their brightest levels and > viewed >> them side by side, and they looked about the same. From richmondmathewson at gmail.com Tue Aug 2 13:53:40 2011 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Tue, 02 Aug 2011 20:53:40 +0300 Subject: [OT] Max-Gentleman In-Reply-To: References: <4E38256F.7070309@gmail.com> Message-ID: <4E3839A4.5030607@gmail.com> On 08/02/2011 08:44 PM, Bob Sneidar wrote: > I think you misunderstand him. What? Me misunderstand him? Surely not? > He intends to make his BANK ACCOUNT grow. The pills he wants to sell you, at best, if dropped into a cup of coffee, make it sweeter. I have a feeling that the pills (if they exist at all) are probably rather harmful. Never mind, just now I am drinking a glass of PILS, something altogether rather more salutory, especially if only taken in moderate quantities . . . :) It certainly enlarges my view of the world; a glass and I am suddenly more tolerant of other people's foibles, and feel filled with an excess of largesse. > This same gentleman also contacts me frequently, but as I have no need for anything about me to grow any more, Oh, I dunno; a few hundred thousand smackers in MY bank account would do me very nicely, Thank You. However, I intend to earn that with software or by teaching EFL, certainly not by peddling fake rubbish. > (even if the pills DID do as he says) I simply mark his emails as spam. > > Bob > > > On Aug 2, 2011, at 9:27 AM, Richmond Mathewson wrote: > >> Does anybody know who "Max-Gentleman" is? >> >> He keeps sending me e-mails (to all my e-mail accounts), and obviously >> is a very short person (P.O.R.G. - person of restricted growth) as he seems to be >> appealing for some sort of pills to make him grow. >> >> Should I feel sorry for this chap, considering he is vertically challenged? >> >> Considering his parents, considering his short stature, have given him a sadistic moniker? >> >> And, can anybody suggest a way to help him in such a way that he stops filling my in-boxes and spam-boxes up with his importunings? >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 Tue Aug 2 13:58:21 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 02 Aug 2011 12:58:21 -0500 Subject: [OT] Flash is Dead In-Reply-To: <4E383709.7080007@gmail.com> References: <6933C949-4CEE-44C8-8A6A-D1D5539FA1B7@verizon.net> <4E383709.7080007@gmail.com> Message-ID: <4E383ABD.3020206@hyperactivesw.com> On 8/2/11 12:42 PM, Richmond Mathewson wrote: > We've heard "XXX is dead" so many times that it gets like that chap > looking after the sheep who thought it was a big laugh to cry "Wolf". I bought a few shares of Apple stack back when Apple was dead. :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Tue Aug 2 13:58:38 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 02 Aug 2011 12:58:38 -0500 Subject: [OT] Flash is Dead In-Reply-To: <4E383709.7080007@gmail.com> References: <6933C949-4CEE-44C8-8A6A-D1D5539FA1B7@verizon.net> <4E383709.7080007@gmail.com> Message-ID: <4E383ACE.7070008@hyperactivesw.com> On 8/2/11 12:42 PM, Richmond Mathewson wrote: > We've heard "XXX is dead" so many times that it gets like that chap > looking after the sheep who thought it was a big laugh to cry "Wolf". I bought a few shares of Apple stock back when Apple was dead. :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From richmondmathewson at gmail.com Tue Aug 2 14:04:11 2011 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Tue, 02 Aug 2011 21:04:11 +0300 Subject: Virtual Appliances Message-ID: <4E383C1B.2060500@gmail.com> [Yeah, I know, it sounds a bit like the 'Max-Gentleman' post; sorry] http://www.turnkeylinux.org/all of course, these virtual appliances are open-source, and as such, free. I wonder what are the chances of seeing some sort of version of Livecode "in the cloud" in a way that end-users could use it for authoring stacks via their web-browser and/or via something like these? From richmondmathewson at gmail.com Tue Aug 2 14:06:08 2011 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Tue, 02 Aug 2011 21:06:08 +0300 Subject: [OT] Flash is Dead In-Reply-To: <4E383ABD.3020206@hyperactivesw.com> References: <6933C949-4CEE-44C8-8A6A-D1D5539FA1B7@verizon.net> <4E383709.7080007@gmail.com> <4E383ABD.3020206@hyperactivesw.com> Message-ID: <4E383C90.4090802@gmail.com> On 08/02/2011 08:58 PM, J. Landman Gay wrote: > On 8/2/11 12:42 PM, Richmond Mathewson wrote: > >> We've heard "XXX is dead" so many times that it gets like that chap >> looking after the sheep who thought it was a big laugh to cry "Wolf". > > I bought a few shares of Apple stack back when Apple was dead. :) > Just so . . . :) Mind you, there are a few people around who feel that Gail Amelio was a bit wolfish. From richmondmathewson at gmail.com Tue Aug 2 14:07:38 2011 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Tue, 02 Aug 2011 21:07:38 +0300 Subject: [OT] Flash is Dead In-Reply-To: <4E383ACE.7070008@hyperactivesw.com> References: <6933C949-4CEE-44C8-8A6A-D1D5539FA1B7@verizon.net> <4E383709.7080007@gmail.com> <4E383ACE.7070008@hyperactivesw.com> Message-ID: <4E383CEA.6070100@gmail.com> On 08/02/2011 08:58 PM, J. Landman Gay wrote: > On 8/2/11 12:42 PM, Richmond Mathewson wrote: > >> We've heard "XXX is dead" so many times that it gets like that chap >> looking after the sheep who thought it was a big laugh to cry "Wolf". > > I bought a few shares of Apple stock back when Apple was dead. :) > New York, New York, so good they named it twice. Not in my experience, being trapped on Manhattan for 3 days in 1993 in a snowstorm at the height of the NBA tournament. From pete at mollysrevenge.com Tue Aug 2 14:24:34 2011 From: pete at mollysrevenge.com (Pete) Date: Tue, 2 Aug 2011 11:24:34 -0700 Subject: [OT] Unboxing the Acer Android Tablet In-Reply-To: References: Message-ID: I see some reviews that talk about a grid being visible on the screen and also really bad photo quality in the built-in Gallery App. They're reviews form when the Iconia first came out so wondering if those issues have been addressed? Pete Molly's Revenge On Tue, Aug 2, 2011 at 10:44 AM, Chipp Walters wrote: > I should also mention, once I figured out how to use the cursor with my > finger, it's a MUCH more satisfying experience than the 'bubble approach > Apple has. Score one for Google in UIX over Apple. > > Still, there's little if any after market accessories for any of these > Android products, especially compared to Apple. Too bad. > On Aug 2, 2011 12:40 PM, "Chipp Walters" wrote: > > Turns out the Android doesn't know how to spell I pad. :-) > > On Aug 2, 2011 12:38 PM, "Chipp Walters" wrote: > >> 'And the resolution isn't "much" better. The wide screen can be useful > > when > >> playing Angry Birds Rio levels, but the actual DPI is only 149 versus > 132. > >> 132 is already fairly high, and unless I wear reading glasses and try to > >> look for differences, I wouldn't describe the extra 12% as being that > much > >> better.' > >> > >> Colin, resolution typically refers to the number of pixels on a screen, > > not > >> the density. The Acer Iconis has a 1280 x 800 screen, vs the iPad's 1024 > x > >> 768. That's 1,024,000 pixels vs the 786,432 of the I pad, which is > >> significant, and much more than 12%. > >> > >> I turned both the Acer and I pad screen to their brightest levels and > > viewed > >> them side by side, and they looked about the same. > _______________________________________________ > use-livecode mailing list > use-livecode at 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 mollysrevenge.com Tue Aug 2 14:58:34 2011 From: pete at mollysrevenge.com (Pete) Date: Tue, 2 Aug 2011 11:58:34 -0700 Subject: Startup message Message-ID: Not having any luck using the startup message. I have a handler for it in the stack script of my main stack but it doesn't seem to get the message (tried an answer info, setting a global, setting a cprop of the stack, none of it happens Any clues? Pete Molly's Revenge From m.schonewille at economy-x-talk.com Tue Aug 2 15:08:29 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 2 Aug 2011 21:08:29 +0200 Subject: Startup message In-Reply-To: References: Message-ID: <2E645F4D-7469-4A8E-A7FF-BEC1C2378DFE@economy-x-talk.com> Pete, The startUp message isn't sent to your stack if you open the stack in the IDE, nor if you open the stack while your standalone is already running. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 What does that error mean? Buy LiveCodeErrors for iPhone now http://qery.us/v4 A must-have for LiveCode programmers. On 2 aug 2011, at 20:58, Pete wrote: > Not having any luck using the startup message. I have a handler for it in > the stack script of my main stack but it doesn't seem to get the message > (tried an answer info, setting a global, setting a cprop of the stack, none > of it happens Any clues? > > Pete > Molly's Revenge From bvg at mac.com Tue Aug 2 15:09:03 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Tue, 02 Aug 2011 21:09:03 +0200 Subject: Startup message In-Reply-To: References: Message-ID: <80A38CBF-0F1A-4380-9E6C-18919C723520@mac.com> is your stack actually the mainstack of the standalone that you are starting? otherwise, it will not get any startup messages. Use preopencard or preopenstack instead if you just want to do something when your stack is opened. On 2 Aug 2011, at 20:58, Pete wrote: > Not having any luck using the startup message. I have a handler for it in > the stack script of my main stack but it doesn't seem to get the message > (tried an answer info, setting a global, setting a cprop of the stack, none > of it happens Any clues? > > Pete > Molly's Revenge > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Watch live presentations every Saturday: http://livecode.tv Use an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ From lists at mangomultimedia.com Tue Aug 2 15:26:10 2011 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 2 Aug 2011 15:26:10 -0400 Subject: SMTP Library that works with Gmail over SSL? Message-ID: Does anyone have a LiveCode solution that can send HTML email via SMTP using SSL? I need to send email through the Gmail SMTP server and the existing SMTP libraries I've found for LiveCode don't support SSL. -- Trevor DeVore Blue Mango Learning Systems LiveCode Resources for Developers: http://livecode.bluemangolearning.com From bvg at mac.com Tue Aug 2 15:29:23 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Tue, 02 Aug 2011 21:29:23 +0200 Subject: LiveCode.tv event #34 wrap up In-Reply-To: References: <6B865405-BBC0-491C-AD25-BFB1C85A2D58@mac.com> <7EC6A85B-DD6B-4138-A597-512A194F4453@mac.com> <89782C22-C6E3-4245-95D1-A48F69423753@mac.com> <061D9182-B34B-4ABB-A7D6-9C2D09DA8755@mac.com> <73F84954-890B-4627-859A-702C8054F13B@mac.com> <093DEF5E-6C0F-4924-A262-F6DBE748ED45@mac.com> <3FB852C9-5675-4A19-9506-543733BB2547@mac.com> <914DF999-596E-4023-A213-9469C6A69FA0@mac.com> <2B105965-FB27-41D0-B95F-1F4C84ADD53B@mac.com> <163225D1-67D1-4CE7-8049-E85A8D94D177@mac.com> <225B0941-5D11-434A-BC0B-CD61B998E9F8@mac.com> <201756EB-9601-417D-856E-5128C5256EF1@mac.com> <081FD717-0A48-447D-90AA-A8F370B14F43@mac.com> <913B7E78-3052-4CF0-9883-C1CDD9F8BDFA@mac.com> <0C1B6D89-1745-46DF-9C49-A5FE2E5B67B9@mac.com> <497CC7C9-74BC-419C-9785-CEA07A8FE181@mac.com> Message-ID: <547A7DD9-CED5-40E6-BE19-AEC93E336023@mac.com> Hi I was trying to beta test BvG Docu 2 live on the stream, with the expected confusing and stumbling result: http://www.ustream.tv/recorded/16335997 http://www.ustream.tv/recorded/16336428 BvG Docu 2 is now available from my site: http://bjoernke.com/bvgdocu/ John showed us a few nifty tricks to augment your LC experience. Thanks a ton for standing up short term to present. One of them was how to add items to the IDEs right click menu. See all tricks here: http://www.ustream.tv/recorded/16336699 He has also made the resulting stack available, get it here: http://blog.livecode.tv/wp-content/uploads/2011/08/John30.7.11.zip Please stand up to present, the turtles need you! Bj?rnke On 29 Jul 2011, at 14:57, Bj?rnke von Gierke wrote: > Tomorrows event will be of reduced scope due to a lack of volunteers. All applicants welcome. > > I will introduce the release of BvG Docu 2. > > Join chatrev at 20:00 CET. Go to > http://bjoernke.com/chatrev/ > or enter in the message box: > go stack URL ?http://bjoernke.com/chatrev/chatrev1.3b3.rev? > > Sat. 22:00 Moscow > Sat. 14:00 New York > Sat. 11:00 Los Angeles > Sun. 2:00 Beijing > > See http://livecode.tv/ for more info. > > Mail me to do your presentation, it doesn't matter if you do one in 4 months or right now. > Bj?rnke > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Watch live presentations every Saturday: http://livecode.tv Use an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ From pete at mollysrevenge.com Tue Aug 2 15:41:21 2011 From: pete at mollysrevenge.com (Pete) Date: Tue, 2 Aug 2011 12:41:21 -0700 Subject: Startup message In-Reply-To: <80A38CBF-0F1A-4380-9E6C-18919C723520@mac.com> References: <80A38CBF-0F1A-4380-9E6C-18919C723520@mac.com> Message-ID: Thanks folks, didn't realise this message only applied to standalones. Is there then no equivalent for stacks running in the IDE, other than a preOpenCard/preOpenStack handler? Pete Molly's Revenge 2011/8/2 Bj?rnke von Gierke > is your stack actually the mainstack of the standalone that you are > starting? otherwise, it will not get any startup messages. Use preopencard > or preopenstack instead if you just want to do something when your stack is > opened. > > On 2 Aug 2011, at 20:58, Pete wrote: > > > Not having any luck using the startup message. I have a handler for it > in > > the stack script of my main stack but it doesn't seem to get the message > > (tried an answer info, setting a global, setting a cprop of the stack, > none > > of it happens Any clues? > > > > Pete > > Molly's Revenge > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > -- > Watch live presentations every Saturday: > http://livecode.tv > > Use an alternative Dictionary viewer: > http://bjoernke.com/bvgdocu/ > > Chat with other RunRev developers: > http://bjoernke.com/chatrev/ > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Tue Aug 2 14:18:32 2011 From: coiin at verizon.net (Colin Holgate) Date: Tue, 02 Aug 2011 14:18:32 -0400 Subject: [OT] Flash is Dead In-Reply-To: <4E383C90.4090802@gmail.com> References: <6933C949-4CEE-44C8-8A6A-D1D5539FA1B7@verizon.net> <4E383709.7080007@gmail.com> <4E383ABD.3020206@hyperactivesw.com> <4E383C90.4090802@gmail.com> Message-ID: <04544B2D-B53F-44C2-AE65-6768D4BB7FC1@verizon.net> He only let his closest friends call him Gail. On Aug 2, 2011, at 2:06 PM, Richmond Mathewson wrote: > Mind you, there are a few people around who feel that Gail Amelio was a bit From jmyepes at mac.com Tue Aug 2 16:11:32 2011 From: jmyepes at mac.com (JosepM) Date: Tue, 2 Aug 2011 13:11:32 -0700 (PDT) Subject: datagrid: how to apply a numberFormat to a column? In-Reply-To: <1302202149690-3434246.post@n4.nabble.com> References: <1301919395795-3425298.post@n4.nabble.com> <1302202149690-3434246.post@n4.nabble.com> Message-ID: <1312315892388-3713612.post@n4.nabble.com> Hi, I still can't find a solution to this problem. Someone has the same issue? Salut, Josep -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/datagrid-how-to-apply-a-numberFormat-to-a-column-tp3425298p3713612.html Sent from the Revolution - User mailing list archive at Nabble.com. From ambassador at fourthworld.com Tue Aug 2 16:29:46 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 02 Aug 2011 13:29:46 -0700 Subject: Startup message In-Reply-To: References: Message-ID: <4E385E3A.8080106@fourthworld.com> Pete wrote: > Thanks folks, didn't realise this message only applied to standalones. Is > there then no equivalent for stacks running in the IDE, other than a > preOpenCard/preOpenStack handler? Startup is for when the engine starts up, preOpenStack is for when a stack is opened. Having both messages is very useful. Using preOpenStack for things you want to initialize in both the IDE and as a standalone will do what you need. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From pete at mollysrevenge.com Tue Aug 2 16:38:20 2011 From: pete at mollysrevenge.com (Pete) Date: Tue, 2 Aug 2011 13:38:20 -0700 Subject: datagrid: how to apply a numberFormat to a column? In-Reply-To: <1312315892388-3713612.post@n4.nabble.com> References: <1301919395795-3425298.post@n4.nabble.com> <1302202149690-3434246.post@n4.nabble.com> <1312315892388-3713612.post@n4.nabble.com> Message-ID: How are you loading from the database? Almost sounds like the FillInData handler is not being executed. If it is, not sure why the numberFormat isn't working. Only other thing I can think of is: set the text of field 1 of me to round(pdata,2) Pete Molly's Revenge On Tue, Aug 2, 2011 at 1:11 PM, JosepM wrote: > Hi, > > I still can't find a solution to this problem. Someone has the same issue? > > Salut, > Josep > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/datagrid-how-to-apply-a-numberFormat-to-a-column-tp3425298p3713612.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 mollysrevenge.com Tue Aug 2 16:38:20 2011 From: pete at mollysrevenge.com (Pete) Date: Tue, 2 Aug 2011 13:38:20 -0700 Subject: datagrid: how to apply a numberFormat to a column? In-Reply-To: <1312315892388-3713612.post@n4.nabble.com> References: <1301919395795-3425298.post@n4.nabble.com> <1302202149690-3434246.post@n4.nabble.com> <1312315892388-3713612.post@n4.nabble.com> Message-ID: How are you loading from the database? Almost sounds like the FillInData handler is not being executed. If it is, not sure why the numberFormat isn't working. Only other thing I can think of is: set the text of field 1 of me to round(pdata,2) Pete Molly's Revenge On Tue, Aug 2, 2011 at 1:11 PM, JosepM wrote: > Hi, > > I still can't find a solution to this problem. Someone has the same issue? > > Salut, > Josep > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/datagrid-how-to-apply-a-numberFormat-to-a-column-tp3425298p3713612.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 psahores at free.fr Tue Aug 2 16:38:27 2011 From: psahores at free.fr (Pierre Sahores) Date: Tue, 2 Aug 2011 22:38:27 +0200 Subject: Where does survive the inventive user ? In-Reply-To: References: <4E34185E.9070405@fourthworld.com> Message-ID: <6A19CB9D-6FE5-4CC5-AC2E-436CC96740DB@free.fr> Hi Roger, Thanks for the link... Loan sharking is the most destructive way of putting the theory of increasing returns in the interests of a few still fewer. Saas information systems tailored to the needs of the majority are the other possible scope of the economic model of increasing returns to pool resources usually destroyed by the models of economic development of the shortage... Usury is the first way to produce Le 30 juil. 2011 ? 17:31, Roger Eller a ?crit : > > This video is a very informative explanation of where money 'actually' comes > from. It's shocking if you've not seen it before. > > http://video.google.com/videoplay?docid=-2550156453790090544# > > ?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 > -- Pierre Sahores mobile : (33) 6 03 95 77 70 www.woooooooords.com www.sahores-conseil.com From slava at lexiconbridge.com Tue Aug 2 16:49:15 2011 From: slava at lexiconbridge.com (Slava Paperno) Date: Tue, 2 Aug 2011 16:49:15 -0400 Subject: Startup message In-Reply-To: <4E385E3A.8080106@fourthworld.com> References: <4E385E3A.8080106@fourthworld.com> Message-ID: <008701cc5155$a7636200$f62a2600$@com> On a related note: I have often wished that preOpenStack and openStack were not called when I open the stack in the IDE. When the programming is not finished, some calls that are already written into those handlers cannot yet be successful because other parts are missing. The result is that the first thing you see when you open the stack in the IDE is an error. My preference would be for the IDE to open the stack in the Browse mode, and for those two handlers to be called when I switch to the Run mode. And "sometimes" I think that what does happen, but I have never stopped to investigate if it's true. Slava > -----Original Message----- > From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode- > bounces at lists.runrev.com] On Behalf Of Richard Gaskin > Sent: Tuesday, August 02, 2011 4:30 PM > To: use-livecode at lists.runrev.com > Subject: Re: Startup message > > Pete wrote: > > Thanks folks, didn't realise this message only applied to > standalones. Is > > there then no equivalent for stacks running in the IDE, other than a > > preOpenCard/preOpenStack handler? > > Startup is for when the engine starts up, preOpenStack is for when a > stack is opened. Having both messages is very useful. Using > preOpenStack for things you want to initialize in both the IDE and as a > standalone will do what you need. > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > LiveCode Journal blog: http://LiveCodejournal.com/blog.irv > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 mollysrevenge.com Tue Aug 2 16:57:14 2011 From: pete at mollysrevenge.com (Pete) Date: Tue, 2 Aug 2011 13:57:14 -0700 Subject: Startup message In-Reply-To: <4E385E3A.8080106@fourthworld.com> References: <4E385E3A.8080106@fourthworld.com> Message-ID: Thanks Richard. If I understand the message path correctly, the preOpenStack handler in the mainstack will be executed for every substack of the main stack that is opened? I can easily check whether my initialisation code has already executed in the handler but was hoping for a way to have the code executed just once when the app started up. Pete Molly's Revenge On Tue, Aug 2, 2011 at 1:29 PM, Richard Gaskin wrote: > Pete wrote: > >> Thanks folks, didn't realise this message only applied to standalones. Is >> there then no equivalent for stacks running in the IDE, other than a >> preOpenCard/preOpenStack handler? >> > > Startup is for when the engine starts up, preOpenStack is for when a stack > is opened. Having both messages is very useful. Using preOpenStack for > things you want to initialize in both the IDE and as a standalone will do > what you need. > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > LiveCode Journal blog: http://LiveCodejournal.com/**blog.irv > > > ______________________________**_________________ > use-livecode mailing list > use-livecode at 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 Aug 2 16:57:17 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 02 Aug 2011 15:57:17 -0500 Subject: Startup message In-Reply-To: <008701cc5155$a7636200$f62a2600$@com> References: <4E385E3A.8080106@fourthworld.com> <008701cc5155$a7636200$f62a2600$@com> Message-ID: <4E3864AD.3020502@hyperactivesw.com> On 8/2/11 3:49 PM, Slava Paperno wrote: > On a related note: I have often wished that preOpenStack and openStack were > not called when I open the stack in the IDE. When the programming is not > finished, some calls that are already written into those handlers cannot yet > be successful because other parts are missing. The result is that the first > thing you see when you open the stack in the IDE is an error. > > My preference would be for the IDE to open the stack in the Browse mode, and > for those two handlers to be called when I switch to the Run mode. And > "sometimes" I think that what does happen, but I have never stopped to > investigate if it's true. If you know you are about to open a stack like that, click the Messages icon in the toolbar. That turns off all messages. Once the stack has opened, you can (and should) turn them back on. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From psahores at free.fr Tue Aug 2 16:59:51 2011 From: psahores at free.fr (Pierre Sahores) Date: Tue, 2 Aug 2011 22:59:51 +0200 Subject: www.ted.com/talks -- anyone watch them? In-Reply-To: <1312237841.48320.YahooMailClassic@web161618.mail.bf1.yahoo.com> References: <1312237841.48320.YahooMailClassic@web161618.mail.bf1.yahoo.com> Message-ID: <6AB2E490-D1F1-4C45-A8F6-F4E5C30E1CA3@free.fr> Thanks Michael ! Le 2 ao?t 2011 ? 00:30, Michael Kann a ?crit : > I've put together a web page to make it easier to navigate the videos at www.ted.com/talks -- especially if your native language is not English. If anyone is interested I'll polish it up and let it loose. > > 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 > -- Pierre Sahores mobile : (33) 6 03 95 77 70 www.woooooooords.com www.sahores-conseil.com From pete at mollysrevenge.com Tue Aug 2 17:01:40 2011 From: pete at mollysrevenge.com (Pete) Date: Tue, 2 Aug 2011 14:01:40 -0700 Subject: Need advice with Lion permission changes In-Reply-To: <003101cc510c$0cf0d930$26d28b90$@de> References: <5934E0F4-3DC6-4B40-827D-88957567B6B8@wehostmacs.com> <003101cc510c$0cf0d930$26d28b90$@de> Message-ID: I too am interested in the answer to this. I'm not sure it ever got resolved in the previous thread on the question. Is there anywhere under Lion that files can be installed for use by all users without having to resort to chmod commands? Pete Molly's Revenge On Tue, Aug 2, 2011 at 5:02 AM, Tiemo Hollmann TB wrote: > Hi Sean, (it is your first name - right?) > > thanks for your quick response. > I have read your previous post about this, but it is still not clear for > me, > or I misinterpret it. In the apple restrictions posted below, all write > accessible paths begin with "~", what means for me it's the users path. And > at the end you are pointing to /Library/Application > Support/, what means for me it?s a common path. This would > be, what I am looking for, but as I read apples guidline, its forbidden, > see > above. > Where am I wrong? > Thanks > Tiemo > > > > -----Urspr?ngliche Nachricht----- > > Von: use-livecode-bounces at lists.runrev.com [mailto:use-livecode- > > bounces at lists.runrev.com] Im Auftrag von Shao Sean > > Gesendet: Dienstag, 2. August 2011 11:23 > > An: use-livecode at lists.runrev.com > > Betreff: Re: Need advice with Lion permission changes > > > > As previously mentioned: > > > > ? /Library (Mac OS X only)?Applications that share resources between > > users store those resources in this version of the Library directory. > > Sandboxed application are not permitted to use this directory. > > > > "Sandboxed applications" are apps from the Mac App store.. If the end > > user is downloading from your site then you can use that directory.. > > > > If you are going through the Mac App store you can use the following > > info: > > > > Your application must adhere to the following requirements: > > ? You may use Apple frameworks such as User Defaults, Calendar Store, > > and Address Book that implicitly write to files in specific locations, > > including locations is not allowed to access directly. > > ? Your application may write to temporary paths that you acquire using > > the appropriate Apple programming interfaces. > > ? Your application may write to the following directories: > > ? ~/Library/Application Support/ > > ? ~/Library/ > > ? ~/Library/Caches/ > > where is your application's bundle identifier, its > > name, or your company?s name. This must exactly match what is in > > iTunes Connect for the application. > > > > > > So it looks like you should move your shared files from /Library/ > > Preferences to /Library/Application Support/ > > regardless if you are using the Mac App store or direct downloads.. > > _______________________________________________ > > use-livecode mailing list > > use-livecode 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 Tue Aug 2 17:04:47 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 2 Aug 2011 23:04:47 +0200 Subject: Startup message In-Reply-To: References: <4E385E3A.8080106@fourthworld.com> Message-ID: <98D1FC85-8999-405F-9920-23E2DA1E6072@economy-x-talk.com> Hi Pete, Move your script from the stack script to the card script. If you keep a preOpenStack script in the card script, then it won't be executed when other substacks are opened. If you want the script to execute in the standalone only and not in the IDE, then you have to options. Either put the script in the startUp handler or check that the environment is "standalone" before continuing the script. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 What does that error mean? Buy LiveCodeErrors for iPhone now http://qery.us/v4 A must-have for LiveCode programmers. On 2 aug 2011, at 22:57, Pete wrote: > preOpenStack handler in the mainstack will be executed for every substack of > the main stack that is opened? I can easily check whether my initialisation > code has already executed in the handler but was hoping for a way to have > the code executed just once when the app started up. > Pete > Molly's Revenge From ambassador at fourthworld.com Tue Aug 2 17:23:53 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 02 Aug 2011 14:23:53 -0700 Subject: Startup message In-Reply-To: <008701cc5155$a7636200$f62a2600$@com> References: <008701cc5155$a7636200$f62a2600$@com> Message-ID: <4E386AE9.4050004@fourthworld.com> Slava Paperno wrote: > On a related note: I have often wished that preOpenStack and openStack were > not called when I open the stack in the IDE. When the programming is not > finished, some calls that are already written into those handlers cannot yet > be successful because other parts are missing. The result is that the first > thing you see when you open the stack in the IDE is an error. Check out the environment function. If running in the IDE, it will return "development" so you can write something like: on preOpenStack if "dev" is not in the environment then DoInit end if end preOpenStack -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From pete at mollysrevenge.com Tue Aug 2 17:32:54 2011 From: pete at mollysrevenge.com (Pete) Date: Tue, 2 Aug 2011 14:32:54 -0700 Subject: Startup message In-Reply-To: <98D1FC85-8999-405F-9920-23E2DA1E6072@economy-x-talk.com> References: <4E385E3A.8080106@fourthworld.com> <98D1FC85-8999-405F-9920-23E2DA1E6072@economy-x-talk.com> Message-ID: Thanks, makes sense. Pete Molly's Revenge On Tue, Aug 2, 2011 at 2:04 PM, Mark Schonewille < m.schonewille at economy-x-talk.com> wrote: > Hi Pete, > > Move your script from the stack script to the card script. If you keep a > preOpenStack script in the card script, then it won't be executed when other > substacks are opened. > > If you want the script to execute in the standalone only and not in the > IDE, then you have to options. Either put the script in the startUp handler > or check that the environment is "standalone" before continuing the script. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > What does that error mean? Buy LiveCodeErrors for iPhone now > http://qery.us/v4 A must-have for LiveCode programmers. > > On 2 aug 2011, at 22:57, Pete wrote: > > > preOpenStack handler in the mainstack will be executed for every substack > of > > the main stack that is opened? I can easily check whether my > initialisation > > code has already executed in the handler but was hoping for a way to have > > the code executed just once when the app started up. > > Pete > > Molly's Revenge > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 rjdfarm.com Tue Aug 2 17:42:19 2011 From: andrew at rjdfarm.com (Andrew Kluthe) Date: Tue, 2 Aug 2011 14:42:19 -0700 (PDT) Subject: Virtual Appliances In-Reply-To: <4E383C1B.2060500@gmail.com> References: <4E383C1B.2060500@gmail.com> Message-ID: <1312321339182-3713853.post@n4.nabble.com> I use turnkey linux appliances for a lot of things, but I guess I don't follow what you are talking about in the later half of your post. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Virtual-Appliances-tp3713223p3713853.html Sent from the Revolution - User mailing list archive at Nabble.com. From richmondmathewson at gmail.com Tue Aug 2 17:49:13 2011 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Wed, 03 Aug 2011 00:49:13 +0300 Subject: Virtual Appliances In-Reply-To: <1312321339182-3713853.post@n4.nabble.com> References: <4E383C1B.2060500@gmail.com> <1312321339182-3713853.post@n4.nabble.com> Message-ID: <4E3870D9.80206@gmail.com> On 08/03/2011 12:42 AM, Andrew Kluthe wrote: > I use turnkey linux appliances for a lot of things, but I guess I don't > follow what you are talking about in the later half of your post. > > What I meant was a web-based version of Livecode rather like Sumo Paint; http://www.sumopaint.com/home/ or, an interface (independent of a browser) that contacted an online app, that let end-users program in Livecode without having to have Livecode reside on their physical PC. From richmondmathewson at gmail.com Tue Aug 2 17:51:37 2011 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Wed, 03 Aug 2011 00:51:37 +0300 Subject: Virtual Appliances In-Reply-To: <1312321339182-3713853.post@n4.nabble.com> References: <4E383C1B.2060500@gmail.com> <1312321339182-3713853.post@n4.nabble.com> Message-ID: <4E387169.8040501@gmail.com> Wow; Sumo Paint seems to be Flash based: http://www.sumopaint.com/home/ directly relevant to the much vaunted "death of Flash". Why do I have a feeling that the Sumo people are not going to "reinvent the wheel" just to remove a dependency on Flash? From stephenREVOLUTION2 at barncard.com Tue Aug 2 17:51:44 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Tue, 2 Aug 2011 14:51:44 -0700 Subject: Virtual Appliances In-Reply-To: <1312321339182-3713853.post@n4.nabble.com> References: <4E383C1B.2060500@gmail.com> <1312321339182-3713853.post@n4.nabble.com> Message-ID: Richmond is here to remind us how ridiculous and contrary the computer world is; and to provide comic relief between heated cheese discussions. Hmm... heated cheese... On 2 August 2011 14:42, Andrew Kluthe wrote: > I use turnkey linux appliances for a lot of things, but I guess I don't > follow what you are talking about in the later half of your post. > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/Virtual-Appliances-tp3713223p3713853.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 > -- Stephen Barncard San Francisco Ca. USA more about sqb From richmondmathewson at gmail.com Tue Aug 2 17:56:00 2011 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Wed, 03 Aug 2011 00:56:00 +0300 Subject: Virtual Appliances In-Reply-To: References: <4E383C1B.2060500@gmail.com> <1312321339182-3713853.post@n4.nabble.com> Message-ID: <4E387270.1020009@gmail.com> On 08/03/2011 12:51 AM, stephen barncard wrote: > Richmond is here to remind us how ridiculous and contrary the computer world > is; and to provide comic relief between heated cheese discussions. Hmm... > heated cheese... Got me in one . . . :) > > On 2 August 2011 14:42, Andrew Kluthe wrote: > >> I use turnkey linux appliances for a lot of things, but I guess I don't >> follow what you are talking about in the later half of your post. >> >> -- >> View this message in context: >> http://runtime-revolution.278305.n4.nabble.com/Virtual-Appliances-tp3713223p3713853.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 bobs at twft.com Tue Aug 2 17:56:11 2011 From: bobs at twft.com (Bob Sneidar) Date: Tue, 2 Aug 2011 14:56:11 -0700 Subject: SMTP Library that works with Gmail over SSL? In-Reply-To: References: Message-ID: <9AA15A35-DD08-479F-9A57-12B0D7BA0EA6@twft.com> Speaking of which, does Livecode do AES encryption now? I thought it did. I want to store passwords in AES format and decrypt them in my stack script. Bob On Aug 2, 2011, at 12:26 PM, Trevor DeVore wrote: > Does anyone have a LiveCode solution that can send HTML email via SMTP using > SSL? I need to send email through the Gmail SMTP server and the existing > SMTP libraries I've found for LiveCode don't support SSL. > > -- > Trevor DeVore > Blue Mango Learning Systems > > LiveCode Resources for Developers: http://livecode.bluemangolearning.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 chipp at altuit.com Tue Aug 2 17:56:34 2011 From: chipp at altuit.com (Chipp Walters) Date: Tue, 2 Aug 2011 16:56:34 -0500 Subject: [OT] Flash is NOT Dead In-Reply-To: <3024D28281A6468C898339110585C615@GATEWAY> References: <3024D28281A6468C898339110585C615@GATEWAY> Message-ID: <555B0150-C398-4C0F-9B95-3A70E831D176@altuit.com> Sorry to spoil the celebration, but Flash still has a strong role to play on the Internet, albeit not with iOS. Google has graciously given Apple a huge head start in the tablet wars, but to call them 'over' would be as silly as saying Flash is dead. I seem to recall reading recently that over 70% of online videos are compiled with Flash. I know it was a pleasant surprise when I clicked on a link on my new Android Tablet and it went to a website and played the header Flash animation, instead of showing a blank div. Up until recently, Android tablets could no way compete with iPads. That's now changing. Just as those who cried "Apple is dead," there will be others shouting from the peanut galleries about Flash being doomed. How ironic to be having this discussion in an LC forum where we all only wish we could have one tenth the market penetration of Flash. Chipp Walters CEO, Shafer Walters Group, Inc On Aug 2, 2011, at 11:12 AM, "Lynn Fredricks" wrote: >> It would appear Flash is dead or certainly critically ill. >> Happened much quicker than even I expected. >> >> http://www.telecomtv.com/comspace_newsDetail.aspx?n=47914&id=e >> 9381817-0593-417a-8639-c4c53e2a2a10 >> >> And all those people who thought banning Flash would be the >> end of Apple, and that it was stifling competition. I can't >> count the number of people who've told me they 'must have' >> Flash so I've said 'don't buy an iPhone/iPad', but they still >> did. Maybe that's why Adobe gave up so quickly, even they saw >> the people who wanted Flash weren't prepared to support it? > > Hey Kay - wow, that site has an annoying pop up. If you don't want to join, > that pop up doesn't go away and won't let you read the article. > > Adobe putting out an HTML 5 animation product doesn't mean anything about > winning or losing. They are, very wisely, putting out a tool because web > interactivity is a market where they already have a strong foothold. Not > doing anything is worse. If Adobe can sell you yet another product, it is a > win - and they have a huge user base to sell to. There are some other HTML > 5 products out there already, but its in Adobe's interest that you buy from > Adobe instead of them. These companies groom sets of customers to sell more > stuff to, and if you fall outside of that target customer profile, they > really don't care. > > Adobe hasn't given up on Flash at all - they are spending time on > developments which can still differentiate Flash from what you can achieve > with HTML 5, such as Molehill: > http://labs.adobe.com/technologies/flashplatformruntimes/features/stage3d.ht > ml. > > Blocking Flash from iOS has hurt Apple (a little) because its given the > Android phone and tablet market a gift, but you are right - so many people > do not care. The details of the arguments surrounding Apple's walled garden > strategy, on top of other developer focused weirdness we've all experienced > at one time or the othe working with Apple, is just static noise to your > average iPhone user. > > One thing you can bank on is that people are more than willing to not look > beyond the most immediate and self gratifying. I mean, how else can you > explain the success of strategies that "reward" you with a sort of average > discount for 12 months, but still charge you a much higher price for the > remainder of a 36 month contract (ie cable companies...)? > > I see two companies with very smart people coming up with very far reaching > strategies. Very interesting times we live in. > > Best regards, > > Lynn Fredricks > President > Paradigma Software > http://www.paradigmasoft.com > > Valentina SQL Server: The Ultra-fast, Royalty Free Database Server > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Tue Aug 2 17:59:39 2011 From: bobs at twft.com (Bob Sneidar) Date: Tue, 2 Aug 2011 14:59:39 -0700 Subject: [OT] Flash is Dead In-Reply-To: <4E383ABD.3020206@hyperactivesw.com> References: <6933C949-4CEE-44C8-8A6A-D1D5539FA1B7@verizon.net> <4E383709.7080007@gmail.com> <4E383ABD.3020206@hyperactivesw.com> Message-ID: <38A833F8-881E-4F07-B565-395F4C8C6F31@twft.com> I told all my friends back then to stop listening to media pundits who, if they had expertise in any Information Technology field whatsoever, would be out making a lot more money in the real world doing it, rather than writing articles for a rag bagging on everybody else about how not to do it. I remind my friends of this fact from time to time, at which they mumble a bit then shuffle off. Bob On Aug 2, 2011, at 10:58 AM, J. Landman Gay wrote: > On 8/2/11 12:42 PM, Richmond Mathewson wrote: > >> We've heard "XXX is dead" so many times that it gets like that chap >> looking after the sheep who thought it was a big laugh to cry "Wolf". > > I bought a few shares of Apple stack back when Apple was dead. :) > > -- > 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 Tue Aug 2 18:00:55 2011 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Wed, 03 Aug 2011 01:00:55 +0300 Subject: [OT] Flash is NOT Dead In-Reply-To: <555B0150-C398-4C0F-9B95-3A70E831D176@altuit.com> References: <3024D28281A6468C898339110585C615@GATEWAY> <555B0150-C398-4C0F-9B95-3A70E831D176@altuit.com> Message-ID: <4E387397.1060306@gmail.com> On 08/03/2011 12:56 AM, Chipp Walters wrote: > > > How ironic to be having this discussion in an LC forum where we all only wish we could have one tenth the market penetration of Flash. Ain't it just! So; to my previous wibble: wouldn't it be nice if there were an online way to author Livecode stacks . . . . . or, at least . . . . . properly functioning revlets? From bobs at twft.com Tue Aug 2 18:04:00 2011 From: bobs at twft.com (Bob Sneidar) Date: Tue, 2 Aug 2011 15:04:00 -0700 Subject: Startup message In-Reply-To: <008701cc5155$a7636200$f62a2600$@com> References: <4E385E3A.8080106@fourthworld.com> <008701cc5155$a7636200$f62a2600$@com> Message-ID: Insert an exit openStack or exit preOpenstack at the top of the handler and comment it out when you want to avoid running the handlers and delete the comments when you want to run them. Alternately check the state of a property of the stack and run only when true. Seems simple enough. Bob On Aug 2, 2011, at 1:49 PM, Slava Paperno wrote: > On a related note: I have often wished that preOpenStack and openStack were > not called when I open the stack in the IDE. When the programming is not > finished, some calls that are already written into those handlers cannot yet > be successful because other parts are missing. The result is that the first > thing you see when you open the stack in the IDE is an error. > > My preference would be for the IDE to open the stack in the Browse mode, and > for those two handlers to be called when I switch to the Run mode. And > "sometimes" I think that what does happen, but I have never stopped to > investigate if it's true. > > Slava > >> -----Original Message----- >> From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode- >> bounces at lists.runrev.com] On Behalf Of Richard Gaskin >> Sent: Tuesday, August 02, 2011 4:30 PM >> To: use-livecode at lists.runrev.com >> Subject: Re: Startup message >> >> Pete wrote: >>> Thanks folks, didn't realise this message only applied to >> standalones. Is >>> there then no equivalent for stacks running in the IDE, other than a >>> preOpenCard/preOpenStack handler? >> >> Startup is for when the engine starts up, preOpenStack is for when a >> stack is opened. Having both messages is very useful. Using >> preOpenStack for things you want to initialize in both the IDE and as a >> standalone will do what you need. >> >> -- >> Richard Gaskin >> Fourth World >> LiveCode training and consulting: http://www.fourthworld.com >> Webzine for LiveCode developers: http://www.LiveCodeJournal.com >> LiveCode Journal blog: http://LiveCodejournal.com/blog.irv >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 andre at andregarzia.com Tue Aug 2 18:07:27 2011 From: andre at andregarzia.com (Andre Garzia) Date: Wed, 3 Aug 2011 00:07:27 +0200 Subject: [OT] Flash is NOT Dead In-Reply-To: <555B0150-C398-4C0F-9B95-3A70E831D176@altuit.com> References: <3024D28281A6468C898339110585C615@GATEWAY> <555B0150-C398-4C0F-9B95-3A70E831D176@altuit.com> Message-ID: I personally think that flash is a great way to make web games... it has a huge market penetration and looks like javascript... :-) On Tue, Aug 2, 2011 at 11:56 PM, Chipp Walters wrote: > Sorry to spoil the celebration, but Flash still has a strong role to play > on the Internet, albeit not with iOS. Google has graciously given Apple a > huge head start in the tablet wars, but to call them 'over' would be as > silly as saying Flash is dead. I seem to recall reading recently that over > 70% of online videos are compiled with Flash. > > I know it was a pleasant surprise when I clicked on a link on my new > Android Tablet and it went to a website and played the header Flash > animation, instead of showing a blank div. > > Up until recently, Android tablets could no way compete with iPads. That's > now changing. Just as those who cried "Apple is dead," there will be others > shouting from the peanut galleries about Flash being doomed. > > How ironic to be having this discussion in an LC forum where we all only > wish we could have one tenth the market penetration of Flash. > > Chipp Walters > CEO, Shafer Walters Group, Inc > > On Aug 2, 2011, at 11:12 AM, "Lynn Fredricks" < > lfredricks at proactive-intl.com> wrote: > > >> It would appear Flash is dead or certainly critically ill. > >> Happened much quicker than even I expected. > >> > >> http://www.telecomtv.com/comspace_newsDetail.aspx?n=47914&id=e > >> 9381817-0593-417a-8639-c4c53e2a2a10 > >> > >> And all those people who thought banning Flash would be the > >> end of Apple, and that it was stifling competition. I can't > >> count the number of people who've told me they 'must have' > >> Flash so I've said 'don't buy an iPhone/iPad', but they still > >> did. Maybe that's why Adobe gave up so quickly, even they saw > >> the people who wanted Flash weren't prepared to support it? > > > > Hey Kay - wow, that site has an annoying pop up. If you don't want to > join, > > that pop up doesn't go away and won't let you read the article. > > > > Adobe putting out an HTML 5 animation product doesn't mean anything about > > winning or losing. They are, very wisely, putting out a tool because web > > interactivity is a market where they already have a strong foothold. Not > > doing anything is worse. If Adobe can sell you yet another product, it is > a > > win - and they have a huge user base to sell to. There are some other > HTML > > 5 products out there already, but its in Adobe's interest that you buy > from > > Adobe instead of them. These companies groom sets of customers to sell > more > > stuff to, and if you fall outside of that target customer profile, they > > really don't care. > > > > Adobe hasn't given up on Flash at all - they are spending time on > > developments which can still differentiate Flash from what you can > achieve > > with HTML 5, such as Molehill: > > > http://labs.adobe.com/technologies/flashplatformruntimes/features/stage3d.ht > > ml. > > > > Blocking Flash from iOS has hurt Apple (a little) because its given the > > Android phone and tablet market a gift, but you are right - so many > people > > do not care. The details of the arguments surrounding Apple's walled > garden > > strategy, on top of other developer focused weirdness we've all > experienced > > at one time or the othe working with Apple, is just static noise to your > > average iPhone user. > > > > One thing you can bank on is that people are more than willing to not > look > > beyond the most immediate and self gratifying. I mean, how else can you > > explain the success of strategies that "reward" you with a sort of > average > > discount for 12 months, but still charge you a much higher price for the > > remainder of a 36 month contract (ie cable companies...)? > > > > I see two companies with very smart people coming up with very far > reaching > > strategies. Very interesting times we live in. > > > > Best regards, > > > > Lynn Fredricks > > President > > Paradigma Software > > http://www.paradigmasoft.com > > > > Valentina SQL Server: The Ultra-fast, Royalty Free Database Server > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode 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.andregarzia.com All We Do Is Code. From livfoss at mac.com Tue Aug 2 18:18:47 2011 From: livfoss at mac.com (Graham Samuel) Date: Wed, 03 Aug 2011 00:18:47 +0200 Subject: Startup message In-Reply-To: References: Message-ID: Startup will do what you want. To test while in the IDE, do send "startup" to stack "mymainstack" from the message box. HTH Graham On :Tue, 2 Aug 2011 13:57:14 -0700, Pete > > Thanks Richard. If I understand the message path correctly, the > preOpenStack handler in the mainstack will be executed for every substack of > the main stack that is opened? I can easily check whether my initialisation > code has already executed in the handler but was hoping for a way to have > the code executed just once when the app started up. > Pete > Molly's Revenge > > > > > On Tue, Aug 2, 2011 at 1:29 PM, Richard Gaskin > wrote: > >> Pete wrote: >> >>> Thanks folks, didn't realise this message only applied to standalones. Is >>> there then no equivalent for stacks running in the IDE, other than a >>> preOpenCard/preOpenStack handler? >>> >> >> Startup is for when the engine starts up, preOpenStack is for when a stack >> is opened. Having both messages is very useful. Using preOpenStack for >> things you want to initialize in both the IDE and as a standalone will do >> what you need. >> >> -- >> Richard Gaskin >> Fourth World From bobs at twft.com Tue Aug 2 18:28:55 2011 From: bobs at twft.com (Bob Sneidar) Date: Tue, 2 Aug 2011 15:28:55 -0700 Subject: Virtual Appliances In-Reply-To: References: <4E383C1B.2060500@gmail.com> <1312321339182-3713853.post@n4.nabble.com> Message-ID: And let's not forget there may have been some imbibing of refreshing beverages going on at some point today. Bob On Aug 2, 2011, at 2:51 PM, stephen barncard wrote: > Richmond is here to remind us how ridiculous and contrary the computer world > is; and to provide comic relief between heated cheese discussions. Hmm... > heated cheese... > > On 2 August 2011 14:42, Andrew Kluthe wrote: > >> I use turnkey linux appliances for a lot of things, but I guess I don't >> follow what you are talking about in the later half of your post. >> >> -- >> View this message in context: >> http://runtime-revolution.278305.n4.nabble.com/Virtual-Appliances-tp3713223p3713853.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 >> > > > > -- > > > > 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 From admin at mfelkerco.com Tue Aug 2 18:55:40 2011 From: admin at mfelkerco.com (Admin) Date: Tue, 02 Aug 2011 17:55:40 -0500 Subject: [OT] Unboxing the Acer Android Tablet In-Reply-To: References: Message-ID: <9da16c73ad4d6042b2609c0d57157b64@mfelkerco.com> That I agree with. I wish the manufacturers would all agree on a hardware data port so that 3rd party companies could support them and create cool gadgets. Grrrrrrr. Mike On Tue, 2 Aug 2011 12:44:30 -0500, Chipp Walters wrote: > I should also mention, once I figured out how to use the cursor with my > finger, it's a MUCH more satisfying experience than the 'bubble approach > Apple has. Score one for Google in UIX over Apple. > > Still, there's little if any after market accessories for any of these > Android products, especially compared to Apple. Too bad. > On Aug 2, 2011 12:40 PM, "Chipp Walters" wrote: > >> Turns out the Android doesn't know how to spell I pad. :-) On Aug 2, 2011 12:38 PM, "Chipp Walters" wrote: >> >>> 'And the resolution isn't "much" better. The wide screen can be useful >> when >> >>> playing Angry Birds Rio levels, but the actual DPI is only 149 versus > > 132. > >>> 132 is already fairly high, and unless I wear reading glasses and try to look for differences, I wouldn't describe the extra 12% as being that > > much > better.' Colin, resolution typically refers to the number of pixels on a screen, not Links: ------ [1] mailto:chipp at altuit.com [2] http://lists.runrev.com/mailman/listinfo/use-livecode [3] mailto:chipp at altuit.com From andrew at rjdfarm.com Tue Aug 2 18:55:57 2011 From: andrew at rjdfarm.com (Andrew Kluthe) Date: Tue, 2 Aug 2011 15:55:57 -0700 (PDT) Subject: Virtual Appliances In-Reply-To: References: <4E383C1B.2060500@gmail.com> <1312321339182-3713853.post@n4.nabble.com> Message-ID: <1312325757286-3713984.post@n4.nabble.com> Well, I guess I lied when I said I didn't understand the second part. I did understand it. What I didn't understand was how this relates to Turnkey linux Virtual Appliances. They are good for things like a fast redmine setup, or an XMPP server, or a lampstack. How does that technology you spoke about fit in to these appliances? -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Virtual-Appliances-tp3713223p3713984.html Sent from the Revolution - User mailing list archive at Nabble.com. From admin at mfelkerco.com Tue Aug 2 18:58:00 2011 From: admin at mfelkerco.com (Admin) Date: Tue, 02 Aug 2011 17:58:00 -0500 Subject: [OT] Unboxing the Acer Android Tablet In-Reply-To: References: Message-ID: The grid is in the hardware - it's part of the screen. I guess that's the touch sensitive part. There is no current photo problems - must have been resolved. Mike On Tue, 2 Aug 2011 11:24:34 -0700, Pete wrote: > I see some reviews that talk about a grid being visible on the screen and > also really bad photo quality in the built-in Gallery App. They're reviews > form when the Iconia first came out so wondering if those issues have been > addressed? > Pete > Molly's Revenge > > On Tue, Aug 2, 2011 at 10:44 AM, Chipp Walters wrote: > >> I should also mention, once I figured out how to use the cursor with my finger, it's a MUCH more satisfying experience than the 'bubble approach Apple has. Score one for Google in UIX over Apple. Still, there's little if any after market accessories for any of these Android products, especially compared to Apple. Too bad. On Aug 2, 2011 12:40 PM, "Chipp Walters" wrote: >> >>> Turns out the Android doesn't know how to spell I pad. :-) On Aug 2, 2011 12:38 PM, "Chipp Walters" wrote: >>> >>>> 'And the resolution isn't "much" better. The wide screen can be useful >>> when >>> >>>> playing Angry Birds Rio levels, but the actual DPI is only 149 versus >> 132. >> >>>> 132 is already fairly high, and unless I wear reading glasses and try to look for differences, I wouldn't describe the extra 12% as being that >> much better.' Colin, resolution typically refers to the number of pixels on a screen, not use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode [2] > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com [6] > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode [7] Links: ------ [1] mailto:chipp at altuit.com [2] http://lists.runrev.com/mailman/listinfo/use-livecode [3] mailto:chipp at altuit.com [4] http://www.mollysrevenge.com [5] mailto:chipp at altuit.com [6] mailto:use-livecode at lists.runrev.com [7] http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Tue Aug 2 19:06:32 2011 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Wed, 03 Aug 2011 02:06:32 +0300 Subject: Virtual Appliances In-Reply-To: <1312325757286-3713984.post@n4.nabble.com> References: <4E383C1B.2060500@gmail.com> <1312321339182-3713853.post@n4.nabble.com> <1312325757286-3713984.post@n4.nabble.com> Message-ID: <4E3882F8.6040507@gmail.com> On 08/03/2011 01:55 AM, Andrew Kluthe wrote: > Well, I guess I lied when I said I didn't understand the second part. I did > understand it. What I didn't understand was how this relates to Turnkey > linux Virtual Appliances. It doesn't really; but TLVAs put me in mind of stuuf such as Sumo Paint, and then my mind wandered onto the idea of some sort of online front-end to some sort of Livecode to generate revlets for embedding in web-pages . . . . . . stream of consciousness, old boy! > > They are good for things like a fast redmine setup, or an XMPP server, or a > lampstack. > > How does that technology you spoke about fit in to these appliances? > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Virtual-Appliances-tp3713223p3713984.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 admin at mfelkerco.com Tue Aug 2 19:35:30 2011 From: admin at mfelkerco.com (Admin) Date: Tue, 02 Aug 2011 18:35:30 -0500 Subject: automatic popup with combo box - =?UTF-8?Q?how=3F?= In-Reply-To: <008701cc5155$a7636200$f62a2600$@com> References: <4E385E3A.8080106@fourthworld.com> <008701cc5155$a7636200$f62a2600$@com> Message-ID: <1bf51a30abbec17c7725570fbc32ca43@mfelkerco.com> Hello all. Why someone types in a combo box, usually it opens based on the letter you are typing, so, say you have a dropdown box with countries in it and you type 'U', Uganda, United States, etc should pop open. How do you do this with Live Code? Mike From jmyepes at mac.com Tue Aug 2 19:41:20 2011 From: jmyepes at mac.com (JosepM) Date: Tue, 2 Aug 2011 16:41:20 -0700 (PDT) Subject: datagrid: how to apply a numberFormat to a column? In-Reply-To: References: <1301919395795-3425298.post@n4.nabble.com> <1302202149690-3434246.post@n4.nabble.com> <1312315892388-3713612.post@n4.nabble.com> Message-ID: <1312328480493-3714053.post@n4.nabble.com> Hi, The FillinData is executed. I will try this... Into the database the value is a decimal(12,4), so 4 positions for decimals, but I left the user try to customize the format for the decimal places. Ever I get 4 positions... Salut, Josep -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/datagrid-how-to-apply-a-numberFormat-to-a-column-tp3425298p3714053.html Sent from the Revolution - User mailing list archive at Nabble.com. From bobs at twft.com Tue Aug 2 20:46:29 2011 From: bobs at twft.com (Bob Sneidar) Date: Tue, 2 Aug 2011 17:46:29 -0700 Subject: Append to Contextual Menus Message-ID: <8D643AE5-B089-4323-BBD9-824D2C7215DB@twft.com> Hi all. This may have been discussed before. I want to add a contextual menu to fields in addition to the one the IDE is presenting, so I can add things like validations while in edit mode. Is there a way to do this without overriding the standard contextual menus? This can be filed as so obscure as not needing a reply, but I have been thinking about a method for enabling validations for fields in edit mode using a right click or something. I could hack it by selecting the field and then running something in the message box, but wouldn't that be a cool plugin? For instance I have a notempty validation I use: on notEmpty theField -- returns false in the result if the field is empty, otherwise returns true put true into theResult if field theField is empty then put "lbl" & char 4 to -1 of theField into theFieldLabel -- all my fields start with "fld" put the text of field theFieldLabel into theFieldName answer theFieldName && "cannot be empty!" select the text of field theField put false into theResult end if return theResult end notEmpty If the field has a property called Validations, and notEmpty is one of the lines of that property, then this command will be called. I have a concat validation that will concatenate a list of fields and put it in another field, I have a noupdate validation that deletes the key in an array before updating the database, so that something like a password can only be created when creating a new record, and requires another handler to change it. I would love to be able to assign these validations with a right-click of the mouse. I will share all my validations at some point. Bob From lan.kc.macmail at gmail.com Tue Aug 2 20:50:53 2011 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Wed, 3 Aug 2011 08:50:53 +0800 Subject: [OT] Flash is NOT Dead In-Reply-To: <3024D28281A6468C898339110585C615@GATEWAY> References: <3024D28281A6468C898339110585C615@GATEWAY> Message-ID: On Wed, Aug 3, 2011 at 12:12 AM, Lynn Fredricks < lfredricks at proactive-intl.com> wrote: > > Hey Kay - wow, that site has an annoying pop up. If you don't want to join, > that pop up doesn't go away and won't let you read the article. > > Sorry, no idea, I run Firefox 5.0.1 with the NoScripts 2.1.2.5 Add-on installed: http://noscript.net/ For me the linked page loaded, no pop-ups, no sign-ups, non google-analytics.com, no googleadservices.com, no ..... just an article from someone else who's opinion is more extreme than mine. I recommend NoScripts From capellan2000 at gmail.com Tue Aug 2 20:53:19 2011 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Tue, 2 Aug 2011 17:53:19 -0700 (PDT) Subject: MD5 digest of arrays and controls In-Reply-To: References: <1B6C8F3A-9BC7-4F25-96DC-6D39C6EF13A1@unimelb.edu.au> <1312221466254-3710396.post@n4.nabble.com> <1312291849545-3712329.post@n4.nabble.com> Message-ID: <1312332799833-3714135.post@n4.nabble.com> Hi Bob, slylabs13 wrote: > > What is in it? Is the object in it correct case sensitively? > Why set the case sensitive to true anyway? > What does that accomplish? > > Bob > The code that I am debugging is part of this stack: http://andregarzia.on-rev.com/alejandro/stacks/Eps_Import_V05B.zip This stack reads an Ilustrator version 7 drawing and convert the Ilustrator graphics to Polygonal vectors inside a stack (including gradients, although this part is a work in progress). If you download this stack, you could find a folder with many test files that you could import. Notice that I created this, many years ago, to import vector clipart to my stacks. Actually, my advice is to convert your clipart to uncompressed svg, using Inkscape or any other program, and import them using Ian Macphail's stack SVGL: http://revonline2.runrev.com/stack/112/SVGL Hopefully, my experiments to add gradients and transparency to SVGL will produce results and only after, I will post a link requesting for testers. In the stack EPS import v05B, I need to change the caseSensitive property to deal differently with similar tags that appear inside Illustrator files. For example: "Xa" sets a rgb color fill, while "XA" sets a rgb color outline, "k" is flat CMYK color fill, "K" is a CMYK color outline, "g" is a grayscale fill, "G" is a grayscale outline, etc... Right now, I am testing for another solutions. Thanks for your interest! :-) Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/MD5-digest-of-arrays-and-controls-tp3708824p3714135.html Sent from the Revolution - User mailing list archive at Nabble.com. From capellan2000 at gmail.com Tue Aug 2 21:00:52 2011 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Tue, 2 Aug 2011 18:00:52 -0700 (PDT) Subject: Where does survive the inventive user ? In-Reply-To: References: <8CE1A70D9625EA6-2550-214DE@web-mmc-d04.sysops.aol.com> <44857038-F42F-4374-8DA7-F6BCDF16629C@doctorTimothyMiller.com> Message-ID: <1312333252624-3714146.post@n4.nabble.com> Hi Tim, Timothy Miller-2 wrote: > > Meanwhile, a comprehensive LC tutorial, extremely user friendly, > written in LC, starting at the most elementary level... > > Has it been envisioned? > > Tim > This is the free MetaTalk Programmer :-D http://www.metacard.com/pi6.html http://www.canelasoftware.com/mc/metacard24/mtp.mc http://www.canelasoftware.com/mc/metacard24/mtpguide.mc http://www.canelasoftware.com/mc/metacard24/README.mtp Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Where-does-survive-the-inventive-user-tp3698117p3714146.html Sent from the Revolution - User mailing list archive at Nabble.com. From lan.kc.macmail at gmail.com Tue Aug 2 21:04:46 2011 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Wed, 3 Aug 2011 09:04:46 +0800 Subject: [OT] Unboxing the Acer Android Tablet In-Reply-To: References: Message-ID: Classic. Turns out none of my Apple products knows how to spell Icons... no I mean Iconic... no I mean Icon is :-) There's a website around somewhere (sorry can't locate right now) that is dedicated to the SMS messages that have had their meaning completely jumbled due to 'auto-spell correctors' getting it completely wrong. It's hilarious, wish I could find it. On Wed, Aug 3, 2011 at 1:40 AM, Chipp Walters wrote: > Turns out the Android doesn't know how to spell I pad. :-) > > From pete at mollysrevenge.com Tue Aug 2 21:11:36 2011 From: pete at mollysrevenge.com (Pete) Date: Tue, 2 Aug 2011 18:11:36 -0700 Subject: Append to Contextual Menus In-Reply-To: <8D643AE5-B089-4323-BBD9-824D2C7215DB@twft.com> References: <8D643AE5-B089-4323-BBD9-824D2C7215DB@twft.com> Message-ID: I'm doing something similar but I have my own tools palette instead of the IDE so I can configure the controls as they are dropped onto the card. One thing you might try is having a palette stack which has button it to set your various validation options. Select the control you want to insert validation on, then click on the appropriate palette button. The palette button's on mouseUp handler would be: set the Validation of selobj() to notempty Depending on how far you want to go, you coauld have the button bring up a dialog window with the current contents of the Validation cprop displayed and let the user edit it/add to it/etc, then store the new value back into the selected control. Pete Molly's Revenge On Tue, Aug 2, 2011 at 5:46 PM, Bob Sneidar wrote: > Hi all. > > This may have been discussed before. I want to add a contextual menu to > fields in addition to the one the IDE is presenting, so I can add things > like validations while in edit mode. Is there a way to do this without > overriding the standard contextual menus? This can be filed as so obscure as > not needing a reply, but I have been thinking about a method for enabling > validations for fields in edit mode using a right click or something. I > could hack it by selecting the field and then running something in the > message box, but wouldn't that be a cool plugin? > > For instance I have a notempty validation I use: > > on notEmpty theField > -- returns false in the result if the field is empty, otherwise returns > true > put true into theResult > if field theField is empty then > put "lbl" & char 4 to -1 of theField into theFieldLabel -- all my > fields start with "fld" > put the text of field theFieldLabel into theFieldName > answer theFieldName && "cannot be empty!" > select the text of field theField > put false into theResult > end if > return theResult > end notEmpty > > If the field has a property called Validations, and notEmpty is one of the > lines of that property, then this command will be called. I have a concat > validation that will concatenate a list of fields and put it in another > field, I have a noupdate validation that deletes the key in an array before > updating the database, so that something like a password can only be created > when creating a new record, and requires another handler to change it. > > I would love to be able to assign these validations with a right-click of > the mouse. I will share all my validations at some point. > > 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 Aug 2 21:23:41 2011 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Tue, 2 Aug 2011 18:23:41 -0700 (PDT) Subject: [OT] Flash is NOT Dead In-Reply-To: References: <3024D28281A6468C898339110585C615@GATEWAY> <555B0150-C398-4C0F-9B95-3A70E831D176@altuit.com> Message-ID: <1312334621760-3714170.post@n4.nabble.com> Hi All, Andre Garzia-3 wrote: > > I personally think that flash is a great way to make web games... it has a > huge market penetration and looks like javascript... > Flash is not dead, but it will be making place for HTML5, an open standard. This is the way it should be: an open standard that moves slowly but surely... and (hopefully) more than one propietary alternatives adding value, over the standards. A book about Postscript language was my first programming book, so I keep Adobe in great esteem, so for this reason: I wish to each development platform, a deserved and well earned share of sucess in this 21st century! :-D Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-Flash-is-Dead-tp3712744p3714170.html Sent from the Revolution - User mailing list archive at Nabble.com. From admin at mfelkerco.com Tue Aug 2 22:00:23 2011 From: admin at mfelkerco.com (Admin) Date: Tue, 02 Aug 2011 21:00:23 -0500 Subject: [OT] Unboxing the Acer Android Tablet In-Reply-To: References: Message-ID: <692db95898eeb8774e6d95251bc6a8e2@mfelkerco.com> Dear all, I am in desperate need of help. The revlet player is simply broken on all levels. On Mac, in Safari, it takes between 4 and 8 clicks to press a button. On PCs, all kinds of browser crashing is going on. What can I do? How can I get people to use the database I created? Any ideas? The client wants it embedded in their website. I am truly stuck. For anyone that wants to test it, go to: www.campstaffusa.com/newdb I need suggestions and help. Mike From selander at tkf.att.ne.jp Tue Aug 2 22:27:01 2011 From: selander at tkf.att.ne.jp (Tim Selander) Date: Wed, 03 Aug 2011 11:27:01 +0900 Subject: WAS Unboxing NOW: Mike's revlet problem In-Reply-To: <692db95898eeb8774e6d95251bc6a8e2@mfelkerco.com> References: <692db95898eeb8774e6d95251bc6a8e2@mfelkerco.com> Message-ID: <4E38B1F5.1000703@tkf.att.ne.jp> Tried your page, and things seem to work okay with the revlet player plugin! Buttons worked as expected on one click. Could not complete your registration, but not sure if that is a revlet problem or simply that your stack/program is not finished yet. Sorry not to be able to replicate your problems and offer help. MacBook Pro, OSX10.5.8, Safari 5.0.3 Tim Selander Tokyo, Japan On 8/3/11 11:00 AM, Admin wrote: > > > Dear all, > > I am in desperate need of help. The revlet player is > simply broken on all levels. On Mac, in Safari, it takes between 4 and 8 > clicks to press a button. On PCs, all kinds of browser crashing is going > on. > > What can I do? How can I get people to use the database I created? > Any ideas? The client wants it embedded in their website. I am truly > stuck. > > For anyone that wants to test it, go to: > > > www.campstaffusa.com/newdb > > I need suggestions and help. > > 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 admin at mfelkerco.com Tue Aug 2 22:31:33 2011 From: admin at mfelkerco.com (Admin) Date: Tue, 02 Aug 2011 21:31:33 -0500 Subject: WAS Unboxing NOW: Mike's revlet problem In-Reply-To: <4E38B1F5.1000703@tkf.att.ne.jp> References: "\"" " <692db95898eeb8774e6d95251bc6a8e2@mfelkerco.com> <4E38B1F5.1000703@tkf.att.ne.jp> Message-ID: <958a1d8d3067874ea00cf318ea0ee30b@mfelkerco.com> On the last page, it should say 'save and upload picture' Were you able to get to that point without problems? Mike On Wed, 03 Aug 2011 11:27:01 +0900, Tim Selander wrote: > Tried your page, and things seem to work okay with the revlet > player plugin! Buttons worked as expected on one click. Could not > complete your registration, but not sure if that is a revlet > problem or simply that your stack/program is not finished yet. > > Sorry not to be able to replicate your problems and offer help. > > MacBook Pro, OSX10.5.8, Safari 5.0.3 > > Tim Selander > Tokyo, Japan > > On 8/3/11 11:00 AM, Admin wrote: > >> Dear all, I am in desperate need of help. The revlet player is simply broken on all levels. On Mac, in Safari, it takes between 4 and 8 clicks to press a button. On PCs, all kinds of browser crashing is going on. What can I do? How can I get people to use the database I created? Any ideas? The client wants it embedded in their website. I am truly stuck. For anyone that wants to test it, go to: www.campstaffusa.com/newdb [1] I need suggestions and help. Mike _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com [2] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode [3] > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com [4] > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode [5] Links: ------ [1] http://www.campstaffusa.com/newdb [2] mailto:use-livecode at lists.runrev.com [3] http://lists.runrev.com/mailman/listinfo/use-livecode [4] mailto:use-livecode at lists.runrev.com [5] http://lists.runrev.com/mailman/listinfo/use-livecode From Mark_Smith at cpe.umanitoba.ca Tue Aug 2 23:15:26 2011 From: Mark_Smith at cpe.umanitoba.ca (Mark Smith) Date: Tue, 2 Aug 2011 20:15:26 -0700 (PDT) Subject: Getting Android going Message-ID: <1312341326010-3714311.post@n4.nabble.com> As anyone gotten to the point of installing the Android SDK on the Mac, testing it to make sure you have a functional simulator, all using the Android SDK and AVD manager and then, when asked by LC to specify in preferences where the root of your Android SDK is not have a clue? I'm there... I don't know what to put into preferences and everything I try results in an error "The chosen folder is not a valid Android SDK" Just wondering if someone stumbled into this pit and found a way out. Thanks -- Mark -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Getting-Android-going-tp3714311p3714311.html Sent from the Revolution - User mailing list archive at Nabble.com. From capellan2000 at gmail.com Tue Aug 2 23:23:58 2011 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Tue, 2 Aug 2011 20:23:58 -0700 (PDT) Subject: [OT] Unboxing the Acer Android Tablet In-Reply-To: References: Message-ID: <1312341838360-3714321.post@n4.nabble.com> Well, after reading first hand experiences with both Tablets, now I will be expecting the stream of comparisions ads that creatives are going to... Hmmm... produce. The One that do not waste time or space comparing themselves with competitors, have my full attention. Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-Unboxing-the-Acer-Android-Tablet-tp3711291p3714321.html Sent from the Revolution - User mailing list archive at Nabble.com. From capellan2000 at gmail.com Tue Aug 2 23:43:36 2011 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Tue, 2 Aug 2011 20:43:36 -0700 (PDT) Subject: [OT] Max-Gentleman In-Reply-To: <4E3839A4.5030607@gmail.com> References: <4E38256F.7070309@gmail.com> <4E3839A4.5030607@gmail.com> Message-ID: <1312343016719-3714349.post@n4.nabble.com> Hi Richmmond, Richmond Mathewson-2 wrote: > > [snip] > It certainly enlarges my view of the world; a glass and I am suddenly > more tolerant of other people's foibles, and feel filled with an excess > of largesse. > That paragraph bring me memories of Charles Dickens book: The Pickwick Papers. http://www.dickens-literature.com/The_Pickwick_Papers/index.html :-D Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-Max-Gentleman-tp3712938p3714349.html Sent from the Revolution - User mailing list archive at Nabble.com. From bobcole at earthlink.net Tue Aug 2 23:58:40 2011 From: bobcole at earthlink.net (Bob Cole) Date: Tue, 2 Aug 2011 22:58:40 -0500 Subject: Editing with On-Rev Client (was: Path to start using a stack in On-Rev?) Message-ID: <5358CE8A-EBAC-4363-B76E-0ECE3177AC32@earthlink.net> Martin: While editing some .lc server scripts with On-Rev Client, I found that if I use the block then the script looks like unformatted text which agrees with your observation. However, when I changed the block to then the formatting appeared. Unfortunately, the "View Online" and "Debug" buttons were still disabled. It appears that the buttons are enabled only for .irev files. Anyone know how to enable the On-Rev Client buttons for .lc scripts? Bob ----- Original Message ----- Date: Sat, 30 Jul 2011 18:26:56 -0700 (PDT) From: Martin Koob Subject: Re: Path to start using a stack in On-Rev? Message-ID: <1312075616876-3707074.post at n4.nabble.com> Yes I found the setting to add lc as an irev type which allows me to edit it in the on-rev client but when I select a file with the .lc extension the 'View online' and 'Debug' buttons are disabled. It seems to treat the file as other plain text files except for the colourization. Is debugging supported for 4.6.3? Why would 'View online' not work? Martin From jacque at hyperactivesw.com Wed Aug 3 00:45:12 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 02 Aug 2011 23:45:12 -0500 Subject: Getting Android going In-Reply-To: <1312341326010-3714311.post@n4.nabble.com> References: <1312341326010-3714311.post@n4.nabble.com> Message-ID: <4E38D258.5030509@hyperactivesw.com> On 8/2/11 10:15 PM, Mark Smith wrote: > As anyone gotten to the point of installing the Android SDK on the Mac, > testing it to make sure you have a functional simulator, all using the > Android SDK and AVD manager and then, when asked by LC to specify in > preferences where the root of your Android SDK is not have a clue? I'm > there... I don't know what to put into preferences and everything I try > results in an error "The chosen folder is not a valid Android SDK" > > Just wondering if someone stumbled into this pit and found a way out. Mine's always worked. I already had a "Developer" folder at the root level of the hard drive, so I just dropped the entire Android SDK in there along with the Apple stuff. My path in prefs is: /Developer/android-sdk-mac_x86 But it may not be the path that's wrong. Did you install all the SDK packages? There's some info here: I didn't know what I was doing when I set up, so I just followed those instructions and used the Android 2.2 API 8 package to set up my virtual machine. Do you have a VM configured? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From richmondmathewson at gmail.com Wed Aug 3 01:45:20 2011 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Wed, 03 Aug 2011 08:45:20 +0300 Subject: [OT] Max-Gentleman In-Reply-To: <1312343016719-3714349.post@n4.nabble.com> References: <4E38256F.7070309@gmail.com> <4E3839A4.5030607@gmail.com> <1312343016719-3714349.post@n4.nabble.com> Message-ID: <4E38E070.8010802@gmail.com> On 08/03/2011 06:43 AM, Alejandro Tejada wrote: > Hi Richmmond, > > > Richmond Mathewson-2 wrote: >> [snip] >> It certainly enlarges my view of the world; a glass and I am suddenly >> more tolerant of other people's foibles, and feel filled with an excess >> of largesse. >> > That paragraph bring me memories of Charles Dickens book: > The Pickwick Papers. > > http://www.dickens-literature.com/The_Pickwick_Papers/index.html > > :-D > > British Library offers e-classics app for iPad http://www.bbc.co.uk/news/technology-14376722 From admin at mfelkerco.com Wed Aug 3 02:24:41 2011 From: admin at mfelkerco.com (Admin) Date: Wed, 03 Aug 2011 01:24:41 -0500 Subject: How to sort on keydown In-Reply-To: References: Message-ID: <77e42eec5992d5b1d73de9542b4d25a1@mfelkerco.com> Hello everyone. I wrote the following code: on keydown show field "MonthDropDown" sort items of field "MonthDropDown" by keydown letter end keydown It's wrong. I know it's wrong. How do I make it right? (I want the drop down list to end up on the letter of what the user pressed on keydown, so if they pressed 'd' or 'D' I want "December" to become highlighted. Thanks everyone. Mike From admin at mfelkerco.com Wed Aug 3 02:26:59 2011 From: admin at mfelkerco.com (Admin) Date: Wed, 03 Aug 2011 01:26:59 -0500 Subject: using TAB, ENTER or RETURN to advance fields by force In-Reply-To: References: Message-ID: Hello again. I want the user to go to the next field (by force) by pressing either the TAB key, the ENTER key or the RETURN key. How do I do this in code? I know you can write the following: on enterkey --go to field "MiddleName" end enterkey same with tabkey. However, it does not work. I appreciate your help everyone. Mike From admin at mfelkerco.com Wed Aug 3 02:30:50 2011 From: admin at mfelkerco.com (Admin) Date: Wed, 03 Aug 2011 01:30:50 -0500 Subject: Questions about fields and error checking In-Reply-To: References: Message-ID: <0794baf84b94fb52a087dcdccdd1da9c@mfelkerco.com> Last one for the night. If someone enters nothing in a field, how do I error trap that? How do I make fields mandatory? - such that the form will not continue until all mandatory fields hold data If someone presses the submit or save button, how do I check to make sure all fields are filled in properly? Sorry guys. I know how to use database creation programs, but LiveCode is very manual. Nothing automatic about it. Last one. How do I hide text (or replace it with a bullet point) for a password field, but save the text in a special variable that I can write to the database? Same goes with reading the password back. I appreciate all the help I can get. Mike From keith at gulfbreezeortholab.com Wed Aug 3 02:38:19 2011 From: keith at gulfbreezeortholab.com (Keith (Gulf Breeze Ortho Lab)) Date: Wed, 3 Aug 2011 01:38:19 -0500 Subject: What is the best/fastest way to extract strings of text? In-Reply-To: <5D05E4E5-AC3B-4257-BE22-8EBDF94CEBC7@clarkeandclarke.co.uk> References: <5BD44D3C75A94DBE97825153AD2B1202@KeithPC> <5D05E4E5-AC3B-4257-BE22-8EBDF94CEBC7@clarkeandclarke.co.uk> Message-ID: <5EFEC70C13B74CE48CD67CC6E1824DB0@KeithPC> Thanks Keith. ----- Original Message ----- From: "Keith Clarke" To: "How to use LiveCode" Sent: Tuesday, August 02, 2011 3:01 AM Subject: Re: What is the best/fastest way to extract strings of text? > The recipe I (learned here and) use with extracting specific HTML / XML > elements is to get the specific target elements on their own line, remove > the unwanted lines and then move the target string items in the remaining > lines out into a separate variable - something like... > > 1. Get the target elements into their own line by prefixing the opening > tag with return, using: replace "<#B>" with return & "<#B>" in theSource > 2. Get the closing tag onto its own line by adding a return suffix, using: > replace "<#E>" with "<#E>" & return in theSource > 2. Remove the unwanted lines, (that lack the specific opening tag) using: > filter theSource with "<#B>" > 3. Delimit the line into items at the '>' character, using: set the item > delimiters to numtochar(62) > 4. Iterate through the list to extract the string, using: > repeat for each line l in theSource > put item 2 and return after theExtract > end repeat > 5. Clean-up the extract of any extra returns, using: filter theExtract > without empty > > If (my pre-coffee brain worked) theExtract should contain the tagged > strings in theSource. > > ...hmmm, talking of coffee... > Best, > Keith.. > > On 2 Aug 2011, at 08:24, Keith (Gulf Breeze Ortho Lab) wrote: > >> Hello, >> >> I am still playing with LiveCode and am now exploring chunks... >> >> My question is as follows. Suppose I have a variable with a lot of text. >> Throughout the text I have various strings, separated by consistent tags, >> that I need to extract. >> >> For example, the following text is in the variable myVar: >> >> The boy <#B>went to the store<#E>. He enjoyed his day out. >> >> The woman loves <#B>shopping at the mall<#E>. So do I. >> >> The girl loves <#E>eating at the restaurant<#E>. So does he. >> >> I am looking for the most efficient way to extract each of the strings of >> text between the <#B> and <#E> tags... I presume I will have to use a >> loop and the matchChunk function? I have experimented but am having a >> problem putting starting and ending positions into variables. >> >> Is there a better way to accomplish the above? >> >> Thanks! >> >> - Boo >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 mollysrevenge.com Wed Aug 3 02:55:32 2011 From: pete at mollysrevenge.com (Pete) Date: Tue, 2 Aug 2011 23:55:32 -0700 Subject: Questions about fields and error checking In-Reply-To: <0794baf84b94fb52a087dcdccdd1da9c@mfelkerco.com> References: <0794baf84b94fb52a087dcdccdd1da9c@mfelkerco.com> Message-ID: Hi Mike, To check the contents of a field, use a closeField handler. That message is sent when the user moves out of a field control in any way so you can get the contents, check them, then put up an error message if there's a problem. I'm afraid I don't have an answer for you on the password issue but I'm sure someone else will jump in. Pete Molly's Revenge On Tue, Aug 2, 2011 at 11:30 PM, Admin wrote: > > > Last one for the night. > > If someone enters nothing in a field, how > do I error trap that? > > How do I make fields mandatory? - such that the > form will not continue until all mandatory fields hold data > > If someone > presses the submit or save button, how do I check to make sure all > fields are filled in properly? > > Sorry guys. I know how to use database > creation programs, but LiveCode is very manual. Nothing automatic about > it. > > Last one. How do I hide text (or replace it with a bullet point) > for a password field, but save the text in a special variable that I can > write to the database? Same goes with reading the password back. > > I > appreciate all the help I can get. > > 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 pete at mollysrevenge.com Wed Aug 3 02:59:28 2011 From: pete at mollysrevenge.com (Pete) Date: Tue, 2 Aug 2011 23:59:28 -0700 Subject: using TAB, ENTER or RETURN to advance fields by force In-Reply-To: References: Message-ID: Hi MIke, You don't need to write any code to do this. The tab key should automatically move the cursor to the next field. For the Return/Enter key, just set the autoTab property of the field to true in the Inspector for the field. Pete Molly's Revenge On Tue, Aug 2, 2011 at 11:26 PM, Admin wrote: > > > Hello again. > > I want the user to go to the next field (by force) > by pressing either the TAB key, the ENTER key or the RETURN key. > > How > do I do this in code? > > I know you can write the following: > > on > enterkey > > --go to field "MiddleName" > > end enterkey > > same with > tabkey. However, it does not work. > > I appreciate your help everyone. > > > 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 pete at mollysrevenge.com Wed Aug 3 03:05:20 2011 From: pete at mollysrevenge.com (Pete) Date: Wed, 3 Aug 2011 00:05:20 -0700 Subject: How to sort on keydown In-Reply-To: <77e42eec5992d5b1d73de9542b4d25a1@mfelkerco.com> References: <77e42eec5992d5b1d73de9542b4d25a1@mfelkerco.com> Message-ID: I'm not exactly sure what you are trying to do but here's a suggestion. Sounds like you should use an option menu and set the text property of it in the Inspector palette to the months in alpha order, one per line. When the user clicks on the option menu, the list of months will appear and if they then type a letter, the entry starting with that letter will be highlighted. Pete Molly's Revenge On Tue, Aug 2, 2011 at 11:24 PM, Admin wrote: > > > Hello everyone. > > I wrote the following code: > > on keydown > show > field "MonthDropDown" > sort items of field "MonthDropDown" by keydown > letter > end keydown > > It's wrong. I know it's wrong. How do I make it > right? (I want the drop down list to end up on the letter of what the > user pressed on keydown, so if they pressed 'd' or 'D' I want "December" > to become highlighted. > > Thanks everyone. > > 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 sc at sahores-conseil.com Wed Aug 3 05:01:53 2011 From: sc at sahores-conseil.com (Pierre Sahores) Date: Wed, 3 Aug 2011 11:01:53 +0200 Subject: [OT] Flash is NOT Dead In-Reply-To: <1312334621760-3714170.post@n4.nabble.com> References: <3024D28281A6468C898339110585C615@GATEWAY> <555B0150-C398-4C0F-9B95-3A70E831D176@altuit.com> <1312334621760-3714170.post@n4.nabble.com> Message-ID: <0F9E5BF4-0BB8-4572-B90E-516EB59B0317@sahores-conseil.com> Dear All, In reading carefully the http://www.telecomtv.com/comspace_newsDetail.aspx?n=47914&id=e9381817-0593-417a-8639-c4c53e2a2a10 article Lan pointed out to our eyes, i tough that Adobe is providing us a way to avoid to have to share 30% of our Apple (and others Intel's, etc...) targeted apps with the different app's stores lowered priced phishing systems. In building our clients side and desktop apps n using HTML5/CSS3 GUI, we can stay free to make them available to market without having to depend from the different App's stores systems. In this way, Adobe seems to share with Google the idea that making the developers more free and independent from Apple (and other...) central online stores is the way to go, even if they have to kill Flash in replacing it by its new Edge package. At this point, LC (where security tasks makes HTML5/CSS3 unusable - enterprise-level apps context) and LC-Server, could become two of the first winners of the Big One Adobe is targeting against Apple under the interested eyes of Google and, even, Microsoft it self... Just as 0.5 cent ;-) Le 3 ao?t 2011 ? 03:23, Alejandro Tejada a ?crit : > Hi All, > > > Andre Garzia-3 wrote: >> >> I personally think that flash is a great way to make web games... it has a >> huge market penetration and looks like javascript... >> > > Flash is not dead, but it will be making place for HTML5, > an open standard. > > This is the way it should be: an open standard that moves > slowly but surely... and (hopefully) more than one propietary > alternatives adding value, over the standards. > > A book about Postscript language was my first programming > book, so I keep Adobe in great esteem, so for this reason: > > I wish to each development platform, a deserved and well > earned share of sucess in this 21st century! :-D > > Al > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-Flash-is-Dead-tp3712744p3714170.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 -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com From sc at sahores-conseil.com Wed Aug 3 05:18:19 2011 From: sc at sahores-conseil.com (Pierre Sahores) Date: Wed, 3 Aug 2011 11:18:19 +0200 Subject: =?iso-8859-1?Q?R=E9p_=3A_Where_does_survive_the_inventive_user_?= =?iso-8859-1?Q?=3F_?= Message-ID: <028F960C-38ED-4D99-8081-CF9B251577BD@sahores-conseil.com> Hi Roger, Thanks for the link... Loan sharking is the most destructive way of putting the theory of increasing returns in the interests of a few still fewer. Saas information systems tailored to the needs of the majority are the other possible scope of the economic model of increasing returns to pool resources usually destroyed by the models of economic development of the shortage... Usury is the first way to produce Le 30 juil. 2011 ? 17:31, Roger Eller a ?crit : > > This video is a very informative explanation of where money 'actually' comes > from. It's shocking if you've not seen it before. > > http://video.google.com/videoplay?docid=-2550156453790090544# > > ?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 > -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com From john at splash21.com Wed Aug 3 05:53:02 2011 From: john at splash21.com (John Craig) Date: Wed, 03 Aug 2011 10:53:02 +0100 Subject: Append to Contextual Menus In-Reply-To: <8D643AE5-B089-4323-BBD9-824D2C7215DB@twft.com> References: <8D643AE5-B089-4323-BBD9-824D2C7215DB@twft.com> Message-ID: <4E391A7E.30906@splash21.com> Check out LiveCode.TV http://blog.livecode.tv/2011/08/event-34-wrap-up/ :) On 03/08/2011 01:46, Bob Sneidar wrote: > Hi all. > > This may have been discussed before. I want to add a contextual menu to fields in addition to the one the IDE is presenting, so I can add things like validations while in edit mode. Is there a way to do this without overriding the standard contextual menus? This can be filed as so obscure as not needing a reply, but I have been thinking about a method for enabling validations for fields in edit mode using a right click or something. I could hack it by selecting the field and then running something in the message box, but wouldn't that be a cool plugin? > > For instance I have a notempty validation I use: > > on notEmpty theField > -- returns false in the result if the field is empty, otherwise returns true > put true into theResult > if field theField is empty then > put "lbl"& char 4 to -1 of theField into theFieldLabel -- all my fields start with "fld" > put the text of field theFieldLabel into theFieldName > answer theFieldName&& "cannot be empty!" > select the text of field theField > put false into theResult > end if > return theResult > end notEmpty > > If the field has a property called Validations, and notEmpty is one of the lines of that property, then this command will be called. I have a concat validation that will concatenate a list of fields and put it in another field, I have a noupdate validation that deletes the key in an array before updating the database, so that something like a password can only be created when creating a new record, and requires another handler to change it. > > I would love to be able to assign these validations with a right-click of the mouse. I will share all my validations at some point. > > 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 john at splash21.com Wed Aug 3 06:01:53 2011 From: john at splash21.com (John Craig) Date: Wed, 03 Aug 2011 11:01:53 +0100 Subject: Append to Contextual Menus In-Reply-To: <4E391A7E.30906@splash21.com> References: <8D643AE5-B089-4323-BBD9-824D2C7215DB@twft.com> <4E391A7E.30906@splash21.com> Message-ID: <4E391C91.1070404@splash21.com> Here's a slightly modified version; stick the following in a frontscript to modify the context menu only for field objects - you can refine further as required. on revHookBuildObjectEditorContextMenu pMenuTarget, pMenuName, @pMenu, tModifiedMenu if pMenuName = "Field" then put "Customize field" & LF & "-" & LF before pMenu end if pass revHookBuildObjectEditorContextMenu end revHookBuildObjectEditorContextMenu function dispatchContextMenuPick pMenuName, pWhich if pWhich = "Customize field" then answer "Do your field customization!" exit to top end if pass dispatchContextMenuPick end dispatchContextMenuPick On 03/08/2011 10:53, John Craig wrote: > Check out LiveCode.TV > > http://blog.livecode.tv/2011/08/event-34-wrap-up/ > > :) > > On 03/08/2011 01:46, Bob Sneidar wrote: >> Hi all. >> >> This may have been discussed before. I want to add a contextual menu >> to fields in addition to the one the IDE is presenting, so I can add >> things like validations while in edit mode. Is there a way to do this >> without overriding the standard contextual menus? This can be filed >> as so obscure as not needing a reply, but I have been thinking about >> a method for enabling validations for fields in edit mode using a >> right click or something. I could hack it by selecting the field and >> then running something in the message box, but wouldn't that be a >> cool plugin? >> >> For instance I have a notempty validation I use: >> >> on notEmpty theField >> -- returns false in the result if the field is empty, otherwise >> returns true >> put true into theResult >> if field theField is empty then >> put "lbl"& char 4 to -1 of theField into theFieldLabel -- >> all my fields start with "fld" >> put the text of field theFieldLabel into theFieldName >> answer theFieldName&& "cannot be empty!" >> select the text of field theField >> put false into theResult >> end if >> return theResult >> end notEmpty >> >> If the field has a property called Validations, and notEmpty is one >> of the lines of that property, then this command will be called. I >> have a concat validation that will concatenate a list of fields and >> put it in another field, I have a noupdate validation that deletes >> the key in an array before updating the database, so that something >> like a password can only be created when creating a new record, and >> requires another handler to change it. >> >> I would love to be able to assign these validations with a >> right-click of the mouse. I will share all my validations at some point. >> >> 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 >> > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 mfelkerco.com Wed Aug 3 07:33:55 2011 From: admin at mfelkerco.com (Admin) Date: Wed, 03 Aug 2011 06:33:55 -0500 Subject: using TAB, ENTER or RETURN to advance fields by force In-Reply-To: References: Message-ID: <2cb9052158a741984a50726d3d574e51@mfelkerco.com> On Tue, 2 Aug 2011 23:59:28 -0700, Pete wrote: > Hi MIke, > You don't need to write any code to do this. The tab key should > automatically move the cursor to the next field. For the Return/Enter key, > just set the autoTab property of the field to true in the Inspector for the > field. > Pete > Molly's Revenge I am afraid that it does not in the revlet player in Internet Explorer and some other browsers (new version). Mike Links: ------ [1] http://www.mollysrevenge.com From admin at mfelkerco.com Wed Aug 3 08:28:09 2011 From: admin at mfelkerco.com (Admin) Date: Wed, 03 Aug 2011 07:28:09 -0500 Subject: How to sort on keydown In-Reply-To: References: <77e42eec5992d5b1d73de9542b4d25a1@mfelkerco.com> Message-ID: <5128bc987a9e02701fc8c31bcc3a2f4e@mfelkerco.com> Pete, Taking your advice, I changed the combo boxes to option drop down controls (ignore the name of cmbGender - it's still a option box now). The following no longer works. Please advise on how to fix these: set the label of btn "cmbGender" to "Choose" set the label of btn "optMonth" to "Month" set the label of btn "optDay" to "Day" set the label of btn "optYear" to "Year" I appreciate it. Mike On Wed, 3 Aug 2011 00:05:20 -0700, Pete wrote: > I'm not exactly sure what you are trying to do but here's a suggestion. > Sounds like you should use an option menu and set the text property of it > in the Inspector palette to the months in alpha order, one per line. When > the user clicks on the option menu, the list of months will appear and if > they then type a letter, the entry starting with that letter will be > highlighted. > Pete > Molly's Revenge > > On Tue, Aug 2, 2011 at 11:24 PM, Admin wrote: > >> Hello everyone. I wrote the following code: on keydown show field "MonthDropDown" sort items of field "MonthDropDown" by keydown letter end keydown It's wrong. I know it's wrong. How do I make it right? (I want the drop down list to end up on the letter of what the user pressed on keydown, so if they pressed 'd' or 'D' I want "December" to become highlighted. Thanks everyone. Mike _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com [1] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode [2] > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com [5] > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode [6] Links: ------ [1] mailto:use-livecode at lists.runrev.com [2] http://lists.runrev.com/mailman/listinfo/use-livecode [3] http://www.mollysrevenge.com [4] mailto:admin at mfelkerco.com [5] mailto:use-livecode at lists.runrev.com [6] http://lists.runrev.com/mailman/listinfo/use-livecode From mkoob at rogers.com Wed Aug 3 08:45:25 2011 From: mkoob at rogers.com (Martin Koob) Date: Wed, 3 Aug 2011 05:45:25 -0700 (PDT) Subject: Editing with On-Rev Client (was: Path to start using a stack in On-Rev?) In-Reply-To: <5358CE8A-EBAC-4363-B76E-0ECE3177AC32@earthlink.net> References: <5358CE8A-EBAC-4363-B76E-0ECE3177AC32@earthlink.net> Message-ID: <1312375525504-3715315.post@n4.nabble.com> Hi Someone mentioned in an earlier post that the extension you use determines which engine will be used by On-rev .irev files are processed with the 3.5 engine .lc files are processed with the 4.6.3 engine >From my tests this means if you use .irev extension then none of the Livecode server 4.6.3 features are available such as stacks and that the code block will not be recognized. However if you use a file with .lc extension then you get all the 4.6.3 features and both and code blocks work. I tried using code blocks in a file with an .lc extension in the On-rev editor and they are not colourized but when I save the .lc file to the server and test it the code block is recognized so it is just that the editor does not recognized the block. With LiveCode server installed on my own computer I can mix and match .lc or .rev extensions and and code blocks. To get the .irev extension recognized by my livecode server intallation I put an entry in the httpd.conf file for each extension. (this was for an installation of livecode server on Mac OS X server Snow Leopard.) AddHandler livecode-script lc AddHandler livecode-script irev Action livecode-script /cgi-bin/livecode-server/livecode-server So there are three bugs that should be posted for On-rev editor. 1. View Online button button is disabled when editing .lc files 2. Code blocks with are not colourized 3. Debug button is disabled when editing .lc files. For debugging I had read that debugging is not supported for third party installs. Is this because Livecode Server 4.6.3 does not support live debugging at all or is it supported just on On-rev hosted sites. So If no one has posted these as bugs yet I will go ahead and do that. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Editing-with-On-Rev-Client-was-Path-to-start-using-a-stack-in-On-Rev-tp3714377p3715315.html Sent from the Revolution - User mailing list archive at Nabble.com. From Mark_Smith at cpe.umanitoba.ca Wed Aug 3 09:09:09 2011 From: Mark_Smith at cpe.umanitoba.ca (Mark Smith) Date: Wed, 3 Aug 2011 08:09:09 -0500 Subject: Getting Android going In-Reply-To: <4E38D258.5030509@hyperactivesw.com> References: <1312341326010-3714311.post@n4.nabble.com>, <4E38D258.5030509@hyperactivesw.com> Message-ID: <3F95480D5F0DA64EA0785711087864DEAA53661D67@exch01.mchpe.cpe.umanitoba.ca> Thanks Jacqueline... I think I'll repeat the process and do what you did: drop it into the /developer folder and try again. I'll let you know if it works. -- Mark Mark Smith Associate Director, Repository Manitoba Centre for Health Policy University of Manitoba 727 McDermot Ave Room 408 Winnipeg, Manitoba R3E 3P5 (204) 789-3264 http://umanitoba.ca/faculties/medicine/units/mchp ________________________________________ From: use-livecode-bounces at lists.runrev.com [use-livecode-bounces at lists.runrev.com] On Behalf Of J. Landman Gay [jacque at hyperactivesw.com] Sent: Tuesday, August 02, 2011 11:45 PM To: How to use LiveCode Subject: Re: Getting Android going On 8/2/11 10:15 PM, Mark Smith wrote: > As anyone gotten to the point of installing the Android SDK on the Mac, > testing it to make sure you have a functional simulator, all using the > Android SDK and AVD manager and then, when asked by LC to specify in > preferences where the root of your Android SDK is not have a clue? I'm > there... I don't know what to put into preferences and everything I try > results in an error "The chosen folder is not a valid Android SDK" > > Just wondering if someone stumbled into this pit and found a way out. Mine's always worked. I already had a "Developer" folder at the root level of the hard drive, so I just dropped the entire Android SDK in there along with the Apple stuff. My path in prefs is: /Developer/android-sdk-mac_x86 But it may not be the path that's wrong. Did you install all the SDK packages? There's some info here: I didn't know what I was doing when I set up, so I just followed those instructions and used the Android 2.2 API 8 package to set up my virtual machine. Do you have a VM configured? -- 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 ambassador at fourthworld.com Wed Aug 3 09:17:02 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 03 Aug 2011 06:17:02 -0700 Subject: [OT] Flash is NOT Dead In-Reply-To: References: Message-ID: <4E394A4E.2010201@fourthworld.com> Kay C Lan wrote: > On Wed, Aug 3, 2011 at 12:12 AM, Lynn Fredricks < > lfredricks at proactive-intl.com> wrote: > >> >> Hey Kay - wow, that site has an annoying pop up. If you don't want to join, >> that pop up doesn't go away and won't let you read the article. >> >> Sorry, no idea, I run Firefox 5.0.1 with the NoScripts 2.1.2.5 Add-on > installed: > > http://noscript.net/ > > For me the linked page loaded, no pop-ups, no sign-ups, non > google-analytics.com, no googleadservices.com, no ..... just an article from > someone else who's opinion is more extreme than mine. > > I recommend NoScripts +1 on NoScript: makes browsing faster and safer. Sure, it breaks some sites that rely on JavaScript, so you'll need to become comfortable turning on scripting for sites that need it, but for myself this is a modest price to pay for control over what happens in my browser. More interestingly, NoScript turns out to be very much on topic in this thread about Flash: With Flash you could turn off ads. But as those ads migrate to HTML5, you'll have to turn off all JavaScript to turn off ads, which will also turn off some or all of the functionality of a web site as well. The article you linked to a couple days ago presented one way Apple may win the anti-Flash battle while losing the HTML5 war: making it easy to build rich application experiences right in the browser, bypassing Apple's App Store. And now NoScript reminds us of another loss in this war, this one for end-users: the ability to turn off rich-media ads. We were told (among other fallacies) that Flash media were the source of battery drain and therefore not acceptable in Apple's iOS. But as Apple works to migrate rich content to HTML5, all that pixel-pushing will eat up the clock cycles we were told we'd be saving by not using Flash. And unlike Flash, you won't be able to turn it off. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From selander at tkf.att.ne.jp Wed Aug 3 10:00:22 2011 From: selander at tkf.att.ne.jp (Tim Selander) Date: Wed, 03 Aug 2011 23:00:22 +0900 Subject: WAS Unboxing NOW: Mike's revlet problem In-Reply-To: <958a1d8d3067874ea00cf318ea0ee30b@mfelkerco.com> References: "\"" " <692db95898eeb8774e6d95251bc6a8e2@mfelkerco.com> <4E38B1F5.1000703@tkf.att.ne.jp> <958a1d8d3067874ea00cf318ea0ee30b@mfelkerco.com> Message-ID: <4E395476.7080809@tkf.att.ne.jp> Top page, Step 1 - Fill our your information "Click Here" button opens new page and loads revlet. Register or Login page; clicking "New Registration" button takes you to "Welcom to the Application! Stage 1" page. Fill in data fields. Gender drop down menu has no choices. DOB drop down menus work. Mousing over fields displays advice on right side of screen's "Friendly Advice and Information" field. "I accept" check box accepts check, displaying "You accept...." dialog. Clicking "yes" button dismisses dialog Clicking "Save & Continue" button displays "Are you new..." dialog. Clicking "yes" button seems to save data, and display "Your login information has..." dialog. Clicking "OK" button takes you to "Application - Stage 2" screen. Choosing a skill (interest?) (Media) opened a sub menu, which allowed further choices. Clicking "Save & Continue" showed "Page 2 has been saved..." dialog. Clicking "OK" button takes you to Application - Stage 3 screen. Drop down menus under "Skill 1" work. Clicking "Save & Continue" shows "Page 3 has...." dialog; clicking OK button takes you to Application - Stage 4 screen. No drop down menus work. (Drops down, but does not then display choice.) Save & Contine button results in "Page 4 has been..." dialog; clicking OK button takes you to Application - Stage 5 page. Text input seems to work. Save and Continue button displays Page 5 has... dialog. Clicking OK takes you to "The Last Page! Application - Stage 6" page. Drop down menus do not display choices. Text input seems to work. Clicking "Save Work and Upload Pictures" takes you to "Page 6 has...." dialog, clicking OK loads a URL http://www.campstaffusa.com/newdb/uploadpic_exec_cc_mac.exe -- and your page downloaded uploadpic_exec_cc_mac.exe program without warning!!!! Geez, if I was on Windows I'd be pretty unhappy about that. But the revlet seems to work for the most part. Assume the drop down menus, etc., are programming problems in the stack? Tim Selander Tokyo, Japan On 8/3/11 11:31 AM, Admin wrote: > > > On the last page, it should say 'save and upload picture' > > Were > you able to get to that point without problems? > > Mike > > On Wed, 03 Aug > 2011 11:27:01 +0900, Tim Selander wrote: > >> Tried your page, and things > seem to work okay with the revlet >> player plugin! Buttons worked as > expected on one click. Could not >> complete your registration, but not > sure if that is a revlet >> problem or simply that your stack/program is > not finished yet. >> >> Sorry not to be able to replicate your problems > and offer help. >> >> MacBook Pro, OSX10.5.8, Safari 5.0.3 >> >> Tim > Selander >> Tokyo, Japan >> >> On 8/3/11 11:00 AM, Admin wrote: >> >>> Dear > all, I am in desperate need of help. The revlet player is simply broken > on all levels. On Mac, in Safari, it takes between 4 and 8 clicks to > press a button. On PCs, all kinds of browser crashing is going on. What > can I do? How can I get people to use the database I created? Any ideas? > The client wants it embedded in their website. I am truly stuck. For > anyone that wants to test it, go to: www.campstaffusa.com/newdb [1] I > need suggestions and help. Mike > _______________________________________________ use-livecode mailing > list use-livecode at lists.runrev.com [2] Please visit this url to > subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode [3] >> >> > _______________________________________________ >> use-livecode mailing > list >> use-livecode at lists.runrev.com [4] >> Please visit this url to > subscribe, unsubscribe and manage your subscription preferences: >> > http://lists.runrev.com/mailman/listinfo/use-livecode [5] > > > > > Links: > ------ > [1] http://www.campstaffusa.com/newdb > [2] > mailto:use-livecode at lists.runrev.com > [3] > http://lists.runrev.com/mailman/listinfo/use-livecode > [4] > mailto:use-livecode at lists.runrev.com > [5] > 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 form at nonsanity.com Wed Aug 3 10:00:27 2011 From: form at nonsanity.com (Nonsanity) Date: Wed, 3 Aug 2011 10:00:27 -0400 Subject: How to sort on keydown In-Reply-To: <77e42eec5992d5b1d73de9542b4d25a1@mfelkerco.com> References: <77e42eec5992d5b1d73de9542b4d25a1@mfelkerco.com> Message-ID: Since sort will re-order the items, I think what you want is "select". You are also sorting "items" which by default means the chunks of text separated by commas (you can change the commas to any other character by setting the itemDelimiter), but I'm guessing you mean lines. If it actually IS items, replace "lines" with "items" in the code below. on keydown theKey show fld "MonthDropDown" repeat with a = 1 to the number of lines in fld "MonthDropDown" if char 1 of line a of fld "MonthDropDown" is theKey then select line a of fld "MonthDropDown" exit repeat end if end repeat end keydown Does that do what you want? You might want to limit the keys it works with by putting an if statement around the entire guts of the handler like so: if theKey > 64 and theKey < 91 then ... end if ~ Chris Innanen ~ Nonsanity On Wed, Aug 3, 2011 at 2:24 AM, Admin wrote: > > > Hello everyone. > > I wrote the following code: > > on keydown > show > field "MonthDropDown" > sort items of field "MonthDropDown" by keydown > letter > end keydown > > It's wrong. I know it's wrong. How do I make it > right? (I want the drop down list to end up on the letter of what the > user pressed on keydown, so if they pressed 'd' or 'D' I want "December" > to become highlighted. > > Thanks everyone. > > 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 rman at free.fr Wed Aug 3 11:01:31 2011 From: rman at free.fr (Robert Mann) Date: Wed, 3 Aug 2011 08:01:31 -0700 (PDT) Subject: [server] using STACKS within ON-REV In-Reply-To: <1312297948995-3712679.post@n4.nabble.com> References: <1312213248751-3710035.post@n4.nabble.com> <1312297948995-3712679.post@n4.nabble.com> Message-ID: <1312383691243-3715789.post@n4.nabble.com> Hi! I'm not able to reproduce that. go stack is definitely not working on my environment at on-rev. Further more, using it blocks all following commands : output is just blank if I use it as the first command. Fortunately setting the default stack does the job, except that the default stack does not receive any pre-open and open messages... Anybody else having that working? thanks -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/server-using-STACKS-within-ON-REV-tp3710035p3715789.html Sent from the Revolution - User mailing list archive at Nabble.com. From mkoob at rogers.com Wed Aug 3 11:05:35 2011 From: mkoob at rogers.com (Martin Koob) Date: Wed, 3 Aug 2011 08:05:35 -0700 (PDT) Subject: [server] using STACKS within ON-REV In-Reply-To: <1312383691243-3715789.post@n4.nabble.com> References: <1312213248751-3710035.post@n4.nabble.com> <1312297948995-3712679.post@n4.nabble.com> <1312383691243-3715789.post@n4.nabble.com> Message-ID: <1312383935809-3715808.post@n4.nabble.com> Does your file has an .lc extension? If it has an .irev extension it will be handled by the 3.5 engine. Martin -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/server-using-STACKS-within-ON-REV-tp3710035p3715808.html Sent from the Revolution - User mailing list archive at Nabble.com. From form at nonsanity.com Wed Aug 3 11:14:41 2011 From: form at nonsanity.com (Nonsanity) Date: Wed, 3 Aug 2011 11:14:41 -0400 Subject: using TAB, ENTER or RETURN to advance fields by force In-Reply-To: References: Message-ID: You wouldn't use the "go to" command for this. You would use "select" as in: select char 1 to -1 of fld "nextFieldName" Which would select all the text in that field. You may just want to focus on that field, however, to preserve any existing selection within it instead of selecting the whole thing. It tends to vary be the needs of the program. ~ Chris Innanen ~ Nonsanity On Wed, Aug 3, 2011 at 2:26 AM, Admin wrote: > > > Hello again. > > I want the user to go to the next field (by force) > by pressing either the TAB key, the ENTER key or the RETURN key. > > How > do I do this in code? > > I know you can write the following: > > on > enterkey > > --go to field "MiddleName" > > end enterkey > > same with > tabkey. However, it does not work. > > I appreciate your help everyone. > > > 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 mkoob at rogers.com Wed Aug 3 11:24:40 2011 From: mkoob at rogers.com (Martin Koob) Date: Wed, 3 Aug 2011 08:24:40 -0700 (PDT) Subject: [server] using STACKS within ON-REV In-Reply-To: <1312383935809-3715808.post@n4.nabble.com> References: <1312213248751-3710035.post@n4.nabble.com> <1312297948995-3712679.post@n4.nabble.com> <1312383691243-3715789.post@n4.nabble.com> <1312383935809-3715808.post@n4.nabble.com> Message-ID: <1312385080570-3715876.post@n4.nabble.com> Hi I just tested it on On-re server and stacks work I have a stack called 'libstackmain.livecode' with the following in the stack script. function whatismyname Return "martin" end whatismyname I have a stack called 'gotostack.livecode' with one card "card 1002' and the following scripts stack script on openstack put "

gotostack is opened

" end openstack card 1002 script on openstack put "

this is the card's openstack handler speaking

" pass openstack end openstack on opencard put "

the card is now open

" end opencard I then have a .lc file called 'testLivecodeserver.lc which has the following mix of html and code blocks Test Page

The above files are all in the main directory. This is the output when I load the testLivecodeserver.lc file in the browser. -------------------- Test Page Hello World, the time is 10:14 AM My name is martin this is the card's openstack handler speaking gotostack is opened the card is now open -------------------------------- See if this works. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/server-using-STACKS-within-ON-REV-tp3710035p3715876.html Sent from the Revolution - User mailing list archive at Nabble.com. From bvlahos at mac.com Wed Aug 3 11:35:58 2011 From: bvlahos at mac.com (Bill Vlahos) Date: Wed, 03 Aug 2011 08:35:58 -0700 Subject: SMTP Library that works with Gmail over SSL? In-Reply-To: <9AA15A35-DD08-479F-9A57-12B0D7BA0EA6@twft.com> References: <9AA15A35-DD08-479F-9A57-12B0D7BA0EA6@twft.com> Message-ID: <2F367B69-02E5-4AE8-BC19-E02384EBFDFF@mac.com> Yes it does and has for a long time. put the cipherNames Bill Vlahos _________________ InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. On Aug 2, 2011, at 2:56 PM, Bob Sneidar wrote: > Speaking of which, does Livecode do AES encryption now? I thought it did. I want to store passwords in AES format and decrypt them in my stack script. > > Bob > > > On Aug 2, 2011, at 12:26 PM, Trevor DeVore wrote: > >> Does anyone have a LiveCode solution that can send HTML email via SMTP using >> SSL? I need to send email through the Gmail SMTP server and the existing >> SMTP libraries I've found for LiveCode don't support SSL. >> >> -- >> Trevor DeVore >> Blue Mango Learning Systems >> >> LiveCode Resources for Developers: http://livecode.bluemangolearning.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 bobs at twft.com Wed Aug 3 11:47:13 2011 From: bobs at twft.com (Bob Sneidar) Date: Wed, 3 Aug 2011 08:47:13 -0700 Subject: MD5 digest of arrays and controls In-Reply-To: <1312332799833-3714135.post@n4.nabble.com> References: <1B6C8F3A-9BC7-4F25-96DC-6D39C6EF13A1@unimelb.edu.au> <1312221466254-3710396.post@n4.nabble.com> <1312291849545-3712329.post@n4.nabble.com> <1312332799833-3714135.post@n4.nabble.com> Message-ID: <423BBEFD-311B-47D7-A86D-F34BEF63E705@twft.com> I Alejandro. I should have asked what is in the VARIABLE it when the script fails? heh heh. I see though why case sensitivity is needed. Wasn't there something about case sensitivity and arrays a while back? Bob On Aug 2, 2011, at 5:53 PM, Alejandro Tejada wrote: > Hi Bob, > > > slylabs13 wrote: >> >> What is in it? Is the object in it correct case sensitively? >> Why set the case sensitive to true anyway? >> What does that accomplish? >> >> Bob >> > > The code that I am debugging is part of this stack: > http://andregarzia.on-rev.com/alejandro/stacks/Eps_Import_V05B.zip From jacque at hyperactivesw.com Wed Aug 3 11:52:14 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 03 Aug 2011 10:52:14 -0500 Subject: [OT] Flash is NOT Dead In-Reply-To: <4E394A4E.2010201@fourthworld.com> References: <4E394A4E.2010201@fourthworld.com> Message-ID: <4E396EAE.3030706@hyperactivesw.com> On 8/3/11 8:17 AM, Richard Gaskin wrote: > Kay C Lan wrote: >> On Wed, Aug 3, 2011 at 12:12 AM, Lynn Fredricks < >> I recommend NoScripts > > +1 on NoScript: makes browsing faster and safer. I've been using NoScript for years. Last week I discovered Ghostery. It lets you know what sites are tracking you and allows you to block the trackers. I have been appalled by what's been going on without my knowledge. Some sites have a dozen or more trackers and web bugs installed. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From andrew at rjdfarm.com Wed Aug 3 12:05:13 2011 From: andrew at rjdfarm.com (Andrew Kluthe) Date: Wed, 3 Aug 2011 09:05:13 -0700 (PDT) Subject: Virtual Appliances In-Reply-To: <4E3882F8.6040507@gmail.com> References: <4E383C1B.2060500@gmail.com> <1312321339182-3713853.post@n4.nabble.com> <1312325757286-3713984.post@n4.nabble.com> <4E3882F8.6040507@gmail.com> Message-ID: <1312387513725-3716017.post@n4.nabble.com> Oh, ok then! Carry on! :) -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Virtual-Appliances-tp3713223p3716017.html Sent from the Revolution - User mailing list archive at Nabble.com. From bobs at twft.com Wed Aug 3 12:06:22 2011 From: bobs at twft.com (Bob Sneidar) Date: Wed, 3 Aug 2011 09:06:22 -0700 Subject: SMTP Library that works with Gmail over SSL? In-Reply-To: <2F367B69-02E5-4AE8-BC19-E02384EBFDFF@mac.com> References: <9AA15A35-DD08-479F-9A57-12B0D7BA0EA6@twft.com> <2F367B69-02E5-4AE8-BC19-E02384EBFDFF@mac.com> Message-ID: <0B7C48A3-3C30-40C2-BC42-500926447503@twft.com> Oh thanks Bill. Would the SQL column used to store it need to be binary? Bob On Aug 3, 2011, at 8:35 AM, Bill Vlahos wrote: > Yes it does and has for a long time. > > put the cipherNames > > Bill Vlahos > _________________ > InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. > > On Aug 2, 2011, at 2:56 PM, Bob Sneidar wrote: > >> Speaking of which, does Livecode do AES encryption now? I thought it did. I want to store passwords in AES format and decrypt them in my stack script. >> >> Bob >> >> >> On Aug 2, 2011, at 12:26 PM, Trevor DeVore wrote: >> >>> Does anyone have a LiveCode solution that can send HTML email via SMTP using >>> SSL? I need to send email through the Gmail SMTP server and the existing >>> SMTP libraries I've found for LiveCode don't support SSL. >>> >>> -- >>> Trevor DeVore >>> Blue Mango Learning Systems >>> >>> LiveCode Resources for Developers: http://livecode.bluemangolearning.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 pete at mollysrevenge.com Wed Aug 3 12:57:10 2011 From: pete at mollysrevenge.com (Pete) Date: Wed, 3 Aug 2011 09:57:10 -0700 Subject: using TAB, ENTER or RETURN to advance fields by force In-Reply-To: <2cb9052158a741984a50726d3d574e51@mfelkerco.com> References: <2cb9052158a741984a50726d3d574e51@mfelkerco.com> Message-ID: Ah sorry, thought you were talking about the desktop. Clearly things are very different in the revlet world Pete Molly's Revenge On Wed, Aug 3, 2011 at 4:33 AM, Admin wrote: > > > On Tue, 2 Aug 2011 23:59:28 -0700, Pete wrote: > > > Hi MIke, > > You > don't need to write any code to do this. The tab key should > > > automatically move the cursor to the next field. For the Return/Enter > key, > > just set the autoTab property of the field to true in the > Inspector for the > > field. > > Pete > > Molly's Revenge > > I am afraid that it > does not in the revlet player in Internet Explorer and some other > browsers (new version). > > Mike > > > Links: > ------ > [1] > http://www.mollysrevenge.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 bvg at mac.com Wed Aug 3 13:18:38 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Wed, 03 Aug 2011 19:18:38 +0200 Subject: [ANN] BvG Docu 2 Message-ID: As mentioned in the last livecode.tv event, BvG Docu 2 is now available. It works with Rev / LC versions 4.0 to 4.6.3, and accompanying Metacard IDE's. Get it at my site: http://bjoernke.com/bvgdocu/ BvG Docu is an alternative way and GUI for using the dictionary entries. This is the second Iteration, coded anew from ground up using SQLite. Differences to the built in dictionary encompass: - choose your own text style, size and layout for the entries - full text search - faster to use and easier to reach entries - 'see also' entries more prominent - better usability - print button Try it now, and see wether you like it more then the build in dictionary for yourself: http://bjoernke.com/bvgdocu/ Bj?rnke -- Watch live presentations every Saturday: http://livecode.tv Use an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ From gandalf at doctorTimothyMiller.com Wed Aug 3 13:24:36 2011 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Wed, 3 Aug 2011 10:24:36 -0700 Subject: [OT] Max-Gentleman In-Reply-To: <4E38256F.7070309@gmail.com> References: <4E38256F.7070309@gmail.com> Message-ID: <8FFD6C95-7EA5-4665-B5BF-DABC96AE9879@doctorTimothyMiller.com> When I was in college, an insecure acquaintance of mine replied to an advertisement in a gentleman's magazine: "Get a 12 inch penis in 30 days." The price was painfully high, but he hoped for rich rewards. About four weeks later, dizzy with curiosity and hope, he ripped open the plain unmarked package. He got a twelve inch rubber penis. Cheers, Tim On Aug 2, 2011, at 9:27 AM, Richmond Mathewson wrote: > Does anybody know who "Max-Gentleman" is? > > He keeps sending me e-mails (to all my e-mail accounts), and obviously > is a very short person (P.O.R.G. - person of restricted growth) as he seems to be > appealing for some sort of pills to make him grow. > > Should I feel sorry for this chap, considering he is vertically challenged? > > Considering his parents, considering his short stature, have given him a sadistic moniker? > > And, can anybody suggest a way to help him in such a way that he stops filling my in-boxes and spam-boxes up with his importunings? > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 mollysrevenge.com Wed Aug 3 13:47:33 2011 From: pete at mollysrevenge.com (Pete) Date: Wed, 3 Aug 2011 10:47:33 -0700 Subject: [ANN] BvG Docu 2 In-Reply-To: References: Message-ID: Excellent Bjornke - finally a full text search capability on the dictionary, makes it much more useful. If I may make one suggestion to you - make the dropdown menu that lists recent entries wider so the full text of the entries can be read - looks like there's room to do that. Pete Molly's Revenge 2011/8/3 Bj?rnke von Gierke > As mentioned in the last livecode.tv event, BvG Docu 2 is now available. > It works with Rev / LC versions 4.0 to 4.6.3, and accompanying Metacard > IDE's. > > Get it at my site: http://bjoernke.com/bvgdocu/ > > BvG Docu is an alternative way and GUI for using the dictionary entries. > This is the second Iteration, coded anew from ground up using SQLite. > Differences to the built in dictionary encompass: > - choose your own text style, size and layout for the entries > - full text search > - faster to use and easier to reach entries > - 'see also' entries more prominent > - better usability > - print button > > > Try it now, and see wether you like it more then the build in dictionary > for yourself: > > http://bjoernke.com/bvgdocu/ > > Bj?rnke > > > -- > Watch live presentations every Saturday: > http://livecode.tv > > Use an alternative Dictionary viewer: > http://bjoernke.com/bvgdocu/ > > Chat with other RunRev developers: > http://bjoernke.com/chatrev/ > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 mfelkerco.com Wed Aug 3 13:52:07 2011 From: admin at mfelkerco.com (Admin) Date: Wed, 03 Aug 2011 12:52:07 -0500 Subject: How to sort on keydown In-Reply-To: References: <77e42eec5992d5b1d73de9542b4d25a1@mfelkerco.com> Message-ID: Chris, I did away with the drop down (which was not really a true drop down since the revlet player cannot scroll drop down boxes in most browsers), and switched to a option box instead. How would I do the same thing (user clicks the option box and then presses say, the 'm" key for March? Mike On Wed, 3 Aug 2011 10:00:27 -0400, Nonsanity wrote: > Since sort will re-order the items, I think what you want is "select". You > are also sorting "items" which by default means the chunks of text separated > by commas (you can change the commas to any other character by setting the > itemDelimiter), but I'm guessing you mean lines. If it actually IS items, > replace "lines" with "items" in the code below. > > on keydown theKey > show fld "MonthDropDown" > repeat with a = 1 to the number of lines in fld "MonthDropDown" > if char 1 of line a of fld "MonthDropDown" is theKey then > select line a of fld "MonthDropDown" > exit repeat > end if > end repeat > end keydown > > Does that do what you want? You might want to limit the keys it works with > by putting an if statement around the entire guts of the handler like so: > > if theKey > 64 and theKey < 91 then > ... > end if > > ~ Chris Innanen > ~ Nonsanity > > On Wed, Aug 3, 2011 at 2:24 AM, Admin wrote: > >> Hello everyone. I wrote the following code: on keydown show field "MonthDropDown" sort items of field "MonthDropDown" by keydown letter end keydown It's wrong. I know it's wrong. How do I make it right? (I want the drop down list to end up on the letter of what the user pressed on keydown, so if they pressed 'd' or 'D' I want "December" to become highlighted. Thanks everyone. Mike _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com [1] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode [2] > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com [4] > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode [5] Links: ------ [1] mailto:use-livecode at lists.runrev.com [2] http://lists.runrev.com/mailman/listinfo/use-livecode [3] mailto:admin at mfelkerco.com [4] mailto:use-livecode at lists.runrev.com [5] http://lists.runrev.com/mailman/listinfo/use-livecode From stephenREVOLUTION2 at barncard.com Wed Aug 3 15:09:12 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Wed, 3 Aug 2011 12:09:12 -0700 Subject: [OT] Max-Gentleman In-Reply-To: <8FFD6C95-7EA5-4665-B5BF-DABC96AE9879@doctorTimothyMiller.com> References: <4E38256F.7070309@gmail.com> <8FFD6C95-7EA5-4665-B5BF-DABC96AE9879@doctorTimothyMiller.com> Message-ID: Reminds me of a time when my dad said there were ads for 'color tv converters' and what you got were several plastic gels to put over your black and white set. Color, right! Which one do you want? Red, Blue or Green. On 3 August 2011 10:24, Timothy Miller wrote: > When I was in college, an insecure acquaintance of mine replied to an > advertisement in a gentleman's magazine: "Get a 12 inch penis in 30 days." > The price was painfully high, but he hoped for rich rewards. > > About four weeks later, dizzy with curiosity and hope, he ripped open the > plain unmarked package. > > He got a twelve inch rubber penis. > > Cheers, > > > Tim > > > On Aug 2, 2011, at 9:27 AM, Richmond Mathewson wrote: > > > Does anybody know who "Max-Gentleman" is? > > > > He keeps sending me e-mails (to all my e-mail accounts), and obviously > > is a very short person (P.O.R.G. - person of restricted growth) as he > seems to be > > appealing for some sort of pills to make him grow. > > > > Should I feel sorry for this chap, considering he is vertically > challenged? > > > > Considering his parents, considering his short stature, have given him a > sadistic moniker? > > > > And, can anybody suggest a way to help him in such a way that he stops > filling my in-boxes and spam-boxes up with his importunings? > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode 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 > -- Stephen Barncard San Francisco Ca. USA more about sqb From dunbarx at aol.com Wed Aug 3 15:35:56 2011 From: dunbarx at aol.com (dunbarx at aol.com) Date: Wed, 3 Aug 2011 15:35:56 -0400 (EDT) Subject: How to sort on keydown In-Reply-To: References: <77e42eec5992d5b1d73de9542b4d25a1@mfelkerco.com> Message-ID: <8CE202BB2CF5FF5-220C-A985@webmail-d084.sysops.aol.com> I don't think an option menu responds well to keypresses, whether or not the user has clicked there or not. I don't see any messages sent at all. I loaded one with a few lines, "A" in the first, "B" in the second, etc.When I clicked in the menu, displaying the contents, and then trying a keypress that corresponded with one of the letters, I got odd behavior. Sometimes it seemed to work, mostly not. Anyone know if I am right about this? If so, you will need to build your own control, easy and fun to do. Craig Newman -----Original Message----- From: Admin To: How to use LiveCode Sent: Wed, Aug 3, 2011 9:54 am Subject: Re: How to sort on keydown Chris, I did away with the drop down (which was not really a true drop down since the revlet player cannot scroll drop down boxes in most browsers), and switched to a option box instead. How would I do the same thing (user clicks the option box and then presses say, the 'm" key for March? Mike On Wed, 3 Aug 2011 10:00:27 -0400, Nonsanity wrote: > Since sort will re-order the items, I think what you want is "select". You > are also sorting "items" which by default means the chunks of text separated > by commas (you can change the commas to any other character by setting the > itemDelimiter), but I'm guessing you mean lines. If it actually IS items, > replace "lines" with "items" in the code below. > > on keydown theKey > show fld "MonthDropDown" > repeat with a = 1 to the number of lines in fld "MonthDropDown" > if char 1 of line a of fld "MonthDropDown" is theKey then > select line a of fld "MonthDropDown" > exit repeat > end if > end repeat > end keydown > > Does that do what you want? You might want to limit the keys it works with > by putting an if statement around the entire guts of the handler like so: > > if theKey > 64 and theKey < 91 then > ... > end if > > ~ Chris Innanen > ~ Nonsanity > > On Wed, Aug 3, 2011 at 2:24 AM, Admin wrote: > >> Hello everyone. I wrote the following code: on keydown show field "MonthDropDown" sort items of field "MonthDropDown" by keydown letter end keydown It's wrong. I know it's wrong. How do I make it right? (I want the drop down list to end up on the letter of what the user pressed on keydown, so if they pressed 'd' or 'D' I want "December" to become highlighted. Thanks everyone. Mike _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com [1] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode [2] > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com [4] > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode [5] Links: ------ [1] mailto:use-livecode at lists.runrev.com [2] http://lists.runrev.com/mailman/listinfo/use-livecode [3] mailto:admin at mfelkerco.com [4] mailto:use-livecode at lists.runrev.com [5] 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 francois.chaplais at mines-paristech.fr Wed Aug 3 17:31:50 2011 From: francois.chaplais at mines-paristech.fr (=?iso-8859-1?Q?Fran=E7ois_Chaplais?=) Date: Wed, 3 Aug 2011 23:31:50 +0200 Subject: [ANN] BvG Docu 2 In-Reply-To: References: Message-ID: <5E58B264-2F0C-44E6-8804-A948E2EBAB42@mines-paristech.fr> Fine! Is there also an upgrade for Docslib? Best Fran?ois Le 3 ao?t 2011 ? 19:18, Bj?rnke von Gierke a ?crit : > As mentioned in the last livecode.tv event, BvG Docu 2 is now available. It works with Rev / LC versions 4.0 to 4.6.3, and accompanying Metacard IDE's. > > Get it at my site: http://bjoernke.com/bvgdocu/ > > BvG Docu is an alternative way and GUI for using the dictionary entries. This is the second Iteration, coded anew from ground up using SQLite. Differences to the built in dictionary encompass: > - choose your own text style, size and layout for the entries > - full text search > - faster to use and easier to reach entries > - 'see also' entries more prominent > - better usability > - print button > > > Try it now, and see wether you like it more then the build in dictionary for yourself: > > http://bjoernke.com/bvgdocu/ > > Bj?rnke > > > -- > Watch live presentations every Saturday: > http://livecode.tv > > Use an alternative Dictionary viewer: > http://bjoernke.com/bvgdocu/ > > Chat with other RunRev developers: > http://bjoernke.com/chatrev/ > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From chipp at altuit.com Wed Aug 3 17:36:23 2011 From: chipp at altuit.com (Chipp Walters) Date: Wed, 3 Aug 2011 16:36:23 -0500 Subject: Any LC mobile case studies available? Message-ID: <3151AEC9-29B8-4EC0-A666-609B9E1A6111@altuit.com> Does anyone Know of any LC mobile case studies out there? We're getting ready to kickoff a fairly significant Android/iOS Dev project and wondered about details of others efforts. Especially any gotchas to look out for. Also, Chris will be coding a notification external for iOS unless anyone already has one available. If we write one, is there any demand for it from any of you out there? Thx. Chipp Walters CEO, Shafer Walters Group, Inc From bvg at mac.com Wed Aug 3 18:39:51 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Thu, 04 Aug 2011 00:39:51 +0200 Subject: [ANN] BvG Docu 2 In-Reply-To: <5E58B264-2F0C-44E6-8804-A948E2EBAB42@mines-paristech.fr> References: <5E58B264-2F0C-44E6-8804-A948E2EBAB42@mines-paristech.fr> Message-ID: No, because dosclib was part of the old docu stack, and this is a complete rewrite. The GUI parts and the "library" parts are a lot less divided in this version, so I did not make a division like that this time around. That said, it's still possible to create your own GUI (but a bit harder). The easiest way to do that would be to call the relevant stack functions, for example docuLibhtmlEntry(), and simply not show my stack. Cheers Bj?rnke On 3 Aug 2011, at 23:31, Fran?ois Chaplais wrote: > Fine! Is there also an upgrade for Docslib? > Best > Fran?ois > Le 3 ao?t 2011 ? 19:18, Bj?rnke von Gierke a ?crit : > >> As mentioned in the last livecode.tv event, BvG Docu 2 is now available. It works with Rev / LC versions 4.0 to 4.6.3, and accompanying Metacard IDE's. >> >> Get it at my site: http://bjoernke.com/bvgdocu/ >> >> BvG Docu is an alternative way and GUI for using the dictionary entries. This is the second Iteration, coded anew from ground up using SQLite. Differences to the built in dictionary encompass: >> - choose your own text style, size and layout for the entries >> - full text search >> - faster to use and easier to reach entries >> - 'see also' entries more prominent >> - better usability >> - print button >> >> >> Try it now, and see wether you like it more then the build in dictionary for yourself: >> >> http://bjoernke.com/bvgdocu/ >> >> Bj?rnke >> >> >> -- >> Watch live presentations every Saturday: >> http://livecode.tv >> >> Use an alternative Dictionary viewer: >> http://bjoernke.com/bvgdocu/ >> >> Chat with other RunRev developers: >> http://bjoernke.com/chatrev/ >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 -- Watch live presentations every Saturday: http://livecode.tv Use an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ From francois.chaplais at mines-paristech.fr Wed Aug 3 18:42:47 2011 From: francois.chaplais at mines-paristech.fr (=?iso-8859-1?Q?Fran=E7ois_Chaplais?=) Date: Thu, 4 Aug 2011 00:42:47 +0200 Subject: [ANN] BvG Docu 2 In-Reply-To: References: <5E58B264-2F0C-44E6-8804-A948E2EBAB42@mines-paristech.fr> Message-ID: Le 4 ao?t 2011 ? 00:39, Bj?rnke von Gierke a ?crit : > No, because dosclib was part of the old docu stack, and this is a complete rewrite. The GUI parts and the "library" parts are a lot less divided in this version, so I did not make a division like that this time around. > > That said, it's still possible to create your own GUI (but a bit harder). The easiest way to do that would be to call the relevant stack functions, for example docuLibhtmlEntry(), and simply not show my stack. > > Cheers > Bj?rnke It confirms what I suspected. Best, Fran?ois From bvg at mac.com Wed Aug 3 19:20:47 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Thu, 04 Aug 2011 01:20:47 +0200 Subject: [ANN] BvG Docu 2 In-Reply-To: References: <5E58B264-2F0C-44E6-8804-A948E2EBAB42@mines-paristech.fr> Message-ID: <2D61154D-F08B-4274-8AD9-299FC9084E2C@mac.com> It's really not much harder. One problem is setting everything up correctly, creating the sql file, etc. That is now much more graphical, and more complex. Another problem is the lack of documentation/explanation, which existed for the old stack. Mostly it should still be possible to create your own GUI based on my code. However, as everything is now within a SQLite database, Maybe simply using the 'SQLite Manager' plugin in Firefox is enough for your needs? It depends on what you actually want to do I guess :) I have uploaded a new version, a few small bugfixes, mostly for pdf creation (thx Matthias) and a bigger drop down (thx Pete). cheers Bj?rnke On 4 Aug 2011, at 00:42, Fran?ois Chaplais wrote: > > Le 4 ao?t 2011 ? 00:39, Bj?rnke von Gierke a ?crit : > >> No, because dosclib was part of the old docu stack, and this is a complete rewrite. The GUI parts and the "library" parts are a lot less divided in this version, so I did not make a division like that this time around. >> >> That said, it's still possible to create your own GUI (but a bit harder). The easiest way to do that would be to call the relevant stack functions, for example docuLibhtmlEntry(), and simply not show my stack. >> >> Cheers >> Bj?rnke > It confirms what I suspected. > Best, > Fran?ois > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Watch live presentations every Saturday: http://livecode.tv Use an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ From pete at mollysrevenge.com Wed Aug 3 19:47:38 2011 From: pete at mollysrevenge.com (Pete) Date: Wed, 3 Aug 2011 16:47:38 -0700 Subject: Delete a card? Message-ID: Trying to delete a card by right clicking on it and selecting "Delete Card". No error message but the card is still there, even after restarting LC. What could cause this? Pete Molly's Revenge From rman at free.fr Wed Aug 3 19:48:10 2011 From: rman at free.fr (Robert Mann) Date: Wed, 3 Aug 2011 16:48:10 -0700 (PDT) Subject: [server] using STACKS within ON-REV In-Reply-To: <1312385080570-3715876.post@n4.nabble.com> References: <1312213248751-3710035.post@n4.nabble.com> <1312297948995-3712679.post@n4.nabble.com> <1312383691243-3715789.post@n4.nabble.com> <1312383935809-3715808.post@n4.nabble.com> <1312385080570-3715876.post@n4.nabble.com> Message-ID: <1312415290799-3717251.post@n4.nabble.com> OK folks, problem solved; Conclusion is :: do not use BIG CHARS in a stack name... 1) I tested martin's files on my server and it worked (gasp!) 2) I further tested my files :: tracked a problem on the name of the stack "stackTest-v1.livecode". It is the real and proper name as it appears in the on-rev file browser. Notice the "T" if I change its call in the .lc file to "stacktest-v1" :: it works! 3) This problem only affects the "go stack" command. Setting the default stack works fine with the a big T. So, be warned! Thanks martin for drilling this down! -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/server-using-STACKS-within-ON-REV-tp3710035p3717251.html Sent from the Revolution - User mailing list archive at Nabble.com. From bvlahos at mac.com Wed Aug 3 19:51:34 2011 From: bvlahos at mac.com (Bill Vlahos) Date: Wed, 03 Aug 2011 16:51:34 -0700 Subject: SMTP Library that works with Gmail over SSL? In-Reply-To: <0B7C48A3-3C30-40C2-BC42-500926447503@twft.com> References: <9AA15A35-DD08-479F-9A57-12B0D7BA0EA6@twft.com> <2F367B69-02E5-4AE8-BC19-E02384EBFDFF@mac.com> <0B7C48A3-3C30-40C2-BC42-500926447503@twft.com> Message-ID: <15D98B6F-F5E6-482D-87D8-B8C50FE2B462@mac.com> Bob, I'm not sure exactly what you mean. If you are using MySQL (or most other SQL databases) you can encrypt the entire database. However, you could also encrypt the data before it goes into the database. Bill On Aug 3, 2011, at 9:06 AM, Bob Sneidar wrote: > Oh thanks Bill. Would the SQL column used to store it need to be binary? > > Bob > > > On Aug 3, 2011, at 8:35 AM, Bill Vlahos wrote: > >> Yes it does and has for a long time. >> >> put the cipherNames >> >> Bill Vlahos >> _________________ >> InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. >> >> On Aug 2, 2011, at 2:56 PM, Bob Sneidar wrote: >> >>> Speaking of which, does Livecode do AES encryption now? I thought it did. I want to store passwords in AES format and decrypt them in my stack script. >>> >>> Bob >>> >>> >>> On Aug 2, 2011, at 12:26 PM, Trevor DeVore wrote: >>> >>>> Does anyone have a LiveCode solution that can send HTML email via SMTP using >>>> SSL? I need to send email through the Gmail SMTP server and the existing >>>> SMTP libraries I've found for LiveCode don't support SSL. >>>> >>>> -- >>>> Trevor DeVore >>>> Blue Mango Learning Systems >>>> >>>> LiveCode Resources for Developers: http://livecode.bluemangolearning.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 > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Wed Aug 3 20:17:25 2011 From: bobs at twft.com (Bob Sneidar) Date: Wed, 3 Aug 2011 17:17:25 -0700 Subject: Delete a card? In-Reply-To: References: Message-ID: is the cant delete in the properties of the card set to true? Is a group on the card set to can't delete and it is the last card with that group? Bob On Aug 3, 2011, at 4:47 PM, Pete wrote: > Trying to delete a card by right clicking on it and selecting "Delete Card". > No error message but the card is still there, even after restarting LC. > What could cause this? > > Pete > Molly's Revenge > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Wed Aug 3 20:19:07 2011 From: bobs at twft.com (Bob Sneidar) Date: Wed, 3 Aug 2011 17:19:07 -0700 Subject: SMTP Library that works with Gmail over SSL? In-Reply-To: <15D98B6F-F5E6-482D-87D8-B8C50FE2B462@mac.com> References: <9AA15A35-DD08-479F-9A57-12B0D7BA0EA6@twft.com> <2F367B69-02E5-4AE8-BC19-E02384EBFDFF@mac.com> <0B7C48A3-3C30-40C2-BC42-500926447503@twft.com> <15D98B6F-F5E6-482D-87D8-B8C50FE2B462@mac.com> Message-ID: Oh, well you can define an SQL column to store the data as a binary value instead of a string value. I decided to play it safe and redefine my password column in the table to varchar(255) binary. Bob On Aug 3, 2011, at 4:51 PM, Bill Vlahos wrote: > Bob, > > I'm not sure exactly what you mean. > > If you are using MySQL (or most other SQL databases) you can encrypt the entire database. However, you could also encrypt the data before it goes into the database. > > Bill > > On Aug 3, 2011, at 9:06 AM, Bob Sneidar wrote: > >> Oh thanks Bill. Would the SQL column used to store it need to be binary? >> >> Bob >> >> >> On Aug 3, 2011, at 8:35 AM, Bill Vlahos wrote: >> >>> Yes it does and has for a long time. >>> >>> put the cipherNames >>> >>> Bill Vlahos >>> _________________ >>> InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. >>> >>> On Aug 2, 2011, at 2:56 PM, Bob Sneidar wrote: >>> >>>> Speaking of which, does Livecode do AES encryption now? I thought it did. I want to store passwords in AES format and decrypt them in my stack script. >>>> >>>> Bob >>>> >>>> >>>> On Aug 2, 2011, at 12:26 PM, Trevor DeVore wrote: >>>> >>>>> Does anyone have a LiveCode solution that can send HTML email via SMTP using >>>>> SSL? I need to send email through the Gmail SMTP server and the existing >>>>> SMTP libraries I've found for LiveCode don't support SSL. >>>>> >>>>> -- >>>>> Trevor DeVore >>>>> Blue Mango Learning Systems >>>>> >>>>> LiveCode Resources for Developers: http://livecode.bluemangolearning.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 >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 Aug 3 20:46:19 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 3 Aug 2011 17:46:19 -0700 Subject: [OT] Max-Gentleman In-Reply-To: <8FFD6C95-7EA5-4665-B5BF-DABC96AE9879@doctorTimothyMiller.com> References: <4E38256F.7070309@gmail.com> <8FFD6C95-7EA5-4665-B5BF-DABC96AE9879@doctorTimothyMiller.com> Message-ID: <491203791343.20110803174619@ahsoftware.net> Tim- I'm sure there's a use for one of those things but it... er... escapes me right at the moment... -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Wed Aug 3 21:02:02 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 3 Aug 2011 18:02:02 -0700 Subject: [ANN] BvG Docu 2 In-Reply-To: References: Message-ID: <1271204733953.20110803180202@ahsoftware.net> Bj?rnke- Wednesday, August 3, 2011, 10:18:38 AM, you wrote: > As mentioned in the last livecode.tv event, BvG Docu 2 is now > available. It works with Rev / LC versions 4.0 to 4.6.3, and > accompanying Metacard IDE's. Here's a hint - if you're storing your plugins folder on Dropbox you'll end up with a couple of errors: after extracting to the sqlite file you'll find that the BvGDocu2 plugin doesn't work right away. First step before running the extraction: if you have an older version in your plugins folder, delete it. Secondly, after running the extraction, close the IDE. Now open your user folder and you'll see both a "Plugins" folder and a "Plugins (case conflict 1)" folder. Delete that one - the proper stuff is in the Plugins folder already. Now you're ready to launch the IDE again with the plugin working properly. Also, if you're running this on Windows you'll see annoying little square boxes all over the text fields. Don't panic - they're mostly harmless. And if you're running linux you're just out of luck for right now - the extracter fails miserably with a "can't open database" error. I'm confident this will get straightened out in time. -- -Mark Wieder mwieder at ahsoftware.net From stephenREVOLUTION2 at barncard.com Wed Aug 3 21:24:26 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Wed, 3 Aug 2011 18:24:26 -0700 Subject: [server] using STACKS within ON-REV In-Reply-To: <1312415290799-3717251.post@n4.nabble.com> References: <1312213248751-3710035.post@n4.nabble.com> <1312297948995-3712679.post@n4.nabble.com> <1312383691243-3715789.post@n4.nabble.com> <1312383935809-3715808.post@n4.nabble.com> <1312385080570-3715876.post@n4.nabble.com> <1312415290799-3717251.post@n4.nabble.com> Message-ID: wouldn't that case-turnaround be a bug that should be reported? It's good practice to use lower case, however one should still be able to use any legal filename for any file function. On 3 August 2011 16:48, Robert Mann wrote: > OK folks, problem solved; Conclusion is :: do not use BIG CHARS in a stack > name... > > 1) I tested martin's files on my server and it worked (gasp!) > 2) I further tested my files :: tracked a problem on the name of the stack > "stackTest-v1.livecode". It is the real and proper name as it appears in > the > on-rev file browser. Notice the "T" > if I change its call in the .lc file to "stacktest-v1" :: it works! > 3) This problem only affects the "go stack" command. Setting the default > stack works fine with the a big T. > > So, be warned! > > Thanks martin for drilling this down! > > > > > > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/server-using-STACKS-within-ON-REV-tp3710035p3717251.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 > -- Stephen Barncard San Francisco Ca. USA more about sqb From jacque at hyperactivesw.com Wed Aug 3 22:03:10 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 03 Aug 2011 21:03:10 -0500 Subject: [server] using STACKS within ON-REV In-Reply-To: References: <1312213248751-3710035.post@n4.nabble.com> <1312297948995-3712679.post@n4.nabble.com> <1312383691243-3715789.post@n4.nabble.com> <1312383935809-3715808.post@n4.nabble.com> <1312385080570-3715876.post@n4.nabble.com> <1312415290799-3717251.post@n4.nabble.com> Message-ID: <4E39FDDE.4040607@hyperactivesw.com> On 8/3/11 8:24 PM, stephen barncard wrote: > wouldn't that case-turnaround be a bug that should be reported? It's good > practice to use lower case, however one should still be able to use any > legal filename for any file function. Since servers are case-sensitive, I wonder if the OP had a differently-cased stack name in the script? When a script refers to a stack on disk, I think the name gets passed to the OS without any changes. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Wed Aug 3 22:07:16 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 03 Aug 2011 21:07:16 -0500 Subject: Delete a card? In-Reply-To: References: Message-ID: <4E39FED4.8090008@hyperactivesw.com> On 8/3/11 6:47 PM, Pete wrote: > Trying to delete a card by right clicking on it and selecting "Delete Card". > No error message but the card is still there, even after restarting LC. > What could cause this? Some things that come to mind: The stack has cantmodify set to true. The card or any card objects have cantDelete set to true. It's the only card in the stack. Messages are turned off in the IDE. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From Mark_Smith at cpe.umanitoba.ca Wed Aug 3 22:29:02 2011 From: Mark_Smith at cpe.umanitoba.ca (Mark Smith) Date: Wed, 3 Aug 2011 19:29:02 -0700 (PDT) Subject: Getting Android going In-Reply-To: <4E38D258.5030509@hyperactivesw.com> References: <1312341326010-3714311.post@n4.nabble.com> <4E38D258.5030509@hyperactivesw.com> Message-ID: <1312424942986-3717528.post@n4.nabble.com> J. Landman Gay wrote: > > On 8/2/11 10:15 PM, Mark Smith wrote: > > I didn't know what I was doing when I set up, so I just followed those > instructions and used the Android 2.2 API 8 package to set up my virtual > machine. Do you have a VM configured? > Hi Jacqueline, I had no luck installing into /developer either. I do have a VM configured and it runs fine. I think I'll flip this to support and see what kind of response I get. Its quite frustrating. BTW, if you run the terminal and enter "ls -a" on the command line do you have a file called .bash_profile? -- Mark -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Getting-Android-going-tp3714311p3717528.html Sent from the Revolution - User mailing list archive at Nabble.com. From jacque at hyperactivesw.com Wed Aug 3 22:40:17 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 03 Aug 2011 21:40:17 -0500 Subject: Getting Android going In-Reply-To: <1312424942986-3717528.post@n4.nabble.com> References: <1312341326010-3714311.post@n4.nabble.com> <4E38D258.5030509@hyperactivesw.com> <1312424942986-3717528.post@n4.nabble.com> Message-ID: <4E3A0691.1060406@hyperactivesw.com> On 8/3/11 9:29 PM, Mark Smith wrote: > > J. Landman Gay wrote: >> >> On 8/2/11 10:15 PM, Mark Smith wrote: >> >> I didn't know what I was doing when I set up, so I just followed those >> instructions and used the Android 2.2 API 8 package to set up my virtual >> machine. Do you have a VM configured? >> > > Hi Jacqueline, I had no luck installing into /developer either. I do have a > VM configured and it runs fine. I think I'll flip this to support and see > what kind of response I get. Its quite frustrating. > > BTW, if you run the terminal and enter "ls -a" on the command line do you > have a file called .bash_profile? No, I don't see one. I have .bash_history though. That's the only bash file I see. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pete at mollysrevenge.com Wed Aug 3 23:10:53 2011 From: pete at mollysrevenge.com (Pete) Date: Wed, 3 Aug 2011 20:10:53 -0700 Subject: Delete a card? In-Reply-To: <4E39FED4.8090008@hyperactivesw.com> References: <4E39FED4.8090008@hyperactivesw.com> Message-ID: Pretty sure none of those things were true, but wouldn't I get some sort of error message if any of them were true? Pete Molly's Revenge On Wed, Aug 3, 2011 at 7:07 PM, J. Landman Gay wrote: > On 8/3/11 6:47 PM, Pete wrote: > >> Trying to delete a card by right clicking on it and selecting "Delete >> Card". >> No error message but the card is still there, even after restarting LC. >> What could cause this? >> > > Some things that come to mind: > > The stack has cantmodify set to true. > The card or any card objects have cantDelete set to true. > It's the only card in the stack. > Messages are turned off in the IDE. > > -- > 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 jperryl at ecs.fullerton.edu Thu Aug 4 00:30:38 2011 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Wed, 3 Aug 2011 21:30:38 -0700 (PDT) Subject: Where does survive the inventive user ? In-Reply-To: <1312333252624-3714146.post@n4.nabble.com> References: <8CE1A70D9625EA6-2550-214DE@web-mmc-d04.sysops.aol.com> <44857038-F42F-4374-8DA7-F6BCDF16629C@doctorTimothyMiller.com> <1312333252624-3714146.post@n4.nabble.com> Message-ID: Alejandro, Something better is needed... and geared towards the true inventive user and less towards the newbie programmer. Best, Judy http://bingo.economy-x-talk.com/ On Tue, 2 Aug 2011, Alejandro Tejada wrote: > http://www.metacard.com/pi6.html > http://www.canelasoftware.com/mc/metacard24/mtp.mc > http://www.canelasoftware.com/mc/metacard24/mtpguide.mc > http://www.canelasoftware.com/mc/metacard24/README.mtp > > Al From admin at mfelkerco.com Thu Aug 4 02:33:31 2011 From: admin at mfelkerco.com (Admin) Date: Thu, 04 Aug 2011 01:33:31 -0500 Subject: How to sort on keydown In-Reply-To: <8CE202BB2CF5FF5-220C-A985@webmail-d084.sysops.aol.com> References: <77e42eec5992d5b1d73de9542b4d25a1@mfelkerco.com> <8CE202BB2CF5FF5-220C-A985@webmail-d084.sysops.aol.com> Message-ID: <5805ee91a7262ccab500e8cf62db41a8@mfelkerco.com> "If so, you will need to build your own control, easy and fun to do" Not so sure if I want that kind of fun. I'd be happy with a drop down control that works. Already tried a more homegrown solution that was more trouble than it was worth. Mike From admin at mfelkerco.com Thu Aug 4 02:35:38 2011 From: admin at mfelkerco.com (Admin) Date: Thu, 04 Aug 2011 01:35:38 -0500 Subject: Any LC mobile case studies =?UTF-8?Q?available=3F?= In-Reply-To: <3151AEC9-29B8-4EC0-A666-609B9E1A6111@altuit.com> References: <3151AEC9-29B8-4EC0-A666-609B9E1A6111@altuit.com> Message-ID: <79e04adcdfee927ba942415b7909bd50@mfelkerco.com> Chip, I plan on porting this massive database project to android and IOS, but the data is proprietary. I am more than willing to share the code or showcase it once I am done with it. Lots of bugs and gotchas right now. My next project, for my own company, will be of interest to you - Groove Blox for Windows, Mac and mobile platforms. Mike On Wed, 3 Aug 2011 16:36:23 -0500, Chipp Walters wrote: > Does anyone Know of any LC mobile case studies out there? We're getting ready to kickoff a fairly significant Android/iOS Dev project and wondered about details of others efforts. Especially any gotchas to look out for. > > Also, Chris will be coding a notification external for iOS unless anyone already has one available. If we write one, is there any demand for it from any of you out there? > > Thx. > > Chipp Walters > CEO, Shafer Walters Group, Inc > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com [1] > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode [2] Links: ------ [1] mailto:use-livecode at lists.runrev.com [2] http://lists.runrev.com/mailman/listinfo/use-livecode From keith.clarke at clarkeandclarke.co.uk Thu Aug 4 03:26:26 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Thu, 4 Aug 2011 08:26:26 +0100 Subject: [ANN] BvG Docu 2 In-Reply-To: References: Message-ID: ...nice work, Bj?rnke - the search capability really adds to the dictionary's usefulness and accessibility. Thanks for sharing. Best, Keith.. On 3 Aug 2011, at 18:18, Bj?rnke von Gierke wrote: > As mentioned in the last livecode.tv event, BvG Docu 2 is now available. It works with Rev / LC versions 4.0 to 4.6.3, and accompanying Metacard IDE's. > > Get it at my site: http://bjoernke.com/bvgdocu/ > > BvG Docu is an alternative way and GUI for using the dictionary entries. This is the second Iteration, coded anew from ground up using SQLite. Differences to the built in dictionary encompass: > - choose your own text style, size and layout for the entries > - full text search > - faster to use and easier to reach entries > - 'see also' entries more prominent > - better usability > - print button > > > Try it now, and see wether you like it more then the build in dictionary for yourself: > > http://bjoernke.com/bvgdocu/ > > Bj?rnke > > > -- > Watch live presentations every Saturday: > http://livecode.tv > > Use an alternative Dictionary viewer: > http://bjoernke.com/bvgdocu/ > > Chat with other RunRev developers: > http://bjoernke.com/chatrev/ > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Aug 4 04:00:00 2011 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Thu, 04 Aug 2011 11:00:00 +0300 Subject: [OT] Max-Gentleman In-Reply-To: <8FFD6C95-7EA5-4665-B5BF-DABC96AE9879@doctorTimothyMiller.com> References: <4E38256F.7070309@gmail.com> <8FFD6C95-7EA5-4665-B5BF-DABC96AE9879@doctorTimothyMiller.com> Message-ID: <4E3A5180.9020608@gmail.com> On 08/03/2011 08:24 PM, Timothy Miller wrote: > When I was in college, an insecure acquaintance of mine replied to an advertisement in a gentleman's magazine: "Get a 12 inch penis in 30 days." The price was painfully high, but he hoped for rich rewards. > > About four weeks later, dizzy with curiosity and hope, he ripped open the plain unmarked package. > > He got a twelve inch rubber penis. > > Cheers, > > > Tim > > Well, when I was 15 a friend and I sent off for some "real grass", with the inevitable result . . . :) From richmondmathewson at gmail.com Thu Aug 4 04:01:56 2011 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Thu, 04 Aug 2011 11:01:56 +0300 Subject: [OT] Max-Gentleman In-Reply-To: References: <4E38256F.7070309@gmail.com> <8FFD6C95-7EA5-4665-B5BF-DABC96AE9879@doctorTimothyMiller.com> Message-ID: <4E3A51F4.5000507@gmail.com> On 08/03/2011 10:09 PM, stephen barncard wrote: > Reminds me of a time when my dad said there were ads for 'color tv > converters' and what you got were several plastic gels to put over your > black and white set. Color, right! Which one do you want? Red, Blue or > Green. Funnily enough I remember that in Britain as well. My grandfather, a wise man, said that the best way to get colour television was to watch a black-and-white set through a glass of wine! > > On 3 August 2011 10:24, Timothy Millerwrote: > >> When I was in college, an insecure acquaintance of mine replied to an >> advertisement in a gentleman's magazine: "Get a 12 inch penis in 30 days." >> The price was painfully high, but he hoped for rich rewards. >> >> About four weeks later, dizzy with curiosity and hope, he ripped open the >> plain unmarked package. >> >> He got a twelve inch rubber penis. >> >> Cheers, >> >> >> Tim >> >> >> On Aug 2, 2011, at 9:27 AM, Richmond Mathewson wrote: >> >>> Does anybody know who "Max-Gentleman" is? >>> >>> He keeps sending me e-mails (to all my e-mail accounts), and obviously >>> is a very short person (P.O.R.G. - person of restricted growth) as he >> seems to be >>> appealing for some sort of pills to make him grow. >>> >>> Should I feel sorry for this chap, considering he is vertically >> challenged? >>> Considering his parents, considering his short stature, have given him a >> sadistic moniker? >>> And, can anybody suggest a way to help him in such a way that he stops >> filling my in-boxes and spam-boxes up with his importunings? >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode 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 Aug 4 04:03:15 2011 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Thu, 04 Aug 2011 11:03:15 +0300 Subject: [OT] Max-Gentleman In-Reply-To: <491203791343.20110803174619@ahsoftware.net> References: <4E38256F.7070309@gmail.com> <8FFD6C95-7EA5-4665-B5BF-DABC96AE9879@doctorTimothyMiller.com> <491203791343.20110803174619@ahsoftware.net> Message-ID: <4E3A5243.6080903@gmail.com> On 08/04/2011 03:46 AM, Mark Wieder wrote: > Tim- > > I'm sure there's a use for one of those things but it... er... escapes > me right at the moment... > It can be used for flagellating people who are meant to be concentrating on their Livecode programming but get side-tracked . . . :) From sc at sahores-conseil.com Thu Aug 4 04:10:38 2011 From: sc at sahores-conseil.com (Pierre Sahores) Date: Thu, 4 Aug 2011 10:10:38 +0200 Subject: Where does survive the inventive user ? In-Reply-To: References: <8CE1A70D9625EA6-2550-214DE@web-mmc-d04.sysops.aol.com> <44857038-F42F-4374-8DA7-F6BCDF16629C@doctorTimothyMiller.com> <1312333252624-3714146.post@n4.nabble.com> Message-ID: <07CC6A87-B45E-4EEF-BB64-A1DD46E26390@sahores-conseil.com> Le 4 ao?t 2011 ? 06:30, Judy Perry a ?crit : > Something better is needed... and geared towards the true inventive user and less towards the newbie programmer. The great strength of HyperCard was to offer us hundreds of preprogrammed stacks that we could arrange as a lego to build our first applications before we had to put our fingers in the dust to understand how these stacks were coded. -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com From toolbook at kestner.de Thu Aug 4 06:43:10 2011 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Thu, 4 Aug 2011 12:43:10 +0200 Subject: AW: Need advice with Lion permission changes In-Reply-To: References: <5934E0F4-3DC6-4B40-827D-88957567B6B8@wehostmacs.com> <003101cc510c$0cf0d930$26d28b90$@de> Message-ID: <003301cc5293$51ff7cb0$f5fe7610$@de> That is a real pain in the ass, because my app doesn't run anymore under lion and I haven't found a solution yet. I have read over the last days guidelines and threads, but have not found any answer yet. Apple says about the /library/application support/ in the Mac OS X Developer library: " For example, you might use this directory to store application-created data files, configuration files, templates, or other fixed or modifiable resources that are managed by the application.", see: http://developer.apple.com/library/mac/#documentation/FileManagement/Concept ual/FileSystemProgrammingGUide/FileSystemOverview/FileSystemOverview.html#// apple_ref/doc/uid/TP40010672-CH2-SW1 But I CAN'T create files anymore in this directory and I have nothing found in the developer guidelines of apple, what has changed on lion and where to store now common files. The users directories are no solution for me (read my old threads) I tried to create first a user folder in the users directory and then copy it to the common application support folder, but the access is obviously denied. I could do it only with sudo in the terminal. But if I try to run sudo mv ... in the shell from livecode, I get the same error, as already Josh: "no tty present and no askpass program specified" Can anybody shed some light on this? (same with sudo ditto) I have no clue what it means and how I can get it working with sudo. I can't believe that there is no place anymore, where you can store common app files! Am I the only one who needs common app files? I a pretty helpless and thankfull for every hint P.S. @Ken Ray: You said " Yes, I got burned as well, but I *still* plan on writing "all users" support files in the /Library/Application Support folder, even if I have to go the extra mile to make it happen." I would love if you could share your extra mile! Thanks Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode-bounces at lists.runrev.com [mailto:use-livecode- > bounces at lists.runrev.com] Im Auftrag von Pete > Gesendet: Dienstag, 2. August 2011 23:02 > An: How to use LiveCode > Betreff: Re: Need advice with Lion permission changes > > I too am interested in the answer to this. I'm not sure it ever got > resolved in the previous thread on the question. Is there anywhere under > Lion that files can be installed for use by all users without having to > resort to chmod commands? > Pete > Molly's Revenge > > > From janschenkel at yahoo.com Thu Aug 4 07:24:20 2011 From: janschenkel at yahoo.com (Jan Schenkel) Date: Thu, 4 Aug 2011 04:24:20 -0700 (PDT) Subject: AW: Need advice with Lion permission changes In-Reply-To: <003301cc5293$51ff7cb0$f5fe7610$@de> References: <5934E0F4-3DC6-4B40-827D-88957567B6B8@wehostmacs.com> <003101cc510c$0cf0d930$26d28b90$@de> <003301cc5293$51ff7cb0$f5fe7610$@de> Message-ID: <1312457060.49202.YahooMailNeo@web65405.mail.ac4.yahoo.com> You can place them there, but the user has to have the right permissions. LiveCode 4.5 added support for 'elevated processes' - so you'd have to create a separate (faceless) application and use 'open elevated process ...' which will prompt the user for the required password, and then the separate elevated process can write to those places. Note that you should only use those places for 'support' files, not database files or anything of the sort. Those you should proably put somewhere in /users/shared or something. HTH, 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) ----- Original Message ----- From: Tiemo Hollmann TB To: 'How to use LiveCode' Cc: Sent: Thursday, August 4, 2011 12:43 PM Subject: AW: Need advice with Lion permission changes That is a real pain in the ass, because my app doesn't run anymore under lion and I haven't found a solution yet. I have read over the last days guidelines and threads, but have not found any answer yet. Apple says about the /library/application support/ in the Mac OS X Developer library: " For example, you might use this directory to store application-created data files, configuration files, templates, or other fixed or modifiable resources that are managed by the application.", see: http://developer.apple.com/library/mac/#documentation/FileManagement/Concept ual/FileSystemProgrammingGUide/FileSystemOverview/FileSystemOverview.html#// apple_ref/doc/uid/TP40010672-CH2-SW1 But I CAN'T create files anymore in this directory and I have nothing found in the developer guidelines of apple, what has changed on lion and where to store now common files. The users directories are no solution for me (read my old threads) I tried to create first a user folder in the users directory and then copy it to the common application support folder, but the access is obviously denied. I could do it only with sudo in the terminal. But if I try to run sudo mv ... in the shell from livecode, I get the same error, as already Josh: "no tty present and no askpass program specified" Can anybody shed some light on this? (same with sudo ditto) I have no clue what it means and how I can get it working with sudo. I can't believe that there is no place anymore, where you can store common app files! Am I the only one who needs common app files? I a pretty helpless and thankfull for every hint P.S. @Ken Ray: You said " Yes, I got burned as well, but I *still* plan on writing "all users" support files in the /Library/Application Support folder, even if I have to go the extra mile to make it happen." I would love if you could share your extra mile! Thanks Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode-bounces at lists.runrev.com [mailto:use-livecode- > bounces at lists.runrev.com] Im Auftrag von Pete > Gesendet: Dienstag, 2. August 2011 23:02 > An: How to use LiveCode > Betreff: Re: Need advice with Lion permission changes > > I too am interested in the answer to this.? I'm not sure it ever got > resolved in the previous thread on the question.? Is there anywhere under > Lion that files can be installed for use by all users without having to > resort to chmod commands? > Pete > Molly's Revenge > > > _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From wow at together.net Thu Aug 4 07:25:37 2011 From: wow at together.net (Richard Miller) Date: Thu, 04 Aug 2011 07:25:37 -0400 Subject: How to fast-track a LC/iOS app In-Reply-To: <4E3A51F4.5000507@gmail.com> References: <4E38256F.7070309@gmail.com> <8FFD6C95-7EA5-4665-B5BF-DABC96AE9879@doctorTimothyMiller.com> <4E3A51F4.5000507@gmail.com> Message-ID: <4E3A81B1.7060508@together.net> Would really appreciate hearing comments on how to take an existing LC desktop app and convert it to a iOS app, to be approved by Apple for sale. The app is a straight-forward multimedia database. Nothing unusual in it. I have no LC iOS experience as of yet, but years of experience with Rev. 1. Is there a tutorial out there that can walk me through the process of creating true iOS controls, look, feel, etc., then test it on my iPhone, then submit it? 2. Would you recommend using a tool like MobGUI, or is that overkill? 3. What are the pitfalls to avoid? 4. What is the recommended limit, in terms of size (mb), for the embedded app? It contains lots of images. Wondering which parts of the app should be left on, and accessed from, our server vs. downloaded by the customer at the time of installation. Thank you. Richard Miller From cszasz at mac.com Thu Aug 4 08:39:57 2011 From: cszasz at mac.com (Charles Szasz) Date: Thu, 04 Aug 2011 08:39:57 -0400 Subject: Jerry's Custom Combo Box Message-ID: <50F42646-22AC-4900-BD0B-092928BC2176@mac.com> I wanted to try Jerry Daniels' sample stack that has his custom combo box that was in revUp issue 87 but the link has expired for downloading it. I contacted Jerry about it but he no longer has that sample stack. Does anybody have that sample stack that they could e-mail me? Sent from my iPad From iangmcknight at gmail.com Thu Aug 4 10:11:30 2011 From: iangmcknight at gmail.com (Ian McKnight) Date: Thu, 4 Aug 2011 15:11:30 +0100 Subject: Jerry's Custom Combo Box In-Reply-To: <50F42646-22AC-4900-BD0B-092928BC2176@mac.com> References: <50F42646-22AC-4900-BD0B-092928BC2176@mac.com> Message-ID: Hi Charles Yes I have a copy. I'll send it on. On 4 August 2011 13:39, Charles Szasz wrote: > I wanted to try Jerry Daniels' sample stack that has his custom combo box > that was in revUp issue 87 but the link has expired for downloading it. I > contacted Jerry about it but he no longer has that sample stack. Does > anybody have that sample stack that they could e-mail me? > > Sent from my iPad > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Ian McKnight iangmcknight at gmail.com ======================= From lfredricks at proactive-intl.com Thu Aug 4 10:52:55 2011 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Thu, 4 Aug 2011 07:52:55 -0700 Subject: Where does survive the inventive user ? In-Reply-To: <07CC6A87-B45E-4EEF-BB64-A1DD46E26390@sahores-conseil.com> References: <8CE1A70D9625EA6-2550-214DE@web-mmc-d04.sysops.aol.com><44857038-F42F-4374-8DA7-F6BCDF16629C@doctorTimothyMiller.com><1312333252624-3714146.post@n4.nabble.com> <07CC6A87-B45E-4EEF-BB64-A1DD46E26390@sahores-conseil.com> Message-ID: <4C3A9D5DA6CE480D8A6C67C4FB648920@GATEWAY> > > Something better is needed... and geared towards the true > inventive user and less towards the newbie programmer. > > The great strength of HyperCard was to offer us hundreds of > preprogrammed stacks that we could arrange as a lego to build > our first applications before we had to put our fingers in > the dust to understand how these stacks were coded. Out of the box, I think it wasn't quite that many, but what was shipped allowed many enthusiastic users to create that many, when it was still possible to get HyperCard for free. Some of the stacks that were included then in HyperCard were more immediately useful then because there weren't that many alternatives to speak of that allowed you to so easily modify them to suit whatever you wanted. The feature options are so much huger with LiveCode now, but so are the alternatives. But I think the question is, if all the programmatic elements that created the HC phenonemon then were implemented in LC today, would the end result be similar to what it was in the HC days? I think there have been some pretty significant market based changes since then, and you can't have one without the other. Best regards, Lynn Fredricks President Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server From admin at mfelkerco.com Thu Aug 4 11:42:53 2011 From: admin at mfelkerco.com (Admin) Date: Thu, 04 Aug 2011 10:42:53 -0500 Subject: How to check for duplicate =?UTF-8?Q?usernames=3F?= In-Reply-To: <5805ee91a7262ccab500e8cf62db41a8@mfelkerco.com> References: <77e42eec5992d5b1d73de9542b4d25a1@mfelkerco.com> <8CE202BB2CF5FF5-220C-A985@webmail-d084.sysops.aol.com> <5805ee91a7262ccab500e8cf62db41a8@mfelkerco.com> Message-ID: I have a reasonably well working database now, however, you can still duplicate usernames - my code is not working. I can gain access to he database, no problem. I can write to and read from with no problem Here, I just want to access the UserValidation table, grab all the usernames and compare the current one in the password field to all the ones in the database. If there's a match, then I want to tell them to choose another username since it is taken. Pretty straight forward, right? Here is my code: --find out if username already exists put "SELECT UserName FROM UserValidation" into theUN put revDataFromQuery(,,dbID,theUN) into theUNData if theUNData = the text of field "fldUserName" then answer "Username already exists, please pick another" exit to top end if if theUNData contains "revdberr" then answer warning "There is an error "&theUNData exit to top end if Why is it not working? Could anyone with mysql knowledge take a shot? Mike From bvg at mac.com Thu Aug 4 11:50:30 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Thu, 04 Aug 2011 17:50:30 +0200 Subject: How to fast-track a LC/iOS app In-Reply-To: <4E3A81B1.7060508@together.net> References: <4E38256F.7070309@gmail.com> <8FFD6C95-7EA5-4665-B5BF-DABC96AE9879@doctorTimothyMiller.com> <4E3A51F4.5000507@gmail.com> <4E3A81B1.7060508@together.net> Message-ID: <73C3C385-471D-4E74-A609-93066774874B@mac.com> On 4 Aug 2011, at 13:25, Richard Miller wrote: > 1. Is there a tutorial out there that can walk me through the process of creating true iOS controls, look, feel, etc., then test it on my iPhone, then submit it? > 2. Would you recommend using a tool like MobGUI, or is that overkill? If you create a non-native look, your app is free to behave as it wants, of course you will need to implement a lot of behaviours from scratch in that case. MobGUI is currently the easiest way to create native looking applications for iOS, but there's also the free iPhone control kit: http://87.106.227.245/LiveCode/iPhoneControlKit/index_en.html > 4. What is the recommended limit, in terms of size (mb), for the embedded app? I fo have games that are in the area of 100-200 MB. I think those are a bit big, and probably would expect a smaller size from a non-game app. -- Watch live presentations every Saturday: http://livecode.tv Use an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ From massung at gmail.com Thu Aug 4 11:53:44 2011 From: massung at gmail.com (Jeff Massung) Date: Thu, 4 Aug 2011 09:53:44 -0600 Subject: How to check for duplicate usernames? In-Reply-To: References: <77e42eec5992d5b1d73de9542b4d25a1@mfelkerco.com> <8CE202BB2CF5FF5-220C-A985@webmail-d084.sysops.aol.com> <5805ee91a7262ccab500e8cf62db41a8@mfelkerco.com> Message-ID: Instead of checking for a username, mark the UserName field in the table as being UNIQUE. This will cause the DB to error out of a transaction that attempts to insert the same UserName into the table multiple times. Then catch that. Jeff M. From bvg at mac.com Thu Aug 4 11:54:59 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Thu, 04 Aug 2011 17:54:59 +0200 Subject: How to check for duplicate usernames? In-Reply-To: References: <77e42eec5992d5b1d73de9542b4d25a1@mfelkerco.com> <8CE202BB2CF5FF5-220C-A985@webmail-d084.sysops.aol.com> <5805ee91a7262ccab500e8cf62db41a8@mfelkerco.com> Message-ID: <0A982C55-A60F-40C9-98D5-8FFBD01D57A9@mac.com> On 4 Aug 2011, at 17:42, Admin wrote: > "SELECT UserName FROM UserValidation" into theUN This query returns all entries in the _column_ username. Later you check if that is _equal_ to the entered password. That makes no sense. either use a query that looks specifically for the entered name (watch out for sql injects), or use "is within", "is among", "contains", or a repeat loop (watch out for wholeMatches). An example query could be: "SELECT UserName FROM UserValidation WHERE UserName is" && enteredUserName into theSQL -- Watch live presentations every Saturday: http://livecode.tv Use an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ From bobs at twft.com Thu Aug 4 12:10:55 2011 From: bobs at twft.com (Bob Sneidar) Date: Thu, 4 Aug 2011 09:10:55 -0700 Subject: Where does survive the inventive user ? In-Reply-To: <4C3A9D5DA6CE480D8A6C67C4FB648920@GATEWAY> References: <8CE1A70D9625EA6-2550-214DE@web-mmc-d04.sysops.aol.com><44857038-F42F-4374-8DA7-F6BCDF16629C@doctorTimothyMiller.com><1312333252624-3714146.post@n4.nabble.com> <07CC6A87-B45E-4EEF-BB64-A1DD46E26390@sahores-conseil.com> <4C3A9D5DA6CE480D8A6C67C4FB648920@GATEWAY> Message-ID: I think we overlook the novelty aspect of Hypercard when it was first released, combined with the fact that it was just "there". Tell all Mac users that their new OS allows them to make custom apps without having to buy anything or install anything, and those inclined are going to give it a go. It's fuel and matches delivered to the front door, indeed put next to the fireplace. It only needs someone to place the fuel where they want it, strike the match and toss it in. It worked in large part and for so long because Apple, the creators of Hypercard didn't "need" it to work. It was a real act of benevolence IMHO that any Mac user could take or leave and no one was any the worse for wear. Livecode is not in that boat. They live or die based upon the marketability of their product. They have to convince us to go down to the market and buy the fuel and matches, and then haul them home and actually light it. And not just ANY fuel and matches, (their are several brands) but THEIR fuel and matches, based upon the promise their their fuel lights a whole lot easier and faster, and provides pretty close to the same amount of heat as their competitors. Sure a couple competitors fuel burns in different colors, and one forms little dancing angels in the flames, but do we really need that? We just want to get the fire lit and go do other things. The trick to marketing Livecode is to find others just like us and convince them that Runrev has what they need. God I love analogies! Bob On Aug 4, 2011, at 7:52 AM, Lynn Fredricks wrote: > But I think the question is, if all the programmatic elements that created > the HC phenonemon then were implemented in LC today, would the end result be > similar to what it was in the HC days? I think there have been some pretty > significant market based changes since then, and you can't have one without > the other. > > Best regards, > > Lynn Fredricks > President > Paradigma Software > http://www.paradigmasoft.com From bobs at twft.com Thu Aug 4 12:13:51 2011 From: bobs at twft.com (Bob Sneidar) Date: Thu, 4 Aug 2011 09:13:51 -0700 Subject: How to check for duplicate usernames? In-Reply-To: References: <77e42eec5992d5b1d73de9542b4d25a1@mfelkerco.com> <8CE202BB2CF5FF5-220C-A985@webmail-d084.sysops.aol.com> <5805ee91a7262ccab500e8cf62db41a8@mfelkerco.com> Message-ID: On save, select username from uservalidation where username = count how many records got returned. If greater than 0 you have a duplicate. Bob On Aug 4, 2011, at 8:42 AM, Admin wrote: > > > I have a reasonably well working database now, however, you can > still duplicate usernames - my code is not working. I can gain access to > he database, no problem. > > I can write to and read from with no problem > > > Here, I just want to access the UserValidation table, grab all the > usernames and compare the current one in the password field to all the > ones in the database. If > > there's a match, then I want to tell them to > choose another username since it is taken. Pretty straight forward, > right? > > Here is my code: > > --find out if username already exists > put > "SELECT UserName FROM UserValidation" into theUN > put > revDataFromQuery(,,dbID,theUN) into theUNData > > if theUNData = the text > of field "fldUserName" then > answer "Username already exists, please > pick another" > exit to top > end if > > if theUNData contains "revdberr" > then > answer warning "There is an error "&theUNData > exit to top > end > if > > Why is it not working? Could anyone with mysql knowledge take a > shot? > > 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 m.schonewille at economy-x-talk.com Thu Aug 4 12:31:04 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 4 Aug 2011 18:31:04 +0200 Subject: Building external for iOS: No such file or directory Message-ID: Hi, I followed this video tutorial http://qery.us/wa step by step but get two errors when I try to run the external in the iOS simulator: Error 1: linking step of external dylib build failed, probably due to missing framework or library references - check the contents of the rredevice.ios file Error 2: cp: /Users/Mark/Desktop/rredevice/build/Debug-iphonesimulator/rredevice.dylib: No such file or directory I assume that solving error 1 would also solve error 2. How would I solve error 1? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 What does that error mean? Buy LiveCodeErrors for iPhone now http://qery.us/v4 A must-have for LiveCode programmers. From bobs at twft.com Thu Aug 4 12:32:15 2011 From: bobs at twft.com (Bob Sneidar) Date: Thu, 4 Aug 2011 09:32:15 -0700 Subject: How to check for duplicate usernames? In-Reply-To: References: <77e42eec5992d5b1d73de9542b4d25a1@mfelkerco.com> <8CE202BB2CF5FF5-220C-A985@webmail-d084.sysops.aol.com> <5805ee91a7262ccab500e8cf62db41a8@mfelkerco.com> Message-ID: <0DCA73D8-D12C-4D05-B53C-9EBB57517152@twft.com> Ick! Do stuff that causes SQL to throw errors. I suppose that is a way to do it, but a simple select will do it cleanly. Keeps the SQL error logs clean too. If multiuser, lock the SQL database first, then check, insert if query returns 0 records, unlock the SQL database. A method I use that works generically for ALL my columns is when I first open a table for query, I use SHOW CREATE TABLE. The result can then be searched with lineOffset and wholeMatches to find the column I am verifying to see if it has the word UNIQUE in it. (You can also check for default values to pre-populate, etc). If lineoffset is not 0, I call a validation routine which requeries the table for a duplicate before inserting/updating. If you want to get really fancy, you can have 3 functions: preval, rtval (real time for validation upon closefield) and postval. Preval can be called prior to opening the form for creating new records, so you can populate with default values, rtval can be called upon closeField for things like uppercase, titlecase, formatPhone, etc, and postVal prior to saving the data back to the database for things like not empty (NOT NULL), lookups like zip validation, etc. These validations are not difficult to write, and implement, make your database app much more polished. I have the validations in the stack script or a library stack so I can call them from anywhere. I have a behavior script for all my form cards so I only have to edit once for all my forms. (THANK YOU LIVECODE!) Bob On Aug 4, 2011, at 8:53 AM, Jeff Massung wrote: > Instead of checking for a username, mark the UserName field in the table as > being UNIQUE. This will cause the DB to error out of a transaction that > attempts to insert the same UserName into the table multiple times. Then > catch that. > > Jeff M. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From massung at gmail.com Thu Aug 4 12:48:03 2011 From: massung at gmail.com (Jeff Massung) Date: Thu, 4 Aug 2011 10:48:03 -0600 Subject: How to check for duplicate usernames? In-Reply-To: <0DCA73D8-D12C-4D05-B53C-9EBB57517152@twft.com> References: <77e42eec5992d5b1d73de9542b4d25a1@mfelkerco.com> <8CE202BB2CF5FF5-220C-A985@webmail-d084.sysops.aol.com> <5805ee91a7262ccab500e8cf62db41a8@mfelkerco.com> <0DCA73D8-D12C-4D05-B53C-9EBB57517152@twft.com> Message-ID: On Thu, Aug 4, 2011 at 10:32 AM, Bob Sneidar wrote: > Ick! Do stuff that causes SQL to throw errors. I suppose that is a way to > do it, but a simple select will do it cleanly. Keeps the SQL error logs > clean too. If multiuser, lock the SQL database first, then check, insert if > query returns 0 records, unlock the SQL database. > > All are perfectly valid solutions. Preference for one method over another should be based on reasons (if present) and personal preference otherwise. Using a UNIQUE field can slow down INSERT operations are very large tables if you are performing mass inserts. A user table typically doesn't have this problem. Marking a field as UNIQUE prevents errors when working with the database in an interactive mode. Perhaps the OP does this (probably not, though, given the nature of the question). Doing a SELECT to lookup and then a follow-up INSERT is solving the same problem twice: search a B-tree for a given value, and search it again when determining where to insert the new key. Marking as UNIQUE allows you to do this work only once, which might be a performance win; profiling is needed. Keep in mind, it's not causing "SQL to throw errors" as in "let's create egregious code and break things." Referential integrity, transactions, uniqueness, foreign keys, these things all exist for a reason: to prevent bad things from happening now or down the road when the rules you put in place aren't quite as fresh in memory. Using those tools when appropriate is *highly* recommended. This may be one of those instances. Perhaps not. But a quick, knee-jerk reaction like "ick" is hardly a deliberate, thought-through reason to go down one path over another. I don't mean to cause a flame war, incite, or imply anything negative. I simply want the OP to not walk away from this thread thinking that UNIQUE is bad in some way, or that tossing actions at SQL that "throw errors" is a bad thing either. Look at the problem, the pros/cons of various solutions, and pick your poison wisely. Jeff M. From jacque at hyperactivesw.com Thu Aug 4 12:56:22 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 04 Aug 2011 11:56:22 -0500 Subject: Airlaunch 1.0b2 Message-ID: <4E3ACF36.4000508@hyperactivesw.com> Update available: This fixes an error with paths that contain spaces. Many thanks to Matthias for building a test standalone named "Untitled 1" and staying up till 2:30 AM to report it. :) I hope these announcements don't annoy anyone, it's the only way I can let people know. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mblivecode at harbourhosting.co.uk Thu Aug 4 13:07:42 2011 From: mblivecode at harbourhosting.co.uk (Martin Baxter) Date: Thu, 04 Aug 2011 18:07:42 +0100 Subject: [OT] Flash is NOT Dead In-Reply-To: <4E396EAE.3030706@hyperactivesw.com> References: <4E394A4E.2010201@fourthworld.com> <4E396EAE.3030706@hyperactivesw.com> Message-ID: <4E3AD1DE.6050307@harbourhosting.co.uk> On 03/08/2011 16:52, J. Landman Gay wrote: > On 8/3/11 8:17 AM, Richard Gaskin wrote: >> Kay C Lan wrote: >>> On Wed, Aug 3, 2011 at 12:12 AM, Lynn Fredricks < > >>> I recommend NoScripts >> >> +1 on NoScript: makes browsing faster and safer. > > I've been using NoScript for years. Last week I discovered Ghostery. > It lets you know what sites are tracking you and allows you to block > the trackers. I have been appalled by what's been going on without > my knowledge. Some sites have a dozen or more trackers and web bugs > installed. > Me too on NoScript. It has saved my skin several times to my knowledge, and probably more times than I know about. I use Firefox mostly for general browsing, and keep it hardened. Some sites I don't even want to leave my IP address behind and then I use TOR. For sites I trust, where javascript and cookies are mandated, I use SeaMonkey exclusively. Using an entirely separate browser for trusted sites adds a little more separation between the heterogeneous security realms I think and means you don't have to fiddle about so much managing settings for individual cases. Firefox users concerned about privacy might also be interested in the RequestPolicy Addon. It allows a good degree of control over those sneaky cross-site-requests that are embedded in so many pages. I also use my hosts file to block the standard perps. Martin Baxter From bobs at twft.com Thu Aug 4 13:26:36 2011 From: bobs at twft.com (Bob Sneidar) Date: Thu, 4 Aug 2011 10:26:36 -0700 Subject: [OT] Flash is NOT Dead In-Reply-To: <4E3AD1DE.6050307@harbourhosting.co.uk> References: <4E394A4E.2010201@fourthworld.com> <4E396EAE.3030706@hyperactivesw.com> <4E3AD1DE.6050307@harbourhosting.co.uk> Message-ID: <6A2197CC-5431-47EF-82F7-5C7D373FDD3F@twft.com> I guess the Russians are right! There IS no such thing as a free lunch! :-) Bob On Aug 4, 2011, at 10:07 AM, Martin Baxter wrote: > On 03/08/2011 16:52, J. Landman Gay wrote: >> On 8/3/11 8:17 AM, Richard Gaskin wrote: >>> Kay C Lan wrote: >>>> On Wed, Aug 3, 2011 at 12:12 AM, Lynn Fredricks < >> >>>> I recommend NoScripts >>> >>> +1 on NoScript: makes browsing faster and safer. >> >> I've been using NoScript for years. Last week I discovered Ghostery. >> It lets you know what sites are tracking you and allows you to block >> the trackers. I have been appalled by what's been going on without >> my knowledge. Some sites have a dozen or more trackers and web bugs >> installed. >> > > Me too on NoScript. It has saved my skin several times to my knowledge, > and probably more times than I know about. > > I use Firefox mostly for general browsing, and keep it hardened. Some > sites I don't even want to leave my IP address behind and then I use > TOR. For sites I trust, where javascript and cookies are mandated, I use > SeaMonkey exclusively. Using an entirely separate browser for trusted > sites adds a little more separation between the heterogeneous security > realms I think and means you don't have to fiddle about so much managing > settings for individual cases. > > Firefox users concerned about privacy might also be interested in the > RequestPolicy Addon. It allows a good degree of control over those > sneaky cross-site-requests that are embedded in so many pages. > > I also use my hosts file to block the standard perps. > > Martin Baxter > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 mfelkerco.com Thu Aug 4 13:42:04 2011 From: admin at mfelkerco.com (Admin) Date: Thu, 04 Aug 2011 12:42:04 -0500 Subject: How to check for duplicate =?UTF-8?Q?usernames=3F?= In-Reply-To: References: <77e42eec5992d5b1d73de9542b4d25a1@mfelkerco.com> <8CE202BB2CF5FF5-220C-A985@webmail-d084.sysops.aol.com> <5805ee91a7262ccab500e8cf62db41a8@mfelkerco.com> Message-ID: <92ba648e381eb5fbad6266faf3bf6e12@mfelkerco.com> And how do I do that? Mike On Thu, 4 Aug 2011 09:53:44 -0600, Jeff Massung wrote: > Instead of checking for a username, mark the UserName field in the table as > being UNIQUE. This will cause the DB to error out of a transaction that > attempts to insert the same UserName into the table multiple times. Then > catch that. > > Jeff M. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com [1] > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode [2] Links: ------ [1] mailto:use-livecode at lists.runrev.com [2] http://lists.runrev.com/mailman/listinfo/use-livecode From m.schonewille at economy-x-talk.com Thu Aug 4 13:49:06 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 4 Aug 2011 19:49:06 +0200 Subject: Building external for iOS: No such file or directory In-Reply-To: References: Message-ID: <6DBDCCF1-3AD9-4E0B-8487-1AA8E327683B@economy-x-talk.com> Hi again, After restarting XCode, I could get it to work. AFAIK I didn't change anything else. The external now works perfectly in the simulator. The next problem is that I can't launch test.app on my iPhone. The console says it can't load the external. When I start the app from within XCode, I get the completely black "splash screen" for 5 minutes or so and eventually the app crashes. If I start it manually, it crashes immediately. Any idea why? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 What does that error mean? Buy LiveCodeErrors for iPhone now http://qery.us/v4 A must-have for LiveCode programmers. On 4 aug 2011, at 18:31, Mark Schonewille wrote: > Hi, > > I followed this video tutorial http://qery.us/wa step by step but get two errors when I try to run the external in the iOS simulator: > > Error 1: linking step of external dylib build failed, probably due to missing framework or library references - check the contents of the rredevice.ios file > > Error 2: cp: /Users/Mark/Desktop/rredevice/build/Debug-iphonesimulator/rredevice.dylib: No such file or directory > > I assume that solving error 1 would also solve error 2. How would I solve error 1? > > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > What does that error mean? Buy LiveCodeErrors for iPhone now http://qery.us/v4 A must-have for LiveCode programmers. From admin at mfelkerco.com Thu Aug 4 13:51:19 2011 From: admin at mfelkerco.com (Admin) Date: Thu, 04 Aug 2011 12:51:19 -0500 Subject: How to check for duplicate =?UTF-8?Q?usernames=3F?= In-Reply-To: References: <77e42eec5992d5b1d73de9542b4d25a1@mfelkerco.com> <8CE202BB2CF5FF5-220C-A985@webmail-d084.sysops.aol.com> <5805ee91a7262ccab500e8cf62db41a8@mfelkerco.com> Message-ID: <1672034990b5e910e45cc3a6bbcf0f9e@mfelkerco.com> Sorry to sound stupid, but after the select statement, how do I then count for how many records got returned? Here's the select statement you wrote with my variable: put "select username from uservalidation where username = " &SQ &UN &SQ into CountUN --count how many records got returned. If greater than 0 you have a duplicate. SQ's are single quotes and CountUN is the new variable Do I put: If CountUN0 then answer "Duplicate Username, please choose another one" exit to top else end if Does that sound about right? Mike On Thu, 4 Aug 2011 09:13:51 -0700, Bob Sneidar wrote: > On save, > select username from uservalidation where username =count how many records got returned. If greater than 0 you have a duplicate. > > Bob > > On Aug 4, 2011, at 8:42 AM, Admin wrote: > >> I have a reasonably well working database now, however, you can still duplicate usernames - my code is not working. I can gain access to he database, no problem. I can write to and read from with no problem Here, I just want to access the UserValidation table, grab all the usernames and compare the current one in the password field to all the ones in the database. If there's a match, then I want to tell them to choose another username since it is taken. Pretty straight forward, right? Here is my code: --find out if username already exists put "SELECT UserName FROM UserValidation" into theUN put revDataFromQuery(,,dbID,theUN) into theUNData if theUNData = the text of field "fldUserName" then answer "Username already exists, please pick another" exit to top end if if theUNData contains "revdberr" then answer warning "There is an error "&theUNData exit to top end if Why is it not working? Could anyone with mysql knowledge take a shot? Mike _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com [1] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode [2] > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com [3] > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode [4] Links: ------ [1] mailto:use-livecode at lists.runrev.com [2] http://lists.runrev.com/mailman/listinfo/use-livecode [3] mailto:use-livecode at lists.runrev.com [4] http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Thu Aug 4 13:55:27 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 04 Aug 2011 12:55:27 -0500 Subject: Delete a card? In-Reply-To: References: <4E39FED4.8090008@hyperactivesw.com> Message-ID: <4E3ADD0F.2040405@hyperactivesw.com> On 8/3/11 10:10 PM, Pete wrote: > Pretty sure none of those things were true, but wouldn't I get some sort of > error message if any of them were true? I didn't get one when I just tested on a card with cantdelete set to true. Also, I've never noticed before, but I don't see a Delete option in the contextual menu for the card. I had to choose Delete from the IDE menu. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobs at twft.com Thu Aug 4 14:30:57 2011 From: bobs at twft.com (Bob Sneidar) Date: Thu, 4 Aug 2011 11:30:57 -0700 Subject: How to check for duplicate usernames? In-Reply-To: <1672034990b5e910e45cc3a6bbcf0f9e@mfelkerco.com> References: <77e42eec5992d5b1d73de9542b4d25a1@mfelkerco.com> <8CE202BB2CF5FF5-220C-A985@webmail-d084.sysops.aol.com> <5805ee91a7262ccab500e8cf62db41a8@mfelkerco.com> <1672034990b5e910e45cc3a6bbcf0f9e@mfelkerco.com> Message-ID: <6288D439-1835-4557-88A6-05F8622349A8@twft.com> Have you dug into the RevDB commands? Typically the commands will return the number of affected rows in it or return (I cannot remember which). All your statement below does is create a new variable called CoundUN containing your sequel statement. It doesn't execute anything. You would first have to connect to a database using revdb_connect, then using the database connection ID that returns, query the database using revDataFromQuery() if you just want the raw data and don't want to work with the records, or revdb_execute() which will return the number of rows operated on, which I believe in a select statement would return the number of found records. RevDataFromQuery() will return text of the records in tab or comma delimited format, so you can check to see if it's empty. The database library takes some getting used to. I was put off by it at first, but was kind of getting the hang of it after MUCH trial and error. Then Trevor Devore produced sqlYoga, which VASTLY simplifies working with SQL databases. Even that has a bit of a learning curve, as it is a unique API, but it has some tremendous advantages. The way it works is, you first create a database object, which is an array in memory to hold the information you need to connect. Next you use dbconn_set to set things like the name of the database, the type, the port, the password etc. Then you use dbconn_connect to connect to the database. This will set the connection object up with all kinds of things, like the schema of the database and tables, the connection ID, and other things. It keeps track of all that for you so you don't have to yourself. Now to query the database, you use sqlquery_createObject() to create a query object that acts much the same as your connection object, only it keeps track of things like columns to retrieve, groupings, offset, sort order, etc. Setting these properties in the query object is a simple matter of calling sqlquery_set with the property name and what you want to store in the property. Finally to get information back, you use sqlquery_retrieve, sqlquery_retrieveAsArray, sqlquery_retrieveAsData, or sqlquery_retrieveAsRecords. All you have to do in these commands it give it you query object and the variable you want the results to be stored in, and voila! You have your data, without having to know a thing about SQL. I find it well worth the price. I could code all this myself using the built in revDB library, but frankly I find this counterproductive, simply because I am not that good at SQL, and the frustration of continually debugging my Sequel tend to make me walk away from projects. Sorry for the long post. Bob On Aug 4, 2011, at 10:51 AM, Admin wrote: > Sorry to sound stupid, but after the select statement, how do I > then count for how many records got returned? > > Here's the select > statement you wrote with my variable: > > put "select username from > uservalidation where username = " &SQ &UN &SQ into CountUN > --count how > many records got returned. If greater than 0 you have a duplicate. > > > SQ's are single quotes and CountUN is the new variable From bobs at twft.com Thu Aug 4 14:34:47 2011 From: bobs at twft.com (Bob Sneidar) Date: Thu, 4 Aug 2011 11:34:47 -0700 Subject: How to check for duplicate usernames? In-Reply-To: <1672034990b5e910e45cc3a6bbcf0f9e@mfelkerco.com> References: <77e42eec5992d5b1d73de9542b4d25a1@mfelkerco.com> <8CE202BB2CF5FF5-220C-A985@webmail-d084.sysops.aol.com> <5805ee91a7262ccab500e8cf62db41a8@mfelkerco.com> <1672034990b5e910e45cc3a6bbcf0f9e@mfelkerco.com> Message-ID: <7D8D5E2A-7214-4A17-B592-C6E51A2BED7B@twft.com> Sorry didn't read the whole post. revDataFromQuery will return empty if there were no records matching your select statement. Check to see if it is empty. Obviously, if you need it to be unique, and nothing has gone wrong in the past, there will only be one matching record if one already exists and then revDataFromQuery will not return an empty value. Again, I like the fact that sqlYoga can return the data as an array instead of a text blob. Bob On Aug 4, 2011, at 10:51 AM, Admin wrote: > Sorry to sound stupid, but after the select statement, how do I > then count for how many records got returned? > > Here's the select > statement you wrote with my variable: > > put "select username from > uservalidation where username = " &SQ &UN &SQ into CountUN > --count how > many records got returned. If greater than 0 you have a duplicate. > > > SQ's are single quotes and CountUN is the new variable From pepetoo at cox.net Thu Aug 4 14:51:58 2011 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Thu, 4 Aug 2011 11:51:58 -0700 Subject: UNIQUE CARD IDs Message-ID: <98AFC1C8-6383-4D14-B7E2-60563726A391@cox.net> Hi Jaqui, When new cards are created with the clone command, how sure can we be that the new card will be given a unique ID for the current stack? TIA, Joe Lewis Wilkins From bobs at twft.com Thu Aug 4 15:31:55 2011 From: bobs at twft.com (Bob Sneidar) Date: Thu, 4 Aug 2011 12:31:55 -0700 Subject: UNIQUE CARD IDs In-Reply-To: <98AFC1C8-6383-4D14-B7E2-60563726A391@cox.net> References: <98AFC1C8-6383-4D14-B7E2-60563726A391@cox.net> Message-ID: <0C421EA7-C0AE-4B99-8736-FCA806E8DB58@twft.com> Because if the engine did not make sure of it, things would get really, really hosed in your stack in a hurry. The engine relies on the fact that every object has it's own unique id, and so does not leave it up to us. Someone in a past thread was trying to set the id of the stack so that he could control what the next id of an object was. This turned out to be sketchy, one of the reasons being, the IDE would not allow him to set the ID to something lower than it already was. The engine is designed to prevent ID conflicts from happening, otherwise we would all be in a funny farm right now. You could just as easily ask, "How can I be sure that when I create a new button it will actually be created?" At some point you just have to trust that it is so. Clone Card and New Card increment the ID of the stack, look at the ID of the stack, then set the new object to that. In fact, any time you create ANYTHING it works like this. The stack ID is the next object counter and so should never be used as a reference or manipulated in any way, and though you can increment it yourself, I would discourage it. Bob On Aug 4, 2011, at 11:51 AM, Joe Lewis Wilkins wrote: > Hi Jaqui, > > When new cards are created with the clone command, how sure can we be that the new card will be given a unique ID for the current stack? > > TIA, > > Joe Lewis Wilkins > > > > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Thu Aug 4 15:40:38 2011 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 04 Aug 2011 12:40:38 -0700 Subject: Airlaunch 1.0b2 In-Reply-To: <4E3ACF36.4000508@hyperactivesw.com> Message-ID: Recently, Jacque Landman Gay wrote: > I hope these announcements don't annoy anyone, it's the only way I can > let people know. How can anything that enhances our LiveCode development be considered annoying? It's not like you're announcing CheeseLaunch or something... Thanks for the update Jacque. Regards, Scott Rossi Creative Director Tactile Media, UX Design From jacque at hyperactivesw.com Thu Aug 4 15:52:37 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 04 Aug 2011 14:52:37 -0500 Subject: UNIQUE CARD IDs In-Reply-To: <98AFC1C8-6383-4D14-B7E2-60563726A391@cox.net> References: <98AFC1C8-6383-4D14-B7E2-60563726A391@cox.net> Message-ID: <4E3AF885.7070800@hyperactivesw.com> On 8/4/11 1:51 PM, Joe Lewis Wilkins wrote: > Hi Jaqui, > > When new cards are created with the clone command, how sure can we be > that the new card will be given a unique ID for the current stack? 100% sure. As Bob said, no two objects can ever have the same ID. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Thu Aug 4 15:53:48 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 04 Aug 2011 14:53:48 -0500 Subject: Airlaunch 1.0b2 In-Reply-To: References: Message-ID: <4E3AF8CC.3000203@hyperactivesw.com> On 8/4/11 2:40 PM, Scott Rossi wrote: > Recently, Jacque Landman Gay wrote: > >> I hope these announcements don't annoy anyone, it's the only way I can >> let people know. > > How can anything that enhances our LiveCode development be considered > annoying? It's not like you're announcing CheeseLaunch or something... I so wish I'd thought to call it that. :) But next time I think I'd better put "[ANN]" in the subject. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From roger.e.eller at sealedair.com Thu Aug 4 16:30:00 2011 From: roger.e.eller at sealedair.com (Roger Eller) Date: Thu, 4 Aug 2011 16:30:00 -0400 Subject: Airlaunch 1.0b2 In-Reply-To: <4E3AF8CC.3000203@hyperactivesw.com> References: <4E3AF8CC.3000203@hyperactivesw.com> Message-ID: On Thu, Aug 4, 2011 at 3:53 PM, J. Landman Gay wrote: > On 8/4/11 2:40 PM, Scott Rossi wrote: > >> Recently, Jacque Landman Gay wrote: >> >> I hope these announcements don't annoy anyone, it's the only way I can >>> let people know. >>> >> >> How can anything that enhances our LiveCode development be considered >> annoying? It's not like you're announcing CheeseLaunch or something... >> > > I so wish I'd thought to call it that. :) But next time I think I'd better > put "[ANN]" in the subject. > > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > Imagine an alternate timeline where the world was without LiveCode; a world where the successor to HyperCard was CheesyCard. Instead of the English-like syntax, commands are based on bad jokes and puns. Just imagine... ~Roger From pepetoo at cox.net Thu Aug 4 16:34:40 2011 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Thu, 4 Aug 2011 13:34:40 -0700 Subject: UNIQUE CARD IDs In-Reply-To: <4E3AF885.7070800@hyperactivesw.com> References: <98AFC1C8-6383-4D14-B7E2-60563726A391@cox.net> <4E3AF885.7070800@hyperactivesw.com> Message-ID: <7CD1DCA0-8F64-46F6-B927-EDE29E5B8620@cox.net> Bob, Jacque, Thanks. Perhaps you might like to know how I plan to use IDs in my application. One of the Modules (stacks) has 56 basic forms. I record the ID of those forms in a field on the first card of that Module. Subsequently, circumstances on one or more of the other Modules requires that one or more of these "basic" forms be duplicated, sometimes a number of times; particularly while I'm testing things, I need to revert back to the original stack with its 56 basic forms. Substituting a copy of that Module for the one that has been modified doesn't work. LC always brings up the modified stack - regardless of what I may do; I can tediously go through and delete the newly created cards, but that soon gets too much for even my patience level. Now I will just cycle through the cards and delete those whose ID differs from the ones whose IDs I've stored in the field. I'm sure I'll find other uses for this technique at some other point. I just wanted to be 100% sure that I wasn't creating a FrankenCode monster. (smile) I had considered using a system of marked cards to achieve the same result, but I'm already using that to track the Forms that I'll want to print in the final reports and I confuse easily. (smile) Thanks again, Joe Wilkins On Aug 4, 2011, at 12:52 PM, J. Landman Gay wrote: > On 8/4/11 1:51 PM, Joe Lewis Wilkins wrote: >> Hi Jaqui, >> >> When new cards are created with the clone command, how sure can we be >> that the new card will be given a unique ID for the current stack? > > 100% sure. As Bob said, no two objects can ever have the same ID. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > From jperryl at ecs.fullerton.edu Thu Aug 4 16:55:51 2011 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Thu, 4 Aug 2011 13:55:51 -0700 (PDT) Subject: Where does survive the inventive user ? In-Reply-To: <07CC6A87-B45E-4EEF-BB64-A1DD46E26390@sahores-conseil.com> References: <8CE1A70D9625EA6-2550-214DE@web-mmc-d04.sysops.aol.com> <44857038-F42F-4374-8DA7-F6BCDF16629C@doctorTimothyMiller.com> <1312333252624-3714146.post@n4.nabble.com> <07CC6A87-B45E-4EEF-BB64-A1DD46E26390@sahores-conseil.com> Message-ID: Indeed. On Thu, 4 Aug 2011, Pierre Sahores wrote: > The great strength of HyperCard was to offer us hundreds of preprogrammed stacks that we could arrange as a lego to build our first applications before we had to put our fingers in the dust to understand how these stacks were coded. From jperryl at ecs.fullerton.edu Thu Aug 4 16:58:33 2011 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Thu, 4 Aug 2011 13:58:33 -0700 (PDT) Subject: Where does survive the inventive user ? In-Reply-To: <4C3A9D5DA6CE480D8A6C67C4FB648920@GATEWAY> References: <8CE1A70D9625EA6-2550-214DE@web-mmc-d04.sysops.aol.com><44857038-F42F-4374-8DA7-F6BCDF16629C@doctorTimothyMiller.com><1312333252624-3714146.post@n4.nabble.com> <07CC6A87-B45E-4EEF-BB64-A1DD46E26390@sahores-conseil.com> <4C3A9D5DA6CE480D8A6C67C4FB648920@GATEWAY> Message-ID: But clearly, having NONE is not the answer. Judy http://bingo.economy-x-talk.com/ On Thu, 4 Aug 2011, Lynn Fredricks wrote: > But I think the question is, if all the programmatic elements that created > the HC phenonemon then were implemented in LC today, would the end result be > similar to what it was in the HC days? I think there have been some pretty > significant market based changes since then, and you can't have one without > the other. From bobs at twft.com Thu Aug 4 17:06:43 2011 From: bobs at twft.com (Bob Sneidar) Date: Thu, 4 Aug 2011 14:06:43 -0700 Subject: Airlaunch 1.0b2 In-Reply-To: References: Message-ID: <9A15925A-09AD-4B6C-8100-5B93929BFF51@twft.com> Or pre-alpha bug-ridden IDE crasher launch. Scott had beaten me to the punch! Bob On Aug 4, 2011, at 12:40 PM, Scott Rossi wrote: > Recently, Jacque Landman Gay wrote: > >> I hope these announcements don't annoy anyone, it's the only way I can >> let people know. > > How can anything that enhances our LiveCode development be considered > annoying? It's not like you're announcing CheeseLaunch or something... > > Thanks for the update Jacque. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX 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 bobs at twft.com Thu Aug 4 17:09:10 2011 From: bobs at twft.com (Bob Sneidar) Date: Thu, 4 Aug 2011 14:09:10 -0700 Subject: Airlaunch 1.0b2 In-Reply-To: References: <4E3AF8CC.3000203@hyperactivesw.com> Message-ID: <70C685A9-9ECF-49D9-90AC-B8DCDB588324@twft.com> You do not have to imagine. Jacque's Time Warp stack gives you access to all infinite alternate timelines. Trouble is, you have to go there before you can tell if it's the one you want. It may take some time. Bring extra socks... Bob On Aug 4, 2011, at 1:30 PM, Roger Eller wrote: > On Thu, Aug 4, 2011 at 3:53 PM, J. Landman Gay wrote: > >> On 8/4/11 2:40 PM, Scott Rossi wrote: >> >>> Recently, Jacque Landman Gay wrote: >>> >>> I hope these announcements don't annoy anyone, it's the only way I can >>>> let people know. >>>> >>> >>> How can anything that enhances our LiveCode development be considered >>> annoying? It's not like you're announcing CheeseLaunch or something... >>> >> >> I so wish I'd thought to call it that. :) But next time I think I'd better >> put "[ANN]" in the subject. >> >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> >> > Imagine an alternate timeline where the world was without LiveCode; a world > where the successor to HyperCard was CheesyCard. Instead of the > English-like syntax, commands are based on bad jokes and puns. Just > imagine... > > ~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 jacque at hyperactivesw.com Thu Aug 4 18:03:23 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 04 Aug 2011 17:03:23 -0500 Subject: Airlaunch 1.0b2 In-Reply-To: References: Message-ID: <4E3B172B.2020904@hyperactivesw.com> > Jacque's Time Warp stack gives you access to all infinite alternate timelines Except those with spaces in their dimensions. I'll fix that when I can figure out how to get space out of time. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From lfredricks at proactive-intl.com Thu Aug 4 18:27:19 2011 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Thu, 4 Aug 2011 15:27:19 -0700 Subject: Where does survive the inventive user ? In-Reply-To: References: <8CE1A70D9625EA6-2550-214DE@web-mmc-d04.sysops.aol.com><44857038-F42F-4374-8DA7-F6BCDF16629C@doctorTimothyMiller.com><1312333252624-3714146.post@n4.nabble.com><07CC6A87-B45E-4EEF-BB64-A1DD46E26390@sahores-conseil.com><4C3A9D5DA6CE480D8A6C67C4FB648920@GATEWAY> Message-ID: <780C3653CBD7471396AC291A655DC409@GATEWAY> > But clearly, having NONE is not the answer. Well, but it is an answer, until you find the right business case to "ask the question". I don't think it's a question of if LiveCode could fit the role or not that HC did. We've been talking about all these great free stacks HC had (or caused to make), and how that was attractive to something we now know used to exist. If there was suddenly a free LC with the same stacks that HC had (modestly updated), that's not to say the market response would be the same as before. Given the market now - is there an heir to the inventive user of significant potential size, and what other qualities/industries define them so LC can be marketed to them? Figuring out who they are would also necessarily drive what sort of free project stacks ago should be built. LC's sitting pretty well as a deployment based, cross platform solution with mobile, server and desktop - so pursuing the inventive user? Needs a lot more definition to help drive product development and not be contrary to where LC's been successful. Best regards, Lynn Fredricks President Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server > Judy > http://bingo.economy-x-talk.com/ > > On Thu, 4 Aug 2011, Lynn Fredricks wrote: > > > > > But I think the question is, if all the programmatic elements that > > created the HC phenonemon then were implemented in LC > today, would the > > end result be similar to what it was in the HC days? I think there > > have been some pretty significant market based changes > since then, and > > you can't have one without the other. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage > your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From kray at sonsothunder.com Thu Aug 4 19:24:14 2011 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 4 Aug 2011 18:24:14 -0500 Subject: [ANN] stsColorPicker DropTool Message-ID: <5E0CB734-45E2-495E-8DDC-D68B56F00894@sonsothunder.com> Hey all - just a quick note to let you know that I've posted a new addition to the DropTools site - this free DropTool is a simple color picker with a color swatch and drop shadow that depresses when you click it. http://droptools.sonsothunder.com/products/sts/sts-cp.irev Enjoy! Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From bobs at twft.com Thu Aug 4 20:30:05 2011 From: bobs at twft.com (Bob Sneidar) Date: Thu, 4 Aug 2011 17:30:05 -0700 Subject: Airlaunch 1.0b2 In-Reply-To: <4E3B172B.2020904@hyperactivesw.com> References: <4E3B172B.2020904@hyperactivesw.com> Message-ID: Oh that's easy! Since the alternate timelines are infinite, just call your stack recursively until you find yourself solving the problem. Then ask yourself how you did it. Then go buy some new socks because you will be out. In fact all of the states of Texas, Oklahoma, New York and California will probably be out of socks. ... scuse me while I go buy some stock ... Bob On Aug 4, 2011, at 3:03 PM, J. Landman Gay wrote: >> Jacque's Time Warp stack gives you access to all infinite alternate timelines > > Except those with spaces in their dimensions. I'll fix that when I can figure out how to get space out of time. > > -- > 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 Thu Aug 4 20:32:41 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 4 Aug 2011 17:32:41 -0700 Subject: Airlaunch 1.0b2 In-Reply-To: <4E3B172B.2020904@hyperactivesw.com> References: <4E3B172B.2020904@hyperactivesw.com> Message-ID: <1191289373562.20110804173241@ahsoftware.net> Jacque- Thursday, August 4, 2011, 3:03:23 PM, you wrote: >> Jacque's Time Warp stack gives you access to all infinite alternate timelines > Except those with spaces in their dimensions. I'll fix that when I can > figure out how to get space out of time. replace space with empty in time -- -Mark Wieder mwieder at ahsoftware.net From m.schonewille at economy-x-talk.com Thu Aug 4 21:03:58 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 5 Aug 2011 03:03:58 +0200 Subject: Distributing iOS externals Message-ID: Hi, I just made two externals, one that reads the battery level (following the RunRev tutorial) and another one that returns the localized device model. Now I need to distribute these externals. It isn't clear to me whether I can just sign an external with my own provision profile for distribution and send it to someone who includes it in his LiveCode project and creates a standalone with his own provision profile. Can I distribute the signed external or do I have to send the source code to the client? (The client would rather not compile the external). Is there any info available about 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 What does that error mean? Buy LiveCodeErrors for iPhone now http://qery.us/v4 A must-have for LiveCode programmers. From jacque at hyperactivesw.com Thu Aug 4 23:02:09 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 04 Aug 2011 22:02:09 -0500 Subject: Airlaunch 1.0b2 In-Reply-To: <1191289373562.20110804173241@ahsoftware.net> References: <4E3B172B.2020904@hyperactivesw.com> <1191289373562.20110804173241@ahsoftware.net> Message-ID: <4E3B5D31.8000004@hyperactivesw.com> On 8/4/11 7:32 PM, Mark Wieder wrote: > Jacque- > > Thursday, August 4, 2011, 3:03:23 PM, you wrote: > >>> Jacque's Time Warp stack gives you access to all infinite alternate timelines > >> Except those with spaces in their dimensions. I'll fix that when I can >> figure out how to get space out of time. > > replace space with empty in time > I...can't think of a one-upper. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From admin at mfelkerco.com Fri Aug 5 00:01:24 2011 From: admin at mfelkerco.com (Admin) Date: Thu, 04 Aug 2011 23:01:24 -0500 Subject: How to check for duplicate =?UTF-8?Q?usernames=3F?= In-Reply-To: <7D8D5E2A-7214-4A17-B592-C6E51A2BED7B@twft.com> References: <77e42eec5992d5b1d73de9542b4d25a1@mfelkerco.com> <8CE202BB2CF5FF5-220C-A985@webmail-d084.sysops.aol.com> <5805ee91a7262ccab500e8cf62db41a8@mfelkerco.com> <1672034990b5e910e45cc3a6bbcf0f9e@mfelkerco.com> <7D8D5E2A-7214-4A17-B592-C6E51A2BED7B@twft.com> Message-ID: Since I bought the special that was going on, it came with sqlYoga, but I have had zero time to look at it. I will now. Mike On Thu, 4 Aug 2011 11:34:47 -0700, Bob Sneidar wrote: > Sorry didn't read the whole post. revDataFromQuery will return empty if there were no records matching your select statement. Check to see if it is empty. Obviously, if you need it to be unique, and nothing has gone wrong in the past, there will only be one matching record if one already exists and then revDataFromQuery will not return an empty value. > > Again, I like the fact that sqlYoga can return the data as an array instead of a text blob. > > Bob > > On Aug 4, 2011, at 10:51 AM, Admin wrote: > >> Sorry to sound stupid, but after the select statement, how do I then count for how many records got returned? Here's the select statement you wrote with my variable: put "select username from uservalidation where username = " &SQ &UN &SQ into CountUN --count how many records got returned. If greater than 0 you have a duplicate. SQ's are single quotes and CountUN is the new variable > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com [1] > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode [2] Links: ------ [1] mailto:use-livecode at lists.runrev.com [2] http://lists.runrev.com/mailman/listinfo/use-livecode From bvlahos at mac.com Fri Aug 5 01:56:57 2011 From: bvlahos at mac.com (Bill Vlahos) Date: Thu, 04 Aug 2011 22:56:57 -0700 Subject: UNIQUE CARD IDs In-Reply-To: <7CD1DCA0-8F64-46F6-B927-EDE29E5B8620@cox.net> References: <98AFC1C8-6383-4D14-B7E2-60563726A391@cox.net> <4E3AF885.7070800@hyperactivesw.com> <7CD1DCA0-8F64-46F6-B927-EDE29E5B8620@cox.net> Message-ID: <52ED7A3D-9129-4422-B6A3-4AD17B7FFDF2@mac.com> Joe, Could you change the name of the new duplicated card and then delete all the cards with the duplicate name? For example the original cards are names Form1, Form2, etc. When you duplicate the Form1 card call the duplicate DupForm1, etc. When you are all done simply loop through the cards and delete any that contain "Dup". Bill Vlahos _________________ InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. On Aug 4, 2011, at 1:34 PM, Joe Lewis Wilkins wrote: > Bob, Jacque, > > Thanks. Perhaps you might like to know how I plan to use IDs in my application. > > One of the Modules (stacks) has 56 basic forms. I record the ID of those forms in a field on the first card of that Module. > > Subsequently, circumstances on one or more of the other Modules requires that one or more of these "basic" forms be duplicated, sometimes a number of times; particularly while I'm testing things, I need to revert back to the original stack with its 56 basic forms. Substituting a copy of that Module for the one that has been modified doesn't work. LC always brings up the modified stack - regardless of what I may do; I can tediously go through and delete the newly created cards, but that soon gets too much for even my patience level. > > Now I will just cycle through the cards and delete those whose ID differs from the ones whose IDs I've stored in the field. I'm sure I'll find other uses for this technique at some other point. I just wanted to be 100% sure that I wasn't creating a FrankenCode monster. (smile) I had considered using a system of marked cards to achieve the same result, but I'm already using that to track the Forms that I'll want to print in the final reports and I confuse easily. (smile) > > Thanks again, > > Joe Wilkins > > On Aug 4, 2011, at 12:52 PM, J. Landman Gay wrote: > >> On 8/4/11 1:51 PM, Joe Lewis Wilkins wrote: >>> Hi Jaqui, >>> >>> When new cards are created with the clone command, how sure can we be >>> that the new card will be given a unique ID for the current stack? >> >> 100% sure. As Bob said, no two objects can ever have the same ID. >> >> -- >> 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 shaosean at wehostmacs.com Fri Aug 5 02:18:27 2011 From: shaosean at wehostmacs.com (Shao Sean) Date: Fri, 5 Aug 2011 02:18:27 -0400 Subject: UNIQUE CARD IDs Message-ID: You can always use the cantDelete property for the master form cards.. http://docs.runrev.com/Property/cantDelete # only run this after setting the cantDelete property to TRUE on the cards you want to keep # every other card will be deleted, so exercise caution.. lock messages -- suppresses the deleteCard message repeat for each line tCardID in the cardIDs of stack "yourStackNameHere" try delete card id tCardID of stack "yourStackNameHere" catch tErr end try end repeat unlock messages The try statement allows you to run the delete command on the cards that have the property set to true and not have the script stop to post an error saying that the card cannot be deleted.. From pepetoo at cox.net Fri Aug 5 02:22:19 2011 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Thu, 4 Aug 2011 23:22:19 -0700 Subject: UNIQUE CARD IDs In-Reply-To: <52ED7A3D-9129-4422-B6A3-4AD17B7FFDF2@mac.com> References: <98AFC1C8-6383-4D14-B7E2-60563726A391@cox.net> <4E3AF885.7070800@hyperactivesw.com> <7CD1DCA0-8F64-46F6-B927-EDE29E5B8620@cox.net> <52ED7A3D-9129-4422-B6A3-4AD17B7FFDF2@mac.com> Message-ID: Thanks Bill, I have too many references and cross references to the names of the various Basic Forms and they must continue to "work" even on the duplicated "copies" so what you suggest would not work. It's a pretty complex application. Some think I'm crazy to even attempt to solve the problems involved. Including me! I've implemented things already and they appear to work well; and quite fast. Joe Lewis Wilkins Architect On Aug 4, 2011, at 10:56 PM, Bill Vlahos wrote: > Joe, > > Could you change the name of the new duplicated card and then delete all the cards with the duplicate name? > > For example the original cards are names Form1, Form2, etc. > > When you duplicate the Form1 card call the duplicate DupForm1, etc. > > When you are all done simply loop through the cards and delete any that contain "Dup". > > Bill Vlahos > _________________ > InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. > > On Aug 4, 2011, at 1:34 PM, Joe Lewis Wilkins wrote: > >> Bob, Jacque, >> >> Thanks. Perhaps you might like to know how I plan to use IDs in my application. >> >> One of the Modules (stacks) has 56 basic forms. I record the ID of those forms in a field on the first card of that Module. >> >> Subsequently, circumstances on one or more of the other Modules requires that one or more of these "basic" forms be duplicated, sometimes a number of times; particularly while I'm testing things, I need to revert back to the original stack with its 56 basic forms. Substituting a copy of that Module for the one that has been modified doesn't work. LC always brings up the modified stack - regardless of what I may do; I can tediously go through and delete the newly created cards, but that soon gets too much for even my patience level. >> >> Now I will just cycle through the cards and delete those whose ID differs from the ones whose IDs I've stored in the field. I'm sure I'll find other uses for this technique at some other point. I just wanted to be 100% sure that I wasn't creating a FrankenCode monster. (smile) I had considered using a system of marked cards to achieve the same result, but I'm already using that to track the Forms that I'll want to print in the final reports and I confuse easily. (smile) >> >> Thanks again, >> >> Joe Wilkins >> >> On Aug 4, 2011, at 12:52 PM, J. Landman Gay wrote: >> >>> On 8/4/11 1:51 PM, Joe Lewis Wilkins wrote: >>>> Hi Jaqui, >>>> >>>> When new cards are created with the clone command, how sure can we be >>>> that the new card will be given a unique ID for the current stack? >>> >>> 100% sure. As Bob said, no two objects can ever have the same ID. >>> From pepetoo at cox.net Fri Aug 5 02:27:14 2011 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Thu, 4 Aug 2011 23:27:14 -0700 Subject: UNIQUE CARD IDs In-Reply-To: References: Message-ID: <0FAA2D03-9AD1-4F60-9227-E19D1D71DE50@cox.net> Sean, I considered that, since I have them set to cantDelete already, but I was too concerned that in cloning them, they would retain that property. Thanks, Joe Lewis Wilkins Architect On Aug 4, 2011, at 11:18 PM, Shao Sean wrote: > You can always use the cantDelete property for the master form cards.. > > http://docs.runrev.com/Property/cantDelete > > > # only run this after setting the cantDelete property to TRUE on the cards you want to keep > # every other card will be deleted, so exercise caution.. > > lock messages -- suppresses the deleteCard message > repeat for each line tCardID in the cardIDs of stack "yourStackNameHere" > try > delete card id tCardID of stack "yourStackNameHere" > catch tErr > end try > end repeat > unlock messages > > > The try statement allows you to run the delete command on the cards that have the property set to true and not have the script stop to post an error saying that the card cannot be deleted. From shaosean at wehostmacs.com Fri Aug 5 02:38:13 2011 From: shaosean at wehostmacs.com (Shao Sean) Date: Fri, 5 Aug 2011 02:38:13 -0400 Subject: UNIQUE CARD IDs Message-ID: Right after the cloning, set the cantDelete property to FALSE.. From toolbook at kestner.de Fri Aug 5 04:03:34 2011 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Fri, 5 Aug 2011 10:03:34 +0200 Subject: OT: how to get back to prompt in terminal after reading man Message-ID: <003301cc5346$33ec44c0$9bc4ce40$@de> Hi, just a penny, but after opening a man in the terminal I never find back to the terminal prompt, finally I always close and reopen the terminal. Whats the shortcut to get back out of the man to prompt? Thanks Tiemo From th.douez at gmail.com Fri Aug 5 04:01:45 2011 From: th.douez at gmail.com (Thierry Douez) Date: Fri, 5 Aug 2011 10:01:45 +0200 Subject: OT: how to get back to prompt in terminal after reading man In-Reply-To: <003301cc5346$33ec44c0$9bc4ce40$@de> References: <003301cc5346$33ec44c0$9bc4ce40$@de> Message-ID: 2011/8/5 Tiemo Hollmann TB > just a penny, but after opening a man in the terminal I never find back to > the terminal prompt, finally I always close and reopen the terminal. Whats > the shortcut to get back out of the man to prompt? > > type: q HTH. Thierry > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Fri Aug 5 04:15:13 2011 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Fri, 5 Aug 2011 10:15:13 +0200 Subject: AW: OT: how to get back to prompt in terminal after reading man In-Reply-To: References: <003301cc5346$33ec44c0$9bc4ce40$@de> Message-ID: <003801cc5347$d0fa74c0$72ef5e40$@de> I knew it must have been that easy, but as a windows guy I tried Ctrl+C, Esc, Alt... :) Thanks Thierry > -----Urspr?ngliche Nachricht----- > Von: use-livecode-bounces at lists.runrev.com [mailto:use-livecode- > bounces at lists.runrev.com] Im Auftrag von Thierry Douez > Gesendet: Freitag, 5. August 2011 10:02 > An: How to use LiveCode > Betreff: Re: OT: how to get back to prompt in terminal after reading man > > 2011/8/5 Tiemo Hollmann TB > > > > just a penny, but after opening a man in the terminal I never find back to > > the terminal prompt, finally I always close and reopen the terminal. Whats > > the shortcut to get back out of the man to prompt? > > > > > type: q > > HTH. > Thierry > > > > > > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode 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 toolbook at kestner.de Fri Aug 5 04:21:12 2011 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Fri, 5 Aug 2011 10:21:12 +0200 Subject: AW: AW: Need advice with Lion permission changes In-Reply-To: <1312457060.49202.YahooMailNeo@web65405.mail.ac4.yahoo.com> References: <5934E0F4-3DC6-4B40-827D-88957567B6B8@wehostmacs.com> <003101cc510c$0cf0d930$26d28b90$@de> <003301cc5293$51ff7cb0$f5fe7610$@de> <1312457060.49202.YahooMailNeo@web65405.mail.ac4.yahoo.com> Message-ID: <003901cc5348$a7086e00$f5194a00$@de> Hi Jan, thank you for responding. It's good to know, there is still a backdoor, which I will follow as plan B. I now will take as an easier shortcut /Applications/myFolder/ to share my files among all users. Because I don't only have a registration and ini file, which needs to be shared, I also have to share 8GB of videos for all users, this seems to me the easiest way. Obviously it is not the recommended way by apple, because I don't see any other application folders in /Applications/, but nevertheless it seems to work after granting my file with chmod to all users. Does anybody see anything serious against this approach? Thanks Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode-bounces at lists.runrev.com [mailto:use-livecode- > bounces at lists.runrev.com] Im Auftrag von Jan Schenkel > Gesendet: Donnerstag, 4. August 2011 13:24 > An: How to use LiveCode > Betreff: Re: AW: Need advice with Lion permission changes > > You can place them there, but the user has to have the right permissions. > LiveCode 4.5 added support for 'elevated processes' - so you'd have to create > a separate (faceless) application and use 'open elevated process ...' which > will prompt the user for the required password, and then the separate elevated > process can write to those places. > > Note that you should only use those places for 'support' files, not database > files or anything of the sort. Those you should proably put somewhere in > /users/shared or something. > > HTH, > > 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) > > > ----- Original Message ----- > From: Tiemo Hollmann TB > To: 'How to use LiveCode' > Cc: > Sent: Thursday, August 4, 2011 12:43 PM > Subject: AW: Need advice with Lion permission changes > > That is a real pain in the ass, because my app doesn't run anymore under > lion and I haven't found a solution yet. > > I have read over the last days guidelines and threads, but have not found > any answer yet. Apple says about the /library/application support/ in the > Mac OS X Developer library: " For example, you might use this directory to > store application-created data files, configuration files, templates, or > other fixed or modifiable resources that are managed by the application.", > see: > http://developer.apple.com/library/mac/#documentation/FileManagement/Concept > ual/FileSystemProgrammingGUide/FileSystemOverview/FileSystemOverview.html#// > apple_ref/doc/uid/TP40010672-CH2-SW1 > But I CAN'T create files anymore in this directory and I have nothing found > in the developer guidelines of apple, what has changed on lion and where to > store now common files. > > The users directories are no solution for me (read my old threads) > > I tried to create first a user folder in the users directory and then copy > it to the common application support folder, but the access is obviously > denied. I could do it only with sudo in the terminal. But if I try to run > sudo mv ... in the shell from livecode, I get the same error, as already > Josh: "no tty present and no askpass program specified" Can anybody shed > some light on this? (same with sudo ditto) I have no clue what it means and > how I can get it working with sudo. > > I can't believe that there is no place anymore, where you can store common > app files! Am I the only one who needs common app files? > I a pretty helpless and thankfull for every hint > > P.S. @Ken Ray: You said " Yes, I got burned as well, but I *still* plan on > writing "all users" support files in the /Library/Application Support > folder, even if I have to go the extra mile to make it happen." I would love > if you could share your extra mile! > > Thanks > Tiemo > > > > -----Urspr?ngliche Nachricht----- > > Von: use-livecode-bounces at lists.runrev.com [mailto:use-livecode- > > bounces at lists.runrev.com] Im Auftrag von Pete > > Gesendet: Dienstag, 2. August 2011 23:02 > > An: How to use LiveCode > > Betreff: Re: Need advice with Lion permission changes > > > > I too am interested in the answer to this.? I'm not sure it ever got > > resolved in the previous thread on the question.? Is there anywhere under > > Lion that files can be installed for use by all users without having to > > resort to chmod commands? > > Pete > > Molly's Revenge > > > > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 shaosean at wehostmacs.com Fri Aug 5 06:11:58 2011 From: shaosean at wehostmacs.com (Shao Sean) Date: Fri, 5 Aug 2011 06:11:58 -0400 Subject: Need advice with Lion permission changes Message-ID: <74022368-5639-4C22-AAE8-6DD5739C59DB@wehostmacs.com> Wouldn't it just be easier to keep the videos in the Application bundle? Same idea, just a little easier as the person installing the app will already be an admin and have access to that folder (unless of course the videos are not read-only) /Applications/.app/Contents/Resources From toolbook at kestner.de Fri Aug 5 07:28:57 2011 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Fri, 5 Aug 2011 13:28:57 +0200 Subject: AW: Need advice with Lion permission changes In-Reply-To: <74022368-5639-4C22-AAE8-6DD5739C59DB@wehostmacs.com> References: <74022368-5639-4C22-AAE8-6DD5739C59DB@wehostmacs.com> Message-ID: <005701cc5362$e1c905d0$a55b1170$@de> Hi Sean, in Apples pure doctrine, this should be probably the correct way. But my update mechanism replaces the whole executable and that would be pretty tough to download 8GB for every update. So I decided to reside the videos independend of the bundle. Thank you for your advice (hoping Sean is your first name, I always stumble with Chinese names...) Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode-bounces at lists.runrev.com [mailto:use-livecode- > bounces at lists.runrev.com] Im Auftrag von Shao Sean > Gesendet: Freitag, 5. August 2011 12:12 > An: use-livecode at lists.runrev.com > Betreff: Re: Need advice with Lion permission changes > > Wouldn't it just be easier to keep the videos in the Application > bundle? Same idea, just a little easier as the person installing the > app will already be an admin and have access to that folder (unless of > course the videos are not read-only) > > /Applications/.app/Contents/Resources > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bvg at mac.com Fri Aug 5 10:12:35 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Fri, 05 Aug 2011 16:12:35 +0200 Subject: [ANN] LiveCode.tv event #35 In-Reply-To: References: <6B865405-BBC0-491C-AD25-BFB1C85A2D58@mac.com> <7EC6A85B-DD6B-4138-A597-512A194F4453@mac.com> <89782C22-C6E3-4245-95D1-A48F69423753@mac.com> <061D9182-B34B-4ABB-A7D6-9C2D09DA8755@mac.com> <73F84954-890B-4627-859A-702C8054F13B@mac.com> <093DEF5E-6C0F-4924-A262-F6DBE748ED45@mac.com> <3FB852C9-5675-4A19-9506-543733BB2547@mac.com> <914DF999-596E-4023-A213-9469C6A69FA0@mac.com> <2B105965-FB27-41D0-B95F-1F4C84ADD53B@mac.com> <163225D1-67D1-4CE7-8049-E85A8D94D177@mac.com> <225B0941-5D11-434A-BC0B-CD61B998E9F8@mac.com> <201756EB-9601-417D-856E-5128C5256EF1@mac.com> <081FD717-0A48-447D-90AA-A8F370B14F43@mac.com> <913B7E78-3052-4CF0-9883-C1CDD9F8BDFA@mac.com> <0C1B6D89-1745-46DF-9C49-A5FE2E5B67B9@mac.com> <497CC7C9-74BC-419C-9785-CEA07A8FE181@mac.com> Message-ID: Dear Customers We have a fancy and exciting method of doing a presentation for you this time around! Paul Townsend has prepared a movie that everyone can download and watch during the event. He will also be in chat to answer questions and comment, but there won't be any stream. The topic of this new way to present will be his fantastic SQLite helper stack. Afterwards, the European HyperCard User Group (eHUG, http://www.ehug.info) will raffle off an e-book courtesy of TidBITS. This time around it?s ?Take Control of Using Lion?. You can find more info on the TC series here: http://www.takecontrolbooks.com Mark Schonewille then talks about ways to distribute shareware and to increase sales by low-budget advertising. He will discuss the Project Wonderful advertising system, Facebook, and a few other methods. See you Saturday 20:00 CET on ChatRev. Go to http://bjoernke.com/chatrev/ or enter in the message box: go stack URL ?http://bjoernke.com/chatrev/chatrev1.3b3.rev? Sat. 20:00 Warsaw Sat. 19:00 London Sat. 14:00 New York Sat. 11:00 Los Angeles Sun. 2:00 Beijing Please contact me about how to participate, as we do not have any slots set beyond this next show. Bj?rnke -- Watch live presentations every Saturday: http://livecode.tv Use an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ From bvg at mac.com Fri Aug 5 10:16:42 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Fri, 05 Aug 2011 16:16:42 +0200 Subject: Airlaunch 1.0b2 In-Reply-To: <4E3ACF36.4000508@hyperactivesw.com> References: <4E3ACF36.4000508@hyperactivesw.com> Message-ID: <3F442B4F-E19B-4CBA-AEB6-9AE5A99CAFEC@mac.com> Sooo.. silly banter aside, what is this thing, what can it do for me and when to use it? You really should up your [ANN] count, so you can get better at it :P On 4 Aug 2011, at 18:56, J. Landman Gay wrote: > Update available: > > This fixes an error with paths that contain spaces. Many thanks to Matthias for building a test standalone named "Untitled 1" and staying up till 2:30 AM to report it. :) > > I hope these announcements don't annoy anyone, it's the only way I can let people know. > > -- > 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 -- Watch live presentations every Saturday: http://livecode.tv Use an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ From wow at together.net Fri Aug 5 11:42:57 2011 From: wow at together.net (Richard Miller) Date: Fri, 05 Aug 2011 11:42:57 -0400 Subject: How to fast-track a LC/iOS app In-Reply-To: <73C3C385-471D-4E74-A609-93066774874B@mac.com> References: <4E38256F.7070309@gmail.com> <8FFD6C95-7EA5-4665-B5BF-DABC96AE9879@doctorTimothyMiller.com> <4E3A51F4.5000507@gmail.com> <4E3A81B1.7060508@together.net> <73C3C385-471D-4E74-A609-93066774874B@mac.com> Message-ID: <4E3C0F81.1090904@together.net> Thanks, Bjornke. This is helpful. On 8/4/2011 11:50 AM, Bj?rnke von Gierke wrote: > On 4 Aug 2011, at 13:25, Richard Miller wrote: > >> 1. Is there a tutorial out there that can walk me through the process of creating true iOS controls, look, feel, etc., then test it on my iPhone, then submit it? >> 2. Would you recommend using a tool like MobGUI, or is that overkill? > If you create a non-native look, your app is free to behave as it wants, of course you will need to implement a lot of behaviours from scratch in that case. MobGUI is currently the easiest way to create native looking applications for iOS, but there's also the free iPhone control kit: > http://87.106.227.245/LiveCode/iPhoneControlKit/index_en.html > >> 4. What is the recommended limit, in terms of size (mb), for the embedded app? > I fo have games that are in the area of 100-200 MB. I think those are a bit big, and probably would expect a smaller size from a non-game app. > > From jacque at hyperactivesw.com Fri Aug 5 12:56:33 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 05 Aug 2011 11:56:33 -0500 Subject: Airlaunch 1.0b2 In-Reply-To: <3F442B4F-E19B-4CBA-AEB6-9AE5A99CAFEC@mac.com> References: <4E3ACF36.4000508@hyperactivesw.com> <3F442B4F-E19B-4CBA-AEB6-9AE5A99CAFEC@mac.com> Message-ID: <4E3C20C1.2030006@hyperactivesw.com> On 8/5/11 9:16 AM, Bj?rnke von Gierke wrote: > Sooo.. silly banter aside, what is this thing, what can it do for me > and when to use it? But BvG, it is so clear to me -- what happened to your telepathy skills? ;) AirLaunch lets you bypass Apple's methods of installing your test apps on iOS devices, and lets you install via a wi-fi connection instead. Normally to install a newly built app for testing, you must connect the device to your Mac via USB cable, launch either iTunes or XCode, and drag your standalone there. If you're in iTunes, you also have to wait for a synch. AirLaunch bypasses all that. It builds a set of files that you copy to a server or your Dropbox. (Using Dropbox is the easiest way for now, very quick.) On the device, you open a browser (or the Dropbox app,) tap a link, and your app installs. You don't need to mess with cabling, synching, or launching an Apple application. > > You really should up your [ANN] count, so you can get better at it > :P You're right. I'm almost finished testing scripts that upload to the server from within AirLaunch, which will make installation even easier. When that's done, I'll [ANN] with more care. :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From andrew at rjdfarm.com Fri Aug 5 13:34:50 2011 From: andrew at rjdfarm.com (Andrew Kluthe) Date: Fri, 5 Aug 2011 12:34:50 -0500 Subject: [Server] create stack trouble Message-ID: Was just trying to test out some things on my on-rev account. This is a simple little script to take a $_GET string, show me the defaultFolder, and create a stack on disk named after that string. No errors, but the stack isn't being created. I am using the new .lc extension. Insights? From mikekann at yahoo.com Fri Aug 5 21:13:37 2011 From: mikekann at yahoo.com (Michael Kann) Date: Fri, 5 Aug 2011 18:13:37 -0700 (PDT) Subject: [Server] create stack trouble In-Reply-To: Message-ID: <1312593217.27219.YahooMailClassic@web161610.mail.bf1.yahoo.com> Andrew, I tested it with all the permissions on the file and the folder as their most lenient. It still didn't work. Mike --- On Fri, 8/5/11, Andrew Kluthe wrote: From: Andrew Kluthe Subject: [Server] create stack trouble To: use-livecode at lists.runrev.com Date: Friday, August 5, 2011, 12:34 PM Was just trying to test out some things on my on-rev account. This is a simple little script to take a $_GET string, show me the defaultFolder, and create a stack on disk named after that string. No errors, but the stack isn't being created. I am using the new .lc extension. Insights? _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From gwendalwood at cox.net Fri Aug 5 21:16:16 2011 From: gwendalwood at cox.net (gwendalwood at cox.net) Date: Fri, 5 Aug 2011 18:16:16 -0700 Subject: How to bring up the print popup in iOS Message-ID: <20110805211616.F74QR.1459798.imail@fed1rmwml35> Does anyone know how to bring up in an app, the toolbar with the rectangle with the arrow that brings up the popup to mail the page or print the page as in Safari? It is also in the Photos app. Thanks George Wood From mkoob at rogers.com Fri Aug 5 21:40:46 2011 From: mkoob at rogers.com (Martin Koob) Date: Fri, 5 Aug 2011 18:40:46 -0700 (PDT) Subject: [Server] create stack trouble In-Reply-To: References: Message-ID: <1312594846940-3722610.post@n4.nabble.com> Hi I tried this on a third party install not on On-rev. I tried the create stack command and then to see if a stack was indeed created I used the openstacks command. put "newcompany" into tNewStackName put "

Creating " & tNewstackName & "

" create stack tNewStackName repeat for each line thisline in the openstacks put thisline & "
" end repeat The output shows two stacks are open Home and newcompany so the stack was created in memory. >From the 'create stack' documentation it says "The newly created stack is not saved to a file until you explicitly save it. If you close it without saving it, the stack disappears." So I tried a save stack command to save it as a file. This however did not work. I tried a few variations First try - just try the saving the stack. save stack tNewStackName Second try- perhaps it needs a path with a .livecode extension: save stack tNewStackName as "newcompanystack.livecode" Third try - perhaps it needs a full path: put the defaultfolder & "/newcompanystack.livecode" into tfullstackpath save stack as tfullstackpath None of these worked. I checked the documentation for 'Save stack' and realized it is not implemented on the Server platform. I am not sure if there is another way to save a stack on server. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Server-create-stack-trouble-tp3721781p3722610.html Sent from the Revolution - User mailing list archive at Nabble.com. From mkoob at rogers.com Fri Aug 5 22:06:54 2011 From: mkoob at rogers.com (Martin Koob) Date: Fri, 5 Aug 2011 19:06:54 -0700 (PDT) Subject: [Server] create stack trouble In-Reply-To: <1312594846940-3722610.post@n4.nabble.com> References: <1312594846940-3722610.post@n4.nabble.com> Message-ID: <1312596414009-3722633.post@n4.nabble.com> I had another thought. What if you added your stack to an existing stack that is already saved on the server as a substack? I have an existing stack "libstackmain.livecode" in the directory that I could add substacks to so I tried the following: Creating stack: " & tNewstackName & "

" create stack tNewStackName go stack "libstackmain.livecode" put "

The open stacks currently are:
" repeat for each line thisline in the openstacks put thisline & "
" end repeat put "

" set the substacks of stack "libstackmain" to "newcompany" put "

substacks of libstackmain are:
" & the substacks of stack "libstackmain" & "

" save stack "libstackmain" ?> the output from this is ---------- Creating stack: newcompany The open stacks currently are: libstackmain newcompany Home substacks of libstackmain are: newcompany ------------- When I check the 'libstackmain.livecode" stack it is still unaltered, no substacks. So while it was in memory it had the substacks. Interesting but not a solution to your problem. Martin -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Server-create-stack-trouble-tp3721781p3722633.html Sent from the Revolution - User mailing list archive at Nabble.com. From capellan2000 at gmail.com Fri Aug 5 23:25:18 2011 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Fri, 5 Aug 2011 20:25:18 -0700 (PDT) Subject: [OT] Internet Censorship Message-ID: <1312601118358-3722715.post@n4.nabble.com> Hi All, How many of you could view this youTube video? http://www.youtube.com/watch?v=R0IcvVF-p_k This video is a segment of Howard Goodall's 2006 documentary: How Music Works You could find many more segments in youTube when you select the option "Videos" in google. The message that appears in my side of the world is: "This video contains content from SME, who has blocked it in your country on copyright grounds." SME is Sony Music Entertainment... Could you post your country and the message that appears? Thanks in advance! Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-Internet-Censorship-tp3722715p3722715.html Sent from the Revolution - User mailing list archive at Nabble.com. From stephenREVOLUTION2 at barncard.com Fri Aug 5 23:31:58 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Fri, 5 Aug 2011 20:31:58 -0700 Subject: [OT] Internet Censorship In-Reply-To: <1312601118358-3722715.post@n4.nabble.com> References: <1312601118358-3722715.post@n4.nabble.com> Message-ID: banned in San Francisco CA. On 5 August 2011 20:25, Alejandro Tejada wrote: > Hi All, > > How many of you could view this youTube video? > http://www.youtube.com/watch?v=R0IcvVF-p_k > > This video is a segment of Howard Goodall's > 2006 documentary: How Music Works > > You could find many more segments in youTube > when you select the option "Videos" in google. > > The message that appears in my side of the world is: > "This video contains content from SME, who has blocked it > in your country on copyright grounds." > > SME is Sony Music Entertainment... > > Could you post your country and the message > that appears? > > Thanks in advance! > > Al > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/OT-Internet-Censorship-tp3722715p3722715.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 > -- Stephen Barncard San Francisco Ca. USA more about sqb From sarah.reichelt at gmail.com Fri Aug 5 23:43:57 2011 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Sat, 6 Aug 2011 13:43:57 +1000 Subject: [OT] Internet Censorship In-Reply-To: <1312601118358-3722715.post@n4.nabble.com> References: <1312601118358-3722715.post@n4.nabble.com> Message-ID: Australia. I get exactly the same message as you did Al. On Sat, Aug 6, 2011 at 1:25 PM, Alejandro Tejada wrote: > Hi All, > > How many of you could view this youTube video? > http://www.youtube.com/watch?v=R0IcvVF-p_k > > This video is a segment of Howard Goodall's > 2006 documentary: How Music Works > > You could find many more segments in youTube > when you select the option "Videos" in google. > > The message that appears in my side of the world is: > "This video contains content from SME, who has blocked it > in your country on copyright grounds." > > SME is Sony Music Entertainment... > > Could you post your country and the message > that appears? From selander at tkf.att.ne.jp Sat Aug 6 00:01:23 2011 From: selander at tkf.att.ne.jp (Tim Selander) Date: Sat, 06 Aug 2011 13:01:23 +0900 Subject: [OT] Internet Censorship In-Reply-To: <1312601118358-3722715.post@n4.nabble.com> References: <1312601118358-3722715.post@n4.nabble.com> Message-ID: <4E3CBC93.70300@tkf.att.ne.jp> Viewable, no error message. Tokyo, Japan Tim Selander On 8/6/11 12:25 PM, Alejandro Tejada wrote: > Hi All, > > How many of you could view this youTube video? > http://www.youtube.com/watch?v=R0IcvVF-p_k > > This video is a segment of Howard Goodall's > 2006 documentary: How Music Works > > You could find many more segments in youTube > when you select the option "Videos" in google. > > The message that appears in my side of the world is: > "This video contains content from SME, who has blocked it > in your country on copyright grounds." > > SME is Sony Music Entertainment... > > Could you post your country and the message > that appears? > > Thanks in advance! > > Al > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-Internet-Censorship-tp3722715p3722715.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 Aug 6 00:09:29 2011 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Fri, 5 Aug 2011 21:09:29 -0700 (PDT) Subject: [OT] Internet Censorship In-Reply-To: <4E3CBC93.70300@tkf.att.ne.jp> References: <1312601118358-3722715.post@n4.nabble.com> <4E3CBC93.70300@tkf.att.ne.jp> Message-ID: <1312603769993-3722757.post@n4.nabble.com> Eureka! Could this be only because Sony is a Japanese company.??? Tim, please told us: What is the content of this clip that merits blocking by Sony? Thanks in advance! Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-Internet-Censorship-tp3722715p3722757.html Sent from the Revolution - User mailing list archive at Nabble.com. From warren at warrensweb.us Sat Aug 6 00:24:51 2011 From: warren at warrensweb.us (Warren Samples) Date: Fri, 5 Aug 2011 23:24:51 -0500 Subject: [OT] Internet Censorship In-Reply-To: <1312601118358-3722715.post@n4.nabble.com> References: <1312601118358-3722715.post@n4.nabble.com> Message-ID: <201108052324.51997.warren@warrensweb.us> On Friday, August 05, 2011 10:25:18 PM Alejandro Tejada wrote: > "This video contains content from SME, who has blocked it > in your country on copyright grounds." This doesn't have much or even anything to do with "Censorship". This is about honoring commercial distribution agreements which will vary from country to country, not content censorship. There are lost of videos, from all over the place, which have location restrictions. Regards, Warren From capellan2000 at gmail.com Sat Aug 6 00:30:44 2011 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Fri, 5 Aug 2011 21:30:44 -0700 (PDT) Subject: [OT] Internet Censorship In-Reply-To: <201108052324.51997.warren@warrensweb.us> References: <1312601118358-3722715.post@n4.nabble.com> <201108052324.51997.warren@warrensweb.us> Message-ID: <1312605044791-3722786.post@n4.nabble.com> Hi Warren, Warren Samples wrote: > > This doesn't have much or even anything to do with "Censorship". > This is about honoring commercial distribution agreements which > will vary from country to country, not content censorship. > There are lost of videos, from all over the place, which have > location restrictions. > Even so, I want to know: What is the content of this educational video, that many people, around the world, are not supposing to watch? Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-Internet-Censorship-tp3722715p3722786.html Sent from the Revolution - User mailing list archive at Nabble.com. From warren at warrensweb.us Sat Aug 6 00:45:46 2011 From: warren at warrensweb.us (Warren Samples) Date: Fri, 5 Aug 2011 23:45:46 -0500 Subject: [OT] Internet Censorship In-Reply-To: <1312605044791-3722786.post@n4.nabble.com> References: <1312601118358-3722715.post@n4.nabble.com> <201108052324.51997.warren@warrensweb.us> <1312605044791-3722786.post@n4.nabble.com> Message-ID: <201108052345.46540.warren@warrensweb.us> On Friday, August 05, 2011 11:30:44 PM Alejandro Tejada wrote: > many people, around the world, are not supposing to watch to finish your sentence... "on youtube." I suppose you could write to Sony and ask them. While this is just speculation, it is a possibility that either some performer appears, or some material is used in this segment which is affected by contracts which prevent youtube distribution whereas the other segments which you can see on youtube are not. Regards, Warren From warren at warrensweb.us Sat Aug 6 00:48:48 2011 From: warren at warrensweb.us (Warren Samples) Date: Fri, 5 Aug 2011 23:48:48 -0500 Subject: [OT] Internet Censorship In-Reply-To: <201108052345.46540.warren@warrensweb.us> References: <1312601118358-3722715.post@n4.nabble.com> <1312605044791-3722786.post@n4.nabble.com> <201108052345.46540.warren@warrensweb.us> Message-ID: <201108052348.48537.warren@warrensweb.us> On Friday, August 05, 2011 11:45:46 PM Warren Samples wrote: > On Friday, August 05, 2011 11:30:44 PM Alejandro Tejada wrote: > > many people, around the world, are not supposing to watch > > to finish your sentence... "on youtube." > > I suppose you could write to Sony and ask them. While this is just speculation, it is a possibility that either some performer appears, or some material is used in this segment which is affected by contracts which prevent youtube distribution whereas the other segments which you can see on youtube are not. > > Regards, > > Warren You'll find a discussion of this in another of these clips: http://www.youtube.com/watch?v=aPmnho7OvT8&feature=related From jacque at hyperactivesw.com Sat Aug 6 00:53:48 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 05 Aug 2011 23:53:48 -0500 Subject: UNIQUE CARD IDs In-Reply-To: <0FAA2D03-9AD1-4F60-9227-E19D1D71DE50@cox.net> References: <0FAA2D03-9AD1-4F60-9227-E19D1D71DE50@cox.net> Message-ID: <4E3CC8DC.40501@hyperactivesw.com> On 8/5/11 1:27 AM, Joe Lewis Wilkins wrote: > Sean, > > I considered that, since I have them set to cantDelete already, but I > was too concerned that in cloning them, they would retain that > property. Cloned cards are identical in every respect except their ID, so the cantDelete property should stay the same. But I'm confused about what you need to do. At first you said you were duplicating "substacks" and that your changes didn't stick. But a substack is part of the mainstack file, and any changes would be immediate. So maybe you didn't really mean "substack", you meant you were opening separate document stacks. If that's the case, then setting the stack's destroystack property to true will remove it from memory when you close it, and you should never see the original again when you open a clone of the same name. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobs at twft.com Sat Aug 6 01:10:45 2011 From: bobs at twft.com (Bob Sneidar) Date: Fri, 5 Aug 2011 22:10:45 -0700 Subject: [OT] Internet Censorship In-Reply-To: <1312601118358-3722715.post@n4.nabble.com> References: <1312601118358-3722715.post@n4.nabble.com> Message-ID: <7A0EFA13-D231-435B-B4C0-83ED8A110C6D@twft.com> The country of destination is not blocking it. The source is. It's blocked in the US I see. Bob On Aug 5, 2011, at 8:25 PM, Alejandro Tejada wrote: > Hi All, > > How many of you could view this youTube video? > http://www.youtube.com/watch?v=R0IcvVF-p_k > > This video is a segment of Howard Goodall's > 2006 documentary: How Music Works > > You could find many more segments in youTube > when you select the option "Videos" in google. > > The message that appears in my side of the world is: > "This video contains content from SME, who has blocked it > in your country on copyright grounds." > > SME is Sony Music Entertainment... > > Could you post your country and the message > that appears? > > Thanks in advance! > > Al > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-Internet-Censorship-tp3722715p3722715.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 Aug 6 01:48:04 2011 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Fri, 5 Aug 2011 22:48:04 -0700 (PDT) Subject: [OT] Internet Censorship In-Reply-To: <201108052348.48537.warren@warrensweb.us> References: <1312601118358-3722715.post@n4.nabble.com> <201108052324.51997.warren@warrensweb.us> <1312605044791-3722786.post@n4.nabble.com> <201108052345.46540.warren@warrensweb.us> <201108052348.48537.warren@warrensweb.us> Message-ID: <1312609684377-3722845.post@n4.nabble.com> Hi Warren, Warren Samples wrote: > > [snip] > You'll find a discussion of this in another of these clips > http://www.youtube.com/watch?v=aPmnho7OvT8&feature=related > Hmmm, There is no discussion in that page. (or anything else) Only the message: "This video contains content from SME, who has blocked it in your country on copyright grounds." Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-Internet-Censorship-tp3722715p3722845.html Sent from the Revolution - User mailing list archive at Nabble.com. From warren at warrensweb.us Sat Aug 6 01:52:02 2011 From: warren at warrensweb.us (Warren Samples) Date: Sat, 6 Aug 2011 00:52:02 -0500 Subject: [OT] Internet Censorship In-Reply-To: <1312609684377-3722845.post@n4.nabble.com> References: <1312601118358-3722715.post@n4.nabble.com> <201108052348.48537.warren@warrensweb.us> <1312609684377-3722845.post@n4.nabble.com> Message-ID: <201108060052.02632.warren@warrensweb.us> On Saturday, August 06, 2011 12:48:04 AM Alejandro Tejada wrote: > > You'll find a discussion of this in another of these clips > > http://www.youtube.com/watch?v=aPmnho7OvT8&feature=related > > > > Hmmm, There is no discussion in that page. (or anything else) > Only the message: > "This video contains content from SME, who has blocked it > in your country on copyright grounds." > > Al Here is a segment of the comments from the page linked to above: Uploader Comments (timegrinder) This video contains an audio track? that has not been authorized by WMG. The audio has been disabled. More about copyright" =( Love these videos!!! 5* for them all thomandy 2 years ago Vid back up.? timegrinder 2 years ago 5 what happened to the audio? Will it? get back? JaredChacon 2 years ago Unfortunatly the entire audio for this vid has been removed as WMG have a copyright claim on a short clip in it :-/ Bass part 4 also has copyright issues and i have been considering refuting these claims on the basis of? educational fair use, which is unlikely to succeed. The only other option is to reupload the vids with the clips taken out. timegrinder 2 years ago thanks indeed and it if it could be? up without the clips at leas that would be something phil philmacari 2 years ago Would? seem all disputed vids are now back up. timegrinder 2 years ago From selander at tkf.att.ne.jp Sat Aug 6 02:19:08 2011 From: selander at tkf.att.ne.jp (Tim Selander) Date: Sat, 06 Aug 2011 15:19:08 +0900 Subject: [OT] Internet Censorship In-Reply-To: <1312603769993-3722757.post@n4.nabble.com> References: <1312601118358-3722715.post@n4.nabble.com> <4E3CBC93.70300@tkf.att.ne.jp> <1312603769993-3722757.post@n4.nabble.com> Message-ID: <4E3CDCDC.3090806@tkf.att.ne.jp> It actually was quite interesting. Professionally done -- TV maybe, or an educational video for schools? The presenter talks about the development of chord progressions in Western music, how it started in classical music, and the same chord progressions are still being used today. They played clips of, say, Beethoven, then cut to modern music -- Bruce Springsteen, Chubby Checkers, etc., etc., that use the same chord progressions. My guess is that it's the distribution rights on these modern pieces that keep the video blocked in Brazil. Are you really interested in the video itself and wish you see it, or are you just curious as to why it's being blocked? Tim Selander Tokyo, Japan On 8/6/11 1:09 PM, Alejandro Tejada wrote: > Eureka! > > Could this be only because Sony > is a Japanese company.??? > > Tim, please told us: What is the > content of this clip that merits > blocking by Sony? > > Thanks in advance! > > Al > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-Internet-Censorship-tp3722715p3722757.html > Sent from the Revolution - User mailing list archive at Nabble.com. From capellan2000 at gmail.com Sat Aug 6 02:37:30 2011 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Fri, 5 Aug 2011 23:37:30 -0700 (PDT) Subject: [OT] Internet Censorship In-Reply-To: <4E3CDCDC.3090806@tkf.att.ne.jp> References: <1312601118358-3722715.post@n4.nabble.com> <4E3CBC93.70300@tkf.att.ne.jp> <1312603769993-3722757.post@n4.nabble.com> <4E3CDCDC.3090806@tkf.att.ne.jp> Message-ID: <1312612650924-3722887.post@n4.nabble.com> Hi Tim, Tim Selander wrote: > > It actually was quite interesting. Professionally done -- TV > maybe, or an educational video for schools? The presenter talks > about the development of chord progressions in Western music, how > it started in classical music, and the same chord progressions > are still being used today. They played clips of, say, Beethoven, > then cut to modern music -- Bruce Springsteen, Chubby Checkers, > etc., etc., that use the same chord progressions. My guess is > that it's the distribution rights on these modern pieces that > keep the video blocked in Brazil. > > Are you really interested in the video itself and wish you see > it, or are you just curious as to why it's being blocked? > Ideally, I would like to see it. My curiosity arises from my contact, for many years, with people from the Music Business. The stories that I heard from first hand where, at the time, like tall tales to me... But now, after confirming from different sources, these stories were in fact, oversimplifications of the real drama involved in the Music Business... :-( Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-Internet-Censorship-tp3722715p3722887.html Sent from the Revolution - User mailing list archive at Nabble.com. From capellan2000 at gmail.com Sat Aug 6 02:39:13 2011 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Fri, 5 Aug 2011 23:39:13 -0700 (PDT) Subject: [OT] Internet Censorship In-Reply-To: <4E3CDCDC.3090806@tkf.att.ne.jp> References: <1312601118358-3722715.post@n4.nabble.com> <4E3CBC93.70300@tkf.att.ne.jp> <1312603769993-3722757.post@n4.nabble.com> <4E3CDCDC.3090806@tkf.att.ne.jp> Message-ID: <1312612753765-3722888.post@n4.nabble.com> Hi Tim, Tim Selander wrote: > > It actually was quite interesting. Professionally done -- TV > maybe, or an educational video for schools? The presenter talks > about the development of chord progressions in Western music, how > it started in classical music, and the same chord progressions > are still being used today. They played clips of, say, Beethoven, > then cut to modern music -- Bruce Springsteen, Chubby Checkers, > etc., etc., that use the same chord progressions. My guess is > that it's the distribution rights on these modern pieces that > keep the video blocked in Brazil. > > Are you really interested in the video itself and wish you see > it, or are you just curious as to why it's being blocked? > Ideally, I would like to see it. My curiosity arises from my contact, for many years, with people from the Music Business. The stories that I heard from first hand where, at the time, like tall tales to me... But now, after confirming from different sources, these stories were in fact, oversimplifications of the real drama involved in the Music Business... :-( Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-Internet-Censorship-tp3722715p3722888.html Sent from the Revolution - User mailing list archive at Nabble.com. From sc at sahores-conseil.com Sat Aug 6 02:52:51 2011 From: sc at sahores-conseil.com (Pierre Sahores) Date: Sat, 6 Aug 2011 08:52:51 +0200 Subject: [OT] Internet Censorship In-Reply-To: References: <1312601118358-3722715.post@n4.nabble.com> Message-ID: <0A548264-F0EA-4CC2-9804-36F93A9B13EB@sahores-conseil.com> banned in France. Le 6 ao?t 2011 ? 05:31, stephen barncard a ?crit : > banned in San Francisco CA. > > On 5 August 2011 20:25, Alejandro Tejada wrote: > >> Hi All, >> >> How many of you could view this youTube video? >> http://www.youtube.com/watch?v=R0IcvVF-p_k >> >> This video is a segment of Howard Goodall's >> 2006 documentary: How Music Works >> >> You could find many more segments in youTube >> when you select the option "Videos" in google. >> >> The message that appears in my side of the world is: >> "This video contains content from SME, who has blocked it >> in your country on copyright grounds." >> >> SME is Sony Music Entertainment... >> >> Could you post your country and the message >> that appears? >> >> Thanks in advance! >> >> Al >> >> -- >> View this message in context: >> http://runtime-revolution.278305.n4.nabble.com/OT-Internet-Censorship-tp3722715p3722715.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 >> > > > > -- > > > > 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 -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com From richmondmathewson at gmail.com Sat Aug 6 03:17:46 2011 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sat, 06 Aug 2011 10:17:46 +0300 Subject: [OT] Internet Censorship In-Reply-To: <1312601118358-3722715.post@n4.nabble.com> References: <1312601118358-3722715.post@n4.nabble.com> Message-ID: <4E3CEA9A.8030104@gmail.com> On 08/06/2011 06:25 AM, Alejandro Tejada wrote: > Hi All, > > How many of you could view this youTube video? > http://www.youtube.com/watch?v=R0IcvVF-p_k > > This video is a segment of Howard Goodall's > 2006 documentary: How Music Works > > You could find many more segments in youTube > when you select the option "Videos" in google. > > The message that appears in my side of the world is: > "This video contains content from SME, who has blocked it > in your country on copyright grounds." > > SME is Sony Music Entertainment... > > Could you post your country and the message > that appears? > Blocked in Bulgaria: "This video contains content from SME, who has blocked it in your country on copyright grounds. Sorry about that." From richmondmathewson at gmail.com Sat Aug 6 03:23:39 2011 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sat, 06 Aug 2011 10:23:39 +0300 Subject: [OT] Internet Censorship In-Reply-To: <4E3CEA9A.8030104@gmail.com> References: <4E3CEA9A.8030104@gmail.com> Message-ID: <4E3CEBFB.6030801@gmail.com> It is most instructive if one pastes: " This video contains content from SME, who has blocked it in your country on copyright grounds. Sorry about that." into Google . . . . endless amounts of this. Some of which seems very odd and rather random. From arietext at mac.com Sat Aug 6 04:39:22 2011 From: arietext at mac.com (Arie van der Ent) Date: Sat, 06 Aug 2011 10:39:22 +0200 Subject: Jerry's Custom Combo Box In-Reply-To: References: <50F42646-22AC-4900-BD0B-092928BC2176@mac.com> Message-ID: Hi Ian, Can you make it downloadable somewhere? Regards, Arie van der Ent Op 4 aug. 2011, om 16:11 heeft Ian McKnight het volgende geschreven: > Hi Charles > > Yes I have a copy. I'll send it on. > > On 4 August 2011 13:39, Charles Szasz wrote: > >> I wanted to try Jerry Daniels' sample stack that has his custom combo box >> that was in revUp issue 87 but the link has expired for downloading it. I >> contacted Jerry about it but he no longer has that sample stack. Does >> anybody have that sample stack that they could e-mail me? >> >> Sent from my iPad >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 > > > Ian McKnight > > iangmcknight 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 iangmcknight at gmail.com Sat Aug 6 05:47:11 2011 From: iangmcknight at gmail.com (Ian McKnight) Date: Sat, 6 Aug 2011 10:47:11 +0100 Subject: Jerry's Custom Combo Box In-Reply-To: References: <50F42646-22AC-4900-BD0B-092928BC2176@mac.com> Message-ID: Hi Arie Follow this link http://www.imksoftware.co.uk/JDCombobox.zip The ZIP file contains Jerry's New Combo box and the article he wrote about it for the Rev Newsletter. On 6 August 2011 09:39, Arie van der Ent wrote: > Hi Ian, > > Can you make it downloadable somewhere? > > Regards, > Arie van der Ent > > Op 4 aug. 2011, om 16:11 heeft Ian McKnight het volgende geschreven: > > > Hi Charles > > > > Yes I have a copy. I'll send it on. > > > > On 4 August 2011 13:39, Charles Szasz wrote: > > > >> I wanted to try Jerry Daniels' sample stack that has his custom combo > box > >> that was in revUp issue 87 but the link has expired for downloading it. > I > >> contacted Jerry about it but he no longer has that sample stack. Does > >> anybody have that sample stack that they could e-mail me? > >> > >> Sent from my iPad > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode 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 > > > > > > Ian McKnight > > > > iangmcknight 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 > -- Regards Ian McKnight iangmcknight at gmail.com ======================= From klaus at major.on-rev.com Sat Aug 6 05:50:25 2011 From: klaus at major.on-rev.com (Klaus on-rev) Date: Sat, 6 Aug 2011 11:50:25 +0200 Subject: [OT] Internet Censorship In-Reply-To: <1312601118358-3722715.post@n4.nabble.com> References: <1312601118358-3722715.post@n4.nabble.com> Message-ID: Hi Alejandro, Am 06.08.2011 um 05:25 schrieb Alejandro Tejada: > Hi All, > > How many of you could view this youTube video? > http://www.youtube.com/watch?v=R0IcvVF-p_k > > ... > > Could you post your country and the message > that appears? > > Thanks in advance! blocked in germany: Leider ist dieses Video, das Musik von SME beinhaltet, in Deutschland nicht verf?gbar, da die GEMA die Verlagsrechte hieran nicht einger?umt hat. Das tut uns leid. > Al Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From klaus at major.on-rev.com Sat Aug 6 06:28:00 2011 From: klaus at major.on-rev.com (Klaus on-rev) Date: Sat, 6 Aug 2011 12:28:00 +0200 Subject: [OT] Internet Censorship In-Reply-To: <201108052348.48537.warren@warrensweb.us> References: <1312601118358-3722715.post@n4.nabble.com> <1312605044791-3722786.post@n4.nabble.com> <201108052345.46540.warren@warrensweb.us> <201108052348.48537.warren@warrensweb.us> Message-ID: <209D7411-40DE-448C-861A-6780F4C7BBC9@major.on-rev.com> Hi Warren, Am 06.08.2011 um 06:48 schrieb Warren Samples: > On Friday, August 05, 2011 11:45:46 PM Warren Samples wrote: >> On Friday, August 05, 2011 11:30:44 PM Alejandro Tejada wrote: >>> many people, around the world, are not supposing to watch >> to finish your sentence... "on youtube." >> I suppose you could write to Sony and ask them. While this is just speculation, it is a possibility that either some performer appears, or some material is used in this segment which is affected by contracts which prevent youtube distribution whereas the other segments which you can see on youtube are not. >> Regards, >> >> Warren > You'll find a discussion of this in another of these clips: > http://www.youtube.com/watch?v=aPmnho7OvT8&feature=related which is also blocked over here in germany :-D Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From bdrunrev at gmail.com Sat Aug 6 06:41:03 2011 From: bdrunrev at gmail.com (Bernard Devlin) Date: Sat, 6 Aug 2011 11:41:03 +0100 Subject: [OT] Internet Censorship In-Reply-To: <209D7411-40DE-448C-861A-6780F4C7BBC9@major.on-rev.com> References: <1312601118358-3722715.post@n4.nabble.com> <1312605044791-3722786.post@n4.nabble.com> <201108052345.46540.warren@warrensweb.us> <201108052348.48537.warren@warrensweb.us> <209D7411-40DE-448C-861A-6780F4C7BBC9@major.on-rev.com> Message-ID: Not blocked in the UK. On Sat, Aug 6, 2011 at 11:28 AM, Klaus on-rev wrote: >> http://www.youtube.com/watch?v=aPmnho7OvT8&feature=related From richmondmathewson at gmail.com Sat Aug 6 06:51:53 2011 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sat, 06 Aug 2011 13:51:53 +0300 Subject: [OT] Internet Censorship In-Reply-To: References: <1312601118358-3722715.post@n4.nabble.com> <1312605044791-3722786.post@n4.nabble.com> <201108052345.46540.warren@warrensweb.us> <201108052348.48537.warren@warrensweb.us> <209D7411-40DE-448C-861A-6780F4C7BBC9@major.on-rev.com> Message-ID: <4E3D1CC9.4020500@gmail.com> On 08/06/2011 01:41 PM, Bernard Devlin wrote: > Not blocked in the UK. Where's "the UK" ? http://www.legislation.gov.uk/aep/Ann/6/11/part/18 As "Queen Anne" was, in fact, the brother of the legal monarch of Scotland, England, Ireland and Wales; His Majesty King James VIII and III, it is difficult to see how this act could be legal. Many other things have been "blocked in the UK", including the right to get the usurpers out! > > On Sat, Aug 6, 2011 at 11:28 AM, Klaus on-rev wrote: >>> http://www.youtube.com/watch?v=aPmnho7OvT8&feature=related > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From warren at warrensweb.us Sat Aug 6 07:51:59 2011 From: warren at warrensweb.us (Warren Samples) Date: Sat, 6 Aug 2011 06:51:59 -0500 Subject: [OT] Internet Censorship In-Reply-To: <1312612753765-3722888.post@n4.nabble.com> References: <1312601118358-3722715.post@n4.nabble.com> <4E3CDCDC.3090806@tkf.att.ne.jp> <1312612753765-3722888.post@n4.nabble.com> Message-ID: <201108060651.59433.warren@warrensweb.us> On Saturday, August 06, 2011 01:39:13 AM Alejandro Tejada wrote: > Ideally, I would like to see it. > > My curiosity arises from my contact, for many years, > with people from the Music Business. > > The stories that I heard from first hand where, at the > time, like tall tales to me... But now, after confirming > from different sources, these stories were in fact, > oversimplifications of the real drama involved in the > Music Business... :-( > > Al It sounds like you may be disappointed. This is not about how the music business works. http://www.brainpickings.org/index.php/2010/12/09/how-music-works/ http://www.howardgoodall.co.uk/presenting/HMW.htm Warren From mkoob at rogers.com Sat Aug 6 08:30:54 2011 From: mkoob at rogers.com (Martin Koob) Date: Sat, 6 Aug 2011 05:30:54 -0700 (PDT) Subject: [OT] Internet Censorship In-Reply-To: References: <1312601118358-3722715.post@n4.nabble.com> Message-ID: <1312633854838-3723252.post@n4.nabble.com> It is blocked in Canada Martin -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-Internet-Censorship-tp3722715p3723252.html Sent from the Revolution - User mailing list archive at Nabble.com. From capellan2000 at gmail.com Sat Aug 6 11:07:53 2011 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sat, 6 Aug 2011 08:07:53 -0700 (PDT) Subject: [OT] Internet Censorship In-Reply-To: <201108060651.59433.warren@warrensweb.us> References: <1312601118358-3722715.post@n4.nabble.com> <4E3CBC93.70300@tkf.att.ne.jp> <1312603769993-3722757.post@n4.nabble.com> <4E3CDCDC.3090806@tkf.att.ne.jp> <1312612753765-3722888.post@n4.nabble.com> <201108060651.59433.warren@warrensweb.us> Message-ID: <1312643273496-3723464.post@n4.nabble.com> Hi warren, Warren Samples wrote: > > It sounds like you may be disappointed. This is not about how the music > business works. > http://www.brainpickings.org/index.php/2010/12/09/how-music-works/ > http://www.howardgoodall.co.uk/presenting/HMW.htm > Warren > Actually, my dissapoint is with Sony Music Entertainment and their insensitive application of copyright law over fair use in this documental series Look, I am not the only one. From the brainpickins page that you linked: "Harmony continues here: 2, 4, 5. (Alas, Part 3 has been gobbled up by copyright claims ? even though the series is not available on DVD or in any purchasable format. Such is the disposition of copyright Nazis ? far from merely ensuring that creators are compensated for their work, they?d rather let a cultural artifact rot in obscurity than reach is wide-eyed audience.)" More info: http://fairuse.stanford.edu/Copyright_and_Fair_Use_Overview/chapter9/9-c.html Hopefully, in a future, Mr. Goodall will replace these specific parts of the series and publish the whole documentary in DVD, with subtitles and alternate languages, Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-Internet-Censorship-tp3722715p3723464.html Sent from the Revolution - User mailing list archive at Nabble.com. From capellan2000 at gmail.com Sat Aug 6 11:16:38 2011 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sat, 6 Aug 2011 08:16:38 -0700 (PDT) Subject: [OT] Internet Censorship In-Reply-To: <201108060651.59433.warren@warrensweb.us> References: <1312601118358-3722715.post@n4.nabble.com> <4E3CBC93.70300@tkf.att.ne.jp> <1312603769993-3722757.post@n4.nabble.com> <4E3CDCDC.3090806@tkf.att.ne.jp> <1312612753765-3722888.post@n4.nabble.com> <201108060651.59433.warren@warrensweb.us> Message-ID: <1312643798500-3723477.post@n4.nabble.com> Hi warren, Warren Samples wrote: > > It sounds like you may be disappointed. This is not about how the music > business works. > http://www.brainpickings.org/index.php/2010/12/09/how-music-works/ > http://www.howardgoodall.co.uk/presenting/HMW.htm > Warren > Actually, my dissapoint is with Sony Music Entertainment and their insensitive application of copyright law over fair use in this documental series Look, I am not the only one. From the brainpickins page that you linked: "Harmony continues here: 2, 4, 5. (Alas, Part 3 has been gobbled up by copyright claims ? even though the series is not available on DVD or in any purchasable format. Such is the disposition of copyright Nazis ? far from merely ensuring that creators are compensated for their work, they?d rather let a cultural artifact rot in obscurity than reach is wide-eyed audience.)" More info: http://fairuse.stanford.edu/Copyright_and_Fair_Use_Overview/chapter9/9-c.html Hopefully, in a future, Mr. Goodall will replace these specific parts of the series and publish the whole documentary in DVD, with subtitles and alternate languages. Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-Internet-Censorship-tp3722715p3723477.html Sent from the Revolution - User mailing list archive at Nabble.com. From cszasz at mac.com Sat Aug 6 12:07:36 2011 From: cszasz at mac.com (Charles Szasz) Date: Sat, 06 Aug 2011 12:07:36 -0400 Subject: Sean Shao's Calendar Widget Message-ID: Chipp's wrapper for Sean Shao's calendar widget is great! I was able to use it to call it and insert a date into a field. But I do have a question about using it in multiple fields. This is the script I am using in the OK button of the calendar widget: on mouseUp set the dialogdata to line 1 of fld "log" if dialogdata is not empty then put item 2 of dialogdata into t --->month put "/" after t put item 3 of dialogdata after t --->day put "/" after t put item 1 of dialogdata after t --->year put t into field "date1" of stack "mileage report" close this stack end if end mouseUp I tried using selectedField in my script in the OK button of the calendar widget above but that did not work: if selectedField of card "1" stack "mileage report" = field "date2" of card "1" of stack "mileage report" then put t into field "date2" of card "1" of stack "mileage report" else answer "It did not work!" end if Any suggestions on how I can resolved this dilemma? Thanks for your time! Charles Szasz cszasz at mac.com From zellner at tamu.edu Sat Aug 6 12:38:42 2011 From: zellner at tamu.edu (Ronald Zellner) Date: Sat, 6 Aug 2011 11:38:42 -0500 Subject: [OT] Internet Censorship Message-ID: <84D9DC0D-803A-4242-BD43-AB4F2EF0799B@tamu.edu> This video seems blocked most places: > How many of you could view this youTube video? > http://www.youtube.com/watch?v=R0IcvVF-p_k This one is not blocked and contains a number of videos: > It sounds like you may be disappointed. This is not about how the music business works. > > http://www.brainpickings.org/index.php/2010/12/09/how-music-works/ Is the content in the first video different from that presented in the second site? Ron From bruceap at comcast.net Sat Aug 6 12:46:05 2011 From: bruceap at comcast.net (Bruce Pokras) Date: Sat, 6 Aug 2011 12:46:05 -0400 Subject: Any way to show progress while an ON-REV page is processing a script? In-Reply-To: <1312213248751-3710035.post@n4.nabble.com> References: <1312213248751-3710035.post@n4.nabble.com> Message-ID: I have a form that uses POST to get a list of patent numbers processed by a .lc or .irev page. Right now, the whole list has to be processed before the user sees that anything has happened. In my case, once all the patent numbers have been processed, the user will see a page of tables with information about each patent. In my revlet version of this process, it was easy to have a field display the progress of the processing with 1 of 20, 2 of 20, 3 of 20, etc. being displayed in a field as the processing of each patent took place. Is there any way to display a progress indicator while the .lc or .irev page is processing the patent numbers? I have tried a couple of things, such as having a separate "put" command for each patent, but nothing is displayed until all of the patents have been processed. Regards, Bruce Pokras Blazing Dawn Software From capellan2000 at gmail.com Sat Aug 6 12:51:07 2011 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sat, 6 Aug 2011 09:51:07 -0700 (PDT) Subject: [OT] Internet Censorship In-Reply-To: <84D9DC0D-803A-4242-BD43-AB4F2EF0799B@tamu.edu> References: <1312601118358-3722715.post@n4.nabble.com> <84D9DC0D-803A-4242-BD43-AB4F2EF0799B@tamu.edu> Message-ID: <1312649467199-3723597.post@n4.nabble.com> Hi Ronald, Ronald Zellner wrote: > > This video seems blocked most places: >> How many of you could view this youTube video? >> http://www.youtube.com/watch?v=R0IcvVF-p_k > Yes, surprisingly in most countries, except England and Japan. Ronald Zellner wrote: > > This one is not blocked and contains a number of videos: >> It sounds like you may be disappointed. This is not about how the >> music business works. >> http://www.brainpickings.org/index.php/2010/12/09/how-music-works/ > Is the content in the first video different from that presented in the > second site? > This video is part of a documentary, so it's content should be the same as the original program. Are you able to watch the video? In which country do you live? Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-Internet-Censorship-tp3722715p3723597.html Sent from the Revolution - User mailing list archive at Nabble.com. From bvg at mac.com Sat Aug 6 13:05:12 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Sat, 06 Aug 2011 19:05:12 +0200 Subject: [OT] Internet Censorship In-Reply-To: <84D9DC0D-803A-4242-BD43-AB4F2EF0799B@tamu.edu> References: <84D9DC0D-803A-4242-BD43-AB4F2EF0799B@tamu.edu> Message-ID: So you never even heard of the DMCA, the second most important tool to circumvent any free speech rights in the USA and on the Internet? Try these informations: http://en.wikipedia.org/wiki/Digital_Millennium_Copyright_Act http://en.wikipedia.org/wiki/Lawrence_Lessig http://www.eff.org/issues/dmca http://arstechnica.com/tech-policy/news/2011/08/righthaven-still-angering-judges-finally-pays-for-its-mistakes.ars (specific DMCA miss use, not any worse then regular use tho) Deregulation in favour of gung-ho capitalism is destroying democracy. -- Watch live presentations every Saturday: http://livecode.tv Use an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ From bvg at mac.com Sat Aug 6 13:06:20 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Sat, 06 Aug 2011 19:06:20 +0200 Subject: [ANN] LiveCode.tv event #35 In-Reply-To: References: <6B865405-BBC0-491C-AD25-BFB1C85A2D58@mac.com> <7EC6A85B-DD6B-4138-A597-512A194F4453@mac.com> <89782C22-C6E3-4245-95D1-A48F69423753@mac.com> <061D9182-B34B-4ABB-A7D6-9C2D09DA8755@mac.com> <73F84954-890B-4627-859A-702C8054F13B@mac.com> <093DEF5E-6C0F-4924-A262-F6DBE748ED45@mac.com> <3FB852C9-5675-4A19-9506-543733BB2547@mac.com> <914DF999-596E-4023-A213-9469C6A69FA0@mac.com> <2B105965-FB27-41D0-B95F-1F4C84ADD53B@mac.com> <163225D1-67D1-4CE7-8049-E85A8D94D177@mac.com> <225B0941-5D11-434A-BC0B-CD61B998E9F8@mac.com> <201756EB-9601-417D-856E-5128C5256EF1@mac.com> <081FD717-0A48-447D-90AA-A8F370B14F43@mac.com> <913B7E78-3052-4CF0-9883-C1CDD9F8BDFA@mac.com> <0C1B6D89-1745-46DF-9C49-A5FE2E5B67B9@mac.com> <497CC7C9-74BC-419C-9785-CEA07A8FE181@mac.com> Message-ID: <5512D394-631C-4206-BD7B-082DAD833921@mac.com> We invite you to join the event in about an hour. On 5 Aug 2011, at 16:12, Bj?rnke von Gierke wrote: > Dear Customers > > We have a fancy and exciting method of doing a presentation for you this time around! Paul Townsend has prepared a movie that everyone can download and watch during the event. He will also be in chat to answer questions and comment, but there won't be any stream. The topic of this new way to present will be his fantastic SQLite helper stack. > > Afterwards, the European HyperCard User Group (eHUG, http://www.ehug.info) will raffle off an e-book courtesy of TidBITS. This time around it?s ?Take Control of Using Lion?. > You can find more info on the TC series here: > http://www.takecontrolbooks.com > > Mark Schonewille then talks about ways to distribute shareware and to increase sales by low-budget advertising. He will discuss the Project Wonderful advertising system, Facebook, and a few other methods. > > See you Saturday 20:00 CET on ChatRev. Go to > http://bjoernke.com/chatrev/ > or enter in the message box: > go stack URL ?http://bjoernke.com/chatrev/chatrev1.3b3.rev? > > > Sat. 20:00 Warsaw > Sat. 19:00 London > Sat. 14:00 New York > Sat. 11:00 Los Angeles > Sun. 2:00 Beijing > > Please contact me about how to participate, as we do not have any slots set beyond this next show. > Bj?rnke > > -- > Watch live presentations every Saturday: > http://livecode.tv > > Use an alternative Dictionary viewer: > http://bjoernke.com/bvgdocu/ > > Chat with other RunRev developers: > http://bjoernke.com/chatrev/ > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Watch live presentations every Saturday: http://livecode.tv Use an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ From zellner at tamu.edu Sat Aug 6 13:33:01 2011 From: zellner at tamu.edu (Ronald Zellner) Date: Sat, 6 Aug 2011 12:33:01 -0500 Subject: [OT] Internet Censorship Message-ID: <2BA2950F-5C2F-4F2A-984E-89DF8CDC59FA@tamu.edu> > Ronald Zellner wrote: >> >> This one is not blocked and contains a number of videos: >>> It sounds like you may be disappointed. This is not about how the >>> music business works. >>> http://www.brainpickings.org/index.php/2010/12/09/how-music-works/ >> Is the content in the first video different from that presented in the >> second site? >> > > This video is part of a documentary, so it's content should be > the same as the original program. > > Are you able to watch the video? > In which country do you live? > > Al I'm in the US. Yes, I can see all the videos on this page. Ron From mikekann at yahoo.com Sat Aug 6 13:58:10 2011 From: mikekann at yahoo.com (Michael Kann) Date: Sat, 6 Aug 2011 10:58:10 -0700 (PDT) Subject: Any way to show progress while an ON-REV page is processing a script? In-Reply-To: Message-ID: <1312653490.92261.YahooMailClassic@web161601.mail.bf1.yahoo.com> Bruce, I'm working on something similar. When you write that you have a "list of patent numbers processed by a .lc or .irev page" do you mean that you are going out to fetch the patents each time, or will all the data be on your server? The reason I ask is if the data is on your server it might be better to attack the user delay in your code, rather than work on a progress bar. For example, I'm presenting 993 titles of videos; all in a similar format, but the whole list is different each time. When I started out it took about 6 seconds from button click to the list appearing. After setting up a poor man's index and retooling a few loops I've gotten the return trip down to about 50 milliseconds -- good enough for government work. Mike --- On Sat, 8/6/11, Bruce Pokras wrote: From: Bruce Pokras Subject: Any way to show progress while an ON-REV page is processing a script? To: "How to use LiveCode" Date: Saturday, August 6, 2011, 11:46 AM I have a form that uses POST to get a list of patent numbers processed by a .lc or .irev page. Right now, the whole list has to be processed before the user sees that anything has happened. In my case, once all the patent numbers have been processed, the user will see a page of tables with information about each patent. In my revlet version of this process, it was easy to have a field display the progress of the processing with 1 of 20, 2 of 20, 3 of 20, etc. being displayed in a field as the processing of each patent took place. Is there any way to display a progress indicator while the .lc or .irev page is processing the patent numbers? I have tried a couple of things, such as having a separate "put" command for each patent, but nothing is displayed until all of the patents have been processed. Regards, Bruce Pokras Blazing Dawn 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 mikekann at yahoo.com Sat Aug 6 14:01:11 2011 From: mikekann at yahoo.com (Michael Kann) Date: Sat, 6 Aug 2011 11:01:11 -0700 (PDT) Subject: Any way to show progress while an ON-REV page is processing a script? In-Reply-To: Message-ID: <1312653671.41525.YahooMailClassic@web161608.mail.bf1.yahoo.com> Bruce, You could show them a few results and then have them click for more -- that is what google does. If you wanted to be fancy you could muster up some AJAX to go back and forth without having the user push any buttons. Mike --- On Sat, 8/6/11, Bruce Pokras wrote: From: Bruce Pokras Subject: Any way to show progress while an ON-REV page is processing a script? To: "How to use LiveCode" Date: Saturday, August 6, 2011, 11:46 AM I have a form that uses POST to get a list of patent numbers processed by a .lc or .irev page. Right now, the whole list has to be processed before the user sees that anything has happened. In my case, once all the patent numbers have been processed, the user will see a page of tables with information about each patent. In my revlet version of this process, it was easy to have a field display the progress of the processing with 1 of 20, 2 of 20, 3 of 20, etc. being displayed in a field as the processing of each patent took place. Is there any way to display a progress indicator while the .lc or .irev page is processing the patent numbers? I have tried a couple of things, such as having a separate "put" command for each patent, but nothing is displayed until all of the patents have been processed. Regards, Bruce Pokras Blazing Dawn 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 mikekann at yahoo.com Sat Aug 6 14:46:49 2011 From: mikekann at yahoo.com (Michael Kann) Date: Sat, 6 Aug 2011 11:46:49 -0700 (PDT) Subject: Any way to show progress while an ON-REV page is processing a script? In-Reply-To: Message-ID: <1312656409.93878.YahooMailClassic@web161607.mail.bf1.yahoo.com> Bruce, It looks like the javascript librarians have produced a plethora of progress bars. http://dev.sencha.com/deploy/ext-4.0.0/examples/simple-widgets/progress-bar.html google: js progress bar jquery progress bar Mike --- On Sat, 8/6/11, Bruce Pokras wrote: From: Bruce Pokras Subject: Any way to show progress while an ON-REV page is processing a script? To: "How to use LiveCode" Date: Saturday, August 6, 2011, 11:46 AM I have a form that uses POST to get a list of patent numbers processed by a .lc or .irev page. Right now, the whole list has to be processed before the user sees that anything has happened. In my case, once all the patent numbers have been processed, the user will see a page of tables with information about each patent. In my revlet version of this process, it was easy to have a field display the progress of the processing with 1 of 20, 2 of 20, 3 of 20, etc. being displayed in a field as the processing of each patent took place. Is there any way to display a progress indicator while the .lc or .irev page is processing the patent numbers? I have tried a couple of things, such as having a separate "put" command for each patent, but nothing is displayed until all of the patents have been processed. Regards, Bruce Pokras Blazing Dawn 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 capellan2000 at gmail.com Sat Aug 6 18:39:44 2011 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sat, 6 Aug 2011 15:39:44 -0700 (PDT) Subject: [OT] Internet Censorship In-Reply-To: References: <1312601118358-3722715.post@n4.nabble.com> <84D9DC0D-803A-4242-BD43-AB4F2EF0799B@tamu.edu> Message-ID: <1312670384345-3724172.post@n4.nabble.com> Hi Bj?rnke, Bj?rnke von Gierke wrote: > > So you never even heard of the DMCA, the second most > important tool to circumvent any free speech rights in > the USA and on the Internet? > Notice, please, that Sony is in their legal right to block this video wherever they chose, to protect the commercial rights, for which they paid to the artists or managers or another company. Notice, again, that Sony paid for these rights. If they want, they could forbid forever the public diffusion of any performance of these artists... Forever. No explanation necessary. It's their right. They paid for it. In fact, many artists that sign with a Record label discover this too late. They record an album, hoping to reach their public, but the Record label decide to "shelve" their art. Nobody could complaint, because that was written in the contract, in really small letters, but there was. Today we learn which countries could view blocked Sony videos: England and Japan. That's all folks!!! http://www.youtube.com/watch?v=gBzJGckMYO4 :-D -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-Internet-Censorship-tp3722715p3724172.html Sent from the Revolution - User mailing list archive at Nabble.com. From len-morgan at crcom.net Sat Aug 6 18:44:50 2011 From: len-morgan at crcom.net (Len Morgan) Date: Sat, 06 Aug 2011 17:44:50 -0500 Subject: onRev client problems Message-ID: <4E3DC3E2.6090103@crcom.net> It seems that with the upgrade from the old server to 4.6.3 (and consequently .irev files to .lc files) I can no longer run the debugger in the on-rev client. Is this going to be fixed? Being able to debug code running on the server was one of the main reasons I signed up for on-rev.com len morgan From matthias_livecode at me.com Sat Aug 6 19:27:38 2011 From: matthias_livecode at me.com (Matthias Rebbe) Date: Sun, 07 Aug 2011 01:27:38 +0200 Subject: onRev client problems In-Reply-To: <4E3DC3E2.6090103@crcom.net> References: <4E3DC3E2.6090103@crcom.net> Message-ID: <159617BA-7DD9-4B5A-8B39-EAB733823DF0@me.com> Len, as long as the client is not updated it seems that you have to use the old engine by using the .irev suffix. Regards, Matthias Am 07.08.2011 um 00:44 schrieb Len Morgan: > It seems that with the upgrade from the old server to 4.6.3 (and consequently .irev files to .lc files) I can no longer run the debugger in the on-rev client. Is this going to be fixed? Being able to debug code running on the server was one of the main reasons I signed up for on-rev.com > > len morgan > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From chipp at chipp.com Sat Aug 6 20:18:30 2011 From: chipp at chipp.com (Chipp Walters) Date: Sat, 6 Aug 2011 19:18:30 -0500 Subject: Sean Shao's Calendar Widget In-Reply-To: References: Message-ID: Charles, The wrapper makes it easy to call the calendar widget with a single function call. Please check the dialogdata AFTER the dialog is dismissed, and put your biz logic there, not in the OK or any other button on the widget. On Sat, Aug 6, 2011 at 11:07 AM, Charles Szasz wrote: > Chipp's wrapper for Sean Shao's calendar widget is great! I was able to use > it to call it and insert a date into a field. But I do have a question about > using it in multiple fields. > > This is the script I am using in the OK button of the calendar widget: > > on mouseUp > set the dialogdata to line 1 of fld "log" > > if dialogdata is not empty > then > put item 2 of dialogdata into t --->month > put "/" after t > put item 3 of dialogdata after t --->day > put "/" after t > put item 1 of dialogdata after t --->year > > put t into field "date1" of stack "mileage report" > > close this stack > end if > > end mouseUp > > I tried using selectedField in my script in the OK button of the calendar > widget above but that did not work: > > if selectedField of card "1" stack "mileage report" = field "date2" of card > "1" of stack "mileage report" > then > put t into field "date2" of card "1" of stack "mileage report" > else > answer "It did not work!" > end if > > Any suggestions on how I can resolved this dilemma? > > Thanks for your time! > > Charles Szasz > cszasz 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 > -- Chipp Walters CEO, Shafer Walters Group, Inc. From runrevron at gmail.com Sat Aug 6 20:28:52 2011 From: runrevron at gmail.com (ron barber) Date: Sat, 6 Aug 2011 20:28:52 -0400 Subject: detecting gestures Message-ID: Hi, Is there a way for scrollbar objects to detect two finger swipes like the field object does? If that is not possible, is there a 'swipe' message sent that can be picked up by any other object or is it OS native object related? What I would like to do is have the scrollbar control respond to the swipe like a field does and move across its length. Perhaps there is a workaround? relate the thumbpos to the vscroll of a fld? Thanks Ron From bvg at mac.com Sat Aug 6 20:39:54 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Sun, 07 Aug 2011 02:39:54 +0200 Subject: [OT] Internet Censorship In-Reply-To: <1312670384345-3724172.post@n4.nabble.com> References: <1312601118358-3722715.post@n4.nabble.com> <84D9DC0D-803A-4242-BD43-AB4F2EF0799B@tamu.edu> <1312670384345-3724172.post@n4.nabble.com> Message-ID: <933A5164-DFCF-486A-BAEC-5EBCF5A8DABB@mac.com> No, Sony does not have the right to withhold music or ideas. The law might protect them based on bad legislation, but they're certainly not in the right. Also note that the maximum time such ill-gotten rights could be retained used to be 20 years, never infinite. The law has been extended to 50 in a reform introduced in the late nineties (or similar). Additionally, where content becomes blocked is completely random. That is because the blocks are made based on algorithms, by automated programs. As we all know, programs are dumb, and when used to interpret large data base, also produces largely faulty results. Finally, cheesecake in switzerland does not mean a sweet, yoghurt-based cake as in germany or the usa. Instead it describes a egg and cheese based, salty tartlet / quiche: http://static.zoonar.com/img/www_repository2/c0/e1/32/10_6b0d57087c3745107ad01f9d3b13aa71.jpg > Notice, again, that Sony paid for these rights. If they want, > they could forbid forever the public diffusion of any performance > of these artists... Forever. No explanation necessary. It's their > right. They paid for it. ... > Today we learn which countries could view blocked Sony videos: England and Japan. -- Watch live presentations every Saturday: http://livecode.tv Use an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ From mkoob at rogers.com Sat Aug 6 20:43:11 2011 From: mkoob at rogers.com (Martin Koob) Date: Sat, 6 Aug 2011 17:43:11 -0700 (PDT) Subject: Editing with On-Rev Client (was: Path to start using a stack in On-Rev?) In-Reply-To: <1312375525504-3715315.post@n4.nabble.com> References: <5358CE8A-EBAC-4363-B76E-0ECE3177AC32@earthlink.net> <1312375525504-3715315.post@n4.nabble.com> Message-ID: <1312677791900-3724287.post@n4.nabble.com> I have posted the following bugs to the QCC relating to the On-Rev Editor. #9661 On-Rev Editor - View Online button button is disabled when editing .lc files #9662 On-Rev Editor - Code blocks with are not colourized #9663 On-Rev Editor - Debug button is disabled when editing .lc files. I posted these with the Component set as 'unclassified'. The is no component for On-Rev editor nor LiveCode Server. I posted another bug asking that components be added for these. Bug #9653 -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Editing-with-On-Rev-Client-was-Path-to-start-using-a-stack-in-On-Rev-tp3714377p3724287.html Sent from the Revolution - User mailing list archive at Nabble.com. From mkoob at rogers.com Sat Aug 6 20:47:56 2011 From: mkoob at rogers.com (Martin Koob) Date: Sat, 6 Aug 2011 17:47:56 -0700 (PDT) Subject: onRev client problems In-Reply-To: <159617BA-7DD9-4B5A-8B39-EAB733823DF0@me.com> References: <4E3DC3E2.6090103@crcom.net> <159617BA-7DD9-4B5A-8B39-EAB733823DF0@me.com> Message-ID: <1312678076499-3724291.post@n4.nabble.com> You can edit .lc files and upload them if you add the lc extension to the irev types in On-Rev preferences but the View Online and Debug buttons are disabled. I have posted bugs about this in QCC #9661 and #9663 Martin -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/onRev-client-problems-tp3724188p3724291.html Sent from the Revolution - User mailing list archive at Nabble.com. From chipp at chipp.com Sat Aug 6 20:55:48 2011 From: chipp at chipp.com (Chipp Walters) Date: Sat, 6 Aug 2011 19:55:48 -0500 Subject: Where does survive the inventive user ? In-Reply-To: <780C3653CBD7471396AC291A655DC409@GATEWAY> References: <8CE1A70D9625EA6-2550-214DE@web-mmc-d04.sysops.aol.com> <44857038-F42F-4374-8DA7-F6BCDF16629C@doctorTimothyMiller.com> <1312333252624-3714146.post@n4.nabble.com> <07CC6A87-B45E-4EEF-BB64-A1DD46E26390@sahores-conseil.com> <4C3A9D5DA6CE480D8A6C67C4FB648920@GATEWAY> <780C3653CBD7471396AC291A655DC409@GATEWAY> Message-ID: I think like many other software driven technologies, LC has passed by the basic "inventive" user HC may have been intended for. For instance, I quit using MS Word. It just got too complicated and I don't typically do desktop publishing, or write large books, so I pretty much stick with Google Docs: the MacWrite of it's time. Sadly, as computers and users become more sophisticated, and as their programs continue to evolve with "new, better" features so they can continue to charge for the next upgrade, what is lost is much of the original 'gotcha' germ of attraction. I'm afraid LC is to HyperCard as MS Word is to MacWrite. I'm not sure one can go backwards easily. I'm suspect LC has close to an order of magnitude more tokens than HC-- there's just so much more to learn. Not to mention it now runs on at least half a dozen platforms in many different incarnations. And it needs to support much more on each platform. Back when HC was around, they didn't have to support SQL, or a browser, or even color bit depths more than 1. They didn't have to worry about libURL, image and alphadata, multiple screens, regex, and mutiple flavors of repeat statements. Not to mention all the new messages now recognized, especially in mobile platforms. Even all that said, assuming one could 'dumb down' LC to basic HC levels, and assuming one could write a really nice set of home, address, calendar, etc. demo stacks (didn't Gaskin once write a beginner Address stack or am I dreaming?), does anyone really think HyperCard, reimagined as LC, would actually gain traction in today's world? Remember, back when HC was born, there was no Internet, or really much in the way of email, so folks who wanted to 'invent' really didn't have much OTHER than HyperCard and Basic (which pretty much sucked). From m.schonewille at economy-x-talk.com Sat Aug 6 21:02:00 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 7 Aug 2011 03:02:00 +0200 Subject: Distributing iOS externals In-Reply-To: References: Message-ID: Does nobody have experience with iOS externals yet? On 5 aug 2011, at 03:03, Mark Schonewille wrote: > Hi, > > I just made two externals, one that reads the battery level (following the RunRev tutorial) and another one that returns the localized device model. Now I need to distribute these externals. > > It isn't clear to me whether I can just sign an external with my own provision profile for distribution and send it to someone who includes it in his LiveCode project and creates a standalone with his own provision profile. Can I distribute the signed external or do I have to send the source code to the client? (The client would rather not compile the external). > > Is there any info available about 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 > > What does that error mean? Buy LiveCodeErrors for iPhone now http://qery.us/v4 A must-have for LiveCode programmers. From mcgrath3 at mac.com Sat Aug 6 21:03:08 2011 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Sat, 06 Aug 2011 21:03:08 -0400 Subject: Airlaunch 1.0b2 In-Reply-To: <4E3C20C1.2030006@hyperactivesw.com> References: <4E3ACF36.4000508@hyperactivesw.com> <3F442B4F-E19B-4CBA-AEB6-9AE5A99CAFEC@mac.com> <4E3C20C1.2030006@hyperactivesw.com> Message-ID: <4D71BBC3-BDFB-43AB-9731-9227ABFF8B36@mac.com> I can't get this to work for me. I used an app that I had installed previously on the iPad but I just get a null error. -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On Aug 5, 2011, at 12:56 PM, J. Landman Gay wrote: > On 8/5/11 9:16 AM, Bj?rnke von Gierke wrote: >> Sooo.. silly banter aside, what is this thing, what can it do for me >> and when to use it? > > But BvG, it is so clear to me -- what happened to your telepathy skills? ;) > > AirLaunch lets you bypass Apple's methods of installing your test apps on iOS devices, and lets you install via a wi-fi connection instead. Normally to install a newly built app for testing, you must connect the device to your Mac via USB cable, launch either iTunes or XCode, and drag your standalone there. If you're in iTunes, you also have to wait for a synch. > > AirLaunch bypasses all that. It builds a set of files that you copy to a server or your Dropbox. (Using Dropbox is the easiest way for now, very quick.) On the device, you open a browser (or the Dropbox app,) tap a link, and your app installs. You don't need to mess with cabling, synching, or launching an Apple application. > >> >> You really should up your [ANN] count, so you can get better at it >> :P > > You're right. I'm almost finished testing scripts that upload to the server from within AirLaunch, which will make installation even easier. When that's done, I'll [ANN] with more care. :) > > -- > 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 Sat Aug 6 21:57:08 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 06 Aug 2011 20:57:08 -0500 Subject: Airlaunch 1.0b2 In-Reply-To: <4D71BBC3-BDFB-43AB-9731-9227ABFF8B36@mac.com> References: <4E3ACF36.4000508@hyperactivesw.com> <3F442B4F-E19B-4CBA-AEB6-9AE5A99CAFEC@mac.com> <4E3C20C1.2030006@hyperactivesw.com> <4D71BBC3-BDFB-43AB-9731-9227ABFF8B36@mac.com> Message-ID: <4E3DF0F4.5090900@hyperactivesw.com> On 8/6/11 8:03 PM, Thomas McGrath III wrote: > I can't get this to work for me. I used an app that I had installed > previously on the iPad but I just get a null error. Thanks for testing Tom, I'll follow up with you offlist. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sat Aug 6 22:00:04 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 06 Aug 2011 21:00:04 -0500 Subject: Airlaunch 1.0b2 In-Reply-To: <4D71BBC3-BDFB-43AB-9731-9227ABFF8B36@mac.com> References: <4E3ACF36.4000508@hyperactivesw.com> <3F442B4F-E19B-4CBA-AEB6-9AE5A99CAFEC@mac.com> <4E3C20C1.2030006@hyperactivesw.com> <4D71BBC3-BDFB-43AB-9731-9227ABFF8B36@mac.com> Message-ID: <4E3DF1A4.1080004@hyperactivesw.com> On 8/6/11 8:03 PM, Thomas McGrath III wrote: > I can't get this to work for me. I used an app that I had installed > previously on the iPad but I just get a null error. Hi, thanks for trying the app. Could you tell me more about the error? When it occurs, at which stage, etc.? A recipe if you have it would be great, I haven't heard about this particular error yet. If the installation works and the app then hangs near the end of "loading", that's usually a provisioning profile issue. Are you able to get that far? Jacque -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sat Aug 6 22:05:46 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 06 Aug 2011 21:05:46 -0500 Subject: Airlaunch 1.0b2 In-Reply-To: <4E3DF1A4.1080004@hyperactivesw.com> References: <4E3ACF36.4000508@hyperactivesw.com> <3F442B4F-E19B-4CBA-AEB6-9AE5A99CAFEC@mac.com> <4E3C20C1.2030006@hyperactivesw.com> <4D71BBC3-BDFB-43AB-9731-9227ABFF8B36@mac.com> <4E3DF1A4.1080004@hyperactivesw.com> Message-ID: <4E3DF2FA.9050100@hyperactivesw.com> Oops. Forgot to change the address. Sorry. On 8/6/11 9:00 PM, J. Landman Gay wrote: > On 8/6/11 8:03 PM, Thomas McGrath III wrote: >> I can't get this to work for me. I used an app that I had installed >> previously on the iPad but I just get a null error. > > > Hi, thanks for trying the app. Could you tell me more about the error? > When it occurs, at which stage, etc.? A recipe if you have it would be > great, I haven't heard about this particular error yet. > > If the installation works and the app then hangs near the end of > "loading", that's usually a provisioning profile issue. Are you able to > get that far? > > Jacque > -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From capellan2000 at gmail.com Sat Aug 6 23:03:25 2011 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sat, 6 Aug 2011 20:03:25 -0700 (PDT) Subject: Where does survive the inventive user ? In-Reply-To: References: <8CE1A70D9625EA6-2550-214DE@web-mmc-d04.sysops.aol.com> <44857038-F42F-4374-8DA7-F6BCDF16629C@doctorTimothyMiller.com> <1312333252624-3714146.post@n4.nabble.com> <07CC6A87-B45E-4EEF-BB64-A1DD46E26390@sahores-conseil.com> <4C3A9D5DA6CE480D8A6C67C4FB648920@GATEWAY> <780C3653CBD7471396AC291A655DC409@GATEWAY> Message-ID: <1312686205797-3724370.post@n4.nabble.com> Hi Chipp, I agree with your commentary about the differences between Now and Then. Everyone agrees that this platform needs more exposure and in a previous message, I asked about the possibility of creating some plug-in to use LiveCode as an alternate scripting language in Open Office: http://framework.openoffice.org/scripting/release-0.2/index.html http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/Scripting/How_the_Scripting_Framework_Works The advantages of using LiveCode are notable, while working with text, words, lines... What do you think of this idea? Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Where-does-survive-the-inventive-user-tp3698117p3724370.html Sent from the Revolution - User mailing list archive at Nabble.com. From pete at mollysrevenge.com Sun Aug 7 00:15:39 2011 From: pete at mollysrevenge.com (Pete) Date: Sat, 6 Aug 2011 21:15:39 -0700 Subject: REsolving Behavior References Message-ID: Quoting the dictionary: "Behaviors are resolved by LiveCode immediately after loading a stack file" Does that mean there is no opportunity to write a script to point LC to an external library file containing behavior scripts? I have been unsuccessful trying to do that in preOpenStack of the main stack or preOpenCard of a card in the main stack. The only way I have found to do this is by setting the stackfiles property of the main stack to point to my behavior library. Even then, I have to exit LC and rerun for that to take effect. My behavior references do not include the fully qualified stack file name, they are of the form "button ID of stack "behaviorstack". This is because I want the flexibility of using separate versions of the behaviors for development and live apps. Richard - I know you have a QCC entry to provide a command to resolve behaviors at any time and I have put the full force of my 5 puny votes behind it! Or maybe I'm just not understanding the behavior mechanism fully.... Pete Molly's Revenge From scott at elementarysoftware.com Sun Aug 7 00:41:02 2011 From: scott at elementarysoftware.com (Scott Morrow) Date: Sat, 6 Aug 2011 21:41:02 -0700 Subject: onRev client problems In-Reply-To: <1312678076499-3724291.post@n4.nabble.com> References: <4E3DC3E2.6090103@crcom.net> <159617BA-7DD9-4B5A-8B39-EAB733823DF0@me.com> <1312678076499-3724291.post@n4.nabble.com> Message-ID: <128D0B64-A31D-4BCC-9734-BF739A61BC21@elementarysoftware.com> Martin, Thanks for creating the bug reports. Scott Morrow Elementary Software (Now with 20% less chalk dust!) web http://elementarysoftware.com/ email scott at elementarysoftware.com ------------------------------------------------------ On Aug 6, 2011, at 5:47 PM, Martin Koob wrote: > You can edit .lc files and upload them if you add the lc extension to the > irev types in On-Rev preferences but the View Online and Debug buttons are > disabled. > > I have posted bugs about this in QCC #9661 and #9663 > > Martin > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/onRev-client-problems-tp3724188p3724291.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 mkoob at rogers.com Sun Aug 7 09:15:52 2011 From: mkoob at rogers.com (Martin Koob) Date: Sun, 7 Aug 2011 06:15:52 -0700 (PDT) Subject: [Server] create stack trouble In-Reply-To: <1312596414009-3722633.post@n4.nabble.com> References: <1312594846940-3722610.post@n4.nabble.com> <1312596414009-3722633.post@n4.nabble.com> Message-ID: <1312722952069-3724846.post@n4.nabble.com> I have added an enhancement request to the QCC to have 'save stack' implemented on LiveCode Server, Report #9664 Is there another way to save a stack that I am missing? Is there a reason why allowing LiveCode server to save stacks would not be a good idea? I see it could be a way to store data without having to use a database. Poking around with stacks in LiveCode server has reminded me of starting out with Hypercard and realizing how it could be used to store and categorize information using stacks, substacks and cards. However if you can't save the stacks you have to store the data in a database and each time a page is loaded recreate the set of stacks and cards. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Server-create-stack-trouble-tp3721781p3724846.html Sent from the Revolution - User mailing list archive at Nabble.com. From janschenkel at yahoo.com Sun Aug 7 10:26:14 2011 From: janschenkel at yahoo.com (Jan Schenkel) Date: Sun, 7 Aug 2011 07:26:14 -0700 (PDT) Subject: [Server] create stack trouble In-Reply-To: <1312722952069-3724846.post@n4.nabble.com> References: <1312594846940-3722610.post@n4.nabble.com> <1312596414009-3722633.post@n4.nabble.com> <1312722952069-3724846.post@n4.nabble.com> Message-ID: <1312727174.92291.YahooMailNeo@web65410.mail.ac4.yahoo.com> I couldn't help but wonder why you wanted to save stacks from LiveCode Server. The important part of this support is the ability to share business logic between desktop, mobile and server applications. Storing data is an enticing idea, but flawed: stacks are not a multi-user data storage infrastructure. Invocations of your .lc script from multiple clients may come in any order, and some processing may take longer. And what if a user is impatient, hits the back button in his browser and pushes the same data again? Stick with databases for storage, especially in multi-user scenarios - it's what the things were built for :-) 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) ----- Original Message ----- From: Martin Koob To: use-revolution at lists.runrev.com Cc: Sent: Sunday, August 7, 2011 3:15 PM Subject: Re: [Server] create stack trouble I have added an enhancement request to the QCC to have 'save stack' implemented on LiveCode Server, Report #9664 Is there another way to save a stack that I am missing? Is there a reason why allowing LiveCode server to save stacks would not be a good idea? I see it could be a way to store data without having to use a database. Poking around with stacks in LiveCode server has reminded me of starting out with Hypercard and realizing how it could be used to store and categorize information using stacks, substacks and cards.? However if you can't save the stacks you have to store the data? in a database and? each time a page is loaded recreate the set of stacks and cards. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Server-create-stack-trouble-tp3721781p3724846.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 keith.clarke at clarkeandclarke.co.uk Sun Aug 7 12:27:36 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Sun, 7 Aug 2011 17:27:36 +0100 Subject: [Server] create stack trouble In-Reply-To: <1312722952069-3724846.post@n4.nabble.com> References: <1312594846940-3722610.post@n4.nabble.com> <1312596414009-3722633.post@n4.nabble.com> <1312722952069-3724846.post@n4.nabble.com> Message-ID: Why create stacks when LiveCode Server can manage data via text files or databases - the orthodox data storage options for multi-user server environments, which come complete with robust security models? If the data is structured and suits a database approach, the inherent data storage aspects of stack, cards, fields, variables and custom properties (including arrays) can be mapped onto a data-set in a database (tables, records, fields, rows). If databases are to be avoided - or if the data doesn't suit a database architecture - the LiveCode application structure can be mapped to a file-based storage model instead (folders, files, lines, line-items). Best, Keith.. On 7 Aug 2011, at 14:15, Martin Koob wrote: > I have added an enhancement request to the QCC to have 'save stack' > implemented on LiveCode Server, Report #9664 > > Is there another way to save a stack that I am missing? > > Is there a reason why allowing LiveCode server to save stacks would not be a > good idea? > > I see it could be a way to store data without having to use a database. > Poking around with stacks in LiveCode server has reminded me of starting out > with Hypercard and realizing how it could be used to store and categorize > information using stacks, substacks and cards. However if you can't save > the stacks you have to store the data in a database and each time a page > is loaded recreate the set of stacks and cards. > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Server-create-stack-trouble-tp3721781p3724846.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 mkoob at rogers.com Sun Aug 7 13:01:44 2011 From: mkoob at rogers.com (Martin Koob) Date: Sun, 7 Aug 2011 10:01:44 -0700 (PDT) Subject: [Server] create stack trouble In-Reply-To: <1312727174.92291.YahooMailNeo@web65410.mail.ac4.yahoo.com> References: <1312594846940-3722610.post@n4.nabble.com> <1312596414009-3722633.post@n4.nabble.com> <1312722952069-3724846.post@n4.nabble.com> <1312727174.92291.YahooMailNeo@web65410.mail.ac4.yahoo.com> Message-ID: <1312736504006-3725243.post@n4.nabble.com> Hi, I guess I was just wondering how the new feature of being able to use stacks could be useful in designing web applications. I was not really thinking of multi user sites but something where one user is updating a blog or static content or something like that. As I was thinking about this I read Andre's bootstrapping a CMS in 48 hours.http://andregarzia.com/page/bootstrappingacms There he decided to use text files instead of databases to store pages so I was wondering if you could do the same way using stacks, substacks and cards. You could create stacks with the LiveCode IDE and upload them but I thought what possibilities would there be if you could create and modify them on the fly in using LiveCode server. Martin -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Server-create-stack-trouble-tp3721781p3725243.html Sent from the Revolution - User mailing list archive at Nabble.com. From chipp at chipp.com Sun Aug 7 14:08:09 2011 From: chipp at chipp.com (Chipp Walters) Date: Sun, 7 Aug 2011 13:08:09 -0500 Subject: Where does survive the inventive user ? In-Reply-To: <1312686205797-3724370.post@n4.nabble.com> References: <8CE1A70D9625EA6-2550-214DE@web-mmc-d04.sysops.aol.com> <44857038-F42F-4374-8DA7-F6BCDF16629C@doctorTimothyMiller.com> <1312333252624-3714146.post@n4.nabble.com> <07CC6A87-B45E-4EEF-BB64-A1DD46E26390@sahores-conseil.com> <4C3A9D5DA6CE480D8A6C67C4FB648920@GATEWAY> <780C3653CBD7471396AC291A655DC409@GATEWAY> <1312686205797-3724370.post@n4.nabble.com> Message-ID: Al, While certainly LC would be wonderful as a scripting language for Open Office, there are significant business issues which come to mind preventing such use. The most obvious being LC is not Open Source. IMO, Open Office is not enough of a "draw" to warrant LC swallowing the open source pill. On Saturday, August 6, 2011, Alejandro Tejada wrote: > Hi Chipp, > > I agree with your commentary about the differences > between Now and Then. > > Everyone agrees that this platform needs more > exposure and in a previous message, I asked about > the possibility of creating some plug-in to use > LiveCode as an alternate scripting language > in Open Office: > > http://framework.openoffice.org/scripting/release-0.2/index.html > http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/Scripting/How_the_Scripting_Framework_Works > > The advantages of using LiveCode are > notable, while working with text, words, > lines... > > What do you think of this idea? > > Al > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Where-does-survive-the-inventive-user-tp3698117p3724370.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 > -- Chipp Walters CEO, Shafer Walters Group, Inc. From johnpatten at mac.com Sun Aug 7 15:21:38 2011 From: johnpatten at mac.com (John Patten) Date: Sun, 07 Aug 2011 12:21:38 -0700 Subject: iREv mysql and revexecuteSQL problem? Message-ID: Hi All... (sending this in two parts, I tried to send it before but never saw it show up on list...length maybe?) First Part: I'm still having problems with a irev mysql file. I'm attempting to create a new record in a table. The new record gets created by I still seem to get errors reported back. Here's what I have. >From the rev stack: on mouseUp set the itemDel to Tab put cd fld "tradeeID" of cd 3 into tTradeeID put cd fld "playerID" of cd 3 into tPlayerID put item 2 of cd fld "myItem" of cd 3 into tMyItem put item 2 of cd fld "theirItem" of cd 3 into tTheirItem put tTradeeID & tab & tPlayerID & tab & tMyItem & tab & tTheirItem into tTradeVariables put "mymessage="&URLEncode(tTradeVariables) into tTradeVariables post tTradeVariables to URL "http://myaccount.on-rev.com/conference/offertrade.irev " put it into tData if tData is a number then answer info "New record added." else answer error "There was a problem updating the record to the database:" & cr & tData end if end mouseUp John Patten SUSD From capellan2000 at gmail.com Sun Aug 7 16:16:31 2011 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sun, 7 Aug 2011 13:16:31 -0700 (PDT) Subject: Where does survive the inventive user ? In-Reply-To: References: <1312333252624-3714146.post@n4.nabble.com> <07CC6A87-B45E-4EEF-BB64-A1DD46E26390@sahores-conseil.com> <4C3A9D5DA6CE480D8A6C67C4FB648920@GATEWAY> <780C3653CBD7471396AC291A655DC409@GATEWAY> <1312686205797-3724370.post@n4.nabble.com> Message-ID: <1312748191184-3725548.post@n4.nabble.com> But, Is really necessary to embrace open source to use Livecode as scripting language in Open Office? Notice that iPad, iPhone and iPod uses C# and Android uses Java... When you create applications for these platforms, LiveCode apps does not get compiled as C# and Java executables? This means that there a way to use propietary code along open source languages. Please, tell me if I am wrong about these assumptions. Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Where-does-survive-the-inventive-user-tp3698117p3725548.html Sent from the Revolution - User mailing list archive at Nabble.com. From bvg at mac.com Sun Aug 7 16:37:12 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Sun, 07 Aug 2011 22:37:12 +0200 Subject: [Server] create stack trouble In-Reply-To: <1312736504006-3725243.post@n4.nabble.com> References: <1312594846940-3722610.post@n4.nabble.com> <1312596414009-3722633.post@n4.nabble.com> <1312722952069-3724846.post@n4.nabble.com> <1312727174.92291.YahooMailNeo@web65410.mail.ac4.yahoo.com> <1312736504006-3725243.post@n4.nabble.com> Message-ID: <725EDF32-3500-4E3B-8F78-79EB43FC3988@mac.com> I would love to use stacks instead of files. Millions of sites work just fine saving stuff into files, despite them not being multi user save or anything weird like that. More importantly, stacks should work like stacks everywhere, and not partially on mobile, partially (but different) as revlets and again partially (but even more different) on server. Reliability of the feature set is convenience, and convenience is a feature. "Code once, deploy everywhere" used to be a feature, and I still faintly remember those times. -- Watch live presentations every Saturday: http://livecode.tv Use an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ From jacque at hyperactivesw.com Sun Aug 7 18:12:00 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 07 Aug 2011 17:12:00 -0500 Subject: Converting HTTP to FTP URL Message-ID: <4E3F0DB0.1050306@hyperactivesw.com> I need a way to convert a web URL to a valid FTP URL. For example, convert this: http://www.domain.com/folder/file.txt to this: ftp://user:pass at domain.com/webroot/folder/file.txt Not all servers use "public_html" so I can't just hard-code that as the web root. Is there a generic way to indicate the web folder on a server, the same way a tilde indicates the user's home folder? Or any other way to get the path? The user name and password are known. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mwieder at ahsoftware.net Sun Aug 7 18:12:20 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 7 Aug 2011 15:12:20 -0700 Subject: Where does survive the inventive user ? In-Reply-To: <1312748191184-3725548.post@n4.nabble.com> References: <1312333252624-3714146.post@n4.nabble.com> <07CC6A87-B45E-4EEF-BB64-A1DD46E26390@sahores-conseil.com> <4C3A9D5DA6CE480D8A6C67C4FB648920@GATEWAY> <780C3653CBD7471396AC291A655DC409@GATEWAY> <1312686205797-3724370.post@n4.nabble.com> <1312748191184-3725548.post@n4.nabble.com> Message-ID: <1551540152609.20110807151220@ahsoftware.net> Alejandro- It's not nearly that simple. Here's an example: http://www.infoworld.com/d/application-development/oracle-javas-worst-enemy-168828 -- -Mark Wieder mwieder at ahsoftware.net From jacque at hyperactivesw.com Sun Aug 7 18:22:04 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 07 Aug 2011 17:22:04 -0500 Subject: Converting HTTP to FTP URL In-Reply-To: <4E3F0DB0.1050306@hyperactivesw.com> References: <4E3F0DB0.1050306@hyperactivesw.com> Message-ID: <4E3F100C.40208@hyperactivesw.com> On 8/7/11 5:12 PM, J. Landman Gay wrote: > I need a way to convert a web URL to a valid FTP URL. For example, > convert this: > > http://www.domain.com/folder/file.txt > > to this: > > ftp://user:pass at domain.com/webroot/folder/file.txt > > Not all servers use "public_html" so I can't just hard-code that as the > web root. Is there a generic way to indicate the web folder on a server, > the same way a tilde indicates the user's home folder? Or any other way > to get the path? > > The user name and password are known. > Just to clariy: I tried inserting the "www" alias into the path, since virtually all servers support that. It works with primary domains but it fails with subdomains. Basically I'm looking for a way to force ftp to resolve the "www.domain" part of the URL to an absolute path. My tests so far seem to indicate that any initial "www" in the path is ignored with ftp. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From rman at free.fr Sun Aug 7 18:38:18 2011 From: rman at free.fr (Robert Mann) Date: Sun, 7 Aug 2011 15:38:18 -0700 (PDT) Subject: [Server] create stack trouble In-Reply-To: References: <1312594846940-3722610.post@n4.nabble.com> <1312596414009-3722633.post@n4.nabble.com> <1312722952069-3724846.post@n4.nabble.com> Message-ID: <1312756698247-3725740.post@n4.nabble.com> Why create and save stacks? To use stacks in publishing process :: "one to many", where one author or a reduced number of persons update some hierchical and finally structured datas. That's what I hope I can now do with these stacks long awaited! Relationnal database is of course much needed in a many to many kind of process, but not in that precise "publishing" situation. Or do I miss something? So yes it would be deceiving to learn stacks cannot be saved in the server environnment! -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Server-create-stack-trouble-tp3721781p3725740.html Sent from the Revolution - User mailing list archive at Nabble.com. From lan.kc.macmail at gmail.com Sun Aug 7 20:36:54 2011 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Mon, 8 Aug 2011 08:36:54 +0800 Subject: Where does survive the inventive user ? In-Reply-To: <780C3653CBD7471396AC291A655DC409@GATEWAY> References: <8CE1A70D9625EA6-2550-214DE@web-mmc-d04.sysops.aol.com> <44857038-F42F-4374-8DA7-F6BCDF16629C@doctorTimothyMiller.com> <1312333252624-3714146.post@n4.nabble.com> <07CC6A87-B45E-4EEF-BB64-A1DD46E26390@sahores-conseil.com> <4C3A9D5DA6CE480D8A6C67C4FB648920@GATEWAY> <780C3653CBD7471396AC291A655DC409@GATEWAY> Message-ID: I find it interesting that we've identified that a couple of things that made HyperCard great was that it was initially free with every Mac and it came with loads of free examples. I'm not sure that it was targeted towards inventive users, but just a continuation of the philosophy that as computers got smarter and smarter, it should be possible to make programing them easier and easier. Bill Atkinson and Dan Winkler were so successful in achieving their goal of simplifying programming that suddenly 'average' people discovered they could program their Mac. Suddenly BBS were inundated with 1000s of variations of probably only a small number of base stacks - address books, flash cards, collection inventories etc... So why do we think the inventive user has been left behind, when, IMO, history has virtually repeated itself. Apple gave Xcode and the iOS SDK away for free along with an abundance of free examples and tutorials. Whilst the number of iApps at the AppStore may not exceed the total number of stacks that were in the public domain I would counter that I truly believe that the current variety of differentiated iApps far exceeds the number of defferentiated stacks. But as Chipp quite correctly pointed out, this has a lot to do with the fact we have Browsers, DBs, video, GPS, WiFi etc etc today. I think the inventive user is extremely well represented at the AppStore. If a kid writes an App for his mum so she can find where she parked her car isn't a classic example of an inventive user, I don't know what is. There is also no way of knowing how many iApps are out there that aren't on the AppStore. I must have at least 100 LC stacks that are for no one but me. I have 2 LC Mobile stacks that reside only on my iPhone. Is Xcode as easy to use as LiveCode. No way, but that doesn't mean the inventive user has been left behind, just that my particular way of thinking isn't geared to C#. IMO I think it is a huge mistake that Apple charges you for the privilege of uploading your own program onto your own phone. I think this provides just as much a barrier to the inventive user as charging for the programming environment. Interesting that the iOS developer program and LC Personal cost about the same. IMO, if Apple changed it's charging policy and made it free to upload to your personal phone, this would open the door to many many more inventive users, unfortunately for RunRev, the same can not be said for making LC free - but this has more to do with brand presence than the actual dollar value. I have no problem whatsoever with Apple charging for the providing a quality control service before allowing an iApp make it into the AppStore. 20 yrs ago I would have paid for a CD full of FREE stacks if someone guaranteed that none of them would crash my computer. My personal view of the inventive user is they tackle a small task where the problem to solution cycle needs to be the right combination of quick, cheap and easy. HC was all that, even when they started charging for it. The cost of getting into iOS apps is actually cheaper than what they use to charge for HC. It may not be as quick and easy as HC, but clearly it must still be the right combination for many. The inventive user is still out their! On Fri, Aug 5, 2011 at 6:27 AM, Lynn Fredricks < lfredricks at proactive-intl.com> wrote: > > But clearly, having NONE is not the answer. > > Given the market now - is there an heir to the inventive user of > significant > potential size, > > From mwieder at ahsoftware.net Sun Aug 7 21:35:47 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 7 Aug 2011 18:35:47 -0700 Subject: Converting HTTP to FTP URL In-Reply-To: <4E3F100C.40208@hyperactivesw.com> References: <4E3F0DB0.1050306@hyperactivesw.com> <4E3F100C.40208@hyperactivesw.com> Message-ID: <1011552359312.20110807183547@ahsoftware.net> Jacque- How "generic" a solution are you looking for? Obviously you're not looking for the trivial "file.txt" because if you could get it from http why would you need ftp... Just because a site has a web server there's no guarantee that there's also an ftp server. So I gather that you know the username and password of a given site, you're sure that both http and ftp services are available, but you don't know the site address? I'm having trouble putting that together. Can you give more details without giving away anything you don't want to? Are you trying to upload or download (or both) files via ftp? -- -Mark Wieder mwieder at ahsoftware.net From massung at gmail.com Sun Aug 7 23:05:29 2011 From: massung at gmail.com (Jeffrey Massung) Date: Sun, 07 Aug 2011 21:05:29 -0600 Subject: Converting HTTP to FTP URL In-Reply-To: <4E3F0DB0.1050306@hyperactivesw.com> References: <4E3F0DB0.1050306@hyperactivesw.com> Message-ID: <4E3F5279.6000605@gmail.com> On 08/07/2011 04:12 PM, J. Landman Gay wrote: > I need a way to convert a web URL to a valid FTP URL. For example, > convert this: > > http://www.domain.com/folder/file.txt > > to this: > > ftp://user:pass at domain.com/webroot/folder/file.txt > > Not all servers use "public_html" so I can't just hard-code that as > the web root. Is there a generic way to indicate the web folder on a > server, the same way a tilde indicates the user's home folder? Or any > other way to get the path? Jacqueline, This cannot be done unless you control the web server. A *lot* of web servers now-a-days are not Apache (and its derivatives), but rather routing servers like Django, Happstack, Snap, AllegroServe, etc. Routing web frameworks allow you to literally host source files anywhere. For example, using Happstack I can say something like (forgive the Haskell code): route = msum [ file "file.txt" $ serveFile "/home/someUsername/files/blah.wav" ] As you can see, what was requested has absolutely nothing to do with what was actually served to the browser. So, the only way you can begin to solve this issue is if you have direct access to the web server and know how it's routing and serving static content. Jeff M. From bobs at twft.com Sun Aug 7 23:49:29 2011 From: bobs at twft.com (Bob Sneidar) Date: Sun, 7 Aug 2011 20:49:29 -0700 Subject: Sean Shao's Calendar Widget In-Reply-To: References: Message-ID: <77BDC797-4195-49B7-97F2-22F5048DFB91@twft.com> I happen to need this now. I looked on the run rev store but do not see it for sale. I browsed for it but could not find sean's site. If anyone has a buy link it would be appreciated. The wrapper will be nice too. Bob Sent from my iPad On Aug 6, 2011, at 5:18 PM, Chipp Walters wrote: > Charles, > > The wrapper makes it easy to call the calendar widget with a single function > call. Please check the dialogdata AFTER the dialog is dismissed, and put > your biz logic there, not in the OK or any other button on the widget. > > On Sat, Aug 6, 2011 at 11:07 AM, Charles Szasz wrote: > >> Chipp's wrapper for Sean Shao's calendar widget is great! I was able to use >> it to call it and insert a date into a field. But I do have a question about >> using it in multiple fields. >> >> This is the script I am using in the OK button of the calendar widget: >> >> on mouseUp >> set the dialogdata to line 1 of fld "log" >> >> if dialogdata is not empty >> then >> put item 2 of dialogdata into t --->month >> put "/" after t >> put item 3 of dialogdata after t --->day >> put "/" after t >> put item 1 of dialogdata after t --->year >> >> put t into field "date1" of stack "mileage report" >> >> close this stack >> end if >> >> end mouseUp >> >> I tried using selectedField in my script in the OK button of the calendar >> widget above but that did not work: >> >> if selectedField of card "1" stack "mileage report" = field "date2" of card >> "1" of stack "mileage report" >> then >> put t into field "date2" of card "1" of stack "mileage report" >> else >> answer "It did not work!" >> end if >> >> Any suggestions on how I can resolved this dilemma? >> >> Thanks for your time! >> >> Charles Szasz >> cszasz 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 >> > > > > -- > Chipp Walters > CEO, Shafer Walters Group, Inc. > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Aug 7 23:49:52 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 07 Aug 2011 22:49:52 -0500 Subject: Converting HTTP to FTP URL In-Reply-To: <4E3F5279.6000605@gmail.com> References: <4E3F0DB0.1050306@hyperactivesw.com> <4E3F5279.6000605@gmail.com> Message-ID: <4E3F5CE0.7020607@hyperactivesw.com> On 8/7/11 10:05 PM, Jeffrey Massung wrote: > So, the only way you can begin to solve this issue is if you have direct > access to the web server and know how it's routing and serving static > content. I'll answer you and Mark Weider at the same time. I'm trying to add auto-upload to AirLaunch. It mostly works. I can only upload via ftp (http isn't usually accepted, I don't think, even if you provide a name and password. At least, it doesn't work on my hosted account.) There is already a place in the stack for the user to enter the http URL where their installation files will be downloaded from. That URL is required for setting up the wi-fi installation, so AirLaunch already has that. I could ask the user for a separate FTP upload URL but I'd rather not if I don't have to. What would be better is to take their HTTP URL and convert it to a valid FTP URL which will only be used internally by AirLaunch to get their files onto their server. On both my main hosted server and at my site on on-rev, changing the htpp URL works if I add "www" after the domain part of the path. That allows an ftp upload to resolve the www alias, and the rest of the path is the same as the http URL. Easy, and no hassle for the user. But when testing with a subdomain, that method creates a new "www" folder inside the subdomain, which isn't what's wanted. So I'd like a generic way to create a valid FTP path from a known HTTP path, one that works with primary domains as well as subdomains. It sounds like I may have to ask the user to provide both paths. But that makes everything more complex because the two paths are slightly different, the user needs to know the distinction between web-relative paths and absolute paths and what their web root folder is called, and I'd rather avoid the support issues around that if I can. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From shaosean at wehostmacs.com Mon Aug 8 00:04:04 2011 From: shaosean at wehostmacs.com (Shao Sean) Date: Mon, 8 Aug 2011 00:04:04 -0400 Subject: Sean Shao's Calendar Widget Message-ID: <3B14C621-0788-4025-8D2B-EF587435EBE0@wehostmacs.com> It was released in to the public domain (full source) so you really shouldn't have to pay anything for it.. No idea about the wrapper though so you may incur a charge there.. From jimaultwins at yahoo.com Mon Aug 8 01:32:47 2011 From: jimaultwins at yahoo.com (Jim Ault) Date: Sun, 7 Aug 2011 22:32:47 -0700 (PDT) Subject: Converting HTTP to FTP URL In-Reply-To: <4E3F5CE0.7020607@hyperactivesw.com> Message-ID: <1312781567.19710.YahooMailClassic@web120530.mail.ne1.yahoo.com> --- On Sun, 8/7/11, J. Landman Gay wrote: From: J. Landman Gay Subject: Re: Converting HTTP to FTP URL To: "How to use LiveCode" Date: Sunday, August 7, 2011, 8:49 PM On 8/7/11 10:05 PM, Jeffrey Massung wrote: > So, the only way you can begin to solve this issue is if you have direct > access to the web server and know how it's routing and serving static > content. I'll answer you and Mark Weider at the same time. I'm trying to add auto-upload to AirLaunch. It mostly works. I can only upload via ftp (http isn't usually accepted, I don't think, even if you provide a name and password. At least, it doesn't work on my hosted account.) There is already a place in the stack for the user to enter the http URL where their installation files will be downloaded from. That URL is required for setting up the wi-fi installation, so AirLaunch already has that. I could ask the user for a separate FTP upload URL but I'd rather not if I don't have to. What would be better is to take their HTTP URL and convert it to a valid FTP URL which will only be used internally by AirLaunch to get their files onto their server. On both my main hosted server and at my site on on-rev, changing the htpp URL works if I add "www" after the domain part of the path. That allows an ftp upload to resolve the www alias, and the rest of the path is the same as the http URL. Easy, and no hassle for the user. But when testing with a subdomain, that method creates a new "www" folder inside the subdomain, which isn't what's wanted. So I'd like a generic way to create a valid FTP path from a known HTTP path, one that works with primary domains as well as subdomains. It sounds like I may have to ask the user to provide both paths. But that makes everything more complex because the two paths are slightly different, the user needs to know the distinction between web-relative paths and absolute paths and what their web root folder is called, and I'd rather avoid the support issues around that if I can. ----------------------------------------------------------------------- ........and now, Jaque, we are back to the begining of the circle of confusion If subdomains are allowed on a server, then each should logically have every nested folder with separate permissions, such as ?cgi-bin/??? www/?? public_ftp/???? private_ftp/?? public_html/ (on my server, the cgi-bin/ folder is created when I create the subdomain, but it is the only one) One question is "If a subdomain is specified, why would you want to give access to the root domain folders (that should have different permissions)? You can have a blog root at? www.GreatLcAdventures.com/blog/ and at Minnisota.GreatLcAdventures.com/blog/ Although the subdomain folder appears in the directory tree for the root administrator as just a folder, the server sees it as a special permissions starting point.? This means that a user that has access to only the subdomain will be restricted to that portion of the tree (of course, special tricks can change that) As admin, if you give a user a login and passwd for the subdomain, they should only have ftp access to that folder tree. If they have the root admin login and passwd, then they only have to keep the path names orgainized correctly. Most of the time, ftp access for users of a subdomain has to be enabled by the admin, which will include login/passwd setup.? Assuming you only want to use the admin root access, this won't be necessary. One answer to your quest may be that if a subdomain is detected, either you move that name to the folder path just after the domain.com ????? 1)?? www.domain.com/subName/ftpFolder/ or disregard this if you are uploading to the root ftp folder (and allowing access by all subdomains, even though the folder is outside the normal subdomain tree) ??????? 2)?? www.domain.com/ftpFolder/ My apache servers are using ?? /public_html/?? and??? ftp.domain.com/ so rather than let the server resolve the path, I will define my explicit path as (in my case) domains/specificDomainNameA.com/public_html/Home.php domains/specificDomainB.com/public_html/Welcome.php domains/specificDomainB.com/subName/Welcome.php ? (note that my server does not auto-create 'www/' for subdomains) When you do find the answer that works for your server, document this with several examples of working and non-working strings so you can figure it out next time.? My trick is to keep all the strings that don't work, label them as such, put them into one block.? It is very easy to test the same string multiple times and lose track of the subtle differences. I hope this does not confuse you.? The rules of the road for different servers can be tricky. Jim Ault Las Vegas From mwieder at ahsoftware.net Mon Aug 8 01:44:21 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 7 Aug 2011 22:44:21 -0700 Subject: Converting HTTP to FTP URL In-Reply-To: <4E3F5CE0.7020607@hyperactivesw.com> References: <4E3F0DB0.1050306@hyperactivesw.com> <4E3F5279.6000605@gmail.com> <4E3F5CE0.7020607@hyperactivesw.com> Message-ID: <1141567273609.20110807224421@ahsoftware.net> Jacque- Sunday, August 7, 2011, 8:49:52 PM, you wrote: > It sounds like I may have to ask the user to provide both paths. But > that makes everything more complex because the two paths are slightly > different, the user needs to know the distinction between web-relative > paths and absolute paths and what their web root folder is called, and > I'd rather avoid the support issues around that if I can. So here's my confusion about this: just because a user has http hosting doesn't necessarily mean they have ftp hosting or that they have an ftp account set up. And if they *do* have an ftp account and already know their username and password, wouldn't they also know the ftp address? And if they know all that (still with me?) why not just ask for four pieces of data instead of three? You might try creating a socket connection to port 21 at the server address and see if there's a response, but that still wouldn't necessarily resolve to a subdomain ftp server. Or you might get an ftp server but not the one you were looking for. I think the support issues of trying to outsmart the user might outweigh those of users asking "what's ftp?". -- -Mark Wieder mwieder at ahsoftware.net From stephenREVOLUTION2 at barncard.com Mon Aug 8 02:05:14 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sun, 7 Aug 2011 23:05:14 -0700 Subject: [Server] create stack trouble In-Reply-To: <1312756698247-3725740.post@n4.nabble.com> References: <1312594846940-3722610.post@n4.nabble.com> <1312596414009-3722633.post@n4.nabble.com> <1312722952069-3724846.post@n4.nabble.com> <1312756698247-3725740.post@n4.nabble.com> Message-ID: Odd results, in your case. I have had no problem creating and saving a stack with LIvecode Server 4.6.3, as well as saving and load multidimensional custom properties. Creating cards is no problems as well. here's my create stack code, be it simple as it is, that worked for me on LIvecode Server 4.6.3: * get stacknamedesired* * if it is not empty* * then* * put it & ".rev" into tFilename* * put it into tStackName* * create stack tStackName* * save stack tStackName as tFilename* * end if* * * this is assuming that the stack and the script file are at the same level. Not sure if the .rev suffix is necessary, but I did it anyway. *One does have to look out for extra furniture* that isn't supported for any useful purpose, like buttons and fields. I'm not sure a field would be any better or worse than a CP anyway. But these not-applicable objects in servers stacks don't always have traps to generate error messages or fail silently and instead prevent the stack from responding at all. I'm sure this vagueness will be sorted out in due time. Custom properties in stacks could be an excellent way to store lookup tables, boilerplate text and code libraries neatly in custom properties as an alternative to many text files. But stacks really should not be used to store transitive information, due to the multi-user nature of web serving. Again, if this is a database situation, a real database is the solution. It's more hassle but the speed and multi-tasking is worth it. Think about the nightmare of creating and debugging the file record locking you'd have to manage with stacks, or any file. For instance, years ago I wanted to use the desktop-based rev code in Mark Smith's id3lib on a site on my On - Rev account, which allowed a way to extract Song and Title information from an mp3 encoded file. I tried and failed because there were many lookup tables stored in custom properties, which of course were not possible at the time. I spent a lot of time creating 'fake' properties using *getProp* to replace the custom properties. It turned out to be a mess to substitute all the custom prop calls to be getProp calls. The other day, with 4.6.3 on my Dreamhost account, the same stack works with no modification with a simple 'start using'. That's cool. The stack was written back in 2007. On 7 August 2011 15:38, Robert Mann wrote: > Why create and save stacks? To use stacks in publishing process :: "one to > many", where one author or a reduced number of persons update some > hierchical and finally structured datas. That's what I hope I can now do > with these stacks long awaited! > > Relationnal database is of course much needed in a many to many kind of > process, but not in that precise "publishing" situation. Or do I miss > something? > > So yes it would be deceiving to learn stacks cannot be saved in the server > environnment! > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/Server-create-stack-trouble-tp3721781p3725740.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 > -- Stephen Barncard San Francisco Ca. USA more about sqb From massung at gmail.com Mon Aug 8 02:37:48 2011 From: massung at gmail.com (Jeffrey Massung) Date: Mon, 08 Aug 2011 00:37:48 -0600 Subject: Converting HTTP to FTP URL In-Reply-To: <4E3F5CE0.7020607@hyperactivesw.com> References: <4E3F0DB0.1050306@hyperactivesw.com> <4E3F5279.6000605@gmail.com> <4E3F5CE0.7020607@hyperactivesw.com> Message-ID: <4E3F843C.4000107@gmail.com> On 08/07/2011 09:49 PM, J. Landman Gay wrote: > On 8/7/11 10:05 PM, Jeffrey Massung wrote: > >> So, the only way you can begin to solve this issue is if you have direct >> access to the web server and know how it's routing and serving static >> content. > > I'll answer you and Mark Weider at the same time. I'm trying to add > auto-upload to AirLaunch. It mostly works. I can only upload via ftp > (http isn't usually accepted, I don't think, even if you provide a > name and password. At least, it doesn't work on my hosted account.) > There is already a place in the stack for the user to enter the http > URL where their installation files will be downloaded from. That URL > is required for setting up the wi-fi installation, so AirLaunch > already has that. > > I could ask the user for a separate FTP upload URL but I'd rather not > if I don't have to. What would be better is to take their HTTP URL and > convert it to a valid FTP URL which will only be used internally by > AirLaunch to get their files onto their server. In my experience, trying to infer the location is going to lead - down the road - to an unhappy customer. No one will remember the inference and it will break. I can completely sympathise with what you want to do and why. But I would advise against it. > It sounds like I may have to ask the user to provide both paths. But > that makes everything more complex because the two paths are slightly > different, the user needs to know the distinction between web-relative > paths and absolute paths and what their web root folder is called, and > I'd rather avoid the support issues around that if I can. If you wouldn't mind another option: use the PUT protocol in HTTP along with authentication. http://www.w3.org/QA/2008/10/understanding-http-put.html. This will still require work from the customer to enable this, but it'll make life easier for everyone. The HTTP PUT has an added benefit: it let's the server do whatever it wants with the incoming data. This is important, because it means that the server can put the file into a different location and act on it later. Consider the following setup: 1. The actual site is stored in a git repository somewhere. 2. The /var/www folder is actually a clone of the git repo. 3. For every "upload" being done (likely per user), they can be staged somewhere else (/var/www-staged-username), which is another clone of the repo. 4. When all the uploads are completed, a push can be made which uploads the staged repo to the main repository. 5. A build process takes over and ensures data integrity and that everything is correct and the upload won't bring down the live site. 6. Later on the /var/www site pulls down all changes from the repo. This entire process can be fully automated and done behind the scenes without any intervention or pathing "voodoo." It can also be done on a single machine or across many machines ensuring that if one goes down or the drive fails, the others still have all the data. And with a SCM system in place, you'll also have full history of who did what and when. Very handy at times. ;-) That might be very heavy-weight for your customer [now], but it could be a direction down the road they'd like to take things. Flesh out the above as a plan and let them know why you'd like to support HTTP PUT and how it would work. Perhaps now all it does it upload directly to the live site, but explain how it sets them up for later. Jeff M. From mwieder at ahsoftware.net Mon Aug 8 02:55:47 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 7 Aug 2011 23:55:47 -0700 Subject: Converting HTTP to FTP URL In-Reply-To: <4E3F843C.4000107@gmail.com> References: <4E3F0DB0.1050306@hyperactivesw.com> <4E3F5279.6000605@gmail.com> <4E3F5CE0.7020607@hyperactivesw.com> <4E3F843C.4000107@gmail.com> Message-ID: <831571559484.20110807235547@ahsoftware.net> Jeff- HTTP PUT is an interesting alternative, but I see two possible complications. First of all you'd have to query the Allow headers on the server to see if the PUT command is supported, and then come up with an alternate strategy if it isn't. Secondly, you'd have to deal with the 301 response if you're being redirected to a different URI, since the PUT command is very strict about this. -- -Mark Wieder mwieder at ahsoftware.net From massung at gmail.com Mon Aug 8 02:59:32 2011 From: massung at gmail.com (Jeffrey Massung) Date: Mon, 08 Aug 2011 00:59:32 -0600 Subject: Converting HTTP to FTP URL In-Reply-To: <831571559484.20110807235547@ahsoftware.net> References: <4E3F0DB0.1050306@hyperactivesw.com> <4E3F5279.6000605@gmail.com> <4E3F5CE0.7020607@hyperactivesw.com> <4E3F843C.4000107@gmail.com> <831571559484.20110807235547@ahsoftware.net> Message-ID: <4E3F8954.5050308@gmail.com> On 08/08/2011 12:55 AM, Mark Wieder wrote: > Jeff- > > HTTP PUT is an interesting alternative, but I see two possible > complications. First of all you'd have to query the Allow headers on > the server to see if the PUT command is supported, and then come up > with an alternate strategy if it isn't. Secondly, you'd have to deal > with the 301 response if you're being redirected to a different URI, > since the PUT command is very strict about this. Agreed. FTP could work as well, but I would advise that the FTP upload be directed somewhere known so that the rest of the "chain" stays intact. Just use git or some other SCM so the uploads can be pushed, etc. I'd still prefer the PUT solution over FTP (personally) because it keeps the control of what happens in the hands of the server/customer. Jeff M. From toolbook at kestner.de Mon Aug 8 05:24:41 2011 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Mon, 8 Aug 2011 11:24:41 +0200 Subject: LC and OS X version compatibility Message-ID: <000d01cc55ad$05f42010$11dc6030$@de> Hello, the LiveCode release notes say about system compatibility for: LC 4.5.0: Mac OS X 10.3.9 to 10.6.x LC 4.6.0: Mac OS X 10.4.11 to 10.7.x Does anybody knows if there are any trouble with LC 4.5 on 10.7 lion? Is LC 4.6. not working on 10.3. anymore in general, or does it concern only some new features? How widespread is OS X 10.3 still out there in the wild? Do you still take care about panther or is it no question about to use today 4.6 and kick off panther compatibility? Thanks for your experience Tiemo From toolbook at kestner.de Mon Aug 8 05:45:01 2011 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Mon, 8 Aug 2011 11:45:01 +0200 Subject: OT: How to force a Mac to search for network shares? Message-ID: <001201cc55af$dc666e80$95334b80$@de> Hello, opening the finder (on lion) it takes pretty long until my Mac (Wifi connected) finds all shares in my network, and after getting town to standby it loses the shares. Is there a way / shortcut to force the mac to search for network shares, like F5 on windows or even to keep a share in the finder list? Thanks Tiemo From scott at tactilemedia.com Mon Aug 8 06:04:38 2011 From: scott at tactilemedia.com (Scott Rossi) Date: Mon, 08 Aug 2011 03:04:38 -0700 Subject: [OT] tmControl at San Jose LiveCode Conference Message-ID: If there is anyone here on the mail list who attended the San Jose LiveCode conference and signed up for a pre-release version of tmControl, please contact me off-list if you have *not* received the recent development package. Thanks & Regards, Scott Rossi Creative Director Tactile Media, UX Design From richmondmathewson at gmail.com Mon Aug 8 06:06:53 2011 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Mon, 08 Aug 2011 13:06:53 +0300 Subject: LC and OS X version compatibility In-Reply-To: <000d01cc55ad$05f42010$11dc6030$@de> References: <000d01cc55ad$05f42010$11dc6030$@de> Message-ID: <4E3FB53D.5080902@gmail.com> On 08/08/2011 12:24 PM, Tiemo Hollmann TB wrote: > Hello, > > the LiveCode release notes say about system compatibility for: > > LC 4.5.0: Mac OS X 10.3.9 to 10.6.x > > LC 4.6.0: Mac OS X 10.4.11 to 10.7.x > > Does anybody knows if there are any trouble with LC 4.5 on 10.7 lion? > > Is LC 4.6. not working on 10.3. anymore in general, or does it concern only > some new features? > > How widespread is OS X 10.3 still out there in the wild? Do you still take > care about panther or is it no question about to use today 4.6 and kick off > panther compatibility? > > Thanks for your experience > > Tiemo > > > About a year ago I was over at my parents' house in Britain, and installed 10.3.9 onan ancient, tray-loading G3 iMac I found lurking in the attic. I started with 10.3 and what I can say is that RunRev/Livecode 4.0 would not even run until I had got the thing up to 10.3.9. From richmondmathewson at gmail.com Mon Aug 8 06:14:20 2011 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Mon, 08 Aug 2011 13:14:20 +0300 Subject: Linux Kernel 3.0 Message-ID: <4E3FB6FC.6090707@gmail.com> Just upgraded my Linux rig (Ubuntu 11.04) to Kernel 3.0 and am happy to say it does not seem to affect Livecode at all. From kray at sonsothunder.com Mon Aug 8 09:29:59 2011 From: kray at sonsothunder.com (Ken Ray) Date: Mon, 8 Aug 2011 08:29:59 -0500 Subject: LC and OS X version compatibility In-Reply-To: <000d01cc55ad$05f42010$11dc6030$@de> References: <000d01cc55ad$05f42010$11dc6030$@de> Message-ID: <9742BA3D-D407-4603-A7AF-FA8879018B48@sonsothunder.com> On Aug 8, 2011, at 4:24 AM, Tiemo Hollmann TB wrote: > Hello, > > the LiveCode release notes say about system compatibility for: > > LC 4.5.0: Mac OS X 10.3.9 to 10.6.x > > LC 4.6.0: Mac OS X 10.4.11 to 10.7.x > > Does anybody knows if there are any trouble with LC 4.5 on 10.7 lion? No, I haven't had any trouble. > Is LC 4.6. not working on 10.3. anymore in general, or does it concern only > some new features? I'm pretty sure it doesn't work at all; I know for sure that even Rev 3.5 had issues under 10.3 (drawers didn't work right for example). > How widespread is OS X 10.3 still out there in the wild? Do you still take > care about panther or is it no question about to use today 4.6 and kick off > panther compatibility? It may just be here in the States, but I'm seeing virtually no one using 10.3; the earliest OS I've encountered with my clients and their customers has been 10.4.11. Personally I have been targeting 10.4.11 or higher ever since 10.6 came out, and that hasn't given me any problems. Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From toolbook at kestner.de Mon Aug 8 09:46:19 2011 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Mon, 8 Aug 2011 15:46:19 +0200 Subject: AW: LC and OS X version compatibility In-Reply-To: <9742BA3D-D407-4603-A7AF-FA8879018B48@sonsothunder.com> References: <000d01cc55ad$05f42010$11dc6030$@de> <9742BA3D-D407-4603-A7AF-FA8879018B48@sonsothunder.com> Message-ID: <001c01cc55d1$92617c90$b72475b0$@de> Thanks Ken for your experiences, I will follow that Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode-bounces at lists.runrev.com [mailto:use-livecode- > bounces at lists.runrev.com] Im Auftrag von Ken Ray > Gesendet: Montag, 8. August 2011 15:30 > An: How to use LiveCode > Betreff: Re: LC and OS X version compatibility > > > On Aug 8, 2011, at 4:24 AM, Tiemo Hollmann TB wrote: > > > Hello, > > > > the LiveCode release notes say about system compatibility for: > > > > LC 4.5.0: Mac OS X 10.3.9 to 10.6.x > > > > LC 4.6.0: Mac OS X 10.4.11 to 10.7.x > > > > Does anybody knows if there are any trouble with LC 4.5 on 10.7 lion? > > No, I haven't had any trouble. > > > Is LC 4.6. not working on 10.3. anymore in general, or does it concern only > > some new features? > > I'm pretty sure it doesn't work at all; I know for sure that even Rev 3.5 had > issues under 10.3 (drawers didn't work right for example). > > > How widespread is OS X 10.3 still out there in the wild? Do you still take > > care about panther or is it no question about to use today 4.6 and kick off > > panther compatibility? > > It may just be here in the States, but I'm seeing virtually no one using 10.3; > the earliest OS I've encountered with my clients and their customers has been > 10.4.11. Personally I have been targeting 10.4.11 or higher ever since 10.6 > came out, and that hasn't given me any problems. > > 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 richmondmathewson at gmail.com Mon Aug 8 10:46:59 2011 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Mon, 08 Aug 2011 17:46:59 +0300 Subject: AW: LC and OS X version compatibility In-Reply-To: <001c01cc55d1$92617c90$b72475b0$@de> References: <000d01cc55ad$05f42010$11dc6030$@de> <9742BA3D-D407-4603-A7AF-FA8879018B48@sonsothunder.com> <001c01cc55d1$92617c90$b72475b0$@de> Message-ID: <4E3FF6E3.9050907@gmail.com> All G3 computers, except for the tray-loading iMacs, can cope with 10.4.11. Certainly, the one I use as my "Media delivery system" in my school, which is a slot-loader with 384 MB RAM, works very well on 10.4.11, and has no trouble with any standalones from LC 4.5. From mwieder at ahsoftware.net Mon Aug 8 11:09:20 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 8 Aug 2011 08:09:20 -0700 Subject: LC and OS X version compatibility In-Reply-To: <000d01cc55ad$05f42010$11dc6030$@de> References: <000d01cc55ad$05f42010$11dc6030$@de> Message-ID: <401601172093.20110808080920@ahsoftware.net> Tiemo- Monday, August 8, 2011, 2:24:41 AM, you wrote: > Is LC 4.6. not working on 10.3. anymore in general, or does it concern only > some new features? It's in the 4.6 release notes. "Mac OS 10.3.9 is no longer supported Support has been dropped for Mac OS 10.3.9." -- -Mark Wieder mwieder at ahsoftware.net From jacque at hyperactivesw.com Mon Aug 8 11:24:21 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 08 Aug 2011 10:24:21 -0500 Subject: Converting HTTP to FTP URL In-Reply-To: <1312781567.19710.YahooMailClassic@web120530.mail.ne1.yahoo.com> References: <1312781567.19710.YahooMailClassic@web120530.mail.ne1.yahoo.com> Message-ID: <4E3FFFA5.3070309@hyperactivesw.com> On 8/8/11 12:32 AM, Jim Ault wrote: > As admin, if you give a user a login and passwd for the subdomain, > they should only have ftp access to that folder tree. Yes, I think that would work. The problem is that the typical user will own the whole thing, including subdomains, and the issue happens if they log in as a main admin and try to ftp to a subdomain folder. > When you do find the answer that works for your server, document this > with several examples of working and non-working strings so you can > figure it out next time. If that was all I needed to do, it would have been finished last Friday. :) I know how my own server is set up, but I can't predict how anyone else's will be arranged, or which domain/subdomain they will log into. From the other responses, I think I need to just ask for separate paths. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon Aug 8 11:28:27 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 08 Aug 2011 10:28:27 -0500 Subject: Converting HTTP to FTP URL In-Reply-To: <1141567273609.20110807224421@ahsoftware.net> References: <4E3F0DB0.1050306@hyperactivesw.com> <4E3F5279.6000605@gmail.com> <4E3F5CE0.7020607@hyperactivesw.com> <1141567273609.20110807224421@ahsoftware.net> Message-ID: <4E40009B.2060206@hyperactivesw.com> On 8/8/11 12:44 AM, Mark Wieder wrote: > So here's my confusion about this: just because a user has http > hosting doesn't necessarily mean they have ftp hosting or that they > have an ftp account set up. And if they *do* have an ftp account and > already know their username and password, wouldn't they also know the > ftp address? And if they know all that (still with me?) why not just > ask for four pieces of data instead of three? Agree. And, having looked at the responses here, I agree with Jeff too that trying to figure out a valid FTP path will cause more support headaches than just requiring that the user figure it out. I don't think I need four pieces of data, only two valid paths. No one seems to have any trouble with the HTTP path, so that leaves just one potential headache. Not counting the one I developed myself over the weekend, of course... -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From cszasz at mac.com Mon Aug 8 11:36:03 2011 From: cszasz at mac.com (Charles Szasz) Date: Mon, 08 Aug 2011 15:36:03 -0000 Subject: Please contact e-mail off list Message-ID: Nicolas, Please contact me off the list using the e-mail below. Thanks! Charles Szasz cszasz at mac.com From rman at free.fr Mon Aug 8 11:44:21 2011 From: rman at free.fr (Robert Mann) Date: Mon, 8 Aug 2011 08:44:21 -0700 (PDT) Subject: [Server] create stack trouble In-Reply-To: References: <1312594846940-3722610.post@n4.nabble.com> <1312596414009-3722633.post@n4.nabble.com> <1312722952069-3724846.post@n4.nabble.com> <1312756698247-3725740.post@n4.nabble.com> Message-ID: <1312818261073-3727358.post@n4.nabble.com> Hi, saving a stack works fine in my case too. And this is important to my view. But create field does not work. ------------------------ warning :: COHERENCE WITH revServer online Dictionnary ------------------ 1) Create stack and save are greyed in the docs but actually work on my on-rev implementation, which is very good news, but not inline with the docs. 2) on the other hand, create is not greyed out in the docs but create field does not work. ----------------------------------------------------- here are the 2 server files used to test this :: http://runtime-revolution.278305.n4.nabble.com/file/n3727358/testcreate.lc testcreate.lc http://runtime-revolution.278305.n4.nabble.com/file/n3727358/testnew1.lc testnew1.lc let us know if it' ok for you too! -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Server-create-stack-trouble-tp3721781p3727358.html Sent from the Revolution - User mailing list archive at Nabble.com. From mwieder at ahsoftware.net Mon Aug 8 11:44:41 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 8 Aug 2011 08:44:41 -0700 Subject: Converting HTTP to FTP URL In-Reply-To: <4E40009B.2060206@hyperactivesw.com> References: <4E3F0DB0.1050306@hyperactivesw.com> <4E3F5279.6000605@gmail.com> <4E3F5CE0.7020607@hyperactivesw.com> <1141567273609.20110807224421@ahsoftware.net> <4E40009B.2060206@hyperactivesw.com> Message-ID: <61603293203.20110808084441@ahsoftware.net> Jacque- Monday, August 8, 2011, 8:28:27 AM, you wrote: > I don't think I need four pieces of data, only two valid paths. No one All right. I was counting username and password as two. -- -Mark Wieder mwieder at ahsoftware.net From bobs at twft.com Sat Aug 6 01:12:55 2011 From: bobs at twft.com (Bob Sneidar) Date: Fri, 5 Aug 2011 22:12:55 -0700 Subject: CalendarPane Message-ID: <84E4CC63-E315-4E5B-8E9C-D54B8670AFF6@twft.com> Is anyone successfully using CalendarPane? I cannot get it to work after having dropped it once in a stack. I deleted everything and started over, and now it won't work at all. Livecode says there is no such stack when I try to start using it. Yes it is added to my stackFiles so it should be fine. I am at a loss. Bob From bobs at twft.com Mon Aug 8 11:50:00 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 8 Aug 2011 08:50:00 -0700 Subject: REsolving Behavior References In-Reply-To: References: Message-ID: <8D84F880-5EE8-4D59-AF71-940034348EC3@twft.com> This may have been my problem with another calendar widget I was trying to use. Originally I put the start using statements into the openStack handler and it worked. When I moved them to the preOpenStack handler, they stopped working. Bob On Aug 6, 2011, at 9:15 PM, Pete wrote: > Quoting the dictionary: > > "Behaviors are resolved by LiveCode immediately after loading a stack file" From bobs at twft.com Mon Aug 8 11:51:40 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 8 Aug 2011 08:51:40 -0700 Subject: iREv mysql and revexecuteSQL problem? In-Reply-To: References: Message-ID: <114232B4-5338-4192-8C27-D7D4DD1338DA@twft.com> I would have to see the error. If the record gets created, it is probably not a critical error, and it is almost definitely an SQL error. Bob On Aug 7, 2011, at 12:21 PM, John Patten wrote: > Hi All... (sending this in two parts, I tried to send it before but never saw it show up on list...length maybe?) > > First Part: > > I'm still having problems with a irev mysql file. I'm attempting to create a new record in a table. The new record gets created by I still seem to get errors reported back. > > Here's what I have. > > From the rev stack: > > on mouseUp > set the itemDel to Tab > put cd fld "tradeeID" of cd 3 into tTradeeID > put cd fld "playerID" of cd 3 into tPlayerID > put item 2 of cd fld "myItem" of cd 3 into tMyItem > put item 2 of cd fld "theirItem" of cd 3 into tTheirItem > > put tTradeeID & tab & tPlayerID & tab & tMyItem & tab & tTheirItem into tTradeVariables > put "mymessage="&URLEncode(tTradeVariables) into tTradeVariables > > post tTradeVariables to URL "http://myaccount.on-rev.com/conference/offertrade.irev " > put it into tData > > if tData is a number then > answer info "New record added." > else > answer error "There was a problem updating the record to the database:" & cr & tData > end if > end mouseUp > > > John Patten > SUSD > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Mon Aug 8 11:53:18 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 8 Aug 2011 08:53:18 -0700 Subject: [OT] tmControl at San Jose LiveCode Conference In-Reply-To: References: Message-ID: <862FC0C1-7E4C-47ED-98DA-FE9DB9688915@twft.com> Hi Scott. What is it and can I help? Bob On Aug 8, 2011, at 3:04 AM, Scott Rossi wrote: > If there is anyone here on the mail list who attended the San Jose LiveCode > conference and signed up for a pre-release version of tmControl, please > contact me off-list if you have *not* received the recent development > package. > > Thanks & Regards, > > Scott Rossi > Creative Director > Tactile Media, UX 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 jacque at hyperactivesw.com Mon Aug 8 12:08:29 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 08 Aug 2011 11:08:29 -0500 Subject: Converting HTTP to FTP URL In-Reply-To: <61603293203.20110808084441@ahsoftware.net> References: <4E3F0DB0.1050306@hyperactivesw.com> <4E3F5279.6000605@gmail.com> <4E3F5CE0.7020607@hyperactivesw.com> <1141567273609.20110807224421@ahsoftware.net> <4E40009B.2060206@hyperactivesw.com> <61603293203.20110808084441@ahsoftware.net> Message-ID: <4E4009FD.1010000@hyperactivesw.com> On 8/8/11 10:44 AM, Mark Wieder wrote: > Jacque- > > Monday, August 8, 2011, 8:28:27 AM, you wrote: > >> I don't think I need four pieces of data, only two valid paths. No one > > All right. I was counting username and password as two. > Obviously my brain has suffered after googling all weekend, and I've never been all that good at math to start with. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From cszasz at mac.com Mon Aug 8 12:17:50 2011 From: cszasz at mac.com (Charles Szasz) Date: Mon, 08 Aug 2011 12:17:50 -0400 Subject: Money Script Message-ID: <95E5882B-0444-49B0-95BA-A383421DDD9B@mac.com> Nicolas, I just came across your "dollar" script for adding fields with dollar signs! I have been "fighting" with fields that contain a $ sign for the past two days. I am doing a little app to compute mileage and expenses for our local school district. It is a free app. I retired from the school system two years ago and thought I could give them something to make easier for staff to compute monthly mileage and related expenses. Your script is very cool and just what I needed! I have it working for three fields. I have fifteen fields that have dollar values. I know I can use your present method to do all 15 fields but is there a way a repeat loop could be used instead? I tried to do a repeat loop but I have not yet got it working. Also, what modification to the script would I need to get $x.00 instead of $x. for a total? Thanks for your time! Charles Szasz cszasz at mac.com From rman at free.fr Mon Aug 8 12:26:00 2011 From: rman at free.fr (Robert Mann) Date: Mon, 8 Aug 2011 09:26:00 -0700 (PDT) Subject: [Server] create stack trouble In-Reply-To: <1312818261073-3727358.post@n4.nabble.com> References: <1312594846940-3722610.post@n4.nabble.com> <1312596414009-3722633.post@n4.nabble.com> <1312722952069-3724846.post@n4.nabble.com> <1312756698247-3725740.post@n4.nabble.com> <1312818261073-3727358.post@n4.nabble.com> Message-ID: <1312820760865-3727487.post@n4.nabble.com> revServer memo :: focus on : server STACKS 1) USING an existing stack go stack myStack.livecode :: make sure the correct file extension is used effect :: sets the correct message path putting mystack ahead in the path getting values and setting values from/to existing fields work fine. getting values and setting values from/to existing custom props work fine. 2) CREATING a new stack create stack myStack :: works eventhough command is greyed out in the revServer dictionnary. create card myCard :: works fine. WARNING ::create field does not work eventhough it is not greyed out in the revServer disctionnary. USE custom props of card instead, creating & saving cutom props work fine. 3) SAVING a stack ? The FIRST TIME a Newly created stack is saved, the form save MyStack as myStack.livecode must be used stack is saved in the currentFolder, determined by the folder of the current .lc file in use ? When stack is invoked by the go to stack myStack.livecode command, a simple save stack myStack works fine. please check, confirm and i'll then update the docs -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Server-create-stack-trouble-tp3721781p3727487.html Sent from the Revolution - User mailing list archive at Nabble.com. From stephenREVOLUTION2 at barncard.com Mon Aug 8 12:33:28 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Mon, 8 Aug 2011 09:33:28 -0700 Subject: [Server] create stack trouble In-Reply-To: <1312818261073-3727358.post@n4.nabble.com> References: <1312594846940-3722610.post@n4.nabble.com> <1312596414009-3722633.post@n4.nabble.com> <1312722952069-3724846.post@n4.nabble.com> <1312756698247-3725740.post@n4.nabble.com> <1312818261073-3727358.post@n4.nabble.com> Message-ID: Why would one want to create a field one can't use anyway? There are probably a lot of little things in LCS that haven't been trapped as errors or to fail silently yet, but common sense can be a guide to "what is" and "what isn't": GUI objects are not applicable in a server environment. Reading fields is possible and that may be there for backwards compatibility with existing stacks that store data in fields. On 8 August 2011 08:44, Robert Mann wrote: > Hi, saving a stack works fine in my case too. And this is important to my > view. > But create field does not work. > Stephen Barncard San Francisco Ca. USA more about sqb From devin_asay at byu.edu Mon Aug 8 12:36:27 2011 From: devin_asay at byu.edu (Devin Asay) Date: Mon, 8 Aug 2011 10:36:27 -0600 Subject: CalendarPane In-Reply-To: <84E4CC63-E315-4E5B-8E9C-D54B8670AFF6@twft.com> References: <84E4CC63-E315-4E5B-8E9C-D54B8670AFF6@twft.com> Message-ID: On Aug 5, 2011, at 11:12 PM, Bob Sneidar wrote: > Is anyone successfully using CalendarPane? I cannot get it to work after having dropped it once in a stack. I deleted everything and started over, and now it won't work at all. Livecode says there is no such stack when I try to start using it. Yes it is added to my stackFiles so it should be fine. I am at a loss. Hi Bob, I'm using it in a couple of projects, and it is really slick. There are some fairly specific directions included with the stack for getting it set up for the first time. I also discovered a bug in one of the scripts, something about a mis-named variable or handler name. Unfortunately I'm on the road this week and don't have my notes to refer to. If you haven't figured out by the end of the week, poke me on the list and I'll look for it after I return to work. Regards, Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University From bobs at twft.com Mon Aug 8 12:57:43 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 8 Aug 2011 09:57:43 -0700 Subject: CalendarPane In-Reply-To: References: <84E4CC63-E315-4E5B-8E9C-D54B8670AFF6@twft.com> Message-ID: <5FE87E8C-E1B5-4F57-91CF-EDD71F825852@twft.com> Hi Devin. Yes it looks exactly like what I was hoping for, but the problem seems to be in getting it into the stacks in use. I have added the calendarpane.rev stack to my stack files in the project, so finding it should not be a problem. Is there an issue with start using if the stack I want to start using is a substack of another stack? If I issue this command in the openStack handler of my project I get false: put there is a stack "lib_CalendarPane" But if I open the stack explicitly, it opens and CalendarPane works fine. Oddly, actual stack file is called CalendarPane.rev. lib_calendarpane is a substack of that. Simply issuing the command to start using lib_calendarpane as the instructions say does not actually start using it. I will attempt to pull the substack from the main and save it separately and see if that works. Bob On Aug 8, 2011, at 9:36 AM, Devin Asay wrote: > > On Aug 5, 2011, at 11:12 PM, Bob Sneidar wrote: > >> Is anyone successfully using CalendarPane? I cannot get it to work after having dropped it once in a stack. I deleted everything and started over, and now it won't work at all. Livecode says there is no such stack when I try to start using it. Yes it is added to my stackFiles so it should be fine. I am at a loss. > > Hi Bob, > > I'm using it in a couple of projects, and it is really slick. There are some fairly specific directions included with the stack for getting it set up for the first time. I also discovered a bug in one of the scripts, something about a mis-named variable or handler name. Unfortunately I'm on the road this week and don't have my notes to refer to. If you haven't figured out by the end of the week, poke me on the list and I'll look for it after I return to work. > > Regards, > > Devin > > Devin Asay > Humanities Technology and Research Support Center > Brigham Young University > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Mon Aug 8 12:59:57 2011 From: rman at free.fr (Robert Mann) Date: Mon, 8 Aug 2011 09:59:57 -0700 (PDT) Subject: [Server] create stack trouble In-Reply-To: References: <1312594846940-3722610.post@n4.nabble.com> <1312596414009-3722633.post@n4.nabble.com> <1312722952069-3724846.post@n4.nabble.com> <1312756698247-3725740.post@n4.nabble.com> <1312818261073-3727358.post@n4.nabble.com> Message-ID: <1312822797854-3727611.post@n4.nabble.com> Stephen Barncard-4 wrote: > > GUI objects are not applicable in a server environment. > Yes indeed, so I would not expect to create a button in the server environment, but as I pointed out, fields are NOT ONLY part of the GUI, theyr'e are ALSO a very common DATA holder. as an example, fields can be created INVISIBLE. So creating fields can be handy for : -- remaining compatible with standard scripts -- simplifying tasks for people who would want to get the stack from the server, work on it and put it back there (avoiding turning custom props into fields on downloading the stack). -- and keeping in line with the original spirit of the hypercard heritage too! Now I reckon things are now usable as they are and it's a a great step already. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Server-create-stack-trouble-tp3721781p3727611.html Sent from the Revolution - User mailing list archive at Nabble.com. From stephenREVOLUTION2 at barncard.com Mon Aug 8 13:01:07 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Mon, 8 Aug 2011 10:01:07 -0700 Subject: [Server] create stack trouble In-Reply-To: <1312820760865-3727487.post@n4.nabble.com> References: <1312594846940-3722610.post@n4.nabble.com> <1312596414009-3722633.post@n4.nabble.com> <1312722952069-3724846.post@n4.nabble.com> <1312756698247-3725740.post@n4.nabble.com> <1312818261073-3727358.post@n4.nabble.com> <1312820760865-3727487.post@n4.nabble.com> Message-ID: Robert, on my installation of LIvecode Server, everything you say I've found to be true, except that I was able to use my preferred suffix .rev instead of .livecode. I'm impressed that there are so many things are *right* and *up to date* in the docs lately, imho. On this new stuff, there's sure to be discovery moments for everyone, including the mother ship. We're pioneers here, the first to use this new version of the server, and I'm frankly quite excited at the functionality added by these features, many which need be explored and extrapolated by us. Runrev is a small company, working at growth in an ever expanding universe and marketplace. As communicative and involved users, we are helping to improve and expand the language and systems on the Livecode improve list every day, and support responds, often within hours. I'm currently *grandfathered in* in on the "Improve" list as an enterprise customer but when it comes time to renew my support contract, I'll be there, because I like to be on the bleeding edge of this 'Rev world' and, as several others on the list, consider it a duty to report bugs and anomalies to the QC database. It might be unfortunate that all users of livecode are not able to access the QC database, but I guess support was just getting too much noise in the entries, and created a 'professional' tier to their services to address that. On 8 August 2011 09:26, Robert Mann wrote: > > revServer memo :: focus on : server STACKS > > 1) USING an existing stack > go stack myStack.livecode :: make sure the correct file extension > is used > effect :: sets the correct message path putting mystack ahead in the > path > getting values and setting values from/to existing fields work fine. > getting values and setting values from/to existing custom props work > fine. > > 2) CREATING a new stack > create stack myStack :: works eventhough command is greyed out in > the > revServer dictionnary. > create card myCard :: works fine. > WARNING ::create field does not work eventhough it is not greyed out > in the > revServer disctionnary. > USE custom props of card instead, creating & saving cutom props work > fine. > > 3) SAVING a stack > ? The FIRST TIME a Newly created stack is saved, the form save > MyStack as > myStack.livecode must be used > stack is saved in the currentFolder, determined by the folder of the > current .lc file in use > ? When stack is invoked by the go to stack myStack.livecode command, > a > simple save stack myStack works fine. > > please check, confirm and i'll then update the docs > Stephen Barncard San Francisco Ca. USA more about sqb From jhurley0305 at sbcglobal.net Mon Aug 8 13:05:45 2011 From: jhurley0305 at sbcglobal.net (James Hurley) Date: Mon, 8 Aug 2011 10:05:45 -0700 Subject: The emdash in RunRev's RTF is missing? In-Reply-To: References: Message-ID: <42FE20C7-4005-4D0F-9AA9-CEC86FD6A236@sbcglobal.net> When I put the url "the file path"(of a rtf file) into a field I get a lot of formatting code. That code includes a marker for the emdash that was in the file. When I set the rtfText of a field to the url "the file path" I get well formatted rtf text in that field, EXCEPT for the emdash which is set to empty by RunRev. Is there a request to include the emdash in RunRev's "set the rtfText" operation? Jim Hurley From bobs at twft.com Mon Aug 8 13:06:05 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 8 Aug 2011 10:06:05 -0700 Subject: CalendarPane In-Reply-To: References: <84E4CC63-E315-4E5B-8E9C-D54B8670AFF6@twft.com> Message-ID: <229344DC-FCFA-4694-9EF4-54B876414AAC@twft.com> Hi Devin and anyone else involved. I got this to work. I opened the substack called lib_calendarpane and set it's mainstack to itself, then I saved it. I added that stack (now independent of it's prior mainstack) to my project's stackfiles. Now "there is a stack" and "start using" work fine on this library. I am going to say that in order to start using a stack that isn't already open by Livecode, it cannot be a substack of another stack. You can see why. Even if the parent stack is in the stackfiles, Livecode apparently does not peruse the substacks of the mainstacks in the stack files to find it. Is this a bug or intended behavior? Bob > I will attempt to pull the substack from the main and save it separately and see if that works. > > Bob > > > On Aug 8, 2011, at 9:36 AM, Devin Asay wrote: > >> >> On Aug 5, 2011, at 11:12 PM, Bob Sneidar wrote: >> >>> Is anyone successfully using CalendarPane? I cannot get it to work after having dropped it once in a stack. I deleted everything and started over, and now it won't work at all. Livecode says there is no such stack when I try to start using it. Yes it is added to my stackFiles so it should be fine. I am at a loss. >> >> Hi Bob, >> >> I'm using it in a couple of projects, and it is really slick. There are some fairly specific directions included with the stack for getting it set up for the first time. I also discovered a bug in one of the scripts, something about a mis-named variable or handler name. Unfortunately I'm on the road this week and don't have my notes to refer to. If you haven't figured out by the end of the week, poke me on the list and I'll look for it after I return to work. >> >> Regards, >> >> Devin >> >> Devin Asay >> Humanities Technology and Research Support Center >> Brigham Young University >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 Mon Aug 8 13:18:36 2011 From: rman at free.fr (Robert Mann) Date: Mon, 8 Aug 2011 10:18:36 -0700 (PDT) Subject: [Server] create stack trouble In-Reply-To: References: <1312594846940-3722610.post@n4.nabble.com> <1312596414009-3722633.post@n4.nabble.com> <1312722952069-3724846.post@n4.nabble.com> <1312756698247-3725740.post@n4.nabble.com> <1312818261073-3727358.post@n4.nabble.com> <1312820760865-3727487.post@n4.nabble.com> Message-ID: <1312823916875-3727680.post@n4.nabble.com> Thanks Stephen for testing and I hope you can propagate these info. It would be great to have the official position of the "mothership" team : 1) regarding the creation of fields :: is that a choice that will be followed, or is it a bug that is bound to be corrected? 2) regarding saving stacks :: does the greying out of the docs mean we should not rely on it and that saving stack will in future not work anymore?? or is it a just a doc bug? There are no obvious answer to these, and these have major implications on the design of our coding, so would be nice to know either way. Thanks from..the server community! have a good day Robert -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Server-create-stack-trouble-tp3721781p3727680.html Sent from the Revolution - User mailing list archive at Nabble.com. From devin_asay at byu.edu Mon Aug 8 13:35:14 2011 From: devin_asay at byu.edu (Devin Asay) Date: Mon, 8 Aug 2011 11:35:14 -0600 Subject: CalendarPane In-Reply-To: <229344DC-FCFA-4694-9EF4-54B876414AAC@twft.com> References: <84E4CC63-E315-4E5B-8E9C-D54B8670AFF6@twft.com> <229344DC-FCFA-4694-9EF4-54B876414AAC@twft.com> Message-ID: <603A23A0-F98C-41E2-817D-4524C94BC357@byu.edu> On Aug 8, 2011, at 11:06 AM, Bob Sneidar wrote: > Hi Devin and anyone else involved. I got this to work. I opened the substack called lib_calendarpane and set it's mainstack to itself, then I saved it. I added that stack (now independent of it's prior mainstack) to my project's stackfiles. Now "there is a stack" and "start using" work fine on this library. Yes, looking at my project stack, that's what I did--made the two stacks that comprise the Calendar pane substacks of my mainstack. > > I am going to say that in order to start using a stack that isn't already open by Livecode, it cannot be a substack of another stack. You can see why. Even if the parent stack is in the stackfiles, Livecode apparently does not peruse the substacks of the mainstacks in the stack files to find it. > > Is this a bug or intended behavior? Not sure; I guess I've never tried to 'start using' a substack of another stack. Devin > > Bob > > >> I will attempt to pull the substack from the main and save it separately and see if that works. >> >> Bob >> >> >> On Aug 8, 2011, at 9:36 AM, Devin Asay wrote: >> >>> >>> On Aug 5, 2011, at 11:12 PM, Bob Sneidar wrote: >>> >>>> Is anyone successfully using CalendarPane? I cannot get it to work after having dropped it once in a stack. I deleted everything and started over, and now it won't work at all. Livecode says there is no such stack when I try to start using it. Yes it is added to my stackFiles so it should be fine. I am at a loss. >>> >>> Hi Bob, >>> >>> I'm using it in a couple of projects, and it is really slick. There are some fairly specific directions included with the stack for getting it set up for the first time. I also discovered a bug in one of the scripts, something about a mis-named variable or handler name. Unfortunately I'm on the road this week and don't have my notes to refer to. If you haven't figured out by the end of the week, poke me on the list and I'll look for it after I return to work. >>> >>> Regards, >>> >>> Devin >>> >>> Devin Asay >>> Humanities Technology and Research Support Center >>> Brigham Young University >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode 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 Devin Asay Humanities Technology and Research Support Center Brigham Young University From cszasz at mac.com Mon Aug 8 13:50:09 2011 From: cszasz at mac.com (Charles Szasz) Date: Mon, 08 Aug 2011 13:50:09 -0400 Subject: Nicolas Cueto - Please contact me by e-mail off of list Message-ID: Nicolas, I just came across your "dollar" script for adding fields with dollar signs! I have been "fighting" with fields that contain a $ sign for the past two days. I am doing a little app to compute mileage and expenses for our local school district. It is a free app. I retired from the school system two years ago and thought I could give them something to make easier for staff to compute monthly mileage and related expenses. Your script is very cool and just what I needed! I have it working for three fields. I have fifteen fields that have dollar values. I know I can use your present method to do all 15 fields but is there a way a repeat loop could be used instead? I tried to do a repeat loop but I have not yet got it working. Also, what modification to the script would I need to get $x.00 instead of $x. for a total? Thanks for your time! Charles Szasz cszasz at mac.com From bobs at twft.com Mon Aug 8 14:54:02 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 8 Aug 2011 11:54:02 -0700 Subject: CalendarPane In-Reply-To: <603A23A0-F98C-41E2-817D-4524C94BC357@byu.edu> References: <84E4CC63-E315-4E5B-8E9C-D54B8670AFF6@twft.com> <229344DC-FCFA-4694-9EF4-54B876414AAC@twft.com> <603A23A0-F98C-41E2-817D-4524C94BC357@byu.edu> Message-ID: <5E3490D9-2915-477B-A00C-50A29A73339A@twft.com> Ok so if the calendarPane widget is now open source, I would like to upload a corrected zip file containing the CalendarPane help stack, the now separated lib_CalendarPane and the lib_Rect stacks. I think this is the form the download should take. I couldn't get it to work at first, because I assumed that lib_Rect was a substack of the CalendarPane stack, same as lib_CalendarStack. Anyone have an idea about where I could send that? Bob On Aug 8, 2011, at 10:35 AM, Devin Asay wrote: > > On Aug 8, 2011, at 11:06 AM, Bob Sneidar wrote: > >> Hi Devin and anyone else involved. I got this to work. I opened the substack called lib_calendarpane and set it's mainstack to itself, then I saved it. I added that stack (now independent of it's prior mainstack) to my project's stackfiles. Now "there is a stack" and "start using" work fine on this library. > > Yes, looking at my project stack, that's what I did--made the two stacks that comprise the Calendar pane substacks of my mainstack. >> >> I am going to say that in order to start using a stack that isn't already open by Livecode, it cannot be a substack of another stack. You can see why. Even if the parent stack is in the stackfiles, Livecode apparently does not peruse the substacks of the mainstacks in the stack files to find it. >> >> Is this a bug or intended behavior? > > Not sure; I guess I've never tried to 'start using' a substack of another stack. > > Devin From jacque at hyperactivesw.com Mon Aug 8 14:57:37 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 08 Aug 2011 13:57:37 -0500 Subject: CalendarPane In-Reply-To: <229344DC-FCFA-4694-9EF4-54B876414AAC@twft.com> References: <84E4CC63-E315-4E5B-8E9C-D54B8670AFF6@twft.com> <229344DC-FCFA-4694-9EF4-54B876414AAC@twft.com> Message-ID: <4E4031A1.5080504@hyperactivesw.com> On 8/8/11 12:06 PM, Bob Sneidar wrote: > I am going to say that in order to start using a stack that isn't > already open by Livecode, it cannot be a substack of another stack. > You can see why. Even if the parent stack is in the stackfiles, > Livecode apparently does not peruse the substacks of the mainstacks > in the stack files to find it. > > Is this a bug or intended behavior? You should be able to do it if you provide the long name of the substack: start using stack "substack" of stack "mainstack" -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From pete at mollysrevenge.com Mon Aug 8 15:35:26 2011 From: pete at mollysrevenge.com (Pete) Date: Mon, 8 Aug 2011 12:35:26 -0700 Subject: REsolving Behavior References In-Reply-To: <8D84F880-5EE8-4D59-AF71-940034348EC3@twft.com> References: <8D84F880-5EE8-4D59-AF71-940034348EC3@twft.com> Message-ID: Maybe. The start using command is for setting up library scripts though, not behaviors. Seems like there's a case for it to do both (as an option) but right now, I do think it will resolve paths to behavior scripts. Pete Molly's Revenge On Mon, Aug 8, 2011 at 8:50 AM, Bob Sneidar wrote: > This may have been my problem with another calendar widget I was trying to > use. Originally I put the start using statements into the openStack handler > and it worked. When I moved them to the preOpenStack handler, they stopped > working. > > Bob > > > On Aug 6, 2011, at 9:15 PM, Pete wrote: > > > Quoting the dictionary: > > > > "Behaviors are resolved by LiveCode immediately after loading a stack > file" > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > From bruceap at comcast.net Mon Aug 8 15:43:44 2011 From: bruceap at comcast.net (Bruce Pokras) Date: Mon, 8 Aug 2011 15:43:44 -0400 Subject: Any way to show progress while an ON-REV page is processing a script? In-Reply-To: <1312653490.92261.YahooMailClassic@web161601.mail.bf1.yahoo.com> References: <1312653490.92261.YahooMailClassic@web161601.mail.bf1.yahoo.com> Message-ID: <583E1E9B-778B-453E-B6AA-2BC511710D7E@comcast.net> Mike, Thanks for your reply. The input page has a form into which a user types or pastes a list of patents. Upon clicking "Submit" the form POSTS the list to the .lc page for processing. For each patent in the list, the script of the .ic page sends a query to a European Patent Office server. The script then formats the response from the server for each patent as a row in a table. At the end of the processing the table is displayed. For a long list of patents this could take a while. So I am looking for some way for the .lc page to display the progress of its going through the list. Regards, Bruce On Aug 6, 2011, at 1:58 PM, Michael Kann wrote: > Bruce, > > I'm working on something similar. When you write that you have a "list of patent numbers processed by a .lc or .irev page" do you mean that you are going out to fetch the patents each time, or will all the data be on your server? The reason I ask is if the data is on your server it might be better to attack the user delay in your code, rather than work on a progress bar. > > For example, I'm presenting 993 titles of videos; all in a similar format, but the whole list is different each time. When I started out it took about 6 seconds from button click to the list appearing. After setting up a poor man's index and retooling a few loops I've gotten the return trip down to about 50 milliseconds -- good enough for government work. > > Mike > > > --- On Sat, 8/6/11, Bruce Pokras wrote: > > From: Bruce Pokras > Subject: Any way to show progress while an ON-REV page is processing a script? > To: "How to use LiveCode" > Date: Saturday, August 6, 2011, 11:46 AM > > I have a form that uses POST to get a list of patent numbers processed by a .lc or .irev page. Right now, the whole list has to be processed before the user sees that anything has happened. In my case, once all the patent numbers have been processed, the user will see a page of tables with information about each patent. In my revlet version of this process, it was easy to have a field display the progress of the processing with 1 of 20, 2 of 20, 3 of 20, etc. being displayed in a field as the processing of each patent took place. > > Is there any way to display a progress indicator while the .lc or .irev page is processing the patent numbers? I have tried a couple of things, such as having a separate "put" command for each patent, but nothing is displayed until all of the patents have been processed. > > Regards, > > Bruce Pokras > Blazing Dawn 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 richmondmathewson at gmail.com Mon Aug 8 15:56:23 2011 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Mon, 08 Aug 2011 22:56:23 +0300 Subject: [OT] Linux Kernel 3.0 Message-ID: <4E403F67.3050404@gmail.com> Ubuntu: http://kernel.ubuntu.com/~kernel-ppa/mainline/ Debian; http://darmanex.blogspot.com/2011/07/quick-guide-upgrade-linux-kernel-30-on.html sorry, that website seems to be in Bahasa Melayu, although it's dead easy to understand. Source; http://www.kernel.org/ From chipp at chipp.com Mon Aug 8 16:47:28 2011 From: chipp at chipp.com (Chipp Walters) Date: Mon, 8 Aug 2011 15:47:28 -0500 Subject: Sean Shao's Calendar Widget In-Reply-To: <77BDC797-4195-49B7-97F2-22F5048DFB91@twft.com> References: <77BDC797-4195-49B7-97F2-22F5048DFB91@twft.com> Message-ID: It used to be on my site, not sure if it's there now. Check out: http://www.gadgetplugins.com/altplugins/altAnswerDateHarness.rev On Sun, Aug 7, 2011 at 10:49 PM, Bob Sneidar wrote: > I happen to need this now. I looked on the run rev store but do not see it > for sale. I browsed for it but could not find sean's site. If anyone has a > buy link it would be appreciated. The wrapper will be nice too. > > Bob > > Sent from my iPad > > On Aug 6, 2011, at 5:18 PM, Chipp Walters wrote: > > > Charles, > > > > The wrapper makes it easy to call the calendar widget with a single > function > > call. Please check the dialogdata AFTER the dialog is dismissed, and put > > your biz logic there, not in the OK or any other button on the widget. > > > > On Sat, Aug 6, 2011 at 11:07 AM, Charles Szasz wrote: > > > >> Chipp's wrapper for Sean Shao's calendar widget is great! I was able to > use > >> it to call it and insert a date into a field. But I do have a question > about > >> using it in multiple fields. > >> > >> This is the script I am using in the OK button of the calendar widget: > >> > >> on mouseUp > >> set the dialogdata to line 1 of fld "log" > >> > >> if dialogdata is not empty > >> then > >> put item 2 of dialogdata into t --->month > >> put "/" after t > >> put item 3 of dialogdata after t --->day > >> put "/" after t > >> put item 1 of dialogdata after t --->year > >> > >> put t into field "date1" of stack "mileage report" > >> > >> close this stack > >> end if > >> > >> end mouseUp > >> > >> I tried using selectedField in my script in the OK button of the > calendar > >> widget above but that did not work: > >> > >> if selectedField of card "1" stack "mileage report" = field "date2" of > card > >> "1" of stack "mileage report" > >> then > >> put t into field "date2" of card "1" of stack "mileage report" > >> else > >> answer "It did not work!" > >> end if > >> > >> Any suggestions on how I can resolved this dilemma? > >> > >> Thanks for your time! > >> > >> Charles Szasz > >> cszasz 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 > >> > > > > > > > > -- > > Chipp Walters > > CEO, Shafer Walters Group, Inc. > > _______________________________________________ > > use-livecode mailing list > > use-livecode 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 > -- Chipp Walters CEO, Shafer Walters Group, Inc. From chipp at chipp.com Mon Aug 8 16:51:43 2011 From: chipp at chipp.com (Chipp Walters) Date: Mon, 8 Aug 2011 15:51:43 -0500 Subject: Converting HTTP to FTP URL In-Reply-To: <4E4009FD.1010000@hyperactivesw.com> References: <4E3F0DB0.1050306@hyperactivesw.com> <4E3F5279.6000605@gmail.com> <4E3F5CE0.7020607@hyperactivesw.com> <1141567273609.20110807224421@ahsoftware.net> <4E40009B.2060206@hyperactivesw.com> <61603293203.20110808084441@ahsoftware.net> <4E4009FD.1010000@hyperactivesw.com> Message-ID: Jacque, I believe you should have a separate http path and a separate ftp path. This is because as one adds users to their servers, they typically also add a different root folder for the user. So, for instance if I had a file located at: http://fred.com/coolstack/test.rev the ftp path for it might be: ftp://fred.com/test.rev as the username in the ftp would direct the server to the 'coolstack' directory automatically. This is how I solve the problem with MagicCarpet. From bobs at twft.com Mon Aug 8 16:54:22 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 8 Aug 2011 13:54:22 -0700 Subject: REsolving Behavior References In-Reply-To: References: <8D84F880-5EE8-4D59-AF71-940034348EC3@twft.com> Message-ID: <9762ADF3-AA9A-4308-9905-6FDC99918141@twft.com> I should have explained my reasoning more thoroughly. It all makes sense inside my head! LOL! CalendarPane uses behaviors. I was thinking that Start Using did not actually open the stack, and therefore the behaviors were not resolving, but I discovered that it was actually a different problem. Bob On Aug 8, 2011, at 12:35 PM, Pete wrote: > Maybe. The start using command is for setting up library scripts though, > not behaviors. Seems like there's a case for it to do both (as an option) > but right now, I do think it will resolve paths to behavior scripts. > > Pete > Molly's Revenge > > > > > On Mon, Aug 8, 2011 at 8:50 AM, Bob Sneidar wrote: > >> This may have been my problem with another calendar widget I was trying to >> use. Originally I put the start using statements into the openStack handler >> and it worked. When I moved them to the preOpenStack handler, they stopped >> working. >> >> Bob >> >> >> On Aug 6, 2011, at 9:15 PM, Pete wrote: >> >>> Quoting the dictionary: >>> >>> "Behaviors are resolved by LiveCode immediately after loading a stack >> file" >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 Aug 8 16:58:57 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Mon, 8 Aug 2011 13:58:57 -0700 Subject: Converting HTTP to FTP URL In-Reply-To: References: <4E3F0DB0.1050306@hyperactivesw.com> <4E3F5279.6000605@gmail.com> <4E3F5CE0.7020607@hyperactivesw.com> <1141567273609.20110807224421@ahsoftware.net> <4E40009B.2060206@hyperactivesw.com> <61603293203.20110808084441@ahsoftware.net> <4E4009FD.1010000@hyperactivesw.com> Message-ID: This is true for FTP apps like Transmit , Interarchy and Cyberduck that all have separate fields in their settings for web URL and FTP address. That makes features like 'copy URL' and 'copy PATH' available as a context menu item when selecting a file in their browsers. On 8 August 2011 13:51, Chipp Walters wrote: > Jacque, > > I believe you should have a separate http path and a separate ftp path. > This > is because as one adds users to their servers, they typically also add a > different root folder for the user. > > So, for instance if I had a file located at: > http://fred.com/coolstack/test.rev > the ftp path for it might be: ftp://fred.com/test.rev as the username in > the > ftp would direct the server to the 'coolstack' directory automatically. > This > is how I solve the problem with MagicCarpet. > _______________________________________________ > use-livecode mailing list > use-livecode 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 stephenREVOLUTION2 at barncard.com Mon Aug 8 17:24:37 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Mon, 8 Aug 2011 14:24:37 -0700 Subject: Any way to show progress while an ON-REV page is processing a script? In-Reply-To: <583E1E9B-778B-453E-B6AA-2BC511710D7E@comcast.net> References: <1312653490.92261.YahooMailClassic@web161601.mail.bf1.yahoo.com> <583E1E9B-778B-453E-B6AA-2BC511710D7E@comcast.net> Message-ID: definitely make your process times short; do small batches at a time, otherwise you might get a notice from the timeout police! In other words, you need to give time for other processes other than your own to 'do their thing'. The small performance hit is worth it for a happy server for all, besides it breaks out of the blocking and give a moment to do your .... progress display. On 8 August 2011 12:43, Bruce Pokras wrote: > Mike, > > Thanks for your reply. The input page has a form into which a user types or > pastes a list of patents. Upon clicking "Submit" the form POSTS the list to > the .lc page for processing. For each patent in the list, the script of the > .ic page sends a query to a European Patent Office server. The script then > formats the response from the server for each patent as a row in a table. At > the end of the processing the table is displayed. For a long list of patents > this could take a while. So I am looking for some way for the .lc page to > display the progress of its going through the list. > > Regards, > > Bruce > > On Aug 6, 2011, at 1:58 PM, Michael Kann wrote: > > > Bruce, > > > > I'm working on something similar. When you write that you have a "list of > patent numbers processed by a .lc or .irev page" do you mean that you are > going out to fetch the patents each time, or will all the data be on your > server? The reason I ask is if the data is on your server it might be better > to attack the user delay in your code, rather than work on a progress bar. > > > > For example, I'm presenting 993 titles of videos; all in a similar > format, but the whole list is different each time. When I started out it > took about 6 seconds from button click to the list appearing. After setting > up a poor man's index and retooling a few loops I've gotten the return trip > down to about 50 milliseconds -- good enough for government work. > > > > Mike > > > > > > --- On Sat, 8/6/11, Bruce Pokras wrote: > > > > From: Bruce Pokras > > Subject: Any way to show progress while an ON-REV page is processing a > script? > > To: "How to use LiveCode" > > Date: Saturday, August 6, 2011, 11:46 AM > > > > I have a form that uses POST to get a list of patent numbers processed by > a .lc or .irev page. Right now, the whole list has to be processed before > the user sees that anything has happened. In my case, once all the patent > numbers have been processed, the user will see a page of tables with > information about each patent. In my revlet version of this process, it was > easy to have a field display the progress of the processing with 1 of 20, 2 > of 20, 3 of 20, etc. being displayed in a field as the processing of each > patent took place. > > > > Is there any way to display a progress indicator while the .lc or .irev > page is processing the patent numbers? I have tried a couple of things, such > as having a separate "put" command for each patent, but nothing is displayed > until all of the patents have been processed. > > > > Regards, > > > > Bruce Pokras > > Blazing Dawn 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 admin at mfelkerco.com Mon Aug 8 18:57:09 2011 From: admin at mfelkerco.com (Admin) Date: Mon, 08 Aug 2011 17:57:09 -0500 Subject: android dev - how to change screen =?UTF-8?Q?orientation=3F?= In-Reply-To: <4E4031A1.5080504@hyperactivesw.com> References: <84E4CC63-E315-4E5B-8E9C-D54B8670AFF6@twft.com> <229344DC-FCFA-4694-9EF4-54B876414AAC@twft.com> <4E4031A1.5080504@hyperactivesw.com> Message-ID: > Hello everyone, > > Right now, my app is in portrait mode, but I want it in landscape mode. What is the command to make that happen? Can I put this command in the openstack handler? > > Mike From admin at mfelkerco.com Mon Aug 8 18:59:48 2011 From: admin at mfelkerco.com (Admin) Date: Mon, 08 Aug 2011 17:59:48 -0500 Subject: mysql and android - does it =?UTF-8?Q?work=3F?= In-Reply-To: <4E4031A1.5080504@hyperactivesw.com> References: <84E4CC63-E315-4E5B-8E9C-D54B8670AFF6@twft.com> <229344DC-FCFA-4694-9EF4-54B876414AAC@twft.com> <4E4031A1.5080504@hyperactivesw.com> Message-ID: <78b4896fcec23fe5774953516b5a9746@mfelkerco.com> Hello everyone. My database app utilizes a mysql database. When testing for android, the app shows up fine (but needs to be in landscape mode, not portrait), but when I try to login, it gives me a revdberr - invalid database type. This works on the desktop (pc and mac). Does mysql work on Android? How do I get this to work if it does? Mike From jhurley0305 at sbcglobal.net Mon Aug 8 19:03:03 2011 From: jhurley0305 at sbcglobal.net (James Hurley) Date: Mon, 8 Aug 2011 16:03:03 -0700 Subject: Replacing the quote character In-Reply-To: References: Message-ID: <6035B6CD-5B65-4090-89C5-15C95BC27B10@sbcglobal.net> How do I replace the quote character in a string using the "replace" command? Replace [????] with "#" in tList Jim Hurley From admin at mfelkerco.com Mon Aug 8 19:10:01 2011 From: admin at mfelkerco.com (Admin) Date: Mon, 08 Aug 2011 18:10:01 -0500 Subject: Replacing the quote character In-Reply-To: <6035B6CD-5B65-4090-89C5-15C95BC27B10@sbcglobal.net> References: <6035B6CD-5B65-4090-89C5-15C95BC27B10@sbcglobal.net> Message-ID: chartonum(39) that's how I replace quotes (cannot remember if that's a single or double quote though)? replace chartonum(39) with chartonum(xx) in tList where xx is the ascii number for a # symbol. would be my guess. Mike On Mon, 8 Aug 2011 16:03:03 -0700, James Hurley wrote: > How do I replace the quote character in a string using the "replace" command? > > Replace [????] with "#" in tList > > Jim Hurley > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com [1] > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode [2] Links: ------ [1] mailto:use-livecode at lists.runrev.com [2] http://lists.runrev.com/mailman/listinfo/use-livecode From jhj at jhj.com Mon Aug 8 19:12:23 2011 From: jhj at jhj.com (Jerry J) Date: Mon, 8 Aug 2011 16:12:23 -0700 Subject: Replacing the quote character In-Reply-To: <6035B6CD-5B65-4090-89C5-15C95BC27B10@sbcglobal.net> References: <6035B6CD-5B65-4090-89C5-15C95BC27B10@sbcglobal.net> Message-ID: <66D49F5F-2EEF-43E7-A84E-C6EB0155757E@jhj.com> replace quote with "#" in tList no kidding! --Jerry On Aug 8, 2011, at 4:03 PM, James Hurley wrote: > How do I replace the quote character in a string using the "replace" command? > > Replace [????] with "#" in tList > > 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 bobs at twft.com Mon Aug 8 19:38:31 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 8 Aug 2011 16:38:31 -0700 Subject: Replacing the quote character In-Reply-To: <6035B6CD-5B65-4090-89C5-15C95BC27B10@sbcglobal.net> References: <6035B6CD-5B65-4090-89C5-15C95BC27B10@sbcglobal.net> Message-ID: <587A976F-6C0C-49AA-B8C4-2FB6FAE0AAC2@twft.com> The reserved word "quote" contains the quote character. More are tab, return (which is just cr, or cr/lf depending on the os), cr (just cr), lf (just lf), and there may be a few more. I like to put "`" into sq as a global in any database app I am working with, so I can say something like: put sq before theColumnName;put sq after theColumnName Bob On Aug 8, 2011, at 4:03 PM, James Hurley wrote: > How do I replace the quote character in a string using the "replace" command? > > Replace [????] with "#" in tList > > 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 andrew at rjdfarm.com Mon Aug 8 19:41:16 2011 From: andrew at rjdfarm.com (Andrew Kluthe) Date: Mon, 8 Aug 2011 18:41:16 -0500 Subject: Stack Password Protection Message-ID: Hey all, I have an application that uses several different stackfiles that are loaded by a standalone launcher (sort of like stackrunner). I want to be able to encrpyt the stackfiles so that the user can't just open up the stacks in a text editor and see my code. I can't find a lot of information on how password protecting stacks works in this scenario. Has anyone here delivered an application with password protected stackfiles before? Things to look out for? The stacks in question get saved to disk frequently with preference changes. Not sure if password protection affects the way this works. Thanks in advance for the help, Andrew From jhurley0305 at sbcglobal.net Mon Aug 8 19:57:39 2011 From: jhurley0305 at sbcglobal.net (James Hurley) Date: Mon, 8 Aug 2011 16:57:39 -0700 Subject: Replacing the quote character In-Reply-To: References: Message-ID: <9023FCC5-DB45-4531-8057-D0C8849425BB@sbcglobal.net> I discovered I have the MS curly quotes. This is what works for these: replace numToChar(210) with "#" in tList replace numToChar(211) with "#" in tList Thanks Mike and Jerry. Jim Hurley From m.schonewille at economy-x-talk.com Mon Aug 8 20:00:03 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 9 Aug 2011 02:00:03 +0200 Subject: Stack Password Protection In-Reply-To: References: Message-ID: Hi Andrew, You can set the password of a stack from the message box. The syntax is: set the password of this stack to "foo" Replace foo with your password. To remove the password, do this: set the passkey of this stack to "foo" set the password of this stack to empty Select inclusions manually in the standalone settings, because LiveCode can't search password-protected stacks for required inclusions. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 What does that error mean? Buy LiveCodeErrors for iPhone now http://qery.us/v4 A must-have for LiveCode programmers. On 9 aug 2011, at 01:41, Andrew Kluthe wrote: > Hey all, > > I have an application that uses several different stackfiles that are loaded > by a standalone launcher (sort of like stackrunner). I want to be able to > encrpyt the stackfiles so that the user can't just open up the stacks in a > text editor and see my code. > > I can't find a lot of information on how password protecting stacks works in > this scenario. > > Has anyone here delivered an application with password protected stackfiles > before? > > Things to look out for? > > The stacks in question get saved to disk frequently with preference changes. > Not sure if password protection affects the way this works. > > Thanks in advance for the help, > > Andrew From andrew at rjdfarm.com Mon Aug 8 20:03:14 2011 From: andrew at rjdfarm.com (Andrew Kluthe) Date: Mon, 8 Aug 2011 17:03:14 -0700 (PDT) Subject: Stack Password Protection In-Reply-To: References: Message-ID: <1312848194384-3728647.post@n4.nabble.com> So password protecting these stacks don't affect what happens when my standalone opens one of them? -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Stack-Password-Protection-tp3728618p3728647.html Sent from the Revolution - User mailing list archive at Nabble.com. From bobs at twft.com Mon Aug 8 20:07:22 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 8 Aug 2011 17:07:22 -0700 Subject: Replacing the quote character In-Reply-To: <9023FCC5-DB45-4531-8057-D0C8849425BB@sbcglobal.net> References: <9023FCC5-DB45-4531-8057-D0C8849425BB@sbcglobal.net> Message-ID: <58CA842D-4BD0-4B58-A97C-02CF763A3B2E@twft.com> Those are really good with ketchup. OH QOUTES! nvm Bob On Aug 8, 2011, at 4:57 PM, James Hurley wrote: > I discovered I have the MS curly quotes. This is what works for these: > > replace numToChar(210) with "#" in tList > replace numToChar(211) with "#" in tList > > Thanks Mike and Jerry. > > 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 Mon Aug 8 20:31:12 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 9 Aug 2011 02:31:12 +0200 Subject: Stack Password Protection In-Reply-To: <1312848194384-3728647.post@n4.nabble.com> References: <1312848194384-3728647.post@n4.nabble.com> Message-ID: <0CDA3E35-A886-48CB-A90D-53D33FC7FD55@economy-x-talk.com> Hi Andrew, Your standalone will be able to access the stacks, but they won't be able to make any changes to them that involves scripts, including setting scripts and copying from or pasting objects to those stacks. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 What does that error mean? Buy LiveCodeErrors for iPhone now http://qery.us/v4 A must-have for LiveCode programmers. On 9 aug 2011, at 02:03, Andrew Kluthe wrote: > So password protecting these stacks don't affect what happens when my > standalone opens one of them? From niconiko at gmail.com Mon Aug 8 20:35:09 2011 From: niconiko at gmail.com (Nicolas Cueto) Date: Tue, 9 Aug 2011 09:35:09 +0900 Subject: Money Script In-Reply-To: <95E5882B-0444-49B0-95BA-A383421DDD9B@mac.com> References: <95E5882B-0444-49B0-95BA-A383421DDD9B@mac.com> Message-ID: Charles, I had no idea what "dollar sign" script of mine you were referring to. So, I looked in the mailing-list archives. Wow! I'd completely forgotten about that. > Your script is very cool Thanks but it's embarrassingly inelegant. Found something much cleaner, by Mark Wieder. It relies on the "format" function. Plus added my own function to first convert a cent figure into a decimal figure. All of which I've included below. Here's some conversion examples (original figure, as cents --> my conversion --> Mark's conversion): "1825" --> "18.25" --> "$18.25" "8" --> ".08" --> "$0.08" "80" --> ".8" --> "0.80" "123456789" --> "123456789" --> "$1,234,567.89" I think that takes care of what you're after. If not, just ask -- even here onlist, cause that way you're sure to get advice much better than mine. Cheers. -- Nicolas Cueto //////////// S T A R T O F M O U S E S C R I P T ////// on mouseUp put field "Original figure in cents" into tCents // Call a function within a function! put fNumericToMoney(fNumericToCent(tCents)) into tDollarsAndCents put tDollarsAndCents into field "Dollar and cents figure" end mouseUp // My function. Which brute-force inserts a decimal. // Probably there's a better way... function fNumericToCent pNumeric switch (the number of chars in pNumeric) case 1 put ".0" & pNumeric into tCentFigure break case 2 put "." & pNumeric into tCentFigure default put pNumeric into tCentFigure put "." before char -2 of tCentFigure end switch return tCentFigure end fNumericToCent // The next function is by Mark Wieder. function fNumericToMoney pNumeric local tMoney local x -- leading dollar sign and two digits for cents put format("$%.2f", pNumeric) into tMoney -- add the commas as necessary -- 4 is to ensure we don't get a comma before the dollar sign -- 6 here is skipping over the first three digits, the period, and the cents repeat with x=length(tMoney)-6 to 4 step -3 -- +1 to skip over the dollar sign put comma before char x+1 of tMoney end repeat return tMoney end fNumericToMoney From niconiko at gmail.com Mon Aug 8 20:37:31 2011 From: niconiko at gmail.com (Nicolas Cueto) Date: Tue, 9 Aug 2011 09:37:31 +0900 Subject: Money Script In-Reply-To: References: <95E5882B-0444-49B0-95BA-A383421DDD9B@mac.com> Message-ID: Oops. > "123456789" --> "123456789" --> "$1,234,567.89" That example should've been: "123456789" --> "1234567.89" --> "$1,234,567.89" -- Nicolas Cueto From david at rotundasoftware.com Mon Aug 8 20:44:45 2011 From: david at rotundasoftware.com (David Beck) Date: Mon, 8 Aug 2011 17:44:45 -0700 Subject: CalendarPane In-Reply-To: References: Message-ID: <1988F69F-E3D0-425C-8814-B91402434F78@rotundasoftware.com> Hi Bob, You can send it to me and I'll update in and post it back here with the rest of the resources: http://www.rotundasoftware.com/livecode/ If there is a central place for these open source livecode projects I can post it there as well. Sorry about the delay on getting back to you on this thread. I changed email addresses and my messages to the list were not going through. Glad to hear you got it working. Thanks, David Beck On Aug 8, 2011, at 5:35 PM, use-livecode-request at lists.runrev.com wrote: > Message: 7 > Date: Mon, 8 Aug 2011 11:54:02 -0700 > From: Bob Sneidar > To: How to use LiveCode > Subject: Re: CalendarPane > Message-ID: <5E3490D9-2915-477B-A00C-50A29A73339A at twft.com> > Content-Type: text/plain; charset=us-ascii > > Ok so if the calendarPane widget is now open source, I would like to upload a corrected zip file containing the CalendarPane help stack, the now separated lib_CalendarPane and the lib_Rect stacks. I think this is the form the download should take. I couldn't get it to work at first, because I assumed that lib_Rect was a substack of the CalendarPane stack, same as lib_CalendarStack. > > Anyone have an idea about where I could send that? > > Bob From roger.e.eller at sealedair.com Mon Aug 8 20:49:54 2011 From: roger.e.eller at sealedair.com (Roger Eller) Date: Mon, 8 Aug 2011 20:49:54 -0400 Subject: Replacing the quote character In-Reply-To: <9023FCC5-DB45-4531-8057-D0C8849425BB@sbcglobal.net> References: <9023FCC5-DB45-4531-8057-D0C8849425BB@sbcglobal.net> Message-ID: On Mon, Aug 8, 2011 at 7:57 PM, James Hurley wrote: > I discovered I have the MS curly quotes. This is what works for these: > > replace numToChar(210) with "#" in tList > replace numToChar(211) with "#" in tList > > Thanks Mike and Jerry. > > Jim Hurley > MS (major stooge) Curly quotes? ;-) From mwieder at ahsoftware.net Mon Aug 8 20:54:34 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 8 Aug 2011 17:54:34 -0700 Subject: Replacing the quote character In-Reply-To: References: <9023FCC5-DB45-4531-8057-D0C8849425BB@sbcglobal.net> Message-ID: <421636286109.20110808175434@ahsoftware.net> Roger- Monday, August 8, 2011, 5:49:54 PM, you wrote: > MS (major stooge) Curly quotes? ;-) Nyuk nyuk nyuk -- -Mark Wieder mwieder at ahsoftware.net From andrew at rjdfarm.com Mon Aug 8 21:09:49 2011 From: andrew at rjdfarm.com (Andrew Kluthe) Date: Mon, 8 Aug 2011 18:09:49 -0700 (PDT) Subject: Stack Password Protection In-Reply-To: <0CDA3E35-A886-48CB-A90D-53D33FC7FD55@economy-x-talk.com> References: <1312848194384-3728647.post@n4.nabble.com> <0CDA3E35-A886-48CB-A90D-53D33FC7FD55@economy-x-talk.com> Message-ID: <1312852189723-3728741.post@n4.nabble.com> Nice! I was terrified to just try and make the leap on my finished product without asking about how it works first. I thought the standalone needed to give a password to run the stacks. Now I realize how these work! Awesome! -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Stack-Password-Protection-tp3728618p3728741.html Sent from the Revolution - User mailing list archive at Nabble.com. From rman at free.fr Mon Aug 8 21:16:10 2011 From: rman at free.fr (Robert Mann) Date: Mon, 8 Aug 2011 18:16:10 -0700 (PDT) Subject: [Server] create stack trouble In-Reply-To: <1312823916875-3727680.post@n4.nabble.com> References: <1312594846940-3722610.post@n4.nabble.com> <1312596414009-3722633.post@n4.nabble.com> <1312722952069-3724846.post@n4.nabble.com> <1312756698247-3725740.post@n4.nabble.com> <1312818261073-3727358.post@n4.nabble.com> <1312820760865-3727487.post@n4.nabble.com> <1312823916875-3727680.post@n4.nabble.com> Message-ID: <1312852570360-3728748.post@n4.nabble.com> I started to work on a project involving server stacks and had to stop full stop... here is why : Servers stacks are designed as SCRIPT CONTAINERS, allowing to password protect scripts on the server and develop libraries. Card creation, field creation and navigation are crippled and do not allow a more standard use of stacks, as a structured data container. Re-use of standard stacks will fail for many reasons with the command go stack. Loading stacks as libraries with the "start using.." threw the same error on loading when first card had a button or fields on it. So id' rather call'em server LIBRARIES than stacks. details : http://runtime-revolution.278305.n4.nabble.com/file/n3728748/revServer-MEMO-server_Stacks_v1.rtf revServer-MEMO-server_Stacks_v1.rtf of course it would be great for some of you to counter test these findings, update this memo and let us know, and communicate with mothership those who are in close contacts. It would be great to know what these server stacks are aimed at, will they gradually (..years!) come to par with standard stacks or are they INTENDED as stack libraries full stop!? Thanks, RObert. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Server-create-stack-trouble-tp3721781p3728748.html Sent from the Revolution - User mailing list archive at Nabble.com. From rdimola at evergreeninfo.net Mon Aug 8 21:22:08 2011 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Mon, 8 Aug 2011 21:22:08 -0400 Subject: REVLET HELP Message-ID: <003901cc5632$c214d340$463e79c0$@net> I have an app that I am trying to demo using revlet. I am using IIS on SBS 2008. Access from IIS works but with some problems. Problems: 1) My app uses SQLite. Database access works when I go to the web page from my development IE XP-SP3, but won't work from any other PC, both XP or Win7. No error displayed. 2) On my Dev PC when the focus is on a text field the left and right arrow keys don't move the cursor in the field and the up down arrow moves the page up and down like the mouse scroll wheel and the backspace does a browser back page. 3) I changed general standalone application settings to manually configure inclusions(like SQLite) the revlet just locks up and I have to kill the IE process. 4) The test.html produced always tells me that I need to download the plug-in even though it is installed. I changed this line of code to get the page to display. if(pluginlist.indexOf("Revolution")!=-1){ plugin.style.display = "block"; }else{ noplugin.style.display = "block"; } TO.. if(pluginlist.indexOf("Revolution")!=-1){ plugin.style.display = "block"; }else{ plugin.style.display = "block"; } This of course will not detect that the plug-in is not installed. Any Ideas? Thanks Ralph From jimaultwins at yahoo.com Mon Aug 8 21:42:54 2011 From: jimaultwins at yahoo.com (Jim Ault) Date: Mon, 8 Aug 2011 18:42:54 -0700 (PDT) Subject: Replacing the quote character In-Reply-To: <9023FCC5-DB45-4531-8057-D0C8849425BB@sbcglobal.net> Message-ID: <1312854174.77007.YahooMailClassic@web120526.mail.ne1.yahoo.com> The ascii number will depend on the font you are using. Some fonts do not use high ascii for curly quotes, so char 210 looks like something else, especially a font like Wingdings. Another caution when using the reserved word 'quote' in LC... ? put word 2 of dataString -- will only work for straight quotes, not curly quotes. Jim Ault Las Vegas --- On Mon, 8/8/11, James Hurley wrote: From: James Hurley Subject: Re: Replacing the quote character To: use-livecode at lists.runrev.com Date: Monday, August 8, 2011, 4:57 PM I discovered I have the MS curly quotes. This is what works for these: replace numToChar(210) with "#" in tList replace numToChar(211) with "#" in tList Thanks Mike and Jerry. 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 revdev at pdslabs.net Mon Aug 8 21:59:36 2011 From: revdev at pdslabs.net (Phil Davis) Date: Mon, 08 Aug 2011 18:59:36 -0700 Subject: creating an alias on a server Message-ID: <4E409488.8040304@pdslabs.net> Hi all, I am building a server app with LC and would like it to create an alias (symbolic link) on the server, in a folder that is among those known to Apache on the server (don't know if that makes any difference). I tried LC 'create alias' and a shell(ln -s ) without success. Then I added 'sudo' (with an echoed password) to the shell script, but the 'ln' output tells me I'm not using the correct password. Of course I'm using the only password I ever gave anything on the server. I'm not sure what to try next. Does anyone have any ideas? My tactical goal is to 'put' an existing web page from a CGI, where the page contains relative links to images etc that are actually in folders outside the reach of the web server. If I can automate the creation of a symbolic link in the folder where the CGI resides, I believe I can get there. My strategic goal is to serve various sets of web pages only to those who are authorized - whose sign-in info has been validated. Maybe there is a better tactic to get me there? Thanks for any ideas. -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net From andrew at rjdfarm.com Mon Aug 8 22:05:09 2011 From: andrew at rjdfarm.com (Andrew Kluthe) Date: Mon, 8 Aug 2011 21:05:09 -0500 Subject: [On-Rev] Using Shell to Manipulate SQL Message-ID: Here is another thing I am wondering about this evening. I am curious as to how much power the Shell() function in an On-Rev configuration is. I'd like to create mySQL databases & users on the fly. I know the shell() function can run commands for you, but do you think I will be able to create mysql databases and users as root? Has anyone tried this? Thanks, Andrew From andrew at rjdfarm.com Mon Aug 8 22:15:12 2011 From: andrew at rjdfarm.com (Andrew Kluthe) Date: Mon, 8 Aug 2011 19:15:12 -0700 (PDT) Subject: [On-Rev] Using Shell to Manipulate SQL In-Reply-To: References: Message-ID: <1312856112195-3728823.post@n4.nabble.com> Tested it out and it just seems I don't have access to the mySQL root account on my on-rev. Probably because its shared hosting. A simple grep for uptime: Enter password: ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO) -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/On-Rev-Using-Shell-to-Manipulate-SQL-tp3728813p3728823.html Sent from the Revolution - User mailing list archive at Nabble.com. From jimschaubeck at yahoo.com Mon Aug 8 22:52:04 2011 From: jimschaubeck at yahoo.com (Jim Schaubeck) Date: Mon, 8 Aug 2011 19:52:04 -0700 Subject: Sending Text Messages In-Reply-To: <7D97AF38-30DC-4EE2-91C4-DEE3314E8C35@mac.com> References: <7D97AF38-30DC-4EE2-91C4-DEE3314E8C35@mac.com> Message-ID: <0c9c01cc563f$526ec020$f74c4060$@yahoo.com> Dave, There's much room for assumptions based on your question but I can tell you that I wrote a Help Ticket program that sends texts every day. Works well. You can go to Chipp Walters' site and download his altEmailHarness app. This app will show you how to communicate with the included library stack libSmtp253 from Sean Shao. Sean's library does some heavy lifting so I didn't modify it a bit. Once you figured out how to send emails, you can send text msgs by knowing the phone number of the cell you want to reach. There are two things you can do at that point. By also knowing the CARRIER, you can send an email to that carriers domain (google for the various carrier domains) or you can send to all of them and the right one gets through while the rest are bounced (not exactly a good practice if you ask me). Hopes this helps and many thanks to Sean and Chipp. jim schaubeck 714-321-4499 -----Original Message----- From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Dave Wares Sent: Wednesday, July 27, 2011 12:48 PM To: use-livecode at lists.runrev.com Subject: Sending Text Messages Is it possible to send a text message directly from LiveCode, even if the user still needs to hit the "send" button? _______________________________________________ use-livecode mailing list use-livecode at 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 Aug 9 01:34:08 2011 From: revdev at pdslabs.net (Phil Davis) Date: Mon, 08 Aug 2011 22:34:08 -0700 Subject: creating an alias on a server In-Reply-To: <4E409488.8040304@pdslabs.net> References: <4E409488.8040304@pdslabs.net> Message-ID: <4E40C6D0.2050602@pdslabs.net> Never mind. I have experimented with it enough now so I believe it's not workable even if it is possible (which I have not proven). I'll find another way. Phil On 8/8/11 6:59 PM, Phil Davis wrote: > Hi all, > > I am building a server app with LC and would like it to create an alias > (symbolic link) on the server, in a folder that is among those known to Apache > on the server (don't know if that makes any difference). I tried LC 'create > alias' and a shell(ln -s ) without success. Then I added > 'sudo' (with an echoed password) to the shell script, but the 'ln' output > tells me I'm not using the correct password. Of course I'm using the only > password I ever gave anything on the server. > > I'm not sure what to try next. Does anyone have any ideas? > > My tactical goal is to 'put' an existing web page from a CGI, where the page > contains relative links to images etc that are actually in folders outside the > reach of the web server. If I can automate the creation of a symbolic link in > the folder where the CGI resides, I believe I can get there. > > My strategic goal is to serve various sets of web pages only to those who are > authorized - whose sign-in info has been validated. Maybe there is a better > tactic to get me there? > > Thanks for any ideas. -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net From admin at FlexibleLearning.com Tue Aug 9 01:49:17 2011 From: admin at FlexibleLearning.com (FlexibleLearning) Date: Tue, 9 Aug 2011 06:49:17 +0100 Subject: Money Script In-Reply-To: Message-ID: Mark Wieder's script, adjusted to optionally support an arbitrary currency sign... on mouseUp put fNumericToMoney (fld "Value",fld "Sign") into fld "currency" end mouseUp function fNumericToMoney pNumeric,pSign local tMoney local x -- leading dollar sign and two digits for cents if pSign="" then put "$" into pSign put format(pSign&"%.2f", pNumeric) into tMoney -- add the commas as necessary -- 4 is to ensure we don't get a comma before the dollar sign -- 6 here is skipping over the first three digits, the period, and the cents repeat with x=length(tMoney)-6 to 4 step -3 -- +1 to skip over the dollar sign put comma before char x+1 of tMoney end repeat return tMoney end fNumericToMoney Hugh Senior FLCo From admin at FlexibleLearning.com Tue Aug 9 02:02:14 2011 From: admin at FlexibleLearning.com (FlexibleLearning) Date: Tue, 9 Aug 2011 07:02:14 +0100 Subject: Money Script In-Reply-To: Message-ID: This also handles negative values... Mark Wieder's script, adjusted to optionally support an arbitrary currency sign... on mouseUp put fNumericToMoney (fld "Value",fld "Sign") into fld "currency" end mouseUp function fNumericToMoney pNumeric,pSign local tMoney local x -- leading dollar sign and two digits for cents if pSign="" then put "$" into pSign put pNumeric<0 into isNeg put abs(pNumeric) into pNumeric put format(pSign&"%.2f", pNumeric) into tMoney -- add the commas as necessary -- 4 is to ensure we don't get a comma before the dollar sign -- 6 here is skipping over the first three digits, the period, and the cents repeat with x=length(tMoney)-6 to 4 step -3 -- +1 to skip over the dollar sign put comma before char x+1 of tMoney end repeat if isNeg then put "-" before tMoney return tMoney end fNumericToMoney Hugh Senior FLCo From stephenREVOLUTION2 at barncard.com Tue Aug 9 02:03:10 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Mon, 8 Aug 2011 23:03:10 -0700 Subject: [Server] create stack trouble In-Reply-To: <1312852570360-3728748.post@n4.nabble.com> References: <1312594846940-3722610.post@n4.nabble.com> <1312596414009-3722633.post@n4.nabble.com> <1312722952069-3724846.post@n4.nabble.com> <1312756698247-3725740.post@n4.nabble.com> <1312818261073-3727358.post@n4.nabble.com> <1312820760865-3727487.post@n4.nabble.com> <1312823916875-3727680.post@n4.nabble.com> <1312852570360-3728748.post@n4.nabble.com> Message-ID: Again, Robert I have to disagree with you about this. You seem to feel shortchanged somehow with the way stacks work on the server, yet it's really doing all it can do in that environment. What else would you want a stack to do on a server? The GUI has to be created in HTML - it's a web browser you're looking at from the user's point of view. If you want Livecode to work like an app online with its GUI, it's been done --- the Livecode Revlet. I must repeat that card creation is NOT broken, I have been able to create and access custom properties of cards as well as stacks, which gives yet another dimension to the storage matrix. Field creation or the creation of any other object than stacks, cards and props is pointless and not applicable, and you can't "go" to a stack but you can open one and get and change its data.. CARD CREATE EXAMPLE each time I run this script below, another card Iis added to the stack, and the number of cds is printed. libFile_randWord() is a single word lorem generator. * put libFile_randWord() into cdName* * create card cdName* * save stack gDataA["filename"]* * put the number of cds in stack gDataA["stackname"] into tNC* * put tNC && "cards"* * * On 8 August 2011 18:16, Robert Mann wrote: > I started to work on a project involving server stacks and had to stop full > stop... here is why : > > > Servers stacks are designed as SCRIPT CONTAINERS, allowing to password > protect scripts on the server and develop libraries. Card creation, field > creation and navigation are crippled and do not allow a more standard use > of > stacks, as a structured data container. Re-use of standard stacks will fail > for many reasons with the command go stack. Loading stacks as libraries > with > the "start using.." threw the same error on loading when first card had a > button or fields on it. So id' rather call'em server LIBRARIES than stacks. > > details : > > http://runtime-revolution.278305.n4.nabble.com/file/n3728748/revServer-MEMO-server_Stacks_v1.rtf > revServer-MEMO-server_Stacks_v1.rtf > > of course it would be great for some of you to counter test these findings, > update this memo and let us know, > and communicate with mothership those who are in close contacts. > > It would be great to know what these server stacks are aimed at, will they > gradually (..years!) come to par with standard stacks or are they INTENDED > as stack libraries full stop!? Thanks, RObert. > > > Stephen Barncard San Francisco Ca. USA more about sqb From richmondmathewson at gmail.com Tue Aug 9 06:24:23 2011 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Tue, 09 Aug 2011 13:24:23 +0300 Subject: revGoURL Message-ID: <4E410AD7.3080207@gmail.com> Is it possible to use revGoURL to download files without the mediation of the end-user's web-browser? Or, put another way: it it possible to have a button called something like "DOWNLOAD", which, on a mouseUp, will transparently download a file? From dixonja at hotmail.co.uk Tue Aug 9 06:59:25 2011 From: dixonja at hotmail.co.uk (John Dixon) Date: Tue, 9 Aug 2011 11:59:25 +0100 Subject: revGoURL In-Reply-To: <4E410AD7.3080207@gmail.com> References: <4E410AD7.3080207@gmail.com> Message-ID: Have a look at 'ftp' in the dictionary, that will do it for you.... > Date: Tue, 9 Aug 2011 13:24:23 +0300 > From: richmondmathewson at gmail.com > Is it possible to use revGoURL to download files without the mediation > of the end-user's web-browser? > > Or, put another way: it it possible to have a button called something like > "DOWNLOAD", which, on a mouseUp, will transparently download a file? From m.schonewille at economy-x-talk.com Tue Aug 9 07:06:45 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 9 Aug 2011 13:06:45 +0200 Subject: revGoURL In-Reply-To: <4E410AD7.3080207@gmail.com> References: <4E410AD7.3080207@gmail.com> Message-ID: Hi Richmond, It impossible to use revGoUrl (now launch url) without webbrowser, unless you trick your operating system. It is possible to use the put url function together with the urlStatus function. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 What does that error mean? Buy LiveCodeErrors for iPhone now http://qery.us/v4 A must-have for LiveCode programmers. On 9 aug 2011, at 12:24, Richmond Mathewson wrote: > Is it possible to use revGoURL to download files without the mediation of the end-user's web-browser? > > Or, put another way: it it possible to have a button called something like > "DOWNLOAD", which, on a mouseUp, will transparently download a file? > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Aug 9 07:57:50 2011 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Tue, 9 Aug 2011 13:57:50 +0200 Subject: OT: Where do I find my Lion Download after having downloaded it? Message-ID: <001b01cc568b$94cede90$be6c9bb0$@de> Hello, I have downloaded and installed Lion on a fresh empty partition. Now I still need to install the developer folder, which usually resides on the DVD. Does anybody knows where I find my Lion download on my disc and how to get the developer tools, or is there another way to get them? Any hint welcome Tiemo From coiin at verizon.net Tue Aug 9 08:08:25 2011 From: coiin at verizon.net (Colin Holgate) Date: Tue, 09 Aug 2011 08:08:25 -0400 Subject: OT: Where do I find my Lion Download after having downloaded it? In-Reply-To: <001b01cc568b$94cede90$be6c9bb0$@de> References: <001b01cc568b$94cede90$be6c9bb0$@de> Message-ID: <3293C7A0-54B7-4C12-A3DD-7916015FFDCE@verizon.net> I don't think the Lion compatible version of Xcode is released yet, so you would need to download the beta from your Mac OS or iOS developer account page. You can download the existing release version from there too. Not sure if it runs fine in Lion. From toolbook at kestner.de Tue Aug 9 08:30:43 2011 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Tue, 9 Aug 2011 14:30:43 +0200 Subject: AW: OT: Where do I find my Lion Download after having downloaded it? In-Reply-To: <3293C7A0-54B7-4C12-A3DD-7916015FFDCE@verizon.net> References: <001b01cc568b$94cede90$be6c9bb0$@de> <3293C7A0-54B7-4C12-A3DD-7916015FFDCE@verizon.net> Message-ID: <002501cc5690$2c585e90$85091bb0$@de> Hi Colin, I found a 10.7 version in the AppStore, 2.96GB :( Again approaching a couple of days of download. I really hate the arrogance of Apple presuming everyone has a fast internet connection. On which planet do they live? Thanks for your hint Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode-bounces at lists.runrev.com [mailto:use-livecode- > bounces at lists.runrev.com] Im Auftrag von Colin Holgate > Gesendet: Dienstag, 9. August 2011 14:08 > An: How to use LiveCode > Betreff: Re: OT: Where do I find my Lion Download after having downloaded it? > > I don't think the Lion compatible version of Xcode is released yet, so you > would need to download the beta from your Mac OS or iOS developer account > page. You can download the existing release version from there too. Not sure > if it runs fine in Lion. > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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.on-rev.com Tue Aug 9 08:23:25 2011 From: klaus at major.on-rev.com (Klaus on-rev) Date: Tue, 9 Aug 2011 14:23:25 +0200 Subject: OT: Where do I find my Lion Download after having downloaded it? In-Reply-To: <3293C7A0-54B7-4C12-A3DD-7916015FFDCE@verizon.net> References: <001b01cc568b$94cede90$be6c9bb0$@de> <3293C7A0-54B7-4C12-A3DD-7916015FFDCE@verizon.net> Message-ID: Am 09.08.2011 um 14:08 schrieb Colin Holgate: > I don't think the Lion compatible version of Xcode is released yet, so you would need to download the beta from your Mac OS or iOS developer account page. You can download the existing release version from there too. Not sure if it runs fine in Lion. A lion compatible version of XCode (4.1) can be dowloaded from the App store for free! That's where I got it from :-) Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From ambassador at fourthworld.com Tue Aug 9 08:30:00 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 09 Aug 2011 05:30:00 -0700 Subject: [Server] create stack trouble In-Reply-To: References: Message-ID: <4E412848.3080804@fourthworld.com> stephen barncard wrote: > Again, Robert I have to disagree with you about this. You seem to feel > shortchanged somehow with the way stacks work on the server, yet it's really > doing all it can do in that environment. > > What else would you want a stack to do on a server? The GUI has to be > created in HTML - it's a web browser you're looking at from the user's point > of view. If you want Livecode to work like an app online with its GUI, it's > been done --- the Livecode Revlet. > > I must repeat that card creation is NOT broken, I have been able to create > and access custom properties of cards as well as stacks, which gives yet > another dimension to the storage matrix. > > Field creation or the creation of any other object than stacks, cards and > props is pointless and not applicable... Sometimes. But there may be times when stack files, and the objects within them, can provide convenient data storage. Custom properties are a natural fit for server work, but since fields make a convenient way to translate some aspects of text-to-HTML and HTML-to-text they can be useful too. I don't use RevServer at the moment, but the following works in the v3.5 CGI engine, so conceivably it could be made to work with RevServer: #!../../bin/rev -ui on startup create stack "datastack" set the filename of stack "datastack" to "testdata/data.rev" set the defaultstack to "datastack" create cd create field save stack "datastack" -- Provide some output so we know it completed successfully: put "Content-Type: text/html" & crlf &\ "Content-Length:"&& length("Hello") & crlf & crlf put "Done" quit end startup When I download the created stack, it has both the new card and the card's new field. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From coiin at verizon.net Tue Aug 9 09:09:02 2011 From: coiin at verizon.net (Colin Holgate) Date: Tue, 09 Aug 2011 09:09:02 -0400 Subject: OT: Where do I find my Lion Download after having downloaded it? In-Reply-To: References: <001b01cc568b$94cede90$be6c9bb0$@de> <3293C7A0-54B7-4C12-A3DD-7916015FFDCE@verizon.net> Message-ID: <5F76E052-136C-4D5C-8B07-B6D32722D127@verizon.net> I was put off by the term "delta". That implies that it's an updater to an existing install. The normal installer is about 4GB. Maybe you can install the Xcode from a 10.6 installer disc, and then apply the Xcode delta version? On Aug 9, 2011, at 8:23 AM, Klaus on-rev wrote: > A lion compatible version of XCode (4.1) can be dowloaded from the App store for free! > That's where I got it from :-) From bvg at mac.com Tue Aug 9 09:47:44 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Tue, 09 Aug 2011 15:47:44 +0200 Subject: [Server] create stack trouble In-Reply-To: <1312852570360-3728748.post@n4.nabble.com> References: <1312594846940-3722610.post@n4.nabble.com> <1312596414009-3722633.post@n4.nabble.com> <1312722952069-3724846.post@n4.nabble.com> <1312756698247-3725740.post@n4.nabble.com> <1312818261073-3727358.post@n4.nabble.com> <1312820760865-3727487.post@n4.nabble.com> <1312823916875-3727680.post@n4.nabble.com> <1312852570360-3728748.post@n4.nabble.com> Message-ID: Quite simply, any new feature RunRev implements is a patch, as in patched up clothes. RunRev lacks the manpower (but not the dedication) to create fully working groundworks, like a full implementation of stacks for all platforms, a native GUI for iOS, native table fields or allowing all objects to be parentScripts. Because of that, every new feature is shortchanged and partly implemented as bare minimum to satisfy a bullet point, and for people who have all the time on their hand to work around the limitations, problems and weird behaviours they create. For example, you need to create stacks from scratch for web development, and there's no other practical way to go about it. Sadly, that defeats the main purpose of using stacks on the server, which would be the reuse of existing stacks (As someone said "why use stacks when you could save your things into text files". He's right and actually that makes more sense then using the currently available, partially implemented stacks at all). Furthermore, those features will not be implemented fully, ever. That is because, again, the manpower of the mothership is too low, and some new, fancy, partially implemented feature will therefore be patched into the product, instead of finalising and fixing the previously partly implemented things. I guess you can get used to this if you did grow with all the new weirdness, but it of course reduces the influx of new customer one annoyance at a time. :( Bj?rnke On 9 Aug 2011, at 03:16, Robert Mann wrote: > It would be great to know what these server stacks are aimed at, will they > gradually (..years!) come to par with standard stacks or are they INTENDED > as stack libraries full stop!? Thanks, RObert. -- Watch live presentations every Saturday: http://livecode.tv Use an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ From richmondmathewson at gmail.com Tue Aug 9 10:31:34 2011 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Tue, 09 Aug 2011 17:31:34 +0300 Subject: revGoURL In-Reply-To: References: <4E410AD7.3080207@gmail.com> Message-ID: <4E4144C6.5060709@gmail.com> On 08/09/2011 01:59 PM, John Dixon wrote: > Have a look at 'ftp' in the dictionary, that will do it for you.... The problem about this is that it presupposes that one knows the ftp address; where the 'normal' download method would be via a web-page as http://....... the GET URL "ftp://...... isn't much cop. >> Date: Tue, 9 Aug 2011 13:24:23 +0300 >> From: richmondmathewson at gmail.com >> Is it possible to use revGoURL to download files without the mediation >> of the end-user's web-browser? >> >> Or, put another way: it it possible to have a button called something like >> "DOWNLOAD", which, on a mouseUp, will transparently download a file? > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Tue Aug 9 11:52:33 2011 From: rman at free.fr (Robert Mann) Date: Tue, 9 Aug 2011 08:52:33 -0700 (PDT) Subject: [Server] create stack trouble In-Reply-To: References: <1312722952069-3724846.post@n4.nabble.com> <1312756698247-3725740.post@n4.nabble.com> <1312818261073-3727358.post@n4.nabble.com> <1312820760865-3727487.post@n4.nabble.com> <1312823916875-3727680.post@n4.nabble.com> <1312852570360-3728748.post@n4.nabble.com> Message-ID: <1312905153861-3730360.post@n4.nabble.com> Hi Bj?rke, i understand your state of mind, which I do share.. sometimes! I take the position of using what is usable, what actually work; I took time to test these stacks because it was strategic for my plans. And I adapted my strategy to fit what works fine now. On the other hand, I would really WISH that things be much clearer from mothership as to what their intend is and at what timeline. THis is a long story of communication habit... And on the stack issue, it would be EASY to just state the intent and eventually to rename the server stacks to some other things like "server-libraries" so as to avoid mis-conceptions from our part. And when I say my part, I have years of history to step back, but boy, new users can be really carried away !!! So I wrote to support as follows : Hi! I as an early on-rev adopter, I started digging revServer stacks and found out quite a few limitations that are not clearly stated in the existing docs. Before adding comments on the docs, I'm gathering feedback from the nabble list and would like to have a feedback from you too. > > It seems so far that server stacks are designed as SCRIPT CONTAINERS, with > a possible password protection, to develop libraries, test some of them on > the IDE, load them on the server and call routines with a better > organization. > > Some additionnal data storage is provided via use of custom props and > creation of blank cards, which can already be useful particularly for > account parameters etc. > > On the other hand, card creation with background fields, field creation > and card navigation are crippled and do not allow a more standard use of > stacks, as a structured data container. See further on on the file for > details. > revServer-MEMO-server_Stacks_v1.rtf > > Question : is that clearly your intend? Or do you intend to bring server > stack on par with standard stacks? > But again, in practice, the best we can do is also to identify precisely what actually works fine and help each other have a clear view of that "SAFE" area. The library-stack + cards & custom props approach is already a great step from the .irev files, even if it is miles away from compatibility with standard stacks. it just had to be made clear! => The results I got with my test were so surpising, *It would be nice to have these findings confirmed so that we can add the useful comments on the documentation.* /I added a first comment saying that command "go stack.. blabla " does not work, but it is not fully true it does work in some conditions.. so I asked to strip it off and we need to clarify, precise and confirm these issues. Thanks. / I can share my test files and stacks, but, it would be better to fully re-test separately. Have a good day, Robert -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Server-create-stack-trouble-tp3721781p3730360.html Sent from the Revolution - User mailing list archive at Nabble.com. From jacque at hyperactivesw.com Tue Aug 9 12:04:23 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 09 Aug 2011 11:04:23 -0500 Subject: revGoURL In-Reply-To: <4E4144C6.5060709@gmail.com> References: <4E410AD7.3080207@gmail.com> <4E4144C6.5060709@gmail.com> Message-ID: <4E415A87.7010207@hyperactivesw.com> On 8/9/11 9:31 AM, Richmond Mathewson wrote: > On 08/09/2011 01:59 PM, John Dixon wrote: >> Have a look at 'ftp' in the dictionary, that will do it for you.... > > The problem about this is that it presupposes that one knows the ftp > address; > where the 'normal' download method would be via a web-page as > http://....... That's pretty much what I was just dealing with, and you're right. > the GET URL "ftp://...... isn't much cop. You should be able to use "get" with an http URL though: get url "http://www.domain.com/file" That doesn't work for you? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobs at twft.com Tue Aug 9 12:41:45 2011 From: bobs at twft.com (Bob Sneidar) Date: Tue, 9 Aug 2011 09:41:45 -0700 Subject: creating an alias on a server In-Reply-To: <4E40C6D0.2050602@pdslabs.net> References: <4E409488.8040304@pdslabs.net> <4E40C6D0.2050602@pdslabs.net> Message-ID: <835C854B-C66E-489C-9554-649270502968@twft.com> Phil, pardon me if you know this, but sudo wants the password to the admin account you are presently using in the shell, not the root password itself. Also, make sure SSH is enabled on the server. Sorry if I am telling you things you already know. I have to believe there is a shell command for creating a symbolic link. Don't give up too soon. Bob On Aug 8, 2011, at 10:34 PM, Phil Davis wrote: > Never mind. I have experimented with it enough now so I believe it's not workable even if it is possible (which I have not proven). I'll find another way. > > Phil > > > > On 8/8/11 6:59 PM, Phil Davis wrote: >> Hi all, >> >> I am building a server app with LC and would like it to create an alias (symbolic link) on the server, in a folder that is among those known to Apache on the server (don't know if that makes any difference). I tried LC 'create alias' and a shell(ln -s ) without success. Then I added 'sudo' (with an echoed password) to the shell script, but the 'ln' output tells me I'm not using the correct password. Of course I'm using the only password I ever gave anything on the server. >> >> I'm not sure what to try next. Does anyone have any ideas? >> >> My tactical goal is to 'put' an existing web page from a CGI, where the page contains relative links to images etc that are actually in folders outside the reach of the web server. If I can automate the creation of a symbolic link in the folder where the CGI resides, I believe I can get there. >> >> My strategic goal is to serve various sets of web pages only to those who are authorized - whose sign-in info has been validated. Maybe there is a better tactic to get me there? >> >> Thanks for any ideas. > > -- > Phil Davis > > PDS Labs > Professional Software Development > http://pdslabs.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 From bobs at twft.com Tue Aug 9 12:46:43 2011 From: bobs at twft.com (Bob Sneidar) Date: Tue, 9 Aug 2011 09:46:43 -0700 Subject: Money Script In-Reply-To: References: Message-ID: <1FF86AE5-897B-400E-ABF1-747AD4D39994@twft.com> Are you guys reading my mind?? Are you hacking into my computer at night to see what functions I need you to write and then writing them the next day??? ;-) Thanks, I am on the verge of needing exactly this! Bob On Aug 8, 2011, at 11:02 PM, FlexibleLearning wrote: > This also handles negative values... > > > Mark Wieder's script, adjusted to optionally support an arbitrary currency > sign... > > on mouseUp > put fNumericToMoney (fld "Value",fld "Sign") into fld "currency" > end mouseUp > > > function fNumericToMoney pNumeric,pSign > local tMoney > local x > > -- leading dollar sign and two digits for cents > if pSign="" then put "$" into pSign > put pNumeric<0 into isNeg > put abs(pNumeric) into pNumeric > put format(pSign&"%.2f", pNumeric) into tMoney > -- add the commas as necessary > -- 4 is to ensure we don't get a comma before the dollar sign > -- 6 here is skipping over the first three digits, the period, and the > cents > repeat with x=length(tMoney)-6 to 4 step -3 > -- +1 to skip over the dollar sign > put comma before char x+1 of tMoney > end repeat > if isNeg then put "-" before tMoney > return tMoney > end fNumericToMoney > > > Hugh Senior > FLCo > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Tue Aug 9 13:20:51 2011 From: sc at sahores-conseil.com (Pierre Sahores) Date: Tue, 9 Aug 2011 19:20:51 +0200 Subject: [Server] create stack trouble In-Reply-To: References: <1312594846940-3722610.post@n4.nabble.com> <1312596414009-3722633.post@n4.nabble.com> <1312722952069-3724846.post@n4.nabble.com> <1312756698247-3725740.post@n4.nabble.com> <1312818261073-3727358.post@n4.nabble.com> <1312820760865-3727487.post@n4.nabble.com> <1312823916875-3727680.post@n4.nabble.com> <1312852570360-3728748.post@n4.nabble.com> Message-ID: Hi Bj?rnke, The main goal of using the server's stack component is to let us store our code as password protected libraries instead of storing it in unprotected flat text .irev components. This server's stack component is useful each time we need to install our LC-server solutions on clients servers on a license basis contract. In this sense, the server's stack component fits all the n-tier development expectable needs and, from my point of view at least, RunRev did a 100% perfect work in realizing it. We are now able to deliver our solutions in the same ways Java or Zend developers are doing with their own protected libs. I have to add that this new component works 100% fine in any situation my apps needs to address and that RunRev need to be warmly thanks for all the great opportunities that we become able to cover in using it. More : on Posix platforms at least, our .lc+.livecode driven server's apps are running in multi-thread mode under the control of the underlying OS + Apache CGI gateway components. As we would say there in southern Europe : "C'est la totale !" More2 : n-tier development need to be designed with different eyes we use to develop desktop apps (and relevant stack's components). LC has yet become a perfect development platform in both worlds and we just have to choose the right ways to go to get the job done. ;D Le 9 ao?t 2011 ? 15:47, Bj?rnke von Gierke a ?crit : > As someone said "why use stacks when you could save your things into text files". He's right and actually that makes more sense then using the currently available, partially implemented stacks at all -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com From sc at sahores-conseil.com Tue Aug 9 13:33:00 2011 From: sc at sahores-conseil.com (Pierre Sahores) Date: Tue, 9 Aug 2011 19:33:00 +0200 Subject: LC 4.6.3 last available version ? Message-ID: Hi Friends, Is LC 4.6.3 build 1444 the last available version ? If yes, i can see two problems with it (MBP i7 266 Ghz, MacOS X 10.6.8) : 1.- The "About LiveCode" item menu don't seems to work. 2.- The "Dictionary" item menu opens an empty dictionary template. Did i miss something ? Kind regards, -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com From dixonja at hotmail.co.uk Tue Aug 9 13:37:36 2011 From: dixonja at hotmail.co.uk (John Dixon) Date: Tue, 9 Aug 2011 18:37:36 +0100 Subject: LC 4.6.3 last available version ? In-Reply-To: References: Message-ID: No, there is build 1445.. > Is LC 4.6.3 build 1444 the last available version ? If yes, i can see two problems with it (MBP i7 266 Ghz, MacOS X 10.6.8) : > Pierre Sahores From revdev at pdslabs.net Tue Aug 9 13:47:14 2011 From: revdev at pdslabs.net (Phil Davis) Date: Tue, 09 Aug 2011 10:47:14 -0700 Subject: creating an alias on a server In-Reply-To: <835C854B-C66E-489C-9554-649270502968@twft.com> References: <4E409488.8040304@pdslabs.net> <4E40C6D0.2050602@pdslabs.net> <835C854B-C66E-489C-9554-649270502968@twft.com> Message-ID: <4E4172A2.8090705@pdslabs.net> Thanks Bob. No apology needed! This is good clarification for me. Like Solomon said: As iron sharpens iron, so one person sharpens another. Phil On 8/9/11 9:41 AM, Bob Sneidar wrote: > Phil, pardon me if you know this, but sudo wants the password to the admin account you are presently using in the shell, not the root password itself. Also, make sure SSH is enabled on the server. Sorry if I am telling you things you already know. > > I have to believe there is a shell command for creating a symbolic link. Don't give up too soon. > > Bob > > > On Aug 8, 2011, at 10:34 PM, Phil Davis wrote: > >> Never mind. I have experimented with it enough now so I believe it's not workable even if it is possible (which I have not proven). I'll find another way. >> >> Phil >> >> >> >> On 8/8/11 6:59 PM, Phil Davis wrote: >>> Hi all, >>> >>> I am building a server app with LC and would like it to create an alias (symbolic link) on the server, in a folder that is among those known to Apache on the server (don't know if that makes any difference). I tried LC 'create alias' and a shell(ln -s ) without success. Then I added 'sudo' (with an echoed password) to the shell script, but the 'ln' output tells me I'm not using the correct password. Of course I'm using the only password I ever gave anything on the server. >>> >>> I'm not sure what to try next. Does anyone have any ideas? >>> >>> My tactical goal is to 'put' an existing web page from a CGI, where the page contains relative links to images etc that are actually in folders outside the reach of the web server. If I can automate the creation of a symbolic link in the folder where the CGI resides, I believe I can get there. >>> >>> My strategic goal is to serve various sets of web pages only to those who are authorized - whose sign-in info has been validated. Maybe there is a better tactic to get me there? >>> >>> Thanks for any ideas. >> -- >> Phil Davis >> >> PDS Labs >> Professional Software Development >> http://pdslabs.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 > > _______________________________________________ > use-livecode mailing list > use-livecode 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 PDS Labs Professional Software Development http://pdslabs.net From cszasz at mac.com Tue Aug 9 14:08:21 2011 From: cszasz at mac.com (Charles Szasz) Date: Tue, 09 Aug 2011 14:08:21 -0400 Subject: Money script Message-ID: Nicolas, Thanks! I tried the scripts you suggested. They worked fine until the user enters a number with a decimal point. For my app, adults are more likely to enter a number with a decimal point rather than a penny amount. So, this script is not an improvement for me. Charles Szasz cszasz at mac.com From sc at sahores-conseil.com Tue Aug 9 14:13:34 2011 From: sc at sahores-conseil.com (Pierre Sahores) Date: Tue, 9 Aug 2011 20:13:34 +0200 Subject: LC 4.6.3 last available version ? In-Reply-To: References: Message-ID: Thanks John ! 1445 build works perfectly fine there now because you ;-) Kind regards, Le 9 ao?t 2011 ? 19:37, John Dixon a ?crit : > No, there is build 1445.. >> Is LC 4.6.3 build 1444 the last available version ? If yes, i can see two problems with it (MBP i7 266 Ghz, MacOS X 10.6.8) : > >> Pierre Sahores > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 jacque at hyperactivesw.com Tue Aug 9 14:22:04 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 09 Aug 2011 13:22:04 -0500 Subject: android dev - how to change screen orientation? In-Reply-To: References: <84E4CC63-E315-4E5B-8E9C-D54B8670AFF6@twft.com> <229344DC-FCFA-4694-9EF4-54B876414AAC@twft.com> <4E4031A1.5080504@hyperactivesw.com> Message-ID: <4E417ACC.3070706@hyperactivesw.com> On 8/8/11 5:57 PM, Admin wrote: > > >> Hello everyone, >> >> Right now, my app is in portrait mode, but I > want it in landscape mode. What is the command to make that happen? Can > I put this command in the openstack handler? Use "mobileSetAllowedOrientations", it's documented in the Android release notes (you can get there from the Help menu.) Then set the initial orientation in the standalone settings. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From larsbrehmer at mac.com Tue Aug 9 15:07:49 2011 From: larsbrehmer at mac.com (Lars Brehmer) Date: Tue, 09 Aug 2011 23:07:49 +0400 Subject: bizarre problem, big emergency! Message-ID: I have a stack/standalone that I have been working with for months. Suddenly I cannot open it in Rev (2.8) and the standalone won't launch either! To make things clear: the standalone is a splashscreen stack that contains several compressed stacks as custom properties. When the standalone launches, or the splashscreen stack launches in Rev, it looks for the other stacks in (on a Mac) in users/myUserName/library/preferences/myPreferenceFolder. If the stacks are not there, the compressed stacks in the custom properties of the splashscreen stack are decompressed and placed into the preference folder. Changes made to them are saved there. This has worked for many months - using either the standalone or opening the splashscreen stack in Rev. Suddenly the standalone won't open (it bounces once in the dock and then nothing) and the splashscreen stack won't open in Rev - Rev simply quits, no warning, no error message, nothing! When I work on this app in Rev and make changes (to the stacks in the preferences folder) and save, those stacks in the preferences folder are compressed and they replace the compressed stacks in the custom properties of the splashscreen stack. Everything always up-to-date. I have never encountered this problem before. Everything has always worked as expected. The stacks that are stored in the preferences folder can all be opened in Rev no problem. But the splashscreen simply won't open either as a standalone or in Rev. This of course means that I can't open the stack in scriptDebug mode and find the problem. I have tried to restore an earlier version of the stack using Time Machine, but all previous versions that always worked at the time behave the same way - Rev quits, no error message, nothing. The really weird thing is that I have a copy of that splashscreen stack that is 2 months old and has never been opened, but it won't open either!!!! Even though it is a copy of the original which opened at the time and has always opened ever since until today! I have done the following to try to solve this; I trashed the Rev prefs, ran Cocktail and restarted. I have tried several earlier versions (using time machine) from days that definitely worked properly at the time. `None of them work! Even if they did work, it doesn't explain why a standalone that always worked before doesn't work now! I can't think of anything else to try. Any suggestions???? Cheers, Lars From cszasz at mac.com Tue Aug 9 15:08:14 2011 From: cszasz at mac.com (Charles Szasz) Date: Tue, 09 Aug 2011 15:08:14 -0400 Subject: Money Script Message-ID: I found the following to work just as well for fields without using functions: on closeField if me <> empty then put me into tNum put format("$%1.2f", tNum) into me end if end CloseField Charles Szasz cszasz at mac.com From kray at sonsothunder.com Tue Aug 9 15:25:56 2011 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 9 Aug 2011 14:25:56 -0500 Subject: bizarre problem, big emergency! In-Reply-To: References: Message-ID: On Aug 9, 2011, at 2:07 PM, Lars Brehmer wrote: > I can't think of anything else to try. Any suggestions???? Have you upgraded your OS or changed machines recently? If so, it might be a PowerPC/Intel issue...? Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From shaosean at wehostmacs.com Tue Aug 9 15:26:17 2011 From: shaosean at wehostmacs.com (Shao Sean) Date: Tue, 9 Aug 2011 15:26:17 -0400 Subject: bizarre problem, big emergency! Message-ID: <8D745FB6-9EBD-45FD-AEE8-FC169B25D05F@wehostmacs.com> What version of Mac OS X? Did you do any upgrades lately? What messages, if any, are posted in the console? From bvlahos at mac.com Tue Aug 9 15:35:47 2011 From: bvlahos at mac.com (Bill Vlahos) Date: Tue, 09 Aug 2011 12:35:47 -0700 Subject: bizarre problem, big emergency! In-Reply-To: References: Message-ID: <50FB2B2C-A5B1-44DE-9524-9C482776F693@mac.com> Have you restarted the Mac or repaired permissions? It sounds like the Mac is blocking the app somehow. Bill Vlahos Sent from my iPhone On Aug 9, 2011, at 12:07 PM, Lars Brehmer wrote: > I have a stack/standalone that I have been working with for months. Suddenly I cannot open it in Rev (2.8) and the standalone won't launch either! > > To make things clear: the standalone is a splashscreen stack that contains several compressed stacks as custom properties. When the standalone launches, or the splashscreen stack launches in Rev, it looks for the other stacks in (on a Mac) in users/myUserName/library/preferences/myPreferenceFolder. If the stacks are not there, the compressed stacks in the custom properties of the splashscreen stack are decompressed and placed into the preference folder. Changes made to them are saved there. > > This has worked for many months - using either the standalone or opening the splashscreen stack in Rev. > > Suddenly the standalone won't open (it bounces once in the dock and then nothing) and the splashscreen stack won't open in Rev - Rev simply quits, no warning, no error message, nothing! > > When I work on this app in Rev and make changes (to the stacks in the preferences folder) and save, those stacks in the preferences folder are compressed and they replace the compressed stacks in the custom properties of the splashscreen stack. Everything always up-to-date. > > I have never encountered this problem before. Everything has always worked as expected. > > The stacks that are stored in the preferences folder can all be opened in Rev no problem. But the splashscreen simply won't open either as a standalone or in Rev. This of course means that I can't open the stack in scriptDebug mode and find the problem. > > I have tried to restore an earlier version of the stack using Time Machine, but all previous versions that always worked at the time behave the same way - Rev quits, no error message, nothing. The really weird thing is that I have a copy of that splashscreen stack that is 2 months old and has never been opened, but it won't open either!!!! Even though it is a copy of the original which opened at the time and has always opened ever since until today! > > I have done the following to try to solve this; I trashed the Rev prefs, ran Cocktail and restarted. I have tried several earlier versions (using time machine) from days that definitely worked properly at the time. `None of them work! Even if they did work, it doesn't explain why a standalone that always worked before doesn't work now! > > I can't think of anything else to try. Any suggestions???? > > 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 larsbrehmer at mac.com Tue Aug 9 16:19:04 2011 From: larsbrehmer at mac.com (Lars Brehmer) Date: Wed, 10 Aug 2011 00:19:04 +0400 Subject: bizarre problem, big emergency Message-ID: <746EA741-E610-4BB6-8C51-EF9CC9754443@mac.com> Sorry folks, problem solved! As it turns out, one of the stacks in the preferences file was somehow corrupted. I replaced the /rev file with the /rev~ file and now all works again. I hope nobody put a lot of effort into solving this! Cheers, Lars From gregory.lypny at videotron.ca Tue Aug 9 16:31:10 2011 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Tue, 09 Aug 2011 16:31:10 -0400 Subject: FTP To and From My Mac Message-ID: Hello everyone, I?ve got my Mac at work running as a server of sorts and would like to be able to read and write files to it via FTP. I used the simple GET URL command below and it worked for a 6 KB file but not for a 200 KB file. get url "ftp://username:password at serverAddress/Users/me/Documents/pathToFile? How can I get it working for bigger files? I also tried libURLSetFTPMode ?active? but it didn?t get me the bigger file. Also, it would be nice if the date and time could be retrieved from the remote Mac or from a time server, but I don?t know how to do that. Any advice would be much appreciated. Regards, Gregory From m.schonewille at economy-x-talk.com Tue Aug 9 16:46:29 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 9 Aug 2011 22:46:29 +0200 Subject: FTP To and From My Mac In-Reply-To: References: Message-ID: <14EE3429-2145-42E7-AAB5-AA1DF77CC759@economy-x-talk.com> Hi Gregory, Check the libUrlFtpUploadFile command. Use the libUrlFtpCommand command to send the LIST or NLST ftp command to your ftp server and retrieve a list of files together with their details. You can alos use the libUrlSetFTPListCommand. I think that the put URL command is also able to return a list of files if using the ftp protocol. IIRC, using NLST with libUrlSetFTPListCommand will change what is returned by put url. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 What does that error mean? Buy LiveCodeErrors for iPhone now http://qery.us/v4 A must-have for LiveCode programmers. On 9 aug 2011, at 22:31, Gregory Lypny wrote: > Hello everyone, > > I?ve got my Mac at work running as a server of sorts and would like to be able to read and write files to it via FTP. I used the simple GET URL command below and it worked for a 6 KB file but not for a 200 KB file. > > get url "ftp://username:password at serverAddress/Users/me/Documents/pathToFile? > > How can I get it working for bigger files? I also tried > > libURLSetFTPMode ?active? > > but it didn?t get me the bigger file. Also, it would be nice if the date and time could be retrieved from the remote Mac or from a time server, but I don?t know how to do that. > > Any advice would be much appreciated. > > Regards, > > Gregory > From dave.cragg at lacscentre.co.uk Tue Aug 9 16:55:12 2011 From: dave.cragg at lacscentre.co.uk (Dave Cragg) Date: Tue, 9 Aug 2011 21:55:12 +0100 Subject: FTP To and From My Mac In-Reply-To: References: Message-ID: <0A3BC328-EDA5-4E4F-9FCD-9D2C99B4430C@lacscentre.co.uk> On 9 Aug 2011, at 21:31, Gregory Lypny wrote: > Hello everyone, > > I?ve got my Mac at work running as a server of sorts and would like to be able to read and write files to it via FTP. I used the simple GET URL command below and it worked for a 6 KB file but not for a 200 KB file. > > get url "ftp://username:password at serverAddress/Users/me/Documents/pathToFile? > > How can I get it working for bigger files? I also tried > > libURLSetFTPMode ?active? > > but it didn?t get me the bigger file. -- Can you try with regular ftp client software (Fetch, etc.)? Do you get the same problem? -- Is any error returned in "the result"? For example: get url "ftp://username:password at serverAddress/Users/me/Documents/pathToFile? if the result is not empty then answer the result -- Try using libUrlSetLogField to record the activity. It may give a hint. (assuming you have a field named "log") libUrlSetLogField the long id of field "log" get url "ftp://username:password at serverAddress/Users/me/Documents/pathToFile? Cheers Dave From jacques.clavel at gmail.com Tue Aug 9 16:58:02 2011 From: jacques.clavel at gmail.com (jacques CLAVEL) Date: Tue, 9 Aug 2011 22:58:02 +0200 Subject: [Server] create stack trouble In-Reply-To: References: <1312594846940-3722610.post@n4.nabble.com> <1312596414009-3722633.post@n4.nabble.com> <1312722952069-3724846.post@n4.nabble.com> <1312756698247-3725740.post@n4.nabble.com> <1312818261073-3727358.post@n4.nabble.com> <1312820760865-3727487.post@n4.nabble.com> <1312823916875-3727680.post@n4.nabble.com> <1312852570360-3728748.post@n4.nabble.com> Message-ID: I agree, Pierre, Nice job from RunRev guys. Now the On-Rev client has to be updated, and all will be perfect. Jacques 2011/8/9 Pierre Sahores > Hi Bj?rnke, > > The main goal of using the server's stack component is to let us store our > code as password protected libraries instead of storing it in unprotected > flat text .irev components. This server's stack component is useful each > time we need to install our LC-server solutions on clients servers on a > license basis contract. > > In this sense, the server's stack component fits all the n-tier development > expectable needs and, from my point of view at least, RunRev did a 100% > perfect work in realizing it. We are now able to deliver our solutions in > the same ways Java or Zend developers are doing with their own protected > libs. I have to add that this new component works 100% fine in any situation > my apps needs to address and that RunRev need to be warmly thanks for all > the great opportunities that we become able to cover in using it. > > More : on Posix platforms at least, our .lc+.livecode driven server's apps > are running in multi-thread mode under the control of the underlying OS + > Apache CGI gateway components. As we would say there in southern Europe : > "C'est la totale !" > > More2 : n-tier development need to be designed with different eyes we use > to develop desktop apps (and relevant stack's components). LC has yet become > a perfect development platform in both worlds and we just have to choose the > right ways to go to get the job done. > > ;D > > Le 9 ao?t 2011 ? 15:47, Bj?rnke von Gierke a ?crit : > > > As someone said "why use stacks when you could save your things into text > files". He's right and actually that makes more sense then using the > currently available, partially implemented stacks at all > > -- > 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 bvg at mac.com Tue Aug 9 17:05:54 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Tue, 09 Aug 2011 23:05:54 +0200 Subject: LiveCode.tv event #35 wrap up In-Reply-To: References: <6B865405-BBC0-491C-AD25-BFB1C85A2D58@mac.com> <7EC6A85B-DD6B-4138-A597-512A194F4453@mac.com> <89782C22-C6E3-4245-95D1-A48F69423753@mac.com> <061D9182-B34B-4ABB-A7D6-9C2D09DA8755@mac.com> <73F84954-890B-4627-859A-702C8054F13B@mac.com> <093DEF5E-6C0F-4924-A262-F6DBE748ED45@mac.com> <3FB852C9-5675-4A19-9506-543733BB2547@mac.com> <914DF999-596E-4023-A213-9469C6A69FA0@mac.com> <2B105965-FB27-41D0-B95F-1F4C84ADD53B@mac.com> <163225D1-67D1-4CE7-8049-E85A8D94D177@mac.com> <225B0941-5D11-434A-BC0B-CD61B998E9F8@mac.com> <201756EB-9601-417D-856E-5128C5256EF1@mac.com> <081FD717-0A48-447D-90AA-A8F370B14F43@mac.com> <913B7E78-3052-4CF0-9883-C1CDD9F8BDFA@mac.com> <0C1B6D89-1745-46DF-9C49-A5FE2E5B67B9@mac.com> <497CC7C9-74BC-419C-9785-CEA07A8FE181@mac.com> Message-ID: <7DCB2650-E124-4AAC-8B48-B3AE424BFC0C@mac.com> Hi Note that we have no presenter for next week, so most likely the event will not happen, unless you step up. Paul created a nice movie about his GUI that explains how to interface SQLite databases very well. The movie is available here: http://bjoernke.com/livecode_tv/crud-example-paul_townsend_11.08.06.mov See also his entry on the RunRev.com forums, and the download of the CRUD database stack: http://forums.runrev.com/viewtopic.php?f=7&t=7024 http://forums.runrev.com/download/file.php?id=563 Mark showed us how he advertises for very few moneys, and suggesting you should use Project Wonderful and Facebook, among other ideas. Watch it here: http://www.ustream.tv/recorded/16477055 Here is the presentation stack for you to download: http://blog.livecode.tv/wp-content/uploads/2011/08/Presentation.rev_.zip The 'Take control of Lion' eBook was won by Colin, congratulation. On 5 Aug 2011, at 16:12, Bj?rnke von Gierke wrote: > Dear Customers > > We have a fancy and exciting method of doing a presentation for you this time around! Paul Townsend has prepared a movie that everyone can download and watch during the event. He will also be in chat to answer questions and comment, but there won't be any stream. The topic of this new way to present will be his fantastic SQLite helper stack. > > Afterwards, the European HyperCard User Group (eHUG, http://www.ehug.info) will raffle off an e-book courtesy of TidBITS. This time around it?s ?Take Control of Using Lion?. > You can find more info on the TC series here: > http://www.takecontrolbooks.com > > Mark Schonewille then talks about ways to distribute shareware and to increase sales by low-budget advertising. He will discuss the Project Wonderful advertising system, Facebook, and a few other methods. > > See you Saturday 20:00 CET on ChatRev. Go to > http://bjoernke.com/chatrev/ > or enter in the message box: > go stack URL ?http://bjoernke.com/chatrev/chatrev1.3b3.rev? > > > Sat. 20:00 Warsaw > Sat. 19:00 London > Sat. 14:00 New York > Sat. 11:00 Los Angeles > Sun. 2:00 Beijing > > Please contact me about how to participate, as we do not have any slots set beyond this next show. > Bj?rnke > > -- > Watch live presentations every Saturday: > http://livecode.tv > > Use an alternative Dictionary viewer: > http://bjoernke.com/bvgdocu/ > > Chat with other RunRev developers: > http://bjoernke.com/chatrev/ > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Watch live presentations every Saturday: http://livecode.tv Use an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ From jacques.clavel at gmail.com Tue Aug 9 17:20:16 2011 From: jacques.clavel at gmail.com (jacques CLAVEL) Date: Tue, 9 Aug 2011 23:20:16 +0200 Subject: Any way to show progress while an ON-REV page is processing a script? In-Reply-To: <583E1E9B-778B-453E-B6AA-2BC511710D7E@comcast.net> References: <1312653490.92261.YahooMailClassic@web161601.mail.bf1.yahoo.com> <583E1E9B-778B-453E-B6AA-2BC511710D7E@comcast.net> Message-ID: Bruce, For a similar application I'm using HttpRequest (JavaScript) in a loop to send as many requests as lines to process. JavaScript handles the responses and and fill the list in the browser, no need of progress bar. http://www.w3schools.com/dom/dom_httprequest.asp Jacques 2011/8/8 Bruce Pokras > Mike, > > Thanks for your reply. The input page has a form into which a user types or > pastes a list of patents. Upon clicking "Submit" the form POSTS the list to > the .lc page for processing. For each patent in the list, the script of the > .ic page sends a query to a European Patent Office server. The script then > formats the response from the server for each patent as a row in a table. At > the end of the processing the table is displayed. For a long list of patents > this could take a while. So I am looking for some way for the .lc page to > display the progress of its going through the list. > > Regards, > > Bruce > > On Aug 6, 2011, at 1:58 PM, Michael Kann wrote: > > > Bruce, > > > > I'm working on something similar. When you write that you have a "list of > patent numbers processed by a .lc or .irev page" do you mean that you are > going out to fetch the patents each time, or will all the data be on your > server? The reason I ask is if the data is on your server it might be better > to attack the user delay in your code, rather than work on a progress bar. > > > > For example, I'm presenting 993 titles of videos; all in a similar > format, but the whole list is different each time. When I started out it > took about 6 seconds from button click to the list appearing. After setting > up a poor man's index and retooling a few loops I've gotten the return trip > down to about 50 milliseconds -- good enough for government work. > > > > Mike > > > > > > --- On Sat, 8/6/11, Bruce Pokras wrote: > > > > From: Bruce Pokras > > Subject: Any way to show progress while an ON-REV page is processing a > script? > > To: "How to use LiveCode" > > Date: Saturday, August 6, 2011, 11:46 AM > > > > I have a form that uses POST to get a list of patent numbers processed by > a .lc or .irev page. Right now, the whole list has to be processed before > the user sees that anything has happened. In my case, once all the patent > numbers have been processed, the user will see a page of tables with > information about each patent. In my revlet version of this process, it was > easy to have a field display the progress of the processing with 1 of 20, 2 > of 20, 3 of 20, etc. being displayed in a field as the processing of each > patent took place. > > > > Is there any way to display a progress indicator while the .lc or .irev > page is processing the patent numbers? I have tried a couple of things, such > as having a separate "put" command for each patent, but nothing is displayed > until all of the patents have been processed. > > > > Regards, > > > > Bruce Pokras > > Blazing Dawn 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Tue Aug 9 17:21:51 2011 From: roger.e.eller at sealedair.com (Roger Eller) Date: Tue, 9 Aug 2011 17:21:51 -0400 Subject: regex to locate text and colorize it in a list Message-ID: I have a list of data in a plain table field (not a datagrid). The format of the listis like so: 12345 TAB 1234567890 TAB true TAB /folder/anotherFolder/yetAnotherFolder/FileName_with_UnderScores_and_12345_more_text.zzz 22345 TAB 1234567891 TAB true TAB /folder/anotherFolder/FileName_with_22345_and_UnderScores_and_more_text.zzz 32345 TAB 1234567892 TAB true TAB /folder/FileName_with_more_text_than_before_and_32345_and_etc_and_more_text.zzz I want to locate within the long filename, whatever is in the first column of the list, and set its foreColor to red. The quantity of underscores will vary in the filenames, and the text I want to colorize could be at any item location. In the example, I want 12345 in the filename to be red. I'm thinking some kind of regex / matchText scenario. Ideas? ~Roger From sc at sahores-conseil.com Tue Aug 9 18:01:22 2011 From: sc at sahores-conseil.com (Pierre Sahores) Date: Wed, 10 Aug 2011 00:01:22 +0200 Subject: [Server] create stack trouble In-Reply-To: References: <1312594846940-3722610.post@n4.nabble.com> <1312596414009-3722633.post@n4.nabble.com> <1312722952069-3724846.post@n4.nabble.com> <1312756698247-3725740.post@n4.nabble.com> <1312818261073-3727358.post@n4.nabble.com> <1312820760865-3727487.post@n4.nabble.com> <1312823916875-3727680.post@n4.nabble.com> <1312852570360-3728748.post@n4.nabble.com> Message-ID: Hi Jacques, Stephen (Brancard) noticed some days ago that in double clicking any server's stack from within our FTP browser window, the stack will be directly opened in our LC desktop IDE. In this way, we can edit our code exactly as if the stack went stored locally and we can use the IDE debbuger, etc... before saving back transparently the stack to the server when the work is done. Not sure, at this point, that the On-Rev client will really stay an easiest way to go... Kind regards, Pierre (Mac OS X, CyberDuck, LC 4.6.3) PS : LiveCode : 1 ; Java* / Harmony** + Eclipse*** + Ant**, Cocoon**, Geronimo**, Jakarta**, Struts**, Tomcat**, etc... : 0 * Oracle owned ** Apache Fundation FOSS projects *** Eclipse fundation FOSS project Le 9 ao?t 2011 ? 22:58, jacques CLAVEL a ?crit : > I agree, Pierre, > > Nice job from RunRev guys. Now the On-Rev client has to be updated, and all > will be perfect. > > Jacques > > 2011/8/9 Pierre Sahores > >> Hi Bj?rnke, >> >> The main goal of using the server's stack component is to let us store our >> code as password protected libraries instead of storing it in unprotected >> flat text .irev components. This server's stack component is useful each >> time we need to install our LC-server solutions on clients servers on a >> license basis contract. >> >> In this sense, the server's stack component fits all the n-tier development >> expectable needs and, from my point of view at least, RunRev did a 100% >> perfect work in realizing it. We are now able to deliver our solutions in >> the same ways Java or Zend developers are doing with their own protected >> libs. I have to add that this new component works 100% fine in any situation >> my apps needs to address and that RunRev need to be warmly thanks for all >> the great opportunities that we become able to cover in using it. >> >> More : on Posix platforms at least, our .lc+.livecode driven server's apps >> are running in multi-thread mode under the control of the underlying OS + >> Apache CGI gateway components. As we would say there in southern Europe : >> "C'est la totale !" >> >> More2 : n-tier development need to be designed with different eyes we use >> to develop desktop apps (and relevant stack's components). LC has yet become >> a perfect development platform in both worlds and we just have to choose the >> right ways to go to get the job done. >> >> ;D >> >> Le 9 ao?t 2011 ? 15:47, Bj?rnke von Gierke a ?crit : >> >>> As someone said "why use stacks when you could save your things into text >> files". He's right and actually that makes more sense then using the >> currently available, partially implemented stacks at all >> >> -- >> 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 john at splash21.com Tue Aug 9 18:19:23 2011 From: john at splash21.com (John Craig) Date: Tue, 09 Aug 2011 23:19:23 +0100 Subject: regex to locate text and colorize it in a list In-Reply-To: References: Message-ID: <4E41B26B.8090701@splash21.com> Hi, Roger. Here's a quickie - create a stack with two fields ('in' and 'out') put your data into field 'in' and the following into the button script; on mouseUp set itemDel to tab put fld "in" into tData put the num of lines in tData into tLines repeat with i = 1 to tLines put item 1 of line i of tData into tNumber replace tNumber with "" & tNumber & "" in item 4 of line i of tData put "
" after line i of tData end repeat set the htmlText of fld "out" to tData end mouseUp HTH :) On 09/08/2011 22:21, Roger Eller wrote: > 12345 TAB 1234567890 TAB true TAB > /folder/anotherFolder/yetAnotherFolder/FileName_with_UnderScores_and_12345_more_text.zzz > 22345 TAB 1234567891 TAB true TAB > /folder/anotherFolder/FileName_with_22345_and_UnderScores_and_more_text.zzz > 32345 TAB 1234567892 TAB true TAB > /folder/FileName_with_more_text_than_before_and_32345_and_etc_and_more_text.zzz From bobs at twft.com Tue Aug 9 18:43:40 2011 From: bobs at twft.com (Bob Sneidar) Date: Tue, 9 Aug 2011 15:43:40 -0700 Subject: Searching for partial matches in a datagrid Message-ID: <400AE5E7-1B30-417D-A329-D03D3B65C0C0@twft.com> Hi all. I am hoping there will be a way to search a datagrid for PARTIAL matches. I already can find EXACT matches, and I tried regex on the findIndex command, to no avail. I know that if I cannot I can always get the dgText of the datagrid, but there is a problem with that method. First, the datagrid may contain a huge amount of data, and it seems inefficient to work with strings if I can use arrays instead. Second, if I need to set the dgText of the datagrid to what I find, it will wipe all my hidden data columns, that is array keys which I do not have a column for in the datagrid. I depend on these. So I can kludge a way to do this, but I was hoping I was simply missing something. Bob From roger.e.eller at sealedair.com Tue Aug 9 19:25:27 2011 From: roger.e.eller at sealedair.com (Roger Eller) Date: Tue, 9 Aug 2011 19:25:27 -0400 Subject: regex to locate text and colorize it in a list In-Reply-To: <4E41B26B.8090701@splash21.com> References: <4E41B26B.8090701@splash21.com> Message-ID: On Tue, Aug 9, 2011 at 6:19 PM, John Craig wrote: > Hi, Roger. Here's a quickie - create a stack with two fields ('in' and > 'out') put your data into field 'in' and the following into the button > script; > > on mouseUp > set itemDel to tab > put fld "in" into tData > put the num of lines in tData into tLines > repeat with i = 1 to tLines > put item 1 of line i of tData into tNumber > replace tNumber with "" & tNumber & "" in item > 4 of line i of tData > put "
" after line i of tData > end repeat > set the htmlText of fld "out" to tData > end mouseUp > > > HTH > > :) > > Thank you John! However, my goal is to only make a portion of the filename red, not the entire filename. I need to locate, line by line, where the text matches the text from the first column of that line, and ONLY affect the color of those chars. ?Roger From bobs at twft.com Tue Aug 9 19:42:02 2011 From: bobs at twft.com (Bob Sneidar) Date: Tue, 9 Aug 2011 16:42:02 -0700 Subject: sqlYoga Query Objects using multiple or Message-ID: <6895ADE8-FC28-41F5-85E6-9D67207F7510@twft.com> Hi all. If anyone is using sqlYoga and has experience creating query objects that have multiple or statements, gimme a holler offlist if you please. I am trying to build a query object which can find records that have partial matches for a given value in several columns. For instance, if the user types "Murr" into a search field, I want to find all records where sitename contains "murr" or sitecity contains "murr". Get it? I can actually write the SQL for it, but I am trying to master query objects. I'd like to do as much as I can with sqlYoga without having to revert to the Livecode Database API. Thanks. Bob From john at splash21.com Tue Aug 9 19:49:28 2011 From: john at splash21.com (John Craig) Date: Wed, 10 Aug 2011 00:49:28 +0100 Subject: regex to locate text and colorize it in a list In-Reply-To: References: <4E41B26B.8090701@splash21.com> Message-ID: <4C9893BC-4503-4B37-93BD-6287751877C7@splash21.com> That should be exactly what the snippet does - maybe I got your test data wrong. An occurrence of the first item in the fourth item is colorised. Sent from my iPhone On 10 Aug 2011, at 00:25, Roger Eller wrote: > On Tue, Aug 9, 2011 at 6:19 PM, John Craig wrote: > >> Hi, Roger. Here's a quickie - create a stack with two fields ('in' and >> 'out') put your data into field 'in' and the following into the button >> script; >> >> on mouseUp >> set itemDel to tab >> put fld "in" into tData >> put the num of lines in tData into tLines >> repeat with i = 1 to tLines >> put item 1 of line i of tData into tNumber >> replace tNumber with "" & tNumber & "" in item >> 4 of line i of tData >> put "
" after line i of tData >> end repeat >> set the htmlText of fld "out" to tData >> end mouseUp >> >> >> HTH >> >> :) >> >> > Thank you John! However, my goal is to only make a portion of the filename > red, not the entire filename. I need to locate, line by line, where the text > matches the text from the first column of that line, and ONLY affect the > color of those chars. > > ?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 roger.e.eller at sealedair.com Tue Aug 9 20:01:38 2011 From: roger.e.eller at sealedair.com (Roger Eller) Date: Tue, 9 Aug 2011 20:01:38 -0400 Subject: regex to locate text and colorize it in a list In-Reply-To: <4C9893BC-4503-4B37-93BD-6287751877C7@splash21.com> References: <4E41B26B.8090701@splash21.com> <4C9893BC-4503-4B37-93BD-6287751877C7@splash21.com> Message-ID: On Tue, Aug 9, 2011 at 7:49 PM, John Craig wrote: > That should be exactly what the snippet does - maybe I got your test data > wrong. An occurrence of the first item in the fourth item is colorised. > > > > Sent from my iPhone > > On 10 Aug 2011, at 00:25, Roger Eller wrote: > > > On Tue, Aug 9, 2011 at 6:19 PM, John Craig wrote: > > > >> Hi, Roger. Here's a quickie - create a stack with two fields ('in' and > >> 'out') put your data into field 'in' and the following into the button > >> script; > >> > >> on mouseUp > >> set itemDel to tab > >> put fld "in" into tData > >> put the num of lines in tData into tLines > >> repeat with i = 1 to tLines > >> put item 1 of line i of tData into tNumber > >> replace tNumber with "" & tNumber & "" in > item > >> 4 of line i of tData > >> put "
" after line i of tData > >> end repeat > >> set the htmlText of fld "out" to tData > >> end mouseUp > >> > >> > >> HTH > >> > >> :) > >> > >> > > Thank you John! However, my goal is to only make a portion of the > filename > > red, not the entire filename. I need to locate, line by line, where the > text > > matches the text from the first column of that line, and ONLY affect the > > color of those chars. > > > > ?Roger > > > John - I sent you a simplified example stack off-list. ?Roger From chipp at chipp.com Tue Aug 9 22:15:56 2011 From: chipp at chipp.com (Chipp Walters) Date: Tue, 9 Aug 2011 21:15:56 -0500 Subject: [OT] More Apple Foolishness In-Reply-To: References: <6F918963-BD07-4351-83D1-41E1A78D06FD@altuit.com> <00af01cc4cc3$83a64f30$8af2ed90$@com> <80001DA7-522D-4AB6-A812-501492B660BF@mac.com> <76870884-CAEE-4396-B191-B2C540ACA93B@verizon.net> <0FDF1317-2F02-4E8A-9AF1-69AC5E11E7E3@mac.com> Message-ID: Tom, checked out Printopia, and it only saves Keynote presentations as PDF's, not native format. But, I did stumble across a pretty cool iPad app called iSMEStorage CloudDav which enables users to create WebDav aliases for all sorts of cloud services, including DropBox, Amazon, Google and a ton of others. Plus, it's only a one time fee of five bucks, not five each month. Good find. On Thu, Jul 28, 2011 at 2:11 PM, Chipp Walters wrote: > Thanks Tom, > I'll check it out. As I mentioned the DropDav is fairly expensive for doing > just one thing-- and I hate subscription auto-billed software. > > > On Thu, Jul 28, 2011 at 2:06 PM, Thomas McGrath III wrote: > >> I use Printopia which then allows me to 'print' any file on the iPad or >> iPhone to Dropbox. >> >> Works great with Keynote presentations. >> > -- Chipp Walters CEO, Shafer Walters Group, Inc. From mwieder at ahsoftware.net Wed Aug 10 01:34:15 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 9 Aug 2011 22:34:15 -0700 Subject: Money Script In-Reply-To: References: Message-ID: <1021739467171.20110809223415@ahsoftware.net> Hugh- Monday, August 8, 2011, 11:02:14 PM, you wrote: > Mark Wieder's script, adjusted... ...interesting... I have no recollection of having done this... -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Wed Aug 10 01:39:23 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 9 Aug 2011 22:39:23 -0700 Subject: More time travelling Message-ID: <1021739775390.20110809223923@ahsoftware.net> Looks like Jacque's not the only time traveller around... http://www.pcmag.com/article2/0,2817,2390671,00.asp -- -Mark Wieder mwieder at ahsoftware.net From toolbook at kestner.de Wed Aug 10 07:11:40 2011 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Wed, 10 Aug 2011 13:11:40 +0200 Subject: how to copy a folder from preferences under lion? Message-ID: <005801cc574e$4b9e6880$e2db3980$@de> Hello, My software had a folder and files in /library/Preferences/ where now under Lion the user has no permissions any more I want to build a migration tool for my customers to move the folder and files from /library/Preferences/ to the new location at /Applications/myFolder/. I tried: get shell("sudo mv" oldPathAndFolder newPathAndFolder) and same with ditto. Executing this command just nothing happens, the result returns "1" I tried it with AppleScript: Tell "Finder" do shell script "mv /oldPath/AndFolder/ /newPath/AndFolder/" end tell it returns an execution error, when trying to copy from preferences. Copying from user folders runs fine. Trying: do shell script "mv /oldPath/AndFolder/ /newPath/AndFolder/ with administrator rights" returns a compiler error Why can I move my folder from preferences with the terminal using "sudo mv", but not from within LC? What am I doing wrong? Or is Jans proposal to build a separate executable and elevate the rights the only way to get permissions? (no idea yet how to do that, therefore not tested it yet) Thanks for any help Tiemo From roger.e.eller at sealedair.com Wed Aug 10 07:45:13 2011 From: roger.e.eller at sealedair.com (Roger Eller) Date: Wed, 10 Aug 2011 07:45:13 -0400 Subject: regex to locate text and colorize it in a list In-Reply-To: References: <4E41B26B.8090701@splash21.com> <4C9893BC-4503-4B37-93BD-6287751877C7@splash21.com> Message-ID: On Tue, Aug 9, 2011 at 7:49 PM, John Craig wrote: > That should be exactly what the snippet does - maybe I got your test data > wrong. An occurrence of the first item in the fourth item is colorised. > > > Sent from my iPhone > > On 10 Aug 2011, at 00:25, Roger Eller wrote: > > > On Tue, Aug 9, 2011 at 6:19 PM, John Craig wrote: > > > >> Hi, Roger. Here's a quickie - create a stack with two fields ('in' and > >> 'out') put your data into field 'in' and the following into the button > >> script; > >> > >> on mouseUp > >> set itemDel to tab > >> put fld "in" into tData > >> put the num of lines in tData into tLines > >> repeat with i = 1 to tLines > >> put item 1 of line i of tData into tNumber > >> replace tNumber with "" & tNumber & "" in > item > >> 4 of line i of tData > >> put "
" after line i of tData > >> end repeat > >> set the htmlText of fld "out" to tData > >> end mouseUp > >> > >> > >> HTH > >> > >> :) > >> > > John - I sent you a simplified example stack off-list. > > ?Roger > > For those following this thread, John's code works flawlessly (if I use clean data). I had spaces surrounding the text of each column after replacing "TAB" with TAB. ?Roger From ambassador at fourthworld.com Wed Aug 10 09:19:25 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 10 Aug 2011 06:19:25 -0700 Subject: how to copy a folder from preferences under lion? In-Reply-To: <005801cc574e$4b9e6880$e2db3980$@de> References: <005801cc574e$4b9e6880$e2db3980$@de> Message-ID: <4E42855D.3080003@fourthworld.com> Tiemo Hollmann wrote: > My software had a folder and files in /library/Preferences/ where now under > Lion the user has no permissions any more > > I want to build a migration tool for my customers to move the folder and > files from /library/Preferences/ to the new location at > /Applications/myFolder/. What's wrong with using the folder Apple recommends?: specialFolderPath("preferences") That will return the user's Prefs folder rather than the system's, so it should always be writable. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From toolbook at kestner.de Wed Aug 10 09:48:08 2011 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Wed, 10 Aug 2011 15:48:08 +0200 Subject: AW: how to copy a folder from preferences under lion? In-Reply-To: <4E42855D.3080003@fourthworld.com> References: <005801cc574e$4b9e6880$e2db3980$@de> <4E42855D.3080003@fourthworld.com> Message-ID: <005d01cc5764$27989940$76c9cbc0$@de> I have some files which must be shared for all users (see my previous threads). That?s why I had those files in the past in /library/preferences/ and now for Lion in /applications/myFolder/ which works for fresh installations. Now I wanted to migrate my files for existing installations, who upgraded to Lion to the new location, but I don't get them off the old location. Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode-bounces at lists.runrev.com [mailto:use-livecode- > bounces at lists.runrev.com] Im Auftrag von Richard Gaskin > Gesendet: Mittwoch, 10. August 2011 15:19 > An: use-livecode at lists.runrev.com > Betreff: Re: how to copy a folder from preferences under lion? > > Tiemo Hollmann wrote: > > My software had a folder and files in /library/Preferences/ where now under > > Lion the user has no permissions any more > > > > I want to build a migration tool for my customers to move the folder and > > files from /library/Preferences/ to the new location at > > /Applications/myFolder/. > > What's wrong with using the folder Apple recommends?: > > specialFolderPath("preferences") > > That will return the user's Prefs folder rather than the system's, so it > should always be writable. > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > LiveCode Journal blog: http://LiveCodejournal.com/blog.irv > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Aug 10 10:04:24 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 10 Aug 2011 07:04:24 -0700 Subject: AW: how to copy a folder from preferences under lion? In-Reply-To: <005d01cc5764$27989940$76c9cbc0$@de> References: <005d01cc5764$27989940$76c9cbc0$@de> Message-ID: <4E428FE8.5090600@fourthworld.com> Tiemo Hollmann wrote: >> Richard Gaskin wrote: >> What's wrong with using the folder Apple recommends?: >> >> specialFolderPath("preferences") > > I have some files which must be shared for all users (see my previous > threads). That?s why I had those files in the past in /library > /preferences/ > and now for Lion in /applications/myFolder/ > which works for fresh installations. Now I wanted to migrate my files > for existing installations, who upgraded to Lion to the new location, > but I don't get them off the old location. Page 27 of the Release Notes may be helpful here: Elevated process support (4.5 ? experimental) Sometimes it is necessary to perform operations on the local machine as an administrator, and a typical pattern for a GUI application doing this is for it to prompt for authentication at certain points. Modern operating systems do not permit a process to elevate itself, nor grant itself increased privilege. Instead, they only allow a running process to launch another process with increased privilege. Therefore, in order to support this, a new form of the open process command has been introduced that can launch a slave process with elevated permissions: open elevated process process [ for [ text | binary ] ( read | write | update | neither ) ] This form operates identically to the normal version, except that engine will ask the system to launch the given process with admin/root privileges. The standard way for a GUI application that needs to perform privileged operations to be structured is to split the application into two parts: a GUI front-end that interacts with the user, and a command-line back-end that is run with elevated permissions. These two parts can then talk to each other using a standard master-slave approach, or some other form of IPC such as sockets. Important: This feature is currently experimental. This means that it may not be complete, or may fail in some circumstances that you would expect it to work. Please do not be afraid to try it out as we need feedback to develop it further. For myself it seems like a lot of work to provide two standalones for one task; I'd probably opt for using the /Users/Shared folder instead. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From richmondmathewson at gmail.com Wed Aug 10 10:28:01 2011 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Wed, 10 Aug 2011 17:28:01 +0300 Subject: Exporting vector images Message-ID: <4E429571.4070805@gmail.com> I know this is an old chestnut, but . . . Considering one can make and manipulate vectorised objects insode Livecode I don't quite see why one should not be able to export vector images. I have a lot of people badgering me about exporting vector images of (Sanskrit) text just now. From bobs at twft.com Wed Aug 10 10:48:40 2011 From: bobs at twft.com (Bob Sneidar) Date: Wed, 10 Aug 2011 07:48:40 -0700 Subject: Money Script In-Reply-To: References: Message-ID: Hey Charles that actually works pretty well. I did notice that a negative number would format something like $-5.21. Is that normal? Looks odd to me. Bob On Aug 9, 2011, at 12:08 PM, Charles Szasz wrote: > I found the following to work just as well for fields without using functions: > > on closeField > if me <> empty > then > put me into tNum > put format("$%1.2f", tNum) into me > end if > end CloseField > > > Charles Szasz > cszasz 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 From bobs at twft.com Wed Aug 10 10:52:23 2011 From: bobs at twft.com (Bob Sneidar) Date: Wed, 10 Aug 2011 07:52:23 -0700 Subject: Money Script In-Reply-To: <1021739467171.20110809223415@ahsoftware.net> References: <1021739467171.20110809223415@ahsoftware.net> Message-ID: Mark, it must have been you in an alternate timeleine. I have socks I never bought in my drawer. That pretty much settles everything. Bob On Aug 9, 2011, at 10:34 PM, Mark Wieder wrote: > Hugh- > > Monday, August 8, 2011, 11:02:14 PM, you wrote: > >> Mark Wieder's script, adjusted... > > ...interesting... I have no recollection of having done this... > > -- > -Mark Wieder > mwieder at ahsoftware.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 From gandalf at doctorTimothyMiller.com Wed Aug 10 10:57:51 2011 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Wed, 10 Aug 2011 07:57:51 -0700 Subject: Stack Size Changes Message-ID: So, heerza deal, One stack, several cards, two groups on each card, groups behave as backgrounds. Top of one group is 1, bottom is 199. Top of second group is 200, bottom is 740. This group has a vertical scroll bar. "Resizable" for the stack is turned off. "Lock size and position" is on, for both groups. I set the height of the stack to 742. Save. Close the stack. Open it. The height is now less than 742. Sometimes it's 712. Sometimes it's 692, or 696, or possibly other values. There are no scripts that alter card size, group size or stack size. Repeat. Same thing. The change of height is inconsistent, even if I do nothing to the stack except open, change the height, and close. When the stack size gets smaller, I can't scroll to the bottom of the lower group, and the arrows at the bottom of the scroll bar get cut off. I noticed this issue a few weeks ago, on the same stack. Then it stopped happening. Now it's doing it again. I looked at the message watcher when closing the stack. Didn't understand everything I saw, but nothing surprising. Wazzup? I guess I could fix this with a script on openStack or preOpenStack, but I want to understand why it happens. Thanks in advance. Tim From bobs at twft.com Wed Aug 10 10:58:24 2011 From: bobs at twft.com (Bob Sneidar) Date: Wed, 10 Aug 2011 07:58:24 -0700 Subject: AW: how to copy a folder from preferences under lion? In-Reply-To: <4E428FE8.5090600@fourthworld.com> References: <005d01cc5764$27989940$76c9cbc0$@de> <4E428FE8.5090600@fourthworld.com> Message-ID: <3601C84A-E149-491D-BB29-2095D6E79425@twft.com> So perhaps having a second stack which opened a shell that moved the files as an elevated process? Interesting. Bob On Aug 10, 2011, at 7:04 AM, Richard Gaskin wrote: > open elevated process process [ for [ text | binary ] > ( read | write | update | neither ) ] From bobs at twft.com Wed Aug 10 11:01:03 2011 From: bobs at twft.com (Bob Sneidar) Date: Wed, 10 Aug 2011 08:01:03 -0700 Subject: Exporting vector images In-Reply-To: <4E429571.4070805@gmail.com> References: <4E429571.4070805@gmail.com> Message-ID: What would REALLY be nice is to be able to use REAL vector based icons or import eps for our buttons so that scaling an app would not make everything look cheesy. Bob On Aug 10, 2011, at 7:28 AM, Richmond Mathewson wrote: > I know this is an old chestnut, but . . . > > Considering one can make and manipulate vectorised objects insode > Livecode I don't quite see why one should not be able to export vector images. > > I have a lot of people badgering me about exporting vector images of (Sanskrit) > text just 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 From gregory.lypny at videotron.ca Wed Aug 10 11:18:22 2011 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Wed, 10 Aug 2011 11:18:22 -0400 Subject: FTP To and From My Mac Message-ID: <1D29C961-90C9-4A4E-A579-DBAB07210D28@videotron.ca> Hi Dave Cragg and Mark Schonewille, Thank you both for your responses. Problem solved with a unexpected fix! I tried all of your suggestions, learned a lot about the various libURL commands, which will be useful in my project, but unfortunately, none solved the problem not being able to download that particular 183 KB file. The FTP log told me the download was complete, indicated the correct number of bytes, and that the socket had been closed. But the variable into which the file had been loaded had zero lines in it and did not appear in the field into which I put it. I tried many other files, some as big as 2 MB, and they downloaded fine and in a jiffy. It then occurred to me that this was the only file created with LiveCode using RETURN to delimit line endings, and that perhaps something gets messed up when it is transferred to the remote Mac server. I went through my old Revolution tips and found an email from you, Dave, from 2005, explaining how to clean line endings. Worked like a charm!!! on cleanLineEndings @pText replace crlf with return in pText replace numToChar(13) with return in pText end cleanLineEndings Thanks again, Gregory From toolbook at kestner.de Wed Aug 10 11:30:37 2011 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Wed, 10 Aug 2011 17:30:37 +0200 Subject: AW: AW: how to copy a folder from preferences under lion? In-Reply-To: <4E428FE8.5090600@fourthworld.com> References: <005d01cc5764$27989940$76c9cbc0$@de> <4E428FE8.5090600@fourthworld.com> Message-ID: <006a01cc5772$78da1c30$6a8e5490$@de> Thanks Richard, I think for my usage of offering a migration tool it's a bit to much. I think I'll let die my old files where they are and let the user install them fresh in the new location. If somebody complains about my dead files I'll let him call apple. Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode-bounces at lists.runrev.com [mailto:use-livecode- > bounces at lists.runrev.com] Im Auftrag von Richard Gaskin > Gesendet: Mittwoch, 10. August 2011 16:04 > An: use-livecode at lists.runrev.com > Betreff: Re: AW: how to copy a folder from preferences under lion? > > Tiemo Hollmann wrote: > > >> Richard Gaskin wrote: > >> What's wrong with using the folder Apple recommends?: > >> > >> specialFolderPath("preferences") > > > > I have some files which must be shared for all users (see my previous > > threads). That?s why I had those files in the past in /library > > /preferences/ > > and now for Lion in /applications/myFolder/ > > which works for fresh installations. Now I wanted to migrate my files > > for existing installations, who upgraded to Lion to the new location, > > but I don't get them off the old location. > > Page 27 of the Release Notes may be helpful here: > > Elevated process support (4.5 ? experimental) > > Sometimes it is necessary to perform operations on the local > machine as an administrator, and a typical pattern for a GUI > application doing this is for it to prompt for authentication > at certain points. > > Modern operating systems do not permit a process to elevate > itself, nor grant itself increased privilege. Instead, they > only allow a running process to launch another process with > increased privilege. Therefore, in order to support this, a > new form of the open process command has been introduced that > can launch a slave process with elevated permissions: > > open elevated process process [ for [ text | binary ] > ( read | write | update | neither ) ] > > This form operates identically to the normal version, except > that engine will ask the system to launch the given process > with admin/root privileges. > > The standard way for a GUI application that needs to perform > privileged operations to be structured is to split the > application into two parts: a GUI front-end that interacts with > the user, and a command-line back-end that is run with elevated > permissions. These two parts can then talk to each other using > a standard master-slave approach, or some other form of IPC such > as sockets. > > Important: This feature is currently experimental. This means > that it may not be complete, or may fail in some circumstances > that you would expect it to work. Please do not be afraid to try > it out as we need feedback to develop it further. > > > For myself it seems like a lot of work to provide two standalones for > one task; I'd probably opt for using the /Users/Shared folder instead. > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > LiveCode Journal blog: http://LiveCodejournal.com/blog.irv > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bvg at mac.com Wed Aug 10 11:28:10 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Wed, 10 Aug 2011 17:28:10 +0200 Subject: [Server] create stack trouble In-Reply-To: References: <1312594846940-3722610.post@n4.nabble.com> <1312596414009-3722633.post@n4.nabble.com> <1312722952069-3724846.post@n4.nabble.com> <1312756698247-3725740.post@n4.nabble.com> <1312818261073-3727358.post@n4.nabble.com> <1312820760865-3727487.post@n4.nabble.com> <1312823916875-3727680.post@n4.nabble.com> <1312852570360-3728748.post@n4.nabble.com> Message-ID: <010EAFF2-797A-4FF9-9A2C-5A5C743D433E@mac.com> On 9 Aug 2011, at 19:20, Pierre Sahores wrote: > Hi Bj?rnke, > > FOR ME The main goal of using the server's stack component is to let us store our code as password protected libraries I fixed your point above. The problem is exactly that mindset. This time "your" user case was supported. Are your needs covered in all the other partial features cases? For example your socket needs, using unicode easily without worrying all the time or when revServer did not allow any stacks for 3 years? The stack is a complex beast, and for a reason. It allows for dozens of different user cases, and to support all of those possibilities, all the stack features need to be available. There is never one use for any component in LC, instead everything hooks together to allow the dozens approaches we all love for achieving a single goal. Bj?rnke -- Watch live presentations every Saturday: http://livecode.tv Use an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ From gregory.lypny at videotron.ca Wed Aug 10 11:33:23 2011 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Wed, 10 Aug 2011 11:33:23 -0400 Subject: Questions About LiveCode Apps That Connect to the Internet Message-ID: <1A0FEE9D-C3A4-4F01-8D4B-941C232DFF85@videotron.ca> Hello everyone, I?m building a standalone for my students. It will allow them to upload quizzes and small assignments to my Mac via FTP as well as participate in various experiments and surveys. I have a few Internet-related questions that I hoping someone can answer. Is there a handler I can include in the stack that would allow it to detect whether the user is connected to the Internet? That would allow me to give them the option of working offline. How can I get the current date and time from either a time server or my remote Mac? I need to timestamp student submissions and want the time coming from one source, not their own machines. What is the best way to catch common FTP errors, such as a file not existing, so that I can relay a message back to the users? Much obliged, Gregory From jacque at hyperactivesw.com Wed Aug 10 12:09:03 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 10 Aug 2011 11:09:03 -0500 Subject: More time travelling In-Reply-To: <1021739775390.20110809223923@ahsoftware.net> References: <1021739775390.20110809223923@ahsoftware.net> Message-ID: <4E42AD1F.9020109@hyperactivesw.com> On 8/10/11 12:39 AM, Mark Wieder wrote: > Looks like Jacque's not the only time traveller around... > > http://www.pcmag.com/article2/0,2817,2390671,00.asp > At first I thought this was just an amateur tinkering with a clock. But when I met her 40 years from now, I see she may be on to something. BTW, she's installed a bio-port in her neck. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From toolbook at kestner.de Wed Aug 10 12:19:53 2011 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Wed, 10 Aug 2011 18:19:53 +0200 Subject: AW: how to copy a folder from preferences under lion? In-Reply-To: <005801cc574e$4b9e6880$e2db3980$@de> References: <005801cc574e$4b9e6880$e2db3980$@de> Message-ID: <007501cc5779$5a3788b0$0ea69a10$@de> I also tried to just copy the files (cp), which works with standard files, but not with a hidden file (dotFilename). Any ideas? Thanks Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode-bounces at lists.runrev.com [mailto:use-livecode- > bounces at lists.runrev.com] Im Auftrag von Tiemo Hollmann TB > Gesendet: Mittwoch, 10. August 2011 13:12 > An: 'How to use LiveCode' > Betreff: how to copy a folder from preferences under lion? > > Hello, > > My software had a folder and files in /library/Preferences/ where now under > Lion the user has no permissions any more > > I want to build a migration tool for my customers to move the folder and > files from /library/Preferences/ to the new location at > /Applications/myFolder/. > > I tried: get shell("sudo mv" oldPathAndFolder newPathAndFolder) and same > with ditto. Executing this command just nothing happens, the result returns > "1" > > I tried it with AppleScript: > > Tell "Finder" > > do shell script "mv /oldPath/AndFolder/ /newPath/AndFolder/" > > end tell > > it returns an execution error, when trying to copy from preferences. Copying > from user folders runs fine. > > Trying: do shell script "mv /oldPath/AndFolder/ /newPath/AndFolder/ with > administrator rights" returns a compiler error > > > > Why can I move my folder from preferences with the terminal using "sudo mv", > but not from within LC? What am I doing wrong? Or is Jans proposal to build > a separate executable and elevate the rights the only way to get > permissions? (no idea yet how to do that, therefore not tested it yet) > > Thanks for any help > > 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 userev at canelasoftware.com Wed Aug 10 12:12:41 2011 From: userev at canelasoftware.com (Mark Talluto) Date: Wed, 10 Aug 2011 09:12:41 -0700 Subject: Questions About LiveCode Apps That Connect to the Internet In-Reply-To: <1A0FEE9D-C3A4-4F01-8D4B-941C232DFF85@videotron.ca> References: <1A0FEE9D-C3A4-4F01-8D4B-941C232DFF85@videotron.ca> Message-ID: <6F44733A-8C45-4FBD-8DC2-368505B5A6BF@canelasoftware.com> On Aug 10, 2011, at 8:33 AM, Gregory Lypny wrote: > Hello everyone, > > I?m building a standalone for my students. It will allow them to upload quizzes and small assignments to my Mac via FTP as well as participate in various experiments and surveys. I have a few Internet-related questions that I hoping someone can answer. > > Is there a handler I can include in the stack that would allow it to detect whether the user is connected to the Internet? That would allow me to give them the option of working offline. > > How can I get the current date and time from either a time server or my remote Mac? I need to timestamp student submissions and want the time coming from one source, not their own machines. > > What is the best way to catch common FTP errors, such as a file not existing, so that I can relay a message back to the users? > > > > Much obliged, > > 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 Hi Gregory, > What is the best way to catch common FTP errors, such as a file not existing, so that I can relay a message back to the users? After doing an FTP transaction, put the result into a variable. If the variable is empty then the transaction was successful. If there was an error, the variable will contain the exact error that occurred. You can then return that error to the user. > How can I get the current date and time from either a time server or my remote Mac? I need to timestamp student submissions and want the time coming from one source, not their own machines. Timestamping from the perspective the client is very easy. Doing it from a central clock is a bit more complex. Two solutions I can think of would be to pull the time from the internet or running a CGI on the server and pulling it from the server. If the Macs are set to keep their timing in sync with the internet then using the local time on each system should be accurate enough though. Here is how you can check for the internet. The csDebugOutput lines can be removed. They are used to log the function. I have included that handler in the event you want to log it as well. This function scales nicely for users that have higher latency connections. Users that have lower latency connections will not be penalized and will normally return a true or false value within 20 milliseconds. I have seen affordable dsl connections take as much as 1500 milliseconds. Some international users may need as much as 3000 milliseconds on dial up connections. The function allows for up to 6000 milliseconds. This value can be modified as needed. The tSiteToCheck variable can be set to any website. We used to use Google, but found testing against our own sever served us in two ways. We could see if the client would have issues resolving a connection to our server as well as testing for the ability to communicate with the Internet. local lInternetFirstCheck, lInternetFirstCheckTiming function checkInternetStatus --INITIALIZE VARIABLES put 6000 into tFallbackTime put "www.canelasoftware.com" into tSiteToCheck put false into lInternetFirstCheck csDebugOutput ("Starting checkInternetStatus...") put hostNameToAddress(tSiteToCheck,"checkInternetStatus_Callback") into tThrowAway --GIVE SYSTEM TIME TO RUN THE hostNameToAddress FUNCTION put the milliseconds into lInternetFirstCheckTiming --GATHER TIMING FOR ACCURATE LOGGING repeat until lInternetFirstCheck is true wait 1 milliseconds with messages if the milliseconds - lInternetFirstCheckTiming > tFallbackTime then exit repeat end repeat --lInternetFirstCheck: true = DEFINITELY NOT CONNECTED TO ROUTER WITH NO WAN --lInternetFirstCheck: false = PROBABLY CONNECTED TO ROUTER WITH NO WAN (OR WE HAVE POOR LATENCY) --hostNameToAddress DID NOT RUN AND THUS RETURN NO INTERNET --PROBABLY CONNECTED TO ROUTER WITH NO WAN (OR WE HAVE POOR LATENCY) if lInternetFirstCheck is false then csDebugOutput ("First internet check failed after:" && the milliseconds - lInternetFirstCheckTiming & "ms") csDebugOutput ("Probably connected to a router with no WAN (or we have poor latency).") return false end if --CHECK IF THE ROUTER HAS A VALID INTERNET CONNECTION put hostNameToAddress(tSiteToCheck) into tInternetSecondCheck --WE HAVE A VALID INTERNET CONNECTION set the itemdel to "." if item 2 of tInternetSecondCheck is a number then csDebugOutput ("Second internet check passed after:" && the milliseconds - lInternetFirstCheckTiming & "ms") return true end if --WE ARE NOT CONNECTED TO A VALID INTERNET CONNECTION csDebugOutput ("Second check failed after:" && the milliseconds - lInternetFirstCheckTiming & "ms") return false end checkInternetStatus on checkInternetStatus_Callback pParam1 csDebugOutput ("First internet check passed after:" && the milliseconds - lInternetFirstCheckTiming & "ms") put true into lInternetFirstCheck end checkInternetStatus_Callback command csDebugOutput pMessage global gDebugModeOn --BUILD LOG URL if the platform is "Win32" then put ("file:" & (specialFolderPath(26) & slash & kDebugLog)) into tLogURL if the platform is "MacOS" then put ("file:" & (specialFolderPath("preferences") & slash & kDebugLog)) into tLogURL if tLogURL is empty then exit csDebugOutput --CREATE TIMESTAMP put (the long date && the long time && ": ") into tTimestamp if gDebugModeOn is true then if char 5 of pMessage = "#" then put (lf & lf & lf) before pMessage --PREPEND MAJOR SECTIONS WITH LF*3 put 0 into x repeat (the num of chars of pMessage) add 1 to x put char x of pMessage into tChar if tChar is not lf and tChar is not cr and tChar is not crlf then put tTimestamp before char x of pMessage --PUT THE TIMESTAMP AFTER THE SPACES, AND BEFORE THE CONTENT exit repeat end if end repeat put (pMessage & cr) after URL tLogURL --WRITE TO THE LOG end if end csDebugOutput Best regards, Mark Talluto http://www.canelasoftware.com From bobs at twft.com Wed Aug 10 11:46:43 2011 From: bobs at twft.com (Bob Sneidar) Date: Wed, 10 Aug 2011 08:46:43 -0700 Subject: AW: AW: how to copy a folder from preferences under lion? In-Reply-To: <006a01cc5772$78da1c30$6a8e5490$@de> References: <005d01cc5764$27989940$76c9cbc0$@de> <4E428FE8.5090600@fourthworld.com> <006a01cc5772$78da1c30$6a8e5490$@de> Message-ID: <79E17FD1-E3C6-4AD6-91CB-1FF150FFA11C@twft.com> I think if Apple decided to lock people out of their own preference files, they should have provided a migration utility themselves. Bob On Aug 10, 2011, at 8:30 AM, Tiemo Hollmann TB wrote: > Thanks Richard, > I think for my usage of offering a migration tool it's a bit to much. I > think I'll let die my old files where they are and let the user install them > fresh in the new location. If somebody complains about my dead files I'll > let him call apple. > Tiemo From sc at sahores-conseil.com Wed Aug 10 12:29:58 2011 From: sc at sahores-conseil.com (Pierre Sahores) Date: Wed, 10 Aug 2011 18:29:58 +0200 Subject: [Server] create stack trouble In-Reply-To: <010EAFF2-797A-4FF9-9A2C-5A5C743D433E@mac.com> References: <1312594846940-3722610.post@n4.nabble.com> <1312596414009-3722633.post@n4.nabble.com> <1312722952069-3724846.post@n4.nabble.com> <1312756698247-3725740.post@n4.nabble.com> <1312818261073-3727358.post@n4.nabble.com> <1312820760865-3727487.post@n4.nabble.com> <1312823916875-3727680.post@n4.nabble.com> <1312852570360-3728748.post@n4.nabble.com> <010EAFF2-797A-4FF9-9A2C-5A5C743D433E@mac.com> Message-ID: <5F8EA2D4-3CB6-4CDE-BE1E-DA075531BB0F@sahores-conseil.com> Hello Bj?rnke, We probably need to get in mind that desktop apps stacks and server's stacks are not dedicated to do the same jobs ! On the left, desktop apps stacks are handled in RAM as long running processes and this give us lots of possibilities, sockets management included. If you really search a way to handle such stacks in a server-side long running application's server context, feel free to refer and use the method and tools i forwarded to the community years ago about the subject in visiting . This is a good way to go as long as we remind that the stack component is not running in multithread mode... On the right, LC-server stacks are only dedicated to work as command-line or CGI driven protected libs components and because this restriction they are able to run in multithread mode and this was wanted/needed to get LC-server able to become a rock-solid server-side alternative to Java or PHP. In a perfect world - and this will perhaps become the case later if RunRev get good incomes from the LC-server product - the next step could be to get a new kind of product as an LC-application's server running in the way JBoss, WebSphere, WebLogic, etc... are able to do. But, at this point, frankly, i'm not sure that this way to go would really helps as long as all good n-tier apps relies mainly on methodology, design and good practices to handle their tasks as stateless jobs. In other words, if an n-tier app can be build on top of JBoss (long running process), it can be build as well as a CGI tasks collection too and the difference will mainly rely on the fact that the second code implementation will need to be more clean and compact than the one we could build for JBoss in using toons of unproductive frameworks (Eclipe, Ant, Hibernate, Struts, etc...). Just a simple tough ;-) Kind Regards, Pierre > The stack is a complex beast, and for a reason. It allows for dozens of different user cases, and to support all of those possibilities, all the stack features need to be available. There is never one use for any component in LC, instead everything hooks together to allow the dozens approaches we all love for achieving a single goal. > > Bj?rnke > > -- > Watch live presentations every Saturday: > http://livecode.tv > > Use an alternative Dictionary viewer: > http://bjoernke.com/bvgdocu/ > > Chat with other RunRev developers: > http://bjoernke.com/chatrev/ > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 pmbrig at gmail.com Wed Aug 10 12:40:21 2011 From: pmbrig at gmail.com (Peter M. Brigham, MD) Date: Wed, 10 Aug 2011 12:40:21 -0400 Subject: Money Script In-Reply-To: References: <1021739467171.20110809223415@ahsoftware.net> Message-ID: On Aug 10, 2011, at 10:52 AM, Bob Sneidar wrote: > Mark, it must have been you in an alternate timeleine. I have socks I never bought in my drawer. That pretty much settles everything. OK, now we've traveled back to a previous discussion. Next someone talks about driers being time machines, then it's paperclips transforming into coat hangers or something. Then we all start complaining about the bugs in version 4.0 ... Somebody wake me up. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From capellan2000 at gmail.com Wed Aug 10 12:41:09 2011 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Wed, 10 Aug 2011 09:41:09 -0700 (PDT) Subject: Exporting vector images In-Reply-To: <4E429571.4070805@gmail.com> References: <4E429571.4070805@gmail.com> Message-ID: <1312994469586-3733514.post@n4.nabble.com> Hi Richmond, Download this: http://andregarzia.on-rev.com/alejandro/stacks/export_vector_graphics_v04.zip Have a nice Day! :-D Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Exporting-vector-images-tp3733066p3733514.html Sent from the Revolution - User mailing list archive at Nabble.com. From sc at sahores-conseil.com Wed Aug 10 12:41:11 2011 From: sc at sahores-conseil.com (Pierre Sahores) Date: Wed, 10 Aug 2011 18:41:11 +0200 Subject: AW: AW: how to copy a folder from preferences under lion? In-Reply-To: <79E17FD1-E3C6-4AD6-91CB-1FF150FFA11C@twft.com> References: <005d01cc5764$27989940$76c9cbc0$@de> <4E428FE8.5090600@fourthworld.com> <006a01cc5772$78da1c30$6a8e5490$@de> <79E17FD1-E3C6-4AD6-91CB-1FF150FFA11C@twft.com> Message-ID: <55D56B26-B03D-45E2-B915-9B676C9F686D@sahores-conseil.com> Thanks Apple to invite us to understand that good time is coming for FOSS Posix OS ;-) Le 10 ao?t 2011 ? 17:46, Bob Sneidar a ?crit : > I think if Apple decided to lock people out of their own preference files, they should have provided a migration utility themselves. > > Bob > > > On Aug 10, 2011, at 8:30 AM, Tiemo Hollmann TB wrote: > >> Thanks Richard, >> I think for my usage of offering a migration tool it's a bit to much. I >> think I'll let die my old files where they are and let the user install them >> fresh in the new location. If somebody complains about my dead files I'll >> let him call apple. >> 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 -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com From richmondmathewson at gmail.com Wed Aug 10 12:58:02 2011 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Wed, 10 Aug 2011 19:58:02 +0300 Subject: Exporting vector images In-Reply-To: <1312994469586-3733514.post@n4.nabble.com> References: <4E429571.4070805@gmail.com> <1312994469586-3733514.post@n4.nabble.com> Message-ID: <4E42B89A.80509@gmail.com> On 08/10/2011 07:41 PM, Alejandro Tejada wrote: > Hi Richmond, > > Download this: > > http://andregarzia.on-rev.com/alejandro/stacks/export_vector_graphics_v04.zip > > Have a nice Day! :-D > > Al > > Wow! And Thank You 50 thousand times! Richmond. From richmondmathewson at gmail.com Wed Aug 10 13:02:15 2011 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Wed, 10 Aug 2011 20:02:15 +0300 Subject: Exporting vector images In-Reply-To: <1312994469586-3733514.post@n4.nabble.com> References: <4E429571.4070805@gmail.com> <1312994469586-3733514.post@n4.nabble.com> Message-ID: <4E42B997.2070905@gmail.com> On 08/10/2011 07:41 PM, Alejandro Tejada wrote: > Hi Richmond, > > Download this: > > http://andregarzia.on-rev.com/alejandro/stacks/export_vector_graphics_v04.zip > > Have a nice Day! :-D > > BUT . . . This super stack exports Vector graphics as vector graphics (wow, that sounds a bit circular), and as such is wonderful. WHAT IT DOESN'T DO is: Export TEXT from a textField as Vectors . . . expecting too much, I am . . . :) From form at nonsanity.com Wed Aug 10 13:03:05 2011 From: form at nonsanity.com (Nonsanity) Date: Wed, 10 Aug 2011 13:03:05 -0400 Subject: Money Script In-Reply-To: References: <1021739467171.20110809223415@ahsoftware.net> Message-ID: cheese ~ Chris Innanen ~ Nonsanity On Wed, Aug 10, 2011 at 12:40 PM, Peter M. Brigham, MD wrote: > On Aug 10, 2011, at 10:52 AM, Bob Sneidar wrote: > > > Mark, it must have been you in an alternate timeleine. I have socks I > never bought in my drawer. That pretty much settles everything. > > OK, now we've traveled back to a previous discussion. Next someone talks > about driers being time machines, then it's paperclips transforming into > coat hangers or something. Then we all start complaining about the bugs in > version 4.0 ... Somebody wake me up. > > -- 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 > From bobs at twft.com Wed Aug 10 13:15:18 2011 From: bobs at twft.com (Bob Sneidar) Date: Wed, 10 Aug 2011 10:15:18 -0700 Subject: Money Script In-Reply-To: References: <1021739467171.20110809223415@ahsoftware.net> Message-ID: I really love you guys. :-) Bob On Aug 10, 2011, at 10:03 AM, Nonsanity wrote: > cheese > > > ~ Chris Innanen > ~ Nonsanity > > > On Wed, Aug 10, 2011 at 12:40 PM, Peter M. Brigham, MD wrote: > >> On Aug 10, 2011, at 10:52 AM, Bob Sneidar wrote: >> >>> Mark, it must have been you in an alternate timeleine. I have socks I >> never bought in my drawer. That pretty much settles everything. >> >> OK, now we've traveled back to a previous discussion. Next someone talks >> about driers being time machines, then it's paperclips transforming into >> coat hangers or something. Then we all start complaining about the bugs in >> version 4.0 ... Somebody wake me up. >> >> -- 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 >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From cszasz at mac.com Wed Aug 10 13:15:00 2011 From: cszasz at mac.com (Charles Szasz) Date: Wed, 10 Aug 2011 13:15:00 -0400 Subject: Money Script Message-ID: <05D2CB7B-2915-4A9E-93DE-73FB5D21E366@mac.com> Bob, I am using that script along with the following script, which is placed first. The script below prevents a negative number being entered. My app calculates mileage and hence, I will not have a negative number. on keyDown theKey if theKey is in "1234567890" then pass keydown end if if theKey="." and "." is not in me then if me is empty or the number of chars of me=1 and char 1 of me="-" then put "0." after me else pass keydown end if end if end keyDown I then use the following scripts: on backSpaceKey put empty into me end backSpaceKey on backSpaceKey put empty into me end backSpaceKey on closeField if me <> empty then put me into tNum if char 1 of tNum = "$" then delete char 1 of tNum put format("$%1.2f", tNum) into me else put format("$%1.2f", tNum) into me end if put field "expen1" into t1 put filterThis(t1) into tFiltered1 put field "expen2" into t2 put filterThis(t2) into tFiltered2 end closeField I am using Nicolas Cuato's scripts for filtering out the $ sign. If you need those scripts, please let me know. Charles Szasz cszasz at mac.com From pmbrig at gmail.com Wed Aug 10 15:14:42 2011 From: pmbrig at gmail.com (Peter M. Brigham, MD) Date: Wed, 10 Aug 2011 15:14:42 -0400 Subject: Questions About LiveCode Apps That Connect to the Internet In-Reply-To: <1A0FEE9D-C3A4-4F01-8D4B-941C232DFF85@videotron.ca> References: <1A0FEE9D-C3A4-4F01-8D4B-941C232DFF85@videotron.ca> Message-ID: > How can I get the current date and time from either a time server or my remote Mac? I need to timestamp student submissions and want the time coming from one source, not their own machines. You can fetch the time from the U.S. Naval Observatory atomic clock. This assumes an internet connection, though. In my little stack, the time zone is chosen by the user, so I fetch it from a customprop. You'll have calculate the time offset from the last word of the internet date on the user machine -- I'll leave that to you. You need to convert something like "-0400" [EDT] to "1", "-0500" to "2" etc. but in winter the internet date will return "-0500" for eastern *standard* time so you'll have to correct for that. The object is to get the correct line of the HTMLtext of the tycho webpage. Check out the format of the page, it's simple HTMLtext. This will give you a start: function fetchTime put URL "http://tycho.usno.navy.mil/cgi-bin/timer.pl" into t -- gives a list of current times for all US time zones put the timeZone of stack "TimeHelp" into h -- time zone is as follows -- daylight time is given if currently applicable -- 1 = eastern -- 2 = central -- 3 = mountain -- 4 = pacific -- 5 = alaska -- 6 = hawaii put line 6+h of t into tTime delete item 1 of tTime return tTime end fetchTime -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From zryip.theslug at gmail.com Wed Aug 10 15:28:00 2011 From: zryip.theslug at gmail.com (zryip theSlug) Date: Wed, 10 Aug 2011 21:28:00 +0200 Subject: Searching for partial matches in a datagrid In-Reply-To: <400AE5E7-1B30-417D-A329-D03D3B65C0C0@twft.com> References: <400AE5E7-1B30-417D-A329-D03D3B65C0C0@twft.com> Message-ID: Hi Bob, Maybe time for sharing some hidden scripts. Here is a part of the DGH engine script that could probably do the trick: command dgh_FindLine pWhichDataGrid, pKeyIndexA, pSearchType, pSearchString local tTheIndexList, tIndex, tTheLineList _dgh_FindIndex pWhichDataGrid, pKeyIndexA, pSearchType, pSearchString put the result into tTheIndexList repeat for each item tIndex in tTheIndexList put the dgLineOfIndex[tIndex] of pWhichDataGrid into item (the number of items of tTheLineList + 1) of tTheLineList end repeat if (tTheLineList is empty) then return 0 else return tTheLineList end if end dgh_FindLine private command _dgh_FindIndex pWhichDataGrid,pTpKeyIndexA,pSearchType,pSearchString local foundAMatch, theFoundIndex, i, theIndex, tIndexValue, tSearchType, tNotSearch, tSearchString, tError if (pSearchType is among the items of _zuSearchContentOperatorList()) then try put the dgData of pWhichDataGrid into sDataArray repeat for each key theIndex in sDataArray repeat with i = 2 to the paramCount step 3 put sDataArray[theIndex][param(i)] into tIndexValue put param(i+1) into tSearchType put param(i+2) into tSearchString if (first word of tSearchType is "not") then put "not " into tNotSearch delete first word of tSearchType else put empty into tNotSearch end if put value(tNotSearch & "(" & quote & tIndexValue & quote && tSearchType && quote & tSearchString & quote & ")") into foundAMatch exit repeat end repeat if foundAMatch then put theIndex into item (number of items of theFoundIndex + 1) of theFoundIndex end if end repeat if (theFoundIndex is empty) then return 0 else return theFoundIndex end if catch tError answer tError end try else answer pSearchType && "is not in" && _zuSearchContentOperatorList()) end if end _dgh_FindIndex private function _zuSearchContentOperatorList return "is,begins with,ends with,contains,is not,not begins with,not ends with,not contains,=,>,>=,<,<=,<>" end _zuSearchContentOperatorList It is an implementation of the FindIndex and FindLine handler of the Datagrid library with additional capabilities. The capacity of searching with multiple queries is removed. I'm using another couple of handlers for doing that. Note that all the existing operators can be use: contains, begins with, ends with, >, <, =, is, etc Usage examples: put the long id of grp "myDataGrid" into tDataGridRef dgh_FindLine tDataGridRef, "Col1", "contains", "a" put the result into tTheLineFound set the dgHilitedLines of tDataGridRef to tTheLineFound On Wed, Aug 10, 2011 at 12:43 AM, Bob Sneidar wrote: > Hi all. > > I am hoping there will be a way to search a datagrid for PARTIAL matches. I already can find EXACT matches, and I tried regex on the findIndex command, to no avail. I know that if I cannot I can always get the dgText of the datagrid, but there is a problem with that method. First, the datagrid may contain a huge amount of data, and it seems inefficient to work with strings if I can use arrays instead. Second, if I need to set the dgText of the datagrid to what I find, it will wipe all my hidden data columns, that is array keys which I do not have a column for in the datagrid. I depend on these. > > So I can kludge a way to do this, but I was hoping I was simply missing something. Best Regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc From bobs at twft.com Wed Aug 10 15:56:08 2011 From: bobs at twft.com (Bob Sneidar) Date: Wed, 10 Aug 2011 12:56:08 -0700 Subject: Searching for partial matches in a datagrid In-Reply-To: References: <400AE5E7-1B30-417D-A329-D03D3B65C0C0@twft.com> Message-ID: <946BEBD2-34D1-4090-B12D-9FFE2702E008@twft.com> Oh hey that's awesome! I ended up crafting a SQL query to do it by querying the database, but of course, that may be a bit slower than filtering the datagrid itself with all the records in an array stored locally. I will have to test both methods and see how it goes. I am really leaning towards finding in the datagrid though. Thanks for this. Bob On Aug 10, 2011, at 12:28 PM, zryip theSlug wrote: > Hi Bob, > > Maybe time for sharing some hidden scripts. > > Here is a part of the DGH engine script that could probably do the trick: > > command dgh_FindLine pWhichDataGrid, pKeyIndexA, pSearchType, pSearchString > local tTheIndexList, tIndex, tTheLineList > > _dgh_FindIndex pWhichDataGrid, pKeyIndexA, pSearchType, pSearchString > put the result into tTheIndexList > > repeat for each item tIndex in tTheIndexList > put the dgLineOfIndex[tIndex] of pWhichDataGrid into item (the > number of items of tTheLineList + 1) of tTheLineList > end repeat > > if (tTheLineList is empty) then > return 0 > else > return tTheLineList > end if > > end dgh_FindLine > > private command _dgh_FindIndex > pWhichDataGrid,pTpKeyIndexA,pSearchType,pSearchString > local foundAMatch, theFoundIndex, i, theIndex, tIndexValue, > tSearchType, tNotSearch, tSearchString, tError > > if (pSearchType is among the items of _zuSearchContentOperatorList()) then > try > put the dgData of pWhichDataGrid into sDataArray > > repeat for each key theIndex in sDataArray > repeat with i = 2 to the paramCount step 3 > put sDataArray[theIndex][param(i)] into tIndexValue > put param(i+1) into tSearchType > put param(i+2) into tSearchString > > if (first word of tSearchType is "not") then > put "not " into tNotSearch > delete first word of tSearchType > else > put empty into tNotSearch > end if > > put value(tNotSearch & "(" & quote & tIndexValue & > quote && tSearchType && quote & tSearchString & quote & ")") into > foundAMatch > > exit repeat > end repeat > > if foundAMatch then > put theIndex into item (number of items of > theFoundIndex + 1) of theFoundIndex > end if > end repeat > > if (theFoundIndex is empty) then > return 0 > else > return theFoundIndex > end if > > catch tError > answer tError > end try > > else > answer pSearchType && "is not in" && _zuSearchContentOperatorList()) > end if > > end _dgh_FindIndex > > private function _zuSearchContentOperatorList > return "is,begins with,ends with,contains,is not,not begins > with,not ends with,not contains,=,>,>=,<,<=,<>" > end _zuSearchContentOperatorList > > It is an implementation of the FindIndex and FindLine handler of the > Datagrid library with additional capabilities. The capacity of > searching with multiple queries is removed. I'm using another couple > of handlers for doing that. > Note that all the existing operators can be use: contains, begins > with, ends with, >, <, =, is, etc > > Usage examples: > > put the long id of grp "myDataGrid" into tDataGridRef > dgh_FindLine tDataGridRef, "Col1", "contains", "a" > put the result into tTheLineFound > set the dgHilitedLines of tDataGridRef to tTheLineFound > > On Wed, Aug 10, 2011 at 12:43 AM, Bob Sneidar wrote: >> Hi all. >> >> I am hoping there will be a way to search a datagrid for PARTIAL matches. I already can find EXACT matches, and I tried regex on the findIndex command, to no avail. I know that if I cannot I can always get the dgText of the datagrid, but there is a problem with that method. First, the datagrid may contain a huge amount of data, and it seems inefficient to work with strings if I can use arrays instead. Second, if I need to set the dgText of the datagrid to what I find, it will wipe all my hidden data columns, that is array keys which I do not have a column for in the datagrid. I depend on these. >> >> So I can kludge a way to do this, but I was hoping I was simply missing something. > > > Best Regards, > -- > -Zryip TheSlug- wish you the best! 8) > http://www.aslugontheroad.co.cc > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 mollysrevenge.com Wed Aug 10 16:19:48 2011 From: pete at mollysrevenge.com (Pete) Date: Wed, 10 Aug 2011 13:19:48 -0700 Subject: Searching for partial matches in a datagrid In-Reply-To: <946BEBD2-34D1-4090-B12D-9FFE2702E008@twft.com> References: <400AE5E7-1B30-417D-A329-D03D3B65C0C0@twft.com> <946BEBD2-34D1-4090-B12D-9FFE2702E008@twft.com> Message-ID: I've had the same situation myself and ended up querying the database rather than searching the datagrid. Main reason was that it's possible that the data in the database could have changed since the datagrid was loaded so filtering the datagrid data might end up with outdated results. Depends on the application requirements, locking strategy, etc but that was the best way to go for me. Pete Molly's Revenge On Wed, Aug 10, 2011 at 12:56 PM, Bob Sneidar wrote: > Oh hey that's awesome! I ended up crafting a SQL query to do it by querying > the database, but of course, that may be a bit slower than filtering the > datagrid itself with all the records in an array stored locally. > > I will have to test both methods and see how it goes. I am really leaning > towards finding in the datagrid though. Thanks for this. > > Bob > > > On Aug 10, 2011, at 12:28 PM, zryip theSlug wrote: > > > Hi Bob, > > > > Maybe time for sharing some hidden scripts. > > > > Here is a part of the DGH engine script that could probably do the trick: > > > > command dgh_FindLine pWhichDataGrid, pKeyIndexA, pSearchType, > pSearchString > > local tTheIndexList, tIndex, tTheLineList > > > > _dgh_FindIndex pWhichDataGrid, pKeyIndexA, pSearchType, pSearchString > > put the result into tTheIndexList > > > > repeat for each item tIndex in tTheIndexList > > put the dgLineOfIndex[tIndex] of pWhichDataGrid into item (the > > number of items of tTheLineList + 1) of tTheLineList > > end repeat > > > > if (tTheLineList is empty) then > > return 0 > > else > > return tTheLineList > > end if > > > > end dgh_FindLine > > > > private command _dgh_FindIndex > > pWhichDataGrid,pTpKeyIndexA,pSearchType,pSearchString > > local foundAMatch, theFoundIndex, i, theIndex, tIndexValue, > > tSearchType, tNotSearch, tSearchString, tError > > > > if (pSearchType is among the items of _zuSearchContentOperatorList()) > then > > try > > put the dgData of pWhichDataGrid into sDataArray > > > > repeat for each key theIndex in sDataArray > > repeat with i = 2 to the paramCount step 3 > > put sDataArray[theIndex][param(i)] into tIndexValue > > put param(i+1) into tSearchType > > put param(i+2) into tSearchString > > > > if (first word of tSearchType is "not") then > > put "not " into tNotSearch > > delete first word of tSearchType > > else > > put empty into tNotSearch > > end if > > > > put value(tNotSearch & "(" & quote & tIndexValue & > > quote && tSearchType && quote & tSearchString & quote & ")") into > > foundAMatch > > > > exit repeat > > end repeat > > > > if foundAMatch then > > put theIndex into item (number of items of > > theFoundIndex + 1) of theFoundIndex > > end if > > end repeat > > > > if (theFoundIndex is empty) then > > return 0 > > else > > return theFoundIndex > > end if > > > > catch tError > > answer tError > > end try > > > > else > > answer pSearchType && "is not in" && _zuSearchContentOperatorList()) > > end if > > > > end _dgh_FindIndex > > > > private function _zuSearchContentOperatorList > > return "is,begins with,ends with,contains,is not,not begins > > with,not ends with,not contains,=,>,>=,<,<=,<>" > > end _zuSearchContentOperatorList > > > > It is an implementation of the FindIndex and FindLine handler of the > > Datagrid library with additional capabilities. The capacity of > > searching with multiple queries is removed. I'm using another couple > > of handlers for doing that. > > Note that all the existing operators can be use: contains, begins > > with, ends with, >, <, =, is, etc > > > > Usage examples: > > > > put the long id of grp "myDataGrid" into tDataGridRef > > dgh_FindLine tDataGridRef, "Col1", "contains", "a" > > put the result into tTheLineFound > > set the dgHilitedLines of tDataGridRef to tTheLineFound > > > > On Wed, Aug 10, 2011 at 12:43 AM, Bob Sneidar wrote: > >> Hi all. > >> > >> I am hoping there will be a way to search a datagrid for PARTIAL > matches. I already can find EXACT matches, and I tried regex on the > findIndex command, to no avail. I know that if I cannot I can always get the > dgText of the datagrid, but there is a problem with that method. First, the > datagrid may contain a huge amount of data, and it seems inefficient to work > with strings if I can use arrays instead. Second, if I need to set the > dgText of the datagrid to what I find, it will wipe all my hidden data > columns, that is array keys which I do not have a column for in the > datagrid. I depend on these. > >> > >> So I can kludge a way to do this, but I was hoping I was simply missing > something. > > > > > > Best Regards, > > -- > > -Zryip TheSlug- wish you the best! 8) > > http://www.aslugontheroad.co.cc > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode 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 gandalf at doctorTimothyMiller.com Wed Aug 10 16:29:23 2011 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Wed, 10 Aug 2011 13:29:23 -0700 Subject: Stack Size Changes In-Reply-To: References: Message-ID: My query from earlier this morning is generating a non-flurry of replies, likely because no one knows the answer. I have solved the problem with a simple preOpenStack handler, which works fine. However, I feel this issue must represent a gap in my knowledge, which I would like to close. Further investigation: On suspendStack answer the height of this stack pass suspendStack end suspendStack The height is 742 Same for on closeStack -- last instruction before stack closes -- the height is 742 On preOpenStack answer the height of this stack -- first instruction, before doing anything else pass preOpenStack end preOpenStack The height is 712 on some occasions. On other occasions it might be 692 or 696, and so on. The width does not change. Is this a possible bug? Is this a feature I don't know about? It's on a laptop, but the rect of the stack is smaller than the screenRect. Cheers, Tim On Aug 10, 2011, at 7:57 AM, Timothy Miller wrote: > So, heerza deal, > > One stack, several cards, two groups on each card, groups behave as backgrounds. Top of one group is 1, bottom is 199. Top of second group is 200, bottom is 740. This group has a vertical scroll bar. > > "Resizable" for the stack is turned off. "Lock size and position" is on, for both groups. > > I set the height of the stack to 742. Save. Close the stack. Open it. The height is now less than 742. Sometimes it's 712. Sometimes it's 692, or 696, or possibly other values. > > There are no scripts that alter card size, group size or stack size. > > Repeat. Same thing. The change of height is inconsistent, even if I do nothing to the stack except open, change the height, and close. > > When the stack size gets smaller, I can't scroll to the bottom of the lower group, and the arrows at the bottom of the scroll bar get cut off. > > I noticed this issue a few weeks ago, on the same stack. Then it stopped happening. > > Now it's doing it again. > > I looked at the message watcher when closing the stack. Didn't understand everything I saw, but nothing surprising. > > Wazzup? > > I guess I could fix this with a script on openStack or preOpenStack, but I want to understand why it happens. > > Thanks in advance. > > Tim From revolution at derbrill.de Wed Aug 10 16:56:16 2011 From: revolution at derbrill.de (Malte Brill) Date: Wed, 10 Aug 2011 22:56:16 +0200 Subject: Stack Size Changes In-Reply-To: References: Message-ID: Hi Tim, If the stack is taller (or wider) than governed by the windowBoundingRect, it will be automatically chopped off. I do not like it... Been that way for ever. :-( Cheers, Malte From bobs at twft.com Wed Aug 10 17:10:30 2011 From: bobs at twft.com (Bob Sneidar) Date: Wed, 10 Aug 2011 14:10:30 -0700 Subject: Stack Size Changes In-Reply-To: References: Message-ID: <9502E398-ED9B-4924-BCB9-8F39F462141B@twft.com> What I did a long time ago to resolve this is I created a background graphic the size I wanted my window to be. The stack always seems to open at the right size now. Bob On Aug 10, 2011, at 1:29 PM, Timothy Miller wrote: > My query from earlier this morning is generating a non-flurry of replies, likely because no one knows the answer. > > I have solved the problem with a simple preOpenStack handler, which works fine. However, I feel this issue must represent a gap in my knowledge, which I would like to close. > > Further investigation: > > On suspendStack > answer the height of this stack > pass suspendStack > end suspendStack > > The height is 742 > > Same for on closeStack -- last instruction before stack closes -- the height is 742 > > On preOpenStack > answer the height of this stack -- first instruction, before doing anything else > pass preOpenStack > end preOpenStack > > The height is 712 on some occasions. On other occasions it might be 692 or 696, and so on. > > The width does not change. > > Is this a possible bug? Is this a feature I don't know about? > > It's on a laptop, but the rect of the stack is smaller than the screenRect. > > > Cheers, > > > Tim > > On Aug 10, 2011, at 7:57 AM, Timothy Miller wrote: > >> So, heerza deal, >> >> One stack, several cards, two groups on each card, groups behave as backgrounds. Top of one group is 1, bottom is 199. Top of second group is 200, bottom is 740. This group has a vertical scroll bar. >> >> "Resizable" for the stack is turned off. "Lock size and position" is on, for both groups. >> >> I set the height of the stack to 742. Save. Close the stack. Open it. The height is now less than 742. Sometimes it's 712. Sometimes it's 692, or 696, or possibly other values. >> >> There are no scripts that alter card size, group size or stack size. >> >> Repeat. Same thing. The change of height is inconsistent, even if I do nothing to the stack except open, change the height, and close. >> >> When the stack size gets smaller, I can't scroll to the bottom of the lower group, and the arrows at the bottom of the scroll bar get cut off. >> >> I noticed this issue a few weeks ago, on the same stack. Then it stopped happening. >> >> Now it's doing it again. >> >> I looked at the message watcher when closing the stack. Didn't understand everything I saw, but nothing surprising. >> >> Wazzup? >> >> I guess I could fix this with a script on openStack or preOpenStack, but I want to understand why it happens. >> >> Thanks in advance. >> >> Tim > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 mfelkerco.com Wed Aug 10 17:21:04 2011 From: admin at mfelkerco.com (Admin) Date: Wed, 10 Aug 2011 16:21:04 -0500 Subject: Adding tracks In-Reply-To: References: Message-ID: <24f3f606eb135a9e35384d68733bd137@mfelkerco.com> Now for a hard one. I am writing a program called GrooveBlox. I created a menu and have a Track menu - where the user can add and delete tracks, like a sequencer program. Tracks are like layers and will be able to be moved around, added to, etc. The idea is to have rectangles (colored) that represent grooves. I want the user to be able to drag and drop the groove rectangles onto a track (they will SNAP in place) and build all kinds of grooves. I need to write our the flow diagram still, but I want to get started on it. The audio files are wave files and more than enough are done to create a product. Here is my question list (it will grow): How will I create the tracks - are they groups or are they substacks? How to add tracks to the main stack (track holder)? How to make the tracks SNAP into place, one beneath the other? How to move the various tracks above or below each other and therefore adjust the layers? How to scroll the track holder once there are too many tracks to fit on one screen? How to drag and drop the colored rectangles onto the tracks using SNAP (very important since the grooves are an exact size and loop precisely)? How to add the rectangles to the holding bin? How to assign the wave file to the colored rectangle? How to play all the tracks in sync with one another? How to adjust the panning with the panning slider? How to adjust the volume with the volume slider? How to create a looping function so you can hear the groove play over and over, and add/subtract/edit tracks while it is playing in sync? How to write a final wave file mixing all the tracks together. Is this the kind of program that requires a client-side database to keep things remembered? Anyone's help is appreciated. Mike From admin at mfelkerco.com Wed Aug 10 17:24:31 2011 From: admin at mfelkerco.com (Admin) Date: Wed, 10 Aug 2011 16:24:31 -0500 Subject: Mac users, please try this out: In-Reply-To: <9502E398-ED9B-4924-BCB9-8F39F462141B@twft.com> References: <9502E398-ED9B-4924-BCB9-8F39F462141B@twft.com> Message-ID: Dear Mac users: I have deployed my database program to Mac, and at first, when I tested it originally on my Mac, it worked. Now it won't let me click any buttons, so I cannot login. Could you please download the files and see if they (A) run and (B) work properly (I know you do not have a login, you can either start new and fresh or enter anything just to see if it works enough to give you a database login error. www.campstaffusa.com/newdb/ Choose the Mac versions of both camp counselor and summer work travel Thank you very much. Mike From gandalf at doctorTimothyMiller.com Wed Aug 10 17:50:43 2011 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Wed, 10 Aug 2011 14:50:43 -0700 Subject: Stack Size Changes In-Reply-To: References: Message-ID: <2CC63931-DFE5-4D04-A4DE-E8A8D4819106@doctorTimothyMiller.com> Hi Malte and Bob, The windowBoundingRect is unfamiliar to me. This is probably the gap in my understanding I wanted to fill. I'm reading the dictionary, scratching my head. However, the arithmetic is not quite adding up. Visually, my stack fits on the screen. If I position it carefully by dragging, with the height set to 742, I can see a little bit of the desktop picture on all four sides. In this case, the rect of the stack is 10,51,1270, 793. I assumed that this would prevent resizing of the stack. It doesn't. My windowBounding rect is 0,50,1280,796. Presumably this is the default value. (The top margin seems bigger than it needs to be. The Mac OS menu bar appears to be 40 pixels high, not 50. But that's another matter.) If I'm not mistaken, the stack does lie within the windowBounding rect. FWIW, the screen rect is 0,0,1280,800 Setting the top of the stack to 51 before saving and closing, or in preOpenStack does not prevent the automatic chopping off of the stack when it opens. I tried setting the windowBoundingRect to 0,41,1280,796 to give the stack a little more room, but that didn't seem to make any difference. Am I not getting something? Or is LC misbehaving just a little? This is all academic. I can solve the problem by setting the height or the rect of the stack in preOpenStack. Thanks again. Tim On Aug 10, 2011, at 1:56 PM, Malte Brill wrote: > Hi Tim, > > If the stack is taller (or wider) than governed by the windowBoundingRect, it will be automatically chopped off. I do not like it... Been that way for ever. :-( > > Cheers, > > > Malte From m.schonewille at economy-x-talk.com Wed Aug 10 17:58:27 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 10 Aug 2011 23:58:27 +0200 Subject: Mac users, please try this out: In-Reply-To: References: <9502E398-ED9B-4924-BCB9-8F39F462141B@twft.com> Message-ID: <75D9D1E1-9C13-41C7-A003-43EE6AD19C0C@economy-x-talk.com> Hi Mike, I downloaded the file candidateswt_mac.sitx and StuffIt Expander shows an error message: An errror occurred... Unspecified internal error #17999. I can't do anything with that file. Mac OS X has a built-in compression tool. Look in the File menu of the Finder. It contains a Compress menu item. There is also Disk Utility, which lets you create very nice disk images. In fact, I wonder if nowadays most Macs don't come without StuffIt. Many people don't even know what a .sitx extension is. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 What does that error mean? Buy LiveCodeErrors for iPhone now http://qery.us/v4 A must-have for LiveCode programmers. On 10 aug 2011, at 23:24, Admin wrote: > > > Dear Mac users: > > I have deployed my database program to Mac, and > at first, when I tested it originally on my Mac, it worked. Now it won't > let me click any buttons, so I cannot login. > > Could you please download > the files and see if they (A) run and (B) work properly (I know you do > not have a login, you can either start new and fresh or enter anything > just to see if it works enough to give you a database login error. > > > www.campstaffusa.com/newdb/ > > Choose the Mac versions of both camp > counselor and summer work travel > > Thank you very much. > > 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 admin at mfelkerco.com Wed Aug 10 18:04:55 2011 From: admin at mfelkerco.com (Admin) Date: Wed, 10 Aug 2011 17:04:55 -0500 Subject: Mac users, please try this out: In-Reply-To: <75D9D1E1-9C13-41C7-A003-43EE6AD19C0C@economy-x-talk.com> References: <9502E398-ED9B-4924-BCB9-8F39F462141B@twft.com> <75D9D1E1-9C13-41C7-A003-43EE6AD19C0C@economy-x-talk.com> Message-ID: <289a7ed9bd3a462aa0deb8dab65add94@mfelkerco.com> Mark, And I just bought that damn program. I am trying to make it so that the files (there are 2 files and one executeable) decompress and run on download. How do I do this? I can send you the contents of both files if you can help me. Mike On Wed, 10 Aug 2011 23:58:27 +0200, Mark Schonewille wrote: > Hi Mike, > > I downloaded the file candidateswt_mac.sitx and StuffIt Expander shows an error message: An errror occurred... Unspecified internal error #17999. I can't do anything with that file. > > Mac OS X has a built-in compression tool. Look in the File menu of the Finder. It contains a Compress menu item. There is also Disk Utility, which lets you create very nice disk images. In fact, I wonder if nowadays most Macs don't come without StuffIt. Many people don't even know what a .sitx extension is. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com [4] > Twitter: http://twitter.com/xtalkprogrammer [5] > KvK: 50277553 > > What does that error mean? Buy LiveCodeErrors for iPhone now http://qery.us/v4 [6]A must-have for LiveCode programmers. > > On 10 aug 2011, at 23:24, Admin wrote: > >> Dear Mac users: I have deployed my database program to Mac, and at first, when I tested it originally on my Mac, it worked. Now it won't let me click any buttons, so I cannot login. Could you please download the files and see if they (A) run and (B) work properly (I know you do not have a login, you can either start new and fresh or enter anything just to see if it works enough to give you a database login error. www.campstaffusa.com/newdb/ [1] Choose the Mac versions of both camp counselor and summer work travel Thank you very much. Mike _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com [2] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode [3] > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com [7] > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode [8] Links: ------ [1] http://www.campstaffusa.com/newdb/ [2] mailto:use-livecode at lists.runrev.com [3] http://lists.runrev.com/mailman/listinfo/use-livecode [4] http://economy-x-talk.com [5] http://twitter.com/xtalkprogrammer [6] http://qery.us/v4 [7] mailto:use-livecode at lists.runrev.com [8] http://lists.runrev.com/mailman/listinfo/use-livecode From pete at mollysrevenge.com Wed Aug 10 18:13:10 2011 From: pete at mollysrevenge.com (Pete) Date: Wed, 10 Aug 2011 15:13:10 -0700 Subject: Scripts Externally Modified? Message-ID: Every now and then when quitting LC, I get a message window with the above heading with the text "The following objects were modified outside the script editor, would you like to reload them" plus a field containing an object name (the one I'm looking at right now is a card). I have no idea what this means. I use only the built-in LC IDE script editor and I don;t recall ever creating an object script by setting it in another script. Any clues as to what this is all about? Pete Molly's Revenge From m.schonewille at economy-x-talk.com Wed Aug 10 18:17:46 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 11 Aug 2011 00:17:46 +0200 Subject: Mac users, please try this out: In-Reply-To: <289a7ed9bd3a462aa0deb8dab65add94@mfelkerco.com> References: <9502E398-ED9B-4924-BCB9-8F39F462141B@twft.com> <75D9D1E1-9C13-41C7-A003-43EE6AD19C0C@economy-x-talk.com> <289a7ed9bd3a462aa0deb8dab65add94@mfelkerco.com> Message-ID: Hi Mike, On Mac, you're not supposed to start an application automatically after downlaod. It is a security violation. On windows, you can do this, unfortunately. Your closest bet would be to create a disk image. You could even set the background of such an image to a picture wiith instructions about installing or starting the application. Is this application really just a registration window? Perhaps you should forget about LiveCode for once and make a simple website with a web form? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 What does that error mean? Buy LiveCodeErrors for iPhone now http://qery.us/v4 A must-have for LiveCode programmers. On 11 aug 2011, at 00:04, Admin wrote: > > > Mark, > > And I just bought that damn program. > > I am trying to make > it so that the files (there are 2 files and one executeable) decompress > and run on download. How do I do this? > > I can send you the contents of > both files if you can help me. > > Mike > > On Wed, 10 Aug 2011 23:58:27 > +0200, Mark Schonewille wrote: > >> Hi Mike, >> >> I downloaded the file > candidateswt_mac.sitx and StuffIt Expander shows an error message: An > errror occurred... Unspecified internal error #17999. I can't do > anything with that file. >> >> Mac OS X has a built-in compression tool. > Look in the File menu of the Finder. It contains a Compress menu item. > There is also Disk Utility, which lets you create very nice disk images. > In fact, I wonder if nowadays most Macs don't come without StuffIt. Many > people don't even know what a .sitx extension is. >> >> -- From admin at mfelkerco.com Wed Aug 10 18:28:30 2011 From: admin at mfelkerco.com (Admin) Date: Wed, 10 Aug 2011 17:28:30 -0500 Subject: Mac users, please try this out: In-Reply-To: References: <9502E398-ED9B-4924-BCB9-8F39F462141B@twft.com> <75D9D1E1-9C13-41C7-A003-43EE6AD19C0C@economy-x-talk.com> <289a7ed9bd3a462aa0deb8dab65add94@mfelkerco.com> Message-ID: <4436097cb05e6bac26a974b5174c2707@mfelkerco.com> Mark, I think you are right. Unfortunately, my php/mysql skills are not so good when it comes to marrying a web form to the database. My client's needs are too complex for me. I was hoping to do it with Live Code because I can program it. Mike On Thu, 11 Aug 2011 00:17:46 +0200, Mark Schonewille wrote: > Hi Mike, > > On Mac, you're not supposed to start an application automatically after downlaod. It is a security violation. On windows, you can do this, unfortunately. Your closest bet would be to create a disk image. You could even set the background of such an image to a picture wiith instructions about installing or starting the application. > > Is this application really just a registration window? Perhaps you should forget about LiveCode for once and make a simple website with a web form? > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com [1] > Twitter: http://twitter.com/xtalkprogrammer [2] > KvK: 50277553 > > What does that error mean? Buy LiveCodeErrors for iPhone now http://qery.us/v4 [3]A must-have for LiveCode programmers. > > On 11 aug 2011, at 00:04, Admin wrote: > >> Mark, And I just bought that damn program. I am trying to make it so that the files (there are 2 files and one executeable) decompress and run on download. How do I do this? I can send you the contents of both files if you can help me. Mike On Wed, 10 Aug 2011 23:58:27 +0200, Mark Schonewille wrote: >> >>> Hi Mike, I downloaded the file >> candidateswt_mac.sitx and StuffIt Expander shows an error message: An errror occurred... Unspecified internal error #17999. I can't do anything with that file. >> >>> Mac OS X has a built-in compression tool. >> Look in the File menu of the Finder. It contains a Compress menu item. There is also Disk Utility, which lets you create very nice disk images. In fact, I wonder if nowadays most Macs don't come without StuffIt. Many people don't even know what a .sitx extension is. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com [4] > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode [5] Links: ------ [1] http://economy-x-talk.com [2] http://twitter.com/xtalkprogrammer [3] http://qery.us/v4 [4] mailto:use-livecode at lists.runrev.com [5] http://lists.runrev.com/mailman/listinfo/use-livecode From m.schonewille at economy-x-talk.com Wed Aug 10 18:32:09 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 11 Aug 2011 00:32:09 +0200 Subject: Mac users, please try this out: In-Reply-To: <4436097cb05e6bac26a974b5174c2707@mfelkerco.com> References: <9502E398-ED9B-4924-BCB9-8F39F462141B@twft.com> <75D9D1E1-9C13-41C7-A003-43EE6AD19C0C@economy-x-talk.com> <289a7ed9bd3a462aa0deb8dab65add94@mfelkerco.com> <4436097cb05e6bac26a974b5174c2707@mfelkerco.com> Message-ID: <03BF6074-2C16-4188-A106-2BC44A1310D7@economy-x-talk.com> Hi Mike, Then contact me off-list and we'll see if we can work out something. It seems you have done the larger part of the work already, so I'm optimistic about making a web interface. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 What does that error mean? Buy LiveCodeErrors for iPhone now http://qery.us/v4 A must-have for LiveCode programmers. On 11 aug 2011, at 00:28, Admin wrote: > > > Mark, > > I think you are right. Unfortunately, my php/mysql skills > are not so good when it comes to marrying a web form to the database. > > > My client's needs are too complex for me. I was hoping to do it with > Live Code because I can program it. > > Mike > > On Thu, 11 Aug 2011 > 00:17:46 +0200, Mark Schonewille wrote: > >> Hi Mike, >> >> On Mac, you're > not supposed to start an application automatically after downlaod. It is > a security violation. On windows, you can do this, unfortunately. Your > closest bet would be to create a disk image. You could even set the > background of such an image to a picture wiith instructions about > installing or starting the application. >> >> Is this application really > just a registration window? Perhaps you should forget about LiveCode for > once and make a simple website with a web form? >> >> -- >> Best > regards, >> >> Mark Schonewille From pmbrig at gmail.com Wed Aug 10 18:43:30 2011 From: pmbrig at gmail.com (Peter M. Brigham, MD) Date: Wed, 10 Aug 2011 18:43:30 -0400 Subject: Stack Size Changes In-Reply-To: <2CC63931-DFE5-4D04-A4DE-E8A8D4819106@doctorTimothyMiller.com> References: <2CC63931-DFE5-4D04-A4DE-E8A8D4819106@doctorTimothyMiller.com> Message-ID: <206EA59A-7F22-4DC1-90EE-5508C599069D@gmail.com> FYI, on a mac, the the working screenrect gives you the screenrect minus the height of the mac menubar (22). Does this work for you? on preopenstack set the width of this stack to 612 set the height of this stack to 792 set the top of this stack to 110 -- or whatever end preopenstack When I am setting the stack height > the screenrect, so the bottom of the stack is scrolled below the bottom edge of the screen, I usually put a scrolling handler into the stack or card script: on rawkeydown what put the top of stack "myStack" into t if what = 65308 then -- scroll down set the top of stack "myStack" to t-12 else if what = 65309 then -- scroll up set the top of stack "myStack" to t+12 else pass rawkeydown end if end rawkeydown -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Aug 10, 2011, at 5:50 PM, Timothy Miller wrote: > Hi Malte and Bob, > > The windowBoundingRect is unfamiliar to me. This is probably the gap in my understanding I wanted to fill. I'm reading the dictionary, scratching my head. > > However, the arithmetic is not quite adding up. > > Visually, my stack fits on the screen. If I position it carefully by dragging, with the height set to 742, I can see a little bit of the desktop picture on all four sides. In this case, the rect of the stack is 10,51,1270, 793. I assumed that this would prevent resizing of the stack. It doesn't. > > My windowBounding rect is 0,50,1280,796. Presumably this is the default value. (The top margin seems bigger than it needs to be. The Mac OS menu bar appears to be 40 pixels high, not 50. But that's another matter.) > > If I'm not mistaken, the stack does lie within the windowBounding rect. > > FWIW, the screen rect is 0,0,1280,800 > > Setting the top of the stack to 51 before saving and closing, or in preOpenStack does not prevent the automatic chopping off of the stack when it opens. I tried setting the windowBoundingRect to 0,41,1280,796 to give the stack a little more room, but that didn't seem to make any difference. > > Am I not getting something? Or is LC misbehaving just a little? > > This is all academic. I can solve the problem by setting the height or the rect of the stack in preOpenStack. > > Thanks again. > > Tim > > > On Aug 10, 2011, at 1:56 PM, Malte Brill wrote: > >> Hi Tim, >> >> If the stack is taller (or wider) than governed by the windowBoundingRect, it will be automatically chopped off. I do not like it... Been that way for ever. :-( >> >> 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 jacque at hyperactivesw.com Wed Aug 10 18:44:11 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 10 Aug 2011 17:44:11 -0500 Subject: Scripts Externally Modified? In-Reply-To: References: Message-ID: <4E4309BB.7000103@hyperactivesw.com> On 8/10/11 5:13 PM, Pete wrote: > Every now and then when quitting LC, I get a message window with the above > heading with the text "The following objects were modified outside the > script editor, would you like to reload them" plus a field containing an > object name (the one I'm looking at right now is a card). I have no idea > what this means. I use only the built-in LC IDE script editor and I don;t > recall ever creating an object script by setting it in another script. > > Any clues as to what this is all about? I see it too, rarely, and I haven't figured out a recipe yet. But it's a glitch. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From admin at mfelkerco.com Wed Aug 10 18:44:25 2011 From: admin at mfelkerco.com (Admin) Date: Wed, 10 Aug 2011 17:44:25 -0500 Subject: groove blox - started already. Need help with arrays and snap to In-Reply-To: References: <9502E398-ED9B-4924-BCB9-8F39F462141B@twft.com> <75D9D1E1-9C13-41C7-A003-43EE6AD19C0C@economy-x-talk.com> <289a7ed9bd3a462aa0deb8dab65add94@mfelkerco.com> Message-ID: Dear All, I already got drag and drop sort of working - can drag a wave file to a rectangle and it retains the name of the file - so now I can play that file once it is dragged to the track view. I am not sure how to make an array - and I assume an array is what I need to keep track of multiple blocks (there are 4 categories of blocks - drum, arp, bass and fxfill) Also, how would I implement a 'snap to' interface? Mike From jperryl at ecs.fullerton.edu Wed Aug 10 19:09:02 2011 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Wed, 10 Aug 2011 16:09:02 -0700 (PDT) Subject: [OT] Internet Censorship In-Reply-To: <1312670384345-3724172.post@n4.nabble.com> References: <1312601118358-3722715.post@n4.nabble.com> <84D9DC0D-803A-4242-BD43-AB4F2EF0799B@tamu.edu> <1312670384345-3724172.post@n4.nabble.com> Message-ID: On Sat, 6 Aug 2011, Alejandro Tejada wrote: Notice, again, that Sony paid for these rights. If they want, they could forbid forever the public diffusion of any performance of these artists... Forever. No explanation necessary. It's their right. They paid for it. --Not quite, as two former members of Styx and the automobile manufacturer VW discovered when they wanted to use a portion of the "Mr. Roboto" song. Whoever owns the catalogue of *previously* recorded Styx works wanted too much money, so two of the principals of the band and the one member who holds the copyright to the song itself, despite loathing one another, got together for doubtless a nice chunk of change but much less than the label company wanted and re-recorded it for VW. But Bjoernke's right -- DMCA sucks. For heaven's sake, *Steamboat Willie* is still under copyright! Judy From jperryl at ecs.fullerton.edu Wed Aug 10 19:09:02 2011 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Wed, 10 Aug 2011 16:09:02 -0700 (PDT) Subject: [OT] Internet Censorship In-Reply-To: <1312670384345-3724172.post@n4.nabble.com> References: <1312601118358-3722715.post@n4.nabble.com> <84D9DC0D-803A-4242-BD43-AB4F2EF0799B@tamu.edu> <1312670384345-3724172.post@n4.nabble.com> Message-ID: On Sat, 6 Aug 2011, Alejandro Tejada wrote: Notice, again, that Sony paid for these rights. If they want, they could forbid forever the public diffusion of any performance of these artists... Forever. No explanation necessary. It's their right. They paid for it. --Not quite, as two former members of Styx and the automobile manufacturer VW discovered when they wanted to use a portion of the "Mr. Roboto" song. Whoever owns the catalogue of *previously* recorded Styx works wanted too much money, so two of the principals of the band and the one member who holds the copyright to the song itself, despite loathing one another, got together for doubtless a nice chunk of change but much less than the label company wanted and re-recorded it for VW. But Bjoernke's right -- DMCA sucks. For heaven's sake, *Steamboat Willie* is still under copyright! Judy From jperryl at ecs.fullerton.edu Wed Aug 10 19:39:01 2011 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Wed, 10 Aug 2011 16:39:01 -0700 (PDT) Subject: [OT] Internet Censorship In-Reply-To: <1312643273496-3723464.post@n4.nabble.com> References: <1312601118358-3722715.post@n4.nabble.com> <4E3CBC93.70300@tkf.att.ne.jp> <1312603769993-3722757.post@n4.nabble.com> <4E3CDCDC.3090806@tkf.att.ne.jp> <1312612753765-3722888.post@n4.nabble.com> <201108060651.59433.warren@warrensweb.us> <1312643273496-3723464.post@n4.nabble.com> Message-ID: Alejandro, Part of the problem, at least in the US, is that "fair use" is not a right; it's a defense, meaning you have to risk being sued to even mention it. A silly little video of mine was just taken down by EMI because I used a recording of O Fortuna. I suppose EMI could claim that, because people could consume the music via my silly video instead of just buying the tune for $0.99 like I did to make the video, despite owning it on vinyl, I really think that anyone who enjoyed the music would just spend the bloody dollar. EMI's issuing the take-down notice is not considered a legal document; however, if I contest it using the fair use doctrine, my defense IS and opens me up to being sued for a truly ridiculous amount of money. Here's a fun bit of reading: The EFF's white paper on the 10 unintended consequences of the DMCA: http://www.eff.org/files/DMCAUnintended10.pdf Judy On Sat, 6 Aug 2011, Alejandro Tejada wrote: > Hi warren, Actually, my dissapoint is with Sony Music Entertainment and their insensitive application of copyright law over fair use in this documental series Look, I am not the only one. From the brainpickins page that you linked: "Harmony continues here: 2, 4, 5. (Alas, Part 3 has been gobbled up by copyright claims ? even though the series is not available on DVD or in any purchasable format. Such is the disposition of copyright Nazis ? far from merely ensuring that creators are compensated for their work, they?d rather let a cultural artifact rot in obscurity than reach is wide-eyed audience.)" More info: http://fairuse.stanford.edu/Copyright_and_Fair_Use_Overview/chapter9/9-c.html Hopefully, in a future, Mr. Goodall will replace these specific parts of the series and publish the whole documentary in DVD, with subtitles and alternate languages, Al From jperryl at ecs.fullerton.edu Wed Aug 10 19:39:01 2011 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Wed, 10 Aug 2011 16:39:01 -0700 (PDT) Subject: [OT] Internet Censorship In-Reply-To: <1312643273496-3723464.post@n4.nabble.com> References: <1312601118358-3722715.post@n4.nabble.com> <4E3CBC93.70300@tkf.att.ne.jp> <1312603769993-3722757.post@n4.nabble.com> <4E3CDCDC.3090806@tkf.att.ne.jp> <1312612753765-3722888.post@n4.nabble.com> <201108060651.59433.warren@warrensweb.us> <1312643273496-3723464.post@n4.nabble.com> Message-ID: Alejandro, Part of the problem, at least in the US, is that "fair use" is not a right; it's a defense, meaning you have to risk being sued to even mention it. A silly little video of mine was just taken down by EMI because I used a recording of O Fortuna. I suppose EMI could claim that, because people could consume the music via my silly video instead of just buying the tune for $0.99 like I did to make the video, despite owning it on vinyl, I really think that anyone who enjoyed the music would just spend the bloody dollar. EMI's issuing the take-down notice is not considered a legal document; however, if I contest it using the fair use doctrine, my defense IS and opens me up to being sued for a truly ridiculous amount of money. Here's a fun bit of reading: The EFF's white paper on the 10 unintended consequences of the DMCA: http://www.eff.org/files/DMCAUnintended10.pdf Judy On Sat, 6 Aug 2011, Alejandro Tejada wrote: > Hi warren, Actually, my dissapoint is with Sony Music Entertainment and their insensitive application of copyright law over fair use in this documental series Look, I am not the only one. From the brainpickins page that you linked: "Harmony continues here: 2, 4, 5. (Alas, Part 3 has been gobbled up by copyright claims ? even though the series is not available on DVD or in any purchasable format. Such is the disposition of copyright Nazis ? far from merely ensuring that creators are compensated for their work, they?d rather let a cultural artifact rot in obscurity than reach is wide-eyed audience.)" More info: http://fairuse.stanford.edu/Copyright_and_Fair_Use_Overview/chapter9/9-c.html Hopefully, in a future, Mr. Goodall will replace these specific parts of the series and publish the whole documentary in DVD, with subtitles and alternate languages, Al From mwieder at ahsoftware.net Wed Aug 10 20:50:19 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 10 Aug 2011 17:50:19 -0700 Subject: More time travelling In-Reply-To: <4E42AD1F.9020109@hyperactivesw.com> References: <1021739775390.20110809223923@ahsoftware.net> <4E42AD1F.9020109@hyperactivesw.com> Message-ID: <1921808831343.20110810175019@ahsoftware.net> Jacque- Wednesday, August 10, 2011, 9:09:03 AM, you wrote: > On 8/10/11 12:39 AM, Mark Wieder wrote: >> Looks like Jacque's not the only time traveller around... >> >> http://www.pcmag.com/article2/0,2817,2390671,00.asp >> > At first I thought this was just an amateur tinkering with a clock. But > when I met her 40 years from now, I see she may be on to something. I think she's just the sort of inventive user we need more of - someone who is clever, likes to tinker with things, shares her results with the community, is responsible about reporting flaws, plays well with others... I say we should gift her a personal license and get her off to a good start with LiveCode. She's probably got a thing or three to teach me about better ways of doing things. -- -Mark Wieder mwieder at ahsoftware.net From support at ahsomme.com Wed Aug 10 23:48:02 2011 From: support at ahsomme.com (Paul Looney) Date: Wed, 10 Aug 2011 20:48:02 -0700 Subject: Stack Size Changes In-Reply-To: References: Message-ID: Tim, Are you using OS X? Two things on OS X can cause vertical resizing problems: 1. The dock If the dock is on the bottom of the screen (even if it is hidden) stacks can be shortened to accommodate area for the dock. Try it on the side and see if that makes a difference. 2. Menus All usually goes well if menus are created on the first card of a one- card stack. Adding menus after cards have been added to a stack can cause dramatic resizing of the stack as one moves from card to card. Paul Looney On Aug 10, 2011, at 1:29 PM, Timothy Miller wrote: > My query from earlier this morning is generating a non-flurry of > replies, likely because no one knows the answer. > > I have solved the problem with a simple preOpenStack handler, which > works fine. However, I feel this issue must represent a gap in my > knowledge, which I would like to close. > > Further investigation: > > On suspendStack > answer the height of this stack > pass suspendStack > end suspendStack > > The height is 742 > > Same for on closeStack -- last instruction before stack closes -- > the height is 742 > > On preOpenStack > answer the height of this stack -- first instruction, before doing > anything else > pass preOpenStack > end preOpenStack > > The height is 712 on some occasions. On other occasions it might be > 692 or 696, and so on. > > The width does not change. > > Is this a possible bug? Is this a feature I don't know about? > > It's on a laptop, but the rect of the stack is smaller than the > screenRect. > > > Cheers, > > > Tim > > On Aug 10, 2011, at 7:57 AM, Timothy Miller wrote: > >> So, heerza deal, >> >> One stack, several cards, two groups on each card, groups behave >> as backgrounds. Top of one group is 1, bottom is 199. Top of >> second group is 200, bottom is 740. This group has a vertical >> scroll bar. >> >> "Resizable" for the stack is turned off. "Lock size and position" >> is on, for both groups. >> >> I set the height of the stack to 742. Save. Close the stack. Open >> it. The height is now less than 742. Sometimes it's 712. Sometimes >> it's 692, or 696, or possibly other values. >> >> There are no scripts that alter card size, group size or stack size. >> >> Repeat. Same thing. The change of height is inconsistent, even if >> I do nothing to the stack except open, change the height, and close. >> >> When the stack size gets smaller, I can't scroll to the bottom of >> the lower group, and the arrows at the bottom of the scroll bar >> get cut off. >> >> I noticed this issue a few weeks ago, on the same stack. Then it >> stopped happening. >> >> Now it's doing it again. >> >> I looked at the message watcher when closing the stack. Didn't >> understand everything I saw, but nothing surprising. >> >> Wazzup? >> >> I guess I could fix this with a script on openStack or >> preOpenStack, but I want to understand why it happens. >> >> Thanks in advance. >> >> Tim > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From gandalf at doctorTimothyMiller.com Thu Aug 11 01:30:00 2011 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Wed, 10 Aug 2011 22:30:00 -0700 Subject: Stack Size Changes In-Reply-To: References: Message-ID: <8B05B9EE-6764-407F-8396-1B0CDE553C3F@doctorTimothyMiller.com> Hi Paul, I'm on OS 10.6.8 I'll bet it's the dock. Wait. I'll try it right now... Oopsie! Same issue with the dock on the left. For now, this behavior is replicable. Trial and error: If I set the height to 717, close and reopen, it stays at 717. Same for 718. If I set it to 719, close and re-open, it re-opens with a new height of 716. Any height greater than 718 resets the stack height to 716, unless I prevent it by script. At other times, it has cropped itself to 692, 693, and 696. This morning it was cropping itself to 712. I tried various values for the top of the stack. For now, the behavior is the same whether the top of the stack is 21, 51 or 71, so the windowBoundingRect may not be a factor. Repeating information posted earlier: The screenrect is 0,0,1280,800, The windowBoundingRect is 4,50,1280,800, presumably the default value The desired rect of the stack is 10,51,1270,793. That's a height of 42. If I set the rect of the stack to that value by script, it seems to work normally. I haven't added or altered any menus. Maybe this is a little bug? Cheers, Tim On Aug 10, 2011, at 8:48 PM, Paul Looney wrote: > Tim, > Are you using OS X? > Two things on OS X can cause vertical resizing problems: > 1. The dock > If the dock is on the bottom of the screen (even if it is hidden) stacks can be shortened to accommodate area for the dock. Try it on the side and see if that makes a difference. > 2. Menus > > Paul Looney > > On Aug 10, 2011, at 1:29 PM, Timothy Miller wrote: > >> >> On suspendStack >> answer the height of this stack >> pass suspendStack >> end suspendStack >> >> The height is 742 >> >> Same for on closeStack -- last instruction before stack closes -- the height is 742 >> >> On preOpenStack >> answer the height of this stack -- first instruction, before doing anything else >> pass preOpenStack >> end preOpenStack >> >> The height is 712 on some occasions. On other occasions it might be 692 or 696, and so on. >> >> The width does not change. >> >> Is this a possible bug? Is this a feature I don't know about? >> >> It's on a laptop, but the rect of the stack is smaller than the screenRect. >> >> >>> On Aug 10, 2011, at 7:57 AM, Timothy Miller wrote: >>> So, heerza deal, >>> >>> One stack, several cards, two groups on each card, groups behave as backgrounds. Top of one group is 1, bottom is 199. Top of second group is 200, bottom is 740. This group has a vertical scroll bar. >>> >>> "Resizable" for the stack is turned off. "Lock size and position" is on, for both groups. >>> >>> I set the height of the stack to 742. Save. Close the stack. Open it. The height is now less than 742. Sometimes it's 712. Sometimes it's 692, or 696, or possibly other values. >>> >>> There are no scripts that alter card size, group size or stack size. >>> >>> Repeat. Same thing. The change of height is inconsistent, even if I do nothing to the stack except open, change the height, and close. >>> >>> When the stack size gets smaller, I can't scroll to the bottom of the lower group, and the arrows at the bottom of the scroll bar get cut off. >>> >>> I noticed this issue a few weeks ago, on the same stack. Then it stopped happening. >>> >>> Now it's doing it again. >>> >>> I looked at the message watcher when closing the stack. Didn't understand everything I saw, but nothing surprising. >>> From scott at tactilemedia.com Thu Aug 11 01:42:39 2011 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 10 Aug 2011 22:42:39 -0700 Subject: Adding tracks In-Reply-To: <24f3f606eb135a9e35384d68733bd137@mfelkerco.com> Message-ID: That's a lot of questions you have there. The general opinion I'll toss out is on the issue of managing tracks, since this seems to be the core of your application. IMO, you'll be hard pressed to do what you describe using native capabilities of LiveCode -- it's not really suited to playing tracks back-to-back seamlessly, nor playing loops seamlessly. Synching multiple channels is not easy. One thing you might try is looking at an external called Franklin Audio (http://www.franklin3d.com/products/franklin-audio). It provides a bunch of audio capabilities beyond the stock offerings of LiveCode. It also doesn't rely on QuickTime, which could be helpful. I haven't used it myself to produce the types of things you're after, but you may have a better chance using that package. If you *DO* decide to tackle sequence playback natively in LiveCode, I'd suggest using imported WAV files. In my experience, using a player object (or multiple player objects) simply cannot accomplish the results above. But even then, your playback options are limited, so the external is probably your best bet at this point. Good luck. Regards, Scott Rossi Creative Director Tactile Media, UX Design Recently, Admin wrote: > Now for a hard one. > > I am writing a program called GrooveBlox. I > created a menu and have a Track menu - where the user can add and delete > tracks, like a sequencer program. Tracks are like layers and will be > able to be moved around, added to, etc. > > The idea is to have rectangles > (colored) that represent grooves. I want the user to be able to drag and > drop the groove rectangles onto a track (they will SNAP in place) and > build all kinds of grooves. I need to write our the flow diagram still, > but I want to get started on it. > > The audio files are wave files and > more than enough are done to create a product. > > Here is my question > list (it will grow): > > How will I create the tracks - are they groups or > are they substacks? > How to add tracks to the main stack (track > holder)? > How to make the tracks SNAP into place, one beneath the > other? > How to move the various tracks above or below each other and > therefore adjust the layers? > How to scroll the track holder once there > are too many tracks to fit on one screen? > How to drag and drop the > colored rectangles onto the tracks using SNAP (very important since the > grooves are an exact size and loop precisely)? > How to add the > rectangles to the holding bin? > How to assign the wave file to the > colored rectangle? > How to play all the tracks in sync with one > another? > How to adjust the panning with the panning slider? > How to > adjust the volume with the volume slider? > How to create a looping > function so you can hear the groove play over and over, and > add/subtract/edit tracks while it is playing in sync? > How to write a > final wave file mixing all the tracks together. > Is this the kind of > program that requires a client-side database to keep things remembered? > > > Anyone's help is appreciated. > > 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 gandalf at DOCTORTIMOTHYMILLER.COM Thu Aug 11 01:45:28 2011 From: gandalf at DOCTORTIMOTHYMILLER.COM (Timothy Miller) Date: Wed, 10 Aug 2011 22:45:28 -0700 Subject: Stack Size Changes In-Reply-To: References: Message-ID: <7B12912B-3B41-4E3E-B26E-772E9CDD97FD@DOCTORTIMOTHYMILLER.COM> A followup to my message on same thread, posted a few minutes ago, in reply to Paul. Further investigation reveals this anomaly: If I make the stack height a little too big, so the stack crops itself when it opens, and I then click on the little glowing green button at the upper left of the LC window (the one that gets a plus sign on rollover -- I can never remember the correct name for it), the whole LC window goes blank except for the borders and menu bar. Clicking on the same green button again does not restore the window. If I send the window to the dock with the amber button, then bring it back (by clicking it in the dock) the window is restored. I further note that sometimes it takes two or three clicks on the little green plus button to make the LC window go blank. The LC window does not go blank this way if I set the rect of the stack in the preOpenStack handler. Does this behavior have some specific meaning? Sorry to make this so complicated. Tim From admin at mfelkerco.com Thu Aug 11 02:20:26 2011 From: admin at mfelkerco.com (Admin) Date: Thu, 11 Aug 2011 01:20:26 -0500 Subject: Adding tracks In-Reply-To: References: Message-ID: <92306461b81b53ae2c3dced2b4a9d784@mfelkerco.com> Scott, I am using wave files. I have been looking at franklin audio (since I already have franklin 3d) However, how would I handle tracks? Mike On Wed, 10 Aug 2011 22:42:39 -0700, Scott Rossi wrote: > That's a lot of questions you have there. > > The general opinion I'll toss out is on the issue of managing tracks, since > this seems to be the core of your application. IMO, you'll be hard pressed > to do what you describe using native capabilities of LiveCode -- it's not > really suited to playing tracks back-to-back seamlessly, nor playing loops > seamlessly. Synching multiple channels is not easy. > > One thing you might try is looking at an external called Franklin Audio > (http://www.franklin3d.com/products/franklin-audio [3]). It provides a bunch of > audio capabilities beyond the stock offerings of LiveCode. It also doesn't > rely on QuickTime, which could be helpful. I haven't used it myself to > produce the types of things you're after, but you may have a better chance > using that package. > > If you *DO* decide to tackle sequence playback natively in LiveCode, I'd > suggest using imported WAV files. In my experience, using a player object > (or multiple player objects) simply cannot accomplish the results above. But > even then, your playback options are limited, so the external is probably > your best bet at this point. > > Good luck. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > > Recently, Admin wrote: > >> Now for a hard one. I am writing a program called GrooveBlox. I created a menu and have a Track menu - where the user can add and delete tracks, like a sequencer program. Tracks are like layers and will be able to be moved around, added to, etc. The idea is to have rectangles (colored) that represent grooves. I want the user to be able to drag and drop the groove rectangles onto a track (they will SNAP in place) and build all kinds of grooves. I need to write our the flow diagram still, but I want to get started on it. The audio files are wave files and more than enough are done to create a product. Here is my question list (it will grow): How will I create the tracks - are they groups or are they substacks? How to add tracks to the main stack (track holder)? How to make the tracks SNAP into place, one beneath the other? How to move the various tracks above or below each other and therefore adjust the layers? How to scroll the track holder once there are too many tracks to fit on one screen? How to drag and drop the colored rectangles onto the tracks using SNAP (very important since the grooves are an exact size and loop precisely)? How to add the rectangles to the holding bin? How to assign the wave file to the colored rectangle? How to play all the tracks in sync with one another? How to adjust the panning with the panning slider? How to adjust the volume with the volume slider? How to create a looping function so you can hear the groove play over and over, and add/subtract/edit tracks while it is playing in sync? How to write a final wave file mixing all the tracks together. Is this the kind of program that requires a client-side database to keep things remembered? Anyone's help is appreciated. Mike _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com [1] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode [2] > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com [4] > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode [5] Links: ------ [1] mailto:use-livecode at lists.runrev.com [2] http://lists.runrev.com/mailman/listinfo/use-livecode [3] http://www.franklin3d.com/products/franklin-audio [4] mailto:use-livecode at lists.runrev.com [5] http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Thu Aug 11 03:17:45 2011 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Thu, 11 Aug 2011 10:17:45 +0300 Subject: [OT] Internet Censorship In-Reply-To: References: <1312601118358-3722715.post@n4.nabble.com> <4E3CBC93.70300@tkf.att.ne.jp> <1312603769993-3722757.post@n4.nabble.com> <4E3CDCDC.3090806@tkf.att.ne.jp> <1312612753765-3722888.post@n4.nabble.com> <201108060651.59433.warren@warrensweb.us> <1312643273496-3723464.post@n4.nabble.com> Message-ID: <4E438219.5020407@gmail.com> This whole thing seems laughable: When I was 13 my Mum and Dad bought me a radio-cassette recorder, and I merrily recorded all the songs on the radio that I liked, and recorded quite a few songs from gramophone records that belonged to friends of mine who could afford that sort of thing. At no time (1975-6-7-8) did ANYBODY tell that I was breaking the law, or, even, being "naughty". I, later, bought half a dozen of the records I had previously taped, so that I could pose to my "friends" with the record covers. Presumably, all across Britain (at least) teenagers were doing this all the time. How odd that it never seemed an issue. Rod Stewart still made millions, as did Kate Bush, Devo and Kraftwerk . . . I CAN understand that copying music and subsequently making money out of it is a bit infra dig. What a load of codswallop! From gwolfgang at gaich.de Thu Aug 11 03:44:12 2011 From: gwolfgang at gaich.de (G. Wolfgang Gaich) Date: Thu, 11 Aug 2011 09:44:12 +0200 Subject: German revolutionboard? In-Reply-To: <206EA59A-7F22-4DC1-90EE-5508C599069D@gmail.com> References: <2CC63931-DFE5-4D04-A4DE-E8A8D4819106@doctorTimothyMiller.com> <206EA59A-7F22-4DC1-90EE-5508C599069D@gmail.com> Message-ID: <4E43884C.5060106@gaich.de> Hello german livecoder, today I tried to go to revolutionboard.de. I got this: "Forbidden You don't have permission to access / on this server." Revolutionboard doesn't exist anymore? Best regards Wolfgang From m.schonewille at economy-x-talk.com Thu Aug 11 04:34:07 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 11 Aug 2011 10:34:07 +0200 Subject: German revolutionboard? In-Reply-To: <4E43884C.5060106@gaich.de> References: <2CC63931-DFE5-4D04-A4DE-E8A8D4819106@doctorTimothyMiller.com> <206EA59A-7F22-4DC1-90EE-5508C599069D@gmail.com> <4E43884C.5060106@gaich.de> Message-ID: <25734370-26B6-4615-9744-DC9DF982D31A@economy-x-talk.com> Hi Wolfgang, I will install a new board and will announce it on this list. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 What does that error mean? Buy LiveCodeErrors for iPhone now http://qery.us/v4 A must-have for LiveCode programmers. On 11 aug 2011, at 09:44, G. Wolfgang Gaich wrote: > Hello german livecoder, > > today I tried to go to revolutionboard.de. > I got this: > > > "Forbidden > > You don't have permission to access / on this server." > > Revolutionboard doesn't exist anymore? > > Best regards > Wolfgang From gwolfgang at gaich.de Thu Aug 11 05:24:51 2011 From: gwolfgang at gaich.de (G. Wolfgang Gaich) Date: Thu, 11 Aug 2011 11:24:51 +0200 Subject: German revolutionboard? In-Reply-To: <25734370-26B6-4615-9744-DC9DF982D31A@economy-x-talk.com> References: <2CC63931-DFE5-4D04-A4DE-E8A8D4819106@doctorTimothyMiller.com> <206EA59A-7F22-4DC1-90EE-5508C599069D@gmail.com> <4E43884C.5060106@gaich.de> <25734370-26B6-4615-9744-DC9DF982D31A@economy-x-talk.com> Message-ID: <4E439FE3.2020301@gaich.de> Hello Mark, thanks for the info. If you need help, webspace, suggestions contact me offline. I guess it could be important to push the communication in a german livecode community. Best regards Wolfgang Am 11.08.2011 10:34, schrieb Mark Schonewille: > Hi Wolfgang, > > I will install a new board and will announce it on this list. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > What does that error mean? Buy LiveCodeErrors for iPhone now http://qery.us/v4 A must-have for LiveCode programmers. > > On 11 aug 2011, at 09:44, G. Wolfgang Gaich wrote: > >> Hello german livecoder, >> >> today I tried to go to revolutionboard.de. >> I got this: >> >> >> "Forbidden >> >> You don't have permission to access / on this server." >> >> Revolutionboard doesn't exist anymore? >> >> Best regards >> Wolfgang > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode * Englisch - erkannt * Englisch * Deutsch * Englisch * Deutsch From gwolfgang at gaich.de Thu Aug 11 06:06:11 2011 From: gwolfgang at gaich.de (G. Wolfgang Gaich) Date: Thu, 11 Aug 2011 12:06:11 +0200 Subject: Legacy Drivers - Documentation? In-Reply-To: <25734370-26B6-4615-9744-DC9DF982D31A@economy-x-talk.com> References: <2CC63931-DFE5-4D04-A4DE-E8A8D4819106@doctorTimothyMiller.com> <206EA59A-7F22-4DC1-90EE-5508C599069D@gmail.com> <4E43884C.5060106@gaich.de> <25734370-26B6-4615-9744-DC9DF982D31A@economy-x-talk.com> Message-ID: <4E43A993.6020005@gaich.de> Hello, in the livecode ide preferences/Compatibility there is an option to Use Legacy Drivers. Is there any detailed documentation, when to use the Legacy Drivers and when it is not necessary. I detected some anomalies using odbc with MS SQL Server and Ingres. Any information would be appreciated. Best regards Wolfgang From toolbook at kestner.de Thu Aug 11 06:54:37 2011 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Thu, 11 Aug 2011 12:54:37 +0200 Subject: how can I wait for revCopyFolder execution? Message-ID: <003901cc5815$15813ad0$4083b070$@de> Hello, I want to copy a big folder by script and wait for the result to prompt an appropriate message. But after fireing revCopyFolder my script runs on without waiting for the execution of revCopyFolder. Is this a normal behavior? Anything I can do to wait for the finish? Thanks Tiemo From m.schonewille at economy-x-talk.com Thu Aug 11 07:10:38 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 11 Aug 2011 13:10:38 +0200 Subject: how can I wait for revCopyFolder execution? In-Reply-To: <003901cc5815$15813ad0$4083b070$@de> References: <003901cc5815$15813ad0$4083b070$@de> Message-ID: Tiemo, Here's a sample AppleScript. try tell application "Finder" set myFile to POSIX file "~/desktop/file.txt" set myNewFile to POSIX file "~/desktop/file2.txt" copy myFile to myNewFile end tell on error myErr number myNr set myScript to "answer error \"A problem occurred (" & myErr & ")\"" tell application "LiveCode 4.6.1" to do script myScript end 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 What does that error mean? Buy LiveCodeErrors for iPhone now http://qery.us/v4 A must-have for LiveCode programmers. On 11 aug 2011, at 12:54, Tiemo Hollmann TB wrote: > Hello, > > I want to copy a big folder by script and wait for the result to prompt an > appropriate message. > > But after fireing revCopyFolder my script runs on without waiting for the > execution of revCopyFolder. > > Is this a normal behavior? Anything I can do to wait for the finish? > > Thanks > > Tiemo > From roger.e.eller at sealedair.com Thu Aug 11 07:29:25 2011 From: roger.e.eller at sealedair.com (Roger Eller) Date: Thu, 11 Aug 2011 07:29:25 -0400 Subject: [OT] Internet Censorship In-Reply-To: <4E438219.5020407@gmail.com> References: <1312601118358-3722715.post@n4.nabble.com> <4E3CBC93.70300@tkf.att.ne.jp> <1312603769993-3722757.post@n4.nabble.com> <4E3CDCDC.3090806@tkf.att.ne.jp> <1312612753765-3722888.post@n4.nabble.com> <201108060651.59433.warren@warrensweb.us> <1312643273496-3723464.post@n4.nabble.com> <4E438219.5020407@gmail.com> Message-ID: On Thu, Aug 11, 2011 at 3:17 AM, Richmond Mathewson wrote: > This whole thing seems laughable: > > When I was 13 my Mum and Dad bought me a radio-cassette recorder, and > I merrily recorded all the songs on the radio that I liked, and recorded > quite a few songs from gramophone records that belonged to friends of mine > who could afford that sort of thing. > > At no time (1975-6-7-8) did ANYBODY tell that I was breaking the law, or, > even, being "naughty". > > I, later, bought half a dozen of the records I had previously taped, so > that I could pose to my "friends" with the record covers. > > Presumably, all across Britain (at least) teenagers were doing this all the > time. How > odd that it never seemed an issue. > > Rod Stewart still made millions, as did Kate Bush, Devo and Kraftwerk . . . > > I CAN understand that copying music and subsequently making money out of it > is a bit infra dig. > > What a load of codswallop! > That is a similar story to mine, and many other kids of the 70's. If the music was something I truly loved, then I would buy the record, tape, CD, etc., but if it was just "OK", a recording made from the radio was just fine. Nowadays, everybody's an "artist", whether they can sing or not. It is assumed, and even expected that people pay for noise. The market should be driven by the quality of the work. If it's good, DMCA or no DMCA, the artist will STILL become rich and famous. ?Roger From toolbook at kestner.de Thu Aug 11 08:00:46 2011 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Thu, 11 Aug 2011 14:00:46 +0200 Subject: AW: how can I wait for revCopyFolder execution? In-Reply-To: References: <003901cc5815$15813ad0$4083b070$@de> Message-ID: <004401cc581e$52fda700$f8f8f500$@de> Hi Mark, thanks for your quick answer, I will give it a try. Because you have another approach I assume that it is a standard behavior with rev commands, that they don't wait? Up to know I presumed that every command is waiting up to it's end of execution. Are there more commands, which are not waiting? Thanks Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode-bounces at lists.runrev.com [mailto:use-livecode- > bounces at lists.runrev.com] Im Auftrag von Mark Schonewille > Gesendet: Donnerstag, 11. August 2011 13:11 > An: How to use LiveCode > Betreff: Re: how can I wait for revCopyFolder execution? > > Tiemo, > > Here's a sample AppleScript. > > try > tell application "Finder" > set myFile to POSIX file "~/desktop/file.txt" > set myNewFile to POSIX file "~/desktop/file2.txt" > copy myFile to myNewFile > end tell > on error myErr number myNr > set myScript to "answer error \"A problem occurred (" & myErr & ")\"" > tell application "LiveCode 4.6.1" to do script myScript > end 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 > > What does that error mean? Buy LiveCodeErrors for iPhone now http://qery.us/v4 > A must-have for LiveCode programmers. > > On 11 aug 2011, at 12:54, Tiemo Hollmann TB wrote: > > > Hello, > > > > I want to copy a big folder by script and wait for the result to prompt an > > appropriate message. > > > > But after fireing revCopyFolder my script runs on without waiting for the > > execution of revCopyFolder. > > > > Is this a normal behavior? Anything I can do to wait for the finish? > > > > Thanks > > > > 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 gwolfgang at gaich.de Thu Aug 11 08:07:59 2011 From: gwolfgang at gaich.de (G. Wolfgang Gaich) Date: Thu, 11 Aug 2011 14:07:59 +0200 Subject: how can I wait for revCopyFolder execution? In-Reply-To: <004401cc581e$52fda700$f8f8f500$@de> References: <003901cc5815$15813ad0$4083b070$@de> <004401cc581e$52fda700$f8f8f500$@de> Message-ID: <4E43C61F.5010406@gaich.de> Hello Tiemo from my experiences I can say that revcopyfolder is a blocking command. If I have in a script: revcopyfolder "myFolder","myCopyFolder" answer the result then the dialog pops up when the copy-process has ended I'm on Windows 7, may be on Mac it is not blocking (Can't test that) Best regards Wolfgang Am 11.08.2011 14:00, schrieb Tiemo Hollmann TB: > Hi Mark, > thanks for your quick answer, I will give it a try. > > Because you have another approach I assume that it is a standard behavior > with rev commands, that they don't wait? > Up to know I presumed that every command is waiting up to it's end of > execution. Are there more commands, which are not waiting? > > Thanks > Tiemo > >> -----Urspr?ngliche Nachricht----- >> Von: use-livecode-bounces at lists.runrev.com [mailto:use-livecode- >> bounces at lists.runrev.com] Im Auftrag von Mark Schonewille >> Gesendet: Donnerstag, 11. August 2011 13:11 >> An: How to use LiveCode >> Betreff: Re: how can I wait for revCopyFolder execution? >> >> Tiemo, >> >> Here's a sample AppleScript. >> >> try >> tell application "Finder" >> set myFile to POSIX file "~/desktop/file.txt" >> set myNewFile to POSIX file "~/desktop/file2.txt" >> copy myFile to myNewFile >> end tell >> on error myErr number myNr >> set myScript to "answer error \"A problem occurred ("& myErr& > ")\"" >> tell application "LiveCode 4.6.1" to do script myScript >> end 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 >> >> What does that error mean? Buy LiveCodeErrors for iPhone now > http://qery.us/v4 >> A must-have for LiveCode programmers. >> >> On 11 aug 2011, at 12:54, Tiemo Hollmann TB wrote: >> >>> Hello, >>> >>> I want to copy a big folder by script and wait for the result to prompt > an >>> appropriate message. >>> >>> But after fireing revCopyFolder my script runs on without waiting for > the >>> execution of revCopyFolder. >>> >>> Is this a normal behavior? Anything I can do to wait for the finish? >>> >>> Thanks >>> >>> 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 > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode * Deutsch - erkannt * Englisch * Deutsch * Englisch * Deutsch From m.schonewille at economy-x-talk.com Thu Aug 11 08:15:02 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 11 Aug 2011 14:15:02 +0200 Subject: AW: how can I wait for revCopyFolder execution? In-Reply-To: <004401cc581e$52fda700$f8f8f500$@de> References: <003901cc5815$15813ad0$4083b070$@de> <004401cc581e$52fda700$f8f8f500$@de> Message-ID: Hi Tiemo, Actually, LiveCode waits until the AppleScript returns a value, indicating successful compilation or failure, but it returns this value before the copying has finished. So, it is a combination of AppleScript returning a value early and LiveCode not reading additional results from AppleScript. It is possible to return a value from AppleScript to LiveCode: -- cScript custom prop set x to 1+1 return x --inside LiveCode: put the cScript of me into myScript do myScript as AppleScript put the result You could try to return the message instead of running a LiveCode script inside AppleScript and see whether AppleScript waits for the copying to finish until it returns that value. The script would look like this (pseudocode): try copy on error return value end try return different value Other commands that don't wait are open process and IIRC the popup command. I'm sure there are a few more but I don't know the entire list by heart. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 What does that error mean? Buy LiveCodeErrors for iPhone now http://qery.us/v4 A must-have for LiveCode programmers. On 11 aug 2011, at 14:00, Tiemo Hollmann TB wrote: > Hi Mark, > thanks for your quick answer, I will give it a try. > > Because you have another approach I assume that it is a standard behavior > with rev commands, that they don't wait? > Up to know I presumed that every command is waiting up to it's end of > execution. Are there more commands, which are not waiting? > > Thanks > Tiemo From toolbook at kestner.de Thu Aug 11 08:34:04 2011 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Thu, 11 Aug 2011 14:34:04 +0200 Subject: AW: AW: how can I wait for revCopyFolder execution? In-Reply-To: References: <003901cc5815$15813ad0$4083b070$@de> <004401cc581e$52fda700$f8f8f500$@de> Message-ID: <006e01cc5822$f8e39ae0$eaaad0a0$@de> Thanks Mark, I will give it a try. @Wolfgang, perhaps the issue, why revCopyFolder didn't waited in my case (Mac) is the duration. The copying in my my case lasts about 10 min (8GB). Perhaps applescript (which is probably wrapped by the rev command) returns the result already after a certain amount of time, as Mark says. Who knows, programming sometimes is a myst. Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode-bounces at lists.runrev.com [mailto:use-livecode- > bounces at lists.runrev.com] Im Auftrag von Mark Schonewille > Gesendet: Donnerstag, 11. August 2011 14:15 > An: How to use LiveCode > Betreff: Re: AW: how can I wait for revCopyFolder execution? > > Hi Tiemo, > > Actually, LiveCode waits until the AppleScript returns a value, indicating > successful compilation or failure, but it returns this value before the > copying has finished. So, it is a combination of AppleScript returning a value > early and LiveCode not reading additional results from AppleScript. > > It is possible to return a value from AppleScript to LiveCode: > > -- cScript custom prop > set x to 1+1 > return x > > --inside LiveCode: > put the cScript of me into myScript > do myScript as AppleScript > put the result > > You could try to return the message instead of running a LiveCode script > inside AppleScript and see whether AppleScript waits for the copying to finish > until it returns that value. The script would look like this (pseudocode): > > try > copy > on error > return value > end try > return different value > > Other commands that don't wait are open process and IIRC the popup command. > I'm sure there are a few more but I don't know the entire list by heart. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > What does that error mean? Buy LiveCodeErrors for iPhone now http://qery.us/v4 > A must-have for LiveCode programmers. > > On 11 aug 2011, at 14:00, Tiemo Hollmann TB wrote: > > > Hi Mark, > > thanks for your quick answer, I will give it a try. > > > > Because you have another approach I assume that it is a standard behavior > > with rev commands, that they don't wait? > > Up to know I presumed that every command is waiting up to it's end of > > execution. Are there more commands, which are not waiting? > > > > Thanks > > 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 richmondmathewson at gmail.com Thu Aug 11 09:32:51 2011 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Thu, 11 Aug 2011 16:32:51 +0300 Subject: [OT] Blasted Flash Message-ID: <4E43DA03.7000503@gmail.com> Well, I for one (along with Saint Steve) would be glad to see the back of Flash. Looking at this page: http://www.bbc.co.uk/news/entertainment-arts-14475250 Firefox 6, Ubuntu 11.04 I get this message:/ /"Cannot play media.You do not have the correct version of the flash player. Download the correct version" So, on trying to download "the correct version" I am informed that it is already installed. So, who's telling "porkies"; especially as other websites, such as YouTube, play Flash movies without a hitch? Tried de-installing and then installing . . . no dice; and no movie either . . . mind you it is the BBC. Might be something to do with the title of the page: "Talking apes in Hollywood"; as if that is anything new . . . Sylvester Stallone springs to mind for some odd reason./ / From warren at warrensweb.us Thu Aug 11 09:40:57 2011 From: warren at warrensweb.us (Warren Samples) Date: Thu, 11 Aug 2011 08:40:57 -0500 Subject: [OT] Blasted Flash In-Reply-To: <4E43DA03.7000503@gmail.com> References: <4E43DA03.7000503@gmail.com> Message-ID: <201108110840.57477.warren@warrensweb.us> On Thursday, August 11, 2011 08:32:51 AM Richmond Mathewson wrote: > http://www.bbc.co.uk/news/entertainment-arts-14475250 > > Firefox 6, Ubuntu 11.04 No probs here in Opera on openSUSE From coiin at verizon.net Thu Aug 11 09:53:34 2011 From: coiin at verizon.net (Colin Holgate) Date: Thu, 11 Aug 2011 09:53:34 -0400 Subject: [OT] Blasted Flash In-Reply-To: <4E43DA03.7000503@gmail.com> References: <4E43DA03.7000503@gmail.com> Message-ID: <3DBE4835-F980-488A-9744-40F202755D17@verizon.net> Strange version problems could come up with any technology. It actually makes a nice change that a BBC clip is viewable in the US! For what it's worth, it's a 3 min 52 sec review of the new planet of the apes film, and I stopped it soon because it gives away too many plot details. From gwolfgang at gaich.de Thu Aug 11 10:05:40 2011 From: gwolfgang at gaich.de (G. Wolfgang Gaich) Date: Thu, 11 Aug 2011 16:05:40 +0200 Subject: how can I wait for revCopyFolder execution? In-Reply-To: <006e01cc5822$f8e39ae0$eaaad0a0$@de> References: <003901cc5815$15813ad0$4083b070$@de> <004401cc581e$52fda700$f8f8f500$@de> <006e01cc5822$f8e39ae0$eaaad0a0$@de> Message-ID: <4E43E1B4.6040206@gaich.de> Hello Tiemo, my test was with a 26GB folder with many, many subfolders. it took 24 minutes and the script was hold until all folders and files were copied. Best Wolfgang Am 11.08.2011 14:34, schrieb Tiemo Hollmann TB: > Thanks Mark, I will give it a try. > @Wolfgang, perhaps the issue, why revCopyFolder didn't waited in my case > (Mac) is the duration. The copying in my my case lasts about 10 min (8GB). > Perhaps applescript (which is probably wrapped by the rev command) returns > the result already after a certain amount of time, as Mark says. Who knows, > programming sometimes is a myst. > Tiemo > >> -----Urspr?ngliche Nachricht----- >> Von: use-livecode-bounces at lists.runrev.com [mailto:use-livecode- >> bounces at lists.runrev.com] Im Auftrag von Mark Schonewille >> Gesendet: Donnerstag, 11. August 2011 14:15 >> An: How to use LiveCode >> Betreff: Re: AW: how can I wait for revCopyFolder execution? >> >> Hi Tiemo, >> >> Actually, LiveCode waits until the AppleScript returns a value, indicating >> successful compilation or failure, but it returns this value before the >> copying has finished. So, it is a combination of AppleScript returning a > value >> early and LiveCode not reading additional results from AppleScript. >> >> It is possible to return a value from AppleScript to LiveCode: >> >> -- cScript custom prop >> set x to 1+1 >> return x >> >> --inside LiveCode: >> put the cScript of me into myScript >> do myScript as AppleScript >> put the result >> >> You could try to return the message instead of running a LiveCode script >> inside AppleScript and see whether AppleScript waits for the copying to > finish >> until it returns that value. The script would look like this (pseudocode): >> >> try >> copy >> on error >> return value >> end try >> return different value >> >> Other commands that don't wait are open process and IIRC the popup > command. >> I'm sure there are a few more but I don't know the entire list by heart. >> >> -- >> Best regards, >> >> Mark Schonewille >> >> Economy-x-Talk Consulting and Software Engineering >> Homepage: http://economy-x-talk.com >> Twitter: http://twitter.com/xtalkprogrammer >> KvK: 50277553 >> >> What does that error mean? Buy LiveCodeErrors for iPhone now > http://qery.us/v4 >> A must-have for LiveCode programmers. >> >> On 11 aug 2011, at 14:00, Tiemo Hollmann TB wrote: >> >>> Hi Mark, >>> thanks for your quick answer, I will give it a try. >>> >>> Because you have another approach I assume that it is a standard > behavior >>> with rev commands, that they don't wait? >>> Up to know I presumed that every command is waiting up to it's end of >>> execution. Are there more commands, which are not waiting? >>> >>> Thanks >>> 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 > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Thu Aug 11 10:17:07 2011 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Thu, 11 Aug 2011 16:17:07 +0200 Subject: AW: how can I wait for revCopyFolder execution? In-Reply-To: <4E43E1B4.6040206@gaich.de> References: <003901cc5815$15813ad0$4083b070$@de> <004401cc581e$52fda700$f8f8f500$@de> <006e01cc5822$f8e39ae0$eaaad0a0$@de> <4E43E1B4.6040206@gaich.de> Message-ID: <007701cc5831$5e17c680$1a475380$@de> Ok, then it's the difference between Win and Mac Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode-bounces at lists.runrev.com [mailto:use-livecode- > bounces at lists.runrev.com] Im Auftrag von G. Wolfgang Gaich > Gesendet: Donnerstag, 11. August 2011 16:06 > An: How to use LiveCode > Betreff: Re: how can I wait for revCopyFolder execution? > > Hello Tiemo, > > my test was with a 26GB folder with many, many subfolders. it took 24 > minutes and the script was hold until all folders and files were copied. > > Best > Wolfgang > > Am 11.08.2011 14:34, schrieb Tiemo Hollmann TB: > > Thanks Mark, I will give it a try. > > @Wolfgang, perhaps the issue, why revCopyFolder didn't waited in my case > > (Mac) is the duration. The copying in my my case lasts about 10 min (8GB). > > Perhaps applescript (which is probably wrapped by the rev command) returns > > the result already after a certain amount of time, as Mark says. Who knows, > > programming sometimes is a myst. > > Tiemo > > > >> -----Urspr?ngliche Nachricht----- > >> Von: use-livecode-bounces at lists.runrev.com [mailto:use-livecode- > >> bounces at lists.runrev.com] Im Auftrag von Mark Schonewille > >> Gesendet: Donnerstag, 11. August 2011 14:15 > >> An: How to use LiveCode > >> Betreff: Re: AW: how can I wait for revCopyFolder execution? > >> > >> Hi Tiemo, > >> > >> Actually, LiveCode waits until the AppleScript returns a value, indicating > >> successful compilation or failure, but it returns this value before the > >> copying has finished. So, it is a combination of AppleScript returning a > > value > >> early and LiveCode not reading additional results from AppleScript. > >> > >> It is possible to return a value from AppleScript to LiveCode: > >> > >> -- cScript custom prop > >> set x to 1+1 > >> return x > >> > >> --inside LiveCode: > >> put the cScript of me into myScript > >> do myScript as AppleScript > >> put the result > >> > >> You could try to return the message instead of running a LiveCode script > >> inside AppleScript and see whether AppleScript waits for the copying to > > finish > >> until it returns that value. The script would look like this (pseudocode): > >> > >> try > >> copy > >> on error > >> return value > >> end try > >> return different value > >> > >> Other commands that don't wait are open process and IIRC the popup > > command. > >> I'm sure there are a few more but I don't know the entire list by heart. > >> > >> -- > >> Best regards, > >> > >> Mark Schonewille > >> > >> Economy-x-Talk Consulting and Software Engineering > >> Homepage: http://economy-x-talk.com > >> Twitter: http://twitter.com/xtalkprogrammer > >> KvK: 50277553 > >> > >> What does that error mean? Buy LiveCodeErrors for iPhone now > > http://qery.us/v4 > >> A must-have for LiveCode programmers. > >> > >> On 11 aug 2011, at 14:00, Tiemo Hollmann TB wrote: > >> > >>> Hi Mark, > >>> thanks for your quick answer, I will give it a try. > >>> > >>> Because you have another approach I assume that it is a standard > > behavior > >>> with rev commands, that they don't wait? > >>> Up to know I presumed that every command is waiting up to it's end of > >>> execution. Are there more commands, which are not waiting? > >>> > >>> Thanks > >>> 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 > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode 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 Thu Aug 11 10:29:15 2011 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Thu, 11 Aug 2011 10:29:15 -0400 Subject: Storing Data in Standalone Apps Message-ID: Hello everyone, My apologies in advance for the lame question but I need a little refresher as it has been ages since I?ve deployed standalone apps. To save data in them, and that would include custom props, I need to do it in stack files that are not sub-stacks of the main stack. In other words, any data to be saved, such as preferences or ongoing work, must be put in a stack other than the one being converted to a standalone. Is that correct? Regards, Gregory From bvlahos at mac.com Thu Aug 11 10:53:32 2011 From: bvlahos at mac.com (Bill Vlahos) Date: Thu, 11 Aug 2011 07:53:32 -0700 Subject: Storing Data in Standalone Apps In-Reply-To: References: Message-ID: <678F91DD-C030-41F1-8F88-16FB78D527AF@mac.com> Correct. It has to be a separate file - either a separate stack or text file. Bill Vlahos Sent from my iPhone On Aug 11, 2011, at 7:29 AM, Gregory Lypny wrote: > Hello everyone, > > My apologies in advance for the lame question but I need a little refresher as it has been ages since I?ve deployed standalone apps. To save data in them, and that would include custom props, I need to do it in stack files that are not sub-stacks of the main stack. In other words, any data to be saved, such as preferences or ongoing work, must be put in a stack other than the one being converted to a standalone. Is that correct? > > > 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 gwolfgang at gaich.de Thu Aug 11 11:55:25 2011 From: gwolfgang at gaich.de (G. Wolfgang Gaich) Date: Thu, 11 Aug 2011 17:55:25 +0200 Subject: Storing Data in Standalone Apps In-Reply-To: <678F91DD-C030-41F1-8F88-16FB78D527AF@mac.com> References: <678F91DD-C030-41F1-8F88-16FB78D527AF@mac.com> Message-ID: <4E43FB6D.9030501@gaich.de> or you use a serialized array. E.g.: -- to save your preferences global gPrefs on mouseUp put the loc of this stack into gPrefs["Stackloc"] put the rect of this stack into gPrefs["StackRect"] put the backcolor of this stack into gPrefs["StackBCol"] put arrayencode(gPrefs) into url "binfile:c:\users\gg\myprefs\Test\prefs.dat" end mouseUp -- and to restore your prefs global gPrefs on mouseUp put arraydecode(url "binfile:c:\users\gg\myprefs\Test\prefs.dat") into gPrefs set the loc of this stack to gPrefs["Stackloc"] set the rect of this stack to gPrefs["StackRect"] set the backcolor of this stack to gPrefs["StackBCol"] end mouseUp -- You don't have to use globals. But if you do, you can use your preferences in any script. Best Regards Wolfgang Am 11.08.2011 16:53, schrieb Bill Vlahos: > Correct. It has to be a separate file - either a separate stack or text file. > > Bill Vlahos > > Sent from my iPhone > > On Aug 11, 2011, at 7:29 AM, Gregory Lypny wrote: > >> Hello everyone, >> >> My apologies in advance for the lame question but I need a little refresher as it has been ages since I?ve deployed standalone apps. To save data in them, and that would include custom props, I need to do it in stack files that are not sub-stacks of the main stack. In other words, any data to be saved, such as preferences or ongoing work, must be put in a stack other than the one being converted to a standalone. Is that correct? >> >> >> 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 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Thu Aug 11 12:37:29 2011 From: bobs at twft.com (Bob Sneidar) Date: Thu, 11 Aug 2011 09:37:29 -0700 Subject: groove blox - started already. Need help with arrays and snap to In-Reply-To: References: <9502E398-ED9B-4924-BCB9-8F39F462141B@twft.com> <75D9D1E1-9C13-41C7-A003-43EE6AD19C0C@economy-x-talk.com> <289a7ed9bd3a462aa0deb8dab65add94@mfelkerco.com> Message-ID: <3E803ACF-A246-4457-A432-04D96330B77D@twft.com> Arrays are easy. To create one, simply put something into the first element: put "~/Music/GrooveBox/groovyarp.wav" into arps["track1"]. If instead, you want a multidimensional array containing all your categories: put "~/Music/GrooveBox/groovyarp.wav" into aTracks[arps]["track1"]. If you need multiple elements for each track: put "Groovy Arp" into aTracks[arps]["track1"]["name"] put "~/Music/GrooveBox/groovyarp.wav" into aTracks[arps]["track1"]["path"] put "Groovy Rythm" into aTracks[drums]["track1"]["name"] put "~/Music/GrooveBox/groovyrythm.wav" into aTracks[drums]["track1"]["path"] If the tracks are the top level key: put "Groovy Rythm" into aTracks["track1"]["name"] put "Drums" into aTracks["track1"]["type"] put "~/Music/GrooveBox/groovyrythm.wav" into aTracks["track1"]["path"] put "Groovy Arp" into aTracks["track2"]["name"] put "Arps" into aTracks["track2"]["type"] put "~/Music/GrooveBox/groovyarp.wav" into aTracks["track2"]["path"] A few caveats: It does not follow that the order of the keys will be the order you created them. I do not know why this is. For this reason, you could not put the keys of aTracks and expect them to be in the order "track1,track2,track3, ...". Refer to them by name. Secondly, you cannot test to see if atracks is empty, because an array will return true. I do not know why this is. To see if an array variable is empty, use: atracks is an array. If you have Trevor Devore's excellent and highly recommended sqlYoga, you can use his printkeys() function to turn an array into text that can be searched or filtered. Using the above example it would look like this: track1 name: Groovy Rythm type: Drums path: ~/Music/GrooveBox/groovyrythm.wav track2 name: Groovy Arp type: Arps path: ~/Music/GrooveBox/groovyarp.wav Now you can use the filter command to get all the paths: filter thetracks with "*path:*" which produces: path: ~/Music/GrooveBox/groovyrythm.wav path: ~/Music/GrooveBox/groovyarp.wav Now delete the headers using: replace " path: " with empty in thetracks Which magically and without fuss produces a list of file paths to your tracks: ~/Music/GrooveBox/groovyrythm.wav ~/Music/GrooveBox/groovyarp.wav Very handy with large arrays! Don't have to create repeat loops! (Trevor did that for you). :-) Bob On Aug 10, 2011, at 3:44 PM, Admin wrote: > > > Dear All, > > I already got drag and drop sort of working - can drag > a wave file to a rectangle and it retains the name of the file - so now > I can play that file once it is dragged to the track view. > > I am not > sure how to make an array - and I assume an array is what I need to keep > track of multiple blocks (there are 4 categories of blocks - drum, arp, > bass and fxfill) > > Also, how would I implement a 'snap to' interface? > > > 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 stephenREVOLUTION2 at barncard.com Thu Aug 11 12:38:11 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Thu, 11 Aug 2011 09:38:11 -0700 Subject: [OT] Internet Censorship In-Reply-To: References: <1312601118358-3722715.post@n4.nabble.com> <4E3CBC93.70300@tkf.att.ne.jp> <1312603769993-3722757.post@n4.nabble.com> <4E3CDCDC.3090806@tkf.att.ne.jp> <1312612753765-3722888.post@n4.nabble.com> <201108060651.59433.warren@warrensweb.us> <1312643273496-3723464.post@n4.nabble.com> <4E438219.5020407@gmail.com> Message-ID: OK. This touched a nerve. *"I used to record off the air and it was OK" , "everybody does it" , "the music today sucks anyway", "the music business is corrupt"* All excuses used to justify the stealing of music. Not very funny to me, a 40 year music business worker. This was a profession for thousands that has totally gone away. There is no fair comparison between the innocent taping off of the radio and trading digital music en masse. The former barriers were hassle,cost, quality and speed, all of which were eliminated by digital formats. LPs were great. They had excellent DRM - very few people had disc cutters 'in the day' (except me) and the media was far more expensive than just buying it. I'm encouraging emerging artists to put all their music out on 12" vinyl. Better than a garage filled with a thousand unsold CDs. What is laughable is the idea that there are many artists are getting rich by selling their music. This is an illusion. Most are not. Today the CD is more like a promotional tool that people expect for free. On 11 August 2011 04:29, Roger Eller wrote: > On Thu, Aug 11, 2011 at 3:17 AM, Richmond Mathewson wrote: > > > This whole thing seems laughable: > > > > When I was 13 my Mum and Dad bought me a radio-cassette recorder, and > > I merrily recorded all the songs on the radio that I liked, and recorded > > quite a few songs from gramophone records that belonged to friends of > mine > > who could afford that sort of thing. > > > > At no time (1975-6-7-8) did ANYBODY tell that I was breaking the law, or, > > even, being "naughty". > > > > I, later, bought half a dozen of the records I had previously taped, so > > that I could pose to my "friends" with the record covers. > > > > Presumably, all across Britain (at least) teenagers were doing this all > the > > time. How > > odd that it never seemed an issue. > > > > Rod Stewart still made millions, as did Kate Bush, Devo and Kraftwerk . . > . > > > > I CAN understand that copying music and subsequently making money out of > it > > is a bit infra dig. > > > > What a load of codswallop! > > > > That is a similar story to mine, and many other kids of the 70's. If the > music was something I truly loved, then I would buy the record, tape, CD, > etc., but if it was just "OK", a recording made from the radio was just > fine. Nowadays, everybody's an "artist", whether they can sing or not. It > is assumed, and even expected that people pay for noise. The market should > be driven by the quality of the work. If it's good, DMCA or no DMCA, the > artist will STILL become rich and famous. > > ?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 > -- Stephen Barncard San Francisco Ca. USA more about sqb From bobs at twft.com Thu Aug 11 12:39:37 2011 From: bobs at twft.com (Bob Sneidar) Date: Thu, 11 Aug 2011 09:39:37 -0700 Subject: More time travelling In-Reply-To: <1921808831343.20110810175019@ahsoftware.net> References: <1021739775390.20110809223923@ahsoftware.net> <4E42AD1F.9020109@hyperactivesw.com> <1921808831343.20110810175019@ahsoftware.net> Message-ID: <0BEE788D-F74D-4D11-8D5E-BE04CA202A31@twft.com> I'll pitch in. That is a great idea! Get a list of names who will pitch in and we can divvy it up. Make sure the people who did the original story know it, and it can get some exposure for Livecode. Bob On Aug 10, 2011, at 5:50 PM, Mark Wieder wrote: > Jacque- > > Wednesday, August 10, 2011, 9:09:03 AM, you wrote: > >> On 8/10/11 12:39 AM, Mark Wieder wrote: >>> Looks like Jacque's not the only time traveller around... >>> >>> http://www.pcmag.com/article2/0,2817,2390671,00.asp >>> > >> At first I thought this was just an amateur tinkering with a clock. But >> when I met her 40 years from now, I see she may be on to something. > > I think she's just the sort of inventive user we need more of - > someone who is clever, likes to tinker with things, shares her results > with the community, is responsible about reporting flaws, plays well > with others... I say we should gift her a personal license and get her > off to a good start with LiveCode. She's probably got a thing or three > to teach me about better ways of doing things. > > -- > -Mark Wieder > mwieder at ahsoftware.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 From bobs at twft.com Thu Aug 11 12:53:33 2011 From: bobs at twft.com (Bob Sneidar) Date: Thu, 11 Aug 2011 09:53:33 -0700 Subject: [OT] Internet Censorship In-Reply-To: References: <1312601118358-3722715.post@n4.nabble.com> <4E3CBC93.70300@tkf.att.ne.jp> <1312603769993-3722757.post@n4.nabble.com> <4E3CDCDC.3090806@tkf.att.ne.jp> <1312612753765-3722888.post@n4.nabble.com> <201108060651.59433.warren@warrensweb.us> <1312643273496-3723464.post@n4.nabble.com> <4E438219.5020407@gmail.com> Message-ID: <3DBF503B-9742-4405-A1EA-99D3900282CE@twft.com> Years ago the large Church I work for had a recording studio and a record label, so that we could produce "religious" music and not have to deal with the secular industry and the exorbitant prices they charged for use of their studios. Some artists because quite successful in their careers, as they were quite good. Later we bought a radio station and began playing the now wide selection of Christian music, but at one point one of the agencies that polices rights infringements approached our radio station and insisted we pay royalties to these artists (meaning the agency) for the right to use the music. Some of these artists got their start in our studios, and would never have gotten anywhere had they not started there. Our head Pastor was so disgusted, he banned any music from an artist who belonged to one of these agencies. Offerings on the radio were a bit slim for awhile. Now I can see someone being upset if another artist went around performing another artist's songs for money, because it was less money that the original artist charged. But the very thought of having people pay royalties on what we consider to be a "gift from God" namely the talent and the inspiration for the music seems to be... well "quenching". The moneychangers in the temple comes to mind. Bob On Aug 11, 2011, at 4:29 AM, Roger Eller wrote: > On Thu, Aug 11, 2011 at 3:17 AM, Richmond Mathewson wrote: > >> This whole thing seems laughable: >> >> When I was 13 my Mum and Dad bought me a radio-cassette recorder, and >> I merrily recorded all the songs on the radio that I liked, and recorded >> quite a few songs from gramophone records that belonged to friends of mine >> who could afford that sort of thing. >> >> At no time (1975-6-7-8) did ANYBODY tell that I was breaking the law, or, >> even, being "naughty". >> >> I, later, bought half a dozen of the records I had previously taped, so >> that I could pose to my "friends" with the record covers. >> >> Presumably, all across Britain (at least) teenagers were doing this all the >> time. How >> odd that it never seemed an issue. >> >> Rod Stewart still made millions, as did Kate Bush, Devo and Kraftwerk . . . >> >> I CAN understand that copying music and subsequently making money out of it >> is a bit infra dig. >> >> What a load of codswallop! >> > > That is a similar story to mine, and many other kids of the 70's. If the > music was something I truly loved, then I would buy the record, tape, CD, > etc., but if it was just "OK", a recording made from the radio was just > fine. Nowadays, everybody's an "artist", whether they can sing or not. It > is assumed, and even expected that people pay for noise. The market should > be driven by the quality of the work. If it's good, DMCA or no DMCA, the > artist will STILL become rich and famous. > > ?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 bobs at twft.com Thu Aug 11 12:59:34 2011 From: bobs at twft.com (Bob Sneidar) Date: Thu, 11 Aug 2011 09:59:34 -0700 Subject: [OT] Internet Censorship In-Reply-To: References: <1312601118358-3722715.post@n4.nabble.com> <4E3CBC93.70300@tkf.att.ne.jp> <1312603769993-3722757.post@n4.nabble.com> <4E3CDCDC.3090806@tkf.att.ne.jp> <1312612753765-3722888.post@n4.nabble.com> <201108060651.59433.warren@warrensweb.us> <1312643273496-3723464.post@n4.nabble.com> <4E438219.5020407@gmail.com> Message-ID: As usual it's the middle man that is getting rich. But there ARE ways to distribute now that can bypass them. Unfortunately, it's hard to rise above the noise of mediocrity in that soup, if the artist really is exceptional. I have ideas for a website that had some kind of voting system, where the more you voted, the more votes you could make, only 3 a day at first, 7 later, and so on scaling up to as many as you wanted if you voted often. Hopefully this would cause the cream to rise to the top, much like YouTube. Bob On Aug 11, 2011, at 9:38 AM, stephen barncard wrote: > What is laughable is the idea that there are many artists are getting rich > by selling their music. This is an illusion. Most are not. Today the CD is > more like a promotional tool that people expect for free. From bobs at twft.com Thu Aug 11 13:08:31 2011 From: bobs at twft.com (Bob Sneidar) Date: Thu, 11 Aug 2011 10:08:31 -0700 Subject: [OT] Blasted Flash In-Reply-To: <3DBE4835-F980-488A-9744-40F202755D17@verizon.net> References: <4E43DA03.7000503@gmail.com> <3DBE4835-F980-488A-9744-40F202755D17@verizon.net> Message-ID: <3878B56E-2D95-49C4-AD37-66B9A7D18989@twft.com> I went to purchase an audio book of The Hobbit off Audible (or iTunes same provider) and was informed that I could not purchase it from where I was, because it wasn't allowed. Who refuses to sell an audio book in another country, especially the US where there is a huge market for it? But that should be in another thread. Bob On Aug 11, 2011, at 6:53 AM, Colin Holgate wrote: > Strange version problems could come up with any technology. It actually makes a nice change that a BBC clip is viewable in the US! For what it's worth, it's a 3 min 52 sec review of the new planet of the apes film, and I stopped it soon because it gives away too many plot details. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Aug 11 13:09:47 2011 From: roger.e.eller at sealedair.com (Roger Eller) Date: Thu, 11 Aug 2011 13:09:47 -0400 Subject: [OT] Internet Censorship In-Reply-To: References: <1312601118358-3722715.post@n4.nabble.com> <4E3CBC93.70300@tkf.att.ne.jp> <1312603769993-3722757.post@n4.nabble.com> <4E3CDCDC.3090806@tkf.att.ne.jp> <1312612753765-3722888.post@n4.nabble.com> <201108060651.59433.warren@warrensweb.us> <1312643273496-3723464.post@n4.nabble.com> <4E438219.5020407@gmail.com> Message-ID: On Thu, Aug 11, 2011 at 12:59 PM, Bob Sneidar wrote: > As usual it's the middle man that is getting rich. But there ARE ways to > distribute now that can bypass them. Unfortunately, it's hard to rise above > the noise of mediocrity in that soup, if the artist really is exceptional. > > I have ideas for a website that had some kind of voting system, where the > more you voted, the more votes you could make, only 3 a day at first, 7 > later, and so on scaling up to as many as you wanted if you voted often. > Hopefully this would cause the cream to rise to the top, much like YouTube. > > Bob > > I agree. In fact, I witnessed the rise of a YouTube artist, and bought his very first CD because 1) he was that good, and 2) I wanted to be supportive of the hundreds of songs he posted on YouTube (and I enjoyed for free). THAT is an artist! Play it to express what you feel, and if we feel it too, we will buy it. http://www.youtube.com/watch?v=M0xqu0Nuwek ~Roger From warren at warrensweb.us Thu Aug 11 13:16:07 2011 From: warren at warrensweb.us (Warren Samples) Date: Thu, 11 Aug 2011 12:16:07 -0500 Subject: [OT] Internet Censorship In-Reply-To: <3DBF503B-9742-4405-A1EA-99D3900282CE@twft.com> References: <1312601118358-3722715.post@n4.nabble.com> <3DBF503B-9742-4405-A1EA-99D3900282CE@twft.com> Message-ID: <201108111216.08332.warren@warrensweb.us> On Thursday, August 11, 2011 11:53:33 AM Bob Sneidar wrote: > But the very thought of having people pay royalties on what we consider to be a "gift from God" namely the talent and the inspiration for the music seems to be... well "quenching". The moneychangers in the temple comes to mind. > > Bob Bob, how far are you willing to go with argument? Is it just musicians? Who is exempt? Is there anyone or any field where you'd to say, "Oh, God doesn't have anything to do with that, so I'll pay you"? Let me take my cello down to the supermarket and see if they'll give me food if I play for them. Would that actually be any different from asking for cash? I dunno, but it is fair to suggest that you want to benefit from my, or some musician's talents - and hard work invested in developing an nurturing that talent, wthout returning anything except maybe a smile. Is your smile worth something in the supermarket? The issue of payment and distibution is far more varied and complex than most of you seem to be aware of or willing to consider. As consumers your interests only reflect a very limited perspective. Sincerely, Warren From bobs at twft.com Thu Aug 11 13:35:25 2011 From: bobs at twft.com (Bob Sneidar) Date: Thu, 11 Aug 2011 10:35:25 -0700 Subject: [OT] Internet Censorship In-Reply-To: <201108111216.08332.warren@warrensweb.us> References: <1312601118358-3722715.post@n4.nabble.com> <3DBF503B-9742-4405-A1EA-99D3900282CE@twft.com> <201108111216.08332.warren@warrensweb.us> Message-ID: <19C45122-CF5C-413E-B50B-DA18F5A7BACE@twft.com> I feel your pain warren as I am also a musician. But I am not making the argument that people should not profit from their gifts. God knows none of the very talented people who use Livecode would lift a finger if that were the case! I am saying that when Christians need a corporate machine to eke out every last penny from everyone they can, when they won't play anywhere for less that $xxxx.xx dollars, when they insist on special cuisine, cooked just so, and special accommodations for their entourage, and have a highly paid agent to make sure all this falls into place for them, I am suggesting they may have missed the point. At least for Christian artists, they ought to be willing to go anywhere and play for free, aside from their normal profession, if the situation warrants it. And they shouldn't punish the few Christian Radio Stations who play their music, without whose support they would have gotten no exposure in the first place. I guess there is a balance to everything. Bob On Aug 11, 2011, at 10:16 AM, Warren Samples wrote: > On Thursday, August 11, 2011 11:53:33 AM Bob Sneidar wrote: >> But the very thought of having people pay royalties on what we consider to be a "gift from God" namely the talent and the inspiration for the music seems to be... well "quenching". The moneychangers in the temple comes to mind. >> >> Bob > > > Bob, how far are you willing to go with argument? Is it just musicians? Who is exempt? Is there anyone or any field where you'd to say, "Oh, God doesn't have anything to do with that, so I'll pay you"? Let me take my cello down to the supermarket and see if they'll give me food if I play for them. Would that actually be any different from asking for cash? I dunno, but it is fair to suggest that you want to benefit from my, or some musician's talents - and hard work invested in developing an nurturing that talent, wthout returning anything except maybe a smile. Is your smile worth something in the supermarket? The issue of payment and distibution is far more varied and complex than most of you seem to be aware of or willing to consider. As consumers your interests only reflect a very limited perspective. > > Sincerely, > > Warren > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From martyknapp at comcast.net Thu Aug 11 13:37:28 2011 From: martyknapp at comcast.net (Marty Knapp) Date: Thu, 11 Aug 2011 10:37:28 -0700 Subject: [OT] Internet Censorship In-Reply-To: <3DBF503B-9742-4405-A1EA-99D3900282CE@twft.com> References: <1312601118358-3722715.post@n4.nabble.com> <4E3CBC93.70300@tkf.att.ne.jp> <1312603769993-3722757.post@n4.nabble.com> <4E3CDCDC.3090806@tkf.att.ne.jp> <1312612753765-3722888.post@n4.nabble.com> <201108060651.59433.warren@warrensweb.us> <1312643273496-3723464.post@n4.nabble.com> <4E438219.5020407@gmail.com> <3DBF503B-9742-4405-A1EA-99D3900282CE@twft.com> Message-ID: <4E441358.6070901@comcast.net> Cool! So now all I need to do is figure out who has god-given talent (as opposed to atheistic talent or agnostic talent???) or who is "rich" and I can take what I want!!! My brother is an airline pilot - makes way more money than me. Has 5 cars, including a red '73 Chevy convertible. Maybe I'll just "borrow" it for a while, when he's on a trip to Paris. He doesn't need to know and he's rich, so it's my right! You can't drive 5 cars at the same time! Then there's my two multi-millionaire friends. They're both self-made and very generous, but it never occurred to me that because they're rich, I have a "right" to take some of their stuff that I've determined they don't need. Awesome! Marty K > Years ago the large Church I work for had a recording studio and a record label, so that we could produce "religious" music and not have to deal with the secular industry and the exorbitant prices they charged for use of their studios. Some artists because quite successful in their careers, as they were quite good. > > Later we bought a radio station and began playing the now wide selection of Christian music, but at one point one of the agencies that polices rights infringements approached our radio station and insisted we pay royalties to these artists (meaning the agency) for the right to use the music. Some of these artists got their start in our studios, and would never have gotten anywhere had they not started there. > > Our head Pastor was so disgusted, he banned any music from an artist who belonged to one of these agencies. Offerings on the radio were a bit slim for awhile. Now I can see someone being upset if another artist went around performing another artist's songs for money, because it was less money that the original artist charged. But the very thought of having people pay royalties on what we consider to be a "gift from God" namely the talent and the inspiration for the music seems to be... well "quenching". The moneychangers in the temple comes to mind. > > Bob > > > On Aug 11, 2011, at 4:29 AM, Roger Eller wrote: > >> On Thu, Aug 11, 2011 at 3:17 AM, Richmond Mathewson wrote: >> >>> This whole thing seems laughable: >>> >>> When I was 13 my Mum and Dad bought me a radio-cassette recorder, and >>> I merrily recorded all the songs on the radio that I liked, and recorded >>> quite a few songs from gramophone records that belonged to friends of mine >>> who could afford that sort of thing. >>> >>> At no time (1975-6-7-8) did ANYBODY tell that I was breaking the law, or, >>> even, being "naughty". >>> >>> I, later, bought half a dozen of the records I had previously taped, so >>> that I could pose to my "friends" with the record covers. >>> >>> Presumably, all across Britain (at least) teenagers were doing this all the >>> time. How >>> odd that it never seemed an issue. >>> >>> Rod Stewart still made millions, as did Kate Bush, Devo and Kraftwerk . . . >>> >>> I CAN understand that copying music and subsequently making money out of it >>> is a bit infra dig. >>> >>> What a load of codswallop! >>> >> That is a similar story to mine, and many other kids of the 70's. If the >> music was something I truly loved, then I would buy the record, tape, CD, >> etc., but if it was just "OK", a recording made from the radio was just >> fine. Nowadays, everybody's an "artist", whether they can sing or not. It >> is assumed, and even expected that people pay for noise. The market should >> be driven by the quality of the work. If it's good, DMCA or no DMCA, the >> artist will STILL become rich and famous. >> >> ?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 warren at warrensweb.us Thu Aug 11 13:50:25 2011 From: warren at warrensweb.us (Warren Samples) Date: Thu, 11 Aug 2011 12:50:25 -0500 Subject: [OT] Internet Censorship In-Reply-To: References: <1312601118358-3722715.post@n4.nabble.com> Message-ID: <201108111250.25821.warren@warrensweb.us> On Thursday, August 11, 2011 12:09:47 PM Roger Eller wrote: > I agree. In fact, I witnessed the rise of a YouTube artist, and bought his > very first CD because 1) he was that good, and 2) I wanted to be supportive > of the hundreds of songs he posted on YouTube (and I enjoyed for free). > THAT is an artist! Play it to express what you feel, and if we feel it too, > we will buy it. The effect of unlicensed redistribution on the music industry is a topic of huge debate. The view the RIAA and AF of M take is certainly an exageration. But unlicensed distribution is not harmless. Your anecdote reflects a legitimate part of the debate, but the music industry is not some simple monolith. Many of us work for wages which are determined by the projected use and distribution of the final product. While it is undeniable that the exposure gained through unlicensed redistribution can be an incredible boon to some projects, it also competes with licensed distribution and certainly makes it impossible to fairly compensate many of us when the actual distribution is unknowable. I can't escape the feeling that a part of what some of you are saying is that you feel the entities that produced the material have received what you believe to be a fair return and they should not be entitled to receive anything more and therefore any future use of that product shall be without cost to you. Is that really what you think? Is it really reasonable? Sincerely, Warren From bobs at twft.com Thu Aug 11 13:55:45 2011 From: bobs at twft.com (Bob Sneidar) Date: Thu, 11 Aug 2011 10:55:45 -0700 Subject: [OT] Internet Censorship In-Reply-To: <4E441358.6070901@comcast.net> References: <1312601118358-3722715.post@n4.nabble.com> <4E3CBC93.70300@tkf.att.ne.jp> <1312603769993-3722757.post@n4.nabble.com> <4E3CDCDC.3090806@tkf.att.ne.jp> <1312612753765-3722888.post@n4.nabble.com> <201108060651.59433.warren@warrensweb.us> <1312643273496-3723464.post@n4.nabble.com> <4E438219.5020407@gmail.com> <3DBF503B-9742-4405-A1EA-99D3900282CE@twft.com> <4E441358.6070901@comcast.net> Message-ID: <599CEE09-CEDC-47F2-99A9-CD45A0093DF9@twft.com> . Once again I've started a controversy. My original point, which perhaps I did not make terribly clear is that there is a huge corporate machine that has grown up around copyright protection, that is the main entity actually making the money, and often is operating contrary to the original artists interests. A thing can (and often does) start out with good intentions but ends up being counterproductive to the original goal. I think in the Christian music industry, this has become a bad thing. Perhaps I should put it this way. It is my opinion that a Christian artist should decide whether he wants to devote himself to ministry, (which does not exclude making *some* money by the way to cover expenses and needs) or else make a living at what he does. BOTH CHOICES ARE EQUALLY VALID I must emphasize. But it is a bad idea and I stress IN MY OPINION to start out calling yourself a minister, and then end up trying to get rich at it. One seems to push out the other. "You cannot serve God and Mammon" I think was the phrase. Again, everything is about focus and balance. Bob On Aug 11, 2011, at 10:37 AM, Marty Knapp wrote: > Cool! So now all I need to do is figure out who has god-given talent (as opposed to atheistic talent or agnostic talent???) or who is "rich" and I can take what I want!!! My brother is an airline pilot - makes way more money than me. Has 5 cars, including a red '73 Chevy convertible. Maybe I'll just "borrow" it for a while, when he's on a trip to Paris. He doesn't need to know and he's rich, so it's my right! You can't drive 5 cars at the same time! Then there's my two multi-millionaire friends. They're both self-made and very generous, but it never occurred to me that because they're rich, I have a "right" to take some of their stuff that I've determined they don't need. Awesome! > > Marty K >> Years ago the large Church I work for had a recording studio and a record label, so that we could produce "religious" music and not have to deal with the secular industry and the exorbitant prices they charged for use of their studios. Some artists because quite successful in their careers, as they were quite good. >> >> Later we bought a radio station and began playing the now wide selection of Christian music, but at one point one of the agencies that polices rights infringements approached our radio station and insisted we pay royalties to these artists (meaning the agency) for the right to use the music. Some of these artists got their start in our studios, and would never have gotten anywhere had they not started there. >> >> Our head Pastor was so disgusted, he banned any music from an artist who belonged to one of these agencies. Offerings on the radio were a bit slim for awhile. Now I can see someone being upset if another artist went around performing another artist's songs for money, because it was less money that the original artist charged. But the very thought of having people pay royalties on what we consider to be a "gift from God" namely the talent and the inspiration for the music seems to be... well "quenching". The moneychangers in the temple comes to mind. >> >> Bob From bobs at twft.com Thu Aug 11 14:11:11 2011 From: bobs at twft.com (Bob Sneidar) Date: Thu, 11 Aug 2011 11:11:11 -0700 Subject: [OT] Internet Censorship In-Reply-To: <201108111250.25821.warren@warrensweb.us> References: <1312601118358-3722715.post@n4.nabble.com> <201108111250.25821.warren@warrensweb.us> Message-ID: <921BBD44-B879-4220-B3D7-F83744835B21@twft.com> I cannot speak for others, but I certainly do not. When Napster first came out and all my friends were going crazy over it, downloading everything they could get their hands on, I told them all it was stealing, no matter how they looked at it, because they were taking something without the owner's permission. Later when Apple released iTunes I found myself going back and buying again music I had already paid for in the past, in the form of CD's, cassette tapes, lp's etc, some of them several times because I would wear them out or they would become damaged. Now no one seems very concerned that I paid for something several times over. No one is at all concerned in the industry that I may have paid more than my fair share. But that is okay, because I had the choice, and I chose to pay to have it in a form that FINALLY I could keep indefinitely without degradation of quality, even though it must be admitted that it doesn't cost anywhere near as much to distribute electronically as it did to do so using physical media. So everyone can claim unfair treatment, but it really revolves around what two entities agree to, and what the intent of use for copied material is. My contract with the music industry was fulfilled when I gave them my money and they delivered the product with certain restrictions on the fair use and reproduction of the product. While it is clearly unfair for me to make copies and give it to my friends, I find it equally unfair for them to tell me I cannot make backups, or that they could care less that this is the fifth time I have paid them for something. Everyone seems to have a bone to pick. Bob On Aug 11, 2011, at 10:50 AM, Warren Samples wrote: > I can't escape the feeling that a part of what some of you are saying is that you feel the entities that produced the material have received what you believe to be a fair return and they should not be entitled to receive anything more and therefore any future use of that product shall be without cost to you. Is that really what you think? Is it really reasonable? > > Sincerely, > > Warren From richmondmathewson at gmail.com Thu Aug 11 14:48:02 2011 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Thu, 11 Aug 2011 21:48:02 +0300 Subject: [OT] Internet Censorship In-Reply-To: <599CEE09-CEDC-47F2-99A9-CD45A0093DF9@twft.com> References: <1312601118358-3722715.post@n4.nabble.com> <4E3CBC93.70300@tkf.att.ne.jp> <1312603769993-3722757.post@n4.nabble.com> <4E3CDCDC.3090806@tkf.att.ne.jp> <1312612753765-3722888.post@n4.nabble.com> <201108060651.59433.warren@warrensweb.us> <1312643273496-3723464.post@n4.nabble.com> <4E438219.5020407@gmail.com> <3DBF503B-9742-4405-A1EA-99D3900282CE@twft.com> <4E441358.6070901@comcast.net> <599CEE09-CEDC-47F2-99A9-CD45A0093DF9@twft.com> Message-ID: <4E4423E2.6050901@gmail.com> On 08/11/2011 08:55 PM, Bob Sneidar wrote: > . Once again I've started a controversy. Lovely; where would we be without you? Probably considerably more bored . . . :) > > My original point, which perhaps I did not make terribly clear is that there is a huge corporate machine that has grown up around copyright protection, that is the main entity actually making the money, and often is operating contrary to the original artists interests. A thing can (and often does) start out with good intentions but ends up being counterproductive to the original goal. I think in the Christian music industry, this has become a bad thing. > > Perhaps I should put it this way. It is my opinion that a Christian artist should decide whether he wants to devote himself to ministry, (which does not exclude making *some* money by the way to cover expenses and needs) or else make a living at what he does. BOTH CHOICES ARE EQUALLY VALID I must emphasize. But it is a bad idea and I stress IN MY OPINION to start out calling yourself a minister, and then end up trying to get rich at it. One seems to push out the other. "You cannot serve God and Mammon" I think was the phrase. > > Again, everything is about focus and balance. > > Bob > > > On Aug 11, 2011, at 10:37 AM, Marty Knapp wrote: > >> Cool! So now all I need to do is figure out who has god-given talent (as opposed to atheistic talent or agnostic talent???) or who is "rich" and I can take what I want!!! My brother is an airline pilot - makes way more money than me. Has 5 cars, including a red '73 Chevy convertible. Maybe I'll just "borrow" it for a while, when he's on a trip to Paris. He doesn't need to know and he's rich, so it's my right! You can't drive 5 cars at the same time! Then there's my two multi-millionaire friends. They're both self-made and very generous, but it never occurred to me that because they're rich, I have a "right" to take some of their stuff that I've determined they don't need. Awesome! >> >> Marty K >>> Years ago the large Church I work for had a recording studio and a record label, so that we could produce "religious" music and not have to deal with the secular industry and the exorbitant prices they charged for use of their studios. Some artists because quite successful in their careers, as they were quite good. >>> >>> Later we bought a radio station and began playing the now wide selection of Christian music, but at one point one of the agencies that polices rights infringements approached our radio station and insisted we pay royalties to these artists (meaning the agency) for the right to use the music. Some of these artists got their start in our studios, and would never have gotten anywhere had they not started there. >>> >>> Our head Pastor was so disgusted, he banned any music from an artist who belonged to one of these agencies. Offerings on the radio were a bit slim for awhile. Now I can see someone being upset if another artist went around performing another artist's songs for money, because it was less money that the original artist charged. But the very thought of having people pay royalties on what we consider to be a "gift from God" namely the talent and the inspiration for the music seems to be... well "quenching". The moneychangers in the temple comes to mind. >>> >>> 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 richmondmathewson at gmail.com Thu Aug 11 14:51:14 2011 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Thu, 11 Aug 2011 21:51:14 +0300 Subject: [OT] Internet Censorship In-Reply-To: <921BBD44-B879-4220-B3D7-F83744835B21@twft.com> References: <1312601118358-3722715.post@n4.nabble.com> <201108111250.25821.warren@warrensweb.us> <921BBD44-B879-4220-B3D7-F83744835B21@twft.com> Message-ID: <4E4424A2.20805@gmail.com> On 08/11/2011 09:11 PM, Bob Sneidar wrote: > I cannot speak for others, but I certainly do not. When Napster first came out and all my friends were going crazy over it, downloading everything they could get their hands on, I told them all it was stealing, no matter how they looked at it, because they were taking something without the owner's permission. > > Later when Apple released iTunes I found myself going back and buying again music I had already paid for in the past, in the form of CD's, cassette tapes, lp's etc, some of them several times because I would wear them out or they would become damaged. > > Now no one seems very concerned that I paid for something several times over. I am; and I have absolutely NO qualms about downloading mp3 files of tracks fom records I bought in 1980. Similarly, I bought a North American DVD of "Ticket to Heaven" (my favourite film for obvious reasons) and found I could not play it in Bulgaria; I didn't hesitate to rip it and make a region-free copy (which I keep in the same box as the original); having paid for the blasted thing I should at least be able to watch it! > No one is at all concerned in the industry that I may have paid more than my fair share. But that is okay, because I had the choice, and I chose to pay to have it in a form that FINALLY I could keep indefinitely without degradation of quality, even though it must be admitted that it doesn't cost anywhere near as much to distribute electronically as it did to do so using physical media. > > So everyone can claim unfair treatment, but it really revolves around what two entities agree to, and what the intent of use for copied material is. My contract with the music industry was fulfilled when I gave them my money and they delivered the product with certain restrictions on the fair use and reproduction of the product. While it is clearly unfair for me to make copies and give it to my friends, I find it equally unfair for them to tell me I cannot make backups, or that they could care less that this is the fifth time I have paid them for something. > > Everyone seems to have a bone to pick. > > Bob > > > On Aug 11, 2011, at 10:50 AM, Warren Samples wrote: > >> I can't escape the feeling that a part of what some of you are saying is that you feel the entities that produced the material have received what you believe to be a fair return and they should not be entitled to receive anything more and therefore any future use of that product shall be without cost to you. Is that really what you think? Is it really reasonable? >> >> Sincerely, >> >> Warren > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Thu Aug 11 16:01:53 2011 From: rdimola at evergreeninfo.net (Ralph DiMola) Date: Thu, 11 Aug 2011 16:01:53 -0400 Subject: [OT] Internet Censorship Message-ID: <014801cc5861$847e3f40$8d7abdc0$@net> There's at least one other person who told their friends to stay away from Napster. "I cannot speak for others, but I certainly do not. When Napster first came out and all my friends were going crazy over it, downloading everything they could get their hands on, I told them all it was stealing, no matter how they looked at it, because they were taking something without the owner's permission." I know someone who got caught and had to pay. That being said. I don't feel sorry for the record companies or the rich rock and rollers. 1) I bought the Beatle's singles on 45 RPM records. 2) Then I bought the "White Album" on 33 RPM 3) Then I got the "White Album" on 8 track 4) Then I got the "White Album" on cassette 5) Then I got the "White Album" on CD 6) Some of the songs were on a DVD anthology 7) Paul's 2000 tour DVD As I see it, I paid royalties 7 times on many songs in the Beatle catalog for my single personal use. I should have had the option to trade in an old format for a new format and pay only for the media. Trading and giving away cassettes to friends of over the air radio broadcasts was never prosecuted. I don't even know if it was illegal in the first place. The Betamax decision allowed for recording and trading of over the air TV. If I share a song on the web then it's TFB for the record companies.. But alas I don't because it illegal and I have to live with it. PS: We're still getting ripped-off!!! Ralph DiMola From jperryl at ecs.fullerton.edu Thu Aug 11 16:18:58 2011 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Thu, 11 Aug 2011 13:18:58 -0700 (PDT) Subject: [OT] Internet Censorship In-Reply-To: References: <1312601118358-3722715.post@n4.nabble.com> <4E3CBC93.70300@tkf.att.ne.jp> <1312603769993-3722757.post@n4.nabble.com> <4E3CDCDC.3090806@tkf.att.ne.jp> <1312612753765-3722888.post@n4.nabble.com> <201108060651.59433.warren@warrensweb.us> <1312643273496-3723464.post@n4.nabble.com> <4E438219.5020407@gmail.com> Message-ID: Indeed, this can be true; two sound-alike singers were hired directly from their YouTube performances as replacement singers for the prog rock band Journey and Dennis DeYoung from Styx for their respective tours. Judy On Thu, 11 Aug 2011, Roger Eller wrote: > I agree. In fact, I witnessed the rise of a YouTube artist, and bought his > very first CD because 1) he was that good, and 2) I wanted to be supportive > of the hundreds of songs he posted on YouTube (and I enjoyed for free). > THAT is an artist! Play it to express what you feel, and if we feel it too, > we will buy it. > > http://www.youtube.com/watch?v=M0xqu0Nuwek From pete at mollysrevenge.com Thu Aug 11 16:23:57 2011 From: pete at mollysrevenge.com (Pete) Date: Thu, 11 Aug 2011 13:23:57 -0700 Subject: [OT] Internet Censorship In-Reply-To: References: <1312601118358-3722715.post@n4.nabble.com> <4E3CBC93.70300@tkf.att.ne.jp> <1312603769993-3722757.post@n4.nabble.com> <4E3CDCDC.3090806@tkf.att.ne.jp> <1312612753765-3722888.post@n4.nabble.com> <201108060651.59433.warren@warrensweb.us> <1312643273496-3723464.post@n4.nabble.com> <4E438219.5020407@gmail.com> Message-ID: As a working musician, I heartily agree with Stephen. There is a miniscule percentage of musicians who actually manage to make a reasonable living for their profession, the rest of us (no matter how good or bad we are) make do with the crumbs and leftovers. There is no justification for stealing music, it's no different than pirating software. And don;t even get me started on the antics of ASCAP, BMI in the realm of performance royalties.... Pete Molly's Revenge On Thu, Aug 11, 2011 at 9:38 AM, stephen barncard < stephenREVOLUTION2 at barncard.com> wrote: > OK. This touched a nerve. > > *"I used to record off the air and it was OK" , "everybody does it" , > "the music today sucks anyway", "the music business is corrupt"* > > All excuses used to justify the stealing of music. Not very funny to me, a > 40 year music business worker. This was a profession for thousands that has > totally gone away. > > There is no fair comparison between the innocent taping off of the radio > and > trading digital music en masse. > The former barriers were hassle,cost, quality and speed, all of which were > eliminated by digital formats. > > LPs were great. They had excellent DRM - very few people had disc cutters > 'in the day' (except me) and the media was far more expensive than just > buying it. I'm encouraging emerging artists to put all their music out on > 12" vinyl. Better than a garage filled with a thousand unsold CDs. > > What is laughable is the idea that there are many artists are getting rich > by selling their music. This is an illusion. Most are not. Today the CD is > more like a promotional tool that people expect for free. > > > On 11 August 2011 04:29, Roger Eller wrote: > > > On Thu, Aug 11, 2011 at 3:17 AM, Richmond Mathewson wrote: > > > > > This whole thing seems laughable: > > > > > > When I was 13 my Mum and Dad bought me a radio-cassette recorder, and > > > I merrily recorded all the songs on the radio that I liked, and > recorded > > > quite a few songs from gramophone records that belonged to friends of > > mine > > > who could afford that sort of thing. > > > > > > At no time (1975-6-7-8) did ANYBODY tell that I was breaking the law, > or, > > > even, being "naughty". > > > > > > I, later, bought half a dozen of the records I had previously taped, so > > > that I could pose to my "friends" with the record covers. > > > > > > Presumably, all across Britain (at least) teenagers were doing this all > > the > > > time. How > > > odd that it never seemed an issue. > > > > > > Rod Stewart still made millions, as did Kate Bush, Devo and Kraftwerk . > . > > . > > > > > > I CAN understand that copying music and subsequently making money out > of > > it > > > is a bit infra dig. > > > > > > What a load of codswallop! > > > > > > > That is a similar story to mine, and many other kids of the 70's. If the > > music was something I truly loved, then I would buy the record, tape, CD, > > etc., but if it was just "OK", a recording made from the radio was just > > fine. Nowadays, everybody's an "artist", whether they can sing or not. > It > > is assumed, and even expected that people pay for noise. The market > should > > be driven by the quality of the work. If it's good, DMCA or no DMCA, the > > artist will STILL become rich and famous. > > > > ?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 > > > > > > -- > > > > 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 > From martyknapp at comcast.net Thu Aug 11 16:31:06 2011 From: martyknapp at comcast.net (Marty Knapp) Date: Thu, 11 Aug 2011 13:31:06 -0700 Subject: [OT] Internet Censorship In-Reply-To: <599CEE09-CEDC-47F2-99A9-CD45A0093DF9@twft.com> References: <1312601118358-3722715.post@n4.nabble.com> <4E3CBC93.70300@tkf.att.ne.jp> <1312603769993-3722757.post@n4.nabble.com> <4E3CDCDC.3090806@tkf.att.ne.jp> <1312612753765-3722888.post@n4.nabble.com> <201108060651.59433.warren@warrensweb.us> <1312643273496-3723464.post@n4.nabble.com> <4E438219.5020407@gmail.com> <3DBF503B-9742-4405-A1EA-99D3900282CE@twft.com> <4E441358.6070901@comcast.net> <599CEE09-CEDC-47F2-99A9-CD45A0093DF9@twft.com> Message-ID: <4E443C0A.8040808@comcast.net> I agree with you here Bob. Your previous post seemed to me to focus on the individual "talent" who shouldn't make money because it was a "god-given talent." But my post was also a response to those who excuse taking from someone because they think they are rich (which usually means someone who makes more then they do!) People do that to me - steal my software because they think I'm a big, rich corporation (and there I am sitting in my underwear in my home office working 3 jobs to pay my bills!). What really fries me is when they contact me for tech support! Having a "you owe it to me for free" attitude can get you in deep sh*t. Another friend of mine is head of security at a hardware store. He told me that I'd be surprised at who shoplifts. He's busted retired cops, university professors and well-to-do business people, often stealing small, low-dollar items. In most of these cases, he said, the attitude was, "I buy a lot of things at this store and I deserved a freebie." Oops. I like free stuff as much as the next guy. I like free software. I like free music. But nobody *owes* me free anything. And the irony is, the person who takes something for "free" because the copyright holder is a "greedy," "dishonest" corporation may be motivated in much the same way - greed "I want it, give it to me" and dishonesty. This is not to say that I think that the misuse of copyright and trademark laws is OK. I've twice been threatened by lawyers for absolutely ridiculous "infringement." It was the only time it was nice to not have much money! I told them to go ahead, but they weren't going to get much out of me. Marty > . Once again I've started a controversy. > > My original point, which perhaps I did not make terribly clear is that there is a huge corporate machine that has grown up around copyright protection, that is the main entity actually making the money, and often is operating contrary to the original artists interests. A thing can (and often does) start out with good intentions but ends up being counterproductive to the original goal. I think in the Christian music industry, this has become a bad thing. > > Perhaps I should put it this way. It is my opinion that a Christian artist should decide whether he wants to devote himself to ministry, (which does not exclude making *some* money by the way to cover expenses and needs) or else make a living at what he does. BOTH CHOICES ARE EQUALLY VALID I must emphasize. But it is a bad idea and I stress IN MY OPINION to start out calling yourself a minister, and then end up trying to get rich at it. One seems to push out the other. "You cannot serve God and Mammon" I think was the phrase. > > Again, everything is about focus and balance. > > Bob > > > On Aug 11, 2011, at 10:37 AM, Marty Knapp wrote: > >> Cool! So now all I need to do is figure out who has god-given talent (as opposed to atheistic talent or agnostic talent???) or who is "rich" and I can take what I want!!! My brother is an airline pilot - makes way more money than me. Has 5 cars, including a red '73 Chevy convertible. Maybe I'll just "borrow" it for a while, when he's on a trip to Paris. He doesn't need to know and he's rich, so it's my right! You can't drive 5 cars at the same time! Then there's my two multi-millionaire friends. They're both self-made and very generous, but it never occurred to me that because they're rich, I have a "right" to take some of their stuff that I've determined they don't need. Awesome! >> >> Marty K >>> Years ago the large Church I work for had a recording studio and a record label, so that we could produce "religious" music and not have to deal with the secular industry and the exorbitant prices they charged for use of their studios. Some artists because quite successful in their careers, as they were quite good. >>> >>> Later we bought a radio station and began playing the now wide selection of Christian music, but at one point one of the agencies that polices rights infringements approached our radio station and insisted we pay royalties to these artists (meaning the agency) for the right to use the music. Some of these artists got their start in our studios, and would never have gotten anywhere had they not started there. >>> >>> Our head Pastor was so disgusted, he banned any music from an artist who belonged to one of these agencies. Offerings on the radio were a bit slim for awhile. Now I can see someone being upset if another artist went around performing another artist's songs for money, because it was less money that the original artist charged. But the very thought of having people pay royalties on what we consider to be a "gift from God" namely the talent and the inspiration for the music seems to be... well "quenching". The moneychangers in the temple comes to mind. >>> >>> Bob From jacque at hyperactivesw.com Thu Aug 11 16:49:27 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 11 Aug 2011 15:49:27 -0500 Subject: [OT] Internet Censorship In-Reply-To: <201108111216.08332.warren@warrensweb.us> References: <1312601118358-3722715.post@n4.nabble.com> <3DBF503B-9742-4405-A1EA-99D3900282CE@twft.com> <201108111216.08332.warren@warrensweb.us> Message-ID: <4E444057.7090200@hyperactivesw.com> On 8/11/11 12:16 PM, Warren Samples wrote: > The issue of payment and distibution is far more varied > and complex than most of you seem to be aware of or willing to > consider. As consumers your interests only reflect a very limited > perspective. When faced with a decision like this, I substitute "my software" for "music" and see how I'd feel about it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jperryl at ecs.fullerton.edu Thu Aug 11 16:51:06 2011 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Thu, 11 Aug 2011 13:51:06 -0700 (PDT) Subject: [OT] Internet Censorship In-Reply-To: References: <1312601118358-3722715.post@n4.nabble.com> <4E3CBC93.70300@tkf.att.ne.jp> <1312603769993-3722757.post@n4.nabble.com> <4E3CDCDC.3090806@tkf.att.ne.jp> <1312612753765-3722888.post@n4.nabble.com> <201108060651.59433.warren@warrensweb.us> <1312643273496-3723464.post@n4.nabble.com> <4E438219.5020407@gmail.com> Message-ID: I agree wholly. However -- it's worth noting AGAIN that Steamboat Willie is STILL under copyright. If IP law continues in this direction, it and anything produced afterwards may NEVER enter the public domain. Also -- there's some controversy that the popular song, "Happy Birthday", is under copyright. O_o Judy On Thu, 11 Aug 2011, Pete wrote: > There is no justification for stealing > music, it's no different than pirating software. From capellan2000 at gmail.com Thu Aug 11 17:03:46 2011 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Thu, 11 Aug 2011 14:03:46 -0700 (PDT) Subject: [OT] Internet Censorship In-Reply-To: <014801cc5861$847e3f40$8d7abdc0$@net> References: <1312601118358-3722715.post@n4.nabble.com> <014801cc5861$847e3f40$8d7abdc0$@net> Message-ID: <1313096626411-3737275.post@n4.nabble.com> Hi Ralph, Ralph DiMola wrote: > > There's at least one other person who told their friends > to stay away from Napster. > Interesting enough, I learned first about Napster from Computer Magazines and never liked the idea. Digital stores like Amazon or iTunes and streaming audio on demand like GrooveShark are most useful. Some years ago, I read an article about services that for a low monthly price, guaranteed that your media would not be shared openly in the internet. Do not remember if this article appear in Wired, Salon or another magazine. Did anyone have a link to companies that offer that service? Thanks in advance! Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-Internet-Censorship-tp3722715p3737275.html Sent from the Revolution - User mailing list archive at Nabble.com. From pete at mollysrevenge.com Thu Aug 11 17:17:45 2011 From: pete at mollysrevenge.com (Pete) Date: Thu, 11 Aug 2011 14:17:45 -0700 Subject: [OT] Internet Censorship In-Reply-To: References: <1312601118358-3722715.post@n4.nabble.com> <4E3CBC93.70300@tkf.att.ne.jp> <1312603769993-3722757.post@n4.nabble.com> <4E3CDCDC.3090806@tkf.att.ne.jp> <1312612753765-3722888.post@n4.nabble.com> <201108060651.59433.warren@warrensweb.us> <1312643273496-3723464.post@n4.nabble.com> <4E438219.5020407@gmail.com> Message-ID: I'm thought musical works entered the public domain after some number of years (I forget how many) following the composer's death. One of the problems is that there is no international definition of public domain, all countries have their own. It's possible the publishing companies (not the composers) still hold the copyright to the songs you mentioned though. Having tried on many occasions to get the bottom of when I have to pay mechanical license fees for what I record, how I get paid performance royalties for radio stations playing my recordings, how ASCAP and BMI figure out what they pay out to their members (which actually amounts to zero unless you happen to be Bruce Springsteen or the like), it's clear to me that whole area of music copyright and royalties is a huge, impossible to understand, mess. Pete Molly's Revenge On Thu, Aug 11, 2011 at 1:51 PM, Judy Perry wrote: > I agree wholly. > > However -- it's worth noting AGAIN that Steamboat Willie is STILL under > copyright. If IP law continues in this direction, it and anything produced > afterwards may NEVER enter the public domain. > > Also -- there's some controversy that the popular song, "Happy Birthday", > is under copyright. > > O_o > > Judy > > On Thu, 11 Aug 2011, Pete wrote: > > > > There is no justification for stealing >> music, it's no different than pirating 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 jperryl at ecs.fullerton.edu Thu Aug 11 18:01:00 2011 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Thu, 11 Aug 2011 15:01:00 -0700 (PDT) Subject: Back to LC & Inventive Users In-Reply-To: References: <1312601118358-3722715.post@n4.nabble.com> <4E3CBC93.70300@tkf.att.ne.jp> <1312603769993-3722757.post@n4.nabble.com> <4E3CDCDC.3090806@tkf.att.ne.jp> <1312612753765-3722888.post@n4.nabble.com> <201108060651.59433.warren@warrensweb.us> <1312643273496-3723464.post@n4.nabble.com> <4E438219.5020407@gmail.com> Message-ID: I have a vague notion of a hands-on assignment for my classes next term involving having them use the 30-day demo and making something semi-interesting (to them) in LC. Apparently I did a really sucky job of articulating this to the first person I asked, so, here I try, try again, this time including my necessary caveats and reasons why: If you had a month, meaning, 4 long sessions or 8 shorter sessions, to get an absolute Joe Public to make something small but semi-interesting in LC, i.e., something they couldn't do in PowerPoint, what are the top 5 things you'd want them to learn about programming? I mean, I'm guessing it's something like IDE, Stack-Card metaphor, commands, functions, conditionals, variables... but I'm looking for those categories along with some specific examples per my caveats below. CAVEATS: 1. This is a General Education class meaning students either have to take this "Computers and Society" course or some biology course involving dissection. This means they don't particularly want to take this class but it strikes them as less gross than dissecting worms or heaven know what. But, seriously: nobody really wants to be there. 2. #1 above means that student engagement is a MUST. The point of the assignment is NOT to make them hate using computers. #1 also means that some of them barely know how to do attachments with email. It also means that some of them are downright computer-phobic. 3. No "Hello World." Sorry, but "Hello World" is a distinct historical and cultural artifact to which this audience simply will not relate. One of the rules of interactive system design is that using a computer to do something should always offer some seriously compelling reason to do it that way as opposed to the way they know, and writing three lines of script to put "Hello World" into a text field isn't likely to sound more compelling that simply typing it in the field themselves. The point of the assignment is NOT to turn them into programmers but to help them appreciate some of the things that go into the applications they use everyday and some of the things those programmers have to contend with/know. 4. Each step or lesson along the way needs to result in something that is engaging to the learner. Current adult learning theory is that adults need, yupp, instant gratification, or at least be able to see that they are getting somewhere. 5. No standalone production (I don't want to have to guess at what they didn't do correctly). We may do revlets though. Ideas, suggestions gratefully accepted; otherwise, I'll just wing it like I usually do. ;-) Judy From bobs at twft.com Thu Aug 11 18:47:13 2011 From: bobs at twft.com (Bob Sneidar) Date: Thu, 11 Aug 2011 15:47:13 -0700 Subject: Back to LC & Inventive Users In-Reply-To: References: <1312601118358-3722715.post@n4.nabble.com> <4E3CBC93.70300@tkf.att.ne.jp> <1312603769993-3722757.post@n4.nabble.com> <4E3CDCDC.3090806@tkf.att.ne.jp> <1312612753765-3722888.post@n4.nabble.com> <201108060651.59433.warren@warrensweb.us> <1312643273496-3723464.post@n4.nabble.com> <4E438219.5020407@gmail.com> Message-ID: <91425E3A-B723-44F0-8293-CF863380F33D@twft.com> Hmmm off the top of my head I would say first long session take them through the same kinds of things that real developers go through. Ask them at the beginning to write down their favorite thing, something that interests them most. The first session should be about the user interface. Show them how to import a graphic from one of those free icon sites (there are some good ones). Show them how to set the icon of a button to that graphic. Show them how to place fields on a form with labels, and have it be not so cluttered. Show them how to arrange things and line them up so that it is not just useful but easily grasped and pleasing to look at. Next long session should be connecting to a data source. sqLite is good for this as it is local file based and they do not have to deal with connectivity issues and authentication and the like. Have them create columns in a table, then read information from the table into fields, and save information back to the table as the user edits. Introduce them to save/cancel buttons instead of having them just spew whatever into the table. Show them how to create, edit and delete records in a table using scripting. Next lesson introduce them to web api. Have them create a place on a card where they can display a web page (may be useful at this point to create a basic web site so that mischief does not ensue). Have them send data to, and get data back from the web pages. Have them populate some fields with that information. Final week put it all together to make some kind of application in accordance with their declared hobby, which you got at the beginning of the 1st session before you told them what you are up to. Grade them on look and feel, completeness, innovation, incorporation of the things learned in the first 3 lessons. my 2? Bob On Aug 11, 2011, at 3:01 PM, Judy Perry wrote: > I have a vague notion of a hands-on assignment for my classes next term involving having them use the 30-day demo and making something semi-interesting (to them) in LC. > > Apparently I did a really sucky job of articulating this to the first person I asked, so, here I try, try again, this time including my necessary caveats and reasons why: > > If you had a month, meaning, 4 long sessions or 8 shorter sessions, to get an absolute Joe Public to make something small but semi-interesting in LC, i.e., something they couldn't do in PowerPoint, what are the top 5 things you'd want them to learn about programming? > > I mean, I'm guessing it's something like IDE, Stack-Card metaphor, commands, functions, conditionals, variables... but I'm looking for those categories along with some specific examples per my caveats below. > > CAVEATS: > > 1. This is a General Education class meaning students either have to take this "Computers and Society" course or some biology course involving dissection. This means they don't particularly want to take this class but it strikes them as less gross than dissecting worms or heaven know what. But, seriously: nobody really wants to be there. > > 2. #1 above means that student engagement is a MUST. The point of the assignment is NOT to make them hate using computers. #1 also means that some of them barely know how to do attachments with email. It also means that some of them are downright computer-phobic. > > 3. No "Hello World." Sorry, but "Hello World" is a distinct historical and cultural artifact to which this audience simply will not relate. One of the rules of interactive system design is that using a computer to do something should always offer some seriously compelling reason to do it that way as opposed to the way they know, and writing three lines of script to put "Hello World" into a text field isn't likely to sound more compelling that simply typing it in the field themselves. The point of the assignment is NOT to turn them into programmers but to help them appreciate some of the things that go into the applications they use everyday and some of the things those programmers have to contend with/know. > > 4. Each step or lesson along the way needs to result in something that is engaging to the learner. Current adult learning theory is that adults need, yupp, instant gratification, or at least be able to see that they are getting somewhere. > > 5. No standalone production (I don't want to have to guess at what they didn't do correctly). We may do revlets though. > > Ideas, suggestions gratefully accepted; otherwise, I'll just wing it like I usually do. ;-) > > Judy > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From tsj at unimelb.edu.au Thu Aug 11 19:14:13 2011 From: tsj at unimelb.edu.au (Terry Judd) Date: Thu, 11 Aug 2011 23:14:13 +0000 Subject: Back to LC & Inventive Users In-Reply-To: References: <1312601118358-3722715.post@n4.nabble.com> <4E3CBC93.70300@tkf.att.ne.jp> <1312603769993-3722757.post@n4.nabble.com> <4E3CDCDC.3090806@tkf.att.ne.jp> <1312612753765-3722888.post@n4.nabble.com> <201108060651.59433.warren@warrensweb.us> <1312643273496-3723464.post@n4.nabble.com> <4E438219.5020407@gmail.com> Message-ID: <917B76BB-3986-4F94-B281-9D1C8DFA7B35@unimelb.edu.au> I've had to build screen capture capabilities into a number of projects over the last few years and generally have a lot of fun doing it. Perhaps not the easiest task to begin with but broken down into a series of lessons should be doable. A simple tool could allow the user to drag out a selection area (using import snapshot) and then place the image in its own (resized) window. Once there let the user doodle on it (using a freehand draw graphic) and save the result to an image file. For extra complexity add in the ability to change colours and pen sizes. Terry... On 12/08/2011, at 08:01 AM, Judy Perry wrote: > I have a vague notion of a hands-on assignment for my classes next term involving having them use the 30-day demo and making something semi-interesting (to them) in LC. > > Apparently I did a really sucky job of articulating this to the first person I asked, so, here I try, try again, this time including my necessary caveats and reasons why: > > If you had a month, meaning, 4 long sessions or 8 shorter sessions, to get an absolute Joe Public to make something small but semi-interesting in LC, i.e., something they couldn't do in PowerPoint, what are the top 5 things you'd want them to learn about programming? > > I mean, I'm guessing it's something like IDE, Stack-Card metaphor, commands, functions, conditionals, variables... but I'm looking for those categories along with some specific examples per my caveats below. > > CAVEATS: > > 1. This is a General Education class meaning students either have to take this "Computers and Society" course or some biology course involving dissection. This means they don't particularly want to take this class but it strikes them as less gross than dissecting worms or heaven know what. But, seriously: nobody really wants to be there. > > 2. #1 above means that student engagement is a MUST. The point of the assignment is NOT to make them hate using computers. #1 also means that some of them barely know how to do attachments with email. It also means that some of them are downright computer-phobic. > > 3. No "Hello World." Sorry, but "Hello World" is a distinct historical and cultural artifact to which this audience simply will not relate. One of the rules of interactive system design is that using a computer to do something should always offer some seriously compelling reason to do it that way as opposed to the way they know, and writing three lines of script to put "Hello World" into a text field isn't likely to sound more compelling that simply typing it in the field themselves. The point of the assignment is NOT to turn them into programmers but to help them appreciate some of the things that go into the applications they use everyday and some of the things those programmers have to contend with/know. > > 4. Each step or lesson along the way needs to result in something that is engaging to the learner. Current adult learning theory is that adults need, yupp, instant gratification, or at least be able to see that they are getting somewhere. > > 5. No standalone production (I don't want to have to guess at what they didn't do correctly). We may do revlets though. > > Ideas, suggestions gratefully accepted; otherwise, I'll just wing it like I usually do. ;-) > > Judy > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From martyknapp at comcast.net Thu Aug 11 19:22:04 2011 From: martyknapp at comcast.net (Marty Knapp) Date: Thu, 11 Aug 2011 16:22:04 -0700 Subject: [OT] You know when you've been coding too long when . . . Message-ID: <4E44641C.6090505@comcast.net> You know you've been coding too long in LiveCode, when you go over to your word processor to type a letter and you tap the enter key twice to save and close . . . ! (Or am I the only one?) Marty K From livecode.list at gmail.com Thu Aug 11 20:19:15 2011 From: livecode.list at gmail.com (Chip Thomas) Date: Thu, 11 Aug 2011 17:19:15 -0700 Subject: Cursor woes Message-ID: Having some trouble changing the cursor, and hope someone can help shed some light on the topic. I have a "mouseEnter" script on the main card that checks if the target is a "button". If it's a button, it sets the cursor to hand. If not, it sets it to arrow. I've tried implementing this in two different projects. One project is a launcher system where the standalone just launches a separate main stack file. The cursor script is on the card of this stack file. In this project, I don't get any cursor changes except when in the development environment. The second project is just a regular standalone with the cursor script on the main card of the standalone. I do get a cursor change, but I get a watch rather than a hand. Argh! Any help would be much appreciated. From gandalf at doctorTimothyMiller.com Thu Aug 11 21:44:16 2011 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Thu, 11 Aug 2011 18:44:16 -0700 Subject: Back to LC & Inventive Users In-Reply-To: References: <1312601118358-3722715.post@n4.nabble.com> <4E3CBC93.70300@tkf.att.ne.jp> <1312603769993-3722757.post@n4.nabble.com> <4E3CDCDC.3090806@tkf.att.ne.jp> <1312612753765-3722888.post@n4.nabble.com> <201108060651.59433.warren@warrensweb.us> <1312643273496-3723464.post@n4.nabble.com> <4E438219.5020407@gmail.com> Message-ID: <4BB054DD-1617-496F-9797-DA1A3B7C8312@doctorTimothyMiller.com> Maybe interactive tutorial or flash-card type projects that will help your students succeed in their other subjects. When my kids were grades 1-2-3 I used hypercard to write a number of really cool phonics instruction stacks. Kept adding features. Text-to-speech. Rhyming. English-like phonics combinations that aren't really English words. Keeping track of difficulty and success, identifying which items have been learned to criterion, which ones need more practice. It's easy enough to do the same sort of thing with math facts, vocabulary, chemistry, or whatever. The basics for this kind of stack are pretty easy. Because LC is object-oriented, it's easy and fun for the more capable students to attempt new and creative features. They learn nothing bad happens if they click on a button that has a bad script in it. You can start with really basic functionality and gradually add features, in accordance with criterion 4, below. Similar projects might include interactive personal journal or diary projects. Many possibilities for organizing creative writing, if some of your students are into that. How about a "bucket list" stack. I.e., keeping track of the things I want to do before I die, and how to make them happen. The usual hyperCard tutorial stacks included address books, index your CDs (now DVDs or MP3s). These were good learning experiences that could produce truly useful stacks. Tim On Aug 11, 2011, at 3:01 PM, Judy Perry wrote: > I have a vague notion of a hands-on assignment for my classes next term involving having them use the 30-day demo and making something semi-interesting (to them) in LC. > > Apparently I did a really sucky job of articulating this to the first person I asked, so, here I try, try again, this time including my necessary caveats and reasons why: > > If you had a month, meaning, 4 long sessions or 8 shorter sessions, to get an absolute Joe Public to make something small but semi-interesting in LC, i.e., something they couldn't do in PowerPoint, what are the top 5 things you'd want them to learn about programming? > > I mean, I'm guessing it's something like IDE, Stack-Card metaphor, commands, functions, conditionals, variables... but I'm looking for those categories along with some specific examples per my caveats below. > > CAVEATS: > > 1. This is a General Education class meaning students either have to take this "Computers and Society" course or some biology course involving dissection. This means they don't particularly want to take this class but it strikes them as less gross than dissecting worms or heaven know what. But, seriously: nobody really wants to be there. > > 2. #1 above means that student engagement is a MUST. The point of the assignment is NOT to make them hate using computers. #1 also means that some of them barely know how to do attachments with email. It also means that some of them are downright computer-phobic. > > 3. No "Hello World." Sorry, but "Hello World" is a distinct historical and cultural artifact to which this audience simply will not relate. One of the rules of interactive system design is that using a computer to do something should always offer some seriously compelling reason to do it that way as opposed to the way they know, and writing three lines of script to put "Hello World" into a text field isn't likely to sound more compelling that simply typing it in the field themselves. The point of the assignment is NOT to turn them into programmers but to help them appreciate some of the things that go into the applications they use everyday and some of the things those programmers have to contend with/know. > > 4. Each step or lesson along the way needs to result in something that is engaging to the learner. Current adult learning theory is that adults need, yupp, instant gratification, or at least be able to see that they are getting somewhere. > > 5. No standalone production (I don't want to have to guess at what they didn't do correctly). We may do revlets though. > > Ideas, suggestions gratefully accepted; otherwise, I'll just wing it like I usually do. ;-) > > Judy From jperryl at ecs.fullerton.edu Thu Aug 11 23:10:48 2011 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Thu, 11 Aug 2011 20:10:48 -0700 (PDT) Subject: Back to LC & Inventive Users In-Reply-To: <4BB054DD-1617-496F-9797-DA1A3B7C8312@doctorTimothyMiller.com> References: <1312601118358-3722715.post@n4.nabble.com> <4E3CBC93.70300@tkf.att.ne.jp> <1312603769993-3722757.post@n4.nabble.com> <4E3CDCDC.3090806@tkf.att.ne.jp> <1312612753765-3722888.post@n4.nabble.com> <201108060651.59433.warren@warrensweb.us> <1312643273496-3723464.post@n4.nabble.com> <4E438219.5020407@gmail.com> <4BB054DD-1617-496F-9797-DA1A3B7C8312@doctorTimothyMiller.com> Message-ID: Many kind thanks to all who have thus far replied :-) Tim: > The usual hyperCard tutorial stacks included address books, index your CDs (now DVDs or MP3s). These were good learning experiences that could produce truly useful stacks. --This was another matter I was pondering: exactly what kinds of scaffolding materials to provide. I clearly don't have the time to duplicate all the ReadyMade template stacks provided, but remember with particular fondness the "ReadyMade Fields" and "ReadyMade Buttons" stacks. For example, one of the things we will be discussing that unit is the disaster of the Therac-25, in which a mechanical safety lock was removed which prevented the device operator from inadvertently inputting a lethal amount of radiation. I might give them an assignment to create a card that has a button requesting the user to input a radiation amount and have them check the char count or some such thing of anything beyond a therapeutical amount; have it check minimum and maximum. This is one example of the sorts of learning outcomes I'm looking to reinforce. The problem of division by zero is another. (These are admittedly uncool, unengaging examples, but they could be sub-assignments that teach a concept that lead to their creating something pertaining to their own interest using certain concepts taught.) And thank you for mentioning TTS. Anybody can type "Hello World" into a field, but not everybody knows how to make their computer talk, much less using goofy Mac OS voices ;-) No, it's not very important in learning to program but it IS engaging and thus possibly want to try harder things. Judy From pete at mollysrevenge.com Fri Aug 12 00:41:49 2011 From: pete at mollysrevenge.com (Pete) Date: Thu, 11 Aug 2011 21:41:49 -0700 Subject: dispatch and the target Message-ID: I have a situation where I want to dispatch a message from a preopenstack handler to a stack in an external library stack which, at the time of the dispatch, has not yet been loaded into memory. The handler for the message in the external stack carries out various initialization functions, including setting a custom property in the the stack that issued the dispatch command. The dispatch methodology works fine but I'm finding that using "the target" or "me" in the external stack's handler resolves to the external library stack file not the stack that issued the dispatch command. I can, of course, include the name of the dispatching stack as a parameter to the handler but I'm wondering if there is a way to track down the dispatching stack's name in these circumstances. Thanks, Pete Molly's Revenge From mwieder at ahsoftware.net Fri Aug 12 01:43:14 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 11 Aug 2011 22:43:14 -0700 Subject: dispatch and the target In-Reply-To: References: Message-ID: <16016590000.20110811224314@ahsoftware.net> Pete- Thursday, August 11, 2011, 9:41:49 PM, you wrote: > The dispatch methodology works fine but I'm finding that using "the target" > or "me" in the external stack's handler resolves to the external library > stack file not the stack that issued the dispatch command. I can, of > course, include the name of the dispatching stack as a parameter to the > handler but I'm wondering if there is a way to track down the dispatching > stack's name in these circumstances. In short, if you've gotten into this situation then it's time to rearchitect your application. You shouldn't have to ask this question. You're fighting the message path, and while what you want to do can be done, it ain't the right way to do things. That said, if you don't want to pass the calling stack as an argument you need to look at the executionContexts to get the call stack. -- -Mark Wieder mwieder at ahsoftware.net From richmondmathewson at gmail.com Fri Aug 12 02:24:21 2011 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Fri, 12 Aug 2011 09:24:21 +0300 Subject: [OT] Internet Censorship In-Reply-To: <4E444057.7090200@hyperactivesw.com> References: <1312601118358-3722715.post@n4.nabble.com> <3DBF503B-9742-4405-A1EA-99D3900282CE@twft.com> <201108111216.08332.warren@warrensweb.us> <4E444057.7090200@hyperactivesw.com> Message-ID: <4E44C715.5020003@gmail.com> On 08/11/2011 11:49 PM, J. Landman Gay wrote: > On 8/11/11 12:16 PM, Warren Samples wrote: >> The issue of payment and distibution is far more varied >> and complex than most of you seem to be aware of or willing to >> consider. As consumers your interests only reflect a very limited >> perspective. > > When faced with a decision like this, I substitute "my software" for > "music" and see how I'd feel about it. > My software comes in two versions: the FREE version and the ever-progressing 30 day "Demo" (which is fully functional). I am well aware that IFF my 'Pro' ever becomes successful people will start pirating it [in fact I found my FREE version on a pirate site, when doing a Google to see how 'viral' it was; the ultimate accolade], therefore I run a school to fill my fridge. I also make some money running around sorting out people's computers. I don't steal software (and as I can really not afford anything I use Open Source alternatives) and I don't download music I don't already own. However, I have downloaded mp3 files of my favourite gramophone records; as far as I can see, the only difference between that and hooking my gramophone up to the computer and converting the music is a matter of blood, sweat and tears. So far I have made the princely sum of 8 Euros from my software . . . :) From richmondmathewson at gmail.com Fri Aug 12 02:29:21 2011 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Fri, 12 Aug 2011 09:29:21 +0300 Subject: Back to LC & Inventive Users In-Reply-To: References: <1312601118358-3722715.post@n4.nabble.com> <4E3CBC93.70300@tkf.att.ne.jp> <1312603769993-3722757.post@n4.nabble.com> <4E3CDCDC.3090806@tkf.att.ne.jp> <1312612753765-3722888.post@n4.nabble.com> <201108060651.59433.warren@warrensweb.us> <1312643273496-3723464.post@n4.nabble.com> <4E438219.5020407@gmail.com> Message-ID: <4E44C841.8080900@gmail.com> On 08/12/2011 01:01 AM, Judy Perry wrote: > I have a vague notion of a hands-on assignment for my classes next > term involving having them use the 30-day demo and making something > semi-interesting (to them) in LC. > > Apparently I did a really sucky job of articulating this to the first > person I asked, so, here I try, try again, this time including my > necessary caveats and reasons why: > > If you had a month, meaning, 4 long sessions or 8 shorter sessions, to > get an absolute Joe Public to make something small but > semi-interesting in LC, i.e., something they couldn't do in > PowerPoint, what are the top 5 things you'd want them to learn about > programming? > > I mean, I'm guessing it's something like IDE, Stack-Card metaphor, > commands, functions, conditionals, variables... but I'm looking for > those categories along with some specific examples per my caveats below. > > CAVEATS: > > 1. This is a General Education class meaning students either have to > take this "Computers and Society" course or some biology course > involving dissection. This means they don't particularly want to take > this class but it strikes them as less gross than dissecting worms or > heaven know what. But, seriously: nobody really wants to be there. > > 2. #1 above means that student engagement is a MUST. The point of > the assignment is NOT to make them hate using computers. #1 also > means that some of them barely know how to do attachments with email. > It also means that some of them are downright computer-phobic. > > 3. No "Hello World." Sorry, but "Hello World" is a distinct > historical and cultural artifact to which this audience simply will > not relate. One of the rules of interactive system design is that > using a computer to do something should always offer some seriously > compelling reason to do it that way as opposed to the way they know, > and writing three lines of script to put "Hello World" into a text > field isn't likely to sound more compelling that simply typing it in > the field themselves. The point of the assignment is NOT to turn them > into programmers but to help them appreciate some of the things that > go into the applications they use everyday and some of the things > those programmers have to contend with/know. > > 4. Each step or lesson along the way needs to result in something > that is engaging to the learner. Current adult learning theory is > that adults need, yupp, instant gratification, or at least be able to > see that they are getting somewhere. > > 5. No standalone production (I don't want to have to guess at what > they didn't do correctly). We may do revlets though. > > Ideas, suggestions gratefully accepted; otherwise, I'll just wing it > like I usually do. ;-) I, in these type of situations, get them to make a "copy" of a pocket calculator. However, I "don't know" what " IDE, Stack-Card metaphor, commands, functions, conditionals, variables..." are . . . I "do know" what 'containers' and 'beads' are! Certainly, a calculator that can do +, -, * and / in 90 minutes is fairly good in the instant grats stakes. > > Judy > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Fri Aug 12 02:37:26 2011 From: admin at FlexibleLearning.com (FlexibleLearning) Date: Fri, 12 Aug 2011 07:37:26 +0100 Subject: Cursor woes In-Reply-To: Message-ID: Looks like 2 issues here. First getting the cursor to stick; second getting the correct cursor display. Lock/Unlock cursor should resolve the first; importing and using your own cursor image should resolve the second. local cHand=999100 local cArrow=999101 on mouseEnter if "button" is word 1 of the target then set the cursor to cHand else set the cursor to cArrow lock cursor end mouseEnter on mouseLeave unlock cursor pass mouseLeave end mouseLeave Hugh Senior FLCo ------------------------------------ Chip Thomas wrote: Having some trouble changing the cursor, and hope someone can help shed some light on the topic. I have a "mouseEnter" script on the main card that checks if the target is a "button". If it's a button, it sets the cursor to hand. If not, it sets it to arrow. I've tried implementing this in two different projects. One project is a launcher system where the standalone just launches a separate main stack file. The cursor script is on the card of this stack file. In this project, I don't get any cursor changes except when in the development environment. The second project is just a regular standalone with the cursor script on the main card of the standalone. I do get a cursor change, but I get a watch rather than a hand. Argh! Any help would be much appreciated. From pete at mollysrevenge.com Fri Aug 12 02:50:56 2011 From: pete at mollysrevenge.com (Pete) Date: Thu, 11 Aug 2011 23:50:56 -0700 Subject: dispatch and the target In-Reply-To: <16016590000.20110811224314@ahsoftware.net> References: <16016590000.20110811224314@ahsoftware.net> Message-ID: I'll check out the executionContexts. The reason for the architecture is to make it as easy as possible for users of the utility to start using its library, install its front scripts, get its behavior scripts recognised and open it's internal files. With this architecture, the only statement they need to include in their application initialisation script is this one dispatch command instead of a start using, an insert front script, setting the correct stackFiles property, and opening several files. I'm quite open to other suggestions as to how else to do this - so far this is the shortest way I can think of. Pete Molly's Revenge On Thu, Aug 11, 2011 at 10:43 PM, Mark Wieder wrote: > Pete- > > Thursday, August 11, 2011, 9:41:49 PM, you wrote: > > > The dispatch methodology works fine but I'm finding that using "the > target" > > or "me" in the external stack's handler resolves to the external library > > stack file not the stack that issued the dispatch command. I can, of > > course, include the name of the dispatching stack as a parameter to the > > handler but I'm wondering if there is a way to track down the dispatching > > stack's name in these circumstances. > > In short, if you've gotten into this situation then it's time to > rearchitect your application. You shouldn't have to ask this question. > You're fighting the message path, and while what you want to do can be > done, it ain't the right way to do things. > > That said, if you don't want to pass the calling stack as an argument > you need to look at the executionContexts to get the call stack. > > -- > -Mark Wieder > mwieder at ahsoftware.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 > > From scott at tactilemedia.com Fri Aug 12 02:56:47 2011 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 11 Aug 2011 23:56:47 -0700 Subject: Back to LC & Inventive Users In-Reply-To: Message-ID: Recently, Judy Perry wrote: > If you had a month, meaning, 4 long sessions or 8 shorter sessions, to get > an absolute Joe Public to make something small but semi-interesting in LC, > i.e., something they couldn't do in PowerPoint, what are the top 5 things > you'd want them to learn about programming? > > I mean, I'm guessing it's something like IDE, Stack-Card metaphor, > commands, functions, conditionals, variables... but I'm looking for those > categories along with some specific examples per my caveats below. Looking at this from a project point of view, I'd suggest building a music player and/or media player. There are a bunch of concepts to learn: - media/file handling - control logic - interface layout and display Seeing and/or hearing the results of a project can be very gratifying for students who are new to programming. Other possibilities: - Calculator - Clock (digital and/or analog) - Simon game Regards, Scott Rossi Creative Director Tactile Media, UX Design From dave.cragg at lacscentre.co.uk Fri Aug 12 04:42:12 2011 From: dave.cragg at lacscentre.co.uk (Dave Cragg) Date: Fri, 12 Aug 2011 09:42:12 +0100 Subject: Back to LC & Inventive Users In-Reply-To: References: <1312601118358-3722715.post@n4.nabble.com> <4E3CBC93.70300@tkf.att.ne.jp> <1312603769993-3722757.post@n4.nabble.com> <4E3CDCDC.3090806@tkf.att.ne.jp> <1312612753765-3722888.post@n4.nabble.com> <201108060651.59433.warren@warrensweb.us> <1312643273496-3723464.post@n4.nabble.com> <4E438219.5020407@gmail.com> Message-ID: <77251463-22D2-4359-8DA2-A8DACDE2603B@lacscentre.co.uk> On 11 Aug 2011, at 23:01, Judy Perry wrote: > If you had a month, meaning, 4 long sessions or 8 shorter sessions, to get an absolute Joe Public to make something small but semi-interesting in LC, i.e., something they couldn't do in PowerPoint, what are the top 5 things you'd want them to learn about programming? Back when I was at school, I remember we had a chance to do a chemistry project that wasn't on the regular curriculum. We had a choice of projects, making alcohol, making an explosive, and I don't remember the other choices, which is probably significant. No educational goals were presented to us, and it's still not clear whether the teacher had any in mind. All in all, it was successful. I was in one of the alcohol groups. We discovered that failure could be enjoyable and educational. (Do you know difficult it is to extract starch from potatoes?) So along these lines, I was wondering whether there are any programming projects that might attract the interest of x-year olds. (You didn't give us the age of the students.) - Personality survey (What questions would you ask to discover someone's personality. Interface for delivering questions. Methods for collecting/storing answers. Some logic for identifying certain personality types. Methods for aggregating data and presenting results.) - Image manipulator. (Provide an image of someone wearing a pink (for example) tee shirt. They must devise a program that allows the color of the tee shirt to be changed.) Ideas all dried up... > some of them barely know how to do attachments with email That doesn't stope me trying to program. :-) Dave From scott at elementarysoftware.com Fri Aug 12 04:48:49 2011 From: scott at elementarysoftware.com (Scott Morrow) Date: Fri, 12 Aug 2011 01:48:49 -0700 Subject: Back to LC & Inventive Users In-Reply-To: References: Message-ID: <9A831F58-B8E3-4585-8F1A-3699AD8A6F76@elementarysoftware.com> Hello Judy, I agree that games can offer lots of opportunities and the students have a reasonable understanding of what they are trying to do and why. Mr. Rossi mentioned Simon. Board games can use "dice", special direction "cards", a timer or countdown gauge, and a way to keep score? all allowing incremental additions to the complexity. I find Magic 8 Ball and Mad Libs are also good games for first time projects. Sincerely, Scott Morrow Elementary Software (Now with 20% less chalk dust!) web http://elementarysoftware.com/ email scott at elementarysoftware.com ------------------------------------------------------ On Aug 11, 2011, at 11:56 PM, Scott Rossi wrote: > Recently, Judy Perry wrote: > >> If you had a month, meaning, 4 long sessions or 8 shorter sessions, to get >> an absolute Joe Public to make something small but semi-interesting in LC, >> i.e., something they couldn't do in PowerPoint, what are the top 5 things >> you'd want them to learn about programming? >> >> I mean, I'm guessing it's something like IDE, Stack-Card metaphor, >> commands, functions, conditionals, variables... but I'm looking for those >> categories along with some specific examples per my caveats below. > > Looking at this from a project point of view, I'd suggest building a music > player and/or media player. There are a bunch of concepts to learn: > - media/file handling > - control logic > - interface layout and display > > Seeing and/or hearing the results of a project can be very gratifying for > students who are new to programming. > > Other possibilities: > - Calculator > - Clock (digital and/or analog) > - Simon game > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX 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 chipp at chipp.com Fri Aug 12 05:57:08 2011 From: chipp at chipp.com (Chipp Walters) Date: Fri, 12 Aug 2011 04:57:08 -0500 Subject: Back to LC & Inventive Users In-Reply-To: <9A831F58-B8E3-4585-8F1A-3699AD8A6F76@elementarysoftware.com> References: <9A831F58-B8E3-4585-8F1A-3699AD8A6F76@elementarysoftware.com> Message-ID: Hi Judy, You undoubtably have more experience and understanding than most of us with regard to what interests your students and what they are ultimately capable of. I assume it's imperative to keep things as simple as possible as students can get overwhelmed quickly. That said, I believe an ultra simple database, using one card for each record might be a good idea. It could be a recipe book, christmas card list, address book, music collection, shopping list, or some other simple project. I would probably start off with everyone creating a single 'master' card, with a prev and next button, and a plus button (for add new card/record). Let them import graphics to this master card and when done, they can then start to populate their list. You can teach them to save their stack next, perhaps a save button, or a closeCard handler which saves the stack every time a card is changed. They can continue to add buttons to their master card (and thus all the cards) by adding a Delete button, and later a Home button, and for those more advanced, perhaps a Print Card button. They can use transitions for the next/prev buttons to show the cards sliding left and right or up and down. I wouldn't be too concerned with interface design, and just let them experiment. Add the card number in the upper right. Have the card speak it's title when opened. The fun is in playing around, not sticking to a specific UIX philosophy. Then, add a Home card. From here you can search the cards for a specific piece of data. Perhaps it has a "report" card which can sum up the other cards as in "show me a list of all the recipes (cards) which require eggs." Clicking on a list item takes you directly to the recipe card. IMHO, this does not take too much programming, and is extensible (print feature, import, export, etc.) for those more advanced, yet fairly easy to understand and implement for those less advanced. One thing I remember taking my first CS class in college was how hard it was to grasp procedural program flow. Even with Basic and Fortran, it was difficult, but then we were punching our commands onto Hollerith cards;-) Because of this, I'd stay away from too much program logic at first-- just some basics like: go next card go prev card go card "home" with visual effect dissolve create new card delete card save this stack find "egg" etc.. Then, once you're to the Home card, you can start adding conditional logic and repeat loops-- if you want. put empty into theFoundList repeat with x=2 to the number of cards go card x if "egg" is in field "recipe" then put the short name of card x & return into theFoundList end if end repeat delete the last character of theFoundList go to card "home" put theFoundList into field "searchResults" Then the next exercise would be to script the "searchResults" list field to go to a card when clicked on. HTH -- Chipp Walters CEO, Shafer Walters Group, Inc. From chipp at chipp.com Fri Aug 12 06:11:06 2011 From: chipp at chipp.com (Chipp Walters) Date: Fri, 12 Aug 2011 05:11:06 -0500 Subject: Back to LC & Inventive Users In-Reply-To: References: <1312601118358-3722715.post@n4.nabble.com> <4E3CBC93.70300@tkf.att.ne.jp> <1312603769993-3722757.post@n4.nabble.com> <4E3CDCDC.3090806@tkf.att.ne.jp> <1312612753765-3722888.post@n4.nabble.com> <201108060651.59433.warren@warrensweb.us> <1312643273496-3723464.post@n4.nabble.com> <4E438219.5020407@gmail.com> Message-ID: I should mention, when I talked about importing graphics, I meant background graphics for the master card, so as to personalize the stack and hopefully make it more fun for the student. Nothing too advanced! FWIW, I wouldn't delve too much into the whole IDE and language at this stage, but focus more on letting them play around and ask questions. In and right after college, I taught tennis at a few tennis clubs, and the goal at first was just to have the student make contact with the ball and get it over the net. They could hold the racquet however they wanted, with one or two hands. We didnt care about footwork, only that they try and hit the ball in the center of the racquet and over the net. We didn't teach technique until they could at least knock it around a bit. I've always thought it a great way to teach a subject by letting the process of curiosity and discovery create further interest, then move on to the specific techniques and rote implementations. Just 2 cents. -- Chipp Walters CEO, Shafer Walters Group, Inc. -- Chipp Walters CEO, Shafer Walters Group, Inc. From dirk.cleenwerck at gmail.com Fri Aug 12 06:34:13 2011 From: dirk.cleenwerck at gmail.com (dirk cleenwerck) Date: Fri, 12 Aug 2011 12:34:13 +0200 Subject: [OT] Internet Censorship In-Reply-To: <4E444057.7090200@hyperactivesw.com> References: <1312601118358-3722715.post@n4.nabble.com> <3DBF503B-9742-4405-A1EA-99D3900282CE@twft.com> <201108111216.08332.warren@warrensweb.us> <4E444057.7090200@hyperactivesw.com> Message-ID: But we don't distribute our software through mega-corporations that then collect and keep most of the proceeds. Even Apple only collects 30% for being a channel where we sell our software. I would bet that if the corporations gave the artist an honest part of the money they collect from sales, the artists would be much better off. It's a bit simplistic to blame the fact that it's hard to make money making music on just illegal downloads (I use iTunes myself, but always wonder how much of the money I pay actually ends up with the artist). The corporations collect the money and pay out what they see as fair, whether it is for sales of cd's, legal music downloads, airplay on the radio or even live performances. I consider the tactics used by the music and movie industry to be only one step away from the mafia. The day might come where everybody gets monitored on the internet at the ISP level and people organizing spring revolutions get put in jail thanks to the tech put in place by the music and movie industry. And when it comes to having a right to the money of the rich, I think you would have president Obama on your side. Dirk Cleenwerck. On Thu, Aug 11, 2011 at 10:49 PM, J. Landman Gay wrote: > On 8/11/11 12:16 PM, Warren Samples wrote: > >> The issue of payment and distibution is far more varied >> and complex than most of you seem to be aware of or willing to >> consider. As consumers your interests only reflect a very limited >> perspective. >> > > When faced with a decision like this, I substitute "my software" for > "music" and see how I'd feel about it. > > -- > 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 pmbrig at gmail.com Fri Aug 12 08:20:38 2011 From: pmbrig at gmail.com (Peter M. Brigham, MD) Date: Fri, 12 Aug 2011 08:20:38 -0400 Subject: [OT] You know when you've been coding too long when . . . In-Reply-To: <4E44641C.6090505@comcast.net> References: <4E44641C.6090505@comcast.net> Message-ID: On Aug 11, 2011, at 7:22 PM, Marty Knapp wrote: > You know you've been coding too long in LiveCode, when you go over to your word processor to type a letter and you tap the enter key twice to save and close . . . ! (Or am I the only one?) Nope, not the only one. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From williamdesmet at gmail.com Fri Aug 12 08:34:04 2011 From: williamdesmet at gmail.com (William de Smet) Date: Fri, 12 Aug 2011 14:34:04 +0200 Subject: PDF printing iOS - am I missing something? Message-ID: Hi there, Is it possible yet to generate a PDF file from within an iOS app and then save it, open it or Airprint it? Just like on my desktop app I want the user to print a drawing to PDF. on mouseUp open printing to pdf "test.pdf" ? if the result is "Cancel" then exit mouseup print this card from 13,7 to 770,763 close printing end mouseUp Greetings, William From pmbrig at gmail.com Fri Aug 12 08:39:48 2011 From: pmbrig at gmail.com (Peter M. Brigham, MD) Date: Fri, 12 Aug 2011 08:39:48 -0400 Subject: Cursor woes In-Reply-To: References: Message-ID: <7F98028C-05AD-466F-B218-CDF4573CAC73@gmail.com> I much prefer never to lock the cursor -- it tends to stay locked at odd moments. Instead try setting "the defaultcursor." The problem of your cursor changes not happening as expected probably comes down to where the script is -- it may not be in the message path for some reason, maybe you are trapping mousemove in some individual controls, etc. One approach is to use a frontscript: Put these in the script of card 1 of your standalone main stack on openstack insert the script of btn "myFrontScript" of stack "someStack" into front pass openstack end openstack /* If you're working in the IDE, you might want to put this in the same place, so the frontscript down't persist when you move on to other projects: on closestack remove the script of btn "myFrontScript" of stack "someStack" from front pass closestack end closestack */ Script of btn "myFrontScript": on mousemove if "button" is word 1 of the target then set the defaultcursor to hand else set the defaultcursor to empty end if pass mousemove -- important! end mousemove -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Aug 12, 2011, at 2:37 AM, FlexibleLearning wrote: > Looks like 2 issues here. First getting the cursor to stick; second getting > the correct cursor display. > > Lock/Unlock cursor should resolve the first; importing and using your own > cursor image should resolve the second. > > local cHand=999100 > local cArrow=999101 > > on mouseEnter > if "button" is word 1 of the target then > set the cursor to cHand > else set the cursor to cArrow > lock cursor > end mouseEnter > > on mouseLeave > unlock cursor > pass mouseLeave > end mouseLeave > > > Hugh Senior > FLCo > > ------------------------------------ > Chip Thomas wrote: > > Having some trouble changing the cursor, and hope someone can help shed some > light on the topic. > > I have a "mouseEnter" script on the main card that checks if the target is a > "button". If it's a button, it sets the cursor to hand. If not, it sets it > to arrow. > > I've tried implementing this in two different projects. > > One project is a launcher system where the standalone just launches a > separate main stack file. The cursor script is on the card of this stack > file. In this project, I don't get any cursor changes except when in the > development environment. > > The second project is just a regular standalone with the cursor script on > the main card of the standalone. I do get a cursor change, but I get a > watch rather than a hand. > > Argh! Any help would be much appreciated. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bvg at mac.com Fri Aug 12 10:20:46 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Fri, 12 Aug 2011 16:20:46 +0200 Subject: [NO-ANN] LiveCode.tv event canceled In-Reply-To: References: <6B865405-BBC0-491C-AD25-BFB1C85A2D58@mac.com> <7EC6A85B-DD6B-4138-A597-512A194F4453@mac.com> <89782C22-C6E3-4245-95D1-A48F69423753@mac.com> <061D9182-B34B-4ABB-A7D6-9C2D09DA8755@mac.com> <73F84954-890B-4627-859A-702C8054F13B@mac.com> <093DEF5E-6C0F-4924-A262-F6DBE748ED45@mac.com> <3FB852C9-5675-4A19-9506-543733BB2547@mac.com> <914DF999-596E-4023-A213-9469C6A69FA0@mac.com> <2B105965-FB27-41D0-B95F-1F4C84ADD53B@mac.com> <163225D1-67D1-4CE7-8049-E85A8D94D177@mac.com> <225B0941-5D11-434A-BC0B-CD61B998E9F8@mac.com> <201756EB-9601-417D-856E-5128C5256EF1@mac.com> <081FD717-0A48-447D-90AA-A8F370B14F43@mac.com> <913B7E78-3052-4CF0-9883-C1CDD9F8BDFA@mac.com> <0C1B6D89-1745-46DF-9C49-A5FE2E5B67B9@mac.com> <497CC7C9-74BC-419C-9785-CEA07A8FE181@mac.com> Message-ID: Due to lack of volunteers, this weekends livecode.tv event is canceled. Please step up and contact me to present on any (other) date, for the benefit of all. cheers Bj?rnke -- Watch live presentations every Saturday: http://livecode.tv Use an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ From capellan2000 at gmail.com Fri Aug 12 11:04:26 2011 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Fri, 12 Aug 2011 08:04:26 -0700 (PDT) Subject: Back to LC & Inventive Users In-Reply-To: References: <1312643273496-3723464.post@n4.nabble.com> <4E438219.5020407@gmail.com> Message-ID: <1313161466197-3739541.post@n4.nabble.com> Hi Judy, I like Chipp's ideas. You could implement them with a project that your students could use, after your classes are completed. For example, put your student to create their personal "Creativity Journal" http://en.wikipedia.org/wiki/Oblique_Strategies In this diary, they could "stretch" their creative point of view of any subject, when they analize it under the suggestions offered by the messages of the "Oblique Strategies" decks. Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-Internet-Censorship-tp3722715p3739541.html Sent from the Revolution - User mailing list archive at Nabble.com. From pete at mollysrevenge.com Fri Aug 12 11:30:46 2011 From: pete at mollysrevenge.com (Pete) Date: Fri, 12 Aug 2011 08:30:46 -0700 Subject: [OT] Internet Censorship In-Reply-To: References: <1312601118358-3722715.post@n4.nabble.com> <3DBF503B-9742-4405-A1EA-99D3900282CE@twft.com> <201108111216.08332.warren@warrensweb.us> <4E444057.7090200@hyperactivesw.com> Message-ID: And the vast majority of musicians don't sell their music through mega corporations. We are not under contract to any record labels or other organisations. We sell our music through online sites such as CDBaby who in turn distribute our music to iTunes, Rhapsody, etc. I receive about $0.60 for each track downloaded from iTunes, about $6 for each complete album downloaded thru iTunes, and fractions of a penny from Rhapsody downloads. Pete Molly's Revenge On Fri, Aug 12, 2011 at 3:34 AM, dirk cleenwerck wrote: > But we don't distribute our software through mega-corporations that then > collect and keep most of the proceeds. > Even Apple only collects 30% for being a channel where we sell our > software. > I would bet that if the corporations gave the artist an honest part of the > money they collect from sales, the artists would be much better off. > It's a bit simplistic to blame the fact that it's hard to make money making > music on just illegal downloads (I use iTunes myself, but always wonder how > much of the money I pay actually ends up with the artist). > The corporations collect the money and pay out what they see as fair, > whether it is for sales of cd's, legal music downloads, airplay on the > radio > or even live performances. I consider the tactics used by the music and > movie industry to be only one step away from the mafia. > The day might come where everybody gets monitored on the internet at the > ISP > level and people organizing spring revolutions get put in jail thanks to > the > tech put in place by the music and movie industry. > > And when it comes to having a right to the money of the rich, I think you > would have president Obama on your side. > > Dirk Cleenwerck. > > On Thu, Aug 11, 2011 at 10:49 PM, J. Landman Gay > wrote: > > > On 8/11/11 12:16 PM, Warren Samples wrote: > > > >> The issue of payment and distibution is far more varied > >> and complex than most of you seem to be aware of or willing to > >> consider. As consumers your interests only reflect a very limited > >> perspective. > >> > > > > When faced with a decision like this, I substitute "my software" for > > "music" and see how I'd feel about it. > > > > -- > > 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< > 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 Fri Aug 12 11:44:19 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 12 Aug 2011 08:44:19 -0700 Subject: [OT] You know when you've been coding too long when . . . In-Reply-To: <4E44641C.6090505@comcast.net> References: <4E44641C.6090505@comcast.net> Message-ID: <3452654703.20110812084419@ahsoftware.net> Marty- Thursday, August 11, 2011, 4:22:04 PM, you wrote: > You know you've been coding too long in LiveCode, when you go over to > your word processor to type a letter and you tap the enter key twice to > save and close . . . ! (Or am I the only one?) I never do that. Instead I press the tab key to format a paragraph... -- -Mark Wieder mwieder at ahsoftware.net From capellan2000 at gmail.com Fri Aug 12 11:56:18 2011 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Fri, 12 Aug 2011 08:56:18 -0700 (PDT) Subject: [OT] Internet Censorship In-Reply-To: <4E44C715.5020003@gmail.com> References: <1312612753765-3722888.post@n4.nabble.com> <201108060651.59433.warren@warrensweb.us> <1312643273496-3723464.post@n4.nabble.com> <4E438219.5020407@gmail.com> <3DBF503B-9742-4405-A1EA-99D3900282CE@twft.com> <201108111216.08332.warren@warrensweb.us> <4E444057.7090200@hyperactivesw.com> <4E44C715.5020003@gmail.com> Message-ID: <1313164578252-3739738.post@n4.nabble.com> Hi Richmond, Richmond Mathewson-2 wrote: > > My software comes in two versions: the FREE version and the > ever-progressing 30 day "Demo" (which is fully functional). > [snip] > So far I have made the princely sum of 8 Euros from my software . . . :) > Just for curiosity, If you compare your software, feature by feature with similar offerings, How did it stack up? Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-Internet-Censorship-tp3722715p3739738.html Sent from the Revolution - User mailing list archive at Nabble.com. From pete at mollysrevenge.com Fri Aug 12 12:18:12 2011 From: pete at mollysrevenge.com (Pete) Date: Fri, 12 Aug 2011 09:18:12 -0700 Subject: BvG Docu Message-ID: Hi Bjoernke, Really enjoying using your new version of this tool, so much more useful than the standard dictionary. Much as I'm really enjoying using it, I'm not sure I want it to automatically appear every time I launch the IDE - is there a way to disable that behavior? Pete Molly's Revenge From pete at mollysrevenge.com Fri Aug 12 12:27:00 2011 From: pete at mollysrevenge.com (Pete) Date: Fri, 12 Aug 2011 09:27:00 -0700 Subject: dispatch and the target In-Reply-To: <16016590000.20110811224314@ahsoftware.net> References: <16016590000.20110811224314@ahsoftware.net> Message-ID: Hi Mark, I decided to try a more orthodox method of doing this. The application now includes a "start using" command for my library stack and the library stack has a libraryStack message handler in it that does all the initialisation I referred to. However, the same problem still occurs, Referring to "the target" or "me" in the libraryStack handler resolves to the library stack not the application stack, which is consistant with how those keywords are defined in the dictionary. And because the libraryStack message does not allow for any parameters, I cannot pass in the application stack's name. I can use the executionContexts to get the stack name of course but the dictionary claims its format may change and it is not recommended to write code that depends on its current format. It appears there is no message path in these circumstances so I'm trying to find a way to do what I need to do, absent the message path, not trying to fight it. Pete Molly's Revenge On Thu, Aug 11, 2011 at 10:43 PM, Mark Wieder wrote: > Pete- > > Thursday, August 11, 2011, 9:41:49 PM, you wrote: > > > The dispatch methodology works fine but I'm finding that using "the > target" > > or "me" in the external stack's handler resolves to the external library > > stack file not the stack that issued the dispatch command. I can, of > > course, include the name of the dispatching stack as a parameter to the > > handler but I'm wondering if there is a way to track down the dispatching > > stack's name in these circumstances. > > In short, if you've gotten into this situation then it's time to > rearchitect your application. You shouldn't have to ask this question. > You're fighting the message path, and while what you want to do can be > done, it ain't the right way to do things. > > That said, if you don't want to pass the calling stack as an argument > you need to look at the executionContexts to get the call stack. > > -- > -Mark Wieder > mwieder at ahsoftware.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 > > From revdev at pdslabs.net Fri Aug 12 12:47:57 2011 From: revdev at pdslabs.net (Phil Davis) Date: Fri, 12 Aug 2011 09:47:57 -0700 Subject: dispatch and the target In-Reply-To: References: <16016590000.20110811224314@ahsoftware.net> Message-ID: <4E45593D.300@pdslabs.net> Is there a reason you don't want to use a global variable as the communication channel between the app and the lib stack? That would work. Just declare it in both places, put data into it before "start using", and in the libraryStack handler the data will be there. Bob's your uncle, as they say. Phil Davis On 8/12/11 9:27 AM, Pete wrote: > Hi Mark, > I decided to try a more orthodox method of doing this. The application now > includes a "start using" command for my library stack and the library stack > has a libraryStack message handler in it that does all the initialisation I > referred to. > > However, the same problem still occurs, Referring to "the target" or "me" in > the libraryStack handler resolves to the library stack not the application > stack, which is consistant with how those keywords are defined in the > dictionary. And because the libraryStack message does not allow for any > parameters, I cannot pass in the application stack's name. I can use the > executionContexts to get the stack name of course but the dictionary claims > its format may change and it is not recommended to write code that depends > on its current format. > > It appears there is no message path in these circumstances so I'm trying to > find a way to do what I need to do, absent the message path, not trying to > fight it. > > Pete > Molly's Revenge > > > > > On Thu, Aug 11, 2011 at 10:43 PM, Mark Wiederwrote: > >> Pete- >> >> Thursday, August 11, 2011, 9:41:49 PM, you wrote: >> >>> The dispatch methodology works fine but I'm finding that using "the >> target" >>> or "me" in the external stack's handler resolves to the external library >>> stack file not the stack that issued the dispatch command. I can, of >>> course, include the name of the dispatching stack as a parameter to the >>> handler but I'm wondering if there is a way to track down the dispatching >>> stack's name in these circumstances. >> In short, if you've gotten into this situation then it's time to >> rearchitect your application. You shouldn't have to ask this question. >> You're fighting the message path, and while what you want to do can be >> done, it ain't the right way to do things. >> >> That said, if you don't want to pass the calling stack as an argument >> you need to look at the executionContexts to get the call stack. >> >> -- >> -Mark Wieder >> mwieder at ahsoftware.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 >> >> > _______________________________________________ > use-livecode mailing list > use-livecode 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 PDS Labs Professional Software Development http://pdslabs.net From bobs at twft.com Fri Aug 12 13:04:51 2011 From: bobs at twft.com (Bob Sneidar) Date: Fri, 12 Aug 2011 10:04:51 -0700 Subject: dispatch and the target In-Reply-To: <4E45593D.300@pdslabs.net> References: <16016590000.20110811224314@ahsoftware.net> <4E45593D.300@pdslabs.net> Message-ID: You can refer to the current stack using the topStack. A library should be capable of working no matter which stack has the focus. I would rewrite the scripts in the library stack to be independent. Also, you should not have to dispatch to a library stack. Start Using puts the stack script in the backScript, and therefore in the message path. This means however, that all your scripts need to be in the stack script and not other objects. A library stack is not intended to be a functional entity in itself, but rather a repository of commands and functions to be used by other applications. If it contains functionality where the user can interact with it, then it should probably be treated as a plugin, so the user can launch it from the Development/Plugins menu. Sorry if I am saying things you already knew. Bob On Aug 12, 2011, at 9:47 AM, Phil Davis wrote: > Is there a reason you don't want to use a global variable as the communication channel between the app and the lib stack? That would work. Just declare it in both places, put data into it before "start using", and in the libraryStack handler the data will be there. Bob's your uncle, as they say. > > Phil Davis > > > On 8/12/11 9:27 AM, Pete wrote: >> Hi Mark, >> I decided to try a more orthodox method of doing this. The application now >> includes a "start using" command for my library stack and the library stack >> has a libraryStack message handler in it that does all the initialisation I >> referred to. >> >> However, the same problem still occurs, Referring to "the target" or "me" in >> the libraryStack handler resolves to the library stack not the application >> stack, which is consistant with how those keywords are defined in the >> dictionary. And because the libraryStack message does not allow for any >> parameters, I cannot pass in the application stack's name. I can use the >> executionContexts to get the stack name of course but the dictionary claims >> its format may change and it is not recommended to write code that depends >> on its current format. >> >> It appears there is no message path in these circumstances so I'm trying to >> find a way to do what I need to do, absent the message path, not trying to >> fight it. >> >> Pete >> Molly's Revenge >> >> >> >> >> On Thu, Aug 11, 2011 at 10:43 PM, Mark Wiederwrote: >> >>> Pete- >>> >>> Thursday, August 11, 2011, 9:41:49 PM, you wrote: >>> >>>> The dispatch methodology works fine but I'm finding that using "the >>> target" >>>> or "me" in the external stack's handler resolves to the external library >>>> stack file not the stack that issued the dispatch command. I can, of >>>> course, include the name of the dispatching stack as a parameter to the >>>> handler but I'm wondering if there is a way to track down the dispatching >>>> stack's name in these circumstances. >>> In short, if you've gotten into this situation then it's time to >>> rearchitect your application. You shouldn't have to ask this question. >>> You're fighting the message path, and while what you want to do can be >>> done, it ain't the right way to do things. >>> >>> That said, if you don't want to pass the calling stack as an argument >>> you need to look at the executionContexts to get the call stack. >>> >>> -- >>> -Mark Wieder >>> mwieder at ahsoftware.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 >>> >>> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 > > PDS Labs > Professional Software Development > http://pdslabs.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 From bobs at twft.com Fri Aug 12 13:14:21 2011 From: bobs at twft.com (Bob Sneidar) Date: Fri, 12 Aug 2011 10:14:21 -0700 Subject: Version Tracking Message-ID: <2AFBB6E3-195F-4322-BEAA-958DE77D1D5F@twft.com> Hi all. I am working on an application for scheduling and after showing a working proof of concept to the powers that be, they seem pretty excited about it. I am meeting with a group of people who run the sites next week. I would like to fire up some kind of version tracking/feature request system where I can prioritize features and assign them to planned future versions. Do any of you use software like that, and what would you recommend? Bob From pete at mollysrevenge.com Fri Aug 12 13:17:53 2011 From: pete at mollysrevenge.com (Pete) Date: Fri, 12 Aug 2011 10:17:53 -0700 Subject: dispatch and the target In-Reply-To: <4E45593D.300@pdslabs.net> References: <16016590000.20110811224314@ahsoftware.net> <4E45593D.300@pdslabs.net> Message-ID: No reason other than I never thought of it! Thanks for the simple solution. Also, I'd rather not talk about my Uncle Bob.... Pete Molly's Revenge On Fri, Aug 12, 2011 at 9:47 AM, Phil Davis wrote: > Is there a reason you don't want to use a global variable as the > communication channel between the app and the lib stack? That would work. > Just declare it in both places, put data into it before "start using", and > in the libraryStack handler the data will be there. Bob's your uncle, as > they say. > > Phil Davis > > > > On 8/12/11 9:27 AM, Pete wrote: > >> Hi Mark, >> I decided to try a more orthodox method of doing this. The application >> now >> includes a "start using" command for my library stack and the library >> stack >> has a libraryStack message handler in it that does all the initialisation >> I >> referred to. >> >> However, the same problem still occurs, Referring to "the target" or "me" >> in >> the libraryStack handler resolves to the library stack not the application >> stack, which is consistant with how those keywords are defined in the >> dictionary. And because the libraryStack message does not allow for any >> parameters, I cannot pass in the application stack's name. I can use the >> executionContexts to get the stack name of course but the dictionary >> claims >> its format may change and it is not recommended to write code that depends >> on its current format. >> >> It appears there is no message path in these circumstances so I'm trying >> to >> find a way to do what I need to do, absent the message path, not trying to >> fight it. >> >> Pete >> Molly's Revenge >> > >> >> >> >> >> >> On Thu, Aug 11, 2011 at 10:43 PM, Mark Wieder** >> wrote: >> >> Pete- >>> >>> Thursday, August 11, 2011, 9:41:49 PM, you wrote: >>> >>> The dispatch methodology works fine but I'm finding that using "the >>>> >>> target" >>> >>>> or "me" in the external stack's handler resolves to the external library >>>> stack file not the stack that issued the dispatch command. I can, of >>>> course, include the name of the dispatching stack as a parameter to the >>>> handler but I'm wondering if there is a way to track down the >>>> dispatching >>>> stack's name in these circumstances. >>>> >>> In short, if you've gotten into this situation then it's time to >>> rearchitect your application. You shouldn't have to ask this question. >>> You're fighting the message path, and while what you want to do can be >>> done, it ain't the right way to do things. >>> >>> That said, if you don't want to pass the calling stack as an argument >>> you need to look at the executionContexts to get the call stack. >>> >>> -- >>> -Mark Wieder >>> mwieder at ahsoftware.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 >>> >>> >>> ______________________________**_________________ >> use-livecode mailing list >> use-livecode 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 > > PDS Labs > Professional Software Development > http://pdslabs.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 > > From bill at bluewatermaritime.com Fri Aug 12 13:23:08 2011 From: bill at bluewatermaritime.com (william humphrey) Date: Fri, 12 Aug 2011 13:23:08 -0400 Subject: [OT] Internet Censorship In-Reply-To: <1312601118358-3722715.post@n4.nabble.com> References: <1312601118358-3722715.post@n4.nabble.com> Message-ID: Same message in Puerto Rico. On Fri, Aug 5, 2011 at 11:25 PM, Alejandro Tejada wrote: > Hi All, > > How many of you could view this youTube video? > http://www.youtube.com/watch?v=R0IcvVF-p_k > > This video is a segment of Howard Goodall's > 2006 documentary: How Music Works > > You could find many more segments in youTube > when you select the option "Videos" in google. > > The message that appears in my side of the world is: > "This video contains content from SME, who has blocked it > in your country on copyright grounds." > > SME is Sony Music Entertainment... > > Could you post your country and the message > that appears? > > Thanks in advance! > > Al > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/OT-Internet-Censorship-tp3722715p3722715.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 > -- http://www.bluewatermaritime.com From pete at mollysrevenge.com Fri Aug 12 13:25:53 2011 From: pete at mollysrevenge.com (Pete) Date: Fri, 12 Aug 2011 10:25:53 -0700 Subject: Another Docu question Message-ID: I just downloaded the latest version of bvg Docu. Now every time I start LC, I get a message that there is no sqlite file available and one is created. The stack is installed in my plugins folder and in the same folder I see a folder named "BvG Docu" which contains a file named "BvG Docu 4.6.2.sqlite" (timestamped today). This on a Mac running OS X 10.6.8 Any ideas? Pete Molly's Revenge From pete at mollysrevenge.com Fri Aug 12 13:33:57 2011 From: pete at mollysrevenge.com (Pete) Date: Fri, 12 Aug 2011 10:33:57 -0700 Subject: dispatch and the target In-Reply-To: References: <16016590000.20110811224314@ahsoftware.net> <4E45593D.300@pdslabs.net> Message-ID: Thanks Bob. I had forgotten about the topstack and it indeed seems to provide the mechanism I'm looking for. The utility I'm working on includes a plugin, as you mentioned, and a runtime library as a separate entity usable without the plugin. By the way - are you the Uncle Bob that Phil mentioned? Pete Molly's Revenge On Fri, Aug 12, 2011 at 10:04 AM, Bob Sneidar wrote: > You can refer to the current stack using the topStack. A library should be > capable of working no matter which stack has the focus. I would rewrite the > scripts in the library stack to be independent. Also, you should not have to > dispatch to a library stack. Start Using puts the stack script in the > backScript, and therefore in the message path. > > This means however, that all your scripts need to be in the stack script > and not other objects. A library stack is not intended to be a functional > entity in itself, but rather a repository of commands and functions to be > used by other applications. > > If it contains functionality where the user can interact with it, then it > should probably be treated as a plugin, so the user can launch it from the > Development/Plugins menu. > > Sorry if I am saying things you already knew. > > Bob > > > On Aug 12, 2011, at 9:47 AM, Phil Davis wrote: > > > Is there a reason you don't want to use a global variable as the > communication channel between the app and the lib stack? That would work. > Just declare it in both places, put data into it before "start using", and > in the libraryStack handler the data will be there. Bob's your uncle, as > they say. > > > > Phil Davis > > > > > > On 8/12/11 9:27 AM, Pete wrote: > >> Hi Mark, > >> I decided to try a more orthodox method of doing this. The application > now > >> includes a "start using" command for my library stack and the library > stack > >> has a libraryStack message handler in it that does all the > initialisation I > >> referred to. > >> > >> However, the same problem still occurs, Referring to "the target" or > "me" in > >> the libraryStack handler resolves to the library stack not the > application > >> stack, which is consistant with how those keywords are defined in the > >> dictionary. And because the libraryStack message does not allow for any > >> parameters, I cannot pass in the application stack's name. I can use > the > >> executionContexts to get the stack name of course but the dictionary > claims > >> its format may change and it is not recommended to write code that > depends > >> on its current format. > >> > >> It appears there is no message path in these circumstances so I'm trying > to > >> find a way to do what I need to do, absent the message path, not trying > to > >> fight it. > >> > >> Pete > >> Molly's Revenge > >> > >> > >> > >> > >> On Thu, Aug 11, 2011 at 10:43 PM, Mark Wieder >wrote: > >> > >>> Pete- > >>> > >>> Thursday, August 11, 2011, 9:41:49 PM, you wrote: > >>> > >>>> The dispatch methodology works fine but I'm finding that using "the > >>> target" > >>>> or "me" in the external stack's handler resolves to the external > library > >>>> stack file not the stack that issued the dispatch command. I can, of > >>>> course, include the name of the dispatching stack as a parameter to > the > >>>> handler but I'm wondering if there is a way to track down the > dispatching > >>>> stack's name in these circumstances. > >>> In short, if you've gotten into this situation then it's time to > >>> rearchitect your application. You shouldn't have to ask this question. > >>> You're fighting the message path, and while what you want to do can be > >>> done, it ain't the right way to do things. > >>> > >>> That said, if you don't want to pass the calling stack as an argument > >>> you need to look at the executionContexts to get the call stack. > >>> > >>> -- > >>> -Mark Wieder > >>> mwieder at ahsoftware.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 > >>> > >>> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode 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 > > > > PDS Labs > > Professional Software Development > > http://pdslabs.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 > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Aug 12 13:44:32 2011 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Fri, 12 Aug 2011 13:44:32 -0400 Subject: What to Do Since FTP No Longer Supported in Mac OSX Lion? Message-ID: Hello everyone, I was building a nice app with LiveCode the other day. It used PUT URL and FTP to download files from my remote Mac. Worked like a charm until yesterday when I updated the OS on the remote Mac to Lion. Now I get socket timeout messages. I then read on the web that FTP is not enabled in Lion but SFTP works if Remote Login is enabled in the Sharing pane of System Preferences. I confirmed that SFTP works by trying it with Interarchy. How can I make SFTP work in a LiveCode handler? Regards, Gregory From bobs at twft.com Fri Aug 12 13:52:35 2011 From: bobs at twft.com (Bob Sneidar) Date: Fri, 12 Aug 2011 10:52:35 -0700 Subject: dispatch and the target In-Reply-To: References: <16016590000.20110811224314@ahsoftware.net> <4E45593D.300@pdslabs.net> Message-ID: <404F0AAF-5DFA-4585-8191-8A064F4D3BED@twft.com> I was hoping to avoid this conversation, but alas, I am indeed, your uncle. ;-) Bob On Aug 12, 2011, at 10:33 AM, Pete wrote: > Thanks Bob. I had forgotten about the topstack and it indeed seems to > provide the mechanism I'm looking for. The utility I'm working on includes > a plugin, as you mentioned, and a runtime library as a separate entity > usable without the plugin. > > By the way - are you the Uncle Bob that Phil mentioned? > > Pete > Molly's Revenge > > > > > On Fri, Aug 12, 2011 at 10:04 AM, Bob Sneidar wrote: > >> You can refer to the current stack using the topStack. A library should be >> capable of working no matter which stack has the focus. I would rewrite the >> scripts in the library stack to be independent. Also, you should not have to >> dispatch to a library stack. Start Using puts the stack script in the >> backScript, and therefore in the message path. >> >> This means however, that all your scripts need to be in the stack script >> and not other objects. A library stack is not intended to be a functional >> entity in itself, but rather a repository of commands and functions to be >> used by other applications. >> >> If it contains functionality where the user can interact with it, then it >> should probably be treated as a plugin, so the user can launch it from the >> Development/Plugins menu. >> >> Sorry if I am saying things you already knew. >> >> Bob >> >> >> On Aug 12, 2011, at 9:47 AM, Phil Davis wrote: >> >>> Is there a reason you don't want to use a global variable as the >> communication channel between the app and the lib stack? That would work. >> Just declare it in both places, put data into it before "start using", and >> in the libraryStack handler the data will be there. Bob's your uncle, as >> they say. >>> >>> Phil Davis >>> >>> >>> On 8/12/11 9:27 AM, Pete wrote: >>>> Hi Mark, >>>> I decided to try a more orthodox method of doing this. The application >> now >>>> includes a "start using" command for my library stack and the library >> stack >>>> has a libraryStack message handler in it that does all the >> initialisation I >>>> referred to. >>>> >>>> However, the same problem still occurs, Referring to "the target" or >> "me" in >>>> the libraryStack handler resolves to the library stack not the >> application >>>> stack, which is consistant with how those keywords are defined in the >>>> dictionary. And because the libraryStack message does not allow for any >>>> parameters, I cannot pass in the application stack's name. I can use >> the >>>> executionContexts to get the stack name of course but the dictionary >> claims >>>> its format may change and it is not recommended to write code that >> depends >>>> on its current format. >>>> >>>> It appears there is no message path in these circumstances so I'm trying >> to >>>> find a way to do what I need to do, absent the message path, not trying >> to >>>> fight it. >>>> >>>> Pete >>>> Molly's Revenge >>>> >>>> >>>> >>>> >>>> On Thu, Aug 11, 2011 at 10:43 PM, Mark Wieder>> wrote: >>>> >>>>> Pete- >>>>> >>>>> Thursday, August 11, 2011, 9:41:49 PM, you wrote: >>>>> >>>>>> The dispatch methodology works fine but I'm finding that using "the >>>>> target" >>>>>> or "me" in the external stack's handler resolves to the external >> library >>>>>> stack file not the stack that issued the dispatch command. I can, of >>>>>> course, include the name of the dispatching stack as a parameter to >> the >>>>>> handler but I'm wondering if there is a way to track down the >> dispatching >>>>>> stack's name in these circumstances. >>>>> In short, if you've gotten into this situation then it's time to >>>>> rearchitect your application. You shouldn't have to ask this question. >>>>> You're fighting the message path, and while what you want to do can be >>>>> done, it ain't the right way to do things. >>>>> >>>>> That said, if you don't want to pass the calling stack as an argument >>>>> you need to look at the executionContexts to get the call stack. >>>>> >>>>> -- >>>>> -Mark Wieder >>>>> mwieder at ahsoftware.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 >>>>> >>>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode 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 >>> >>> PDS Labs >>> Professional Software Development >>> http://pdslabs.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 >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 Fri Aug 12 13:59:15 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 12 Aug 2011 12:59:15 -0500 Subject: Cursor woes In-Reply-To: References: Message-ID: <4E4569F3.1020705@hyperactivesw.com> On 8/11/11 7:19 PM, Chip Thomas wrote: > One project is a launcher system where the standalone just launches a > separate main stack file. The cursor script is on the card of this stack > file. In this project, I don't get any cursor changes except when in the > development environment. > > The second project is just a regular standalone with the cursor script on > the main card of the standalone. I do get a cursor change, but I get a > watch rather than a hand. Probably obvious, but if nothing else works, double-check that cursors have been included in Standalone Settings. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Fri Aug 12 14:04:57 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 12 Aug 2011 13:04:57 -0500 Subject: dispatch and the target In-Reply-To: References: <16016590000.20110811224314@ahsoftware.net> <4E45593D.300@pdslabs.net> Message-ID: <4E456B49.8050705@hyperactivesw.com> On 8/12/11 12:04 PM, Bob Sneidar wrote: > You can refer to the current stack using the topStack. Yes, but with caveats. If the stack isn't a toplevel (regular document) stack, then it (usually) won't be the topstack. It might be the defaultstack though. > A library > should be capable of working no matter which stack has the focus. I > would rewrite the scripts in the library stack to be independent. > Also, you should not have to dispatch to a library stack. Start Using > puts the stack script in the backScript, and therefore in the message > path. > > This means however, that all your scripts need to be in the stack > script and not other objects. That's true, "start using" only works with stack scripts. You can use the script of any object by doing "insert script of into back". That gives more flexibility and allows the in-use script to be stored anywhere. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From warren at warrensweb.us Fri Aug 12 14:17:10 2011 From: warren at warrensweb.us (Warren Samples) Date: Fri, 12 Aug 2011 13:17:10 -0500 Subject: What to Do Since FTP No Longer Supported in Mac OSX Lion? In-Reply-To: References: Message-ID: <1754883.6FjPAslCQ3@suse> On Friday, August 12, 2011 01:44:32 PM Gregory Lypny wrote: > Hello everyone, > > I was building a nice app with LiveCode the other day. It used PUT URL and FTP to download files from my remote Mac. Worked like a charm until yesterday when I updated the OS on the remote Mac to Lion. Now I get socket timeout messages. I then read on the web that FTP is not enabled in Lion but SFTP works if Remote Login is enabled in the Sharing pane of System Preferences. I confirmed that SFTP works by trying it with Interarchy. How can I make SFTP work in a LiveCode handler? > > Regards, > > Gregory > > _______________________________________________ You can still use FTP: "While FTP is still available and configurable from the command line, it's no longer supported as an easy to turn on option in System Preferences" -- from Hope that helps, Warren From richmondmathewson at gmail.com Fri Aug 12 14:33:08 2011 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Fri, 12 Aug 2011 21:33:08 +0300 Subject: [OT] Internet Censorship In-Reply-To: <1313164578252-3739738.post@n4.nabble.com> References: <1312612753765-3722888.post@n4.nabble.com> <201108060651.59433.warren@warrensweb.us> <1312643273496-3723464.post@n4.nabble.com> <4E438219.5020407@gmail.com> <3DBF503B-9742-4405-A1EA-99D3900282CE@twft.com> <201108111216.08332.warren@warrensweb.us> <4E444057.7090200@hyperactivesw.com> <4E44C715.5020003@gmail.com> <1313164578252-3739738.post@n4.nabble.com> Message-ID: <4E4571E4.9010405@gmail.com> On 08/12/2011 06:56 PM, Alejandro Tejada wrote: > Hi Richmond, > > > Richmond Mathewson-2 wrote: >> My software comes in two versions: the FREE version and the >> ever-progressing 30 day "Demo" (which is fully functional). >> [snip] >> So far I have made the princely sum of 8 Euros from my software . . . :) >> > Just for curiosity, If you compare your software, feature by feature > with similar offerings, How did it stack up? A bloody sight better; and would you expect me, self-advertising, arrogant so-and-so that I am to say anything else? > > Al > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-Internet-Censorship-tp3722715p3739738.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 mollysrevenge.com Fri Aug 12 14:38:29 2011 From: pete at mollysrevenge.com (Pete) Date: Fri, 12 Aug 2011 11:38:29 -0700 Subject: dispatch and the target In-Reply-To: <4E456B49.8050705@hyperactivesw.com> References: <16016590000.20110811224314@ahsoftware.net> <4E45593D.300@pdslabs.net> <4E456B49.8050705@hyperactivesw.com> Message-ID: Thanks for the additional info. "start using" works in my situation as the scripts are all in the stack it refers to although I probably did that because it was a requirement for "start using". In any case, it all seems to work as expected. I will have to experiment more with situations where the calling stack is not toplevel. Maybe I'll have to go back to parsing the executionContexts. Pete Molly's Revenge On Fri, Aug 12, 2011 at 11:04 AM, J. Landman Gay wrote: > On 8/12/11 12:04 PM, Bob Sneidar wrote: > >> You can refer to the current stack using the topStack. >> > > Yes, but with caveats. If the stack isn't a toplevel (regular document) > stack, then it (usually) won't be the topstack. It might be the defaultstack > though. > > > A library >> should be capable of working no matter which stack has the focus. I >> would rewrite the scripts in the library stack to be independent. >> Also, you should not have to dispatch to a library stack. Start Using >> puts the stack script in the backScript, and therefore in the message >> path. >> >> This means however, that all your scripts need to be in the stack >> script and not other objects. >> > > That's true, "start using" only works with stack scripts. You can use the > script of any object by doing "insert script of into > back". That gives more flexibility and allows the in-use script to be stored > anywhere. > > -- > 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 mollysrevenge.com Fri Aug 12 15:12:39 2011 From: pete at mollysrevenge.com (Pete) Date: Fri, 12 Aug 2011 12:12:39 -0700 Subject: dispatch and the target In-Reply-To: References: <16016590000.20110811224314@ahsoftware.net> <4E45593D.300@pdslabs.net> <4E456B49.8050705@hyperactivesw.com> Message-ID: Update on this. If the calling stack is a palette, the topstack refers to one of the IDE's stacks (applicationoverview.rev I think), and the defaultstack refers to the library stack not the palette stack. In addition, the executionContexts contains no reference to the palette stack. I'm pretty much giving up hope that there is a safe way to get hold of the calling stack. I was hoping that a combination of "start using" and a libraryStack handler in the library stack would do what I need but doesn't look like that will work. Not a big deal, just needs one extra line of code in the calling stack to call my initialisation routine. Pete Molly's Revenge On Fri, Aug 12, 2011 at 11:38 AM, Pete wrote: > Thanks for the additional info. "start using" works in my situation as the > scripts are all in the stack it refers to although I probably did that > because it was a requirement for "start using". In any case, it all seems > to work as expected. > > I will have to experiment more with situations where the calling stack is > not toplevel. Maybe I'll have to go back to parsing the executionContexts. > > Pete > Molly's Revenge > > > > > On Fri, Aug 12, 2011 at 11:04 AM, J. Landman Gay > wrote: > >> On 8/12/11 12:04 PM, Bob Sneidar wrote: >> >>> You can refer to the current stack using the topStack. >>> >> >> Yes, but with caveats. If the stack isn't a toplevel (regular document) >> stack, then it (usually) won't be the topstack. It might be the defaultstack >> though. >> >> >> A library >>> should be capable of working no matter which stack has the focus. I >>> would rewrite the scripts in the library stack to be independent. >>> Also, you should not have to dispatch to a library stack. Start Using >>> puts the stack script in the backScript, and therefore in the message >>> path. >>> >>> This means however, that all your scripts need to be in the stack >>> script and not other objects. >>> >> >> That's true, "start using" only works with stack scripts. You can use the >> script of any object by doing "insert script of into >> back". That gives more flexibility and allows the in-use script to be stored >> anywhere. >> >> -- >> 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 bvlahos at mac.com Fri Aug 12 15:26:18 2011 From: bvlahos at mac.com (Bill Vlahos) Date: Fri, 12 Aug 2011 12:26:18 -0700 Subject: How do I wait for a VBScript to finish? Message-ID: I call a VBScript and need to know when it finishes so that I can restore a window. I can put a long delay but that isn't very elegant and the time delay should be a few seconds but it may take longer on older systems. I'm doing the same thing with an AppleScript on the Mac but it doesn't seem to have this problem but that could be that it just does it quick enough. Is there a way to wait with messages or something like that for running a VBScript or AppleScript? Thanks, Bill Vlahos _________________ InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. From williamdesmet at gmail.com Fri Aug 12 15:38:13 2011 From: williamdesmet at gmail.com (William de Smet) Date: Fri, 12 Aug 2011 21:38:13 +0200 Subject: Repeat with slow on iOS? Message-ID: Hi there, Is 'repeat with' slow on iOS? I notice a 1 or 2 second delay time on my iPad after clicking the button. On the desktop however everything is really fast. I just do this in a button: repeat with x=1 to 100 put "a"&x into tVeld enable fld tVeld put empty into fld tVeld set the backgroundcolor of fld tVeld to white end repeat Is there maybe another (faster) way to do this on iOS? groeten, William From bobs at twft.com Fri Aug 12 15:39:51 2011 From: bobs at twft.com (Bob Sneidar) Date: Fri, 12 Aug 2011 12:39:51 -0700 Subject: How do I wait for a VBScript to finish? In-Reply-To: References: Message-ID: <697BB593-4076-4A23-97F5-168FF6D6D52A@twft.com> If you wrote the VBScript, then have liveCode check for a specific temp file and create it if it doesn't exist. Call your VBScript, then enter a wait loop checking every so often to see if the file still exists. If it does, wait some more. When the VBScript is done, have it delete the file. You could also probably check for the name of your process that VBScript launches using shell commands, which would be cleaner. Not sure the syntax, but I am sure they exists because I have used them before. On the Mac the terminal command is top. I think in Windows it is sc. Bob On Aug 12, 2011, at 12:26 PM, Bill Vlahos wrote: > I call a VBScript and need to know when it finishes so that I can restore a window. I can put a long delay but that isn't very elegant and the time delay should be a few seconds but it may take longer on older systems. > > I'm doing the same thing with an AppleScript on the Mac but it doesn't seem to have this problem but that could be that it just does it quick enough. > > Is there a way to wait with messages or something like that for running a VBScript or AppleScript? > > Thanks, > Bill Vlahos > _________________ > InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Aug 12 15:41:32 2011 From: coiin at verizon.net (Colin Holgate) Date: Fri, 12 Aug 2011 15:41:32 -0400 Subject: Repeat with slow on iOS? In-Reply-To: References: Message-ID: It seems more likely that it's the changing of the appearance that is taking a long time. Try your routine with a lock screen and unlock screen either side of the repeat loop. From dixonja at hotmail.co.uk Fri Aug 12 15:52:47 2011 From: dixonja at hotmail.co.uk (John Dixon) Date: Fri, 12 Aug 2011 20:52:47 +0100 Subject: Repeat with slow on iOS? In-Reply-To: References: Message-ID: > Is 'repeat with' slow on iOS? > I notice a 1 or 2 second delay time on my iPad after clicking the button. > On the desktop however everything is really fast. > I just do this in a button: > repeat with x=1 to 100 > put "a"&x into tVeld > enable fld tVeld > put empty into fld tVeld > set the backgroundcolor of fld tVeld to white > end repeat > > Is there maybe another (faster) way to do this on iOS? If you run this script on the desktop with all the lines enabled... it takes 395 millisecs If you run this script on the desktop with the three lines indicated, disabled... it takes 0 millisecs... the same in the iphone simulator. on mouseUp put the milliseconds into theStart repeat with x=1 to 100 put "a"&x into tVeld --enable fld 1 --put empty into fld 1 --set the backgroundcolor of fld 1 to white end repeat put the milliseconds - theStart into fld 1 end mouseUp be well From bvlahos at mac.com Fri Aug 12 16:25:49 2011 From: bvlahos at mac.com (Bill Vlahos) Date: Fri, 12 Aug 2011 13:25:49 -0700 Subject: Difference between destroyStack and destroyWindow Message-ID: <8B2D3549-069E-4B54-8094-F9381BB6E1DC@mac.com> They sounds pretty similar to me. What is the difference and why would I ever not want to have them either both on or both off for substacks? Dictionary destroyWindow: If a stack's destroyWindow property is set to true, closing the stack removes the data structure maintaining that window. Dictionary destroyStack: If a stack's destroyStack property is set to true, closing all stacks in its stack file removes it from memory space, cleaning up after the stack and freeing memory for use by the application. Thanks, Bill Vlahos _________________ InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. From roger.e.eller at sealedair.com Fri Aug 12 16:46:12 2011 From: roger.e.eller at sealedair.com (Roger Eller) Date: Fri, 12 Aug 2011 16:46:12 -0400 Subject: Repeat with slow on iOS? In-Reply-To: References: Message-ID: On Fri, Aug 12, 2011 at 3:38 PM, William de Smet wrote: > Hi there, > > Is 'repeat with' slow on iOS? > I notice a 1 or 2 second delay time on my iPad after clicking the button. > On the desktop however everything is really fast. > I just do this in a button: > repeat with x=1 to 100 > put "a"&x into tVeld > enable fld tVeld > put empty into fld tVeld > set the backgroundcolor of fld tVeld to white > end repeat > > Is there maybe another (faster) way to do this on iOS? > > groeten, > William > > I wouldn't include code inside the repeat that only needs to happen once, like setting the backColor. repeat with x=1 to 100 put "a"&x into tVeld enable fld tVeld put empty into fld tVeld end repeat set the backgroundcolor of fld tVeld to white ~Roger From roger.e.eller at sealedair.com Fri Aug 12 16:48:33 2011 From: roger.e.eller at sealedair.com (Roger Eller) Date: Fri, 12 Aug 2011 16:48:33 -0400 Subject: Repeat with slow on iOS? In-Reply-To: References: Message-ID: On Fri, Aug 12, 2011 at 4:46 PM, Roger Eller wrote: > On Fri, Aug 12, 2011 at 3:38 PM, William de Smet wrote: > >> Hi there, >> >> Is 'repeat with' slow on iOS? >> I notice a 1 or 2 second delay time on my iPad after clicking the button. >> On the desktop however everything is really fast. >> I just do this in a button: >> repeat with x=1 to 100 >> put "a"&x into tVeld >> enable fld tVeld >> put empty into fld tVeld >> set the backgroundcolor of fld tVeld to white >> end repeat >> >> Is there maybe another (faster) way to do this on iOS? >> >> groeten, >> William >> >> > I wouldn't include code inside the repeat that only needs to happen once, > like setting the backColor. > > ~Roger > > Please ignore me. I didn't notice that you are actually changing the color of 100 fields. Sorry. ~Roger From kray at sonsothunder.com Fri Aug 12 16:59:06 2011 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 12 Aug 2011 15:59:06 -0500 Subject: How do I wait for a VBScript to finish? In-Reply-To: References: Message-ID: <19F52885-8BA2-4D19-B603-796941E2B78E@sonsothunder.com> On Aug 12, 2011, at 2:26 PM, Bill Vlahos wrote: > I call a VBScript and need to know when it finishes so that I can restore a window. I can put a long delay but that isn't very elegant and the time delay should be a few seconds but it may take longer on older systems. > > I'm doing the same thing with an AppleScript on the Mac but it doesn't seem to have this problem but that could be that it just does it quick enough. > > Is there a way to wait with messages or something like that for running a VBScript or AppleScript? Technically unless you are executing something in your VBScript that is asynchronous, calling VBScript from LiveCode should be blocking (i.e. you won't get control back to your script until the VBScript has finished). Is it possible that the VBScript is executing quickly and returning to LiveCode but the *effects* of what the VBScript asked the OS to do is taking a while to complete? What VBScript are you executing, btw? Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From williamdesmet at gmail.com Fri Aug 12 17:33:42 2011 From: williamdesmet at gmail.com (William de Smet) Date: Fri, 12 Aug 2011 23:33:42 +0200 Subject: Repeat with slow on iOS? In-Reply-To: References: Message-ID: Thanks for the answers. It seems that 'lock screen/unlock screen' does the trick! greetings, William 2011/8/12 Roger Eller : > On Fri, Aug 12, 2011 at 4:46 PM, Roger Eller wrote: > >> On Fri, Aug 12, 2011 at 3:38 PM, William de Smet wrote: >> >>> Hi there, >>> >>> Is 'repeat with' slow on iOS? >>> I notice a 1 or 2 second delay time on my iPad after clicking the button. >>> On the desktop however everything is really fast. >>> I just do this in a button: >>> ? ? repeat with x=1 to 100 >>> ? ? ?put "a"&x into tVeld >>> ? ? ?enable fld tVeld >>> ? ? ? put empty into fld tVeld >>> ? ? ? set the backgroundcolor of fld tVeld to white >>> ? ?end repeat >>> >>> Is there maybe another (faster) way to do this on iOS? >>> >>> groeten, >>> William >>> >>> >> I wouldn't include code inside the repeat that only needs to happen once, >> like setting the backColor. >> >> ~Roger >> >> > > Please ignore me. ?I didn't notice that you are actually changing the color > of 100 fields. ?Sorry. > > ~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 lfredricks at proactive-intl.com Fri Aug 12 20:27:40 2011 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Fri, 12 Aug 2011 17:27:40 -0700 Subject: [OT] Internet Censorship In-Reply-To: References: <1312601118358-3722715.post@n4.nabble.com><4E3CBC93.70300@tkf.att.ne.jp><1312603769993-3722757.post@n4.nabble.com><4E3CDCDC.3090806@tkf.att.ne.jp><1312612753765-3722888.post@n4.nabble.com><201108060651.59433.warren@warrensweb.us><1312643273496-3723464.post@n4.nabble.com><4E438219.5020407@gmail.com> Message-ID: <8B47C15B3C7A4EC4BB93A6C0EE8C901E@GATEWAY> > OK. This touched a nerve. > > *"I used to record off the air and it was OK" , "everybody > does it" , > "the music today sucks anyway", "the music business is corrupt"* > > All excuses used to justify the stealing of music. Not very > funny to me, a 40 year music business worker. This was a > profession for thousands that has totally gone away. > > There is no fair comparison between the innocent taping off > of the radio and trading digital music en masse. > The former barriers were hassle,cost, quality and speed, all > of which were eliminated by digital formats. The various arguments you note able also target only music. There are many kinds of IP that being thieved on the internet, using the same sorts of methods. I have another business that owns thousands of pieces of digital IP (including some music, and some things Ive created myself). Regularly we find it being uploaded to various free upload sites like hotfiles and then linked to from warez sites. These warez sites then generate revenue from online ad companies that serve ads on those sites. It is not fun to discover your sales suddenly "leaking out" because someone is giving away your stuff AND generating revenue from it. Many kinds of IP have a limited life span based on saturation, too. When the revenue drops like that, there's no money to pay the artist. As you've said - it isnt about the sort of sneakernet sharing of yore between friends and imperfect copies. It is the anonymous sharing with thousands +, and often with a profit motive for "anonymous" that has nothing to do with the love of whatever has been stolen. If you played the sneakernet game before, whats been happening in the last 5+ years has nothing to do with what you did. Best regards, Lynn Fredricks Mirye Software Publishing http://www.mirye.com From mwieder at ahsoftware.net Fri Aug 12 20:36:33 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 12 Aug 2011 17:36:33 -0700 Subject: dispatch and the target In-Reply-To: References: <16016590000.20110811224314@ahsoftware.net> <4E45593D.300@pdslabs.net> <4E456B49.8050705@hyperactivesw.com> Message-ID: <16484589203.20110812173633@ahsoftware.net> Pete- Friday, August 12, 2011, 12:12:39 PM, you wrote: > Update on this. If the calling stack is a palette, the topstack refers to > one of the IDE's stacks (applicationoverview.rev I think), and the > defaultstack refers to the library stack not the palette stack. In > addition, the executionContexts contains no reference to the palette stack. > I'm pretty much giving up hope that there is a safe way to get hold of the > calling stack. I was hoping that a combination of "start using" and a > libraryStack handler in the library stack would do what I need but doesn't > look like that will work. Not a big deal, just needs one extra line of code > in the calling stack to call my initialisation routine. I don't know what your code looks like in the library stack, but you might try substituting "this stack" instead of "me" to see if that gives you the reference you're looking for. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Fri Aug 12 20:37:07 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 12 Aug 2011 17:37:07 -0700 Subject: dispatch and the target In-Reply-To: <404F0AAF-5DFA-4585-8191-8A064F4D3BED@twft.com> References: <16016590000.20110811224314@ahsoftware.net> <4E45593D.300@pdslabs.net> <404F0AAF-5DFA-4585-8191-8A064F4D3BED@twft.com> Message-ID: <9384622687.20110812173707@ahsoftware.net> Bob- Friday, August 12, 2011, 10:52:35 AM, you wrote: > I was hoping to avoid this conversation, but Yeah, I was hoping you'd avoid it, too... -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Fri Aug 12 20:49:11 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 12 Aug 2011 17:49:11 -0700 Subject: Difference between destroyStack and destroyWindow In-Reply-To: <8B2D3549-069E-4B54-8094-F9381BB6E1DC@mac.com> References: <8B2D3549-069E-4B54-8094-F9381BB6E1DC@mac.com> Message-ID: <8585346796.20110812174911@ahsoftware.net> Bill- Friday, August 12, 2011, 1:25:49 PM, you wrote: > They sounds pretty similar to me. What is the difference and why > would I ever not want to have them either both on or both off for > substacks? Boy, just when you think maybe you've learned some of this stuff, something like this comes along. Beats me. I've never heard of destroyWindow before, and I use destroyStack all the time. The docs say it's been around since 1.0. It's not in my HC references anywhere. -- -Mark Wieder mwieder at ahsoftware.net From ambassador at fourthworld.com Fri Aug 12 20:53:01 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 12 Aug 2011 17:53:01 -0700 Subject: [OT] Internet Censorship In-Reply-To: <014801cc5861$847e3f40$8d7abdc0$@net> References: <014801cc5861$847e3f40$8d7abdc0$@net> Message-ID: <4E45CAED.5050906@fourthworld.com> Ralph DiMola wrote: > I don't feel sorry for the record companies or the rich > rock and rollers. > > 1) I bought the Beatle's singles on 45 RPM records > 2) Then I bought the "White Album" on 33 RPM > 3) Then I got the "White Album" on 8 track > 4) Then I got the "White Album" on cassette > 5) Then I got the "White Album" on CD > 6) Some of the songs were on a DVD anthology > 7) Paul's 2000 tour DVD No upgrade pricing? ;) Ironically, I recall the SPA noting a few years ago that the second most-pirated software category after games was software for music production. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From pete at mollysrevenge.com Fri Aug 12 21:12:02 2011 From: pete at mollysrevenge.com (Pete) Date: Fri, 12 Aug 2011 18:12:02 -0700 Subject: dispatch and the target In-Reply-To: <9384622687.20110812173707@ahsoftware.net> References: <16016590000.20110811224314@ahsoftware.net> <4E45593D.300@pdslabs.net> <404F0AAF-5DFA-4585-8191-8A064F4D3BED@twft.com> <9384622687.20110812173707@ahsoftware.net> Message-ID: Nobody avoids Uncle Bob.... Pete Molly's Revenge On Fri, Aug 12, 2011 at 5:37 PM, Mark Wieder wrote: > Bob- > > Friday, August 12, 2011, 10:52:35 AM, you wrote: > > > I was hoping to avoid this conversation, but > > Yeah, I was hoping you'd avoid it, too... > > -- > -Mark Wieder > mwieder at ahsoftware.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 > > From lfredricks at proactive-intl.com Fri Aug 12 21:54:21 2011 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Fri, 12 Aug 2011 18:54:21 -0700 Subject: [OT] Internet Censorship In-Reply-To: <4E45CAED.5050906@fourthworld.com> References: <014801cc5861$847e3f40$8d7abdc0$@net> <4E45CAED.5050906@fourthworld.com> Message-ID: > > 1) I bought the Beatle's singles on 45 RPM records > > 2) Then I bought the "White Album" on 33 RPM > > 3) Then I got the "White Album" on 8 track > > 4) Then I got the "White Album" on cassette > > 5) Then I got the "White Album" on CD > > 6) Some of the songs were on a DVD anthology > > 7) Paul's 2000 tour DVD > > No upgrade pricing? ;) I've felt for some time that there is a need for versioning of some kind. The previous problem was that you licensed something, but at the same time you "owned" the media on which the product was stored. As a result of media deterioration, you can no longer use the license. But it doesn't seem reasonable to me that you and I both bought a cassette on the same day, same store, under the same license, yet yours snapped after one year of use, but mine works fine for five years. On the other hand (Mr Beatles Fan, not Richard who I assume is also a Beatles Fan), you could probably have multiple types of versions - mastering versions, but also variant versions of songs. The Beatles did some fantastic variant versions of songs, and ones that I may not have licensed at any time in the past. Im sure there are a few Breakfast with the Beatles listeners out there, other than me ;-) Also complicating matters are when the same bits of IP are embedded into something else. Something Ive been thinking about recently are all these books that are coming out as something maybe closer to being an "app" than a book. If a book is released as an app, does that constitute it being "in print"? Many agreements with publishers allow authors to get many rights back if a book is out of print for X amount of time. Also, consider "reprint" rights vs "repurpose" rights. > Ironically, I recall the SPA noting a few years ago that the > second most-pirated software category after games was > software for music production. That's funny, but not surprising. There are some handy tools for working with various files like mp3s that can alter the tags embedded in them that make it harder to figure out how and where the file may have been pirated from. Best regards, Lynn Fredricks Mirye Software Publishing http://www.mirye.com From livecode.list at gmail.com Fri Aug 12 21:57:09 2011 From: livecode.list at gmail.com (Chip Thomas) Date: Fri, 12 Aug 2011 18:57:09 -0700 Subject: Cursor woes In-Reply-To: <4E4569F3.1020705@hyperactivesw.com> References: <4E4569F3.1020705@hyperactivesw.com> Message-ID: Oh my gosh! Thank you so much! It's always the obvious solutions, isn't it? :) On Fri, Aug 12, 2011 at 10:59 AM, J. Landman Gay wrote: > On 8/11/11 7:19 PM, Chip Thomas wrote: > > One project is a launcher system where the standalone just launches a >> separate main stack file. The cursor script is on the card of this stack >> file. In this project, I don't get any cursor changes except when in the >> development environment. >> >> The second project is just a regular standalone with the cursor script on >> the main card of the standalone. I do get a cursor change, but I get a >> watch rather than a hand. >> > > Probably obvious, but if nothing else works, double-check that cursors have > been included in Standalone Settings. > > -- > 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 Fri Aug 12 22:23:20 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 12 Aug 2011 21:23:20 -0500 Subject: Difference between destroyStack and destroyWindow In-Reply-To: <8585346796.20110812174911@ahsoftware.net> References: <8B2D3549-069E-4B54-8094-F9381BB6E1DC@mac.com> <8585346796.20110812174911@ahsoftware.net> Message-ID: <4E45E018.5020406@hyperactivesw.com> On 8/12/11 7:49 PM, Mark Wieder wrote: > Bill- > > Friday, August 12, 2011, 1:25:49 PM, you wrote: > >> They sounds pretty similar to me. What is the difference and why >> would I ever not want to have them either both on or both off for >> substacks? > > Boy, just when you think maybe you've learned some of this stuff, > something like this comes along. Beats me. I've never heard of > destroyWindow before, and I use destroyStack all the time. The docs > say it's been around since 1.0. It's not in my HC references anywhere. > It's in the MC reference, and when I asked Scott Raney about it I got the feeling it was largely a Linux/unix thing. But the MC entry seems to indicate it's useful for externals too. Here's what the MC docs say: This property controls whether or not the window owned by a stack is freed when the stack is closed. To provide best performance, stack windows are normally unmapped rather than destroyed. This property may be useful for those X servers with inadequate memory. This property is also useful when debugging external commands and functions. Externals exit when the window they use for communication is destroyed and are restarted when the window is recreated. Setting this property allows testing many versions of an external without having to exit MetaCard. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Fri Aug 12 22:31:15 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 12 Aug 2011 21:31:15 -0500 Subject: Cursor woes In-Reply-To: References: <4E4569F3.1020705@hyperactivesw.com> Message-ID: <4E45E1F3.1040303@hyperactivesw.com> On 8/12/11 8:57 PM, Chip Thomas wrote: > Oh my gosh! Thank you so much! > > It's always the obvious solutions, isn't it? :) I'm glad it's fixed, but it doesn't explain why you were able to get the watch cursor sometimes. The watch is in the cursors stack too. Odd. Maybe it's buried in the OS somewhere. > > On Fri, Aug 12, 2011 at 10:59 AM, J. Landman Gay > wrote: > >> On 8/11/11 7:19 PM, Chip Thomas wrote: >> >> One project is a launcher system where the standalone just launches a >>> separate main stack file. The cursor script is on the card of this stack >>> file. In this project, I don't get any cursor changes except when in the >>> development environment. >>> >>> The second project is just a regular standalone with the cursor script on >>> the main card of the standalone. I do get a cursor change, but I get a >>> watch rather than a hand. >>> >> >> Probably obvious, but if nothing else works, double-check that cursors have >> been included in Standalone Settings. >> >> -- >> 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 capellan2000 at gmail.com Fri Aug 12 23:46:41 2011 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Fri, 12 Aug 2011 20:46:41 -0700 (PDT) Subject: [OT] Internet Censorship In-Reply-To: <4E45CAED.5050906@fourthworld.com> References: <1312601118358-3722715.post@n4.nabble.com> <014801cc5861$847e3f40$8d7abdc0$@net> <4E45CAED.5050906@fourthworld.com> Message-ID: <1313207201396-3740850.post@n4.nabble.com> Hi Richard, Richard Gaskin wrote: > > Ironically, I recall the SPA noting a few years ago that the second > most-pirated software category after games was software for music > production. > And... where could we hear the results? If... MOST of the current music that receives airplay is any indication of proficiency using software for music production... then THIS IS the... end of music :-( Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-Internet-Censorship-tp3722715p3740850.html Sent from the Revolution - User mailing list archive at Nabble.com. From capellan2000 at gmail.com Fri Aug 12 23:57:48 2011 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Fri, 12 Aug 2011 20:57:48 -0700 (PDT) Subject: [OT] You know when you've been coding too long when . . . In-Reply-To: <4E44641C.6090505@comcast.net> References: <4E44641C.6090505@comcast.net> Message-ID: <1313207868449-3740856.post@n4.nabble.com> When you find yourself in the middle of a completely boring and repetitive editing task inside any other software ... and you wish, with all your heart, to be able to use LiveCode scripts to complete the task... In fact, you already know (exactly) how should read that script... :-D Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-You-know-when-you-ve-been-coding-too-long-when-tp3737589p3740856.html Sent from the Revolution - User mailing list archive at Nabble.com. From capellan2000 at gmail.com Sat Aug 13 00:12:05 2011 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Fri, 12 Aug 2011 21:12:05 -0700 (PDT) Subject: Exporting vector images In-Reply-To: <4E42B997.2070905@gmail.com> References: <4E429571.4070805@gmail.com> <1312994469586-3733514.post@n4.nabble.com> <4E42B997.2070905@gmail.com> Message-ID: <1313208725551-3740872.post@n4.nabble.com> Hi Richmond, Richmond Mathewson-2 wrote: > > This super stack exports Vector graphics as vector graphics > (wow, that sounds a bit circular), and as such is wonderful. > > WHAT IT DOESN'T DO is: > Export TEXT from a textField as Vectors . . . expecting too much, I am . > . . :) > Exporting text fields as vectors would require some external (to read the font vector information) or recreate the text in another group/card/stack, using only vector graphics (from the Devawriter TTF font) If you send me the vector graphics, I could experiment with this, to test how feasible it is. Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Exporting-vector-images-tp3733066p3740872.html Sent from the Revolution - User mailing list archive at Nabble.com. From stephenREVOLUTION2 at barncard.com Sat Aug 13 00:36:36 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Fri, 12 Aug 2011 21:36:36 -0700 Subject: [OT] Internet Censorship In-Reply-To: <1313207201396-3740850.post@n4.nabble.com> References: <1312601118358-3722715.post@n4.nabble.com> <014801cc5861$847e3f40$8d7abdc0$@net> <4E45CAED.5050906@fourthworld.com> <1313207201396-3740850.post@n4.nabble.com> Message-ID: Ha! "airplay" is the problem! Homogenization is what they do. If one is only listening to terrestrial radio, then that mediocrity is what one gets. There is PLENTY of great, original new music streaming out there on the net --, one just needs to explore. On 12 August 2011 20:46, Alejandro Tejada wrote: > Hi Richard, > > > Richard Gaskin wrote: > > > > Ironically, I recall the SPA noting a few years ago that the second > > most-pirated software category after games was software for music > > production. > > > > And... where could we hear the results? > > If... MOST of the current music that receives airplay > is any indication of proficiency using software > for music production... then THIS IS the... > end of music > > :-( > > Al > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/OT-Internet-Censorship-tp3722715p3740850.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 > -- Stephen Barncard San Francisco Ca. USA more about sqb From jhj at jhj.com Sat Aug 13 00:51:07 2011 From: jhj at jhj.com (Jerry J) Date: Fri, 12 Aug 2011 21:51:07 -0700 Subject: [OT] Internet Censorship In-Reply-To: References: <1312601118358-3722715.post@n4.nabble.com> <014801cc5861$847e3f40$8d7abdc0$@net> <4E45CAED.5050906@fourthworld.com> <1313207201396-3740850.post@n4.nabble.com> Message-ID: <6AF658B4-AD5B-4F12-B2CB-3AA61DBB85FE@jhj.com> Stephen is right. The tools for the technical aspects of music production are now available to everybody. The skills to use them creatively are not so easy to come by. Unfortunately, if you follow the money in the music business, you mostly get mediocrity. For now. Stay tuned, --Jerry On Aug 12, 2011, at 9:36 PM, stephen barncard wrote: > Ha! "airplay" is the problem! Homogenization is what they do. > > If one is only listening to terrestrial radio, then that mediocrity is what > one gets. There is PLENTY of great, original new music streaming out there > on the net --, one just needs to explore. > > On 12 August 2011 20:46, Alejandro Tejada wrote: > >> Hi Richard, >> >> >> Richard Gaskin wrote: >>> >>> Ironically, I recall the SPA noting a few years ago that the second >>> most-pirated software category after games was software for music >>> production. >>> >> >> And... where could we hear the results? >> >> If... MOST of the current music that receives airplay >> is any indication of proficiency using software >> for music production... then THIS IS the... >> end of music >> >> :-( >> >> Al >> >> -- >> View this message in context: >> http://runtime-revolution.278305.n4.nabble.com/OT-Internet-Censorship-tp3722715p3740850.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 >> > > > > -- > > > > 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 From mwieder at ahsoftware.net Sat Aug 13 00:52:41 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 12 Aug 2011 21:52:41 -0700 Subject: Version Tracking In-Reply-To: <2AFBB6E3-195F-4322-BEAA-958DE77D1D5F@twft.com> References: <2AFBB6E3-195F-4322-BEAA-958DE77D1D5F@twft.com> Message-ID: <15599957484.20110812215241@ahsoftware.net> Bob- Friday, August 12, 2011, 10:14:21 AM, you wrote: > Hi all. > I am working on an application for scheduling and after showing a > working proof of concept to the powers that be, they seem pretty > excited about it. I am meeting with a group of people who run the > sites next week. I would like to fire up some kind of version > tracking/feature request system where I can prioritize features and > assign them to planned future versions. > Do any of you use software like that, and what would you recommend? Have you thought of looking at something already coded in LiveCode? http://www.rotundasoftware.com/ -- -Mark Wieder mwieder at ahsoftware.net From capellan2000 at gmail.com Sat Aug 13 01:02:01 2011 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Fri, 12 Aug 2011 22:02:01 -0700 (PDT) Subject: [OT] Internet Censorship In-Reply-To: References: <1312601118358-3722715.post@n4.nabble.com> <014801cc5861$847e3f40$8d7abdc0$@net> <4E45CAED.5050906@fourthworld.com> <1313207201396-3740850.post@n4.nabble.com> Message-ID: <1313211721643-3740893.post@n4.nabble.com> Hi stephen, Stephen Barncard-4 wrote: > > Ha! "airplay" is the problem! Homogenization is what they do. > > If one is only listening to terrestrial radio, then that mediocrity is > what > one gets. There is PLENTY of great, original new music streaming out there > on the net --, one just needs to explore. > Well, I have been reading (and hearing) your websites: http://mixstream.org http://barncard.com/ and could say that Derek's music is really good. His music really lives to his motto: "driving melodic beats" Hopefully, you could post an article about this homogenization (with short music samples). I have noticed that most recent music abuse of the principle of repetition, when my ear is expecting, at least, some kind of variation... Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-Internet-Censorship-tp3722715p3740893.html Sent from the Revolution - User mailing list archive at Nabble.com. From jacque at hyperactivesw.com Sat Aug 13 01:13:05 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 13 Aug 2011 00:13:05 -0500 Subject: What to Do Since FTP No Longer Supported in Mac OSX Lion? In-Reply-To: <1754883.6FjPAslCQ3@suse> References: <1754883.6FjPAslCQ3@suse> Message-ID: <4E4607E1.1040309@hyperactivesw.com> On 8/12/11 1:17 PM, Warren Samples wrote: > You can still use FTP: > > "While FTP is still available and configurable from the command line, > it's no longer supported as an easy to turn on option in System > Preferences" -- > from Having just spend some time implementing FTP uploading in my AirLaunch stack, it sounds like it won't work on Lion. I'm waiting to update my OS, but does anyone know what changes I'd need to make in order to upload to a server on a Lion installation? Uploading works okay on Snow Leopard right now. I suppose I'll need to branch the code depending on the OS? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From josh at dvcreators.net Sat Aug 13 01:19:59 2011 From: josh at dvcreators.net (Josh Mellicker) Date: Fri, 12 Aug 2011 22:19:59 -0700 Subject: What to Do Since FTP No Longer Supported in Mac OSX Lion? In-Reply-To: <4E4607E1.1040309@hyperactivesw.com> References: <1754883.6FjPAslCQ3@suse> <4E4607E1.1040309@hyperactivesw.com> Message-ID: <09C2CE29-1674-4340-AD27-E29E0B475AD4@dvcreators.net> We've switched to using cURL for uploading and downloading. Let me know if you'd like some code samples. On Aug 12, 2011, at 10:13 PM, "J. Landman Gay" wrote: > On 8/12/11 1:17 PM, Warren Samples wrote: > >> You can still use FTP: >> >> "While FTP is still available and configurable from the command line, >> it's no longer supported as an easy to turn on option in System >> Preferences" -- >> from > > Having just spend some time implementing FTP uploading in my AirLaunch stack, it sounds like it won't work on Lion. I'm waiting to update my OS, but does anyone know what changes I'd need to make in order to upload to a server on a Lion installation? > > Uploading works okay on Snow Leopard right now. I suppose I'll need to branch the code depending on 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 revolution at derbrill.de Sat Aug 13 03:12:04 2011 From: revolution at derbrill.de (Malte Brill) Date: Sat, 13 Aug 2011 09:12:04 +0200 Subject: [OT] Internet Censorship In-Reply-To: References: Message-ID: > And... where could we hear the results? http://www.soundcloud.com for example. This is a place full of creativity. :-) Mine is here: http://soundcloud.com/info-694-1 Though I do everything with licensed Software only... And I for sure am not one of the most talented people there. Cheers, Malte From shaosean at wehostmacs.com Sat Aug 13 03:35:49 2011 From: shaosean at wehostmacs.com (Shao Sean) Date: Sat, 13 Aug 2011 03:35:49 -0400 Subject: What to Do Since FTP No Longer Supported in Mac OSX Lion? Message-ID: > does anyone know what changes I'd need to make in order to upload to > a server on a Lion installation? nothing.. only the FTP server GUI has been removed from Lion Server, but the actual daemon is still installed on the machine.. From scott at elementarysoftware.com Sat Aug 13 04:21:25 2011 From: scott at elementarysoftware.com (Scott Morrow) Date: Sat, 13 Aug 2011 01:21:25 -0700 Subject: What to Do Since FTP No Longer Supported in Mac OSX Lion? In-Reply-To: <4E4607E1.1040309@hyperactivesw.com> References: <1754883.6FjPAslCQ3@suse> <4E4607E1.1040309@hyperactivesw.com> Message-ID: <77AAB9BB-D547-4968-BD95-3C1BAD0710D3@elementarysoftware.com> Jacque, In what way do you mean it won't work on Lion? Do you mean if Lion is the server? AirLaunch works if Lion is the client. -Scott Morrow On Aug 12, 2011, at 10:13 PM, J. Landman Gay wrote: > On 8/12/11 1:17 PM, Warren Samples wrote: > >> You can still use FTP: >> >> "While FTP is still available and configurable from the command line, >> it's no longer supported as an easy to turn on option in System >> Preferences" -- >> from > > Having just spend some time implementing FTP uploading in my AirLaunch stack, it sounds like it won't work on Lion. I'm waiting to update my OS, but does anyone know what changes I'd need to make in order to upload to a server on a Lion installation? > > Uploading works okay on Snow Leopard right now. I suppose I'll need to branch the code depending on 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 andre at andregarzia.com Sat Aug 13 05:47:21 2011 From: andre at andregarzia.com (Andre Garzia) Date: Sat, 13 Aug 2011 11:47:21 +0200 Subject: What to Do Since FTP No Longer Supported in Mac OSX Lion? In-Reply-To: <77AAB9BB-D547-4968-BD95-3C1BAD0710D3@elementarysoftware.com> References: <1754883.6FjPAslCQ3@suse> <4E4607E1.1040309@hyperactivesw.com> <77AAB9BB-D547-4968-BD95-3C1BAD0710D3@elementarysoftware.com> Message-ID: I have a barely working SFTP external for mac.... will release an alpha soon. :-) PS: On the end of my vacations, that is why I am silent... From andre at andregarzia.com Sat Aug 13 05:48:57 2011 From: andre at andregarzia.com (Andre Garzia) Date: Sat, 13 Aug 2011 11:48:57 +0200 Subject: [OT] You know when you've been coding too long when . . . In-Reply-To: <1313207868449-3740856.post@n4.nabble.com> References: <4E44641C.6090505@comcast.net> <1313207868449-3740856.post@n4.nabble.com> Message-ID: I press CMD+0 and CMD+9 to switch tools :-( On Sat, Aug 13, 2011 at 5:57 AM, Alejandro Tejada wrote: > When you find yourself in the middle > of a completely boring and repetitive > editing task inside any other software > ... and you wish, with all your heart, > to be able to use LiveCode scripts to > complete the task... > > In fact, you already know (exactly) > how should read that script... > > :-D > > Al > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/OT-You-know-when-you-ve-been-coding-too-long-when-tp3737589p3740856.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 > -- http://www.andregarzia.com All We Do Is Code. From pmbrig at gmail.com Sat Aug 13 08:11:21 2011 From: pmbrig at gmail.com (Peter M. Brigham, MD) Date: Sat, 13 Aug 2011 08:11:21 -0400 Subject: [OT] Internet Censorship In-Reply-To: <6AF658B4-AD5B-4F12-B2CB-3AA61DBB85FE@jhj.com> References: <1312601118358-3722715.post@n4.nabble.com> <014801cc5861$847e3f40$8d7abdc0$@net> <4E45CAED.5050906@fourthworld.com> <1313207201396-3740850.post@n4.nabble.com> <6AF658B4-AD5B-4F12-B2CB-3AA61DBB85FE@jhj.com> Message-ID: <254EEDC2-D715-4427-9862-1379850288BB@gmail.com> On Aug 13, 2011, at 12:51 AM, Jerry J wrote: > Stephen is right. The tools for the technical aspects of music production are now available to everybody. The skills to use them creatively are not so easy to come by. > > Unfortunately, if you follow the money in the music business, you mostly get mediocrity. ... or as someone once put it, a fool with a tool is still a fool. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From richmondmathewson at gmail.com Sat Aug 13 09:35:23 2011 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sat, 13 Aug 2011 16:35:23 +0300 Subject: [OT] You know when you've been coding too long when . . . In-Reply-To: References: <4E44641C.6090505@comcast.net> <1313207868449-3740856.post@n4.nabble.com> Message-ID: <4E467D9B.2050204@gmail.com> You know when you've been coding too long when you start looking for the Ctrl and 'X' keys behind the toilet . . . :) And wondering when you shout "set the vis to false" to your teenage son, he doesn't just disappear for a bit . . . :) From richmondmathewson at gmail.com Sat Aug 13 09:37:34 2011 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sat, 13 Aug 2011 16:37:34 +0300 Subject: [OT] Internet Censorship In-Reply-To: <254EEDC2-D715-4427-9862-1379850288BB@gmail.com> References: <1312601118358-3722715.post@n4.nabble.com> <014801cc5861$847e3f40$8d7abdc0$@net> <4E45CAED.5050906@fourthworld.com> <1313207201396-3740850.post@n4.nabble.com> <6AF658B4-AD5B-4F12-B2CB-3AA61DBB85FE@jhj.com> <254EEDC2-D715-4427-9862-1379850288BB@gmail.com> Message-ID: <4E467E1E.5070504@gmail.com> On 08/13/2011 03:11 PM, Peter M. Brigham, MD wrote: > On Aug 13, 2011, at 12:51 AM, Jerry J wrote: > >> Stephen is right. The tools for the technical aspects of music production are now available to everybody. The skills to use them creatively are not so easy to come by. >> >> Unfortunately, if you follow the money in the music business, you mostly get mediocrity. > ... or as someone once put it, a fool with a tool is still a fool. Somebody once told me (it might have been my aunt) that the problem with the world was that at least half the population consisted of fools with tools . . . err, but I digress. Probably about now is when Mrs Gay will chime in with an apposite remark . . . :) > > -- 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 From richmondmathewson at gmail.com Sat Aug 13 09:40:28 2011 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sat, 13 Aug 2011 16:40:28 +0300 Subject: [OT] advice as to whether this is a scam? Message-ID: <4E467ECC.3070401@gmail.com> Dear Liovecode users, I need a spot of advice re the following e-mail I just recieved: "Dear PayPal member, Your account has been temporarily limited. Please download the form and follow the instructions on your screen. NOTE: The form needs to be opened in a modern browser which has javascript enabled (ex: Internet Explorer, Firefox ,Netscape) Submitting this form you will unlimit and restore your PayPal account . If you are using Internet Explorer please allow ActiveX for scripts to perform all data transfers securely . Thank You. Thanks for using PayPal ." Why, Oh Why, does that make me feel uneasy? Should I or shouldn't I? Please advise. Richmond. From richmondmathewson at gmail.com Sat Aug 13 09:43:45 2011 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sat, 13 Aug 2011 16:43:45 +0300 Subject: Unicode woes Message-ID: <4E467F91.3010408@gmail.com> Anybody know why this doesn't work: on mouseUp set the useUnicode to true set the unicodeText of fld "XXXX" to the first char of the unicodeText of fld "ZZZZ" end mouseUp ??? From m.schonewille at economy-x-talk.com Sat Aug 13 09:52:49 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 13 Aug 2011 15:52:49 +0200 Subject: [OT] advice as to whether this is a scam? In-Reply-To: <4E467ECC.3070401@gmail.com> References: <4E467ECC.3070401@gmail.com> Message-ID: Richmond, Obviously, this is a scam. "Which has javascript enabled [...] please allow ActiveX for scripts" really should make you hear alarm bells. You don't need to respond to e-mails that come from PayPal ever. If you do business with PayPal and log in once a day, you will find all the notifications and other information listed in your account. Any genuine e-mail from PayPal is nothing but a notification that it might be useful to log in to your account now. You will never need to send any information whatsoever in any other way than logging on to the website and filling out web forms there, except for a one-time request to send a copy of your passport to PayPal. When you get this request, again you log in to your account and follow the instructions there. You never ever download any files from anywhere else and "follow instructions". Really. Never. Now, if you or anyone else still think that there might be cases when you need to give PayPal any information without logging in on your account first: read the above again. There are no such cases. Period. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 What does that error mean? Buy LiveCodeErrors for iPhone now http://qery.us/v4 A must-have for LiveCode programmers. On 13 aug 2011, at 15:40, Richmond Mathewson wrote: > Dear Liovecode users, I need a spot of advice re the following e-mail I just recieved: > > "Dear PayPal member, Your account has been temporarily limited. Please download the form and follow the instructions on your screen. NOTE: The form needs to be opened in a modern browser which has javascript enabled (ex: Internet Explorer, Firefox ,Netscape) Submitting this form you will unlimit and restore your PayPal account . If you are using Internet Explorer please allow ActiveX for scripts to perform all data transfers securely . Thank You. Thanks for using PayPal ." > > Why, Oh Why, does that make me feel uneasy? > > Should I or shouldn't I? > > Please advise. > > Richmond. From m.schonewille at economy-x-talk.com Sat Aug 13 10:04:01 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 13 Aug 2011 16:04:01 +0200 Subject: Unicode woes In-Reply-To: <4E467F91.3010408@gmail.com> References: <4E467F91.3010408@gmail.com> Message-ID: Hi Richmond, It doesn't work because the first char actually gets the first byte and thus you only get the first half of the first character. This might work, depending on the textFont setting and maybe writing direction: on mouseUp set the unicodetext of fld "xxx" to char 1 to 2 of the unicodetext of fld "zzz" end mouseUp -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 What does that error mean? Buy LiveCodeErrors for iPhone now http://qery.us/v4 A must-have for LiveCode programmers. On 13 aug 2011, at 15:43, Richmond Mathewson wrote: > Anybody know why this doesn't work: > > on mouseUp > set the useUnicode to true > set the unicodeText of fld "XXXX" to the first char of the unicodeText of fld "ZZZZ" > end mouseUp > > ??? From ambassador at fourthworld.com Sat Aug 13 11:38:19 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 13 Aug 2011 08:38:19 -0700 Subject: [OT] advice as to whether this is a scam? In-Reply-To: <4E467ECC.3070401@gmail.com> References: <4E467ECC.3070401@gmail.com> Message-ID: <4E469A6B.3020900@fourthworld.com> Richmond wrote: > Dear Liovecode users, I need a spot of advice re the following e-mail I > just recieved: > > "Dear PayPal member, Your account has been temporarily limited. Please > download the form and follow the instructions on your screen. NOTE: The > form needs to be opened in a modern browser which has javascript enabled > (ex: Internet Explorer, Firefox ,Netscape) Submitting this form you will > unlimit and restore your PayPal account . If you are using Internet > Explorer please allow ActiveX for scripts to perform all data transfers > securely . Thank You. Thanks for using PayPal ." > > Why, Oh Why, does that make me feel uneasy? > > Should I or shouldn't I? > > Please advise. Definitely a scam. When in doubt you can forward any questionable email that claims to be from PayPal to an address that PayPal maintains to collect and advise on such things: spoof at paypal.com In most cases (every time so far for me) you'll get an email confirming that it's a scam. I very much appreciate that PayPal takes this proactive approach to spoofs. PayPal rarely sends emails, so most you'll see that appear to come from them are scams, esp. those with some sort of claim that your account is "limited". Moreover, nothing at PayPal requires any platform-specific components like ActiveX. Until Microsoft throws their IE engine into the trash where it belongs and adopts WebKit instead (yeah, right, that'll happen when they replace their kernel with a more sensible Unix derivative; i.e., "not anytime soon"), ActiveX remains one of the most serious security vulnerabilities affecting a majority of computing users and should always be as restricted as possible. Any developer making public web sites which require ActiveX should be replaced with someone possessing better professional judgment. -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From kray at sonsothunder.com Sat Aug 13 12:44:26 2011 From: kray at sonsothunder.com (Ken Ray) Date: Sat, 13 Aug 2011 11:44:26 -0500 Subject: Difference between destroyStack and destroyWindow In-Reply-To: <4E45E018.5020406@hyperactivesw.com> References: <8B2D3549-069E-4B54-8094-F9381BB6E1DC@mac.com> <8585346796.20110812174911@ahsoftware.net> <4E45E018.5020406@hyperactivesw.com> Message-ID: <5446E339-5766-4690-BAF0-EA89DC0462AA@sonsothunder.com> > > This property controls whether or not the window owned by a stack is freed when the stack is closed. To provide best performance, stack windows are normally unmapped rather than destroyed. This property may be useful for those X servers with inadequate memory. This property is also useful when debugging external commands and functions. Externals exit when the window they use for communication is destroyed and are restarted when the window is recreated. Setting this property allows testing many versions of an external without having to exit MetaCard. Right.... my understanding is that when a stack is opened, two things need to occur (at least): the data needs to be read from the stack file on disk into memory, and then a window is created with its definition stored in memory and a 'handle' to that window is made available. If the stack is to be displayed, that window handle is used to draw the contents of the first card of the stack based on the stack data that's in memory. So there's kind of two memory chunks - one for the compressed (I'm assuming) stack data, and one for the window handle. DestroyStack kills the first, and destroyWindow kills the second. If you close a stack with neither property turned on, the stack is "ignored", but both its data and its window handle remain in memory. If you later need to reopen the stack, all LC has to do is stop ignoring the stack data/handle and just use what's there. If you have destroyWIndow = "true", the window handle is purged when the stack closes, but the data remains in memory. If you have the destroyStack = "true", the data is purged, but the window handle remains in memory. If you close a stack with destroyStack = "false", the stack will not appear in "the openstacks" (aka "the windows"), but it *will* appear in "the mainstacks", as proof that it's still in memory. This has an interesting side effect with libraries, BTW: If you 'stop using' a stack, it remains in memory even if it's destroystack property is true - you didn't really "close" it, so it remains in memory; to fully remove a library from memory, you need to "delete" that stack - just make sure that the stack you're destroying is a mainstack and not a substack, otherwise you actually delete the substack! For that reason, I tend to use something like this: stop using "MyLibrary" if "MyLibrary" is among the lines of the mainstacks then delete stack "MyLibrary" Anyway, that's my understanding of how this stuff works - someone from the mothership can chime in and correct where I may have messed up... :D Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From gregory.lypny at videotron.ca Sat Aug 13 13:06:43 2011 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Sat, 13 Aug 2011 13:06:43 -0400 Subject: What to Do Since FTP No Longer Supported in Mac OSX Lion? In-Reply-To: References: Message-ID: Hi Warren, Thanks for the tip. I had read that FTP service could be re-enable from the command line. That will certainly solve the problem, but if Apple has a good reason for dropping it, it would be nice to be able to do SFTP with LiveCode in order to keep up with the game. Regards, Gregory On Fri, Aug 12, 2011, at 8:49 PM, use-livecode-request at lists.runrev.com wrote: > You can still use FTP: > > "While FTP is still available and configurable from the command line, it's no longer supported as an easy to turn on option in System Preferences" > -- from > > Hope that helps, > > Warren From gregory.lypny at videotron.ca Sat Aug 13 13:10:24 2011 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Sat, 13 Aug 2011 13:10:24 -0400 Subject: What to Do Since FTP No Longer Supported in Mac OSX Lion? In-Reply-To: References: Message-ID: That would be great, Andre. Gregory On Sat, Aug 13, 2011, at 1:00 PM, use-livecode-request at lists.runrev.com wrote: > I have a barely working SFTP external for mac.... will release an alpha > soon. > > :-) > > PS: On the end of my vacations, that is why I am silent... From pete at mollysrevenge.com Sat Aug 13 13:11:47 2011 From: pete at mollysrevenge.com (Pete) Date: Sat, 13 Aug 2011 10:11:47 -0700 Subject: [OT] Internet Censorship In-Reply-To: <254EEDC2-D715-4427-9862-1379850288BB@gmail.com> References: <1312601118358-3722715.post@n4.nabble.com> <014801cc5861$847e3f40$8d7abdc0$@net> <4E45CAED.5050906@fourthworld.com> <1313207201396-3740850.post@n4.nabble.com> <6AF658B4-AD5B-4F12-B2CB-3AA61DBB85FE@jhj.com> <254EEDC2-D715-4427-9862-1379850288BB@gmail.com> Message-ID: The analogy that immediately comes to mind is programming languages and particularly those like our beloved LC since it is deliberately designed to look kinda familiar due to to it's English language syntax. This harks back to the other discussion that has been going on regarding creative users. I have absolutely nothing against hobbyist programmers but there's so much more to programming than writing the instructions that tell a computer what to do - that is (or should be) the very last step in a process of problem analysis, logic and data structure design. Just like recording software, using a programming language without the required knowledge produces pretty lousy results. Pete Molly's Revenge On Sat, Aug 13, 2011 at 5:11 AM, Peter M. Brigham, MD wrote: > > On Aug 13, 2011, at 12:51 AM, Jerry J wrote: > > > Stephen is right. The tools for the technical aspects of music production > are now available to everybody. The skills to use them creatively are not so > easy to come by. > > > > Unfortunately, if you follow the money in the music business, you mostly > get mediocrity. > > ... or as someone once put it, a fool with a tool is still a fool. > > -- 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 > > From ambassador at fourthworld.com Sat Aug 13 13:17:25 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 13 Aug 2011 10:17:25 -0700 Subject: What to Do Since FTP No Longer Supported in Mac OSX Lion? In-Reply-To: <4E4607E1.1040309@hyperactivesw.com> References: <4E4607E1.1040309@hyperactivesw.com> Message-ID: <4E46B1A5.6060101@fourthworld.com> J. Landman Gay wrote: > Having just spend some time implementing FTP uploading in my AirLaunch > stack, it sounds like it won't work on Lion. If I understand this correctly, the only change in Lion is that it no longer provides a GUI for an FTP *server*. Uploading to any other server should still work, yes? IIRC Apple no longer makes Xserve anyway, so who needs an OS X FTP server? -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From gregory.lypny at videotron.ca Sat Aug 13 13:33:29 2011 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Sat, 13 Aug 2011 13:33:29 -0400 Subject: Grabbing the Date and Time From a Time Server on the Internet Message-ID: Taking another kick at the cat here. I?d like to use something like get url (http://[time server address]) to grab the current date and time from an official time server. This would be used in a LiveCode standalone distributed to collaborators and grad students who would use it to export time-sensitive data. I want the data to be date- and time-stamped, and I cannot count on their computer clocks being accurate. I suppose an alternative would be to get the creation date and time of the file once it is received via FTP (or better still, SFTP) use the the server date and time as the standard. Anyone? Please? Regards, Gregory From warren at warrensweb.us Sat Aug 13 13:35:16 2011 From: warren at warrensweb.us (Warren Samples) Date: Sat, 13 Aug 2011 12:35:16 -0500 Subject: What to Do Since FTP No Longer Supported in Mac OSX Lion? In-Reply-To: <4E46B1A5.6060101@fourthworld.com> References: <4E4607E1.1040309@hyperactivesw.com> <4E46B1A5.6060101@fourthworld.com> Message-ID: <1938129.z8nlJZqaN1@suse> On Saturday, August 13, 2011 10:17:25 AM Richard Gaskin wrote: > IIRC Apple no longer makes Xserve anyway, so who needs an OS X FTP server? > > -- > Richard Gaskin At issue is which protocol is being used when one enables file sharing in the System Preferences on a standard OS X Desktop install. The FTP option has been replaced with SFTP. Warren From jacque at hyperactivesw.com Sat Aug 13 13:39:52 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 13 Aug 2011 12:39:52 -0500 Subject: [OT] You know when you've been coding too long when . . . In-Reply-To: <4E467D9B.2050204@gmail.com> References: <4E44641C.6090505@comcast.net> <1313207868449-3740856.post@n4.nabble.com> <4E467D9B.2050204@gmail.com> Message-ID: <4E46B6E8.2050605@hyperactivesw.com> On 8/13/11 8:35 AM, Richmond Mathewson wrote: > And wondering when you shout "set the vis to false" to your teenage son, > he doesn't just disappear for a bit . . . :) Oh man, could I have used that. Someone should put in a feature request. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Sat Aug 13 13:41:07 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 13 Aug 2011 10:41:07 -0700 Subject: What to Do Since FTP No Longer Supported in Mac OSX Lion? In-Reply-To: <1938129.z8nlJZqaN1@suse> References: <1938129.z8nlJZqaN1@suse> Message-ID: <4E46B733.4070000@fourthworld.com> Warren Samples wrote: > On Saturday, August 13, 2011 10:17:25 AM Richard Gaskin wrote: >> IIRC Apple no longer makes Xserve anyway, so who needs an OS X FTP server? > > At issue is which protocol is being used when one enables file sharing in the System Preferences on a standard OS X Desktop install. The FTP option has been > replaced with SFTP. Thanks for the clarification, Warren. When oh when will RunRev support SFTP?!?!?! 147 votes and growing: -- Richard Gaskin Fourth World LiveCode training and consulting: http://www.fourthworld.com Webzine for LiveCode developers: http://www.LiveCodeJournal.com LiveCode Journal blog: http://LiveCodejournal.com/blog.irv From jacque at hyperactivesw.com Sat Aug 13 13:41:09 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 13 Aug 2011 12:41:09 -0500 Subject: [OT] Internet Censorship In-Reply-To: <4E467E1E.5070504@gmail.com> References: <1312601118358-3722715.post@n4.nabble.com> <014801cc5861$847e3f40$8d7abdc0$@net> <4E45CAED.5050906@fourthworld.com> <1313207201396-3740850.post@n4.nabble.com> <6AF658B4-AD5B-4F12-B2CB-3AA61DBB85FE@jhj.com> <254EEDC2-D715-4427-9862-1379850288BB@gmail.com> <4E467E1E.5070504@gmail.com> Message-ID: <4E46B735.1050401@hyperactivesw.com> On 8/13/11 8:37 AM, Richmond Mathewson wrote: > Probably about now is when Mrs Gay will chime in with an apposite remark I've been warned to keep it clean. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From revdev at pdslabs.net Sat Aug 13 13:45:35 2011 From: revdev at pdslabs.net (Phil Davis) Date: Sat, 13 Aug 2011 10:45:35 -0700 Subject: [OT] You know when you've been coding too long when . . . In-Reply-To: <4E46B6E8.2050605@hyperactivesw.com> References: <4E44641C.6090505@comcast.net> <1313207868449-3740856.post@n4.nabble.com> <4E467D9B.2050204@gmail.com> <4E46B6E8.2050605@hyperactivesw.com> Message-ID: <4E46B83F.9020207@pdslabs.net> On 8/13/11 10:39 AM, J. Landman Gay wrote: > On 8/13/11 8:35 AM, Richmond Mathewson wrote: > >> And wondering when you shout "set the vis to false" to your teenage son, >> he doesn't just disappear for a bit . . . :) > > Oh man, could I have used that. Someone should put in a feature request. Uhhh... to whom? -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net From jacque at hyperactivesw.com Sat Aug 13 13:49:56 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 13 Aug 2011 12:49:56 -0500 Subject: What to Do Since FTP No Longer Supported in Mac OSX Lion? In-Reply-To: <77AAB9BB-D547-4968-BD95-3C1BAD0710D3@elementarysoftware.com> References: <1754883.6FjPAslCQ3@suse> <4E4607E1.1040309@hyperactivesw.com> <77AAB9BB-D547-4968-BD95-3C1BAD0710D3@elementarysoftware.com> Message-ID: <4E46B944.8030608@hyperactivesw.com> On 8/13/11 3:21 AM, Scott Morrow wrote: > Jacque, > > In what way do you mean it won't work on Lion? Do you mean if Lion > is the server? AirLaunch works if Lion is the client. -Scott Morrow Right, I mean "client" so it's good to know that AirLaunch on Lion works. That's what I wanted to know. AirLaunch uses libURL for file transfers, so anyone else using that library is probably okay. Thanks to all the people who responded, I'm reassured. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sat Aug 13 13:50:48 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 13 Aug 2011 12:50:48 -0500 Subject: What to Do Since FTP No Longer Supported in Mac OSX Lion? In-Reply-To: References: Message-ID: <4E46B978.9030007@hyperactivesw.com> On 8/13/11 2:35 AM, Shao Sean wrote: >> does anyone know what changes I'd need to make in order to upload to a >> server on a Lion installation? > nothing.. > only the FTP server GUI has been removed from Lion Server, but the > actual daemon is still installed on the machine.. Perfect, thanks. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mwieder at ahsoftware.net Sat Aug 13 13:52:54 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 13 Aug 2011 10:52:54 -0700 Subject: [OT] You know when you've been coding too long when . . . In-Reply-To: <4E46B83F.9020207@pdslabs.net> References: <4E44641C.6090505@comcast.net> <1313207868449-3740856.post@n4.nabble.com> <4E467D9B.2050204@gmail.com> <4E46B6E8.2050605@hyperactivesw.com> <4E46B83F.9020207@pdslabs.net> Message-ID: <89146769921.20110813105254@ahsoftware.net> Phil- Saturday, August 13, 2011, 10:45:35 AM, you wrote: > On 8/13/11 10:39 AM, J. Landman Gay wrote: >> On 8/13/11 8:35 AM, Richmond Mathewson wrote: >> >>> And wondering when you shout "set the vis to false" to your teenage son, >>> he doesn't just disappear for a bit . . . :) >> >> Oh man, could I have used that. Someone should put in a feature request. > Uhhh... to whom? ...ducking... -- -Mark Wieder mwieder at ahsoftware.net From warren at warrensweb.us Sat Aug 13 13:53:02 2011 From: warren at warrensweb.us (Warren Samples) Date: Sat, 13 Aug 2011 12:53:02 -0500 Subject: What to Do Since FTP No Longer Supported in Mac OSX Lion? In-Reply-To: References: Message-ID: <3977251.SX7Bci99fy@suse> On Saturday, August 13, 2011 01:06:43 PM Gregory Lypny wrote: > Hi Warren, > > Thanks for the tip. I had read that FTP service could be re-enable from the command line. That will certainly solve the problem, but if Apple has a good reason for dropping it, it would be nice to be able to do SFTP with LiveCode in order to keep up with the game. > > Regards, > > Gregory Certainly the more protocols supported, the better ;) Since Apple could have used SFTP earlier, but didn't, I wonder if one might ask what good reason they had for using FTP until now. I think the "good reason" for the current change is that SFTP is more secure and that sounds real good and clearly fits the model of enhanced security in 10.7. How relevant this additional security is to what percentage of users who have been using OS X's built-in file sharing in the FTP mode, considering the who, what, how and why, is something that could be debated. (Definitely, though, a trivial pursuit since the decision has been made.) Warren From martyknapp at comcast.net Sat Aug 13 13:56:04 2011 From: martyknapp at comcast.net (Marty Knapp) Date: Sat, 13 Aug 2011 10:56:04 -0700 Subject: [OT] You know when you've been coding too long when . . . In-Reply-To: <4E46B6E8.2050605@hyperactivesw.com> References: <4E44641C.6090505@comcast.net> <1313207868449-3740856.post@n4.nabble.com> <4E467D9B.2050204@gmail.com> <4E46B6E8.2050605@hyperactivesw.com> Message-ID: <4E46BAB4.7080805@comcast.net> Maybe you could set the "behavior" with a "parentScript" . . . ! Marty K > On 8/13/11 8:35 AM, Richmond Mathewson wrote: > >> And wondering when you shout "set the vis to false" to your teenage son, >> he doesn't just disappear for a bit . . . :) > > Oh man, could I have used that. Someone should put in a feature request. > From jacque at hyperactivesw.com Sat Aug 13 14:00:54 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 13 Aug 2011 13:00:54 -0500 Subject: [OT] You know when you've been coding too long when . . . In-Reply-To: <4E46B83F.9020207@pdslabs.net> References: <4E44641C.6090505@comcast.net> <1313207868449-3740856.post@n4.nabble.com> <4E467D9B.2050204@gmail.com> <4E46B6E8.2050605@hyperactivesw.com> <4E46B83F.9020207@pdslabs.net> Message-ID: <4E46BBD6.4070804@hyperactivesw.com> On 8/13/11 12:45 PM, Phil Davis wrote: > On 8/13/11 10:39 AM, J. Landman Gay wrote: >> On 8/13/11 8:35 AM, Richmond Mathewson wrote: >> >>> And wondering when you shout "set the vis to false" to your teenage son, >>> he doesn't just disappear for a bit . . . :) >> >> Oh man, could I have used that. Someone should put in a feature request. > > Uhhh... to whom? > To RR, of course. They routinely disappear themselves for whole weekends at a time, so obviously they know how it's done. The only glitch is that "the vis" in this case might only refer to "me", which would make disappearing a third party difficult. But I'm sure the brains at RR could solve it. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From mwieder at ahsoftware.net Sat Aug 13 14:06:41 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 13 Aug 2011 11:06:41 -0700 Subject: Difference between destroyStack and destroyWindow In-Reply-To: <5446E339-5766-4690-BAF0-EA89DC0462AA@sonsothunder.com> References: <8B2D3549-069E-4B54-8094-F9381BB6E1DC@mac.com> <8585346796.20110812174911@ahsoftware.net> <4E45E018.5020406@hyperactivesw.com> <5446E339-5766-4690-BAF0-EA89DC0462AA@sonsothunder.com> Message-ID: <187147596546.20110813110641@ahsoftware.net> Ken- Interesting. So it would be possible to write an idle-time garbage collection routine to delete from memory the stacks that show up in the mainstacks but not in the openstacks... -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Sat Aug 13 14:09:58 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 13 Aug 2011 11:09:58 -0700 Subject: [OT] You know when you've been coding too long when . . . In-Reply-To: <4E46BBD6.4070804@hyperactivesw.com> References: <4E44641C.6090505@comcast.net> <1313207868449-3740856.post@n4.nabble.com> <4E467D9B.2050204@gmail.com> <4E46B6E8.2050605@hyperactivesw.com> <4E46B83F.9020207@pdslabs.net> <4E46BBD6.4070804@hyperactivesw.com> Message-ID: <29147793671.20110813110958@ahsoftware.net> Jacque- Saturday, August 13, 2011, 11:00:54 AM, you wrote: > To RR, of course. They routinely disappear themselves for whole weekends > at a time, so obviously they know how it's done. The only glitch is that > "the vis" in this case might only refer to "me", which would make > disappearing a third party difficult. But I'm sure the brains at RR > could solve it. That disappearing for a whole weekend trick is annoying. Sometimes I wish I could just set the vis of group "RR" to true so I can get their attention. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Sat Aug 13 14:15:53 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 13 Aug 2011 11:15:53 -0700 Subject: Grabbing the Date and Time From a Time Server on the Internet In-Reply-To: References: Message-ID: <176148149453.20110813111553@ahsoftware.net> Gregory- Saturday, August 13, 2011, 10:33:29 AM, you wrote: > Taking another kick at the cat here. I?d like to use something like > get url (http://[time server address]) How's this? http://tycho.usno.navy.mil/cgi-bin/anim -- -Mark Wieder mwieder at ahsoftware.net From capellan2000 at gmail.com Sat Aug 13 15:13:38 2011 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Sat, 13 Aug 2011 12:13:38 -0700 (PDT) Subject: [OT] Internet Censorship In-Reply-To: References: <1312601118358-3722715.post@n4.nabble.com> Message-ID: <1313262818173-3741876.post@n4.nabble.com> Hi malte, Malte Brill wrote: > > http://www.soundcloud.com for example. This is a place full of creativity. > > :-) > > Mine is here: http://soundcloud.com/info-694-1 > > Though I do everything with licensed Software only... And I for sure am > not one of the most talented people there. > In the music style that you compose, your music sounds great too! :-D Have you think about creating music for video games? Keep Up this great work! Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/OT-Internet-Censorship-tp3722715p3741876.html Sent from the Revolution - User mailing list archive at Nabble.com. From pmbrig at gmail.com Sat Aug 13 17:03:05 2011 From: pmbrig at gmail.com (Peter M. Brigham, MD) Date: Sat, 13 Aug 2011 17:03:05 -0400 Subject: Grabbing the Date and Time From a Time Server on the Internet In-Reply-To: References: Message-ID: On Aug 13, 2011, at 1:33 PM, Gregory Lypny wrote: > Taking another kick at the cat here. I?d like to use something like > > get url (http://[time server address]) > > to grab the current date and time from an official time server. This would be used in a LiveCode standalone distributed to collaborators and grad students who would use it to export time-sensitive data. I want the data to be date- and time-stamped, and I cannot count on their computer clocks being accurate. > > I suppose an alternative would be to get the creation date and time of the file once it is received via FTP (or better still, SFTP) use the the server date and time as the standard. > > Anyone? Please? I sent this message a couple days ago, apparently it never went through. (Parenthetically, even though I've set my preferences on the use-Livecode mailing list webpage to "Receive your own posts to the list" = "yes", I never see any of my own postings.) ------------------ You can fetch the time from the U.S. Naval Observatory atomic clock. This assumes an internet connection, though. In my little stack, the time zone is chosen by the user, so I fetch it from a customprop. You'll have to calculate the time offset from the last word of the internet date on the user machine -- I'll leave that to you. You need to convert something like "-0400" [EDT] to "1", "-0500" to "2" etc. but in winter the internet date will return "-0500" for eastern *standard* time so you'll have to correct for that. The object is to get the correct line of the HTMLtext of the tycho webpage. Check out the format of the page, it's simple HTMLtext. This will give you a start: function fetchTime put URL "http://tycho.usno.navy.mil/cgi-bin/timer.pl" into t -- gives a list of current times for all US time zones put the timeZone of stack "TimeHelp" into h -- time zone is as follows -- daylight time is given if currently applicable -- 1 = eastern -- 2 = central -- 3 = mountain -- 4 = pacific -- 5 = alaska -- 6 = hawaii put line 6+h of t into tTime delete item 1 of tTime return tTime end fetchTime -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From sc at sahores-conseil.com Sat Aug 13 17:37:07 2011 From: sc at sahores-conseil.com (Pierre Sahores) Date: Sat, 13 Aug 2011 23:37:07 +0200 Subject: [OT] advice as to whether this is a scam? In-Reply-To: <4E469A6B.3020900@fourthworld.com> References: <4E467ECC.3070401@gmail.com> <4E469A6B.3020900@fourthworld.com> Message-ID: <90BFEB16-D112-44CE-8D24-9D0B73D6215D@sahores-conseil.com> In addition to Richard's notes, PayPal does never send you emails without naming you by your compete registration name. If the mail don't contains it, it's scram. Those scams are very current and we just have to trash them (and never follow the provided phishing links...). Le 13 ao?t 2011 ? 17:38, Richard Gaskin a ?crit : > Richmond wrote: >> Dear Liovecode users, I need a spot of advice re the following e-mail I >> just recieved: >> >> "Dear PayPal member, Your account has been temporarily limited. Please >> download the form and follow the instructions on your screen. NOTE: The >> form needs to be opened in a modern browser which has javascript enabled >> (ex: Internet Explorer, Firefox ,Netscape) Submitting this form you will >> unlimit and restore your PayPal account . If you are using Internet >> Explorer please allow ActiveX for scripts to perform all data transfers >> securely . Thank You. Thanks for using PayPal ." >> >> Why, Oh Why, does that make me feel uneasy? >> >> Should I or shouldn't I? >> >> Please advise. > > Definitely a scam. > > When in doubt you can forward any questionable email that claims to be from PayPal to an address that PayPal maintains to collect and advise on such things: > > spoof at paypal.com > > In most cases (every time so far for me) you'll get an email confirming that it's a scam. > > I very much appreciate that PayPal takes this proactive approach to spoofs. > > PayPal rarely sends emails, so most you'll see that appear to come from them are scams, esp. those with some sort of claim that your account is "limited". > > Moreover, nothing at PayPal requires any platform-specific components like ActiveX. > > Until Microsoft throws their IE engine into the trash where it belongs and adopts WebKit instead (yeah, right, that'll happen when they replace their kernel with a more sensible Unix derivative; i.e., "not anytime soon"), ActiveX remains one of the most serious security vulnerabilities affecting a majority of computing users and should always be as restricted as possible. > > Any developer making public web sites which require ActiveX should be replaced with someone possessing better professional judgment. > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > LiveCode Journal blog: http://LiveCodejournal.com/blog.irv > > _______________________________________________ > use-livecode mailing list > use-livecode 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 sc at sahores-conseil.com Sat Aug 13 17:51:44 2011 From: sc at sahores-conseil.com (Pierre Sahores) Date: Sat, 13 Aug 2011 23:51:44 +0200 Subject: [OT] advice as to whether this is a scam? In-Reply-To: References: <4E467ECC.3070401@gmail.com> Message-ID: <966FC365-86E6-4D05-B721-3EE3A342834D@sahores-conseil.com> Well said +100% true + 99% of the mails we get from the real PayPal company are advertisements in the form of promotions. If any doubt, just login in your account to see if you have messages and don't never respond to unwanted doubtful mails ;-) Le 13 ao?t 2011 ? 15:52, Mark Schonewille a ?crit : > Richmond, > > Obviously, this is a scam. "Which has javascript enabled [...] please allow ActiveX for scripts" really should make you hear alarm bells. You don't need to respond to e-mails that come from PayPal ever. If you do business with PayPal and log in once a day, you will find all the notifications and other information listed in your account. Any genuine e-mail from PayPal is nothing but a notification that it might be useful to log in to your account now. You will never need to send any information whatsoever in any other way than logging on to the website and filling out web forms there, except for a one-time request to send a copy of your passport to PayPal. When you get this request, again you log in to your account and follow the instructions there. You never ever download any files from anywhere else and "follow instructions". Really. Never. > > Now, if you or anyone else still think that there might be cases when you need to give PayPal any information without logging in on your account first: read the above again. There are no such cases. Period. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > What does that error mean? Buy LiveCodeErrors for iPhone now http://qery.us/v4 A must-have for LiveCode programmers. > > On 13 aug 2011, at 15:40, Richmond Mathewson wrote: > >> Dear Liovecode users, I need a spot of advice re the following e-mail I just recieved: >> >> "Dear PayPal member, Your account has been temporarily limited. Please download the form and follow the instructions on your screen. NOTE: The form needs to be opened in a modern browser which has javascript enabled (ex: Internet Explorer, Firefox ,Netscape) Submitting this form you will unlimit and restore your PayPal account . If you are using Internet Explorer please allow ActiveX for scripts to perform all data transfers securely . Thank You. Thanks for using PayPal ." >> >> Why, Oh Why, does that make me feel uneasy? >> >> Should I or shouldn't I? >> >> Please advise. >> >> 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 -- Pierre Sahores mobile : 06 03 95 77 70 www.sahores-conseil.com From mwieder at ahsoftware.net Sat Aug 13 19:33:05 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 13 Aug 2011 16:33:05 -0700 Subject: Grabbing the Date and Time From a Time Server on the Internet In-Reply-To: References: Message-ID: <158167180546.20110813163305@ahsoftware.net> Peter- Saturday, August 13, 2011, 2:03:05 PM, you wrote: > I sent this message a couple days ago, apparently it never went > through. (Parenthetically, even though I've set my preferences on > the use-Livecode mailing list webpage to "Receive your own posts to > the list" = "yes", I never see any of my own postings.) That's the way gmail works. It's not an option you can change. If you really need to see your own postings you can do one of two things: check one of the online archives (gmane, nabble...) or set the list to digest mode. -- -Mark Wieder mwieder at ahsoftware.net From stephenREVOLUTION2 at barncard.com Sat Aug 13 20:22:35 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sat, 13 Aug 2011 17:22:35 -0700 Subject: Grabbing the Date and Time From a Time Server on the Internet In-Reply-To: <158167180546.20110813163305@ahsoftware.net> References: <158167180546.20110813163305@ahsoftware.net> Message-ID: you can see your own posts in 'ALL MAIL' and move the ones that matter to the inbox. Also once part of a thread, it will show up. On 13 August 2011 16:33, Mark Wieder wrote: > Peter- > > Saturday, August 13, 2011, 2:03:05 PM, you wrote: > > > I sent this message a couple days ago, apparently it never went > > through. (Parenthetically, even though I've set my preferences on > > the use-Livecode mailing list webpage to "Receive your own posts to > > the list" = "yes", I never see any of my own postings.) > > That's the way gmail works. It's not an option you can change. If you > really need to see your own postings you can do one of two things: > check one of the online archives (gmane, nabble...) or set the list to > digest mode. > > -- > -Mark Wieder > mwieder at ahsoftware.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 > -- Stephen Barncard San Francisco Ca. USA more about sqb From mwieder at ahsoftware.net Sat Aug 13 20:34:16 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sat, 13 Aug 2011 17:34:16 -0700 Subject: Grabbing the Date and Time From a Time Server on the Internet In-Reply-To: References: <158167180546.20110813163305@ahsoftware.net> Message-ID: <77170851750.20110813173416@ahsoftware.net> stephen- Saturday, August 13, 2011, 5:22:35 PM, you wrote: > you can see your own posts in 'ALL MAIL' and move the ones that matter to > the inbox. > Also once part of a thread, it will show up. True, but that's cheating, kind of. They're only in the All Mail folder because you sent them, not because you received them. The same with being part of a thread. -- -Mark Wieder mwieder at ahsoftware.net From pmbrig at gmail.com Sat Aug 13 22:17:37 2011 From: pmbrig at gmail.com (Peter M. Brigham, MD) Date: Sat, 13 Aug 2011 22:17:37 -0400 Subject: Grabbing the Date and Time From a Time Server on the Internet In-Reply-To: References: <158167180546.20110813163305@ahsoftware.net> Message-ID: <9388780E-2A45-476E-B11C-EF6D6F7B316B@gmail.com> On Aug 13, 2011, at 8:22 PM, stephen barncard wrote: > you can see your own posts in 'ALL MAIL' and move the ones that matter to > the inbox. > Also once part of a thread, it will show up. That would be fine if I were using gmail via the browser, but I have my Mac Mail client set to fetch mail from my gmail inbox, along with the other inboxes from my other email addresses so I can read all my mail in one place. I gather that it's a problem with gmail filtering out the stuff I send to the use-LC list and it never gets downloaded to my Mac Mail. No way around that one, short of double checking via the browser, I guess. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From jacque at hyperactivesw.com Sun Aug 14 00:50:59 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 13 Aug 2011 23:50:59 -0500 Subject: [OT] advice as to whether this is a scam? In-Reply-To: <90BFEB16-D112-44CE-8D24-9D0B73D6215D@sahores-conseil.com> References: <4E467ECC.3070401@gmail.com> <4E469A6B.3020900@fourthworld.com> <90BFEB16-D112-44CE-8D24-9D0B73D6215D@sahores-conseil.com> Message-ID: <4E475433.2050903@hyperactivesw.com> Richmond wrote: > Should I or shouldn't I? > Please advise. Here's what you do. Fill out the form as completely as you can, providing the email address and contact data for the FBI, Scotland Yard, or any other government police agency. :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From andre at andregarzia.com Sun Aug 14 03:19:42 2011 From: andre at andregarzia.com (Andre Garzia) Date: Sun, 14 Aug 2011 09:19:42 +0200 Subject: What to Do Since FTP No Longer Supported in Mac OSX Lion? In-Reply-To: <4E46B1A5.6060101@fourthworld.com> References: <4E4607E1.1040309@hyperactivesw.com> <4E46B1A5.6060101@fourthworld.com> Message-ID: They still make mac mini server, which is a good server but not rackable (does this word exists?) -- enviado do meu Nexus S - android is freedom. http://andregarzia.com :: all we do is code http://fon.nu :: minimalist url shortening Em 13/08/2011 19:19, "Richard Gaskin" escreveu: > J. Landman Gay wrote: > >> Having just spend some time implementing FTP uploading in my AirLaunch >> stack, it sounds like it won't work on Lion. > > If I understand this correctly, the only change in Lion is that it no > longer provides a GUI for an FTP *server*. Uploading to any other > server should still work, yes? > > IIRC Apple no longer makes Xserve anyway, so who needs an OS X FTP server? > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > LiveCode Journal blog: http://LiveCodejournal.com/blog.irv > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dixonja at hotmail.co.uk Sun Aug 14 03:24:32 2011 From: dixonja at hotmail.co.uk (John Dixon) Date: Sun, 14 Aug 2011 08:24:32 +0100 Subject: What to Do Since FTP No Longer Supported in Mac OSX Lion? In-Reply-To: References: <4E4607E1.1040309@hyperactivesw.com>, <4E46B1A5.6060101@fourthworld.com>, Message-ID: It does now...:-) > They still make mac mini server, which is a good server but not rackable > (does this word exists?) > From: andre at andregarzia.com From andre at andregarzia.com Sun Aug 14 03:52:32 2011 From: andre at andregarzia.com (Andre Garzia) Date: Sun, 14 Aug 2011 09:52:32 +0200 Subject: [On-Rev] Using Shell to Manipulate SQL In-Reply-To: References: Message-ID: Andrew, This is a quick email typed on a phone on an aiport so forgive me for not going to deep. Basically : don't do it!!!!! The dangers are too big. You should avoid using shell() with anything that comes from user input. If the user chooses a username such as: " && rm -rf * And this, in a very unlucky day, is not detected by your security filters and this ends up in a shell() call, all your files are gone. Shell calls are very powerful and just like uncle ben said: "with great power comes great GREAT HACKING ENTRY POINTS AND SCRIPT INJECTION ". You should only use them with strings that have no part computed from third parties. Cheers -- enviado do meu Nexus S - android is freedom. http://andregarzia.com :: all we do is code http://fon.nu :: minimalist url shortening Em 09/08/2011 04:09, "Andrew Kluthe" escreveu: > Here is another thing I am wondering about this evening. > > I am curious as to how much power the Shell() function in an On-Rev > configuration is. I'd like to create mySQL databases & users on the fly. > > I know the shell() function can run commands for you, but do you think I > will be able to create mysql databases and users as root? > > > Has anyone tried this? > > Thanks, > > Andrew > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From toeloop at swissonline.ch Sun Aug 14 08:28:39 2011 From: toeloop at swissonline.ch (=?iso-8859-1?Q?Thomas_B=E4hler?=) Date: Sun, 14 Aug 2011 14:28:39 +0200 Subject: referring to object names stored in variables Message-ID: <63B552AC-982E-4156-A0C2-F1BB0BC19166@swissonline.ch> Hi all Grrr, I did that before but can't find the solution anymore. I have a textfield with several lines. When I click that field, I store the reference of the selectedLine in a custom variable. Later I want to put text after that specific line. But I don't get there. I click in line 1 of field 1 and store the selectedLine in the custom property the L_Line of field 1 when I try: put the L_Line of field 1 I get: "line 1 of field 1" when I try: put the value(the L_Line of field 1) I get the content of that line when I try: put "blablabla" after (the L_Line of field 1) I get a compilation error (Chunk: bad destination) Thanks for help! Thomas From m.schonewille at economy-x-talk.com Sun Aug 14 08:51:14 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 14 Aug 2011 14:51:14 +0200 Subject: referring to object names stored in variables In-Reply-To: <63B552AC-982E-4156-A0C2-F1BB0BC19166@swissonline.ch> References: <63B552AC-982E-4156-A0C2-F1BB0BC19166@swissonline.ch> Message-ID: <81FC36F0-D643-467C-9EB2-89EC88A61EA9@economy-x-talk.com> Thomas, Try this: put "blabla" after line (word 2 of the L_Line of field 1) of field 1 -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 What does that error mean? Buy LiveCodeErrors for iPhone now http://qery.us/v4 A must-have for LiveCode programmers. On 14 aug 2011, at 14:28, Thomas B?hler wrote: > Hi all > Grrr, I did that before but can't find the solution anymore. > > I have a textfield with several lines. When I click that field, I store the reference of the selectedLine in a custom variable. Later I want to put text after that specific line. But I don't get there. > > I click in line 1 of field 1 and store the selectedLine in the custom property the L_Line of field 1 > when I try: put the L_Line of field 1 I get: "line 1 of field 1" > when I try: put the value(the L_Line of field 1) I get the content of that line > when I try: put "blablabla" after (the L_Line of field 1) I get a compilation error (Chunk: bad destination) > > Thanks for help! > > Thomas From keith.clarke at clarkeandclarke.co.uk Sun Aug 14 10:01:43 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Sun, 14 Aug 2011 15:01:43 +0100 Subject: Using revIgniter with on-rev and multiple sites/domains Message-ID: Hi folks, When using revIgniter for on-rev, across multiple addon domains, where should the revIgniter files be installed? The revIgniter installation instructions state, at lines: '2. Upload the revIgniter folders and files to your server. Normally the index.irev file will be at your root.' '3. Open the application/config/config.irev file with a text editor and set your base URL. The latter seems to imply a per-site implementation, so it seems that the 'root' cited in line 2 does not mean the docroot of mydomain at on-rev.com. So, do the revIgniter files go into the addon domain's docroot or webroot (public_html/)? Best, Keith.. From pmbrig at gmail.com Sun Aug 14 10:10:09 2011 From: pmbrig at gmail.com (Peter M. Brigham, MD) Date: Sun, 14 Aug 2011 10:10:09 -0400 Subject: referring to object names stored in variables In-Reply-To: <81FC36F0-D643-467C-9EB2-89EC88A61EA9@economy-x-talk.com> References: <63B552AC-982E-4156-A0C2-F1BB0BC19166@swissonline.ch> <81FC36F0-D643-467C-9EB2-89EC88A61EA9@economy-x-talk.com> Message-ID: On Aug 14, 2011, at 8:51 AM, Mark Schonewille wrote: > Thomas, > > Try this: > > put "blabla" after line (word 2 of the L_Line of field 1) of field 1 > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > What does that error mean? Buy LiveCodeErrors for iPhone now http://qery.us/v4 A must-have for LiveCode programmers. > > On 14 aug 2011, at 14:28, Thomas B?hler wrote: > >> Hi all >> Grrr, I did that before but can't find the solution anymore. >> >> I have a textfield with several lines. When I click that field, I store the reference of the selectedLine in a custom variable. Later I want to put text after that specific line. But I don't get there. >> >> I click in line 1 of field 1 and store the selectedLine in the custom property the L_Line of field 1 >> when I try: put the L_Line of field 1 I get: "line 1 of field 1" >> when I try: put the value(the L_Line of field 1) I get the content of that line >> when I try: put "blablabla" after (the L_Line of field 1) I get a compilation error (Chunk: bad destination) >> >> Thanks for help! >> >> Thomas Another way of doing it: store just the line number. "The L_Line of field 1" is already specific to field 1, so it doesn't have to contain "line 1 of field 1" -- it could just contain "1". Then line (the L_Line of field 1) of field 1 gives you the content of the line. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From roger.e.eller at sealedair.com Sun Aug 14 10:15:15 2011 From: roger.e.eller at sealedair.com (Roger Eller) Date: Sun, 14 Aug 2011 10:15:15 -0400 Subject: mysql and android - does it work? In-Reply-To: <78b4896fcec23fe5774953516b5a9746@mfelkerco.com> References: <84E4CC63-E315-4E5B-8E9C-D54B8670AFF6@twft.com> <229344DC-FCFA-4694-9EF4-54B876414AAC@twft.com> <4E4031A1.5080504@hyperactivesw.com> <78b4896fcec23fe5774953516b5a9746@mfelkerco.com> Message-ID: On Mon, Aug 8, 2011 at 6:59 PM, Admin wrote: > > > Hello everyone. > > My database app utilizes a mysql database. When > testing for android, the app shows up fine (but needs to be in landscape > mode, not portrait), but when I try to login, it gives me a revdberr - > invalid database type. > > This works on the desktop (pc and mac). Does > mysql work on Android? How do I get this to work if it does? > > Mike > I haven't tried databases on Android yet, but there is info on page 9 of the Android release notes regarding setting the proper manifest options. ?Roger From toeloop at swissonline.ch Sun Aug 14 10:35:34 2011 From: toeloop at swissonline.ch (=?iso-8859-1?Q?Thomas_B=E4hler?=) Date: Sun, 14 Aug 2011 16:35:34 +0200 Subject: referring to object names stored in variables Message-ID: Hi Mark, Hi Peter I thought of parsing the content of the variable, but wanted to find the function or the LiveCode keyword that would do that for me. That function might not exist. So, for the moment I store just the numbers and "glue" the reference together in the script as you suggested. Thanks a lot Th. On Aug 14, 2011, at 8:51 AM, Mark Schonewille wrote: > Thomas, > > Try this: > > put "blabla" after line (word 2 of the L_Line of field 1) of field 1 > > -- > Best regards, > > Mark Schonewille From stephenREVOLUTION2 at barncard.com Sun Aug 14 11:05:40 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sun, 14 Aug 2011 08:05:40 -0700 Subject: Using revIgniter with on-rev and multiple sites/domains In-Reply-To: References: Message-ID: I don't think Revigniter (or any other web app ) can span domains. However, why not create a special domain or subdomain for Revigniter ? On 14 August 2011 07:01, Keith Clarke wrote: > Hi folks, > When using revIgniter for on-rev, across multiple addon domains, where > should the revIgniter files be installed? The revIgniter installation > instructions state, at lines: > > '2. Upload the revIgniter folders and files to your server. Normally the > index.irev file will be at your root.' > > '3. Open the application/config/config.irev file with a text editor and set > your base URL. > > The latter seems to imply a per-site implementation, so it seems that the > 'root' cited in line 2 does not mean the docroot of mydomain at on-rev.com. > So, do the revIgniter files go into the addon domain's docroot or webroot > (public_html/)? > Best, > Keith.. > _______________________________________________ > use-livecode mailing list > use-livecode 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 coiin at verizon.net Sun Aug 14 11:09:55 2011 From: coiin at verizon.net (Colin Holgate) Date: Sun, 14 Aug 2011 11:09:55 -0400 Subject: referring to object names stored in variables In-Reply-To: <63B552AC-982E-4156-A0C2-F1BB0BC19166@swissonline.ch> References: <63B552AC-982E-4156-A0C2-F1BB0BC19166@swissonline.ch> Message-ID: There is a small oddity in that if you put something after a line of a field, the text you put there appears at the start of the next line, unless it was the last line of the field, in which case it goes at the end of the text. When you said you wanted to put "blabla" after the line, did you want this: "one two three" to be come this: "one two threeblabla" this: "one two three blabla" or this: "one two three blabla" ? In the last case, would you want the following line to be pushed down? In other words, you're inserting a line with "blabla" in it? My guess is that you want "one two three" to become "one two three blabla". You can achieve that with the do command: on mouseup put the selectedline into sl do "put"&"e&space&blabla"e&& "after" && sl end mouseup From toeloop at swissonline.ch Sun Aug 14 12:11:19 2011 From: toeloop at swissonline.ch (=?iso-8859-1?Q?Thomas_B=E4hler?=) Date: Sun, 14 Aug 2011 18:11:19 +0200 Subject: referring to object names stored in variables Message-ID: <3DF60CAA-057C-4A25-A3F4-7A4B64590D4B@swissonline.ch> Hi Colin What I wanted (and accomplished now) is the following: I have two fields: the first is editable and I can write parameters and their values in it, the other is locked and shows calculations based upon the parameters available in the first field. To avoid typos I included a feature in the first field that pops up a menu with the parameters needed for the calculation. So, when I hit the return-key with the commandKey down, the menu appears at the mousepointer and all the parameters that are already in the field are disabled. If I choose a menuitem of that menu, the script has to place the parameter after the line my cursor was; and that was the code I was looking for. Cheers Thomas The working scripts I use now: First field: -------------- on returnInField if the commandKey is down then --store the location of the cursor set the C_Loc of me to word 2 of the selectedline --populate the menu and disable/enable the menu items Parameterliste popup button "Parameter" else pass returnInField end if end returnInField on Parameterliste -- Auflisten der in den Berechnungen im Feld "Parameter-Menu" aufgelisteten Parameter, -- um sie bei der Eingabe im Feld Eigenschaften als PopUp-Menu bereitzustellen. -- Das PopUp-Menu wird angezeigt mit Befehl-Return ins dieses Feld -- und bei dieser Gelegenheit auch abgeglichen. put field "Parameter-Menu" into L_Liste put L_Liste into button "Parameter" put 1 into L_LineCount repeat for each line x in L_Liste if field "Eigenschaften" contains x then disable menuitem L_LineCount of button "Parameter" else enable menuitem L_LineCount of button "Parameter" end if add 1 to L_LineCount end repeat end Parameterliste PopUp-Button: --------------------- on menuPick pItemName -- look up the line the text should be placed get the C_Loc of field "Eigenschaften" -- place the name of the menu-item and add a colon and a tab put return & pItemName & ":" & tab after line it of field "Eigenschaften" select after line (it +1) of field "Eigenschaften" end menuPick From keith.clarke at clarkeandclarke.co.uk Sun Aug 14 12:21:36 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Sun, 14 Aug 2011 17:21:36 +0100 Subject: Using revIgniter with on-rev and multiple sites/domains In-Reply-To: References: Message-ID: <33E36C37-F12C-4B5D-8282-3827767D55C2@clarkeandclarke.co.uk> ...thanks Stephen, for the clarification that revIgniter is currently scoped as a domain/sub-domain-level solution. I'm new to revIgniter and was rather hoping to just set it at a server level in the background (the way I had implemented RevServer before upgrading to on-rev) so that the capabilities were available as needed wherever and whenever might be useful. (Maybe I'm missing the point on revIgniter there.) So, unless I'm missing the obvious, the installation question remains - do the revIgniter files get uploaded into the addon domain's webroot or docroot? Best, Keith.. On 14 Aug 2011, at 16:05, stephen barncard wrote: > I don't think Revigniter (or any other web app ) can span domains. However, > why not create a special domain or subdomain for Revigniter ? > > > On 14 August 2011 07:01, Keith Clarke wrote: > >> Hi folks, >> When using revIgniter for on-rev, across multiple addon domains, where >> should the revIgniter files be installed? The revIgniter installation >> instructions state, at lines: >> >> '2. Upload the revIgniter folders and files to your server. Normally the >> index.irev file will be at your root.' >> >> '3. Open the application/config/config.irev file with a text editor and set >> your base URL. >> >> The latter seems to imply a per-site implementation, so it seems that the >> 'root' cited in line 2 does not mean the docroot of mydomain at on-rev.com. >> So, do the revIgniter files go into the addon domain's docroot or webroot >> (public_html/)? >> Best, >> Keith.. From jimaultwins at yahoo.com Sun Aug 14 12:22:02 2011 From: jimaultwins at yahoo.com (Jim Ault) Date: Sun, 14 Aug 2011 09:22:02 -0700 (PDT) Subject: What to Do Since FTP No Longer Supported in Mac OSX Lion? In-Reply-To: Message-ID: <1313338922.8814.YahooMailClassic@web120524.mail.ne1.yahoo.com> The mac mini is rack-able Just Google 'mac mini rack mount' and get a tray that holds 4 units thus 4 CPUs on one rack I use this in one of my data centers. http://eshop.macsales.com/item/Macessity/MX4/?utm_source=google&utm_medium=shoppingengine&utm_campaign=googlebase Jim Ault Las Vegas --- On Sun, 8/14/11, Andre Garzia wrote: From: Andre Garzia Subject: Re: What to Do Since FTP No Longer Supported in Mac OSX Lion? To: "How to use LiveCode" Date: Sunday, August 14, 2011, 12:19 AM They still make mac mini server, which is a good server but not rackable (does this word exists?) -- From jacque at hyperactivesw.com Sun Aug 14 13:25:54 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 14 Aug 2011 12:25:54 -0500 Subject: referring to object names stored in variables In-Reply-To: References: <63B552AC-982E-4156-A0C2-F1BB0BC19166@swissonline.ch> Message-ID: <4E480522.7010206@hyperactivesw.com> On 8/14/11 10:09 AM, Colin Holgate wrote: > There is a small oddity in that if you put something after a line of > a field, the text you put there appears at the start of the next > line, unless it was the last line of the field, in which case it goes > at the end of the text. I don't see that behavior. I get the additional text after the existing text on the specified line. Field containing: one two three From the message box: put "blah" after line 2 of fld 1 Produces: one twoblah three -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From gregory.lypny at videotron.ca Sun Aug 14 13:27:43 2011 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Sun, 14 Aug 2011 13:27:43 -0400 Subject: What to Do Since FTP No Longer Supported in Mac OSX Lion? In-Reply-To: References: Message-ID: <06715248-EDE9-4556-BB90-BB9F00430FBF@videotron.ca> Agreed. And I don?t think it would be a stretch for the Rev team to throw an SFTP command into LiveCode. Gregory On Sun, Aug 14, 2011, at 10:01 AM, use-livecode-request at lists.runrev.com wrote: > Certainly the more protocols supported, the better ;) Since Apple could have used SFTP earlier, but didn't, I wonder if one might ask what good reason they had for > using FTP until now. I think the "good reason" for the current change is that SFTP is more secure and that sounds real good and clearly fits the model of enhanced > security in 10.7. How relevant this additional security is to what percentage of users who have been using OS X's built-in file sharing in the FTP mode, considering > the who, what, how and why, is something that could be debated. (Definitely, though, a trivial pursuit since the decision has been made.) > > Warren From palcibiades-first at yahoo.co.uk Sun Aug 14 14:10:27 2011 From: palcibiades-first at yahoo.co.uk (Peter Alcibiades) Date: Sun, 14 Aug 2011 19:10:27 +0100 Subject: [OT] two really neat pdf tools Message-ID: <201108141910.27708.palcibiades-first@yahoo.co.uk> Don't know if anyone needs these things, but if you do, they are really neat. One is unoconv. That will take all the .doc files in a directory and with the aid of open office or libreoffice will turn them into perfectly decent pdfs. As in:- unconv -f pdf *.doc Then the other really neat one is pdfshuffler. This is a gnome gui package, and what you do is import the pdfs into it and then export them again, and you have combined all your pdfs into one file. You can do other stuff with this, but I didn't bother to figure out the rest only needing to combine them. So basically, you start out with 50 .doc files and you zip them up into one pdf in about 30 seconds. Wonderful! Peter From rabit at dimensionB.de Sun Aug 14 15:12:01 2011 From: rabit at dimensionB.de (Ralf Bitter) Date: Sun, 14 Aug 2011 21:12:01 +0200 Subject: Using revIgniter with on-rev and multiple sites/domains In-Reply-To: References: Message-ID: Hi Keith, every addon domain needs it's own revIgniter installation. So, the revIgniter files go into public_html/yourAddonDomain. Hope this helps. Ralf On 14.08.2011, at 16:01, Keith Clarke wrote: > Hi folks, > When using revIgniter for on-rev, across multiple addon domains, where should the revIgniter files be installed? The revIgniter installation instructions state, at lines: > > '2. Upload the revIgniter folders and files to your server. Normally the index.irev file will be at your root.' > > '3. Open the application/config/config.irev file with a text editor and set your base URL. > > The latter seems to imply a per-site implementation, so it seems that the 'root' cited in line 2 does not mean the docroot of mydomain at on-rev.com. So, do the revIgniter files go into the addon domain's docroot or webroot (public_html/)? > Best, > Keith.. > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sun Aug 14 15:13:18 2011 From: coiin at verizon.net (Colin Holgate) Date: Sun, 14 Aug 2011 15:13:18 -0400 Subject: referring to object names stored in variables In-Reply-To: <4E480522.7010206@hyperactivesw.com> References: <63B552AC-982E-4156-A0C2-F1BB0BC19166@swissonline.ch> <4E480522.7010206@hyperactivesw.com> Message-ID: <2D730718-0BAE-4A4D-8D34-E3CDAE0C1DBD@verizon.net> That wasn't what I had referred to. Lock the text of your field, and try this script: on mouseup put "bla" after the selectedline end mouseup then click on line 1. Where does the text appear? On Aug 14, 2011, at 1:25 PM, J. Landman Gay wrote: > From the message box: put "blah" after line 2 of fld 1 From keith.clarke at clarkeandclarke.co.uk Sun Aug 14 15:52:24 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Sun, 14 Aug 2011 20:52:24 +0100 Subject: Using revIgniter with on-rev and multiple sites/domains In-Reply-To: References: Message-ID: ...great, thanks Ralf - for the clarification and for creating and sharing the fantastic revIgniter resource. BTW are there any additional setup steps needed for work with LiveCode Server and .lc files rather revServer .irev environment - for example, does index.irev change to index.lc? Best, Keith.. On 14 Aug 2011, at 20:12, Ralf Bitter wrote: > Hi Keith, > > every addon domain needs it's own revIgniter installation. > So, the revIgniter files go into public_html/yourAddonDomain. > > Hope this helps. > > Ralf > > > > On 14.08.2011, at 16:01, Keith Clarke wrote: > >> Hi folks, >> When using revIgniter for on-rev, across multiple addon domains, where should the revIgniter files be installed? The revIgniter installation instructions state, at lines: >> >> '2. Upload the revIgniter folders and files to your server. Normally the index.irev file will be at your root.' >> >> '3. Open the application/config/config.irev file with a text editor and set your base URL. >> >> The latter seems to imply a per-site implementation, so it seems that the 'root' cited in line 2 does not mean the docroot of mydomain at on-rev.com. So, do the revIgniter files go into the addon domain's docroot or webroot (public_html/)? >> Best, >> Keith.. >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 keith at gulfbreezeortholab.com Sun Aug 14 16:06:52 2011 From: keith at gulfbreezeortholab.com (Keith (Gulf Breeze Ortho Lab)) Date: Sun, 14 Aug 2011 15:06:52 -0500 Subject: Using revIgniter with on-rev and multiple sites/domains In-Reply-To: References: Message-ID: <1E27AA4BC20449479B99718FA3A84001@KeithPC> Hi Guys, I just checked out the documentation for revIgniter (and have actually looked into it before--very cool!) and have a question. Regarding the encryption library, is it possible to encrypt files using it? Or only strings? Thanks, - Boo The greatest obstacle to discovery is not ignorance -- it is the illusion of knowledge. Daniel Boorstin ----- Original Message ----- From: "Keith Clarke" To: "How to use LiveCode" Sent: Sunday, August 14, 2011 2:52 PM Subject: Re: Using revIgniter with on-rev and multiple sites/domains > ...great, thanks Ralf - for the clarification and for creating and sharing > the fantastic revIgniter resource. > > BTW are there any additional setup steps needed for work with LiveCode > Server and .lc files rather revServer .irev environment - for example, > does index.irev change to index.lc? > Best, > Keith.. > > On 14 Aug 2011, at 20:12, Ralf Bitter wrote: > >> Hi Keith, >> >> every addon domain needs it's own revIgniter installation. >> So, the revIgniter files go into public_html/yourAddonDomain. >> >> Hope this helps. >> >> Ralf >> >> >> >> On 14.08.2011, at 16:01, Keith Clarke wrote: >> >>> Hi folks, >>> When using revIgniter for on-rev, across multiple addon domains, where >>> should the revIgniter files be installed? The revIgniter installation >>> instructions state, at lines: >>> >>> '2. Upload the revIgniter folders and files to your server. Normally the >>> index.irev file will be at your root.' >>> >>> '3. Open the application/config/config.irev file with a text editor and >>> set your base URL. >>> >>> The latter seems to imply a per-site implementation, so it seems that >>> the 'root' cited in line 2 does not mean the docroot of >>> mydomain at on-rev.com. So, do the revIgniter files go into the addon >>> domain's docroot or webroot (public_html/)? >>> Best, >>> Keith.. >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode 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 jacque at hyperactivesw.com Sun Aug 14 16:30:52 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 14 Aug 2011 15:30:52 -0500 Subject: referring to object names stored in variables In-Reply-To: <2D730718-0BAE-4A4D-8D34-E3CDAE0C1DBD@verizon.net> References: <63B552AC-982E-4156-A0C2-F1BB0BC19166@swissonline.ch> <4E480522.7010206@hyperactivesw.com> <2D730718-0BAE-4A4D-8D34-E3CDAE0C1DBD@verizon.net> Message-ID: <4E48307C.8090805@hyperactivesw.com> On 8/14/11 2:13 PM, Colin Holgate wrote: > That wasn't what I had referred to. Lock the text of your field, and try this script: > > on mouseup > put "bla" after the selectedline > end mouseup > > > then click on line 1. Where does the text appear? The handler errors unless listbehavior is set. But once I do that, the text appears after the correct line (line 1.) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From rabit at dimensionB.de Sun Aug 14 16:54:36 2011 From: rabit at dimensionB.de (Ralf Bitter) Date: Sun, 14 Aug 2011 22:54:36 +0200 Subject: Using revIgniter with on-rev and multiple sites/domains In-Reply-To: References: Message-ID: Keith, to use the latest version (1.4b) of revIgniter with the latest version of the server engine on On-Rev you currently need to change the extensions of all files to .lc (sorry for the inconvenience). Note: This applies to revIgniter installations on On-Rev only. The next revIgniter version will include the .lc extension. Ralf On 14.08.2011, at 21:52, Keith Clarke wrote: > ...great, thanks Ralf - for the clarification and for creating and sharing the fantastic revIgniter resource. > > BTW are there any additional setup steps needed for work with LiveCode Server and .lc files rather revServer .irev environment - for example, does index.irev change to index.lc? > Best, > Keith.. > > On 14 Aug 2011, at 20:12, Ralf Bitter wrote: > >> Hi Keith, >> >> every addon domain needs it's own revIgniter installation. >> So, the revIgniter files go into public_html/yourAddonDomain. >> >> Hope this helps. >> >> Ralf >> >> >> >> On 14.08.2011, at 16:01, Keith Clarke wrote: >> >>> Hi folks, >>> When using revIgniter for on-rev, across multiple addon domains, where should the revIgniter files be installed? The revIgniter installation instructions state, at lines: >>> >>> '2. Upload the revIgniter folders and files to your server. Normally the index.irev file will be at your root.' >>> >>> '3. Open the application/config/config.irev file with a text editor and set your base URL. >>> >>> The latter seems to imply a per-site implementation, so it seems that the 'root' cited in line 2 does not mean the docroot of mydomain at on-rev.com. So, do the revIgniter files go into the addon domain's docroot or webroot (public_html/)? >>> Best, >>> Keith.. >>> From dunbarx at aol.com Sun Aug 14 16:58:39 2011 From: dunbarx at aol.com (dunbarx at aol.com) Date: Sun, 14 Aug 2011 16:58:39 -0400 (EDT) Subject: referring to object names stored in variables In-Reply-To: <2D730718-0BAE-4A4D-8D34-E3CDAE0C1DBD@verizon.net> References: <63B552AC-982E-4156-A0C2-F1BB0BC19166@swissonline.ch><4E480522.7010206@hyperactivesw.com> <2D730718-0BAE-4A4D-8D34-E3CDAE0C1DBD@verizon.net> Message-ID: <8CE28DC137DB760-16EC-1FD5E@webmail-m155.sysops.aol.com> Fascinating. These two scripts do very different things. Colin, have you known about this since HC days? on mouseup put the selectedLine into temp do "put X after" && temp end mouseup on mouseup put "X" after the selectedLine end mouseup And which is the selectedLine in a locked field that has no selection? Is this implied as the clickLine? Never knew that... Craig -----Original Message----- From: Colin Holgate To: How to use LiveCode Sent: Sun, Aug 14, 2011 11:14 am Subject: Re: referring to object names stored in variables That wasn't what I had referred to. Lock the text of your field, and try this script: on mouseup put "bla" after the selectedline end mouseup then click on line 1. Where does the text appear? On Aug 14, 2011, at 1:25 PM, J. Landman Gay wrote: > From the message box: put "blah" after line 2 of fld 1 _______________________________________________ use-livecode mailing list use-livecode at 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 Sun Aug 14 17:04:44 2011 From: coiin at verizon.net (Colin Holgate) Date: Sun, 14 Aug 2011 17:04:44 -0400 Subject: referring to object names stored in variables In-Reply-To: <4E48307C.8090805@hyperactivesw.com> References: <63B552AC-982E-4156-A0C2-F1BB0BC19166@swissonline.ch> <4E480522.7010206@hyperactivesw.com> <2D730718-0BAE-4A4D-8D34-E3CDAE0C1DBD@verizon.net> <4E48307C.8090805@hyperactivesw.com> Message-ID: <3671BAB0-3BE9-431B-9CC8-21D283CEA6B4@verizon.net> I don't know how you managed to copy and paste it and it not still work. Yes, if you make it list behavior it does go in the line you would expect, but for a regular field, the script works, and the text goes in front of the following line. Here's a screen recording, having just copied my script from the email I sent: http://xfiles.funnygarbage.com/~colinholgate/video/selectedline.mov On Aug 14, 2011, at 4:30 PM, J. Landman Gay wrote: > The handler errors unless listbehavior is set. But once I do that, the text appears after the correct line (line 1.) From coiin at verizon.net Sun Aug 14 17:08:47 2011 From: coiin at verizon.net (Colin Holgate) Date: Sun, 14 Aug 2011 17:08:47 -0400 Subject: referring to object names stored in variables In-Reply-To: <8CE28DC137DB760-16EC-1FD5E@webmail-m155.sysops.aol.com> References: <63B552AC-982E-4156-A0C2-F1BB0BC19166@swissonline.ch><4E480522.7010206@hyperactivesw.com> <2D730718-0BAE-4A4D-8D34-E3CDAE0C1DBD@verizon.net> <8CE28DC137DB760-16EC-1FD5E@webmail-m155.sysops.aol.com> Message-ID: I can't remember if I ever used the selectedline instead of the clickline, but it makes sense. When you look at the selectedchunk on a locked field it shows as char n to n-1 of line l of field f, so the selected items do know the line you clicked on. I'm glad you saw the same behavior I saw, and don't have a special version of liveCode like Jacque. On Aug 14, 2011, at 4:58 PM, dunbarx at aol.com wrote: > These two scripts do very different things. Colin, have you known about this since HC days? From jacque at hyperactivesw.com Sun Aug 14 17:39:40 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 14 Aug 2011 16:39:40 -0500 Subject: referring to object names stored in variables In-Reply-To: References: <63B552AC-982E-4156-A0C2-F1BB0BC19166@swissonline.ch><4E480522.7010206@hyperactivesw.com> <2D730718-0BAE-4A4D-8D34-E3CDAE0C1DBD@verizon.net> <8CE28DC137DB760-16EC-1FD5E@webmail-m155.sysops.aol.com> Message-ID: <4E48409C.3050807@hyperactivesw.com> On 8/14/11 4:08 PM, Colin Holgate wrote: > I'm glad you saw the same behavior I saw, and don't have a special > version of liveCode like Jacque. I see. My "special version" was 4.6.2, since I had a lot of other work open in 4.6.3 when I tested. Apparently something changed. In 4.6.2 I get "no target found" when I run your script, which forced me to set the listbehavior. In 4.6.3, it does behave as you say. I think I prefer 4.6.2 because it requires you to set up the field in a way that produces the expected behavior. Or else 4.6.x should fix it so all references produce the expected result. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dunbarx at aol.com Sun Aug 14 17:55:29 2011 From: dunbarx at aol.com (dunbarx at aol.com) Date: Sun, 14 Aug 2011 17:55:29 -0400 (EDT) Subject: referring to object names stored in variables In-Reply-To: <4E48409C.3050807@hyperactivesw.com> References: <63B552AC-982E-4156-A0C2-F1BB0BC19166@swissonline.ch><4E480522.7010206@hyperactivesw.com><2D730718-0BAE-4A4D-8D34-E3CDAE0C1DBD@verizon.net><8CE28DC137DB760-16EC-1FD5E@webmail-m155.sysops.aol.com> <4E48409C.3050807@hyperactivesw.com> Message-ID: <8CE28E404571BA8-16EC-20713@webmail-m155.sysops.aol.com> The listBehavior makes no difference in my tests. I just never knew that the selectedLine was set upon clicking into a locked field. This might be a disadvantage if you want to work when there is NO selectedLine. You get one anyway.That is what the clickLine is for. Thanks a lot. Craig -----Original Message----- From: J. Landman Gay To: How to use LiveCode Sent: Sun, Aug 14, 2011 1:41 pm Subject: Re: referring to object names stored in variables On 8/14/11 4:08 PM, Colin Holgate wrote: > I'm glad you saw the same behavior I saw, and don't have a special > version of liveCode like Jacque. I see. My "special version" was 4.6.2, since I had a lot of other work open in 4.6.3 when I tested. Apparently something changed. In 4.6.2 I get "no target found" when I run your script, which forced me to set the listbehavior. In 4.6.3, it does behave as you say. I think I prefer 4.6.2 because it requires you to set up the field in a way that produces the expected behavior. Or else 4.6.x should fix it so all references produce the expected result. -- 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 coiin at verizon.net Sun Aug 14 18:42:25 2011 From: coiin at verizon.net (Colin Holgate) Date: Sun, 14 Aug 2011 18:42:25 -0400 Subject: referring to object names stored in variables In-Reply-To: <8CE28E404571BA8-16EC-20713@webmail-m155.sysops.aol.com> References: <63B552AC-982E-4156-A0C2-F1BB0BC19166@swissonline.ch><4E480522.7010206@hyperactivesw.com><2D730718-0BAE-4A4D-8D34-E3CDAE0C1DBD@verizon.net><8CE28DC137DB760-16EC-1FD5E@webmail-m155.sysops.aol.com> <4E48409C.3050807@hyperactivesw.com> <8CE28E404571BA8-16EC-20713@webmail-m155.sysops.aol.com> Message-ID: <64BD4ADA-30C8-44F5-A973-CA37771E4C7C@verizon.net> It needs to cork when there is no selection. Imagine you're working with an editable field, and want to know what is selected when nothing is selected. It would be a problem if in that one case it gave an error. Maybe that's why it was fixed in 4.6.3. The problem case in 4.6.3 seems to be that if you put something after a line, it's smart enough to realize you mean the new text is to be before the return character. With put text after selectedline the text goes after all the contents of the line, which includes the return character. On Aug 14, 2011, at 5:55 PM, DunbarX at aol.com wrote: > This might be a disadvantage if you want to work when there is NO selectedLine. You get one anyway.That is what the clickLine is for. Thanks a lot. From coiin at verizon.net Sun Aug 14 18:50:51 2011 From: coiin at verizon.net (Colin Holgate) Date: Sun, 14 Aug 2011 18:50:51 -0400 Subject: referring to object names stored in variables In-Reply-To: <64BD4ADA-30C8-44F5-A973-CA37771E4C7C@verizon.net> References: <63B552AC-982E-4156-A0C2-F1BB0BC19166@swissonline.ch><4E480522.7010206@hyperactivesw.com><2D730718-0BAE-4A4D-8D34-E3CDAE0C1DBD@verizon.net><8CE28DC137DB760-16EC-1FD5E@webmail-m155.sysops.aol.com> <4E48409C.3050807@hyperactivesw.com> <8CE28E404571BA8-16EC-20713@webmail-m155.sysops.aol.com> <64BD4ADA-30C8-44F5-A973-CA37771E4C7C@verizon.net> Message-ID: <39068E65-0327-40E9-8998-AFBD2F64080E@verizon.net> Cork? Must be that wine I'm drinking... On Aug 14, 2011, at 6:42 PM, Colin Holgate wrote: > It needs to cork when there is no selection. From jacque at hyperactivesw.com Sun Aug 14 21:30:05 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 14 Aug 2011 20:30:05 -0500 Subject: referring to object names stored in variables In-Reply-To: <64BD4ADA-30C8-44F5-A973-CA37771E4C7C@verizon.net> References: <63B552AC-982E-4156-A0C2-F1BB0BC19166@swissonline.ch><4E480522.7010206@hyperactivesw.com><2D730718-0BAE-4A4D-8D34-E3CDAE0C1DBD@verizon.net><8CE28DC137DB760-16EC-1FD5E@webmail-m155.sysops.aol.com> <4E48409C.3050807@hyperactivesw.com> <8CE28E404571BA8-16EC-20713@webmail-m155.sysops.aol.com> <64BD4ADA-30C8-44F5-A973-CA37771E4C7C@verizon.net> Message-ID: <4E48769D.6040403@hyperactivesw.com> On 8/14/11 5:42 PM, Colin Holgate wrote: > The problem case in 4.6.3 seems to be that if you put something after > a line, it's smart enough to realize you mean the new text is to be > before the return character. With put text after selectedline the > text goes after all the contents of the line, which includes the > return character. Sounds like a bug, don't you think? BTW, I liked "cork", it made complete sense. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jperryl at ecs.fullerton.edu Sun Aug 14 23:06:48 2011 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Sun, 14 Aug 2011 20:06:48 -0700 (PDT) Subject: [OT] Internet Censorship In-Reply-To: References: <1312601118358-3722715.post@n4.nabble.com> <014801cc5861$847e3f40$8d7abdc0$@net> <4E45CAED.5050906@fourthworld.com> <1313207201396-3740850.post@n4.nabble.com> <6AF658B4-AD5B-4F12-B2CB-3AA61DBB85FE@jhj.com> <254EEDC2-D715-4427-9862-1379850288BB@gmail.com> Message-ID: Perhaps you'd care to offer an example or three of "hobbyist" (notice that it is ALWAYS used in a demeaning manner) software done in LC that looks or behaves any crappier than stuff produced by "real" programmers in *any* language who've obviously never had a course in UI or UX design? Judy "the lowly dumb hobbyist" On Sat, 13 Aug 2011, Pete wrote: > Just like recording software, using a programming language without the > required knowledge produces pretty lousy results. From niconiko at gmail.com Mon Aug 15 00:24:07 2011 From: niconiko at gmail.com (Nicolas Cueto) Date: Mon, 15 Aug 2011 13:24:07 +0900 Subject: player object problem on Win7 Message-ID: Hi. A stack and its standalone version work fine in WinXP but not in Win7. The problem relates to the player object. It's filename gets set to an url on my webserver, and the url is a reference to an MP4 video. When the Win7 version sets the player object to the filename, both the stack in the IDE and the standalone version slow down. The stack/standalone are still active (eg, buttons are still clickable), just very long wait times. And I very much doubt the problem relates to firewalls or passwords, since the stack also refers via url to jpg and txt files on the same webserver and these get downloaded ok. Any ideas? Thanks. -- Nicolas Cueto From niconiko at gmail.com Mon Aug 15 00:41:37 2011 From: niconiko at gmail.com (Nicolas Cueto) Date: Mon, 15 Aug 2011 13:41:37 +0900 Subject: player object problem on Win7 In-Reply-To: References: Message-ID: Sorry to be replying to my own question. A Win7 installation does not include QuickTime. And I've confirmed QT is not installed on my machine. If this lack of QT is the source of the problem, does this mean Win7 users of my LiveCode stacks must have QuickTime already installed? If so, argh! I hesitate installing QT to find out one way or the other. Cause of how annoyingly persistent its update messages are. Almost as bothersome as java's! -- Nicolas Cueto From scott at tactilemedia.com Mon Aug 15 02:01:38 2011 From: scott at tactilemedia.com (Scott Rossi) Date: Sun, 14 Aug 2011 23:01:38 -0700 Subject: player object problem on Win7 In-Reply-To: References: Message-ID: <071AF45E-574F-41DB-8327-4E9EF267DBE1@tactilemedia.com> AFAIK, Neither LiveCode nor Windows has ever included a QuickTime installer. In answer to your question, yes, to get the most functionality from a player, the user must have QuickTime installed. Otherwise, playback features are quite limited. This is why many of us have been requesting for years that the RunRev folks license a media player technology that could be included in the engine, rather than relying on QuickTime. The media support available from QuickTime is great, but the need to install it is off-putting for many non-Mac users. Regards, Scott Rossi Creative Director Tactile Media, UX Design On Aug 14, 2011, at 9:41 PM, Nicolas Cueto wrote: > Sorry to be replying to my own question. > > A Win7 installation does not include QuickTime. And I've confirmed QT > is not installed on my machine. > > If this lack of QT is the source of the problem, does this mean Win7 > users of my LiveCode stacks must have QuickTime already installed? > > If so, argh! I hesitate installing QT to find out one way or the > other. Cause of how annoyingly persistent its update messages are. > Almost as bothersome as java's! > > -- > 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 keith.clarke at clarkeandclarke.co.uk Mon Aug 15 02:17:34 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Mon, 15 Aug 2011 07:17:34 +0100 Subject: Using revIgniter with on-rev and multiple sites/domains In-Reply-To: References: Message-ID: ...OK, thanks again Ralf - great to know that it's that easy! I can feel a little LC script exercise - to teach myself about file renaming in nested folders - coming on. ;-) Best, Keith.. On 14 Aug 2011, at 21:54, Ralf Bitter wrote: > Keith, > > to use the latest version (1.4b) of revIgniter with the > latest version of the server engine on On-Rev you > currently need to change the extensions of all files to .lc > (sorry for the inconvenience). > Note: This applies to revIgniter installations on On-Rev only. > > The next revIgniter version will include the .lc extension. > > > Ralf > > > > On 14.08.2011, at 21:52, Keith Clarke wrote: > >> ...great, thanks Ralf - for the clarification and for creating and sharing the fantastic revIgniter resource. >> >> BTW are there any additional setup steps needed for work with LiveCode Server and .lc files rather revServer .irev environment - for example, does index.irev change to index.lc? >> Best, >> Keith.. >> >> On 14 Aug 2011, at 20:12, Ralf Bitter wrote: >> >>> Hi Keith, >>> >>> every addon domain needs it's own revIgniter installation. >>> So, the revIgniter files go into public_html/yourAddonDomain. >>> >>> Hope this helps. >>> >>> Ralf >>> >>> >>> >>> On 14.08.2011, at 16:01, Keith Clarke wrote: >>> >>>> Hi folks, >>>> When using revIgniter for on-rev, across multiple addon domains, where should the revIgniter files be installed? The revIgniter installation instructions state, at lines: >>>> >>>> '2. Upload the revIgniter folders and files to your server. Normally the index.irev file will be at your root.' >>>> >>>> '3. Open the application/config/config.irev file with a text editor and set your base URL. >>>> >>>> The latter seems to imply a per-site implementation, so it seems that the 'root' cited in line 2 does not mean the docroot of mydomain at on-rev.com. So, do the revIgniter files go into the addon domain's docroot or webroot (public_html/)? >>>> Best, >>>> Keith.. >>>> > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From keith.clarke at clarkeandclarke.co.uk Mon Aug 15 02:34:52 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Mon, 15 Aug 2011 07:34:52 +0100 Subject: referring to object names stored in variables In-Reply-To: <39068E65-0327-40E9-8998-AFBD2F64080E@verizon.net> References: <63B552AC-982E-4156-A0C2-F1BB0BC19166@swissonline.ch><4E480522.7010206@hyperactivesw.com><2D730718-0BAE-4A4D-8D34-E3CDAE0C1DBD@verizon.net><8CE28DC137DB760-16EC-1FD5E@webmail-m155.sysops.aol.com> <4E48409C.3050807@hyperactivesw.com> <8CE28E404571BA8-16EC-20713@webmail-m155.sysops.aol.com> <64BD4ADA-30C8-44F5-A973-CA37771E4C7C@verizon.net> <39068E65-0327-40E9-8998-AFBD2F64080E@verizon.net> Message-ID: ...just imagining the (slightly slurred and blurred) scene... "Waiter, another bottle of the Ch?teau LC ?pres-ligne 4.6.3 - this one is corked!" So, maybe it's not a bug - merely the after effects of the illicit substance you are eating with the wine. You know... the, ahem... fromage ;-) Best, Keith.. On 14 Aug 2011, at 23:50, Colin Holgate wrote: > Cork? Must be that wine I'm drinking... > > On Aug 14, 2011, at 6:42 PM, Colin Holgate wrote: > >> It needs to cork when there is no selection. > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Mon Aug 15 03:54:08 2011 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Mon, 15 Aug 2011 10:54:08 +0300 Subject: Unicode woes In-Reply-To: References: <4E467F91.3010408@gmail.com> Message-ID: <4E48D0A0.4060400@gmail.com> On 08/13/2011 05:04 PM, Mark Schonewille wrote: > Hi Richmond, > > It doesn't work because the first char actually gets the first byte and thus you only get the first half of the first character. > > This might work, depending on the textFont setting and maybe writing direction: > > on mouseUp > set the unicodetext of fld "xxx" to char 1 to 2 of the unicodetext of fld "zzz" > end mouseUp > > -- > Best regards, > > Mark Schonewille > > Thank you very much, I'll give it a go. From richmondmathewson at gmail.com Mon Aug 15 03:58:48 2011 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Mon, 15 Aug 2011 10:58:48 +0300 Subject: [OT] advice as to whether this is a scam? In-Reply-To: <966FC365-86E6-4D05-B721-3EE3A342834D@sahores-conseil.com> References: <4E467ECC.3070401@gmail.com> <966FC365-86E6-4D05-B721-3EE3A342834D@sahores-conseil.com> Message-ID: <4E48D1B8.1010403@gmail.com> Just to say a "Big Thank You" to one and all on this one, I am pretty green behind the ears when it comes to this sort of thing. Thanks again, Richmond Mathewson. From toolbook at kestner.de Mon Aug 15 07:19:16 2011 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Mon, 15 Aug 2011 13:19:16 +0200 Subject: Lion trouble with quicktime video snapshot Message-ID: <001601cc5b3d$30360100$90a20300$@de> Hello, a major feature of my software is taking snapshots from build in videos. Running on Lion this snapshot feature is corrupted. I don't get anymore a snapshot of my video, but irregular colors or patterns. One time the snapshot is grey blurred, one time plain blue or plain black. Always different. Taking the snapshot I do it like this: export snapshot from rect tRectSSQuelle to gScreenshot as PNG put gScreenshot into img "imgScreenShot" of tCard Are there any known issue with Lion and Quicktime? I am still using LC 4.5.1. Are there perhaps any issues with LC 4.5.1 and Lion Are there any other approaches or parameters, how to create a snapshot? What could I test to get an idea which part is corrupted? Thanks for any ideas Tiemo From rabit at dimensionB.de Mon Aug 15 07:35:50 2011 From: rabit at dimensionB.de (Ralf Bitter) Date: Mon, 15 Aug 2011 13:35:50 +0200 Subject: [livecodeServer] new header error Message-ID: <0B02245F-4C1E-4020-A2EE-54A1D15F0542@dimensionB.de> Hello, please, could anybody confirm that "put new header" is broken with the latest version of the server engine? I get a "can't find handler (header)" error. "put header" still works, though. Ralf From niconiko at gmail.com Mon Aug 15 07:41:50 2011 From: niconiko at gmail.com (Nicolas Cueto) Date: Mon, 15 Aug 2011 20:41:50 +0900 Subject: player object problem on Win7 In-Reply-To: <071AF45E-574F-41DB-8327-4E9EF267DBE1@tactilemedia.com> References: <071AF45E-574F-41DB-8327-4E9EF267DBE1@tactilemedia.com> Message-ID: Well, QuickTime was the problem. Installed it and now my stack/standalone works. >?This is why many of us have been requesting for years that the RunRev folks license a media player technology that could be included in the engine, rather than relying on QuickTime. Count me in on that request. -- Nicolas Cueto From richmondmathewson at gmail.com Mon Aug 15 07:56:28 2011 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Mon, 15 Aug 2011 14:56:28 +0300 Subject: player object problem on Win7 In-Reply-To: References: <071AF45E-574F-41DB-8327-4E9EF267DBE1@tactilemedia.com> Message-ID: <4E49096C.9040304@gmail.com> On 08/15/2011 02:41 PM, Nicolas Cueto wrote: > Well, QuickTime was the problem. Installed it and now my stack/standalone works. > >> This is why many of us have been requesting for years that the RunRev folks license a media player technology that could be included in the engine, rather than relying on QuickTime. Yup: and, ideally, a truly cross-platform solution so that movies play seamlessly on Mac/Win and Linux . . . :) > Count me in on that request. > > -- > 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 toolbook at kestner.de Mon Aug 15 08:54:30 2011 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Mon, 15 Aug 2011 14:54:30 +0200 Subject: AW: player object problem on Win7 In-Reply-To: References: <071AF45E-574F-41DB-8327-4E9EF267DBE1@tactilemedia.com> Message-ID: <002801cc5b4a$7cc87040$765950c0$@de> A good part of my support cases are related to corrupted Quicktime installations... Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode-bounces at lists.runrev.com [mailto:use-livecode- > bounces at lists.runrev.com] Im Auftrag von Nicolas Cueto > Gesendet: Montag, 15. August 2011 13:42 > An: How to use LiveCode > Betreff: Re: player object problem on Win7 > > Well, QuickTime was the problem. Installed it and now my stack/standalone > works. > > >?This is why many of us have been requesting for years that the RunRev folks > license a media player technology that could be included in the engine, rather > than relying on QuickTime. > > Count me in on that request. > > -- > 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 toolbook at kestner.de Mon Aug 15 11:18:34 2011 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Mon, 15 Aug 2011 17:18:34 +0200 Subject: AW: Lion trouble with quicktime video snapshot In-Reply-To: <001601cc5b3d$30360100$90a20300$@de> References: <001601cc5b3d$30360100$90a20300$@de> Message-ID: <002f01cc5b5e$9efbd760$dcf38620$@de> I looked for the current Quicktime 10.1 Download for Lion to give a new install a try, but neither in apple downloads, nore in the AppStore I found any hint about Quicktime 10.1 for Lion. Has anybody seen QT 10.1 for download for Mac or knows, what apple has done with it? Thanks Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode-bounces at lists.runrev.com [mailto:use-livecode- > bounces at lists.runrev.com] Im Auftrag von Tiemo Hollmann TB > Gesendet: Montag, 15. August 2011 13:19 > An: 'How to use LiveCode' > Betreff: Lion trouble with quicktime video snapshot > > Hello, > > a major feature of my software is taking snapshots from build in videos. > > Running on Lion this snapshot feature is corrupted. I don't get anymore a > snapshot of my video, but irregular colors or patterns. One time the > snapshot is grey blurred, one time plain blue or plain black. Always > different. Taking the snapshot I do it like this: > > export snapshot from rect tRectSSQuelle to gScreenshot as PNG > > put gScreenshot into img "imgScreenShot" of tCard > > > > Are there any known issue with Lion and Quicktime? > > I am still using LC 4.5.1. Are there perhaps any issues with LC 4.5.1 and > Lion > > Are there any other approaches or parameters, how to create a snapshot? What > could I test to get an idea which part is corrupted? > > > > Thanks for any ideas > > 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 bvg at mac.com Mon Aug 15 11:40:06 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Mon, 15 Aug 2011 17:40:06 +0200 Subject: BvG Docu In-Reply-To: References: Message-ID: <9157260E-A513-43B0-98FC-2B285D94251F@mac.com> The docu stack is installed into your user add ons. you can change behaviour of that by going to "Plugin Settings" in the "Plugin" menu item of the "Development" menu. There's a choice that allows you to only start the docu when you chose it from the plugin menu. To uninstall the docu stack completely, remove the stack from your user add on folders. THe path to that folder can be investigated at the bottom of the "general" parts of the IDE settings. Sorry for the late reply, I was away. On 12 Aug 2011, at 18:18, Pete wrote: > Hi Bjoernke, > Really enjoying using your new version of this tool, so much more useful > than the standard dictionary. > > Much as I'm really enjoying using it, I'm not sure I want it to > automatically appear every time I launch the IDE - is there a way to disable > that behavior? > > Pete > Molly's Revenge > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Watch live presentations every Saturday: http://livecode.tv Use an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ From klaus at major.on-rev.com Mon Aug 15 11:41:17 2011 From: klaus at major.on-rev.com (Klaus on-rev) Date: Mon, 15 Aug 2011 17:41:17 +0200 Subject: Lion trouble with quicktime video snapshot In-Reply-To: <002f01cc5b5e$9efbd760$dcf38620$@de> References: <001601cc5b3d$30360100$90a20300$@de> <002f01cc5b5e$9efbd760$dcf38620$@de> Message-ID: Hi Tiemo, Am 15.08.2011 um 17:18 schrieb Tiemo Hollmann TB: > I looked for the current Quicktime 10.1 Download for Lion to give a new > install a try, but neither in apple downloads, nore in the AppStore I found > any hint about Quicktime 10.1 for Lion. > Has anybody seen QT 10.1 for download for Mac or knows, what apple has done > with it? there is no newer version of QuickTIme than the one that came with Lion! If that is what you mean. > Thanks > Tiemo Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From bvg at mac.com Mon Aug 15 11:42:02 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Mon, 15 Aug 2011 17:42:02 +0200 Subject: Another Docu question In-Reply-To: References: Message-ID: <374863BD-F724-4C56-B801-08B01D501757@mac.com> does the docu work? if yes, it should not show that message. if it doesn't work, most likely something got saved weirdly, try to reinstall it. On 12 Aug 2011, at 19:25, Pete wrote: > I just downloaded the latest version of bvg Docu. Now every time I start > LC, I get a message that there is no sqlite file available and one is > created. The stack is installed in my plugins folder and in the same folder > I see a folder named "BvG Docu" which contains a file named "BvG Docu > 4.6.2.sqlite" (timestamped today). This on a Mac running OS X 10.6.8 > > Any ideas? > > Pete > Molly's Revenge > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode -- Watch live presentations every Saturday: http://livecode.tv Use an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ From bobs at twft.com Mon Aug 15 12:07:19 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 15 Aug 2011 09:07:19 -0700 Subject: Exporting vector images In-Reply-To: <1313208725551-3740872.post@n4.nabble.com> References: <4E429571.4070805@gmail.com> <1312994469586-3733514.post@n4.nabble.com> <4E42B997.2070905@gmail.com> <1313208725551-3740872.post@n4.nabble.com> Message-ID: <6D0E89A9-461A-4AE3-99F2-F62A4D276F7B@twft.com> http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=50004&lngWId=1 Bob On Aug 12, 2011, at 9:12 PM, Alejandro Tejada wrote: > Hi Richmond, > > > Richmond Mathewson-2 wrote: >> >> This super stack exports Vector graphics as vector graphics >> (wow, that sounds a bit circular), and as such is wonderful. >> >> WHAT IT DOESN'T DO is: >> Export TEXT from a textField as Vectors . . . expecting too much, I am . >> . . :) >> > > Exporting text fields as vectors would require > some external (to read the font vector information) > or recreate the text in another group/card/stack, > using only vector graphics (from the Devawriter TTF font) > > If you send me the vector graphics, I could experiment > with this, to test how feasible it is. > > Al > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Exporting-vector-images-tp3733066p3740872.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 richmondmathewson at gmail.com Mon Aug 15 12:12:31 2011 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Mon, 15 Aug 2011 19:12:31 +0300 Subject: Unicode woes In-Reply-To: References: <4E467F91.3010408@gmail.com> Message-ID: <4E49456F.6080709@gmail.com> On 08/13/2011 05:04 PM, Mark Schonewille wrote: > Hi Richmond, > > It doesn't work because the first char actually gets the first byte and thus you only get the first half of the first character. > > This might work, depending on the textFont setting and maybe writing direction: > > on mouseUp > set the unicodetext of fld "xxx" to char 1 to 2 of the unicodetext of fld "zzz" > end mouseUp That works very well indeed. HOWEVER . . . my textField contains mixed Unicode and ASCII text [spaces, Latin letters] . . . so I am obviously going to have a jolly time detecting whether each char falls below the 255 ASCII limit and then, if it does, treating it as an ASCII char, and if it doesn't lining it up with the next char to give a double-byte char. > -- > Best regards, > > Mark Schonewille > > > > On 13 aug 2011, at 15:43, Richmond Mathewson wrote: > >> Anybody know why this doesn't work: >> >> on mouseUp >> set the useUnicode to true >> set the unicodeText of fld "XXXX" to the first char of the unicodeText of fld "ZZZZ" >> end mouseUp >> >> ??? > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Mon Aug 15 12:13:36 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 15 Aug 2011 09:13:36 -0700 Subject: Exporting vector images In-Reply-To: <1313208725551-3740872.post@n4.nabble.com> References: <4E429571.4070805@gmail.com> <1312994469586-3733514.post@n4.nabble.com> <4E42B997.2070905@gmail.com> <1313208725551-3740872.post@n4.nabble.com> Message-ID: <5503BA54-0AF9-4402-A24D-FD2543B277EC@twft.com> I should mention that Microsoft plans to end support for Visual Basic scripting soon, so if you have access to an XP machine, I suggest converting all the glyphs yourself and storing them in a folder in your project. Then it may be possible to use the previous stack supplied as the means to convert the vector to a bitmap and present it to your user. I am not sure how complex the language is that you are using, so maybe this method would not work. I would hate to have to do this for Mandarin!! Bob http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=50004&lngWId=1 Bob On Aug 12, 2011, at 9:12 PM, Alejandro Tejada wrote: > Hi Richmond, > > > Richmond Mathewson-2 wrote: >> >> This super stack exports Vector graphics as vector graphics >> (wow, that sounds a bit circular), and as such is wonderful. >> >> WHAT IT DOESN'T DO is: >> Export TEXT from a textField as Vectors . . . expecting too much, I am . >> . . :) >> > > Exporting text fields as vectors would require > some external (to read the font vector information) > or recreate the text in another group/card/stack, > using only vector graphics (from the Devawriter TTF font) > > If you send me the vector graphics, I could experiment > with this, to test how feasible it is. > > Al > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Exporting-vector-images-tp3733066p3740872.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 richmondmathewson at gmail.com Mon Aug 15 12:15:02 2011 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Mon, 15 Aug 2011 19:15:02 +0300 Subject: Exporting vector images In-Reply-To: <6D0E89A9-461A-4AE3-99F2-F62A4D276F7B@twft.com> References: <4E429571.4070805@gmail.com> <1312994469586-3733514.post@n4.nabble.com> <4E42B997.2070905@gmail.com> <1313208725551-3740872.post@n4.nabble.com> <6D0E89A9-461A-4AE3-99F2-F62A4D276F7B@twft.com> Message-ID: <4E494606.70501@gmail.com> On 08/15/2011 07:07 PM, Bob Sneidar wrote: > http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=50004&lngWId=1 > > Bob > > Oh, dear, HARAM, TABOO, SHIBBOLETH, Visual Basic . . . :( Especially on Mac and Linux. From richmondmathewson at gmail.com Mon Aug 15 12:15:59 2011 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Mon, 15 Aug 2011 19:15:59 +0300 Subject: Exporting vector images In-Reply-To: <5503BA54-0AF9-4402-A24D-FD2543B277EC@twft.com> References: <4E429571.4070805@gmail.com> <1312994469586-3733514.post@n4.nabble.com> <4E42B997.2070905@gmail.com> <1313208725551-3740872.post@n4.nabble.com> <5503BA54-0AF9-4402-A24D-FD2543B277EC@twft.com> Message-ID: <4E49463F.8090303@gmail.com> On 08/15/2011 07:13 PM, Bob Sneidar wrote: > I should mention that Microsoft plans to end support for Visual Basic scripting soon, so if you have access to an XP machine, I suggest converting all the glyphs yourself and storing them in a folder in your project. Then it may be possible to use the previous stack supplied as the means to convert the vector to a bitmap and present it to your user. > > I am not sure how complex the language is that you are using, so maybe this method would not work. I would hate to have to do this for Mandarin!! > > Bob > Frankly it is not worth the candle. From bobs at twft.com Mon Aug 15 12:16:20 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 15 Aug 2011 09:16:20 -0700 Subject: [OT] Internet Censorship In-Reply-To: <1313211721643-3740893.post@n4.nabble.com> References: <1312601118358-3722715.post@n4.nabble.com> <014801cc5861$847e3f40$8d7abdc0$@net> <4E45CAED.5050906@fourthworld.com> <1313207201396-3740850.post@n4.nabble.com> <1313211721643-3740893.post@n4.nabble.com> Message-ID: Do you mean to say that Aliens are running some of the radio stations?? Come to think of it, that explains a lot... Bob On Aug 12, 2011, at 10:02 PM, Alejandro Tejada wrote: >> If one is only listening to terrestrial radio From toolbook at kestner.de Mon Aug 15 12:47:31 2011 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Mon, 15 Aug 2011 18:47:31 +0200 Subject: AW: Lion trouble with quicktime video snapshot In-Reply-To: References: <001601cc5b3d$30360100$90a20300$@de> <002f01cc5b5e$9efbd760$dcf38620$@de> Message-ID: <003001cc5b6b$0b17a8f0$2146fad0$@de> Hi Klaus, I know, but I have cured weird quicktime problems with reinstalls of the same version not only once. That?s why I am looking for 10.1. And since I read the chance to create an image of the Lion download only BEFORE you install Lion, AFTER I have installed Lion, I don't have a Lion installer Disc. Thanks Apple! Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode-bounces at lists.runrev.com [mailto:use-livecode- > bounces at lists.runrev.com] Im Auftrag von Klaus on-rev > Gesendet: Montag, 15. August 2011 17:41 > An: How to use LiveCode > Betreff: Re: Lion trouble with quicktime video snapshot > > Hi Tiemo, > > Am 15.08.2011 um 17:18 schrieb Tiemo Hollmann TB: > > > I looked for the current Quicktime 10.1 Download for Lion to give a new > > install a try, but neither in apple downloads, nore in the AppStore I found > > any hint about Quicktime 10.1 for Lion. > > Has anybody seen QT 10.1 for download for Mac or knows, what apple has done > > with it? > > there is no newer version of QuickTIme than the one that came with Lion! > If that is what you mean. > > > Thanks > > Tiemo > > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > klaus at major.on-rev.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.on-rev.com Mon Aug 15 12:46:30 2011 From: klaus at major.on-rev.com (Klaus on-rev) Date: Mon, 15 Aug 2011 18:46:30 +0200 Subject: Lion trouble with quicktime video snapshot In-Reply-To: <003001cc5b6b$0b17a8f0$2146fad0$@de> References: <001601cc5b3d$30360100$90a20300$@de> <002f01cc5b5e$9efbd760$dcf38620$@de> <003001cc5b6b$0b17a8f0$2146fad0$@de> Message-ID: <6CB93EC3-8E9D-4DA7-BBDC-9200314D7215@major.on-rev.com> Hi Tiemo, Am 15.08.2011 um 18:47 schrieb Tiemo Hollmann TB: > Hi Klaus, I know, but I have cured weird quicktime problems with reinstalls > of the same version not only once. That?s why I am looking for 10.1. > And since I read the chance to create an image of the Lion download only > BEFORE you install Lion, AFTER I have installed Lion, I don't have a Lion > installer Disc. Thanks Apple! :-) I had the same problem, but you can download the complete install package AGAIN, when you press the ALT key when selecting "Installieren" for OS X Lion in the Appstore! Did the same and now have a nice bootable USB stick :-) Contact me offlist if you have further questions! > Tiemo Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From bobs at twft.com Mon Aug 15 12:58:20 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 15 Aug 2011 09:58:20 -0700 Subject: Version Tracking In-Reply-To: <15599957484.20110812215241@ahsoftware.net> References: <2AFBB6E3-195F-4322-BEAA-958DE77D1D5F@twft.com> <15599957484.20110812215241@ahsoftware.net> Message-ID: Yes I looked at this, but we need other things like accounting, multiple sites, room scheduling etc, features which when I looked, were not available. Also, the ability to customize it specifically to our needs is what is really driving this project. Bob On Aug 12, 2011, at 9:52 PM, Mark Wieder wrote: > Bob- > > Friday, August 12, 2011, 10:14:21 AM, you wrote: > >> Hi all. > >> I am working on an application for scheduling and after showing a >> working proof of concept to the powers that be, they seem pretty >> excited about it. I am meeting with a group of people who run the >> sites next week. I would like to fire up some kind of version >> tracking/feature request system where I can prioritize features and >> assign them to planned future versions. > >> Do any of you use software like that, and what would you recommend? > > Have you thought of looking at something already coded in LiveCode? > > http://www.rotundasoftware.com/ > > -- > -Mark Wieder > mwieder at ahsoftware.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 From pete at mollysrevenge.com Mon Aug 15 13:08:40 2011 From: pete at mollysrevenge.com (Pete) Date: Mon, 15 Aug 2011 10:08:40 -0700 Subject: [OT] Internet Censorship In-Reply-To: References: <1312601118358-3722715.post@n4.nabble.com> <014801cc5861$847e3f40$8d7abdc0$@net> <4E45CAED.5050906@fourthworld.com> <1313207201396-3740850.post@n4.nabble.com> <6AF658B4-AD5B-4F12-B2CB-3AA61DBB85FE@jhj.com> <254EEDC2-D715-4427-9862-1379850288BB@gmail.com> Message-ID: You can take the word hobbyist as you please, it wasn't meant as a demeaning term. And yes, there is crappy stuff produced by people who are "real" programmers (whatever that means). And yes, both groups of people probably never had a course in UI design or DB design - that's the whole point. Writing the program is the final stage of a the process and without the understanding of the things you mentioned, the result will likely not be good, whether it's written by someone who is paid good money to be a programmer or by someone who does it for fun. Pete Molly's Revenge On Sun, Aug 14, 2011 at 8:06 PM, Judy Perry wrote: > Perhaps you'd care to offer an example or three of "hobbyist" (notice that > it is ALWAYS used in a demeaning manner) software done in LC that looks or > behaves any crappier than stuff produced by "real" programmers in *any* > language who've obviously never had a course in UI or UX design? > > Judy > "the lowly dumb hobbyist" > > On Sat, 13 Aug 2011, Pete wrote: > > > Just like recording software, using a programming language without the >> required knowledge produces pretty lousy results. >> > > ______________________________**_________________ > use-livecode mailing list > use-livecode at 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 Aug 15 13:25:41 2011 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Mon, 15 Aug 2011 19:25:41 +0200 Subject: AW: Lion trouble with quicktime video snapshot In-Reply-To: <6CB93EC3-8E9D-4DA7-BBDC-9200314D7215@major.on-rev.com> References: <001601cc5b3d$30360100$90a20300$@de> <002f01cc5b5e$9efbd760$dcf38620$@de> <003001cc5b6b$0b17a8f0$2146fad0$@de> <6CB93EC3-8E9D-4DA7-BBDC-9200314D7215@major.on-rev.com> Message-ID: <003101cc5b70$622309f0$26691dd0$@de> wow, good to know! But I don't know if you have a separate installer of Quicktime on the Lion installer? Does anybody know? Googeling about Quicktime issues with Lion, you see quite some concerning third party tools like Better Touch Tool with affect on Quicktime. My only "third party tool" is LC... perhaps I have to renew my LC licence and buy 4.6 to see if they have changed something in 4.6 Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode-bounces at lists.runrev.com [mailto:use-livecode- > bounces at lists.runrev.com] Im Auftrag von Klaus on-rev > Gesendet: Montag, 15. August 2011 18:47 > An: How to use LiveCode > Betreff: Re: Lion trouble with quicktime video snapshot > > Hi Tiemo, > > Am 15.08.2011 um 18:47 schrieb Tiemo Hollmann TB: > > > Hi Klaus, I know, but I have cured weird quicktime problems with reinstalls > > of the same version not only once. That?s why I am looking for 10.1. > > And since I read the chance to create an image of the Lion download only > > BEFORE you install Lion, AFTER I have installed Lion, I don't have a Lion > > installer Disc. Thanks Apple! > > :-) > > I had the same problem, but you can download the complete install package > AGAIN, > when you press the ALT key when selecting "Installieren" for OS X Lion in the > Appstore! > > Did the same and now have a nice bootable USB stick :-) > Contact me offlist if you have further questions! > > > Tiemo > > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > klaus at major.on-rev.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 bobs at twft.com Mon Aug 15 13:25:06 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 15 Aug 2011 10:25:06 -0700 Subject: Grabbing the Date and Time From a Time Server on the Internet In-Reply-To: <176148149453.20110813111553@ahsoftware.net> References: <176148149453.20110813111553@ahsoftware.net> Message-ID: <5EC0DA15-9BE3-41D9-B047-250E2733C630@twft.com> This returns a ton of html, from which the date time can be filtered using "

*", but since it takes about 30 seconds to run, and returns 32 entries, I am not sure how useful this would for him, if he wanted an exact time (within a second or two). Time servers are NTP:\\ aren't they? Looks like the revURL library does not support NTP, or not that I can see. Any attempt to use it in a URL returns empty in it and invalid URL: in the result. A quick browse for http based time servers came up dry. Bob On Aug 13, 2011, at 11:15 AM, Mark Wieder wrote: > Gregory- > > Saturday, August 13, 2011, 10:33:29 AM, you wrote: > >> Taking another kick at the cat here. I?d like to use something like > >> get url (http://[time server address]) > > How's this? > > http://tycho.usno.navy.mil/cgi-bin/anim > > -- > -Mark Wieder > mwieder at ahsoftware.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 From pmbrig at gmail.com Mon Aug 15 13:25:12 2011 From: pmbrig at gmail.com (Peter M. Brigham, MD) Date: Mon, 15 Aug 2011 13:25:12 -0400 Subject: [OT] Internet Censorship In-Reply-To: References: <1312601118358-3722715.post@n4.nabble.com> <014801cc5861$847e3f40$8d7abdc0$@net> <4E45CAED.5050906@fourthworld.com> <1313207201396-3740850.post@n4.nabble.com> <6AF658B4-AD5B-4F12-B2CB-3AA61DBB85FE@jhj.com> <254EEDC2-D715-4427-9862-1379850288BB@gmail.com> Message-ID: <3D0F1D54-3DE2-4A6A-B8EA-4D92B2315348@gmail.com> Maybe I'm biased, but I think that the most user-friendly apps are those produced by the people who use them. I'm not a dispassionate observer, though -- my own practice management stack is miles ahead of anything else I've seen but then I designed it for just the way I think and work, and I've had years to tweak it and streamline it. But then, that's what makes it really usable. -- Peter (another "hobbyist") Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Aug 15, 2011, at 1:08 PM, Pete wrote: > You can take the word hobbyist as you please, it wasn't meant as a demeaning > term. And yes, there is crappy stuff produced by people who are "real" > programmers (whatever that means). And yes, both groups of people probably > never had a course in UI design or DB design - that's the whole point. > Writing the program is the final stage of a the process and without the > understanding of the things you mentioned, the result will likely not be > good, whether it's written by someone who is paid good money to be a > programmer or by someone who does it for fun. > Pete > Molly's Revenge > > > > > On Sun, Aug 14, 2011 at 8:06 PM, Judy Perry wrote: > >> Perhaps you'd care to offer an example or three of "hobbyist" (notice that >> it is ALWAYS used in a demeaning manner) software done in LC that looks or >> behaves any crappier than stuff produced by "real" programmers in *any* >> language who've obviously never had a course in UI or UX design? >> >> Judy >> "the lowly dumb hobbyist" >> >> On Sat, 13 Aug 2011, Pete wrote: >> >> >> Just like recording software, using a programming language without the >>> required knowledge produces pretty lousy results. >>> >> >> ______________________________**_________________ >> use-livecode mailing list >> use-livecode 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 Aug 15 13:39:11 2011 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Mon, 15 Aug 2011 10:39:11 -0700 Subject: [OT] Internet Censorship In-Reply-To: References: <1312601118358-3722715.post@n4.nabble.com><014801cc5861$847e3f40$8d7abdc0$@net><4E45CAED.5050906@fourthworld.com><1313207201396-3740850.post@n4.nabble.com><6AF658B4-AD5B-4F12-B2CB-3AA61DBB85FE@jhj.com><254EEDC2-D715-4427-9862-1379850288BB@gmail.com> Message-ID: <055BA007FDCF4255930C735021A9E60D@GATEWAY> > You can take the word hobbyist as you please, it wasn't meant > as a demeaning term. And yes, there is crappy stuff produced > by people who are "real" > programmers (whatever that means). And yes, both groups of > people probably never had a course in UI design or DB design > - that's the whole point. The "pro creation tools" market recognizes several kinds of customers who aren't necessarily 100% full time developers. - A professional user is using the tool for commercial purposes. They most likely have had some kind of training or background. - A hobbyist user is using the tool for non-commercial purposes, for their own pleasure or the pleasure of others. They tend to buy the least expensive versions of products. The more obsessional ones might become prosumer types. - A prosumer user is using the tool for either commercial or non-commercial purposes, but either the tool is not critical to the user's main commercial purpose (it can usually be replaced by another tool or technique), or their skills are advanced enough that they are pushing the limits of what the lower end tools can accomplish. They have a strong incentive to buy higher versions, though they are not commercially required to do so usually. None of these hats really fit the academic market, which is its own microcosm. Consider... - using a tool to create other tools/services for use in the academic market (very similar/same as the "pro" user) - using a tool to prototype something that pushes the boundaries of the current market (sounds pro to me) - using a tool to teach techniques related to the field of study related to the tool (many tools can fit this usage, sort of like the "prosumer") - using the tool as a kind of "play" to stimulate creativity, logic, etc (sounds almost hobbyist) Academics have their own "genetic family tree" - they aren't hobbyists. But Id like to point out that there are many commercial products that began as something else. For example, I know that Larry Weinberg, who created Poser, did so on his weekends, as a kind of hobby. Best regards, Lynn Fredricks President Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server From richmondmathewson at gmail.com Mon Aug 15 13:43:51 2011 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Mon, 15 Aug 2011 20:43:51 +0300 Subject: Exporting vector images In-Reply-To: <5503BA54-0AF9-4402-A24D-FD2543B277EC@twft.com> References: <4E429571.4070805@gmail.com> <1312994469586-3733514.post@n4.nabble.com> <4E42B997.2070905@gmail.com> <1313208725551-3740872.post@n4.nabble.com> <5503BA54-0AF9-4402-A24D-FD2543B277EC@twft.com> Message-ID: <4E495AD7.8060003@gmail.com> As far as I remember Fontographer (I own the Mac Classic version!!!!!) is quite capable of exporting glyphs as some sort of vector file . . . . . . wait a minute while I turn on my Mac . . fire up the Classic environment . . . and so on . . . Ar, har, har . . . It can export chars as EPS documents which Inkscape (and, one assumes, Illustrator) ca cope with. HOWEVER; I am bu**ered if I am going to have an app with an accompanying directory full of, say, 5,000 EPS files; that is real monkey business. What is neede3d is a way to export the contents of a textField as a single EPS/SVG file. From pete at mollysrevenge.com Mon Aug 15 13:47:11 2011 From: pete at mollysrevenge.com (Pete) Date: Mon, 15 Aug 2011 10:47:11 -0700 Subject: Another Docu question In-Reply-To: <374863BD-F724-4C56-B801-08B01D501757@mac.com> References: <374863BD-F724-4C56-B801-08B01D501757@mac.com> Message-ID: Thanks but still getting the same problem. the plugin does work after is has rebuilt the database but it still rebuilds it every time I start LC. I installed the stack in my LC plugins folder (~/Documents/Livecode/Plugins) After running it I see the following files: - BvG Docu 2.rev - bvg_docu_2.rev - a folder named BvG Docu containing 1 file named "BvG Docu 4.6.2.sqlite" I tried to get to the Plugin Settings but when I selected the stack, I got the standard message about there already being a stack with the same name loaded and form that point on, I was in a never ending loo of creating the database and getting the same stack loded message, no matter which option I chose. Weird. This is with LC 4.6.2 running on a Mac with OS X 10.6.8. Let me know if there's anything else I can do to help figure this out - this is a much better way to view the dictionary! Pete Molly's Revenge 2011/8/15 Bj?rnke von Gierke > does the docu work? if yes, it should not show that message. if it doesn't > work, most likely something got saved weirdly, try to reinstall it. > > On 12 Aug 2011, at 19:25, Pete wrote: > > > I just downloaded the latest version of bvg Docu. Now every time I start > > LC, I get a message that there is no sqlite file available and one is > > created. The stack is installed in my plugins folder and in the same > folder > > I see a folder named "BvG Docu" which contains a file named "BvG Docu > > 4.6.2.sqlite" (timestamped today). This on a Mac running OS X 10.6.8 > > > > Any ideas? > > > > Pete > > Molly's Revenge > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > -- > Watch live presentations every Saturday: > http://livecode.tv > > Use an alternative Dictionary viewer: > http://bjoernke.com/bvgdocu/ > > Chat with other RunRev developers: > http://bjoernke.com/chatrev/ > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 mollysrevenge.com Mon Aug 15 13:55:49 2011 From: pete at mollysrevenge.com (Pete) Date: Mon, 15 Aug 2011 10:55:49 -0700 Subject: [OT] Internet Censorship In-Reply-To: <3D0F1D54-3DE2-4A6A-B8EA-4D92B2315348@gmail.com> References: <1312601118358-3722715.post@n4.nabble.com> <014801cc5861$847e3f40$8d7abdc0$@net> <4E45CAED.5050906@fourthworld.com> <1313207201396-3740850.post@n4.nabble.com> <6AF658B4-AD5B-4F12-B2CB-3AA61DBB85FE@jhj.com> <254EEDC2-D715-4427-9862-1379850288BB@gmail.com> <3D0F1D54-3DE2-4A6A-B8EA-4D92B2315348@gmail.com> Message-ID: You're right - your knowledge of your own requirements and the way you work makes if a good tool. That knowledge is the equivalent of the problem analysis/design work. I guess the word "hobbyist' is what is annoying folks here. I never think of that as a pejorative term, after all Jobs and Wozniak were part of a hobbyist club and look what happened to them! Pete Molly's Revenge On Mon, Aug 15, 2011 at 10:25 AM, Peter M. Brigham, MD wrote: > Maybe I'm biased, but I think that the most user-friendly apps are those > produced by the people who use them. I'm not a dispassionate observer, > though -- my own practice management stack is miles ahead of anything else > I've seen but then I designed it for just the way I think and work, and I've > had years to tweak it and streamline it. But then, that's what makes it > really usable. > > -- Peter (another "hobbyist") > > Peter M. Brigham > pmbrig at gmail.com > http://home.comcast.net/~pmbrig > > > On Aug 15, 2011, at 1:08 PM, Pete wrote: > > > You can take the word hobbyist as you please, it wasn't meant as a > demeaning > > term. And yes, there is crappy stuff produced by people who are "real" > > programmers (whatever that means). And yes, both groups of people > probably > > never had a course in UI design or DB design - that's the whole point. > > Writing the program is the final stage of a the process and without the > > understanding of the things you mentioned, the result will likely not be > > good, whether it's written by someone who is paid good money to be a > > programmer or by someone who does it for fun. > > Pete > > Molly's Revenge > > > > > > > > > > On Sun, Aug 14, 2011 at 8:06 PM, Judy Perry >wrote: > > > >> Perhaps you'd care to offer an example or three of "hobbyist" (notice > that > >> it is ALWAYS used in a demeaning manner) software done in LC that looks > or > >> behaves any crappier than stuff produced by "real" programmers in *any* > >> language who've obviously never had a course in UI or UX design? > >> > >> Judy > >> "the lowly dumb hobbyist" > >> > >> On Sat, 13 Aug 2011, Pete wrote: > >> > >> > >> Just like recording software, using a programming language without the > >>> required knowledge produces pretty lousy results. > >>> > >> > >> ______________________________**_________________ > >> use-livecode mailing list > >> use-livecode 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://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 bobs at twft.com Mon Aug 15 13:56:36 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 15 Aug 2011 10:56:36 -0700 Subject: [On-Rev] Using Shell to Manipulate SQL In-Reply-To: References: Message-ID: <26AC32E1-5A49-458B-ACAC-4E73DE20C668@twft.com> If you are going to supply the functionality in your application of creating a new schema, you will need to get the user to supply credentials with create privileges for the database. Using root in a shell will not get you around this. Use "CREATE SCHEMA IF NOT EXISTS " and once you have your schema, set your tables up using standard "CREATE TABLE IF NOT EXISTS " calls. If you do not have root access to the database, or a login that has create schema and table permissions, then I am afraid you will be out of luck. If you do have them, then it won't help to use shell over the prescribed method. I have thought a bit about this in the past, because to make a real software installer for software that depends on SQL, where you do not have access or full control of the host server, you are going to have to get the user to supply the credentials. Unfortunately (and thankfully) there is no way around this, whether or not you use shell. Bob On Aug 14, 2011, at 12:52 AM, Andre Garzia wrote: > Andrew, > > This is a quick email typed on a phone on an aiport so forgive me for not > going to deep. > > Basically : don't do it!!!!! > > The dangers are too big. You should avoid using shell() with anything that > comes from user input. > > If the user chooses a username such as: > > " && rm -rf * > > And this, in a very unlucky day, is not detected by your security filters > and this ends up in a shell() call, all your files are gone. > > Shell calls are very powerful and just like uncle ben said: "with great > power comes great GREAT HACKING ENTRY POINTS AND SCRIPT INJECTION ". > > You should only use them with strings that have no part computed from third > parties. > > Cheers > > -- > enviado do meu Nexus S - android is freedom. > http://andregarzia.com :: all we do is code > http://fon.nu :: minimalist url shortening > Em 09/08/2011 04:09, "Andrew Kluthe" escreveu: >> Here is another thing I am wondering about this evening. >> >> I am curious as to how much power the Shell() function in an On-Rev >> configuration is. I'd like to create mySQL databases & users on the fly. >> >> I know the shell() function can run commands for you, but do you think I >> will be able to create mysql databases and users as root? >> >> >> Has anyone tried this? >> >> Thanks, >> >> Andrew >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 bobs at twft.com Mon Aug 15 14:06:10 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 15 Aug 2011 11:06:10 -0700 Subject: What to Do Since FTP No Longer Supported in Mac OSX Lion? In-Reply-To: <4E46B1A5.6060101@fourthworld.com> References: <4E4607E1.1040309@hyperactivesw.com> <4E46B1A5.6060101@fourthworld.com> Message-ID: <6D40D614-7CE6-47C9-8E4E-A17D65B7EB57@twft.com> They do not make the rack mounted server hardware anymore. All client and server software (which is still available) still have a built in FTP server. I thought it very surprising that Apple removed the server daemon from the client! I rather believe it was just the GUI and it can still be enabled via the command line. Bob On Aug 13, 2011, at 10:17 AM, Richard Gaskin wrote: > J. Landman Gay wrote: > >> Having just spend some time implementing FTP uploading in my AirLaunch >> stack, it sounds like it won't work on Lion. > > If I understand this correctly, the only change in Lion is that it no longer provides a GUI for an FTP *server*. Uploading to any other server should still work, yes? > > IIRC Apple no longer makes Xserve anyway, so who needs an OS X FTP server? > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > LiveCode Journal blog: http://LiveCodejournal.com/blog.irv > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Mon Aug 15 14:12:28 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 15 Aug 2011 11:12:28 -0700 Subject: [OT] advice as to whether this is a scam? In-Reply-To: <4E475433.2050903@hyperactivesw.com> References: <4E467ECC.3070401@gmail.com> <4E469A6B.3020900@fourthworld.com> <90BFEB16-D112-44CE-8D24-9D0B73D6215D@sahores-conseil.com> <4E475433.2050903@hyperactivesw.com> Message-ID: Before or after the Javascript "takes advantage of" his virgin operating system? ;-) LOL! Bob On Aug 13, 2011, at 9:50 PM, J. Landman Gay wrote: > Richmond wrote: > >> Should I or shouldn't I? >> Please advise. > > Here's what you do. Fill out the form as completely as you can, providing the email address and contact data for the FBI, Scotland Yard, or any other government police agency. :) > > -- > 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 Mon Aug 15 14:15:52 2011 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Mon, 15 Aug 2011 21:15:52 +0300 Subject: [OT] advice as to whether this is a scam? In-Reply-To: References: <4E467ECC.3070401@gmail.com> <4E469A6B.3020900@fourthworld.com> <90BFEB16-D112-44CE-8D24-9D0B73D6215D@sahores-conseil.com> <4E475433.2050903@hyperactivesw.com> Message-ID: <4E496258.7000104@gmail.com> On 08/15/2011 09:12 PM, Bob Sneidar wrote: > Before or after the Javascript "takes advantage of" his virgin operating system? ;-) LOL! > > Bob > > That's not even funny as I have just spent the last half hour trying to get a certain rubber object over my MacMini . . . :) From bobs at twft.com Mon Aug 15 14:19:24 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 15 Aug 2011 11:19:24 -0700 Subject: Exporting vector images In-Reply-To: <4E495AD7.8060003@gmail.com> References: <4E429571.4070805@gmail.com> <1312994469586-3733514.post@n4.nabble.com> <4E42B997.2070905@gmail.com> <1313208725551-3740872.post@n4.nabble.com> <5503BA54-0AF9-4402-A24D-FD2543B277EC@twft.com> <4E495AD7.8060003@gmail.com> Message-ID: <23435475-4910-4D18-A936-774816316503@twft.com> Short of writing one in C, I am not sure how you are going to do that. Bob On Aug 15, 2011, at 10:43 AM, Richmond Mathewson wrote: > As far as I remember Fontographer (I own the Mac Classic version!!!!!) is quite capable of exporting glyphs as some sort of vector file . . . > > . . . wait a minute while I turn on my Mac . . fire up the Classic environment . . . and so on . . . > > Ar, har, har . . . It can export chars as EPS documents which Inkscape (and, one assumes, Illustrator) ca cope with. > > HOWEVER; I am bu**ered if I am going to have an app with an accompanying directory full of, say, 5,000 EPS files; that is real monkey business. > > What is neede3d is a way to export the contents of a textField as a single EPS/SVG file. > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Aug 15 14:57:24 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Mon, 15 Aug 2011 11:57:24 -0700 Subject: Grabbing the Date and Time From a Time Server on the Internet In-Reply-To: <5EC0DA15-9BE3-41D9-B047-250E2733C630@twft.com> References: <176148149453.20110813111553@ahsoftware.net> <5EC0DA15-9BE3-41D9-B047-250E2733C630@twft.com> Message-ID: Bob, I don't see a "ton of html" at http://tycho.usno.navy.mil/cgi-bin/timer.pl It's just about as simple as it could be presented. It took just a few lines of Livecode to scrape. Determine AM and PM and one could even translate to 24 hour clock. There's about a half second of latency. I just see this html: What time is it?

US Naval Observatory Master Clock Time


Aug. 15, 18:52:50 UTC Universal Time
Aug. 15, 02:52:50 PM EDT Eastern Time
Aug. 15, 01:52:50 PM CDT Central Time
Aug. 15, 12:52:50 PM MDT Mountain Time
Aug. 15, 11:52:50 AM PDT Pacific Time
Aug. 15, 10:52:50 AM AKDT Alaska Time
Aug. 15, 08:52:50 AM HAST Hawaii-Aleutian Time

US Naval Observatory On 15 August 2011 10:25, Bob Sneidar wrote: > This returns a ton of html, from which the date time can be filtered using > "

*", but since it takes about 30 seconds to run, and returns 32 entries, > I am not sure how useful this would for him, if he wanted an exact time > (within a second or two). > > Time servers are NTP:\\ aren't they? Looks like the revURL library does not > support NTP, or not that I can see. Any attempt to use it in a URL returns > empty in it and invalid URL: in the result. > > A quick browse for http based time servers came up dry. > > Bob > > > On Aug 13, 2011, at 11:15 AM, Mark Wieder wrote: > > > Gregory- > > > > Saturday, August 13, 2011, 10:33:29 AM, you wrote: > > > >> Taking another kick at the cat here. I?d like to use something like > > > >> get url (http://[time server address]) > > > > How's this? > > > > http://tycho.usno.navy.mil/cgi-bin/anim > > > > -- > > -Mark Wieder > > mwieder at ahsoftware.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 > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 stephenREVOLUTION2 at barncard.com Mon Aug 15 15:10:27 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Mon, 15 Aug 2011 12:10:27 -0700 Subject: Grabbing the Date and Time From a Time Server on the Internet In-Reply-To: References: <176148149453.20110813111553@ahsoftware.net> <5EC0DA15-9BE3-41D9-B047-250E2733C630@twft.com> Message-ID: it's UDP. One could use sockets in Livecode. Probably pretty easy to make a Time Server LIb here's the poop from the time people http://www.nist.gov/pml/div688/grp40/its.cfm On 15 August 2011 11:57, stephen barncard wrote: > Bob, I don't see a "ton of html" at > http://tycho.usno.navy.mil/cgi-bin/timer.pl > It's just about as simple as it could be presented. It took just a few > lines of Livecode to scrape. Determine AM and PM and one could even > translate to 24 hour clock. There's about a half second of latency. > > I just see this html: > > > > > What time is it? >

US Naval Observatory Master Clock Time

> 
Aug. 15, 18:52:50 UTC Universal Time >
Aug. 15, 02:52:50 PM EDT Eastern Time >
Aug. 15, 01:52:50 PM CDT Central Time >
Aug. 15, 12:52:50 PM MDT Mountain Time >
Aug. 15, 11:52:50 AM PDT Pacific Time >
Aug. 15, 10:52:50 AM AKDT Alaska Time >
Aug. 15, 08:52:50 AM HAST Hawaii-Aleutian Time >

US Naval Observatory > > > > > > On 15 August 2011 10:25, Bob Sneidar wrote: > >> This returns a ton of html, from which the date time can be filtered using >> "

*", but since it takes about 30 seconds to run, and returns 32 entries, >> I am not sure how useful this would for him, if he wanted an exact time >> (within a second or two). >> >> Time servers are NTP:\\ aren't they? Looks like the revURL library does >> not support NTP, or not that I can see. Any attempt to use it in a URL >> returns empty in it and invalid URL: in the result. >> >> A quick browse for http based time servers came up dry. >> >> Bob >> >> >> On Aug 13, 2011, at 11:15 AM, Mark Wieder wrote: >> >> > Gregory- >> > >> > Saturday, August 13, 2011, 10:33:29 AM, you wrote: >> > >> >> Taking another kick at the cat here. I?d like to use something like >> > >> >> get url (http://[time server address]) >> > >> > How's this? >> > >> > http://tycho.usno.navy.mil/cgi-bin/anim >> > >> > -- >> > -Mark Wieder >> > mwieder at ahsoftware.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 >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 > > -- Stephen Barncard San Francisco Ca. USA more about sqb From pmbrig at gmail.com Mon Aug 15 15:15:05 2011 From: pmbrig at gmail.com (Peter M. Brigham, MD) Date: Mon, 15 Aug 2011 15:15:05 -0400 Subject: Grabbing the Date and Time From a Time Server on the Internet In-Reply-To: <5EC0DA15-9BE3-41D9-B047-250E2733C630@twft.com> References: <176148149453.20110813111553@ahsoftware.net> <5EC0DA15-9BE3-41D9-B047-250E2733C630@twft.com> Message-ID: I'll try sending this again, revised (third time -- someone let me know please if it's getting through). It returns the time fast enough (with a speedy connection) to be within a second or so. ------------------ You can fetch the time from the U.S. Naval Observatory atomic clock. This assumes an internet connection, though. If what you want to do is timestamp something, just fetch the "universal time" line (line 6 of the HTML returned): function fetchTime put line 6 of URL "http://tycho.usno.navy.mil/cgi-bin/timer.pl" into t -- returns "
Aug. 15, 19:12:46 UTC" & tab & tab & "Universal Time" replace "
" with empty in t set the itemdelimiter to tab delete item 2 to -1 of t set the itemdelimiter to comma delete word -1 of t put t into ts put the short date into di convert di to dateitems put item 1 of di into tYr put space & tYr after item 1 of t put space & tYr after item 1 of ts replace comma with empty in t replace comma with empty in ts convert ts to seconds put t & cr & ts return t -- if you want "Aug. 15, 19:12:46" or, return ts -- if you want the seconds end fetchTime -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Aug 15, 2011, at 1:25 PM, Bob Sneidar wrote: > This returns a ton of html, from which the date time can be filtered using "

*", but since it takes about 30 seconds to run, and returns 32 entries, I am not sure how useful this would for him, if he wanted an exact time (within a second or two). > > Time servers are NTP:\\ aren't they? Looks like the revURL library does not support NTP, or not that I can see. Any attempt to use it in a URL returns empty in it and invalid URL: in the result. > > A quick browse for http based time servers came up dry. > > Bob > > > On Aug 13, 2011, at 11:15 AM, Mark Wieder wrote: > >> Gregory- >> >> Saturday, August 13, 2011, 10:33:29 AM, you wrote: >> >>> Taking another kick at the cat here. I?d like to use something like >> >>> get url (http://[time server address]) >> >> How's this? >> >> http://tycho.usno.navy.mil/cgi-bin/anim >> >> -- >> -Mark Wieder >> mwieder at ahsoftware.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 > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Aug 15 15:16:52 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Mon, 15 Aug 2011 12:16:52 -0700 Subject: Another Docu question In-Reply-To: References: <374863BD-F724-4C56-B801-08B01D501757@mac.com> Message-ID: make sure Livecode prefs is pointing at the right user folder. On 15 August 2011 10:47, Pete wrote: > Thanks but still getting the same problem. the plugin does work after is > has rebuilt the database but it still rebuilds it every time I start LC. > > I installed the stack in my LC plugins folder > (~/Documents/Livecode/Plugins) > After running it I see the following files: > > - BvG Docu 2.rev > - bvg_docu_2.rev > - a folder named BvG Docu containing 1 file named "BvG Docu 4.6.2.sqlite" > > I tried to get to the Plugin Settings but when I selected the stack, I got > the standard message about there already being a stack with the same name > loaded and form that point on, I was in a never ending loo of creating the > database and getting the same stack loded message, no matter which option I > chose. Weird. > > This is with LC 4.6.2 running on a Mac with OS X 10.6.8. Let me know if > there's anything else I can do to help figure this out - this is a much > better way to view the dictionary! > > Pete > Molly's Revenge > > > > > 2011/8/15 Bj?rnke von Gierke > > > does the docu work? if yes, it should not show that message. if it > doesn't > > work, most likely something got saved weirdly, try to reinstall it. > > > > On 12 Aug 2011, at 19:25, Pete wrote: > > > > > I just downloaded the latest version of bvg Docu. Now every time I > start > > > LC, I get a message that there is no sqlite file available and one is > > > created. The stack is installed in my plugins folder and in the same > > folder > > > I see a folder named "BvG Docu" which contains a file named "BvG Docu > > > 4.6.2.sqlite" (timestamped today). This on a Mac running OS X 10.6.8 > > > > > > Any ideas? > > > > > > Pete > > > Molly's Revenge > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > -- > > Watch live presentations every Saturday: > > http://livecode.tv > > > > Use an alternative Dictionary viewer: > > http://bjoernke.com/bvgdocu/ > > > > Chat with other RunRev developers: > > http://bjoernke.com/chatrev/ > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode 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 > -- Stephen Barncard San Francisco Ca. USA more about sqb From bobs at twft.com Mon Aug 15 15:20:13 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 15 Aug 2011 12:20:13 -0700 Subject: [OT] Internet Censorship In-Reply-To: References: <1312601118358-3722715.post@n4.nabble.com> <014801cc5861$847e3f40$8d7abdc0$@net> <4E45CAED.5050906@fourthworld.com> <1313207201396-3740850.post@n4.nabble.com> <6AF658B4-AD5B-4F12-B2CB-3AA61DBB85FE@jhj.com> <254EEDC2-D715-4427-9862-1379850288BB@gmail.com> Message-ID: All good advice, except I'd like to add a couple often overlooked points. There is a difference between "knowing" and "knowing how to find out". I have IT guys working for me who are constantly asking me questions about how to do things. A simple Google query produces the results they were looking for, at which point they walk out of my office with a sheepish look on their faces. There is also a difference between "knowing" and "knowing how to apply" knowledge. I had an IT guy who had 3 Microsoft certifications. I had to let him go because he could never let go of what he *thought* he knew, and look at the problem intuitively. He was always bogged down in obscure log entries which had nothing to do with the problem at hand. He never to my knowledge solved a single problem by himself. I daresay, I have no real education in what I do, and yet I am good at it (I think you might disagree), because I started with an ability to look at a problem and dissect it, and also an ability to understand complex systems, which I put to great use in the Navy working on Radars. A lot of those skills I honed there crossed over into what I do now. I'd like to provide you with a couple of examples of highly paid programmers putting out crap: Windows ME. Then there is Outlook, which if not connected to an Exchange server will crash to desktop if it receives an email with a confirmation request (the default behavior and yes I know it can be turned off). Honorable mention is ADMT which I could never get to work as advertised, even after following all the advice about registry changes, command line statements to alter the way it is set up to use out of the box etc. It's just crap software produced by a HUGE software corporation after the fact, because when they first wrote AD no one ever thought about what do do when one company merged with another and all the thousands of credentials and profiles needed to be moved to the new companies servers. "Wisdom is the principal thing; therefore get wisdom: and with all thy getting get understanding." Bob On Aug 15, 2011, at 10:08 AM, Pete wrote: > You can take the word hobbyist as you please, it wasn't meant as a demeaning > term. And yes, there is crappy stuff produced by people who are "real" > programmers (whatever that means). And yes, both groups of people probably > never had a course in UI design or DB design - that's the whole point. > Writing the program is the final stage of a the process and without the > understanding of the things you mentioned, the result will likely not be > good, whether it's written by someone who is paid good money to be a > programmer or by someone who does it for fun. > Pete > Molly's Revenge > > > > > On Sun, Aug 14, 2011 at 8:06 PM, Judy Perry wrote: > >> Perhaps you'd care to offer an example or three of "hobbyist" (notice that >> it is ALWAYS used in a demeaning manner) software done in LC that looks or >> behaves any crappier than stuff produced by "real" programmers in *any* >> language who've obviously never had a course in UI or UX design? >> >> Judy >> "the lowly dumb hobbyist" >> >> On Sat, 13 Aug 2011, Pete wrote: >> >> >> Just like recording software, using a programming language without the >>> required knowledge produces pretty lousy results. >>> >> >> ______________________________**_________________ >> use-livecode mailing list >> use-livecode 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 bobs at twft.com Mon Aug 15 15:23:40 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 15 Aug 2011 12:23:40 -0700 Subject: Grabbing the Date and Time From a Time Server on the Internet In-Reply-To: References: <176148149453.20110813111553@ahsoftware.net> <5EC0DA15-9BE3-41D9-B047-250E2733C630@twft.com> Message-ID: <60ADB695-D92C-4D69-876F-FB5FB049EA9A@twft.com> Oh hey there you go! But that was not the URL originally posted. Bob On Aug 15, 2011, at 11:57 AM, stephen barncard wrote: > Bob, I don't see a "ton of html" at > http://tycho.usno.navy.mil/cgi-bin/timer.pl > It's just about as simple as it could be presented. It took just a few lines > of Livecode to scrape. Determine AM and PM and one could even translate to > 24 hour clock. There's about a half second of latency. > > I just see this html: > > > > > What time is it? >

US Naval Observatory Master Clock Time

> 
Aug. 15, 18:52:50 UTC Universal Time >
Aug. 15, 02:52:50 PM EDT Eastern Time >
Aug. 15, 01:52:50 PM CDT Central Time >
Aug. 15, 12:52:50 PM MDT Mountain Time >
Aug. 15, 11:52:50 AM PDT Pacific Time >
Aug. 15, 10:52:50 AM AKDT Alaska Time >
Aug. 15, 08:52:50 AM HAST Hawaii-Aleutian Time >

US Naval Observatory > > > > > > On 15 August 2011 10:25, Bob Sneidar wrote: > >> This returns a ton of html, from which the date time can be filtered using >> "

*", but since it takes about 30 seconds to run, and returns 32 entries, >> I am not sure how useful this would for him, if he wanted an exact time >> (within a second or two). >> >> Time servers are NTP:\\ aren't they? Looks like the revURL library does not >> support NTP, or not that I can see. Any attempt to use it in a URL returns >> empty in it and invalid URL: in the result. >> >> A quick browse for http based time servers came up dry. >> >> Bob >> >> >> On Aug 13, 2011, at 11:15 AM, Mark Wieder wrote: >> >>> Gregory- >>> >>> Saturday, August 13, 2011, 10:33:29 AM, you wrote: >>> >>>> Taking another kick at the cat here. I?d like to use something like >>> >>>> get url (http://[time server address]) >>> >>> How's this? >>> >>> http://tycho.usno.navy.mil/cgi-bin/anim >>> >>> -- >>> -Mark Wieder >>> mwieder at ahsoftware.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 >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Mon Aug 15 15:28:13 2011 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Mon, 15 Aug 2011 22:28:13 +0300 Subject: Exporting vector images In-Reply-To: <23435475-4910-4D18-A936-774816316503@twft.com> References: <4E429571.4070805@gmail.com> <1312994469586-3733514.post@n4.nabble.com> <4E42B997.2070905@gmail.com> <1313208725551-3740872.post@n4.nabble.com> <5503BA54-0AF9-4402-A24D-FD2543B277EC@twft.com> <4E495AD7.8060003@gmail.com> <23435475-4910-4D18-A936-774816316503@twft.com> Message-ID: <4E49734D.2030504@gmail.com> On 08/15/2011 09:19 PM, Bob Sneidar wrote: > Short of writing one in C, I am not sure how you are going to do that. > > Bob > > > On Aug 15, 2011, at 10:43 AM, Richmond Mathewson wrote: > >> As far as I remember Fontographer (I own the Mac Classic version!!!!!) is quite capable of exporting glyphs as some sort of vector file . . . >> >> . . . wait a minute while I turn on my Mac . . fire up the Classic environment . . . and so on . . . >> >> Ar, har, har . . . It can export chars as EPS documents which Inkscape (and, one assumes, Illustrator) ca cope with. Subsequently found that Inkscape cannot open the EPS files exported by Fontographer 4.7 . . bu**er! Fontlab Studio can, similarly, export EPS files; but as Inkscape doesn't 'DO' EPS files that's not much cop. Of course RunRev 2.2.1 has an import EPS facility, which is, mysteriously enough, inaccessible. >> >> HOWEVER; I am bu**ered if I am going to have an app with an accompanying directory full of, say, 5,000 EPS files; that is real monkey business. >> >> What is neede3d is a way to export the contents of a textField as a single EPS/SVG file. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 bobs at twft.com Mon Aug 15 15:31:25 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 15 Aug 2011 12:31:25 -0700 Subject: Grabbing the Date and Time From a Time Server on the Internet In-Reply-To: References: <176148149453.20110813111553@ahsoftware.net> <5EC0DA15-9BE3-41D9-B047-250E2733C630@twft.com> Message-ID: Looks like only the time zones applicable to the US, however a simple table of time zones and their +/- relation to Universal Time could easily make this into a capable International Time function, once you knew the user's current time zone. This interests me, because while I *could* depend on the system time I suppose, to datetimestamp entries in an SQL table, the user could simply change the system time and date manually to defeat what I was trying to do. Using Universal time gotten just before the update or insert statement would prevent tampering. Bob On Aug 15, 2011, at 11:57 AM, stephen barncard wrote: > Bob, I don't see a "ton of html" at > http://tycho.usno.navy.mil/cgi-bin/timer.pl > It's just about as simple as it could be presented. It took just a few lines > of Livecode to scrape. Determine AM and PM and one could even translate to > 24 hour clock. There's about a half second of latency. > > I just see this html: > > > > > What time is it? >

US Naval Observatory Master Clock Time

> 
Aug. 15, 18:52:50 UTC Universal Time >
Aug. 15, 02:52:50 PM EDT Eastern Time >
Aug. 15, 01:52:50 PM CDT Central Time >
Aug. 15, 12:52:50 PM MDT Mountain Time >
Aug. 15, 11:52:50 AM PDT Pacific Time >
Aug. 15, 10:52:50 AM AKDT Alaska Time >
Aug. 15, 08:52:50 AM HAST Hawaii-Aleutian Time >

US Naval Observatory > > From bobs at twft.com Mon Aug 15 15:32:22 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 15 Aug 2011 12:32:22 -0700 Subject: Grabbing the Date and Time From a Time Server on the Internet In-Reply-To: References: <176148149453.20110813111553@ahsoftware.net> <5EC0DA15-9BE3-41D9-B047-250E2733C630@twft.com> Message-ID: <348A0365-F4B9-4D1E-835B-1218116DBE88@twft.com> Beat me to the punch! Bob On Aug 15, 2011, at 12:15 PM, Peter M. Brigham, MD wrote: > I'll try sending this again, revised (third time -- someone let me know please if it's getting through). It returns the time fast enough (with a speedy connection) to be within a second or so. From bobs at twft.com Mon Aug 15 15:38:09 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 15 Aug 2011 12:38:09 -0700 Subject: Exporting vector images In-Reply-To: <4E49734D.2030504@gmail.com> References: <4E429571.4070805@gmail.com> <1312994469586-3733514.post@n4.nabble.com> <4E42B997.2070905@gmail.com> <1313208725551-3740872.post@n4.nabble.com> <5503BA54-0AF9-4402-A24D-FD2543B277EC@twft.com> <4E495AD7.8060003@gmail.com> <23435475-4910-4D18-A936-774816316503@twft.com> <4E49734D.2030504@gmail.com> Message-ID: <0481A4A3-3926-479C-89FB-0D462DCC8AC4@twft.com> I am going to go out on a limb here and say that RunRev was approached by Adobe and asked to "pony up" some exorbitant sum in order to continue to work with EPS, which offer was refused. But I am only surmising, as removing working functionality from an application is not typically something anyone would do without being forced to in some way. It interests me because I would like in an app I am developing to be able to import vector art of building floor plans, and then provide an interface to the user to create "hot spots" that when clicked on ran off and did things in Livecode. But that functionality is waaaay down the road for me at this point. Bob On Aug 15, 2011, at 12:28 PM, Richmond Mathewson wrote: > Of course RunRev 2.2.1 has an import EPS facility, which is, mysteriously enough, inaccessible. From richmondmathewson at gmail.com Mon Aug 15 15:45:02 2011 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Mon, 15 Aug 2011 22:45:02 +0300 Subject: Exporting vector images In-Reply-To: <0481A4A3-3926-479C-89FB-0D462DCC8AC4@twft.com> References: <4E429571.4070805@gmail.com> <1312994469586-3733514.post@n4.nabble.com> <4E42B997.2070905@gmail.com> <1313208725551-3740872.post@n4.nabble.com> <5503BA54-0AF9-4402-A24D-FD2543B277EC@twft.com> <4E495AD7.8060003@gmail.com> <23435475-4910-4D18-A936-774816316503@twft.com> <4E49734D.2030504@gmail.com> <0481A4A3-3926-479C-89FB-0D462DCC8AC4@twft.com> Message-ID: <4E49773E.2030508@gmail.com> On 08/15/2011 10:38 PM, Bob Sneidar wrote: > I am going to go out on a limb here and say that RunRev was approached by Adobe and asked to "pony up" some exorbitant sum in order to continue to work with EPS, which offer was refused. But I am only surmising, as removing working functionality from an application is not typically something anyone would do without being forced to in some way. > > It interests me because I would like in an app I am developing to be able to import vector art of building floor plans, and then provide an interface to the user to create "hot spots" that when clicked on ran off and did things in Livecode. But that functionality is waaaay down the road for me at this point. > > Bob > > > On Aug 15, 2011, at 12:28 PM, Richmond Mathewson wrote: > >> Of course RunRev 2.2.1 has an import EPS facility, which is, mysteriously enough, inaccessible. I have been trying EPS imports with Metacard; right back from the newest version to Mac Classic 2.5 and everytime this crashes the app; so, obviously was causing lots of trouble. > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Aug 15 15:51:03 2011 From: revolution at derbrill.de (Malte Brill) Date: Mon, 15 Aug 2011 21:51:03 +0200 Subject: Unicode woes References: <3938B7AB-05B5-49EB-A720-79D4C1B4BCD8@derbrill.de> Message-ID: <90438D36-E417-483F-9412-8367F2094343@derbrill.de> Hey Richmond, maybe these might come in handy: setprop cUTF8Text pUTF8String if word 1 of the name of the target<>"field" and word 1 of the name of the target<>"button" then if "dev" is in the environment then throw "cUTF8Text: Target is not a field or Button" end if exit cUTF8Text end if if word 1 of the name of the target = "field" then set the unicodetext of the target to uniencode(pUTF8String,"UTF8") else set the text of the target to uniencode(pUTF8String,"UTF8") set the textFont of the target to ",UNICODE" end if end cUTF8Text getprop cUTF8Text if word 1 of the name of the target<>"field" and word 1 of the name of the target<>"button" then if "dev" is in the environment then throw "cUTF8Text: Target is not a field or button" end if exit cUTF8Text end if if word 1 of the name of the target="field" then return unidecode(the unicodetext of the target,"UTF8") else if ",UNICODE" is in the textfont of the target then return unidecode(the text of the target,"UTF8") end if end if end cUTF8Text Keep them at stack level or in a library stack. Use them the following way: put the cUTF8Text of field "ContainsMixedChars" into tUTF8 --> Now holds a correctly UTF8 encoded string --> UTF8 is double byte only when needed and things like the itemdel --> do work as expected on UTF8 text put "aoi" after tUTF8 set the cUTF8Text of field "ContainsMixedChars" to tUTF8 I have taken these scripts from the unicode lib that I am still trying to set up. If there is any interested, I'll upload it to revOnline and announce it on the list. Cheers, Malte From bobs at twft.com Mon Aug 15 15:54:16 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 15 Aug 2011 12:54:16 -0700 Subject: Grabbing the Date and Time From a Time Server on the Internet In-Reply-To: References: <176148149453.20110813111553@ahsoftware.net> <5EC0DA15-9BE3-41D9-B047-250E2733C630@twft.com> Message-ID: Maybe a little more concise: function realTime theFormat breakpoint put "http://tycho.usno.navy.mil/cgi-bin/timer.pl" into theURL get url theURL put it into theResult filter theResult with "
*UTC*" replace "
" with empty in theResult put word 1 to 3 of theResult into theResult if theFormat is "seconds" then put word -1 of theResult into theResult convert theResult to seconds end if -- add more conversions here return theResult end realTime On Aug 15, 2011, at 12:15 PM, Peter M. Brigham, MD wrote: > I'll try sending this again, revised (third time -- someone let me know please if it's getting through). It returns the time fast enough (with a speedy connection) to be within a second or so. > > ------------------ > > You can fetch the time from the U.S. Naval Observatory atomic clock. This assumes an internet connection, though. If what you want to do is timestamp something, just fetch the "universal time" line (line 6 of the HTML returned): > > function fetchTime > put line 6 of URL "http://tycho.usno.navy.mil/cgi-bin/timer.pl" into t > -- returns "
Aug. 15, 19:12:46 UTC" & tab & tab & "Universal Time" > replace "
" with empty in t > set the itemdelimiter to tab > delete item 2 to -1 of t > set the itemdelimiter to comma > delete word -1 of t > put t into ts > put the short date into di > convert di to dateitems > put item 1 of di into tYr > put space & tYr after item 1 of t > put space & tYr after item 1 of ts > replace comma with empty in t > replace comma with empty in ts > convert ts to seconds > put t & cr & ts > return t -- if you want "Aug. 15, 19:12:46" or, > return ts -- if you want the seconds > end fetchTime > > -- Peter > > Peter M. Brigham > pmbrig at gmail.com > http://home.comcast.net/~pmbrig > On Aug 15, 2011, at 1:25 PM, Bob Sneidar wrote: > >> This returns a ton of html, from which the date time can be filtered using "

*", but since it takes about 30 seconds to run, and returns 32 entries, I am not sure how useful this would for him, if he wanted an exact time (within a second or two). >> >> Time servers are NTP:\\ aren't they? Looks like the revURL library does not support NTP, or not that I can see. Any attempt to use it in a URL returns empty in it and invalid URL: in the result. >> >> A quick browse for http based time servers came up dry. >> >> Bob >> >> >> On Aug 13, 2011, at 11:15 AM, Mark Wieder wrote: >> >>> Gregory- >>> >>> Saturday, August 13, 2011, 10:33:29 AM, you wrote: >>> >>>> Taking another kick at the cat here. I?d like to use something like >>> >>>> get url (http://[time server address]) >>> >>> How's this? >>> >>> http://tycho.usno.navy.mil/cgi-bin/anim >>> >>> -- >>> -Mark Wieder >>> mwieder at ahsoftware.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 >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 dixonja at hotmail.co.uk Mon Aug 15 15:57:29 2011 From: dixonja at hotmail.co.uk (John Dixon) Date: Mon, 15 Aug 2011 20:57:29 +0100 Subject: Exporting vector images In-Reply-To: <0481A4A3-3926-479C-89FB-0D462DCC8AC4@twft.com> References: <4E429571.4070805@gmail.com>, <1312994469586-3733514.post@n4.nabble.com>, <4E42B997.2070905@gmail.com>, <1313208725551-3740872.post@n4.nabble.com>, <5503BA54-0AF9-4402-A24D-FD2543B277EC@twft.com>, <4E495AD7.8060003@gmail.com>, <23435475-4910-4D18-A936-774816316503@twft.com>, <4E49734D.2030504@gmail.com>, <0481A4A3-3926-479C-89FB-0D462DCC8AC4@twft.com> Message-ID: > From: bobs at twft.com > I am going to go out on a limb here and say that RunRev was approached by Adobe and asked to "pony up" some exorbitant sum in order to continue to work with EPS, which offer was refused. But I am only surmising, as removing working functionality from an application is not typically something anyone would do without being forced to in some way. > Bob If an American was condemned to confine his activity to his own affairs, he would be robbed of one half of his existence. ~Alexis de Tocqueville, 1835 From richmondmathewson at gmail.com Mon Aug 15 16:04:29 2011 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Mon, 15 Aug 2011 23:04:29 +0300 Subject: Exporting vector images In-Reply-To: <0481A4A3-3926-479C-89FB-0D462DCC8AC4@twft.com> References: <4E429571.4070805@gmail.com> <1312994469586-3733514.post@n4.nabble.com> <4E42B997.2070905@gmail.com> <1313208725551-3740872.post@n4.nabble.com> <5503BA54-0AF9-4402-A24D-FD2543B277EC@twft.com> <4E495AD7.8060003@gmail.com> <23435475-4910-4D18-A936-774816316503@twft.com> <4E49734D.2030504@gmail.com> <0481A4A3-3926-479C-89FB-0D462DCC8AC4@twft.com> Message-ID: <4E497BCD.4000600@gmail.com> If you are feeling really warped you can download the Mac version of Metecard 2.2.5 from Tucows: this requires Mac OS 9 or less. This will allow you to import EPS images; they will be invisible in the MC stack. Save the stack and open in Livecode; you can then access the EPS file; although all its pictorial data seems to have gone west (well, at least with font chars exported from Fontographer 4.7 Mac Classic). Why am I bothering to write this; only because I've been daft enough to try it . . . :) From bobs at twft.com Mon Aug 15 16:13:56 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 15 Aug 2011 13:13:56 -0700 Subject: Exporting vector images In-Reply-To: References: <4E429571.4070805@gmail.com>, <1312994469586-3733514.post@n4.nabble.com>, <4E42B997.2070905@gmail.com>, <1313208725551-3740872.post@n4.nabble.com>, <5503BA54-0AF9-4402-A24D-FD2543B277EC@twft.com>, <4E495AD7.8060003@gmail.com>, <23435475-4910-4D18-A936-774816316503@twft.com>, <4E49734D.2030504@gmail.com>, <0481A4A3-3926-479C-89FB-0D462DCC8AC4@twft.com> Message-ID: <1215B1DB-99BD-4BC3-8B4C-589482A315C5@twft.com> And the only posters to this list would be from the UK, Asia, South America or Africa (did I miss anyone?) :-) Bob On Aug 15, 2011, at 12:57 PM, John Dixon wrote: > If an American was condemned to confine his activity to his own affairs, he would be robbed of one half of his existence. ~Alexis de Tocqueville, 1835 From jacque at hyperactivesw.com Mon Aug 15 16:14:57 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 15 Aug 2011 15:14:57 -0500 Subject: Exporting vector images In-Reply-To: <4E497BCD.4000600@gmail.com> References: <4E429571.4070805@gmail.com> <1312994469586-3733514.post@n4.nabble.com> <4E42B997.2070905@gmail.com> <1313208725551-3740872.post@n4.nabble.com> <5503BA54-0AF9-4402-A24D-FD2543B277EC@twft.com> <4E495AD7.8060003@gmail.com> <23435475-4910-4D18-A936-774816316503@twft.com> <4E49734D.2030504@gmail.com> <0481A4A3-3926-479C-89FB-0D462DCC8AC4@twft.com> <4E497BCD.4000600@gmail.com> Message-ID: <4E497E41.3000706@hyperactivesw.com> On 8/15/11 3:04 PM, Richmond Mathewson wrote: > If you are feeling really warped you can download the Mac version of > Metecard 2.2.5 from Tucows: this requires Mac OS 9 or less. > > This will allow you to import EPS images; they will be invisible in the > MC stack. > > Save the stack and open in Livecode; you can then access the EPS file; > although all its pictorial data seems to have gone west (well, at least > with font chars exported from Fontographer 4.7 Mac Classic). > > Why am I bothering to write this; only because I've been daft enough to > try it . . . :) If I remember right, EPS was intended for 'nix only, and only in MetaCard, and only for very early versions of both. I didn't know it ever worked at all on Macs. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From richmondmathewson at gmail.com Mon Aug 15 16:21:44 2011 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Mon, 15 Aug 2011 23:21:44 +0300 Subject: Exporting vector images In-Reply-To: <4E497E41.3000706@hyperactivesw.com> References: <4E429571.4070805@gmail.com> <1312994469586-3733514.post@n4.nabble.com> <4E42B997.2070905@gmail.com> <1313208725551-3740872.post@n4.nabble.com> <5503BA54-0AF9-4402-A24D-FD2543B277EC@twft.com> <4E495AD7.8060003@gmail.com> <23435475-4910-4D18-A936-774816316503@twft.com> <4E49734D.2030504@gmail.com> <0481A4A3-3926-479C-89FB-0D462DCC8AC4@twft.com> <4E497BCD.4000600@gmail.com> <4E497E41.3000706@hyperactivesw.com> Message-ID: <4E497FD8.8030302@gmail.com> On 08/15/2011 11:14 PM, J. Landman Gay wrote: > On 8/15/11 3:04 PM, Richmond Mathewson wrote: >> If you are feeling really warped you can download the Mac version of >> Metecard 2.2.5 from Tucows: this requires Mac OS 9 or less. >> >> This will allow you to import EPS images; they will be invisible in the >> MC stack. >> >> Save the stack and open in Livecode; you can then access the EPS file; >> although all its pictorial data seems to have gone west (well, at least >> with font chars exported from Fontographer 4.7 Mac Classic). >> >> Why am I bothering to write this; only because I've been daft enough to >> try it . . . :) > > If I remember right, EPS was intended for 'nix only, and only in > MetaCard, and only for very early versions of both. I didn't know it > ever worked at all on Macs. > Why, exactly, was that possibility dropped? From jacque at hyperactivesw.com Mon Aug 15 16:34:23 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 15 Aug 2011 15:34:23 -0500 Subject: Exporting vector images In-Reply-To: <4E497FD8.8030302@gmail.com> References: <4E429571.4070805@gmail.com> <1312994469586-3733514.post@n4.nabble.com> <4E42B997.2070905@gmail.com> <1313208725551-3740872.post@n4.nabble.com> <5503BA54-0AF9-4402-A24D-FD2543B277EC@twft.com> <4E495AD7.8060003@gmail.com> <23435475-4910-4D18-A936-774816316503@twft.com> <4E49734D.2030504@gmail.com> <0481A4A3-3926-479C-89FB-0D462DCC8AC4@twft.com> <4E497BCD.4000600@gmail.com> <4E497E41.3000706@hyperactivesw.com> <4E497FD8.8030302@gmail.com> Message-ID: <4E4982CF.4040803@hyperactivesw.com> On 8/15/11 3:21 PM, Richmond Mathewson wrote: > On 08/15/2011 11:14 PM, J. Landman Gay wrote: >> On 8/15/11 3:04 PM, Richmond Mathewson wrote: >>> If you are feeling really warped you can download the Mac version of >>> Metecard 2.2.5 from Tucows: this requires Mac OS 9 or less. >>> >>> This will allow you to import EPS images; they will be invisible in the >>> MC stack. >>> >>> Save the stack and open in Livecode; you can then access the EPS file; >>> although all its pictorial data seems to have gone west (well, at least >>> with font chars exported from Fontographer 4.7 Mac Classic). >>> >>> Why am I bothering to write this; only because I've been daft enough to >>> try it . . . :) >> >> If I remember right, EPS was intended for 'nix only, and only in >> MetaCard, and only for very early versions of both. I didn't know it >> ever worked at all on Macs. >> > > Why, exactly, was that possibility dropped? Don't know, but I think it stopped before RR got the engine. Probably it was too hard to maintain cross-platform. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From richmondmathewson at gmail.com Mon Aug 15 16:39:26 2011 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Mon, 15 Aug 2011 23:39:26 +0300 Subject: Exporting vector images In-Reply-To: <4E4982CF.4040803@hyperactivesw.com> References: <4E429571.4070805@gmail.com> <1312994469586-3733514.post@n4.nabble.com> <4E42B997.2070905@gmail.com> <1313208725551-3740872.post@n4.nabble.com> <5503BA54-0AF9-4402-A24D-FD2543B277EC@twft.com> <4E495AD7.8060003@gmail.com> <23435475-4910-4D18-A936-774816316503@twft.com> <4E49734D.2030504@gmail.com> <0481A4A3-3926-479C-89FB-0D462DCC8AC4@twft.com> <4E497BCD.4000600@gmail.com> <4E497E41.3000706@hyperactivesw.com> <4E497FD8.8030302@gmail.com> <4E4982CF.4040803@hyperactivesw.com> Message-ID: <4E4983FE.5020703@gmail.com> On 08/15/2011 11:34 PM, J. Landman Gay wrote: > On 8/15/11 3:21 PM, Richmond Mathewson wrote: >> On 08/15/2011 11:14 PM, J. Landman Gay wrote: >>> On 8/15/11 3:04 PM, Richmond Mathewson wrote: >>>> If you are feeling really warped you can download the Mac version of >>>> Metecard 2.2.5 from Tucows: this requires Mac OS 9 or less. >>>> >>>> This will allow you to import EPS images; they will be invisible in >>>> the >>>> MC stack. >>>> >>>> Save the stack and open in Livecode; you can then access the EPS file; >>>> although all its pictorial data seems to have gone west (well, at >>>> least >>>> with font chars exported from Fontographer 4.7 Mac Classic). >>>> >>>> Why am I bothering to write this; only because I've been daft >>>> enough to >>>> try it . . . :) >>> >>> If I remember right, EPS was intended for 'nix only, and only in >>> MetaCard, and only for very early versions of both. I didn't know it >>> ever worked at all on Macs. >>> >> >> Why, exactly, was that possibility dropped? > > Don't know, but I think it stopped before RR got the engine. Probably > it was too hard to maintain cross-platform. > Well . . . there are "residues" in Mac Classic versions. From warren at warrensweb.us Mon Aug 15 16:46:23 2011 From: warren at warrensweb.us (Warren Samples) Date: Mon, 15 Aug 2011 15:46:23 -0500 Subject: Grabbing the Date and Time From a Time Server on the Internet In-Reply-To: References: Message-ID: <1431779.dZIqPm0Sqb@suse> On Monday, August 15, 2011 12:31:25 PM Bob Sneidar wrote: > This interests me, because while I could depend on the system time I suppose, to datetimestamp entries in an SQL tab But wouldn't it be simpler, and smarter, to let the db create and store store its own timestamp as the insert is made? Input from the user would be unnecessary and even irrelevant. http://dev.mysql.com/doc/refman/5.0/en/timestamp.html Warren From jacque at hyperactivesw.com Mon Aug 15 16:48:48 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 15 Aug 2011 15:48:48 -0500 Subject: Exporting vector images In-Reply-To: <4E4983FE.5020703@gmail.com> References: <4E429571.4070805@gmail.com> <1312994469586-3733514.post@n4.nabble.com> <4E42B997.2070905@gmail.com> <1313208725551-3740872.post@n4.nabble.com> <5503BA54-0AF9-4402-A24D-FD2543B277EC@twft.com> <4E495AD7.8060003@gmail.com> <23435475-4910-4D18-A936-774816316503@twft.com> <4E49734D.2030504@gmail.com> <0481A4A3-3926-479C-89FB-0D462DCC8AC4@twft.com> <4E497BCD.4000600@gmail.com> <4E497E41.3000706@hyperactivesw.com> <4E497FD8.8030302@gmail.com> <4E4982CF.4040803@hyperactivesw.com> <4E4983FE.5020703@gmail.com> Message-ID: <4E498630.50906@hyperactivesw.com> On 8/15/11 3:39 PM, Richmond Mathewson wrote: >>>> If I remember right, EPS was intended for 'nix only, and only in >>>> MetaCard, and only for very early versions of both. I didn't know it >>>> ever worked at all on Macs. >>>> >>> >>> Why, exactly, was that possibility dropped? >> >> Don't know, but I think it stopped before RR got the engine. Probably >> it was too hard to maintain cross-platform. >> > > Well . . . there are "residues" in Mac Classic versions. I just did a quick scan of the (really old) MC docs. Apparently EPS was an object type, just like a button or field. It had properties, and it received system messages. There is also some indication that it only worked briefly, since one entry mentions it is disfunctional in most MC engines due to issues with display postscript. There is also a reference to X Servers, which indicates it was intended only for unix. Back then that was the only platform that had postscript built in. That was, what, 12 years ago? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobs at twft.com Mon Aug 15 16:50:53 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 15 Aug 2011 13:50:53 -0700 Subject: Exporting vector images In-Reply-To: <4E4983FE.5020703@gmail.com> References: <4E429571.4070805@gmail.com> <1312994469586-3733514.post@n4.nabble.com> <4E42B997.2070905@gmail.com> <1313208725551-3740872.post@n4.nabble.com> <5503BA54-0AF9-4402-A24D-FD2543B277EC@twft.com> <4E495AD7.8060003@gmail.com> <23435475-4910-4D18-A936-774816316503@twft.com> <4E49734D.2030504@gmail.com> <0481A4A3-3926-479C-89FB-0D462DCC8AC4@twft.com> <4E497BCD.4000600@gmail.com> <4E497E41.3000706@hyperactivesw.com> <4E497FD8.8030302@gmail.com> <4E4982CF.4040803@hyperactivesw.com> <4E4983FE.5020703@gmail.com> Message-ID: <9C099686-0918-4FB5-AC1B-D63A5EF409F8@twft.com> Richmond, have a look at this: http://www.stone.com/PStill/PStill.html They have a Windows and a linux version as well I think, although it may be someone else who distributes it. I saw the link for how a developer can use their API to include functionality in their application. This combined with the Livecode API for creating your own externals might actually produce a working external as a Livecode plugin. I know nothing about C development, but it looks like a fairly easy thing to do, and RunRev may even consider some kind of license agreement with the developers to use their engine for a future feature enhancement. Bob On Aug 15, 2011, at 1:39 PM, Richmond Mathewson wrote: > On 08/15/2011 11:34 PM, J. Landman Gay wrote: >> On 8/15/11 3:21 PM, Richmond Mathewson wrote: >>> On 08/15/2011 11:14 PM, J. Landman Gay wrote: >>>> On 8/15/11 3:04 PM, Richmond Mathewson wrote: >>>>> If you are feeling really warped you can download the Mac version of >>>>> Metecard 2.2.5 from Tucows: this requires Mac OS 9 or less. >>>>> >>>>> This will allow you to import EPS images; they will be invisible in the >>>>> MC stack. >>>>> >>>>> Save the stack and open in Livecode; you can then access the EPS file; >>>>> although all its pictorial data seems to have gone west (well, at least >>>>> with font chars exported from Fontographer 4.7 Mac Classic). >>>>> >>>>> Why am I bothering to write this; only because I've been daft enough to >>>>> try it . . . :) >>>> >>>> If I remember right, EPS was intended for 'nix only, and only in >>>> MetaCard, and only for very early versions of both. I didn't know it >>>> ever worked at all on Macs. >>>> >>> >>> Why, exactly, was that possibility dropped? >> >> Don't know, but I think it stopped before RR got the engine. Probably it was too hard to maintain cross-platform. >> > > Well . . . there are "residues" in Mac Classic versions. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Mon Aug 15 17:04:31 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 15 Aug 2011 14:04:31 -0700 Subject: Grabbing the Date and Time From a Time Server on the Internet In-Reply-To: <1431779.dZIqPm0Sqb@suse> References: <1431779.dZIqPm0Sqb@suse> Message-ID: I suppose I could do that and then do a conversion coming and going. Bob On Aug 15, 2011, at 1:46 PM, Warren Samples wrote: > On Monday, August 15, 2011 12:31:25 PM Bob Sneidar wrote: >> This interests me, because while I could depend on the system time I suppose, to datetimestamp entries in an SQL tab > > But wouldn't it be simpler, and smarter, to let the db create and store store its own timestamp as the insert is made? Input from the user would be unnecessary > and even irrelevant. > > http://dev.mysql.com/doc/refman/5.0/en/timestamp.html > > > Warren > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Mon Aug 15 17:14:47 2011 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Tue, 16 Aug 2011 00:14:47 +0300 Subject: Exporting vector images In-Reply-To: <1313208725551-3740872.post@n4.nabble.com> References: <4E429571.4070805@gmail.com> <1312994469586-3733514.post@n4.nabble.com> <4E42B997.2070905@gmail.com> <1313208725551-3740872.post@n4.nabble.com> Message-ID: <4E498C47.7010808@gmail.com> If I either type or copy/paste some Unicode text into Inkscape it can pump out a vector image of the text "there-and-then". As Inkscape is Open Source, presumably, those who know what they are doing (and I don't) can pick up the vectorisation code from Inkscape's source code and, possibly, integrate it into a Livecode external (or, even more fun, roll it into Metacard)? http://inkscape.org/download/?lang=en From richmondmathewson at gmail.com Mon Aug 15 17:17:04 2011 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Tue, 16 Aug 2011 00:17:04 +0300 Subject: Exporting vector images In-Reply-To: <1313208725551-3740872.post@n4.nabble.com> References: <4E429571.4070805@gmail.com> <1312994469586-3733514.post@n4.nabble.com> <4E42B997.2070905@gmail.com> <1313208725551-3740872.post@n4.nabble.com> Message-ID: <4E498CD0.2050009@gmail.com> Copy/Pasting Unicode text into Open Office Draw or Office Libre Draw allows the textbox to be exported as either EPS or SVG. All of these observations are really tangential as one cannot EXPORT text as a vector image directly from Livecode. From gregory.lypny at videotron.ca Mon Aug 15 17:28:07 2011 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Mon, 15 Aug 2011 17:28:07 -0400 Subject: Grabbing the Date and Time From a Time Server on the Internet In-Reply-To: References: Message-ID: Thanks for this, Bob. I did some more poking around myself and this seems to work. Not too difficult remove the HTML. on mouseUp put url ("http://tycho.usno.navy.mil/cgi-bin/timer.pl") end mouseUp On Mon, Aug 15, 2011, at 3:45 PM, use-livecode-request at lists.runrev.com wrote: > Message: 3 > Date: Mon, 15 Aug 2011 10:25:06 -0700 > From: Bob Sneidar > To: How to use LiveCode > Subject: Re: Grabbing the Date and Time From a Time Server on the > Internet > Message-ID: <5EC0DA15-9BE3-41D9-B047-250E2733C630 at twft.com> > Content-Type: text/plain; charset=iso-8859-1 > > This returns a ton of html, from which the date time can be filtered using "

*", but since it takes about 30 seconds to run, and returns 32 entries, I am not sure how useful this would for him, if he wanted an exact time (within a second or two). > > Time servers are NTP:\\ aren't they? Looks like the revURL library does not support NTP, or not that I can see. Any attempt to use it in a URL returns empty in it and invalid URL: in the result. > > A quick browse for http based time servers came up dry. > > Bob From bill at bluewatermaritime.com Mon Aug 15 17:29:12 2011 From: bill at bluewatermaritime.com (william humphrey) Date: Mon, 15 Aug 2011 17:29:12 -0400 Subject: [OT] Blasted Flash In-Reply-To: <3878B56E-2D95-49C4-AD37-66B9A7D18989@twft.com> References: <4E43DA03.7000503@gmail.com> <3DBE4835-F980-488A-9744-40F202755D17@verizon.net> <3878B56E-2D95-49C4-AD37-66B9A7D18989@twft.com> Message-ID: There are no plot surprises in Planet of the Apes movie to give away. It is exactly a perfect prequel to the original Charlton Heston movie. I liked Cowboys and Aliens better. From gregory.lypny at videotron.ca Mon Aug 15 17:29:31 2011 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Mon, 15 Aug 2011 17:29:31 -0400 Subject: Grabbing the Date and Time From a Time Server on the Internet In-Reply-To: References: Message-ID: <4762C3F3-1828-455C-9FB5-9F436349FC6F@videotron.ca> Thanks Stephen, I too came across this one today. Looks pretty easy to parse. Gregory On Mon, Aug 15, 2011, at 3:45 PM, use-livecode-request at lists.runrev.com wrote: > Message: 14 > Date: Mon, 15 Aug 2011 11:57:24 -0700 > From: stephen barncard > To: How to use LiveCode > Subject: Re: Grabbing the Date and Time From a Time Server on the > Internet > Message-ID: > > Content-Type: text/plain; charset=UTF-8 > > Bob, I don't see a "ton of html" at > http://tycho.usno.navy.mil/cgi-bin/timer.pl > It's just about as simple as it could be presented. It took just a few lines > of Livecode to scrape. Determine AM and PM and one could even translate to > 24 hour clock. There's about a half second of latency. > > I just see this html: > > > > > What time is it? >

US Naval Observatory Master Clock Time

> 
Aug. 15, 18:52:50 UTC Universal Time >
Aug. 15, 02:52:50 PM EDT Eastern Time >
Aug. 15, 01:52:50 PM CDT Central Time >
Aug. 15, 12:52:50 PM MDT Mountain Time >
Aug. 15, 11:52:50 AM PDT Pacific Time >
Aug. 15, 10:52:50 AM AKDT Alaska Time >
Aug. 15, 08:52:50 AM HAST Hawaii-Aleutian Time >

US Naval Observatory > > > From kee at kagi.com Mon Aug 15 17:32:13 2011 From: kee at kagi.com (Kee Nethery) Date: Mon, 15 Aug 2011 14:32:13 -0700 Subject: Ideal Unicode? In-Reply-To: <4E48D0A0.4060400@gmail.com> References: <4E467F91.3010408@gmail.com> <4E48D0A0.4060400@gmail.com> Message-ID: In my perfect programming world ... I'd want all characters all the time for any place characters are displayed to be displayed and entered as unicode characters and represented as UTF8 bytes. If the display version has "??" I'd want the language to recognize those as two characters and as 6 bytes. I want UTF8 instead of UTF16 because UTF8 is the same byte stream regardless of processor endian-ness and more importantly, the entire web uses UTF8. Is this crazy talk or would this be your ideal programming system for unicode? Kee Nethery From m.schonewille at economy-x-talk.com Mon Aug 15 17:37:00 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 15 Aug 2011 23:37:00 +0200 Subject: Ideal Unicode? In-Reply-To: References: <4E467F91.3010408@gmail.com> <4E48D0A0.4060400@gmail.com> Message-ID: Hi Kee, No, this isn't crazy at all. In fact, this is pretty standard amongst nowadays software products, particularly text editors. Most programming environments are capable of doing this. The availability of both char and byte in the LiveCode language indicates that RunRev plans to do the same for LiveCode, but so far it hasn't happened. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 What does that error mean? Buy LiveCodeErrors for iPhone now http://qery.us/v4 A must-have for LiveCode programmers. On 15 aug 2011, at 23:32, Kee Nethery wrote: > In my perfect programming world ... > > I'd want all characters all the time for any place characters are displayed to be displayed and entered as unicode characters and represented as UTF8 bytes. > > If the display version has "??" I'd want the language to recognize those as two characters and as 6 bytes. > > I want UTF8 instead of UTF16 because UTF8 is the same byte stream regardless of processor endian-ness and more importantly, the entire web uses UTF8. > > Is this crazy talk or would this be your ideal programming system for unicode? > > Kee Nethery From bobs at twft.com Mon Aug 15 18:03:57 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 15 Aug 2011 15:03:57 -0700 Subject: Exporting vector images In-Reply-To: <4E498CD0.2050009@gmail.com> References: <4E429571.4070805@gmail.com> <1312994469586-3733514.post@n4.nabble.com> <4E42B997.2070905@gmail.com> <1313208725551-3740872.post@n4.nabble.com> <4E498CD0.2050009@gmail.com> Message-ID: <89DE538C-CB77-4B61-B2B8-3290A504F15A@twft.com> What does the PDF library do with text? Convert it to raster? You can find out. Export to PDF and then open it with a PDF editor. See if you can select the text itself. If the text is selectable, it hasn't done a conversion. If the text is a bunch of vector objects however, you may be in business. Bob On Aug 15, 2011, at 2:17 PM, Richmond Mathewson wrote: > Copy/Pasting Unicode text into Open Office Draw or Office Libre Draw allows the textbox to be exported as either EPS or SVG. > > All of these observations are really tangential as one cannot EXPORT text as a vector image directly from 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 pmbrig at gmail.com Mon Aug 15 18:06:45 2011 From: pmbrig at gmail.com (Peter M. Brigham, MD) Date: Mon, 15 Aug 2011 18:06:45 -0400 Subject: Grabbing the Date and Time From a Time Server on the Internet In-Reply-To: References: <176148149453.20110813111553@ahsoftware.net> <5EC0DA15-9BE3-41D9-B047-250E2733C630@twft.com> Message-ID: <68F82EA9-C7F5-40FB-A353-757218439F34@gmail.com> In my testing, the convert command fails with the date as given by the webpage, because the date lacks the year. Hence the need to insert the year first. And there needs to be no comma in the date. -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig On Aug 15, 2011, at 3:54 PM, Bob Sneidar wrote: > Maybe a little more concise: > > function realTime theFormat > breakpoint > put "http://tycho.usno.navy.mil/cgi-bin/timer.pl" into theURL > get url theURL > put it into theResult > filter theResult with "
*UTC*" > replace "
" with empty in theResult > put word 1 to 3 of theResult into theResult > if theFormat is "seconds" then > put word -1 of theResult into theResult > convert theResult to seconds > end if > -- add more conversions here > return theResult > end realTime > > On Aug 15, 2011, at 12:15 PM, Peter M. Brigham, MD wrote: > >> I'll try sending this again, revised (third time -- someone let me know please if it's getting through). It returns the time fast enough (with a speedy connection) to be within a second or so. >> >> ------------------ >> >> You can fetch the time from the U.S. Naval Observatory atomic clock. This assumes an internet connection, though. If what you want to do is timestamp something, just fetch the "universal time" line (line 6 of the HTML returned): >> >> function fetchTime >> put line 6 of URL "http://tycho.usno.navy.mil/cgi-bin/timer.pl" into t >> -- returns "
Aug. 15, 19:12:46 UTC" & tab & tab & "Universal Time" >> replace "
" with empty in t >> set the itemdelimiter to tab >> delete item 2 to -1 of t >> set the itemdelimiter to comma >> delete word -1 of t >> put t into ts >> put the short date into di >> convert di to dateitems >> put item 1 of di into tYr >> put space & tYr after item 1 of t >> put space & tYr after item 1 of ts >> replace comma with empty in t >> replace comma with empty in ts >> convert ts to seconds >> put t & cr & ts >> return t -- if you want "Aug. 15, 19:12:46" or, >> return ts -- if you want the seconds >> end fetchTime >> >> -- Peter >> >> Peter M. Brigham >> pmbrig at gmail.com >> http://home.comcast.net/~pmbrig >> On Aug 15, 2011, at 1:25 PM, Bob Sneidar wrote: >> >>> This returns a ton of html, from which the date time can be filtered using "

*", but since it takes about 30 seconds to run, and returns 32 entries, I am not sure how useful this would for him, if he wanted an exact time (within a second or two). >>> >>> Time servers are NTP:\\ aren't they? Looks like the revURL library does not support NTP, or not that I can see. Any attempt to use it in a URL returns empty in it and invalid URL: in the result. >>> >>> A quick browse for http based time servers came up dry. >>> >>> Bob >>> >>> >>> On Aug 13, 2011, at 11:15 AM, Mark Wieder wrote: >>> >>>> Gregory- >>>> >>>> Saturday, August 13, 2011, 10:33:29 AM, you wrote: >>>> >>>>> Taking another kick at the cat here. I?d like to use something like >>>> >>>>> get url (http://[time server address]) >>>> >>>> How's this? >>>> >>>> http://tycho.usno.navy.mil/cgi-bin/anim >>>> >>>> -- >>>> -Mark Wieder >>>> mwieder at ahsoftware.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 >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode 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 mollysrevenge.com Mon Aug 15 18:12:38 2011 From: pete at mollysrevenge.com (Pete) Date: Mon, 15 Aug 2011 15:12:38 -0700 Subject: Another Docu question In-Reply-To: References: <374863BD-F724-4C56-B801-08B01D501757@mac.com> Message-ID: Yep, checked it and it points to ~/Documents/Livecode. I think that's right - you don't point to the Plugins folder directly but the folder containing the Plugins folder, right? Pete Molly's Revenge On Mon, Aug 15, 2011 at 12:16 PM, stephen barncard < stephenREVOLUTION2 at barncard.com> wrote: > make sure Livecode prefs is pointing at the right user folder. > > On 15 August 2011 10:47, Pete wrote: > > > Thanks but still getting the same problem. the plugin does work after is > > has rebuilt the database but it still rebuilds it every time I start LC. > > > > I installed the stack in my LC plugins folder > > (~/Documents/Livecode/Plugins) > > After running it I see the following files: > > > > - BvG Docu 2.rev > > - bvg_docu_2.rev > > - a folder named BvG Docu containing 1 file named "BvG Docu 4.6.2.sqlite" > > > > I tried to get to the Plugin Settings but when I selected the stack, I > got > > the standard message about there already being a stack with the same name > > loaded and form that point on, I was in a never ending loo of creating > the > > database and getting the same stack loded message, no matter which option > I > > chose. Weird. > > > > This is with LC 4.6.2 running on a Mac with OS X 10.6.8. Let me know if > > there's anything else I can do to help figure this out - this is a much > > better way to view the dictionary! > > > > Pete > > Molly's Revenge > > > > > > > > > > 2011/8/15 Bj?rnke von Gierke > > > > > does the docu work? if yes, it should not show that message. if it > > doesn't > > > work, most likely something got saved weirdly, try to reinstall it. > > > > > > On 12 Aug 2011, at 19:25, Pete wrote: > > > > > > > I just downloaded the latest version of bvg Docu. Now every time I > > start > > > > LC, I get a message that there is no sqlite file available and one is > > > > created. The stack is installed in my plugins folder and in the same > > > folder > > > > I see a folder named "BvG Docu" which contains a file named "BvG Docu > > > > 4.6.2.sqlite" (timestamped today). This on a Mac running OS X 10.6.8 > > > > > > > > Any ideas? > > > > > > > > Pete > > > > Molly's Revenge > > > > _______________________________________________ > > > > use-livecode mailing list > > > > use-livecode at lists.runrev.com > > > > Please visit this url to subscribe, unsubscribe and manage your > > > subscription preferences: > > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > > > > > -- > > > Watch live presentations every Saturday: > > > http://livecode.tv > > > > > > Use an alternative Dictionary viewer: > > > http://bjoernke.com/bvgdocu/ > > > > > > Chat with other RunRev developers: > > > http://bjoernke.com/chatrev/ > > > > > > > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode 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 > > > > > > -- > > > > 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 From bobs at twft.com Mon Aug 15 18:19:01 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 15 Aug 2011 15:19:01 -0700 Subject: Grabbing the Date and Time From a Time Server on the Internet In-Reply-To: <68F82EA9-C7F5-40FB-A353-757218439F34@gmail.com> References: <176148149453.20110813111553@ahsoftware.net> <5EC0DA15-9BE3-41D9-B047-250E2733C630@twft.com> <68F82EA9-C7F5-40FB-A353-757218439F34@gmail.com> Message-ID: <5C1CB109-32A5-426F-B057-E4BDDAEC8A17@twft.com> I may have sent you a version that was bugged. This is the final one I came up with: function realTime theFormat, useOffset if useOffset is empty then put false into useOffset put "http://tycho.usno.navy.mil/cgi-bin/timer.pl" into theURL get url theURL put it into theResult filter theResult with "
*UTC*" replace "
" with empty in theResult put word 1 to 3 of theResult into theResult if useOffset then put word -1 of theResult into theTime put word -1 of the internet date into theZoneOffset put theZoneOffset /100 into theZoneOffset set the itemdelimiter to ":" put (item 1 of theTime + theZoneOffset) into item 1 of theTime put theTime into word -1 of theResult end if if theFormat is "seconds" then put word -1 of theResult into theResult convert theResult to seconds end if return theResult end realTime Bob On Aug 15, 2011, at 3:06 PM, Peter M. Brigham, MD wrote: > In my testing, the convert command fails with the date as given by the webpage, because the date lacks the year. Hence the need to insert the year first. And there needs to be no comma in the date. > > -- Peter > > Peter M. Brigham > pmbrig at gmail.com > http://home.comcast.net/~pmbrig > > > On Aug 15, 2011, at 3:54 PM, Bob Sneidar wrote: > >> Maybe a little more concise: >> >> function realTime theFormat >> breakpoint >> put "http://tycho.usno.navy.mil/cgi-bin/timer.pl" into theURL >> get url theURL >> put it into theResult >> filter theResult with "
*UTC*" >> replace "
" with empty in theResult >> put word 1 to 3 of theResult into theResult >> if theFormat is "seconds" then >> put word -1 of theResult into theResult >> convert theResult to seconds >> end if >> -- add more conversions here >> return theResult >> end realTime >> >> On Aug 15, 2011, at 12:15 PM, Peter M. Brigham, MD wrote: >> >>> I'll try sending this again, revised (third time -- someone let me know please if it's getting through). It returns the time fast enough (with a speedy connection) to be within a second or so. >>> >>> ------------------ >>> >>> You can fetch the time from the U.S. Naval Observatory atomic clock. This assumes an internet connection, though. If what you want to do is timestamp something, just fetch the "universal time" line (line 6 of the HTML returned): >>> >>> function fetchTime >>> put line 6 of URL "http://tycho.usno.navy.mil/cgi-bin/timer.pl" into t >>> -- returns "
Aug. 15, 19:12:46 UTC" & tab & tab & "Universal Time" >>> replace "
" with empty in t >>> set the itemdelimiter to tab >>> delete item 2 to -1 of t >>> set the itemdelimiter to comma >>> delete word -1 of t >>> put t into ts >>> put the short date into di >>> convert di to dateitems >>> put item 1 of di into tYr >>> put space & tYr after item 1 of t >>> put space & tYr after item 1 of ts >>> replace comma with empty in t >>> replace comma with empty in ts >>> convert ts to seconds >>> put t & cr & ts >>> return t -- if you want "Aug. 15, 19:12:46" or, >>> return ts -- if you want the seconds >>> end fetchTime >>> >>> -- Peter >>> >>> Peter M. Brigham >>> pmbrig at gmail.com >>> http://home.comcast.net/~pmbrig >>> On Aug 15, 2011, at 1:25 PM, Bob Sneidar wrote: >>> >>>> This returns a ton of html, from which the date time can be filtered using "

*", but since it takes about 30 seconds to run, and returns 32 entries, I am not sure how useful this would for him, if he wanted an exact time (within a second or two). >>>> >>>> Time servers are NTP:\\ aren't they? Looks like the revURL library does not support NTP, or not that I can see. Any attempt to use it in a URL returns empty in it and invalid URL: in the result. >>>> >>>> A quick browse for http based time servers came up dry. >>>> >>>> Bob >>>> >>>> >>>> On Aug 13, 2011, at 11:15 AM, Mark Wieder wrote: >>>> >>>>> Gregory- >>>>> >>>>> Saturday, August 13, 2011, 10:33:29 AM, you wrote: >>>>> >>>>>> Taking another kick at the cat here. I?d like to use something like >>>>> >>>>>> get url (http://[time server address]) >>>>> >>>>> How's this? >>>>> >>>>> http://tycho.usno.navy.mil/cgi-bin/anim >>>>> >>>>> -- >>>>> -Mark Wieder >>>>> mwieder at ahsoftware.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 >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode 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 stephenREVOLUTION2 at barncard.com Mon Aug 15 18:33:21 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Mon, 15 Aug 2011 15:33:21 -0700 Subject: Another Docu question In-Reply-To: References: <374863BD-F724-4C56-B801-08B01D501757@mac.com> Message-ID: Right. I use dropfolder for my Livecode user settings, that's why I brought it up. On 15 August 2011 15:12, Pete wrote: > Yep, checked it and it points to ~/Documents/Livecode. I think that's > right > - you don't point to the Plugins folder directly but the folder containing > the Plugins folder, right? > Pete > Molly's Revenge > > > Stephen Barncard San Francisco Ca. USA more about sqb From admin at mfelkerco.com Mon Aug 15 18:39:07 2011 From: admin at mfelkerco.com (Mike Felker) Date: Mon, 15 Aug 2011 18:39:07 -0400 Subject: Exporting vector images Message-ID: <3f1f5usqhn2uduiw6hiqq5ux.1313447947273@email.android.com> Sounds like it was made to code printing rip servers since they were mostly Unix based, widely used alongside Mac computers and utilized postscript. Mike "J. Landman Gay" wrote: >On 8/15/11 3:39 PM, Richmond Mathewson wrote: >>>>> If I remember right, EPS was intended for 'nix only, and only in >>>>> MetaCard, and only for very early versions of both. I didn't know it >>>>> ever worked at all on Macs. >>>>> >>>> >>>> Why, exactly, was that possibility dropped? >>> >>> Don't know, but I think it stopped before RR got the engine. Probably >>> it was too hard to maintain cross-platform. >>> >> >> Well . . . there are "residues" in Mac Classic versions. > >I just did a quick scan of the (really old) MC docs. Apparently EPS was >an object type, just like a button or field. It had properties, and it >received system messages. There is also some indication that it only >worked briefly, since one entry mentions it is disfunctional in most MC >engines due to issues with display postscript. There is also a reference >to X Servers, which indicates it was intended only for unix. > >Back then that was the only platform that had postscript built in. That >was, what, 12 years ago? > >-- >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 mollysrevenge.com Mon Aug 15 18:50:35 2011 From: pete at mollysrevenge.com (Pete) Date: Mon, 15 Aug 2011 15:50:35 -0700 Subject: Grabbing the Date and Time From a Time Server on the Internet In-Reply-To: <5C1CB109-32A5-426F-B057-E4BDDAEC8A17@twft.com> References: <176148149453.20110813111553@ahsoftware.net> <5EC0DA15-9BE3-41D9-B047-250E2733C630@twft.com> <68F82EA9-C7F5-40FB-A353-757218439F34@gmail.com> <5C1CB109-32A5-426F-B057-E4BDDAEC8A17@twft.com> Message-ID: I missed the beginning of this thread so I'm probably missing the point here, but what's wrong with using the LC "internet date"? Pete Molly's Revenge On Mon, Aug 15, 2011 at 3:19 PM, Bob Sneidar wrote: > I may have sent you a version that was bugged. This is the final one I came > up with: > > function realTime theFormat, useOffset > if useOffset is empty then put false into useOffset > put "http://tycho.usno.navy.mil/cgi-bin/timer.pl" into theURL > get url theURL > put it into theResult > filter theResult with "
*UTC*" > replace "
" with empty in theResult > put word 1 to 3 of theResult into theResult > if useOffset then > put word -1 of theResult into theTime > put word -1 of the internet date into theZoneOffset > put theZoneOffset /100 into theZoneOffset > set the itemdelimiter to ":" > put (item 1 of theTime + theZoneOffset) into item 1 of theTime > put theTime into word -1 of theResult > end if > > if theFormat is "seconds" then > put word -1 of theResult into theResult > convert theResult to seconds > end if > > return theResult > end realTime > > Bob > > From bobs at twft.com Mon Aug 15 20:04:42 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 15 Aug 2011 17:04:42 -0700 Subject: Grabbing the Date and Time From a Time Server on the Internet In-Reply-To: References: <176148149453.20110813111553@ahsoftware.net> <5EC0DA15-9BE3-41D9-B047-250E2733C630@twft.com> <68F82EA9-C7F5-40FB-A353-757218439F34@gmail.com> <5C1CB109-32A5-426F-B057-E4BDDAEC8A17@twft.com> Message-ID: <71DFE006-B408-43B4-8CEC-AB4F1FE20C39@twft.com> The Internet Date returns the date and time, along with the current time zone set in your preferences. If the user changes his date and time manually though, it will faithfully return whatever the user enters. Querying a time server on the internet will always return the real date and time. Suppose you had a trial scheme which expired the license after 30 days. The easiest way to defeat that would be to always set the clock back whenever you used the software. But that would be to no avail if you check the RealTime (as I named my function). Also, Windows Clients are sometimes configured to get the date and time from an internal time server running on the network. If that time server service stops functioning and the admin doesn't know it, the time can drift quite a bit aver several weeks. Any app that was critically dependent on knowing the exact time might not work correctly. Someone mentioned that if you were using sql, that you could query the sql server for the date and time. This actually has a real advantage over a time server, as NTP or even HTTP could be blocked by a personal firewall using ports or a blacklist, but no one could firewall off the sql server you need to run your application! Bob On Aug 15, 2011, at 3:50 PM, Pete wrote: > I missed the beginning of this thread so I'm probably missing the point > here, but what's wrong with using the LC "internet date"? > Pete > Molly's Revenge > > > > > On Mon, Aug 15, 2011 at 3:19 PM, Bob Sneidar wrote: > >> I may have sent you a version that was bugged. This is the final one I came >> up with: >> >> function realTime theFormat, useOffset >> if useOffset is empty then put false into useOffset >> put "http://tycho.usno.navy.mil/cgi-bin/timer.pl" into theURL >> get url theURL >> put it into theResult >> filter theResult with "
*UTC*" >> replace "
" with empty in theResult >> put word 1 to 3 of theResult into theResult >> if useOffset then >> put word -1 of theResult into theTime >> put word -1 of the internet date into theZoneOffset >> put theZoneOffset /100 into theZoneOffset >> set the itemdelimiter to ":" >> put (item 1 of theTime + theZoneOffset) into item 1 of theTime >> put theTime into word -1 of theResult >> end if >> >> if theFormat is "seconds" then >> put word -1 of theResult into theResult >> convert theResult to seconds >> end if >> >> return theResult >> end realTime >> >> 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 m.schonewille at economy-x-talk.com Mon Aug 15 20:17:11 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 16 Aug 2011 02:17:11 +0200 Subject: Neues deutsches Forum Message-ID: <40CCCF7A-AF80-4888-A5B8-B96638932952@economy-x-talk.com> Guten Tag, Vor einigen Wochen wurde das deutsche Forum revolutionboard.de leider geschlossen. Ich habe mit dem Inhaber dieses Forums vereinbart dass ich ein neues Forum installieren werde. Das habe ich heute gemacht. Das neue deutsche Forum k?nnt ihr hier finden: http://de.runrev.info Ich freue mich auf eure Beteiligung an die Diskussionen. (Translation: A few weeks ago, the old German Revolution board was closed. The owner of the forum and I agreed to install a new forum. You can find the new German forum at http://de.runrev.info . I look forward to your participation in the discussions). -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 What does that error mean? Buy LiveCodeErrors for iPhone now http://qery.us/v4 A must-have for LiveCode programmers. From pete at mollysrevenge.com Mon Aug 15 20:20:08 2011 From: pete at mollysrevenge.com (Pete) Date: Mon, 15 Aug 2011 17:20:08 -0700 Subject: Grabbing the Date and Time From a Time Server on the Internet In-Reply-To: <71DFE006-B408-43B4-8CEC-AB4F1FE20C39@twft.com> References: <176148149453.20110813111553@ahsoftware.net> <5EC0DA15-9BE3-41D9-B047-250E2733C630@twft.com> <68F82EA9-C7F5-40FB-A353-757218439F34@gmail.com> <5C1CB109-32A5-426F-B057-E4BDDAEC8A17@twft.com> <71DFE006-B408-43B4-8CEC-AB4F1FE20C39@twft.com> Message-ID: Ah, so the "internet date" is not really the internet date at all it's just whatever the computer's current date is in internet format. Interesting, didn't know that. Pete Molly's Revenge On Mon, Aug 15, 2011 at 5:04 PM, Bob Sneidar wrote: > The Internet Date returns the date and time, along with the current time > zone set in your preferences. If the user changes his date and time manually > though, it will faithfully return whatever the user enters. Querying a time > server on the internet will always return the real date and time. > > Suppose you had a trial scheme which expired the license after 30 days. The > easiest way to defeat that would be to always set the clock back whenever > you used the software. But that would be to no avail if you check the > RealTime (as I named my function). > > Also, Windows Clients are sometimes configured to get the date and time > from an internal time server running on the network. If that time server > service stops functioning and the admin doesn't know it, the time can drift > quite a bit aver several weeks. Any app that was critically dependent on > knowing the exact time might not work correctly. > > Someone mentioned that if you were using sql, that you could query the sql > server for the date and time. This actually has a real advantage over a time > server, as NTP or even HTTP could be blocked by a personal firewall using > ports or a blacklist, but no one could firewall off the sql server you need > to run your application! > > Bob > > > On Aug 15, 2011, at 3:50 PM, Pete wrote: > > > I missed the beginning of this thread so I'm probably missing the point > > here, but what's wrong with using the LC "internet date"? > > Pete > > Molly's Revenge > > > > > > > > > > On Mon, Aug 15, 2011 at 3:19 PM, Bob Sneidar wrote: > > > >> I may have sent you a version that was bugged. This is the final one I > came > >> up with: > >> > >> function realTime theFormat, useOffset > >> if useOffset is empty then put false into useOffset > >> put "http://tycho.usno.navy.mil/cgi-bin/timer.pl" into theURL > >> get url theURL > >> put it into theResult > >> filter theResult with "
*UTC*" > >> replace "
" with empty in theResult > >> put word 1 to 3 of theResult into theResult > >> if useOffset then > >> put word -1 of theResult into theTime > >> put word -1 of the internet date into theZoneOffset > >> put theZoneOffset /100 into theZoneOffset > >> set the itemdelimiter to ":" > >> put (item 1 of theTime + theZoneOffset) into item 1 of theTime > >> put theTime into word -1 of theResult > >> end if > >> > >> if theFormat is "seconds" then > >> put word -1 of theResult into theResult > >> convert theResult to seconds > >> end if > >> > >> return theResult > >> end realTime > >> > >> 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > From massung at gmail.com Mon Aug 15 20:26:08 2011 From: massung at gmail.com (Jeff Massung) Date: Mon, 15 Aug 2011 18:26:08 -0600 Subject: Ideal Unicode? In-Reply-To: References: <4E467F91.3010408@gmail.com> <4E48D0A0.4060400@gmail.com> Message-ID: On Mon, Aug 15, 2011 at 3:32 PM, Kee Nethery wrote: > In my perfect programming world ... > > I'd want all characters all the time for any place characters are displayed > to be displayed and entered as unicode characters and represented as UTF8 > bytes. > > If the display version has "??" I'd want the language to recognize those as > two characters and as 6 bytes. > > I want UTF8 instead of UTF16 because UTF8 is the same byte stream > regardless of processor endian-ness and more importantly, the entire web > uses UTF8. > > Is this crazy talk or would this be your ideal programming system for > unicode? > > You had me up until UTF8 for everything. While I understand the sentiment, this has the potential to absolutely *suck* the performance out of LC apps. UTF8 is great because it's indistinguishable from ASCII. Other than that, it's an absolute PITA to work with because you can't just grab data. You can't say "give me the 104th character" of a string w/o traversing the 103 characters preceding it, because they may be 1, 2, or more bytes long each. Now, think about all the LC out there that do things like "replace the second character of the fourth word of the fifth line of myString with ...." There's a lot. Similarly, getting the length of a string would require going through the string to do so. Now, there's ways around this performance hit, but they all require using more memory. And if you are already using more memory, why not just use wide characters for everything anyway? Your end-user will never know the difference, and you can write data out using UTF8 if it's more convenient, and read it in that way. But, internally, I'd prefer using fixed 16- or 32-bits for each character and knowing that when I ask for character 103843 of a very large buffer, I get it back in O(1) time. But that's just me. ;-) Of course, this all assumes Rev is moving towards 5.0 and the new field which is 100% unicode. But over the past month or so several questions have been asked about progress on this front with zero feedback - not even an acknowledgement that the question was asked. /shrug Jeff M. From bvg at mac.com Mon Aug 15 23:34:26 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Tue, 16 Aug 2011 05:34:26 +0200 Subject: LiveCode.tv event needs you In-Reply-To: References: <6B865405-BBC0-491C-AD25-BFB1C85A2D58@mac.com> <7EC6A85B-DD6B-4138-A597-512A194F4453@mac.com> <89782C22-C6E3-4245-95D1-A48F69423753@mac.com> <061D9182-B34B-4ABB-A7D6-9C2D09DA8755@mac.com> <73F84954-890B-4627-859A-702C8054F13B@mac.com> <093DEF5E-6C0F-4924-A262-F6DBE748ED45@mac.com> <3FB852C9-5675-4A19-9506-543733BB2547@mac.com> <914DF999-596E-4023-A213-9469C6A69FA0@mac.com> <2B105965-FB27-41D0-B95F-1F4C84ADD53B@mac.com> <163225D1-67D1-4CE7-8049-E85A8D94D177@mac.com> <225B0941-5D11-434A-BC0B-CD61B998E9F8@mac.com> <201756EB-9601-417D-856E-5128C5256EF1@mac.com> <081FD717-0A48-447D-90AA-A8F370B14F43@mac.com> <913B7E78-3052-4CF0-9883-C1CDD9F8BDFA@mac.com> <0C1B6D89-1745-46DF-9C49-A5FE2E5B67B9@mac.com> <497CC7C9-74BC-419C-9785-CEA07A8FE181@mac.com> Message-ID: <4E0C7801-CF42-40A5-9BDE-2ED79CBF22D4@mac.com> I mean you specifically. To continue the livecode.tv event, we need presenters. please consider doing a tutorial, or introduce a stack that you made, or a commercial project where you used LiveCode. See also here: http://livecode.tv/participate/ In addition, I will not have as much time as the beginning of the year. Mark is trying to help a lot, but we will need at least one other organiser who can lead trough at least one event per month. Ideally we'd be four people, so that everyone can do one week per month. It'd include asking people to present, lead trough events, and ideally also have ideas and time to invest for making the event better. If we can't find a third person who reliably organises, the event will die. cheers Bj?rnke -- Watch live presentations every Saturday: http://livecode.tv Use an alternative Dictionary viewer: http://bjoernke.com/bvgdocu/ Chat with other RunRev developers: http://bjoernke.com/chatrev/ From katir at hindu.org Mon Aug 15 23:52:36 2011 From: katir at hindu.org (Sivakatirswami) Date: Mon, 15 Aug 2011 17:52:36 -1000 Subject: Another Docu question In-Reply-To: References: <374863BD-F724-4C56-B801-08B01D501757@mac.com> Message-ID: <4E49E984.9030007@hindu.org> I second that... ditto here. exactly same problem. My folder-file layout looks like: My Livecode /Plugins /BvG Docu BvG Docu 4.6.3.sqlite BvG Docu 4.6.4-dp-1.sqlite BvG Docu 2.rev bvg_docu_2.rev I will get a message on start up that the same stack exists and do I want to purge it. If I hit Cancel I'm OK If I delete BVG Docu 2.rev and reboot LiveCode, I then get the message the the SQLite database is not present. I click to build and BvG Docu 4.6.4-dp-1.sqlite is re-built with the current modification time. and a copy of "BvG Docu 2.rev" reappears in the plugins folder. Work around: I have resorted simply hitting "cancel" on the purge message on start up. then everything works just fine. So, not a blocker Sivakatirswami On 8/15/11 7:47 AM, Pete wrote: > Thanks but still getting the same problem. the plugin does work after is > has rebuilt the database but it still rebuilds it every time I start LC. > > I installed the stack in my LC plugins folder (~/Documents/Livecode/Plugins) > After running it I see the following files: > > - BvG Docu 2.rev > - bvg_docu_2.rev > - a folder named BvG Docu containing 1 file named "BvG Docu 4.6.2.sqlite" > > I tried to get to the Plugin Settings but when I selected the stack, I got > the standard message about there already being a stack with the same name > loaded and form that point on, I was in a never ending loo of creating the > database and getting the same stack loded message, no matter which option I > chose. Weird. > > This is with LC 4.6.2 running on a Mac with OS X 10.6.8. Let me know if > there's anything else I can do to help figure this out - this is a much > better way to view the dictionary! > > Pete > Molly's Revenge > > > -- Om Shanti Sivakatirswami Kauai Aadheenam From katir at hindu.org Tue Aug 16 00:58:32 2011 From: katir at hindu.org (Sivakatirswami) Date: Mon, 15 Aug 2011 18:58:32 -1000 Subject: [Server] create stack trouble In-Reply-To: <1312727174.92291.YahooMailNeo@web65410.mail.ac4.yahoo.com> References: <1312594846940-3722610.post@n4.nabble.com> <1312596414009-3722633.post@n4.nabble.com> <1312722952069-3724846.post@n4.nabble.com> <1312727174.92291.YahooMailNeo@web65410.mail.ac4.yahoo.com> Message-ID: <4E49F8F8.4010303@hindu.org> jan wrote: > Storing data is an enticing idea, but flawed: stacks are not a multi-user data storage infrastructure. You are of course right for multi-user scenarios. but I beg to differ in cases where a) the data is read only for web delivery or for the majority of users b) the "editors" are few to one; possibly even "just for me, my brother and one hired hand" c) you need to be able to massage that information easily independent of a web connection. d) You need to be able to ship the "corpus" of data to someone else to edit it. Think of the stack as, as a document with 3000 pages (cards), a "manuscript" if you will and you want someone to work on it, pass it around, put it on a thumb drive, build cool widgets to massage or process the data. That's a miniscule amount of data from one point of view. Recently Andre is helping us build a new web site and we are using MySQL for the data on the back end. We don't have much choice because rev-server does not support stacks, and RevIgniter has great dBase support. That said... if RevServer/RevIgniter actually supported "start using" I would, now after watching our development process, seriously think about doing what we are doing now with stacks. When I look at the overhead that comes with an SQL framework, I have to shake my head, and, at least in house I will always revert to shared stacks on our LAN server here, setting up a semaphore to lock stacks in use is trivial...even though I could open up MySQL data base on our OSX server, the "software at the speed of light" paradigm suddenly becomes "Mucking along with SQL...one foot cut off and one arm tied behind your back." if all you know is LiveCode and you are spoiled by the speed with which you can handle and process data with stacks. SQL Yoga and the Data Grid are great, but so complex and vulnerable to breakage ) and so hard to debug....We even reverted here to table fields for some desktop clients that talk to the new MySQL dbase... How easy is it to drop a blob of tab delimited txt into a fld and talk to that? Now if I were getting that data from a stack on the web server, how easy would that be? So I would heartily endorse use of stacks for small data sets. At the very least you will be proto-typing at "light speed" and when your need to move up to a SQL database reaches critical mass, you will have ironed out your use cases with some precision well in advance of building your table structures, vs build the SQLBase from the get go, based on a "functional specifcation" and then face multiple iterations because, no matter how well you think you have your spec nailed down... things change... if you were using a stack based scenario, the implementation of design change would be trivial compared to what you have to go through with a database on the back end and the API to talk to it. then later, porting that to MySQL or PostGreSQL would be a "Piece of Cake" because you would know exactly where you were going. Just my two avocados from Hawaii (coming in bushels this time of year) Sivakatirswami On 8/7/11 4:26 AM, Jan Schenkel wrote: > I couldn't help but wonder why you wanted to save stacks from LiveCode Server. > The important part of this support is the ability to share business logic between desktop, mobile and server applications. > > Storing data is an enticing idea, but flawed: stacks are not a multi-user data storage infrastructure. > Invocations of your .lc script from multiple clients may come in any order, and some processing may take longer. > And what if a user is impatient, hits the back button in his browser and pushes the same data again? > > Stick with databases for storage, especially in multi-user scenarios - it's what the things were built for :-) > > Jan Schenkel. > ===== > Quartam Reports& PDF Library for LiveCode > www.quartam.com > > > -- Om Shanti Sivakatirswami Kauai Aadheenam From richmondmathewson at gmail.com Tue Aug 16 03:19:04 2011 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Tue, 16 Aug 2011 10:19:04 +0300 Subject: Ideal Unicode? In-Reply-To: References: <4E467F91.3010408@gmail.com> <4E48D0A0.4060400@gmail.com> Message-ID: <4E4A19E8.4010007@gmail.com> "Ideal Unicode' Will never exist for a few simple reasons: 1. Unicode is a moving target (the Unicode commission keep producing updated versions). 2. Computers and computer operating systems are moving targets. If one is prepared to invest one hell of a lot of time (and I have) poking around in Livecode one can do almost everything with unicode; admittedly often in a cumbersome and counter intuitive sort of way. From lan.kc.macmail at gmail.com Tue Aug 16 03:24:13 2011 From: lan.kc.macmail at gmail.com (Kay C Lan) Date: Tue, 16 Aug 2011 15:24:13 +0800 Subject: Back to LC & Inventive Users In-Reply-To: References: <1312601118358-3722715.post@n4.nabble.com> <4E3CBC93.70300@tkf.att.ne.jp> <1312603769993-3722757.post@n4.nabble.com> <4E3CDCDC.3090806@tkf.att.ne.jp> <1312612753765-3722888.post@n4.nabble.com> <201108060651.59433.warren@warrensweb.us> <1312643273496-3723464.post@n4.nabble.com> <4E438219.5020407@gmail.com> <4BB054DD-1617-496F-9797-DA1A3B7C8312@doctorTimothyMiller.com> Message-ID: Judy, I might be too late to the thread but I'll offer a slightly twisted perspective of where to go with this. These are adults, right? Don't ask them so much about what they like, instead figure out what ticks them off the most, or wastes their time the most or elicits the response 'it's a friggin computer, it should be able to......' To me, and I don't mean any offense to those who suggested them, but to build a calculator, address book, music library, etc etc, would having me rolling my eyes with I've already got one of those, why reinvent the wheel - with one that is worse than the free one I've already got. I'd switch off in that class immediately. But a special kind of calculator - for specific task as per the Therac-25 suggestion, or a music library that allows me to search the lyrics - because iTunes doesn't, now that would interest me. as Peter Brigham said in another tread: but I think that the most user-friendly apps are those produced by the > people who use them... > > my own practice management stack is miles ahead of anything else I've seen > but then I designed it for just the way I think and work > To me the key is to have your class members identify a number of small 'real' problems that you filter to those you know that LC can quickly solve. These might take YOU anywhere from 1 - 6 hrs to solve. You might also discover that a couple of problems fall into the same category, like text parsing - my favourite ;-) It might then be possible to work with the class as a whole to solve one problem, then assign homework to apply their new found knowledge to solve the other. As an example, I'm interested in buying a second hand car, and I visit two websites to check out what's available. It's a hassle flicking through the pages and trying to remember how many kms the 2005 model for $14,990 had. So for each site I've created a script that takes the data and scrapes it for only the info I'm interested in: model, year, kms, number of owners, transmission, price. The data is then stored in a db from which I can group, compare and order the cars so that I can figure which appear to be better value for money. As for lesson 1, I reckon a 100% chance that someone will have a text manipulation problem so after discussing what people want their computer's to do, I'd cover how easy it is to work with text in LC. Simple stack, two fields - one to enter data, the other for output. Start with a button, but eventually go with 'on closeField'. Show them how they can extract the first, second, last and char/word/line 24 from the field. How they can add or remove char/word/line. How char/word/line can be rearranged. If the text happens to be a list, how they can be referred to as items. How if the data has any form of consistency, then extraction of specific data is easy; this can be because it's always on line x, it's always word y, it's always the word before 'kms', or are the chars immediately after $ - you can avoid grep and still find the data, that's the great thing about LC. But if you spark someone's interest, you can always teach them a grep solution too :-) And just to give you my personal favourite, I'd teach them the switch statement. switch (tInput) case ("yes") hYesHandle break case ("no") hNoHandle break default answer "An answer I wasn't expecting" title "Case Error!" breakpoint end switch I hated nested if-then-else statements which can be extremely hard to understand, so unless I'm 100% certain that it's yes/no, true/false, or 1/0 , I always use a switch statement similar to above - with the default set to tell me I'm missing something followed by a breakpoint. As soon as I get a "maybe" input, I'm prompted that I need extra code, presented with the Script Editor exactly in the handler where the extra code is needed and the Variable Pane showing what's in tInput so I can immediately figure out why the script didn't proceed as expected. For newbie programmers this can save a huge amount of time wasted (read - turn you off programing frustration) trying to figure out why the outcome is wrong. Good luck, From richmondmathewson at gmail.com Tue Aug 16 03:57:52 2011 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Tue, 16 Aug 2011 10:57:52 +0300 Subject: Back to LC & Inventive Users In-Reply-To: References: <1312601118358-3722715.post@n4.nabble.com> <4E3CBC93.70300@tkf.att.ne.jp> <1312603769993-3722757.post@n4.nabble.com> <4E3CDCDC.3090806@tkf.att.ne.jp> <1312612753765-3722888.post@n4.nabble.com> <201108060651.59433.warren@warrensweb.us> <1312643273496-3723464.post@n4.nabble.com> <4E438219.5020407@gmail.com> <4BB054DD-1617-496F-9797-DA1A3B7C8312@doctorTimothyMiller.com> Message-ID: <4E4A2300.9010503@gmail.com> On 08/16/2011 10:24 AM, Kay C Lan wrote: > Judy, > > I might be too late to the thread but I'll offer a slightly twisted > perspective of where to go with this. These are adults, right? > > Don't ask them so much about what they like, instead figure out what ticks > them off the most, or wastes their time the most or elicits the response > 'it's a friggin computer, it should be able to......' > > To me, and I don't mean any offense to those who suggested them, but to > build a calculator, I had one kid who wanted to make an egg-timer for his Granny. > address book, music library, etc etc, would having me > rolling my eyes with I've already got one of those, why reinvent the wheel - > with one that is worse than the free one I've already got. I'd switch off in > that class immediately. > > But a special kind of calculator - for specific task as per the Therac-25 > suggestion, or a music library that allows me to search the lyrics - because > iTunes doesn't, now that would interest me. > > as Peter Brigham said in another tread: > > but I think that the most user-friendly apps are those produced by the >> people who use them... >> >> my own practice management stack is miles ahead of anything else I've seen >> but then I designed it for just the way I think and work >> > To me the key is to have your class members identify a number of small > 'real' problems that you filter to those you know that LC can quickly solve. > These might take YOU anywhere from 1 - 6 hrs to solve. You might also > discover that a couple of problems fall into the same category, like text > parsing - my favourite ;-) It might then be possible to work with the class > as a whole to solve one problem, then assign homework to apply their new > found knowledge to solve the other. > > As an example, I'm interested in buying a second hand car, and I visit two > websites to check out what's available. It's a hassle flicking through the > pages and trying to remember how many kms the 2005 model for $14,990 had. So > for each site I've created a script that takes the data and scrapes it for > only the info I'm interested in: model, year, kms, number of owners, > transmission, price. The data is then stored in a db from which I can group, > compare and order the cars so that I can figure which appear to be better > value for money. > > As for lesson 1, I reckon a 100% chance that someone will have a text > manipulation problem so after discussing what people want their computer's > to do, I'd cover how easy it is to work with text in LC. Simple stack, two > fields - one to enter data, the other for output. Start with a button, but > eventually go with 'on closeField'. Show them how they can extract the > first, second, last and char/word/line 24 from the field. How they can add > or remove char/word/line. How char/word/line can be rearranged. If the text > happens to be a list, how they can be referred to as items. How if the data > has any form of consistency, then extraction of specific data is easy; this > can be because it's always on line x, it's always word y, it's always the > word before 'kms', or are the chars immediately after $ - you can avoid grep > and still find the data, that's the great thing about LC. But if you spark > someone's interest, you can always teach them a grep solution too :-) > > And just to give you my personal favourite, I'd teach them the switch > statement. > > switch (tInput) > case ("yes") > hYesHandle > break > case ("no") > hNoHandle > break > default > answer "An answer I wasn't expecting" title "Case Error!" > breakpoint > end switch > > I hated nested if-then-else statements which can be extremely hard to > understand, so unless I'm 100% certain that it's yes/no, true/false, or 1/0 > , I always use a switch statement similar to above - with the default set to > tell me I'm missing something followed by a breakpoint. As soon as I get a > "maybe" input, I'm prompted that I need extra code, presented with the > Script Editor exactly in the handler where the extra code is needed and the > Variable Pane showing what's in tInput so I can immediately figure out why > the script didn't proceed as expected. For newbie programmers this can save > a huge amount of time wasted (read - turn you off programing frustration) > trying to figure out why the outcome is wrong. > > Good luck, > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Aug 16 04:56:07 2011 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Tue, 16 Aug 2011 10:56:07 +0200 Subject: Lion snapshot trouble (was: Lion trouble with quicktime) please confirm In-Reply-To: <001601cc5b3d$30360100$90a20300$@de> References: <001601cc5b3d$30360100$90a20300$@de> Message-ID: <001301cc5bf2$5bbc44a0$1334cde0$@de> Ok, I made some more test and the problem doesn't seems to be related to quicktime, but to the snapshop function on Lion. I tested with LC 4.6.3 on Lion with the following code: Put the rect of [image | player | button] "foo" into tRect Export snapshot from rect tRect to file "export.png" as [PNG | JPEG] Exporting a snapshot of an image or player object (with assigned image/video file) results in corrupted image data (stripes, black,...) Exporting a snapshot of a button works fine as expected. Could anybody please confirm this as a bug or point me on what I am not seeing? Thank you Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode-bounces at lists.runrev.com [mailto:use-livecode- > bounces at lists.runrev.com] Im Auftrag von Tiemo Hollmann TB > Gesendet: Montag, 15. August 2011 13:19 > An: 'How to use LiveCode' > Betreff: Lion trouble with quicktime video snapshot > > Hello, > > a major feature of my software is taking snapshots from build in videos. > > Running on Lion this snapshot feature is corrupted. I don't get anymore a > snapshot of my video, but irregular colors or patterns. One time the > snapshot is grey blurred, one time plain blue or plain black. Always > different. Taking the snapshot I do it like this: > > export snapshot from rect tRectSSQuelle to gScreenshot as PNG > > put gScreenshot into img "imgScreenShot" of tCard > > > > Are there any known issue with Lion and Quicktime? > > I am still using LC 4.5.1. Are there perhaps any issues with LC 4.5.1 and > Lion > > Are there any other approaches or parameters, how to create a snapshot? What > could I test to get an idea which part is corrupted? > > > > Thanks for any ideas > > 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 effendi at wanadoo.fr Tue Aug 16 05:56:02 2011 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Tue, 16 Aug 2011 11:56:02 +0200 Subject: two really neat pdf tools Message-ID: <7C772818-0647-4E39-8922-2F9ED2307A85@wanadoo.fr> Hi from Beautiful Brittany, Peter, take a look at SKIM ! I junked Adobe Reader and I now use SKIM for all my pdf work. Great Open Source program. - Francis From klaus at major.on-rev.com Tue Aug 16 07:01:12 2011 From: klaus at major.on-rev.com (Klaus on-rev) Date: Tue, 16 Aug 2011 13:01:12 +0200 Subject: Lion snapshot trouble (was: Lion trouble with quicktime) please confirm In-Reply-To: <001301cc5bf2$5bbc44a0$1334cde0$@de> References: <001601cc5b3d$30360100$90a20300$@de> <001301cc5bf2$5bbc44a0$1334cde0$@de> Message-ID: Hi Tiemo, Am 16.08.2011 um 10:56 schrieb Tiemo Hollmann TB: > Ok, I made some more test and the problem doesn't seems to be related to > quicktime, but to the snapshop function on Lion. > I tested with LC 4.6.3 on Lion with the following code: > > Put the rect of [image | player | button] "foo" into tRect > Export snapshot from rect tRect to file "export.png" as [PNG | JPEG] > > Exporting a snapshot of an image or player object (with assigned image/video > file) results in corrupted image data (stripes, black,...) > Exporting a snapshot of a button works fine as expected. > > Could anybody please confirm this as a bug or point me on what I am not > seeing? Confirmed, I get an empty image instead! But this snytax does work: ... Put the rect of player 1into tRect Export snapshot from rect (the rect of player "foo") of player "foo" to file "export.png" as PNG ... > Thank you > Tiemo Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From toolbook at kestner.de Tue Aug 16 08:34:04 2011 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Tue, 16 Aug 2011 14:34:04 +0200 Subject: AW: Lion snapshot trouble (was: Lion trouble with quicktime) please confirm In-Reply-To: References: <001601cc5b3d$30360100$90a20300$@de> <001301cc5bf2$5bbc44a0$1334cde0$@de> Message-ID: <002a01cc5c10$ccacf1a0$6606d4e0$@de> Hi Klaus, thanks for testing, that didn't do the trick for me, I get irregular results, the more often I do testing. I think I found the reason what has changed with Lion. It is related to the alwaysbuffer property of the player. Setting it to true in my test app did the trick, but doing the same in my real app, I still get a bluescreen as a snapshot. Setting it permanently to true, I can't even play videos anymore, the player object keeps bluescreen too. Something must have changed with Lion, because my standalone runs fine on Leopard, but not anymore on Lion. Confused Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode-bounces at lists.runrev.com [mailto:use-livecode- > bounces at lists.runrev.com] Im Auftrag von Klaus on-rev > Gesendet: Dienstag, 16. August 2011 13:01 > An: How to use LiveCode > Betreff: Re: Lion snapshot trouble (was: Lion trouble with quicktime) please > confirm > > Hi Tiemo, > > Am 16.08.2011 um 10:56 schrieb Tiemo Hollmann TB: > > > Ok, I made some more test and the problem doesn't seems to be related to > > quicktime, but to the snapshop function on Lion. > > I tested with LC 4.6.3 on Lion with the following code: > > > > Put the rect of [image | player | button] "foo" into tRect > > Export snapshot from rect tRect to file "export.png" as [PNG | JPEG] > > > > Exporting a snapshot of an image or player object (with assigned image/video > > file) results in corrupted image data (stripes, black,...) > > Exporting a snapshot of a button works fine as expected. > > > > Could anybody please confirm this as a bug or point me on what I am not > > seeing? > > Confirmed, I get an empty image instead! > > But this snytax does work: > ... > Put the rect of player 1into tRect > Export snapshot from rect (the rect of player "foo") of player "foo" to file > "export.png" as PNG > ... > > > Thank you > > Tiemo > > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > klaus at major.on-rev.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 gregory.lypny at videotron.ca Tue Aug 16 09:31:35 2011 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Tue, 16 Aug 2011 09:31:35 -0400 Subject: Retrieving Date and Time From a Remote Computer In-Reply-To: References: Message-ID: <55405FE1-4FDE-472F-BA92-656079DC2B62@videotron.ca> Hello everyone, Another date and time retrieval question: How can I retrieve the date and time from my remote Mac? Regards, Gregory From richmondmathewson at gmail.com Tue Aug 16 09:36:14 2011 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Tue, 16 Aug 2011 16:36:14 +0300 Subject: two really neat pdf tools In-Reply-To: <7C772818-0647-4E39-8922-2F9ED2307A85@wanadoo.fr> References: <7C772818-0647-4E39-8922-2F9ED2307A85@wanadoo.fr> Message-ID: <4E4A724E.2030204@gmail.com> On 08/16/2011 12:56 PM, Francis Nugent Dixon wrote: > Hi from Beautiful Brittany, > > Peter, take a look at SKIM ! > > I junked Adobe Reader and I now use SKIM > for all my pdf work. Great Open Source > program. Mac only! try pdfedit for Linux and Windows http://pdfedit.cz/en/index.html > > - Francis > > _______________________________________________ > use-livecode mailing list > use-livecode at 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.on-rev.com Tue Aug 16 09:45:19 2011 From: klaus at major.on-rev.com (Klaus on-rev) Date: Tue, 16 Aug 2011 15:45:19 +0200 Subject: Lion snapshot trouble (was: Lion trouble with quicktime) please confirm In-Reply-To: <002a01cc5c10$ccacf1a0$6606d4e0$@de> References: <001601cc5b3d$30360100$90a20300$@de> <001301cc5bf2$5bbc44a0$1334cde0$@de> <002a01cc5c10$ccacf1a0$6606d4e0$@de> Message-ID: Hi Tiemo, Am 16.08.2011 um 14:34 schrieb Tiemo Hollmann TB: > Hi Klaus, > > thanks for testing, that didn't do the trick for me, I get irregular > results, the more often I do testing. > I think I found the reason what has changed with Lion. It is related to the > alwaysbuffer property of the player. Setting it to true in my test app did > the trick, but doing the same in my real app, I still get a bluescreen as a > snapshot. Setting it permanently to true, I can't even play videos anymore, > the player object keeps bluescreen too. > Something must have changed with Lion, because my standalone runs fine on > Leopard, but not anymore on Lion. hmm, very strange indeed! I never use "snapshot" with a player anyway, since I use Trevors wonderful "Enhanced QuickTime External" to export a movieframe to disk: At least worth a try! :-) > Confused > Tiemo Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From revolution at derbrill.de Tue Aug 16 10:01:52 2011 From: revolution at derbrill.de (Malte Brill) Date: Tue, 16 Aug 2011 16:01:52 +0200 Subject: iOs - images from the foto library In-Reply-To: References: Message-ID: Hi all, out of academic interest I would like to know if it is possible to set the filename of an image to an image resource in the photo library? I guess due to the sandboxed nature of iOS apps, the answer is no, but I'd better ask before speculating... As far as I can see the only way is mobilePickPhoto "library" and then use the imported image, right? Cheers, Malte From andre at andregarzia.com Tue Aug 16 11:04:47 2011 From: andre at andregarzia.com (Andre Garzia) Date: Tue, 16 Aug 2011 12:04:47 -0300 Subject: [HELP] Facing a datagrid bug Message-ID: Folks, I am consistently facing a strange bug with the datagrid in 4.6.x in more than one project. I don't have an exact recipe but I can explain how it works. I have a datagrid that mimics a table. I am just placing text in there. Some text columns will have content on just some fields and this content may have some unicode characters such as accents of some symbols such as that superscript "o". When clicking the column header to sort the column, the datagrid will display an dialog box saying error in the script and die. This happens just for some columns but it is happening in three projects. It is really hard to debug but I believe it is related to the routine that sorts the datagrid, I think that down inside that function, some comparision command fails and the error bubbles up from there. Anyone seeing something similar? This is happening here in three different projects all related to database frontends. I have a card with a list of records. When for example I click the header of column "Title", it will fail and die. I don't know why. The datagrid should not fail like that. The array used is a really big one maybe a megabyte or two worth of information. It is basically text but it may contain unicode characters. I am using that unidecode trick from the documentation, the data appears fine in the datagrid. Also, why can't we override the sorting routines? Cheers andre -- http://www.andregarzia.com All We Do Is Code. From gregory.lypny at videotron.ca Tue Aug 16 11:06:16 2011 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Tue, 16 Aug 2011 11:06:16 -0400 Subject: Using the Detailed Files Function to Get Info From a Remote Machine Message-ID: <4254D10E-0811-4B4C-9DC1-2E9FCDF9CE1B@videotron.ca> Hello everyone, Can the Detailed Files function be used to get file information from a remote Mac or am I limited to the listing provided by put url (?ftp://...?)? Regards, Gregory From lists at mangomultimedia.com Tue Aug 16 11:14:57 2011 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 16 Aug 2011 11:14:57 -0400 Subject: [HELP] Facing a datagrid bug In-Reply-To: References: Message-ID: On Tue, Aug 16, 2011 at 11:04 AM, Andre Garzia wrote: > This is happening here in three different projects all related to database > frontends. I have a card with a list of records. When for example I click > the header of column "Title", it will fail and die. I don't know why. The > datagrid should not fail like that. The array used is a really big one > maybe > a megabyte or two worth of information. It is basically text but it may > contain unicode characters. I am using that unidecode trick from the > documentation, the data appears fine in the datagrid. > The sorting routines just use the built-in sort command in LiveCode. My guess is it chokes on the unicode data. I don't think it will choke on UTF-8 data. You can look at SortDataByKey in the "Data Grid" button of the "revDataGridLibraryStack" to see the code that is being executed. > Also, why can't we override the sorting routines? > You can. http://lessons.runrev.com/spaces/lessons/manuals/datagrid/lessons/7330-How-Do-I-Customize-Column-Sorting- -- Trevor DeVore Blue Mango Learning Systems From andre at andregarzia.com Tue Aug 16 11:20:35 2011 From: andre at andregarzia.com (Andre Garzia) Date: Tue, 16 Aug 2011 12:20:35 -0300 Subject: Using the Detailed Files Function to Get Info From a Remote Machine In-Reply-To: <4254D10E-0811-4B4C-9DC1-2E9FCDF9CE1B@videotron.ca> References: <4254D10E-0811-4B4C-9DC1-2E9FCDF9CE1B@videotron.ca> Message-ID: Gregory, You can't access remote machines unless they have an FTP server or something similar or you can mount their volumes as a disk. If you mount the remote machine volumes, then you can use the detailed files but I think that appleshare file sharing only works on LAN. You best option would be to use: libURLSetFTPListCommand "LIST" put url "ftp://myserver/files/" I think LIST is the default choice, so you should already see something similar to the detailed files. If your remote mac has no FTP server enabled and it is not on LAN with File Sharing enabled, then unless you have something running there, you can't get a file listing. andre source: http://docs.runrev.com/Command/libURLSetFTPListCommand On Tue, Aug 16, 2011 at 12:06 PM, Gregory Lypny wrote: > Hello everyone, > > Can the Detailed Files function be used to get file information from a > remote Mac or am I limited to the listing provided by put url (?ftp:// > ...?)? > > 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 > -- http://www.andregarzia.com All We Do Is Code. From andre at andregarzia.com Tue Aug 16 11:23:18 2011 From: andre at andregarzia.com (Andre Garzia) Date: Tue, 16 Aug 2011 12:23:18 -0300 Subject: [HELP] Facing a datagrid bug In-Reply-To: References: Message-ID: Trevor, Thanks very much for the quick reply!!!! I will investigate this and will post back to the list with my findings. Thanks for the lesson link as well, I might create my own sorting for some columns. :-D On Tue, Aug 16, 2011 at 12:14 PM, Trevor DeVore wrote: > On Tue, Aug 16, 2011 at 11:04 AM, Andre Garzia >wrote: > > > This is happening here in three different projects all related to > database > > frontends. I have a card with a list of records. When for example I click > > the header of column "Title", it will fail and die. I don't know why. The > > datagrid should not fail like that. The array used is a really big one > > maybe > > a megabyte or two worth of information. It is basically text but it may > > contain unicode characters. I am using that unidecode trick from the > > documentation, the data appears fine in the datagrid. > > > > The sorting routines just use the built-in sort command in LiveCode. My > guess is it chokes on the unicode data. I don't think it will choke on > UTF-8 > data. You can look at SortDataByKey in the "Data Grid" button of the > "revDataGridLibraryStack" to see the code that is being executed. > > > > Also, why can't we override the sorting routines? > > > > You can. > > > http://lessons.runrev.com/spaces/lessons/manuals/datagrid/lessons/7330-How-Do-I-Customize-Column-Sorting- > > -- > Trevor DeVore > Blue Mango Learning Systems > _______________________________________________ > use-livecode mailing list > use-livecode 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.andregarzia.com All We Do Is Code. From bobs at twft.com Tue Aug 16 11:24:30 2011 From: bobs at twft.com (Bob Sneidar) Date: Tue, 16 Aug 2011 08:24:30 -0700 Subject: Retrieving Date and Time From a Remote Computer In-Reply-To: <55405FE1-4FDE-472F-BA92-656079DC2B62@videotron.ca> References: <55405FE1-4FDE-472F-BA92-656079DC2B62@videotron.ca> Message-ID: <3FCB9ED9-3960-40B9-B391-9ABF6DBACD02@twft.com> Remote as in a different time zone?? If they are both set to query a time server, then the remote mac will ALWAYS have the same time as the local one. If it is always in the same time zone, calculate it. Apart from that, I suppose you would have to ssh in which means setting up firewalls (ick). Or else you would have to set up some kind of server that could be queried, but still firewall issues. Bob On Aug 16, 2011, at 6:31 AM, Gregory Lypny wrote: > Hello everyone, > > Another date and time retrieval question: How can I retrieve the date and time from my remote Mac? > > 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 mkoob at rogers.com Tue Aug 16 11:29:13 2011 From: mkoob at rogers.com (Martin Koob) Date: Tue, 16 Aug 2011 08:29:13 -0700 (PDT) Subject: Praise for Screensteps Pro Message-ID: <1313508553064-3747551.post@n4.nabble.com> I have been updating a pdf manual for my LiveCode application which I created with Screensteps Pro. It is such a great product. I had to redo many screen shots since I had some UI changes. Piece of cake. I also decided to rearrange the order of the sections in the manual and move sections between two different manuals. No problem. If you are new to LiveCode and haven't yet heard of ScreenSteps you should try it out. It is created with LiveCode. http://www.bluemangolearning.com/screensteps/ Martin -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Praise-for-Screensteps-Pro-tp3747551p3747551.html Sent from the Revolution - User mailing list archive at Nabble.com. From bobs at twft.com Tue Aug 16 11:35:59 2011 From: bobs at twft.com (Bob Sneidar) Date: Tue, 16 Aug 2011 08:35:59 -0700 Subject: [HELP] Facing a datagrid bug In-Reply-To: References: Message-ID: <74E05ADB-3584-402C-B4AF-1DC754D73739@twft.com> You can override everything about the datagrid. Copy the behavior script to a button in your own stack: set the behavior of button "myBehaviorButton" to the script of the behavior of group "dgMyDataGrid" Then set the behavior of your datagrid to the new button: set the behavior of group "dgMyDataGrid" to the long ID of button "myBehaviorButton" Now you can make the datagrid pop up grumpy messages every time you sort like, "I'm not in the mood." or "You sure are bossy!" if you like. :-) Bob On Aug 16, 2011, at 8:14 AM, Trevor DeVore wrote: >> Also, why can't we override the sorting routines? >> > > You can. From andre at andregarzia.com Tue Aug 16 11:44:14 2011 From: andre at andregarzia.com (Andre Garzia) Date: Tue, 16 Aug 2011 12:44:14 -0300 Subject: [HELP] Facing a datagrid bug In-Reply-To: <74E05ADB-3584-402C-B4AF-1DC754D73739@twft.com> References: <74E05ADB-3584-402C-B4AF-1DC754D73739@twft.com> Message-ID: Thanks Bob and Trevor, I am trying to pinpoint where the error happens... tried using a try/catch block on the sort routine to no effect. Here is a shot of the error when I try to order something: http://andregarzia.com/shots/_datagridbug-20110816-124238.png error in object expression, any clue? cheers andre On Tue, Aug 16, 2011 at 12:35 PM, Bob Sneidar wrote: > You can override everything about the datagrid. Copy the behavior script to > a button in your own stack: > set the behavior of button "myBehaviorButton" to the script of the behavior > of group "dgMyDataGrid" > > Then set the behavior of your datagrid to the new button: > set the behavior of group "dgMyDataGrid" to the long ID of button > "myBehaviorButton" > > Now you can make the datagrid pop up grumpy messages every time you sort > like, "I'm not in the mood." or "You sure are bossy!" if you like. :-) > > Bob > > > On Aug 16, 2011, at 8:14 AM, Trevor DeVore wrote: > > >> Also, why can't we override the sorting routines? > >> > > > > You can. > > > _______________________________________________ > use-livecode mailing list > use-livecode 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.andregarzia.com All We Do Is Code. From andre at andregarzia.com Tue Aug 16 11:49:27 2011 From: andre at andregarzia.com (Andre Garzia) Date: Tue, 16 Aug 2011 12:49:27 -0300 Subject: Praise for Screensteps Pro In-Reply-To: <1313508553064-3747551.post@n4.nabble.com> References: <1313508553064-3747551.post@n4.nabble.com> Message-ID: Martin, I've built manuals for myself using Screensteps, it is a great product! :-D On Tue, Aug 16, 2011 at 12:29 PM, Martin Koob wrote: > I have been updating a pdf manual for my LiveCode application which I > created > with Screensteps Pro. It is such a great product. I had to redo many > screen shots since I had some UI changes. Piece of cake. I also decided > to rearrange the order of the sections in the manual and move sections > between two different manuals. No problem. > > If you are new to LiveCode and haven't yet heard of ScreenSteps you should > try it out. It is created with LiveCode. > > http://www.bluemangolearning.com/screensteps/ > > > Martin > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/Praise-for-Screensteps-Pro-tp3747551p3747551.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 > -- http://www.andregarzia.com All We Do Is Code. From andre at andregarzia.com Tue Aug 16 11:58:10 2011 From: andre at andregarzia.com (Andre Garzia) Date: Tue, 16 Aug 2011 12:58:10 -0300 Subject: [HELP] Facing a datagrid bug In-Reply-To: References: <74E05ADB-3584-402C-B4AF-1DC754D73739@twft.com> Message-ID: the error is not on sorting, it is on: _table.DrawColumns some error in an object reference... odd... only when ascending, the descending sort works. From andre at andregarzia.com Tue Aug 16 12:09:11 2011 From: andre at andregarzia.com (Andre Garzia) Date: Tue, 16 Aug 2011 13:09:11 -0300 Subject: [HELP] Facing a datagrid bug In-Reply-To: References: <74E05ADB-3584-402C-B4AF-1DC754D73739@twft.com> Message-ID: On Tue, Aug 16, 2011 at 12:58 PM, Andre Garzia wrote: > the error is not on sorting, it is on: > > _table.DrawColumns > > some error in an object reference... odd... only when ascending, the > descending sort works. > I think I found it. When sorting ascending, the pIndexesToDraw variable which contains a comma separated list of indexes, has an extra comma like: ,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18 So it fails. I think I might have uncovered a bug somewhere -- http://www.andregarzia.com All We Do Is Code. From bobs at twft.com Tue Aug 16 12:09:59 2011 From: bobs at twft.com (Bob Sneidar) Date: Tue, 16 Aug 2011 09:09:59 -0700 Subject: [HELP] Facing a datagrid bug In-Reply-To: References: <74E05ADB-3584-402C-B4AF-1DC754D73739@twft.com> Message-ID: I am going to say that there are characters in the text that Livecode does not expect. But I am guessing. You can try a divide and conquer approach to test this. Start by creating two globals. Put half the data into one global and half the data into the other. Populate the dataGrid with one half, try to sort. If it fails, divide that in two. Rinse and repeat. Eventually and before too long you are wither going to find out what the offending data is, or the problem will persist proving that it isn't an odd character in the data. Also, would you mind sending me a stack with the datagrid complete with the data? Let's see what happens here. If it's reproducible, it's pandemic. If not, it's local. Bob On Aug 16, 2011, at 8:58 AM, Andre Garzia wrote: > the error is not on sorting, it is on: > > _table.DrawColumns > > some error in an object reference... odd... only when ascending, the > descending sort 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 andre at andregarzia.com Tue Aug 16 12:14:21 2011 From: andre at andregarzia.com (Andre Garzia) Date: Tue, 16 Aug 2011 13:14:21 -0300 Subject: [HELP] Facing a datagrid bug In-Reply-To: References: <74E05ADB-3584-402C-B4AF-1DC754D73739@twft.com> Message-ID: On Tue, Aug 16, 2011 at 1:09 PM, Andre Garzia wrote: > > > On Tue, Aug 16, 2011 at 12:58 PM, Andre Garzia wrote: > >> the error is not on sorting, it is on: >> >> _table.DrawColumns >> >> some error in an object reference... odd... only when ascending, the >> descending sort works. >> > > > I think I found it. When sorting ascending, the pIndexesToDraw variable > which contains a comma separated list of indexes, has an extra comma like: > > ,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18 > > So it fails. I think I might have uncovered a bug somewhere > I've added the following code to the data grid library: ## Default is not to pass in value for pIndexes to draw in which case ## we use the base sequence for visible controls to determine indexes to draw if pIndexesToDraw is not empty then put itemOffset(item 1 of pIndexesToDraw, sIndexSequencing) - 1 into theSequence else put item sTableObjectsA["base sequence for visible controls"] to \ (sTableObjectsA["base sequence for visible controls"] + sTableObjectsA["row control count"] - 1) of sIndexSequencing into pIndexesToDraw put sTableObjectsA["base sequence for visible controls"] - 1 into theSequence end if ## AAG: Below I fix a possible bug repeat while char 1 of pIndexesToDraw is not a number delete char 1 of pIndexesToDraw if pIndexesToDraw is empty then exit repeat end if end repeat With that in place, everything starts working. > > > > -- > http://www.andregarzia.com All We Do Is Code. > -- http://www.andregarzia.com All We Do Is Code. From gregory.lypny at videotron.ca Tue Aug 16 12:25:39 2011 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Tue, 16 Aug 2011 12:25:39 -0400 Subject: Using the Detailed Files Function to Get Info From a Remote Machine In-Reply-To: References: Message-ID: <8347DB2B-D3E3-4F74-A112-C6264F1DB6B2@videotron.ca> Thanks Andre, Much obliged. Gregory On Tue, Aug 16, 2011, at 11:44 AM, use-livecode-request at lists.runrev.com wrote: > Message: 22 > Date: Tue, 16 Aug 2011 12:20:35 -0300 > From: Andre Garzia > To: How to use LiveCode > Subject: Re: Using the Detailed Files Function to Get Info From a > Remote Machine > Message-ID: > > Content-Type: text/plain; charset=windows-1252 > > Gregory, > > You can't access remote machines unless they have an FTP server or something > similar or you can mount their volumes as a disk. If you mount the remote > machine volumes, then you can use the detailed files but I think that > appleshare file sharing only works on LAN. > > You best option would be to use: > > libURLSetFTPListCommand "LIST" > put url "ftp://myserver/files/" > > I think LIST is the default choice, so you should already see something > similar to the detailed files. If your remote mac has no FTP server enabled > and it is not on LAN with File Sharing enabled, then unless you have > something running there, you can't get a file listing. > > andre From gregory.lypny at videotron.ca Tue Aug 16 12:33:20 2011 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Tue, 16 Aug 2011 12:33:20 -0400 Subject: Grabbing the Date and Time From a Time Server on the Internet In-Reply-To: References: Message-ID: <41094F61-019A-4B08-AA7C-93677D0423E4@videotron.ca> Hi Bob, Good summary, Bob. It summarizes nicely the issues that I?m dealing with in creating a client-side student helper app. Your RealTime function works nicely. The only thing missing is the year, which again, is something that a user could set manually. Regards, Gregory On Tue, Aug 16, 2011, at 11:44 AM, use-livecode-request at lists.runrev.com wrote: > Message: 1 > Date: Mon, 15 Aug 2011 17:04:42 -0700 > From: Bob Sneidar > To: How to use LiveCode > Subject: Re: Grabbing the Date and Time From a Time Server on the > Internet > Message-ID: <71DFE006-B408-43B4-8CEC-AB4F1FE20C39 at twft.com> > Content-Type: text/plain; charset=us-ascii > > The Internet Date returns the date and time, along with the current time zone set in your preferences. If the user changes his date and time manually though, it will faithfully return whatever the user enters. Querying a time server on the internet will always return the real date and time. > > Suppose you had a trial scheme which expired the license after 30 days. The easiest way to defeat that would be to always set the clock back whenever you used the software. But that would be to no avail if you check the RealTime (as I named my function). > > Also, Windows Clients are sometimes configured to get the date and time from an internal time server running on the network. If that time server service stops functioning and the admin doesn't know it, the time can drift quite a bit aver several weeks. Any app that was critically dependent on knowing the exact time might not work correctly. > > Someone mentioned that if you were using sql, that you could query the sql server for the date and time. This actually has a real advantage over a time server, as NTP or even HTTP could be blocked by a personal firewall using ports or a blacklist, but no one could firewall off the sql server you need to run your application! > > Bob From gregory.lypny at videotron.ca Tue Aug 16 12:37:26 2011 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Tue, 16 Aug 2011 12:37:26 -0400 Subject: Retrieving Date and Time From a Remote Computer In-Reply-To: References: Message-ID: Hi Bob, No, just my office Mac a few kilometres away. I was thinking of other ways of not relying on the date and time settings of users who would FTP data to me. If my client app can grab the date and time from my office make, then I have a consistent timestamp that I can rely on. Gregory On Tue, Aug 16, 2011, at 11:44 AM, use-livecode-request at lists.runrev.com wrote: > Message: 24 > Date: Tue, 16 Aug 2011 08:24:30 -0700 > From: Bob Sneidar > To: How to use LiveCode > Subject: Re: Retrieving Date and Time From a Remote Computer > Message-ID: <3FCB9ED9-3960-40B9-B391-9ABF6DBACD02 at twft.com> > Content-Type: text/plain; charset=us-ascii > > Remote as in a different time zone?? If they are both set to query a time server, then the remote mac will ALWAYS have the same time as the local one. If it is always in the same time zone, calculate it. > > Apart from that, I suppose you would have to ssh in which means setting up firewalls (ick). Or else you would have to set up some kind of server that could be queried, but still firewall issues. > > Bob From pete at mollysrevenge.com Tue Aug 16 12:45:40 2011 From: pete at mollysrevenge.com (Pete) Date: Tue, 16 Aug 2011 09:45:40 -0700 Subject: two really neat pdf tools In-Reply-To: <7C772818-0647-4E39-8922-2F9ED2307A85@wanadoo.fr> References: <7C772818-0647-4E39-8922-2F9ED2307A85@wanadoo.fr> Message-ID: Depending on your needs, another good one is Formulate Pro (Mac only, free). You can place graphics, text, draw shapes. Pete Molly's Revenge On Tue, Aug 16, 2011 at 2:56 AM, Francis Nugent Dixon wrote: > Hi from Beautiful Brittany, > > Peter, take a look at SKIM ! > > I junked Adobe Reader and I now use SKIM > for all my pdf work. Great Open Source > program. > > - Francis > > ______________________________**_________________ > use-livecode mailing list > use-livecode at 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 Tue Aug 16 12:56:19 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Tue, 16 Aug 2011 09:56:19 -0700 Subject: Retrieving Date and Time From a Remote Computer In-Reply-To: References: Message-ID: Wouldn't it be better to get time data from a place that's mission-critical consistent, like the NAVY and WWV? Then you wouldn't have to maintain it or deal with outages. On 16 August 2011 09:37, Gregory Lypny wrote: > Hi Bob, > > No, just my office Mac a few kilometres away. I was thinking of other ways > of not relying on the date and time settings of users who would FTP data to > me. If my client app can grab the date and time from my office make, then I > have a consistent timestamp that I can rely on. > > > Gregory > > > > On Tue, Aug 16, 2011, at 11:44 AM, use-livecode-request at lists.runrev.comwrote: > > > Message: 24 > > Date: Tue, 16 Aug 2011 08:24:30 -0700 > > From: Bob Sneidar > > To: How to use LiveCode > > Subject: Re: Retrieving Date and Time From a Remote Computer > > Message-ID: <3FCB9ED9-3960-40B9-B391-9ABF6DBACD02 at twft.com> > > Content-Type: text/plain; charset=us-ascii > > > > Remote as in a different time zone?? If they are both set to query a time > server, then the remote mac will ALWAYS have the same time as the local one. > If it is always in the same time zone, calculate it. > > > > Apart from that, I suppose you would have to ssh in which means setting > up firewalls (ick). Or else you would have to set up some kind of server > that could be queried, but still firewall issues. > > > > 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 > -- Stephen Barncard San Francisco Ca. USA more about sqb From bobs at twft.com Tue Aug 16 13:04:54 2011 From: bobs at twft.com (Bob Sneidar) Date: Tue, 16 Aug 2011 10:04:54 -0700 Subject: [HELP] Facing a datagrid bug In-Reply-To: References: <74E05ADB-3584-402C-B4AF-1DC754D73739@twft.com> Message-ID: Brilliant Andre. I am betting though that the problem occurs in the code that calls this function. I am going to wait until Trevor finds the source and releases an update for the dataGrid. Bob On Aug 16, 2011, at 9:14 AM, Andre Garzia wrote: > On Tue, Aug 16, 2011 at 1:09 PM, Andre Garzia wrote: > >> >> >> On Tue, Aug 16, 2011 at 12:58 PM, Andre Garzia wrote: >> >>> the error is not on sorting, it is on: >>> >>> _table.DrawColumns >>> >>> some error in an object reference... odd... only when ascending, the >>> descending sort works. >>> >> >> >> I think I found it. When sorting ascending, the pIndexesToDraw variable >> which contains a comma separated list of indexes, has an extra comma like: >> >> ,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18 >> >> So it fails. I think I might have uncovered a bug somewhere >> > > > I've added the following code to the data grid library: > > ## Default is not to pass in value for pIndexes to draw in which case > ## we use the base sequence for visible controls to determine indexes > to draw > if pIndexesToDraw is not empty then > put itemOffset(item 1 of pIndexesToDraw, sIndexSequencing) - 1 into > theSequence > else > put item sTableObjectsA["base sequence for visible controls"] to \ > (sTableObjectsA["base sequence for visible controls"] + > sTableObjectsA["row control count"] - 1) of sIndexSequencing into > pIndexesToDraw > put sTableObjectsA["base sequence for visible controls"] - 1 into > theSequence > end if > > ## AAG: Below I fix a possible bug > repeat while char 1 of pIndexesToDraw is not a number > delete char 1 of pIndexesToDraw > if pIndexesToDraw is empty then > exit repeat > end if > end repeat > > > With that in place, everything starts working. > > >> >> >> >> -- >> http://www.andregarzia.com All We Do Is Code. >> > > > > -- > http://www.andregarzia.com All We Do Is Code. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Tue Aug 16 13:31:13 2011 From: bobs at twft.com (Bob Sneidar) Date: Tue, 16 Aug 2011 10:31:13 -0700 Subject: Grabbing the Date and Time From a Time Server on the Internet In-Reply-To: <41094F61-019A-4B08-AA7C-93677D0423E4@videotron.ca> References: <41094F61-019A-4B08-AA7C-93677D0423E4@videotron.ca> Message-ID: <5F787920-E6F0-41C4-B793-3F1B14E60801@twft.com> I see the problem here. The url I use does not return the year! And I cannot just get the year from the system date, because that defeats the whole purpose of a "RealTime" function. Going to have to do a bit more research. Bob On Aug 16, 2011, at 9:33 AM, Gregory Lypny wrote: > Hi Bob, > > Good summary, Bob. It summarizes nicely the issues that I?m dealing with in creating a client-side student helper app. Your RealTime function works nicely. The only thing missing is the year, which again, is something that a user could set manually. > > Regards, > > Gregory From gregory.lypny at videotron.ca Tue Aug 16 13:31:43 2011 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Tue, 16 Aug 2011 13:31:43 -0400 Subject: Retrieving Date and Time From a Remote Computer In-Reply-To: References: Message-ID: <405634F0-C424-411B-9556-3E64DCCC4B40@videotron.ca> Hi Stephen, Yes, and Bob Sneidar has kindly provided us with a function that does that (see "Re: Grabbing the Date and Time From a Time Server on the Internet?). The only thing it lacks at the moment is the year. I asked about doing the same with a remote computer only to explore an alternative. Regards, Gregory On Tue, Aug 16, 2011, at 1:00 PM, Stephen Barncard wrote: > Wouldn't it be better to get time data from a place that's mission-critical > consistent, like the NAVY and WWV? Then you wouldn't have to maintain it or > deal with outages. From jacque at hyperactivesw.com Tue Aug 16 13:37:14 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 16 Aug 2011 12:37:14 -0500 Subject: Retrieving Date and Time From a Remote Computer In-Reply-To: <405634F0-C424-411B-9556-3E64DCCC4B40@videotron.ca> References: <405634F0-C424-411B-9556-3E64DCCC4B40@videotron.ca> Message-ID: <4E4AAACA.6000302@hyperactivesw.com> On 8/16/11 12:31 PM, Gregory Lypny wrote: > Hi Stephen, > > Yes, and Bob Sneidar has kindly provided us with a function that does > that (see "Re: Grabbing the Date and Time From a Time Server on the > Internet?). The only thing it lacks at the moment is the year. I > asked about doing the same with a remote computer only to explore an > alternative. I'm not sure if your setup will allow it, but the actual delivery date and time will be listed on the server. Can you just retrieve the date from there, separately from the client app? Does the date need to be embedded in the file itself? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From richmondmathewson at gmail.com Tue Aug 16 13:48:21 2011 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Tue, 16 Aug 2011 20:48:21 +0300 Subject: ASCII, Unicode and Livecode Message-ID: <4E4AAD65.6000508@gmail.com> So, there I am reading a BBC computer manual (as one does) where I am informed that the ASCII set consists of 128 chars . . . . . . that's funny, because I had 256 (i.e. 2 x 128) rumbling around in my mind. As I have to develop a script that determines whether a char is a single-byte char or the first half of a double-byte char . . . ouch . . . this is probably fairly ?????, to use a rather useful Bulgarian word . . . Messing around in Livecode, I set up a stack with 2 fields; one containing a string of ASCII text: "LAT" ?at my cheese and the other containing a Unicode string: "UNIK" 'a Sanskrit word' I won't try to represent here [anyway, a spot of juicy double-byted goodness] then I set up a third field called "C1" 2 buttons; one to get the charToNum for the first char in fld "LAT", and one to do the same for fld "UNIK" they both contain this sort of script: on mouseUp put charToNum(char 1 of fld "LAT") into fld "C1" end mouseUp and that's all very jolly, except that on mouseUp put charToNum(char 1 of fld "UNIK") into fld "C1" end mouseUp returns "9" which is within the ASCII range, so there is no way I can use that sort of script to determine what I want to. From richmondmathewson at gmail.com Tue Aug 16 13:52:00 2011 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Tue, 16 Aug 2011 20:52:00 +0300 Subject: Unicode woes In-Reply-To: <90438D36-E417-483F-9412-8367F2094343@derbrill.de> References: <3938B7AB-05B5-49EB-A720-79D4C1B4BCD8@derbrill.de> <90438D36-E417-483F-9412-8367F2094343@derbrill.de> Message-ID: <4E4AAE40.20601@gmail.com> On 08/15/2011 10:51 PM, Malte Brill wrote: > Hey Richmond, > > maybe these might come in handy: > > setprop cUTF8Text pUTF8String > if word 1 of the name of the target<>"field" and word 1 of the name of the target<>"button" then > if "dev" is in the environment then > throw "cUTF8Text: Target is not a field or Button" > end if > exit cUTF8Text > end if > if word 1 of the name of the target = "field" then > set the unicodetext of the target to uniencode(pUTF8String,"UTF8") > else > set the text of the target to uniencode(pUTF8String,"UTF8") > set the textFont of the target to ",UNICODE" > end if > end cUTF8Text > > getprop cUTF8Text > if word 1 of the name of the target<>"field" and word 1 of the name of the target<>"button" then > if "dev" is in the environment then > throw "cUTF8Text: Target is not a field or button" > end if > exit cUTF8Text > end if > if word 1 of the name of the target="field" then > return unidecode(the unicodetext of the target,"UTF8") > else > if ",UNICODE" is in the textfont of the target then > return unidecode(the text of the target,"UTF8") > end if > end if > end cUTF8Text > > Keep them at stack level or in a library stack. Use them the following way: > > put the cUTF8Text of field "ContainsMixedChars" into tUTF8 > --> Now holds a correctly UTF8 encoded string > --> UTF8 is double byte only when needed and things like the itemdel > --> do work as expected on UTF8 text > > put "aoi" after tUTF8 > > set the cUTF8Text of field "ContainsMixedChars" to tUTF8 > > I have taken these scripts from the unicode lib that I am still trying to set up. If there is any interested, I'll upload it to revOnline and announce it on the list. > > Cheers, > > Malte > > > Pour quoi? From gregory.lypny at videotron.ca Tue Aug 16 13:52:56 2011 From: gregory.lypny at videotron.ca (Gregory Lypny) Date: Tue, 16 Aug 2011 13:52:56 -0400 Subject: Using the Detailed Files Function to Get Info From a Remote Machine In-Reply-To: References: Message-ID: <6C4ADD27-CCD0-43D5-A057-5C4A63C9FE8D@videotron.ca> Thanks Andre, The LIST option returns what url (?ftp://...?) does in the absence of libURLSetFTPListCommand, so I guess the idea of the command is to toggle between LIST and NLST. Unfortunately, neither returns the creation or modification dates of the files. Regards, Gregory On Tue, Aug 16, 2011, at 11:44 AM, use-livecode-request at lists.runrev.com wrote: > Gregory, > > You can't access remote machines unless they have an FTP server or something > similar or you can mount their volumes as a disk. If you mount the remote > machine volumes, then you can use the detailed files but I think that > appleshare file sharing only works on LAN. > > You best option would be to use: > > libURLSetFTPListCommand "LIST" > put url "ftp://myserver/files/" > > I think LIST is the default choice, so you should already see something > similar to the detailed files. If your remote mac has no FTP server enabled > and it is not on LAN with File Sharing enabled, then unless you have > something running there, you can't get a file listing. > > andre From paul at researchware.com Tue Aug 16 14:06:38 2011 From: paul at researchware.com (Paul Dupuis) Date: Tue, 16 Aug 2011 14:06:38 -0400 Subject: Unicode woes In-Reply-To: <90438D36-E417-483F-9412-8367F2094343@derbrill.de> References: <3938B7AB-05B5-49EB-A720-79D4C1B4BCD8@derbrill.de> <90438D36-E417-483F-9412-8367F2094343@derbrill.de> Message-ID: <4E4AB1AE.7070100@researchware.com> On 8/15/2011 3:51 PM, Malte Brill wrote: > I have taken these scripts from the unicode lib that I am still trying to set up. If there is any interested, I'll upload it to revOnline and announce it on the list. > > Cheers, > > Malte Malte, Thank you. I for one would love any Unicode library any one cares to post. Currently Unicode in LiveCode is one of the technology items that requires a LOT of fussing with to get anything to work. I'd also ask Kevin (RunRev) to please consider posting an update on the new Field object and "Unicode that just works" as we approach the end of Q3 2011 next month. The guestimated time frame for 5.0, the version that will hopefully contain the new field and Unicode support, was suggested as late Q4 2011 or Q1 2012. As Q3 2011 comes to an end in September, some update would really help those of use who have product development plans tied to that next LiveCode version (or at least the features we hope will be in it). -- Paul Dupuis Cofounder Researchware, Inc. http://www.researchware.com/ From andre at andregarzia.com Tue Aug 16 14:08:02 2011 From: andre at andregarzia.com (Andre Garzia) Date: Tue, 16 Aug 2011 15:08:02 -0300 Subject: Using the Detailed Files Function to Get Info From a Remote Machine In-Reply-To: <6C4ADD27-CCD0-43D5-A057-5C4A63C9FE8D@videotron.ca> References: <6C4ADD27-CCD0-43D5-A057-5C4A63C9FE8D@videotron.ca> Message-ID: Gregory, Are you sure that they don't because they usually return the same output as "ls" which contains such data.... strange... andre On Tue, Aug 16, 2011 at 2:52 PM, Gregory Lypny wrote: > Thanks Andre, > > The LIST option returns what url (?ftp://...?) does in the absence of > libURLSetFTPListCommand, so I guess the idea of the command is to toggle > between LIST and NLST. Unfortunately, neither returns the creation or > modification dates of the files. > > Regards, > > Gregory > > > On Tue, Aug 16, 2011, at 11:44 AM, use-livecode-request at lists.runrev.comwrote: > > > Gregory, > > > > You can't access remote machines unless they have an FTP server or > something > > similar or you can mount their volumes as a disk. If you mount the remote > > machine volumes, then you can use the detailed files but I think that > > appleshare file sharing only works on LAN. > > > > You best option would be to use: > > > > libURLSetFTPListCommand "LIST" > > put url "ftp://myserver/files/" > > > > I think LIST is the default choice, so you should already see something > > similar to the detailed files. If your remote mac has no FTP server > enabled > > and it is not on LAN with File Sharing enabled, then unless you have > > something running there, you can't get a file listing. > > > > andre > > _______________________________________________ > use-livecode mailing list > use-livecode 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.andregarzia.com All We Do Is Code. From bobs at twft.com Tue Aug 16 14:13:58 2011 From: bobs at twft.com (Bob Sneidar) Date: Tue, 16 Aug 2011 11:13:58 -0700 Subject: Retrieving Date and Time From The Internet In-Reply-To: <4E4AAACA.6000302@hyperactivesw.com> References: <405634F0-C424-411B-9556-3E64DCCC4B40@videotron.ca> <4E4AAACA.6000302@hyperactivesw.com> Message-ID: <16DFC844-9AAE-40A0-98CF-23BA419AEF22@twft.com> Okay, I contacted the USNO site via email and requested that they include the year in the returned date/time. I have a modified script which includes the year, but I caution you that the convert command is getting the current year from the system if it is not supplied, which defeats the whole purpose of getting the Real Time. We are still at the mercy of the system date and whatever the user sets it to. Until someone can come up with an HTTP link that returns the year with the date and time, or else Livecode supports NTP queries, we are SOL. I have searched high and low and cannot find one single web site besides http://tycho.usno.navy.mil/cgi-bin/timer.pl that returns anything usable. Leave it up to a sailor to get you most of the way there, and then let you swim the rest of the way! LOL! (I'm an ex-sailor so I can say that). function realTime theFormat, useOffset if useOffset is empty then put false into useOffset put "http://tycho.usno.navy.mil/cgi-bin/timer.pl" into theURL get url theURL put it into theResult filter theResult with "
*UTC*" replace "
" with empty in theResult put word 1 to 3 of theResult into theResult put word 4 of the internet date into theYear -- bummer relies on system datetime if useOffset then put word -1 of theResult into theTime put word -1 of the internet date into theZoneOffset put theZoneOffset /100 into theZoneOffset set the itemdelimiter to ":" put (item 1 of theTime + theZoneOffset) into item 1 of theTime put theTime into word -1 of theResult end if put space & theYear after word 2 of theResult if theFormat is "seconds" then -- not entirely accurate as it returns the same value with the year -- as it does without it, leading me to believe the convert command -- is accessing the system datetime to get the year if it is not provided convert theResult to seconds end if return theResult end realTime Bob On Aug 16, 2011, at 10:37 AM, J. Landman Gay wrote: > On 8/16/11 12:31 PM, Gregory Lypny wrote: >> Hi Stephen, >> >> Yes, and Bob Sneidar has kindly provided us with a function that does >> that (see "Re: Grabbing the Date and Time From a Time Server on the >> Internet?). The only thing it lacks at the moment is the year. I >> asked about doing the same with a remote computer only to explore an >> alternative. > > I'm not sure if your setup will allow it, but the actual delivery date and time will be listed on the server. Can you just retrieve the date from there, separately from the client app? Does the date need to be embedded in the file itself? > > -- > 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 stephenREVOLUTION2 at barncard.com Tue Aug 16 14:24:22 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Tue, 16 Aug 2011 11:24:22 -0700 Subject: Unicode woes In-Reply-To: <4E4AB1AE.7070100@researchware.com> References: <3938B7AB-05B5-49EB-A720-79D4C1B4BCD8@derbrill.de> <90438D36-E417-483F-9412-8367F2094343@derbrill.de> <4E4AB1AE.7070100@researchware.com> Message-ID: Roadmaps shouldn't be discussed on the use-list... nda ... On 16 August 2011 11:06, Paul Dupuis wrote: > On 8/15/2011 3:51 PM, Malte Brill wrote: > >> I have taken these scripts from the unicode lib that I am still trying to >> set up. If there is any interested, I'll upload it to revOnline and announce >> it on the list. >> >> Cheers, >> >> Malte >> > > Malte, > > Thank you. I for one would love any Unicode library any one cares to post. > Currently Unicode in LiveCode is one of the technology items that requires a > LOT of fussing with to get anything to work. > > I'd also ask Kevin (RunRev) to please consider posting an update on the new > Field object and "Unicode that just works" as we approach the end of Q3 2011 > next month. The guestimated time frame for 5.0, the version that will > hopefully contain the new field and Unicode support, was suggested as late > Q4 2011 or Q1 2012. As Q3 2011 comes to an end in September, some update > would really help those of use who have product development plans tied to > that next LiveCode version (or at least the features we hope will be in it). > > -- > Paul Dupuis > Cofounder > Researchware, Inc. > http://www.researchware.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 paul at researchware.com Tue Aug 16 14:31:19 2011 From: paul at researchware.com (Paul Dupuis) Date: Tue, 16 Aug 2011 14:31:19 -0400 Subject: Unicode woes In-Reply-To: References: <3938B7AB-05B5-49EB-A720-79D4C1B4BCD8@derbrill.de> <90438D36-E417-483F-9412-8367F2094343@derbrill.de> <4E4AB1AE.7070100@researchware.com> Message-ID: <4E4AB777.4070907@researchware.com> Err - my bad. Posted to the wrong list! Arrgh! On 8/16/2011 2:24 PM, stephen barncard wrote: > Roadmaps shouldn't be discussed on the use-list... nda ... > > > > On 16 August 2011 11:06, Paul Dupuis wrote: > >> On 8/15/2011 3:51 PM, Malte Brill wrote: >> >>> I have taken these scripts from the unicode lib that I am still trying to >>> set up. If there is any interested, I'll upload it to revOnline and announce >>> it on the list. >>> >>> Cheers, >>> >>> Malte >>> >> Malte, >> >> Thank you. I for one would love any Unicode library any one cares to post. >> Currently Unicode in LiveCode is one of the technology items that requires a >> LOT of fussing with to get anything to work. >> >> I'd also ask Kevin (RunRev) to please consider posting an update on the new >> Field object and "Unicode that just works" as we approach the end of Q3 2011 >> next month. The guestimated time frame for 5.0, the version that will >> hopefully contain the new field and Unicode support, was suggested as late >> Q4 2011 or Q1 2012. As Q3 2011 comes to an end in September, some update >> would really help those of use who have product development plans tied to >> that next LiveCode version (or at least the features we hope will be in it). >> >> -- >> Paul Dupuis >> Cofounder >> Researchware, Inc. >> http://www.researchware.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 >> > > -- Paul Dupuis Cofounder Researchware, Inc. http://www.researchware.com/ From andre at andregarzia.com Tue Aug 16 14:39:13 2011 From: andre at andregarzia.com (Andre Garzia) Date: Tue, 16 Aug 2011 15:39:13 -0300 Subject: [HELP] Facing a datagrid bug In-Reply-To: References: <74E05ADB-3584-402C-B4AF-1DC754D73739@twft.com> Message-ID: bob, don't praise me, Trevors work is brilliant. I think the bug goes deeper than that. While I solved the drawing problem, I am facing a new problem now. When I click a line, it selects the line on top of it. I guess the indexes are wrong because of what I did. I think that the array sTableObjectsA has to changed as well... :-/ I will get there, I have enough Red Bull... From andre at andregarzia.com Tue Aug 16 14:56:41 2011 From: andre at andregarzia.com (Andre Garzia) Date: Tue, 16 Aug 2011 15:56:41 -0300 Subject: [HELP] Facing a datagrid bug In-Reply-To: References: <74E05ADB-3584-402C-B4AF-1DC754D73739@twft.com> Message-ID: Update the sortByKey function calculates a variable theData that is used to compute the sorting. This variable had a leading CR here in some cases and thus broke the functions after it. Deleting that line made things work. Andre On Tue, Aug 16, 2011 at 3:39 PM, Andre Garzia wrote: > bob, > > don't praise me, Trevors work is brilliant. > > I think the bug goes deeper than that. While I solved the drawing problem, > I am facing a new problem now. When I click a line, it selects the line on > top of it. I guess the indexes are wrong because of what I did. I think that > the array sTableObjectsA has to changed as well... > > :-/ > > I will get there, I have enough Red Bull... > -- http://www.andregarzia.com All We Do Is Code. From andre at andregarzia.com Tue Aug 16 15:04:44 2011 From: andre at andregarzia.com (Andre Garzia) Date: Tue, 16 Aug 2011 16:04:44 -0300 Subject: [HELP] Facing a datagrid bug In-Reply-To: References: <74E05ADB-3584-402C-B4AF-1DC754D73739@twft.com> Message-ID: AAAARRRGGHHH It stopped working again... well, back to the debugging board. folks, for anyone following this thread, to try to script the rev stacks, you can break your IDE or introduce real problems. I am doing this because I have a backup of Trevors original stack, so I can play and if I break something really badly, I can rollback. On Tue, Aug 16, 2011 at 3:56 PM, Andre Garzia wrote: > Update > > the sortByKey function calculates a variable theData that is used to > compute the sorting. This variable had a leading CR here in some cases and > thus broke the functions after it. Deleting that line made things work. > > Andre > > > On Tue, Aug 16, 2011 at 3:39 PM, Andre Garzia wrote: > >> bob, >> >> don't praise me, Trevors work is brilliant. >> >> I think the bug goes deeper than that. While I solved the drawing problem, >> I am facing a new problem now. When I click a line, it selects the line on >> top of it. I guess the indexes are wrong because of what I did. I think that >> the array sTableObjectsA has to changed as well... >> >> :-/ >> >> I will get there, I have enough Red Bull... >> > > > > -- > http://www.andregarzia.com All We Do Is Code. > -- http://www.andregarzia.com All We Do Is Code. From richmondmathewson at gmail.com Tue Aug 16 15:06:00 2011 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Tue, 16 Aug 2011 22:06:00 +0300 Subject: Double byte trouble Message-ID: <4E4ABF98.3050505@gmail.com> I did this: set the useUnicode to true set the unicodeText of fld "INN" to numToChar(69) and, unsurprisingly, an 'E' appeared in fld "INN" when I then did this: delete char 1 of fld "INN" 'E' vanished; again, unsurprisingly when I put a spot of unicodeText in my fld "INN" the "delete char 1" script MADE THE FIRST UNICODE CHAR vanish. If that is so, why do I have to refer to double-byte unicode chars as "chars 1 - 2" ???? From bobs at twft.com Tue Aug 16 15:28:36 2011 From: bobs at twft.com (Bob Sneidar) Date: Tue, 16 Aug 2011 12:28:36 -0700 Subject: [HELP] Facing a datagrid bug In-Reply-To: References: <74E05ADB-3584-402C-B4AF-1DC754D73739@twft.com> Message-ID: <538298FB-3A59-4C05-B5FB-83DF13DF61F4@twft.com> You must mean DON'T try to script the rev stacks. :-) Bob On Aug 16, 2011, at 12:04 PM, Andre Garzia wrote: > AAAARRRGGHHH > > It stopped working again... well, back to the debugging board. > > folks, for anyone following this thread, to try to script the rev stacks, > you can break your IDE or introduce real problems. I am doing this because I > have a backup of Trevors original stack, so I can play and if I break > something really badly, I can rollback. > > On Tue, Aug 16, 2011 at 3:56 PM, Andre Garzia wrote: > >> Update >> >> the sortByKey function calculates a variable theData that is used to >> compute the sorting. This variable had a leading CR here in some cases and >> thus broke the functions after it. Deleting that line made things work. >> >> Andre >> >> >> On Tue, Aug 16, 2011 at 3:39 PM, Andre Garzia wrote: >> >>> bob, >>> >>> don't praise me, Trevors work is brilliant. >>> >>> I think the bug goes deeper than that. While I solved the drawing problem, >>> I am facing a new problem now. When I click a line, it selects the line on >>> top of it. I guess the indexes are wrong because of what I did. I think that >>> the array sTableObjectsA has to changed as well... >>> >>> :-/ >>> >>> I will get there, I have enough Red Bull... >>> >> >> >> >> -- >> http://www.andregarzia.com All We Do Is Code. >> > > > > -- > http://www.andregarzia.com All We Do Is Code. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Tue Aug 16 15:30:23 2011 From: bobs at twft.com (Bob Sneidar) Date: Tue, 16 Aug 2011 12:30:23 -0700 Subject: Double byte trouble In-Reply-To: <4E4ABF98.3050505@gmail.com> References: <4E4ABF98.3050505@gmail.com> Message-ID: I'm going to say that if you were to delete the first char of a 2 byte unicode char and then put more unicode text after it, things would not go so well, but I am just guessing. Bob On Aug 16, 2011, at 12:06 PM, Richmond Mathewson wrote: > I did this: > > set the useUnicode to true > set the unicodeText of fld "INN" to numToChar(69) > > and, unsurprisingly, an 'E' appeared in fld "INN" > > when I then did this: > > delete char 1 of fld "INN" 'E' vanished; again, unsurprisingly > > when I put a spot of unicodeText in my fld "INN" > the "delete char 1" script MADE THE FIRST UNICODE CHAR vanish. > > If that is so, why do I have to refer to double-byte unicode chars as "chars 1 - 2" ???? > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Tue Aug 16 15:43:51 2011 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 16 Aug 2011 15:43:51 -0400 Subject: [HELP] Facing a datagrid bug In-Reply-To: References: <74E05ADB-3584-402C-B4AF-1DC754D73739@twft.com> Message-ID: On Tue, Aug 16, 2011 at 3:04 PM, Andre Garzia wrote: > It stopped working again... well, back to the debugging board. > > Andre, Cant you send me a single stack with a single data grid in it that has the data causing problems? I should be able to determine the problem based on the problems you found thus far. -- Trevor DeVore Blue Mango Learning Systems From andre at andregarzia.com Tue Aug 16 15:46:17 2011 From: andre at andregarzia.com (Andre Garzia) Date: Tue, 16 Aug 2011 16:46:17 -0300 Subject: [HELP] Facing a datagrid bug In-Reply-To: <538298FB-3A59-4C05-B5FB-83DF13DF61F4@twft.com> References: <74E05ADB-3584-402C-B4AF-1DC754D73739@twft.com> <538298FB-3A59-4C05-B5FB-83DF13DF61F4@twft.com> Message-ID: Yes what Bob said... you can see by my reactions that one should not try to script rev stacks... On Tue, Aug 16, 2011 at 4:28 PM, Bob Sneidar wrote: > You must mean DON'T try to script the rev stacks. :-) > > Bob > > > On Aug 16, 2011, at 12:04 PM, Andre Garzia wrote: > > > AAAARRRGGHHH > > > > It stopped working again... well, back to the debugging board. > > > > folks, for anyone following this thread, to try to script the rev stacks, > > you can break your IDE or introduce real problems. I am doing this > because I > > have a backup of Trevors original stack, so I can play and if I break > > something really badly, I can rollback. > > > > On Tue, Aug 16, 2011 at 3:56 PM, Andre Garzia > wrote: > > > >> Update > >> > >> the sortByKey function calculates a variable theData that is used to > >> compute the sorting. This variable had a leading CR here in some cases > and > >> thus broke the functions after it. Deleting that line made things work. > >> > >> Andre > >> > >> > >> On Tue, Aug 16, 2011 at 3:39 PM, Andre Garzia >wrote: > >> > >>> bob, > >>> > >>> don't praise me, Trevors work is brilliant. > >>> > >>> I think the bug goes deeper than that. While I solved the drawing > problem, > >>> I am facing a new problem now. When I click a line, it selects the line > on > >>> top of it. I guess the indexes are wrong because of what I did. I think > that > >>> the array sTableObjectsA has to changed as well... > >>> > >>> :-/ > >>> > >>> I will get there, I have enough Red Bull... > >>> > >> > >> > >> > >> -- > >> http://www.andregarzia.com All We Do Is Code. > >> > > > > > > > > -- > > http://www.andregarzia.com All We Do Is Code. > > _______________________________________________ > > use-livecode mailing list > > use-livecode 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.andregarzia.com All We Do Is Code. From m.schonewille at economy-x-talk.com Tue Aug 16 15:51:48 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 16 Aug 2011 21:51:48 +0200 Subject: Double byte trouble In-Reply-To: <4E4ABF98.3050505@gmail.com> References: <4E4ABF98.3050505@gmail.com> Message-ID: Hi Richmond, I wrote this yesterday already. The availability of byte and char indicate that RunRev is aware of this problem. Unfortunately, RunRev hasn't actually taken action to solve it yet. For now, it is just a fact that fields who have the unicodeText property set, need two bytes for a character and will return only the first byte of a character when you retrieve char 1 of that field. That said, have you tried getting char 1 of the text of fld x? Does that help? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 What does that error mean? Buy LiveCodeErrors for iPhone now http://qery.us/v4 A must-have for LiveCode programmers. On 16 aug 2011, at 21:06, Richmond Mathewson wrote: > I did this: > > set the useUnicode to true > set the unicodeText of fld "INN" to numToChar(69) > > and, unsurprisingly, an 'E' appeared in fld "INN" > > when I then did this: > > delete char 1 of fld "INN" 'E' vanished; again, unsurprisingly > > when I put a spot of unicodeText in my fld "INN" > the "delete char 1" script MADE THE FIRST UNICODE CHAR vanish. > > If that is so, why do I have to refer to double-byte unicode chars as "chars 1 - 2" ???? From andre at andregarzia.com Tue Aug 16 15:55:03 2011 From: andre at andregarzia.com (Andre Garzia) Date: Tue, 16 Aug 2011 16:55:03 -0300 Subject: [HELP] Facing a datagrid bug In-Reply-To: References: <74E05ADB-3584-402C-B4AF-1DC754D73739@twft.com> Message-ID: On Tue, Aug 16, 2011 at 4:43 PM, Trevor DeVore wrote: > On Tue, Aug 16, 2011 at 3:04 PM, Andre Garzia > wrote: > > > It stopped working again... well, back to the debugging board. > > > > > Andre, > > Cant you send me a single stack with a single data grid in it that has the > data causing problems? I should be able to determine the problem based on > the problems you found thus far. > Trevor, Thanks, I will build the stack here. I isolated the problem to a carriage return character in one of the records. The \n character mess up the theData variable in sortDataByKey and it all breaks down from that database field with a CR char in it... Does this makes sense? Andre > > -- > Trevor DeVore > Blue Mango Learning Systems > _______________________________________________ > use-livecode mailing list > use-livecode 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.andregarzia.com All We Do Is Code. From janschenkel at yahoo.com Tue Aug 16 15:56:54 2011 From: janschenkel at yahoo.com (Jan Schenkel) Date: Tue, 16 Aug 2011 12:56:54 -0700 (PDT) Subject: Email issues at quartam.com Message-ID: <1313524614.46538.YahooMailNeo@web65408.mail.ac4.yahoo.com> Dear LiveCode Users, Due to an unfortunate misconfiguration of a spam filter in my domain email delivery chain, a number of emails to 'quartam.com' were delayed, going back as far as July 22nd, 2011. Having just 'liberated' those emails, I am working my way through them now. If you are still awaiting a reply, do not hesitate to resend it to this yahoo.com email address, or the regular quartam.com email addresses, or both. My apologies for any inconvenience, as a result of the delays caused by this mishap. Best regards, 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) From effendi at wanadoo.fr Tue Aug 16 16:11:31 2011 From: effendi at wanadoo.fr (Francis Nugent Dixon) Date: Tue, 16 Aug 2011 22:11:31 +0200 Subject: two really neat pdf tools Message-ID: <4631919E-6986-4E49-916A-C125CF5D4113@wanadoo.fr> Hi from Beautiful Brittany, > Mac only! > > try pdfedit for Linux and Windows You mean ..... you mean that there is another world, .... out there ..... which .... is not ...... aware about ........ REAL COMPUTING .... ??? You mean that ..... there are some ...... who haven't ...... been told ........ that ..... heaven is now ..... ON EARTH ............... ....... (and assembled in Ireland) ? You mean .... you mean that ...... awareness ... is still ..... just another word in the dictionary ? .................Consternation ! .................... Do you mean that .... I am alone ................... .........................................with my MAC ? -------------------------------------------------------- After 30 years of total awareness of the most beautiful thing that ever fell to earth ...... from the sky ..... .........a MAC ............ They want me to pay them money every year, to execute MY programs on MY computer using MY LiveCode software ..... Let them become rich enough to pay the US National Debt ! ................So easily is faith lost ................ .............And so the wilderness returns ............. .....,,, And I fall prey to the infamous PC gods ........ ....... ......So the mighty have fallen ................ .........and there, but for the grace of Android, go I ! ... -Francis "Nothing should ever be done for the first time !" From scott at tactilemedia.com Tue Aug 16 16:36:41 2011 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 16 Aug 2011 13:36:41 -0700 Subject: Retrieving Date and Time From The Internet In-Reply-To: <16DFC844-9AAE-40A0-98CF-23BA419AEF22@twft.com> Message-ID: Recently, Bob Sneidar wrote: > Until someone can come up with an HTTP link that returns the year with the > date and time, or else Livecode supports NTP queries, we are SOL. I have > searched high and low and cannot find one single web site besides > http://tycho.usno.navy.mil/cgi-bin/timer.pl that returns anything usable. > Leave it up to a sailor to get you most of the way there, and then let you > swim the rest of the way! LOL! (I'm an ex-sailor so I can say that). A fun challenge. Here's one option, limited to a single time (US Eastern), with no guarantee of reliability (can any Web-based service truly claim this?): function timeStamp put url "http://www.atomictime.net/front.html" into temp wait 500 millisecs with messages put url "http://www.atomictime.net/time_tel.html?2" into temp repeat with N = number of lines of temp down to 1 if line N of temp is not empty then return line N of temp end repeat end timeStamp The reason for the dual URLs is the host requires initial access through a home page. Only thing I can guess is there's some back-end foolery going on that's not accessible (at least I can't see anything that's apparent, but maybe that's just me). I tried setting my system clock back 2 hours and the page continues to return the current Eastern time, so the service *appears* to be legit. Regards, Scott Rossi Creative Director Tactile Media, UX Design From warren at warrensweb.us Tue Aug 16 17:10:20 2011 From: warren at warrensweb.us (Warren Samples) Date: Tue, 16 Aug 2011 16:10:20 -0500 Subject: Retrieving Date and Time From The Internet In-Reply-To: <16DFC844-9AAE-40A0-98CF-23BA419AEF22@twft.com> References: <4E4AAACA.6000302@hyperactivesw.com> <16DFC844-9AAE-40A0-98CF-23BA419AEF22@twft.com> Message-ID: <4568222.0aksOaVQYJ@suse> On Tuesday, August 16, 2011 11:13:58 AM Bob Sneidar wrote: > Okay, I contacted the USNO site via email and requested that they include the year in the returned date/time. You could try this: http://www.worldtimeserver.com/current_time_in_CA-QC.aspx Your time info is here in the html it returns (example):
5:10 PM
Tuesday, August 16, 2011
Eastern Daylight Time (EDT) -0400 UTC Isolate this from the rest of the source and filter out the lines that begin with <, and you'll have what you're looking for. If you want a different city, just select one from the list and copy that URL. Warren From bdrunrev at gmail.com Tue Aug 16 17:48:43 2011 From: bdrunrev at gmail.com (Bernard Devlin) Date: Tue, 16 Aug 2011 22:48:43 +0100 Subject: ASCII, Unicode and Livecode In-Reply-To: <4E4AAD65.6000508@gmail.com> References: <4E4AAD65.6000508@gmail.com> Message-ID: If you get the htmlText of a char in a unicode mixed field (i.e. containing single & double byte chars), there is an attribute of the

tag that tells you the font. If you get char 1 of a double byte char, that font attribute of the paragraph tag will (in my experience) contain "unicode" as item 2 of the font. Thus, try "put the htmlText of char 1 of fld SomeUnicodeField into msg". That at least allows one to detect if a char is unicode or not, even if one only gets hold of one of the two bytes that make up the char. I think this is the simplest (albeit clumsy) way to detect the nature of a char in a run of mixed text. Bernard On Tue, Aug 16, 2011 at 6:48 PM, Richmond Mathewson wrote: > As I have to develop a script that determines whether a char is a > single-byte char or the first half of a double-byte char . . . ouch . . . > this is probably fairly ?????, to use a rather useful Bulgarian word . . . From bobs at twft.com Tue Aug 16 18:11:03 2011 From: bobs at twft.com (Bob Sneidar) Date: Tue, 16 Aug 2011 15:11:03 -0700 Subject: Retrieving Date and Time From The Internet In-Reply-To: <4568222.0aksOaVQYJ@suse> References: <4E4AAACA.6000302@hyperactivesw.com> <16DFC844-9AAE-40A0-98CF-23BA419AEF22@twft.com> <4568222.0aksOaVQYJ@suse> Message-ID: Thanks Waren and Scott. I will have a look at those. I can extrapolate UTX time from those zones I suppose, and then do the math for the particular time zone in the system settings. Thanks. Bob On Aug 16, 2011, at 2:10 PM, Warren Samples wrote: > On Tuesday, August 16, 2011 11:13:58 AM Bob Sneidar wrote: >> Okay, I contacted the USNO site via email and requested that they include the year in the returned date/time. > > You could try this: > > http://www.worldtimeserver.com/current_time_in_CA-QC.aspx > > Your time info is here in the html it returns (example): > >
> > 5:10 PM > >
> > Tuesday, August 16, 2011 >
> > Eastern Daylight Time (EDT) -0400 UTC > > Isolate this from the rest of the source and filter out the lines that begin with <, and you'll have what you're looking for. If you want a different city, just select one > from the list and copy that URL. > > Warren > > _______________________________________________ > > A fun challenge. Here's one option, limited to a single time (US Eastern), > with no guarantee of reliability (can any Web-based service truly claim > this?): > > function timeStamp > put url "http://www.atomictime.net/front.html" into temp > wait 500 millisecs with messages > put url "http://www.atomictime.net/time_tel.html?2" into temp > repeat with N = number of lines of temp down to 1 > if line N of temp is not empty then return line N of temp > end repeat > end timeStamp > > The reason for the dual URLs is the host requires initial access through a > home page. Only thing I can guess is there's some back-end foolery going on > that's not accessible (at least I can't see anything that's apparent, but > maybe that's just me). > > I tried setting my system clock back 2 hours and the page continues to > return the current Eastern time, so the service *appears* to be legit. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design From roger.e.eller at sealedair.com Tue Aug 16 18:14:41 2011 From: roger.e.eller at sealedair.com (Roger Eller) Date: Tue, 16 Aug 2011 18:14:41 -0400 Subject: Using the Detailed Files Function to Get Info From a Remote Machine In-Reply-To: References: <6C4ADD27-CCD0-43D5-A057-5C4A63C9FE8D@videotron.ca> Message-ID: On Tue, Aug 16, 2011 at 2:08 PM, Andre Garzia wrote: > Gregory, > > Are you sure that they don't because they usually return the same output as > "ls" which contains such data.... strange... > > andre > > On Tue, Aug 16, 2011 at 2:52 PM, Gregory Lypny > wrote: > > > Thanks Andre, > > > > The LIST option returns what url (?ftp://...?) does in the absence of > > libURLSetFTPListCommand, so I guess the idea of the command is to toggle > > between LIST and NLST. Unfortunately, neither returns the creation or > > modification dates of the files. > > > > Regards, > > > > Gregory > If all you need is the modified date/time of a file from an FTP site, the MDTM command works well. put libURLftpCommand("MDTM " & pathToFile, tFtpServer, tFtpUserName, tFtpUserPassword) into tMDTM answer tMDTM The commands like LIST, RETR, etc. that need an open socket won't work with this form. Commands which perform an action such as renaming a file work well, and return a simple result string. I wish there was a get the detailedFTPfiles command in LC. http://www.nsftools.com/tips/RawFTP.htm#MDTM ?Roger From bobs at twft.com Tue Aug 16 18:46:19 2011 From: bobs at twft.com (Bob Sneidar) Date: Tue, 16 Aug 2011 15:46:19 -0700 Subject: two really neat pdf tools In-Reply-To: <4631919E-6986-4E49-916A-C125CF5D4113@wanadoo.fr> References: <4631919E-6986-4E49-916A-C125CF5D4113@wanadoo.fr> Message-ID: <016D0942-851E-4411-9370-9D69FDA31FFD@twft.com> On Aug 16, 2011, at 1:11 PM, Francis Nugent Dixon wrote: > Hi from Beautiful Brittany, > >> Mac only! >> >> try pdfedit for Linux and Windows > > You mean ..... you mean that there is another world, > .... out there ..... which .... is not ...... aware > about ........ > > REAL COMPUTING .... ??? > > You mean that ..... there are some ...... who > haven't ...... been told ........ that ..... > heaven is now ..... ON EARTH ............... > ....... (and assembled in Ireland) ? > > You mean .... you mean that ...... awareness ... > is still ..... just another word in the dictionary ? > > .................Consternation ! .................... > > Do you mean that .... I am alone ................... > > .........................................with my MAC ? > > -------------------------------------------------------- > > After 30 years of total awareness of the most beautiful > thing that ever fell to earth ...... from the sky ..... > > .........a MAC ............ > > They want me to pay them money every year, to execute MY > programs on MY computer using MY LiveCode software ..... > > Let them become rich enough to pay the US National Debt ! > > ................So easily is faith lost ................ > > .............And so the wilderness returns ............. > > .....,,, And I fall prey to the infamous PC gods ........ > > ....... ......So the mighty have fallen ................ > > .........and there, but for the grace of Android, go I ! ... > > > -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 From capellan2000 at gmail.com Tue Aug 16 20:02:58 2011 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Tue, 16 Aug 2011 17:02:58 -0700 (PDT) Subject: Exporting vector images In-Reply-To: <4E495AD7.8060003@gmail.com> References: <4E429571.4070805@gmail.com> <1312994469586-3733514.post@n4.nabble.com> <4E42B997.2070905@gmail.com> <1313208725551-3740872.post@n4.nabble.com> <5503BA54-0AF9-4402-A24D-FD2543B277EC@twft.com> <4E495AD7.8060003@gmail.com> Message-ID: <1313539378894-3748794.post@n4.nabble.com> Hi Richmond, Richmond Mathewson-2 wrote: > > [snip] > HOWEVER; I am bu**ered if I am going to have an app with an accompanying > directory full of, say, 5,000 EPS files; that is real monkey business. > Actually, it's only 1522 letters that you could store as compressed custom properties. Richmond Mathewson-2 wrote: > > What is needed is a way to export the contents of a textField as a > single EPS/SVG file. > Notice that some years ago, someone post in this mail list a stack, where you type text ina field and a script replaced the letter with an image. The principle is similar with vector graphics. You just need to store the vector data somewhere in a stack. Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Exporting-vector-images-tp3733066p3748794.html Sent from the Revolution - User mailing list archive at Nabble.com. From lists at mangomultimedia.com Tue Aug 16 20:33:21 2011 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 16 Aug 2011 20:33:21 -0400 Subject: [HELP] Facing a datagrid bug In-Reply-To: References: <74E05ADB-3584-402C-B4AF-1DC754D73739@twft.com> Message-ID: On Tue, Aug 16, 2011 at 3:55 PM, Andre Garzia wrote: > > Thanks, I will build the stack here. I isolated the problem to a carriage > return character in one of the records. The \n character mess up the > theData > variable in sortDataByKey and it all breaks down from that database field > with a CR char in it... > > Does this makes sense? > I think so. Updating the code so that only line 1 of sDataArray[theIndex][pKey] is added to theData should fix the problem. -- Trevor DeVore Blue Mango Learning Systems LiveCode Resources for Developers: http://livecode.bluemangolearning.com From katir at hindu.org Tue Aug 16 22:04:28 2011 From: katir at hindu.org (Sivakatirswami) Date: Tue, 16 Aug 2011 16:04:28 -1000 Subject: OT: Beginning Programming with LiveCode for the world Message-ID: <4E4B21AC.3040709@hindu.org> http://www.nytimes.com/2011/08/16/science/16stanford.html?_r=1&hpw It would be interesting if someone did a "Basic Programming" course for the whole planet, using LiveCode. I think Devin Asay is well positioned this. We have a new young recruit here at the monastery. I sent him all the URLS for Devin's materials a the BYU site, for LiveCode. oops, wait, LiveCode is not free... skts From peterwawood at gmail.com Wed Aug 17 00:16:09 2011 From: peterwawood at gmail.com (Peter W A Wood) Date: Wed, 17 Aug 2011 12:16:09 +0800 Subject: ASCII, Unicode and Livecode In-Reply-To: <4E4AAD65.6000508@gmail.com> References: <4E4AAD65.6000508@gmail.com> Message-ID: <32AEA496-007E-481D-A27C-B457ACB86134@gmail.com> Richmond > So, there I am reading a BBC computer manual (as one does) where I am > informed that the ASCII set consists of 128 chars . . . > > . . . that's funny, because I had 256 (i.e. 2 x 128) rumbling around in my mind. A common misconception and the source of endless problems in applications which share data from multiple computers or are run all over the world due to the different ways people worked out how to make use of the extra 128 combinations that are available (MacRoman, ISO-8859-1, ISO-8859-2,etc and, not forgetting, the myriad of Windows Code Pages. > As I have to develop a script that determines whether a char is a single-byte char or the first half of a double-byte char . . . ouch . . . this is probably fairly ?????, to use a rather useful Bulgarian word . . . > > Messing around in Livecode, I set up a stack with 2 fields; one containing a string of ASCII text: > > "LAT" ?at my cheese > > and the other containing a Unicode string: > > "UNIK" 'a Sanskrit word' I won't try to represent here [anyway, a spot of juicy double-byted goodness] > > then I set up a third field called "C1" > > 2 buttons; one to get the charToNum for the first char in fld "LAT", and one to do the > same for fld "UNIK" > > they both contain this sort of script: > > on mouseUp > put charToNum(char 1 of fld "LAT") into fld "C1" > end mouseUp > > and that's all very jolly, except that > > on mouseUp > put charToNum(char 1 of fld "UNIK") into fld "C1" > end mouseUp > > returns "9" which is within the ASCII range, so there is no way I can use that sort of script to determine what I want to. It is just not possible to distinguish between a two consecutive single-byte chars and a double-byte char, after all they are just combinations of 16 bits. To handle any text, you need to know how the text is encoded. If you haven't read http://www.joelonsoftware.com/articles/Unicode.html you probably should. It even mentions Bulgaria! Regards Peter From katir at hindu.org Wed Aug 17 00:50:57 2011 From: katir at hindu.org (Sivakatirswami) Date: Tue, 16 Aug 2011 18:50:57 -1000 Subject: OT: Slideshow Image CMS Best Practice Message-ID: <4E4B48B1.50301@hindu.org> I am using Galleria on our web site.. (galleria aino.se) I love it... so extensible, customizable, documentation is excellent I've written some .irev libraries that only need a path to a folder with images and adjacent matching text files for captions and then LiveCode dynamically builds the slide show web page. It's simple. I have a desktop client that people use to create content: someImage.jpg someImage.txt # a caption file this CMS is really very portable and can be massaged into any kind of delivery framework... I'm just wondering what others think in terms of future CMS and coding and issues. A fork in the road: 1. ALL IMAGES IN ONE FOLDER (thumbnails, 800px wide "large" photo, 1500px wide "Big Photo" -- with file name appendages /centipede-gallery /images mother-centipede.jpg #800px wide mother-centipede.txt # caption mother-centipede_thumb.jpg #100px wide mother-centipede_big.jpg #1500px wide OR 2) USE Separate Folders AND file name appendages /centipede-gallery /images mother-centipede.jpg #800px wide mother-centipede.txt # caption /thumbnails mother-centipede_thumb.jpg #100px wide /big mother-centipede_big.jpg #1500px wide Galleria documentation is agnostic (as it should be) but "kinda" points to all images in the same folder: as flat HTML: div id="gallery"> My description Another text or as JSON: