From richmondmathewson at gmail.com Sun May 1 02:06:33 2011 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sun, 01 May 2011 09:06:33 +0300 Subject: Repost of "selectedText" In-Reply-To: <8CDD5C2B6B70C78-1BE0-1FDD1@webmail-d038.sysops.aol.com> References: <4DBC707D.8000806@gmail.com> <8CDD5C2B6B70C78-1BE0-1FDD1@webmail-d038.sysops.aol.com> Message-ID: <4DBCF869.8000209@gmail.com> On 05/01/2011 05:57 AM, dunbarx at aol.com wrote: > Repost of my riposte. > > > Richmond. > > > Would changing to "select after the text" make this better? > > > Craig > The script editor tells me that's wrong, as it would had you tried it . . . :) From richmondmathewson at gmail.com Sun May 1 02:08:46 2011 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sun, 01 May 2011 09:08:46 +0300 Subject: Repost of "selectedText" In-Reply-To: <4DBCD50C.6080104@hyperactivesw.com> References: <4DBC707D.8000806@gmail.com> <8CDD5C2B6B70C78-1BE0-1FDD1@webmail-d038.sysops.aol.com> <4DBCD50C.6080104@hyperactivesw.com> Message-ID: <4DBCF8EE.4090004@gmail.com> On 05/01/2011 06:35 AM, J. Landman Gay wrote: > On 4/30/11 9:57 PM, dunbarx at aol.com wrote: >> Repost of my riposte. >> >> >> Richmond. >> >> >> Would changing to "select after the text" make this better? > > That's what I'd do too. "select after the text of fld 1", or just > "select after fld 1". > Thank you. Yes, I am well aware of that possibility, and if the typing is always at the end of the line that's OK; but if one decides to add additional chars in a string that will send the insertion point to the end of the text rather than directly after the char that has just been inserted. From keith.clarke at clarkeandclarke.co.uk Sun May 1 02:45:56 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Sun, 1 May 2011 07:45:56 +0100 Subject: my conference contest entry In-Reply-To: <7159CDC1-44DD-4E17-8160-985D4D832A5B@verizon.net> References: <7159CDC1-44DD-4E17-8160-985D4D832A5B@verizon.net> Message-ID: Nice Colin - though something specific to your revlet (that none of mine have) is crashing Safari for me every time. Here's hoping for an updated browser plug-in soon - and maybe even a second revServer prerelease before June (the anniversary of the previous version-drop). Best, Keith.. On 30 Apr 2011, at 20:33, Colin Holgate wrote: > I removed the iOS specific features (taking a picture, loading from your album), as well as having no drop shadow as you drag. And of course there is no multitouch, but otherwise this gives you an idea of what it's like: > > http://idisk.mac.com/coiin//Public/rev/puzzle.html > > The reset button (in the tools palette) doesn't work too well if you use it after starting a puzzle, so just do a page reload for do a fresh start. > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sun May 1 03:19:53 2011 From: chipp at chipp.com (Chipp Walters) Date: Sun, 1 May 2011 02:19:53 -0500 Subject: RunRev Live video archives In-Reply-To: <0B63CC20-2ABB-4BC2-B006-F2B85E8139A8@mac.com> References: <0B63CC20-2ABB-4BC2-B006-F2B85E8139A8@mac.com> Message-ID: It's funny, because they had name tags for both Sarah and Thomas there at the conference-- hoping to get a chance to meet both of you, but was told later neither of you were there. On Thu, Apr 28, 2011 at 9:46 PM, Thomas McGrath III wrote: > Sarah, > > They said they will be working on getting them all up and organized with > example links. Still getting to ask questions and discuss with peers is a > lot better. Andre was great but they cut him short. I could have listened to > his presentation for another hour at least. > > > -- Tom McGrath III > http://lazyriver.on-rev.com > 3mcgrath at comcast.net > > On Apr 28, 2011, at 7:12 PM, Sarah Reichelt wrote: > > > Hi All, > > > > I have a subscription to the RunRev Live simulcast, but as the > > presentations mostly take place when I am asleep, I was hoping to > > watch the archived videos. > > I did watch Kevin's keynote and I see the other day 0 sessions are > > available, but are the later sessions going to be archived too. > > > > The RunRev people are probably too busy to answer this right now, but > > hopefully they will see that at least one person is eagerly awaiting > > the archives. > > > > 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 sarah.reichelt at gmail.com Sun May 1 03:40:09 2011 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Sun, 1 May 2011 17:40:09 +1000 Subject: RunRev Live video archives In-Reply-To: References: <0B63CC20-2ABB-4BC2-B006-F2B85E8139A8@mac.com> Message-ID: I'm guessing that's because I bought the iOS pre-release pack which included the conference. Sadly the travel costs and work commitments made it impossible for me to attend in person, although it would have been great to finally meet some of you folk that I only know through email. Cheers, Sarah Sent from my iPad On 01/05/2011, at 5:19 PM, Chipp Walters wrote: > It's funny, because they had name tags for both Sarah and Thomas there at > the conference-- hoping to get a chance to meet both of you, but was told > later neither of you were there. > > On Thu, Apr 28, 2011 at 9:46 PM, Thomas McGrath III wrote: > >> Sarah, >> >> They said they will be working on getting them all up and organized with >> example links. Still getting to ask questions and discuss with peers is a >> lot better. Andre was great but they cut him short. I could have listened to >> his presentation for another hour at least. >> >> >> -- Tom McGrath III >> http://lazyriver.on-rev.com >> 3mcgrath at comcast.net >> >> On Apr 28, 2011, at 7:12 PM, Sarah Reichelt wrote: >> >>> Hi All, >>> >>> I have a subscription to the RunRev Live simulcast, but as the >>> presentations mostly take place when I am asleep, I was hoping to >>> watch the archived videos. >>> I did watch Kevin's keynote and I see the other day 0 sessions are >>> available, but are the later sessions going to be archived too. >>> >>> The RunRev people are probably too busy to answer this right now, but >>> hopefully they will see that at least one person is eagerly awaiting >>> the archives. >>> >>> 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 >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 sarah.reichelt at gmail.com Sun May 1 05:11:34 2011 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Sun, 1 May 2011 19:11:34 +1000 Subject: on-rev writing to In-Reply-To: <4FD4DD19-AF1E-4314-9C05-41A79E074D98@mac.com> References: <4FD4DD19-AF1E-4314-9C05-41A79E074D98@mac.com> Message-ID: <5274771A-F532-4FAA-B405-E9D979E681F6@gmail.com> Tom, you cannot write directly to a server. You can upload a file using your FTP login details. But the best solution for your case is to have an irev file on the server that you can call using http://.... And send some data to via POST or GET. Then have the irev file do the actual writing. Not at my Mac right now, so can't give actual examples, but here is the process in untested code: In your script on the desktop: put "http://tom.on-rev.com/writeData.irev" into tURL put "data=" & urlEncode(tDataToWrite) into tPostData post tPostData to URL tURL In the writeData.irev file on the server: put $_POST["data"] into tNewData put tNewData into URL ("file:dataFile.txt") Images will work the same way, but you need to read in the data using binfile:, not file: Then base64encode the binary data before POSTing it. Cheers, Sarah Sent from my iPad On 01/05/2011, at 1:58 AM, Thomas McGrath III wrote: > I need to know how to write to on-rev from within an iOS app. > > Is there a best practices around? > > I need to write a folder to my account and then write a text file and some images. > > Are there any sample stacks that show this? > > Is it as simple as put img 1 into url "http://etc." > > or is this something for libURL? ( I haven't used libURL before) > > Any guidance appreciated. > > -- Tom McGrath III > http://lazyriver.on-rev.com > 3mcgrath at comcast.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 mcgrath3 at mac.com Sun May 1 09:50:18 2011 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Sun, 01 May 2011 09:50:18 -0400 Subject: RunRev Live video archives In-Reply-To: References: <0B63CC20-2ABB-4BC2-B006-F2B85E8139A8@mac.com> Message-ID: <10617909-FA7B-43C5-BEC6-3E52D72A7EE7@mac.com> It's the same with me. When I bought the pre-release pack I had planned on attending in person. But after it got postponed I needed the funds set aside for travel and so when it finally came around I just couldn't swing the cash. I did get to see your presentation Chip and it was good to see you. Maybe next year. -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On May 1, 2011, at 3:40 AM, Sarah Reichelt wrote: > I'm guessing that's because I bought the iOS pre-release pack which included the conference. Sadly the travel costs and work commitments made it impossible for me to attend in person, although it would have been great to finally meet some of you folk that I only know through email. > > Cheers, > Sarah > > > Sent from my iPad > > On 01/05/2011, at 5:19 PM, Chipp Walters wrote: > >> It's funny, because they had name tags for both Sarah and Thomas there at >> the conference-- hoping to get a chance to meet both of you, but was told >> later neither of you were there. >> >> On Thu, Apr 28, 2011 at 9:46 PM, Thomas McGrath III wrote: >> >>> Sarah, >>> >>> They said they will be working on getting them all up and organized with >>> example links. Still getting to ask questions and discuss with peers is a >>> lot better. Andre was great but they cut him short. I could have listened to >>> his presentation for another hour at least. >>> >>> >>> -- Tom McGrath III >>> http://lazyriver.on-rev.com >>> 3mcgrath at comcast.net >>> >>> On Apr 28, 2011, at 7:12 PM, Sarah Reichelt wrote: >>> >>>> Hi All, >>>> >>>> I have a subscription to the RunRev Live simulcast, but as the >>>> presentations mostly take place when I am asleep, I was hoping to >>>> watch the archived videos. >>>> I did watch Kevin's keynote and I see the other day 0 sessions are >>>> available, but are the later sessions going to be archived too. >>>> >>>> The RunRev people are probably too busy to answer this right now, but >>>> hopefully they will see that at least one person is eagerly awaiting >>>> the archives. >>>> >>>> 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 >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode 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 From jhurley0305 at sbcglobal.net Sun May 1 11:50:33 2011 From: jhurley0305 at sbcglobal.net (James Hurley) Date: Sun, 1 May 2011 08:50:33 -0700 Subject: Find restricted to the current card? In-Reply-To: References: Message-ID: <49E39E9D-4638-4D94-B16D-84162DA2A644@sbcglobal.net> I have a field with the script: on mouseUP put the value of the clickline into tText set itemdel to tab put item 1 of tText into tText find string tText in field "thetext" end mouseUP When I click on a line in the field RR finds the string in the field "theText" and a second click on the same line finds the next instance of the string in the same field. But if, on subsequent clicks, it fails to find the string in the field "theText" on the current card, it goes looking for the string on any other card with a field named "theText" Is there a way to do something like: find string tText in field "theText" ON THIS CARD So that it will not jump to other cards containing a field of the same name and the same text. (Without having to go through the stack and rename fields so that there are no duplicates?) In short, restrict the search to the current card. Jim Hurley From dixonja at hotmail.co.uk Sun May 1 11:55:09 2011 From: dixonja at hotmail.co.uk (John Dixon) Date: Sun, 1 May 2011 16:55:09 +0100 Subject: Find restricted to the current card? In-Reply-To: <49E39E9D-4638-4D94-B16D-84162DA2A644@sbcglobal.net> References: , <49E39E9D-4638-4D94-B16D-84162DA2A644@sbcglobal.net> Message-ID: Hi Jim... Does it help if you set 'lockMessages to true in the 'mouseUp' handler ? be well > I have a field with the script: > > on mouseUP > put the value of the clickline into tText > set itemdel to tab > put item 1 of tText into tText > find string tText in field "thetext" > end mouseUP > > > When I click on a line in the field RR finds the string in the field "theText" and a second click on the same line finds the next instance of the string in the same field. > > But if, on subsequent clicks, it fails to find the string in the field "theText" on the current card, it goes looking for the string on any other card with a field named "theText" > > Is there a way to do something like: > > find string tText in field "theText" ON THIS CARD > > So that it will not jump to other cards containing a field of the same name and the same text. (Without having to go through the stack and rename fields so that there are no duplicates?) > > In short, restrict the search to the current card. > > Jim Hurley From dixonja at hotmail.co.uk Sun May 1 12:03:14 2011 From: dixonja at hotmail.co.uk (John Dixon) Date: Sun, 1 May 2011 17:03:14 +0100 Subject: Find restricted to the current card? In-Reply-To: References: , , <49E39E9D-4638-4D94-B16D-84162DA2A644@sbcglobal.net>, Message-ID: Hi Jim... Just had a quick test... two cards each with a field... on mouseUp find "jim" in field id 1004 end mouseUp Without using the id, it finds 'Jim' in both fields as you are seeing. Using the id of the field it only looks in the one field. be well From jhurley0305 at sbcglobal.net Sun May 1 12:43:03 2011 From: jhurley0305 at sbcglobal.net (James Hurley) Date: Sun, 1 May 2011 09:43:03 -0700 Subject: Find restricted to given card In-Reply-To: References: Message-ID: <81E9152B-C934-41B0-B3BC-08AAE4278187@sbcglobal.net> Thanks John. That is perfect. I changed the line from: Find "jim" in field "theText" to: Find "jim" in field id the id of field "theText" Too lazy to even look up the number. Jim John Dixon Wrote > Hi Jim... > > Just had a quick test... two cards each with a field... > > on mouseUp > find "jim" in field id 1004 > end mouseUp > > Without using the id, it finds 'Jim' in both fields as you are seeing. Using the id of the field it only looks in the one field. > > be well From pmbrig at gmail.com Sun May 1 12:54:37 2011 From: pmbrig at gmail.com (Peter Brigham MD) Date: Sun, 1 May 2011 12:54:37 -0400 Subject: Find restricted to the current card? In-Reply-To: <49E39E9D-4638-4D94-B16D-84162DA2A644@sbcglobal.net> References: <49E39E9D-4638-4D94-B16D-84162DA2A644@sbcglobal.net> Message-ID: On May 1, 2011, at 11:50 AM, James Hurley wrote: > I have a field with the script: > > on mouseUP > put the value of the clickline into tText > set itemdel to tab > put item 1 of tText into tText > find string tText in field "thetext" > end mouseUP > > > When I click on a line in the field RR finds the string in the field "theText" and a second click on the same line finds the next instance of the string in the same field. > > But if, on subsequent clicks, it fails to find the string in the field "theText" on the current card, it goes looking for the string on any other card with a field named "theText" > > Is there a way to do something like: > > find string tText in field "theText" ON THIS CARD > > So that it will not jump to other cards containing a field of the same name and the same text. (Without having to go through the stack and rename fields so that there are no duplicates?) > > In short, restrict the search to the current card. > > Jim Hurley Try this (untested, but should work): on mouseup put the value of the clickline into tText set the itemdelimiter to tab delete item 2 to -1 of tText put the short id of this card into origCdID lock screen find string tText in fld "theText" if the short id of this card <> origCdID then go cd id origCdID beep find empty end if end mouseup -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From jimaultwins at yahoo.com Sun May 1 12:58:32 2011 From: jimaultwins at yahoo.com (Jim Ault) Date: Sun, 1 May 2011 09:58:32 -0700 Subject: Find restricted to the current card? In-Reply-To: <49E39E9D-4638-4D94-B16D-84162DA2A644@sbcglobal.net> References: <49E39E9D-4638-4D94-B16D-84162DA2A644@sbcglobal.net> Message-ID: <2A29FD44-9369-40B3-A4DE-FE1D66C51624@yahoo.com> if you lock screen put the sort id of this card into baseCd push card -- find if the short id of this card is baseCd then exit to top else answer 'the hit is not on the card you started on' pop card end if --the unlock screen will happen at the exit of the handler automatically --- and this can get you close to your goal. You may have to deal with user interface issues when their are multiple hits on one card and in multiple fields. The surround rectangle may be difficult to manage, so you may have to find a way to select the hit string with code vs native Find command Hope this helps On May 1, 2011, at 8:50 AM, James Hurley wrote: > I have a field with the script: > > on mouseUP > put the value of the clickline into tText > set itemdel to tab > put item 1 of tText into tText > find string tText in field "thetext" > end mouseUP > > > When I click on a line in the field RR finds the string in the field > "theText" and a second click on the same line finds the next > instance of the string in the same field. > > But if, on subsequent clicks, it fails to find the string in the > field "theText" on the current card, it goes looking for the string > on any other card with a field named "theText" > > Is there a way to do something like: > > find string tText in field "theText" ON THIS CARD > > So that it will not jump to other cards containing a field of the > same name and the same text. (Without having to go through the stack > and rename fields so that there are no duplicates?) > > In short, restrict the search to the current card. > Jim Ault Las Vegas From richmondmathewson at gmail.com Sun May 1 15:12:21 2011 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Sun, 01 May 2011 22:12:21 +0300 Subject: Typing my way to glory. Message-ID: <4DBDB095.3040302@gmail.com> Qhat a scunner, as we say in Scotland (or, at least, as this Scot says in Bulgaria): The problem with the insertion point jumping back to the end of the first line in a multi-line textFld seems to happen ONLY when the set the useUnicode to true is set; otherwise things go "as they should". Have tried a fair few things, but no joy yet I would jalouse one ought to be able to set the useUnicode to false briefly, to get the insertion point to stay "there", and then reset to true again; all THIS seems to do, is to return the insertion point to anywhere in the first line that was selected just prior to the insertion point being placed in one of the lower lines. Maks me gae queechy . . . :( Richmond. From dunbarx at aol.com Sun May 1 16:11:05 2011 From: dunbarx at aol.com (dunbarx at aol.com) Date: Sun, 01 May 2011 16:11:05 -0400 Subject: Find restricted to given card In-Reply-To: <81E9152B-C934-41B0-B3BC-08AAE4278187@sbcglobal.net> References: <81E9152B-C934-41B0-B3BC-08AAE4278187@sbcglobal.net> Message-ID: <8CDD653094E4E0B-1BE0-2A14E@webmail-d038.sysops.aol.com> I assumed that you were talking about grouped "backGround" fields that also would have had the same id. In your case, I see, those other fields may have the same name, but will certainly have different id's, so the native find restriction option works. I don't think there is a native way to do this with bg fields commonly used to hold data across multiple cards. You have to let LC do the work: on mouseUp lock screen put the id of this cd into currentCardID find yourString in veld nameOfYourField --can be a name now if the id of this cd <> currentCardID then go cd id currentCardID end mouseUp Ugly, but works, and simple. You will have to do this if you use "backGround" fields. Craig Newman -----Original Message----- From: James Hurley To: use-livecode at lists.runrev.com Sent: Sun, May 1, 2011 12:43 pm Subject: Re: Find restricted to given card Thanks John. That is perfect. I changed the line from: Find "jim" in field "theText" to: Find "jim" in field id the id of field "theText" Too lazy to even look up the number. Jim John Dixon Wrote > Hi Jim... > > Just had a quick test... two cards each with a field... > > on mouseUp > find "jim" in field id 1004 > end mouseUp > > Without using the id, it finds 'Jim' in both fields as you are seeing. Using the id of the field it only looks in the one field. > > be well _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From mcgrath3 at mac.com Sun May 1 16:17:45 2011 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Sun, 01 May 2011 16:17:45 -0400 Subject: on-rev writing to In-Reply-To: <5274771A-F532-4FAA-B405-E9D979E681F6@gmail.com> References: <4FD4DD19-AF1E-4314-9C05-41A79E074D98@mac.com> <5274771A-F532-4FAA-B405-E9D979E681F6@gmail.com> Message-ID: Thanks, Sarah, To complicate this I will be writing these files from within an LC app from different clients computers so that each clients app will create (if not present) a folder for them and then write a prefs text file, a text file and some images. I guess I can look into an iRev file. I just didn't get very far in understanding the 'best' ways to go about that. Thank you for looking into this for me. -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On May 1, 2011, at 5:11 AM, Sarah Reichelt wrote: > Tom, you cannot write directly to a server. > You can upload a file using your FTP login details. > But the best solution for your case is to have an irev file on the server that you can call using http://.... And send some data to via POST or GET. Then have the irev file do the actual writing. > > Not at my Mac right now, so can't give actual examples, but here is the process in untested code: > > In your script on the desktop: > > put "http://tom.on-rev.com/writeData.irev" into tURL > put "data=" & urlEncode(tDataToWrite) into tPostData > post tPostData to URL tURL > > > In the writeData.irev file on the server: > > put $_POST["data"] into tNewData > put tNewData into URL ("file:dataFile.txt") > > Images will work the same way, but you need to read in the data using binfile:, not file: > Then base64encode the binary data before POSTing it. > > Cheers, > Sarah > > > Sent from my iPad > > On 01/05/2011, at 1:58 AM, Thomas McGrath III wrote: > >> I need to know how to write to on-rev from within an iOS app. >> >> Is there a best practices around? >> >> I need to write a folder to my account and then write a text file and some images. >> >> Are there any sample stacks that show this? >> >> Is it as simple as put img 1 into url "http://etc." >> >> or is this something for libURL? ( I haven't used libURL before) >> >> Any guidance appreciated. >> >> -- Tom McGrath III >> http://lazyriver.on-rev.com >> 3mcgrath at comcast.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 jhurley0305 at sbcglobal.net Sun May 1 18:44:47 2011 From: jhurley0305 at sbcglobal.net (James Hurley) Date: Sun, 1 May 2011 15:44:47 -0700 Subject: Find restricted to the given card In-Reply-To: References: Message-ID: Craig, Not my situation but a good point. I'm surprised that RR didn't allow for greater level of specification in where to look, as in Find tWord in field [or "veld"] "myField" of this card Jim > I assumed that you were talking about grouped "backGround" fields that also would have had the same id. In your case, I see, those other fields may have the same name, but will certainly have different id's, so the native find restriction option works. > > > I don't think there is a native way to do this with bg fields commonly used to hold data across multiple cards. You have to let LC do the work: > > > on mouseUp > lock screen > put the id of this cd into currentCardID > find yourString in veld nameOfYourField --can be a name now > if the id of this cd <> currentCardID then go cd id currentCardID > end mouseUp > > > Ugly, but works, and simple. You will have to do this if you use "backGround" fields. > > > Craig Newman > > From mcgrath3 at mac.com Sun May 1 19:32:08 2011 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Sun, 01 May 2011 19:32:08 -0400 Subject: GLXFramework Message-ID: I am going through the screensteps tutorial/documents on how to use this framework and I notice that they reference some things that are not necessarily happening in the process. Like add a stack does not produce a dialog "Is this a window or a library?". Is this normal or expected? -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net From todd at geistinteractive.com Mon May 2 00:49:00 2011 From: todd at geistinteractive.com (Todd Geist) Date: Sun, 1 May 2011 21:49:00 -0700 Subject: GLXFramework In-Reply-To: References: Message-ID: I have just started working with it as well, and I spoke with Trevor about it. I think that the docs are bit out of date. So I would say yes that it is probably likely. However, I have managed to make some good progress with it and I am pretty out of shape LC wise having been gone since rev 2 something. Trevor and the google group are very helpful. And the docs do contain lots of useful stuff Todd On Sun, May 1, 2011 at 4:32 PM, Thomas McGrath III wrote: > I am going through the screensteps tutorial/documents on how to use this > framework and I notice that they reference some things that are not > necessarily happening in the process. Like add a stack does not produce a > dialog "Is this a window or a library?". > > Is this normal or expected? > > -- Tom McGrath III > http://lazyriver.on-rev.com > 3mcgrath at comcast.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 > Todd Geist ------------------------------ geist interactive 805-419-9382 From mcgrath3 at mac.com Mon May 2 01:05:26 2011 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Mon, 02 May 2011 01:05:26 -0400 Subject: GLXFramework In-Reply-To: References: Message-ID: I have corrupted the launcher.rev twice now trying to include externals int the framework. I don't know what I will do when I need the externals, yet. When I include them in the standalone builder they don't show up with the Mac builds. THe windows builds do include the externals. So if I move the mac ones by hand I get an error launching saying it can't load the externals. I guess I gotta go to the google group you mentioned. -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On May 2, 2011, at 12:49 AM, Todd Geist wrote: > I have just started working with it as well, and I spoke with Trevor about > it. I think that the docs are bit out of date. So I would say yes that it > is probably likely. > > > However, I have managed to make some good progress with it and I am pretty > out of shape LC wise having been gone since rev 2 something. Trevor and the > google group are very helpful. And the docs do contain lots of useful stuff > > Todd > > > On Sun, May 1, 2011 at 4:32 PM, Thomas McGrath III wrote: > >> I am going through the screensteps tutorial/documents on how to use this >> framework and I notice that they reference some things that are not >> necessarily happening in the process. Like add a stack does not produce a >> dialog "Is this a window or a library?". >> >> Is this normal or expected? >> >> -- Tom McGrath III >> http://lazyriver.on-rev.com >> 3mcgrath at comcast.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 >> > > > Todd Geist > ------------------------------ > geist interactive > 805-419-9382 > _______________________________________________ > use-livecode mailing list > use-livecode at 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 elementarysoftware.com Mon May 2 01:09:02 2011 From: scott at elementarysoftware.com (Scott Morrow) Date: Sun, 1 May 2011 22:09:02 -0700 Subject: iOS scroller blocking 2nd touch event Message-ID: <7C4FF344-626F-402F-B89F-A48E805C512C@elementarysoftware.com> I am using a "2 finger touch" event to call a HUD panel (thanks, Ren?!) in iOS. This seemed to work well until I tried it on a card that also had a UIScrollView object. When the scroller is present I can only get the first touch. I'm testing for the first and second touch inside of a button which is outside of the scroller. Is there a property of the scroller I'm setting incorrectly? Thanks! Scott Morrow Elementary Software (Now with 20% less chalk dust!) web http://elementarysoftware.com/ email scott at elementarysoftware.com ------------------------------------------------------ From toolbook at kestner.de Mon May 2 03:37:57 2011 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Mon, 2 May 2011 09:37:57 +0200 Subject: AW: use of colors of an image? In-Reply-To: <1304100158404-3484252.post@n4.nabble.com> References: <001d01cc0667$cd5f3a30$681dae90$@de> <1304100158404-3484252.post@n4.nabble.com> Message-ID: <001b01cc089b$defe90c0$9cfbb240$@de> Hi Thunder, great, that's just what I need, perfect! But now I am still curious, what the eight colors of an image are for. Any hint? Thanks, Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode-bounces at lists.runrev.com [mailto:use-livecode- > bounces at lists.runrev.com] Im Auftrag von Thunder > Gesendet: Freitag, 29. April 2011 20:03 > An: use-revolution at lists.runrev.com > Betreff: Re: use of colors of an image? > > <What I would like to have is a "hilite blend level" as a kind > of "hilite > icon" or "hilite color", with which I could show another > state of the image, > when clicked.> > > Maybe colorOverlay will do what you want... > > More info : > http://runtime-revolution.278305.n4.nabble.com/A-Quick-Flash-td346550.html > http://runtime-revolution.278305.n4.nabble.com/A-Quick-Flash-td346550.html > > > http://runrev.com/newsletter/september/issue78/newsletter2.php > http://runrev.com/newsletter/september/issue78/newsletter2.php > > > -- > View this message in context: http://runtime- > revolution.278305.n4.nabble.com/use-of-colors-of-an-image- > tp3483532p3484252.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 sarah.reichelt at gmail.com Mon May 2 04:09:59 2011 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Mon, 2 May 2011 18:09:59 +1000 Subject: on-rev writing to In-Reply-To: References: <4FD4DD19-AF1E-4314-9C05-41A79E074D98@mac.com> <5274771A-F532-4FAA-B405-E9D979E681F6@gmail.com> Message-ID: Write the irev file first with placeholder variables instead of data that would be sent. e.g. Now test it from your browser by going to http://yourdomain.on-rev.com/writeData.irev It should display the OK and you should see the folder & file created. Once that is working, you can start sending the data to the irev file, perhaps setting this up one section at a time. So you could change to calling http://yourdomain.on-rev.com/writeData.irev?foldername=tom And change the line in the irev file to: put $_GET["foldername"] into tFolderName Then test that this still writes to the correct file. Just build up the structure gradually until it does everything you need. Cheers, Sarah On Mon, May 2, 2011 at 6:17 AM, Thomas McGrath III wrote: > Thanks, Sarah, > > To complicate this I will be writing these files from within an LC app from different clients computers so that each clients app will create (if not present) a folder for them and then write a prefs text file, a text file and some images. > > I guess I can look into an iRev file. I just didn't get very far in understanding the 'best' ways to go about that. > > Thank you for looking into this for me. > > -- Tom McGrath III > http://lazyriver.on-rev.com > 3mcgrath at comcast.net > > On May 1, 2011, at 5:11 AM, Sarah Reichelt wrote: > >> Tom, you cannot write directly to a server. >> You can upload a file using your FTP login details. >> But the best solution for your case is to have an irev file on the server that you can call using http://.... And send some data to via POST or GET. Then have the irev file do the actual writing. >> >> Not at my Mac right now, so can't give actual examples, but here is the process in untested code: >> >> In your script on the desktop: >> >> put "http://tom.on-rev.com/writeData.irev" into tURL >> put "data=" & urlEncode(tDataToWrite) into tPostData >> post tPostData to URL tURL >> >> >> In the writeData.irev file on the server: >> >> put $_POST["data"] into tNewData >> put tNewData into URL ("file:dataFile.txt") >> >> Images will work the same way, but you need to read in the data using binfile:, not file: >> Then base64encode the binary data before POSTing it. >> >> Cheers, >> Sarah >> >> >> Sent from my iPad >> >> On 01/05/2011, at 1:58 AM, Thomas McGrath III wrote: >> >>> I need to know how to write to on-rev from within an iOS app. >>> >>> Is there a best practices around? >>> >>> I need to write a folder to my account and then write a text file and some images. >>> >>> Are there any sample stacks that show this? >>> >>> Is it as simple as put img 1 into url "http://etc." >>> >>> or is this something for libURL? ( I haven't used libURL before) >>> >>> Any guidance appreciated. >>> >>> -- Tom McGrath III >>> http://lazyriver.on-rev.com >>> 3mcgrath at comcast.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 toolbook at kestner.de Mon May 2 04:44:41 2011 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Mon, 2 May 2011 10:44:41 +0200 Subject: OT: are 72dpi still state of the art for screen design? Message-ID: <001d01cc08a5$31a9f630$94fde290$@de> Hi, from the 90th the appropriate resolution for images for screen design was 72dpi. When looking around I see more often images with 96dpi and in the iWorld we speak about the retina display with xxdpi and when looking into the display properties of my windows machine, the textsize is a 9pt font with 96dpi (I don't know the sense of this 96dpi on a 72dpi display) Working with LiveCode and a "standard Flatscreen" on a windows machine I still don't see any quality difference in LC when importing the same image with same width with 72, 96 or more dpi. So obviously most screens (Windows, Mac) today still have a resolution of 72dpi and every dpi pixel more is dead freight. Only exception so far I know is the retina display from the iPhone and perhaps some other new smartphones. What I would like to know is, what you folks are doing today. Are you still shrinking your images to 72dpi or are you using 96dpi prophylactic in case the resolutions of standard screens switch to 96dpi some day, or even more? Any experience welcome Tiemo From m.schonewille at economy-x-talk.com Mon May 2 05:30:51 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 2 May 2011 11:30:51 +0200 Subject: AW: use of colors of an image? In-Reply-To: <001b01cc089b$defe90c0$9cfbb240$@de> References: <001d01cc0667$cd5f3a30$681dae90$@de> <1304100158404-3484252.post@n4.nabble.com> <001b01cc089b$defe90c0$9cfbb240$@de> Message-ID: <198130FE-A07E-4AF4-8EA5-9F3A3C1BFA4B@economy-x-talk.com> Hi Tiemo, I don't have a real answer, but I'll try. Those colours are the colour properties of every object in Rev, but I don't think they work for image objects. I suspect this is a bug, because I would expect to be able to change the border, top, bottom and shadow colours. Perhaps, this did work in an old version of MetaCard. I don't think that the front and back colours make any sense nowadays, but perhaps those worked too in an old version of MC. Perhaps someone who used MC before me can shed a light on this issue? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce On 2 mei 2011, at 09:37, Tiemo Hollmann TB wrote: > Hi Thunder, > great, that's just what I need, perfect! > > But now I am still curious, what the eight colors of an image are for. > Any hint? > > Thanks, Tiemo From toolbook at kestner.de Mon May 2 05:43:31 2011 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Mon, 2 May 2011 11:43:31 +0200 Subject: AW: AW: use of colors of an image? In-Reply-To: <198130FE-A07E-4AF4-8EA5-9F3A3C1BFA4B@economy-x-talk.com> References: <001d01cc0667$cd5f3a30$681dae90$@de> <1304100158404-3484252.post@n4.nabble.com> <001b01cc089b$defe90c0$9cfbb240$@de> <198130FE-A07E-4AF4-8EA5-9F3A3C1BFA4B@economy-x-talk.com> Message-ID: <003401cc08ad$6a98b960$3fca2c20$@de> Hi Mark, Yep, I was thinking something like that, good to know that I din't have missed again any fantastic feature :) 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: Montag, 2. Mai 2011 11:31 > An: How to use LiveCode > Betreff: Re: AW: use of colors of an image? > > Hi Tiemo, > > I don't have a real answer, but I'll try. > > Those colours are the colour properties of every object in Rev, but I don't > think they work for image objects. I suspect this is a bug, because I would > expect to be able to change the border, top, bottom and shadow colours. > Perhaps, this did work in an old version of MetaCard. > > I don't think that the front and back colours make any sense nowadays, but > perhaps those worked too in an old version of MC. Perhaps someone who used MC > before me can shed a light on this issue? > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > New: Download the Installer Maker Plugin 1.6 for LiveCode here > http://qery.us/ce > > On 2 mei 2011, at 09:37, Tiemo Hollmann TB wrote: > > > Hi Thunder, > > great, that's just what I need, perfect! > > > > But now I am still curious, what the eight colors of an image are for. > > Any hint? > > > > 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 m.schonewille at economy-x-talk.com Mon May 2 08:03:56 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 2 May 2011 14:03:56 +0200 Subject: Live LiveCode Code Event #21 Wrap-Up Message-ID: <319FFCE3-0353-4B91-B66E-A56A8F9C7EFB@economy-x-talk.com> Dear LiveCoders, Last Saturday, 30 April, we had another nice on-line gathering of LiveCode fans. This time we had 2 interesting presentations. Thierry demonstrated one of his latest LiveCode externals called SunnYmidi. SunnYmidi is a fast and easy-to-use music midi player with absolutely no latency. Unfortunately, Thierry didn't record his presentation. Chris is currently working on a project for iOS and showed how you can use scripts that help you make your projects, doing tasks that aren't built into the LiveCode IDE by default. You can watch Chris' presentation at http://www.ustream.tv/recorded/14384370 eHUG raffled off the e-book "Take Control of Running Windows on a Mac" courtesy of TidBITS. The e-book was won by Bernd. Go to http://www.ehug.info for eHUG's website and to http://www.tidbits.com for TidBITS' site. We are still looking for people who are willing to do a presentation. Please look at http://qery.us/oj for ideas and contact me by e-mail or through this web form http://qery.us/du to tell me when you're available. I hope to see you all at the event next time. We will be making announcements on this mailing list and at http://livecode.tv where you can also find a copy of this text. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce From coiin at verizon.net Mon May 2 08:38:02 2011 From: coiin at verizon.net (Colin Holgate) Date: Mon, 02 May 2011 08:38:02 -0400 Subject: OT: are 72dpi still state of the art for screen design? In-Reply-To: <001d01cc08a5$31a9f630$94fde290$@de> References: <001d01cc08a5$31a9f630$94fde290$@de> Message-ID: <1B25D696-9E88-4B65-9D07-5E9EB21B8CA5@verizon.net> If you are drawing text, and want the text to occupy an exact amount of screen area (perhaps because you are doing a page layout, and want to hold up the physical paper against your screen and see that it's the right size), then dpi may matter. If you're working on graphics in Photoshop, that are to be printed to a 300 dpi printer, then you may need that dpi in the image, and it would have nothing to do with the size of your screen. In the case of a bitmap that has an exact number of pixels width and height, and could be going to any sort of device, you would want to work in a standard way, and an easy way to do that would be to work in points per inch. A 'point' by definition is 1/72 of an inch. Hence seeing 72 pixels per inch being used. So, don't worry so much about dpi of images, just have them be wider or taller. For example, if you want the same background image to fill the width of an iPad, iPhone 4, and iPhone, it might be 1024 pixels across, 72 dpi, but by the time it appears on iPad it will 132 pixels per inch, on iPhone 4 it would be 326 pixels per inch (but actually the image is scaled down to 960 across too), and a 480 pixel image at 163 pixels per inch on iPhone. From ambassador at fourthworld.com Mon May 2 12:15:45 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 02 May 2011 09:15:45 -0700 Subject: Calling all RevLive webcast attendees Message-ID: <4DBED8B1.6030002@fourthworld.com> Many thanks to everyone at RunRev Ltd and all the attendees live on online for the best-ever RevLive last week. For all the good times we had, there was one minor drawback: it seems there was a glitch in which the chat logs for the simulcast of the RevLive sessions were not saved here at the conference. So if any of you have saved logs of those sessions they'll be very helpful for the presenters to better understand how well their talks anticipated the full range of questions and discussions they provoked. If you have saved logs of any sessions, please email them to me at ambassador at fourthworld.com and I'll forward them to the RunRev team. I'm especially interested in the logs for the session on using LiveCode on Linux, since that was mine and I'm always keen to find ways to improve my presentations. But I'm sure the other presenters feel the same, so any logs you have will be quite welcome. Thanks in advance - -- 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 bvg at mac.com Mon May 2 14:18:41 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Mon, 02 May 2011 11:18:41 -0700 Subject: [Invitation] Post-Conference Bay area dinner Message-ID: Hello Dearest coder If you are still in the Bay area, maybe you'd like to meet some people again in a smaller circle the full on conference? We have decided to do a evening dinner meeting in Berkeley on this Wednesday. If you're interested, please mail me off list. Once we know roughly how many people are coming, Mark Wieder decides on a venue, and I'll mail you back. Cheers Bj?rnke From andrew at rjdfarm.com Mon May 2 17:51:32 2011 From: andrew at rjdfarm.com (Andrew Kluthe) Date: Mon, 2 May 2011 16:51:32 -0500 Subject: Cleaning Exif Data from an image Message-ID: I do not know much about image manipulation in livecode or in general. But, I am looking for a way to scrub exif data off an image easily and without loss to the picture. There are libraries in php that let me do this, but I would really like a standalone tool that I could automate the process. Has anyone done this or know where to get started? Thanks, Andrew From mwieder at ahsoftware.net Mon May 2 18:02:38 2011 From: mwieder at ahsoftware.net (mwieder at ahsoftware.net) Date: Mon, 2 May 2011 17:02:38 -0500 Subject: Cleaning Exif Data from an image In-Reply-To: References: Message-ID: <1201b8df049e2b835190cf87143f902b.squirrel@odin.on-rev.com> > Has anyone done this or know where to get started? http://www.imagemagick.org/ -- Mark Wieder mwieder at ahsoftware.net From peterwawood at gmail.com Mon May 2 18:52:32 2011 From: peterwawood at gmail.com (Peter W A Wood) Date: Tue, 3 May 2011 06:52:32 +0800 Subject: Cleaning Exif Data from an image In-Reply-To: References: Message-ID: On Tuesday, 3 May 2011, Andrew Kluthe wrote: > I do not know much about image manipulation in livecode or in general. But, > I am looking for a way to scrub exif data off an image easily and without > loss to the picture. There are libraries in php that let me do this, but I > would really like a standalone tool that I could automate the process. > > Has anyone done this or know where to get started? > > > Thanks, > > Andrew If you have PHP and the libraries installed on the machine, you can run PHP from the command line. Regards Peter From warren at warrensweb.us Mon May 2 19:38:51 2011 From: warren at warrensweb.us (Warren Samples) Date: Mon, 2 May 2011 18:38:51 -0500 Subject: Cleaning Exif Data from an image In-Reply-To: References: Message-ID: <201105021838.51779.warren@warrensweb.us> On Monday, May 02, 2011 04:51:32 PM Andrew Kluthe wrote: > I do not know much about image manipulation in livecode or in general. But, > I am looking for a way to scrub exif data off an image easily and without > loss to the picture. There are libraries in php that let me do this, but I > would really like a standalone tool that I could automate the process. > > Has anyone done this or know where to get started? > > > Thanks, > > Andrew > _______________________________________________ Hi Andrew, Google should turn up plenty of ideas. This seems to be a fairly common interest. Photoshop will save files without metadata if you tell it to, if you've got it. There are plenty of seemingly feature-full tools to add, adit and remove various types of metadata, for a price. I recall seeing several free and or low cost utilities on Versiontracker in the past which were designed specifically to optimize images (typically jpegs and pngs) for web use which remove such metadata as a part of that optimization. Here are a some links you may find interesting: http://imageoptim.pornel.net http://www.aboutonlinetips.com/optimize-and-compress-png-files/ http://mansurovs.com/how-to-delete-exif-data http://download.cnet.com/SmallImage/3000-2193_4-55684.html http://www.rlvision.com/exif/about.asp Good luck! From andrew at rjdfarm.com Mon May 2 20:32:39 2011 From: andrew at rjdfarm.com (Andrew Kluthe) Date: Mon, 2 May 2011 17:32:39 -0700 (PDT) Subject: Cleaning Exif Data from an image In-Reply-To: <201105021838.51779.warren@warrensweb.us> References: <201105021838.51779.warren@warrensweb.us> Message-ID: <1304382759466-3491426.post@n4.nabble.com> I should have been more clear. I am looking to develop a small livecode standalone that does this easily. Installing php or python on a system isn't really what I am looking for. I am trying to make this incredibly simple for non-technical people. Installing imagemagick on install of the program might work, but ideally I am looking to clean the image data in livecode only. I would prefer the user didn't have to install my program, instead just run it from a single standalone. If this is just impossible, I already have a method using python that works quite well. Also, I am working on and for the windows 7 platform. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Cleaning-Exif-Data-from-an-image-tp3491102p3491426.html Sent from the Revolution - User mailing list archive at Nabble.com. From mcgrath3 at mac.com Mon May 2 22:25:50 2011 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Mon, 02 May 2011 22:25:50 -0400 Subject: GLXFramework In-Reply-To: References: Message-ID: <2FF0300C-370A-45B7-9031-35F5FC0EAB4C@mac.com> One good thing about attempting to use the GLXframework is that I "found" all of my old plugins and started to use them again. It is like old friends come to visit. Save and Archive, Auto Save, Layout Manager. tm|color, tm|gradient, tm|audio, Inspection Gadget, etc. One thing is the altPlugins no longer update and Remo & (what ever else it has been called) still works but has no support. Most of these have not been updated in years. I think everyone has been real busy the past few years not to update these old great tools. FYI P.S. I stopped using the GLX Framework because I can't get past a few problems in the tutorials. -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On May 2, 2011, at 1:05 AM, Thomas McGrath III wrote: > I have corrupted the launcher.rev twice now trying to include externals int the framework. I don't know what I will do when I need the externals, yet. > > When I include them in the standalone builder they don't show up with the Mac builds. THe windows builds do include the externals. So if I move the mac ones by hand I get an error launching saying it can't load the externals. > > I guess I gotta go to the google group you mentioned. > > -- Tom McGrath III > http://lazyriver.on-rev.com > 3mcgrath at comcast.net > > On May 2, 2011, at 12:49 AM, Todd Geist wrote: > >> I have just started working with it as well, and I spoke with Trevor about >> it. I think that the docs are bit out of date. So I would say yes that it >> is probably likely. >> >> >> However, I have managed to make some good progress with it and I am pretty >> out of shape LC wise having been gone since rev 2 something. Trevor and the >> google group are very helpful. And the docs do contain lots of useful stuff >> >> Todd >> >> >> On Sun, May 1, 2011 at 4:32 PM, Thomas McGrath III wrote: >> >>> I am going through the screensteps tutorial/documents on how to use this >>> framework and I notice that they reference some things that are not >>> necessarily happening in the process. Like add a stack does not produce a >>> dialog "Is this a window or a library?". >>> >>> Is this normal or expected? >>> >>> -- Tom McGrath III >>> http://lazyriver.on-rev.com >>> 3mcgrath at comcast.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 >>> >> >> >> Todd Geist >> ------------------------------ >> geist interactive >> 805-419-9382 >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mcgrath3 at mac.com Mon May 2 22:28:00 2011 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Mon, 02 May 2011 22:28:00 -0400 Subject: Cleaning Exif Data from an image In-Reply-To: <1304382759466-3491426.post@n4.nabble.com> References: <201105021838.51779.warren@warrensweb.us> <1304382759466-3491426.post@n4.nabble.com> Message-ID: <8690568C-EB20-4869-9F53-98B522AE9008@mac.com> Andrew, You can run python from within Livecode!?! FYI HTHs -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On May 2, 2011, at 8:32 PM, Andrew Kluthe wrote: > I should have been more clear. I am looking to develop a small livecode > standalone that does this easily. Installing php or python on a system isn't > really what I am looking for. I am trying to make this incredibly simple for > non-technical people. > > Installing imagemagick on install of the program might work, but ideally I > am looking to clean the image data in livecode only. I would prefer the user > didn't have to install my program, instead just run it from a single > standalone. > > If this is just impossible, I already have a method using python that works > quite well. > > Also, I am working on and for the windows 7 platform. > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Cleaning-Exif-Data-from-an-image-tp3491102p3491426.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 stephenREVOLUTION2 at barncard.com Mon May 2 22:56:44 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Mon, 2 May 2011 19:56:44 -0700 Subject: GLXFramework In-Reply-To: <2FF0300C-370A-45B7-9031-35F5FC0EAB4C@mac.com> References: <2FF0300C-370A-45B7-9031-35F5FC0EAB4C@mac.com> Message-ID: Remo is still an active, viable product and Jerry Daniels does provide support. I use it every day. On 2 May 2011 19:25, Thomas McGrath III wrote: > > One thing is the altPlugins no longer update and Remo & (what ever else it > has been called) still works but has no support. > > > -- Tom McGrath III > Stephen Barncard San Francisco Ca. USA more about sqb From jperryl at ecs.fullerton.edu Mon May 2 23:03:38 2011 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Mon, 2 May 2011 20:03:38 -0700 (PDT) Subject: LC in Education In-Reply-To: References: <2FF0300C-370A-45B7-9031-35F5FC0EAB4C@mac.com> Message-ID: Greetings, all! We had not one but TWO lovely little LC in Education presentations at the conference (the second of which featured Larry Lesler showing us something he's working on, and which went on for two straight hours!) and, as a means of keeping all the educators or those using LC in some sort of educational setting or other use connected and in communication with one another, have established a Facebook group which I hope many others will join and find useful: http://www.facebook.com/pages/LiveCode-in-Education/198010186903117 Thanks to everyone who attended and participated! Judy From andrew at rjdfarm.com Mon May 2 23:16:14 2011 From: andrew at rjdfarm.com (Andrew Kluthe) Date: Mon, 2 May 2011 20:16:14 -0700 (PDT) Subject: Cleaning Exif Data from an image In-Reply-To: <8690568C-EB20-4869-9F53-98B522AE9008@mac.com> References: <201105021838.51779.warren@warrensweb.us> <1304382759466-3491426.post@n4.nabble.com> <8690568C-EB20-4869-9F53-98B522AE9008@mac.com> Message-ID: <1304392574376-3491616.post@n4.nabble.com> Yeah, that is what I am doing now. ActivePython is like 45 megs though. :\ Trying to keep file sizes small. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Cleaning-Exif-Data-from-an-image-tp3491102p3491616.html Sent from the Revolution - User mailing list archive at Nabble.com. From coiin at verizon.net Mon May 2 23:16:34 2011 From: coiin at verizon.net (Colin Holgate) Date: Mon, 02 May 2011 23:16:34 -0400 Subject: LC in Education In-Reply-To: References: <2FF0300C-370A-45B7-9031-35F5FC0EAB4C@mac.com> Message-ID: On May 2, 2011, at 11:03 PM, Judy Perry wrote: > > We had not one but TWO lovely little LC in Education presentations at the conference (the second of which featured Larry Lesler Is he related to Larry Telser? From jacque at hyperactivesw.com Mon May 2 23:21:08 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 02 May 2011 22:21:08 -0500 Subject: iOS scroller blocking 2nd touch event In-Reply-To: <7C4FF344-626F-402F-B89F-A48E805C512C@elementarysoftware.com> References: <7C4FF344-626F-402F-B89F-A48E805C512C@elementarysoftware.com> Message-ID: <4DBF74A4.3090905@hyperactivesw.com> On 5/2/11 12:09 AM, Scott Morrow wrote: > I am using a "2 finger touch" event to call a HUD panel (thanks, > Ren?!) in iOS. This seemed to work well until I tried it on a card > that also had a UIScrollView object. When the scroller is present I > can only get the first touch. I'm testing for the first and second > touch inside of a button which is outside of the scroller. Is there > a property of the scroller I'm setting incorrectly? Thanks! Have you tried version 4.6.1? There were some bugs in the scroller that got fixed with that version. Also, if you are already using that version, play with canCancelTouches and cancelTouches to adjust the behavior. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Mon May 2 23:26:49 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 02 May 2011 22:26:49 -0500 Subject: AW: AW: use of colors of an image? In-Reply-To: <003401cc08ad$6a98b960$3fca2c20$@de> References: <001d01cc0667$cd5f3a30$681dae90$@de> <1304100158404-3484252.post@n4.nabble.com> <001b01cc089b$defe90c0$9cfbb240$@de> <198130FE-A07E-4AF4-8EA5-9F3A3C1BFA4B@economy-x-talk.com> <003401cc08ad$6a98b960$3fca2c20$@de> Message-ID: <4DBF75F9.50702@hyperactivesw.com> On 5/2/11 4:43 AM, Tiemo Hollmann TB wrote: > Hi Mark, > Yep, I was thinking something like that, good to know that I din't have > missed again any fantastic feature :) The colors map to the first 8 colors of the image palette, if it has one. You can't use them for much. It's historical, since MetaCard. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jperryl at ecs.fullerton.edu Mon May 2 23:45:51 2011 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Mon, 2 May 2011 20:45:51 -0700 (PDT) Subject: LC in Education In-Reply-To: References: <2FF0300C-370A-45B7-9031-35F5FC0EAB4C@mac.com> Message-ID: :-p Sorry, my bad. He IS Larry Tesler. Judy On Mon, 2 May 2011, Colin Holgate wrote: > Is he related to Larry Telser? From jacque at hyperactivesw.com Tue May 3 00:00:25 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 02 May 2011 23:00:25 -0500 Subject: Cleaning Exif Data from an image In-Reply-To: <1304382759466-3491426.post@n4.nabble.com> References: <201105021838.51779.warren@warrensweb.us> <1304382759466-3491426.post@n4.nabble.com> Message-ID: <4DBF7DD9.70107@hyperactivesw.com> On 5/2/11 7:32 PM, Andrew Kluthe wrote: > I should have been more clear. I am looking to develop a small > livecode standalone that does this easily. Installing php or python > on a system isn't really what I am looking for. I am trying to make > this incredibly simple for non-technical people. > > Installing imagemagick on install of the program might work, but > ideally I am looking to clean the image data in livecode only. I > would prefer the user didn't have to install my program, instead just > run it from a single standalone. You can import the image, and then re-export it as jpeg. The engine will decompress the original and strip the exif data. When you export, you may lost some quality, but it may not be noticable. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From andrew at rjdfarm.com Tue May 3 00:10:43 2011 From: andrew at rjdfarm.com (Andrew Kluthe) Date: Mon, 2 May 2011 21:10:43 -0700 (PDT) Subject: Cleaning Exif Data from an image In-Reply-To: <4DBF7DD9.70107@hyperactivesw.com> References: <201105021838.51779.warren@warrensweb.us> <1304382759466-3491426.post@n4.nabble.com> <4DBF7DD9.70107@hyperactivesw.com> Message-ID: <1304395843814-3491661.post@n4.nabble.com> Sorry, I have not worked much with images in livecode. Bring an image into an image object and export a snapshot of the image control? Is that how you import and then export the jpeg? -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Cleaning-Exif-Data-from-an-image-tp3491102p3491661.html Sent from the Revolution - User mailing list archive at Nabble.com. From coiin at verizon.net Tue May 3 00:45:12 2011 From: coiin at verizon.net (Colin Holgate) Date: Tue, 03 May 2011 00:45:12 -0400 Subject: LC in Education In-Reply-To: References: <2FF0300C-370A-45B7-9031-35F5FC0EAB4C@mac.com> Message-ID: <696CE106-BEB1-474F-9282-8863E8CAAC96@verizon.net> On May 2, 2011, at 11:45 PM, Judy Perry wrote: > > Sorry, my bad. He IS Larry Tesler. I suspected as much. For anyone who doesn't know who Larry is, he worked on Smalltalk, at Xerox Parc, which led on to what Apple did later, and he was a lead person on the Lisa team. From warren at warrensweb.us Tue May 3 00:58:52 2011 From: warren at warrensweb.us (Warren Samples) Date: Mon, 2 May 2011 23:58:52 -0500 Subject: Cleaning Exif Data from an image In-Reply-To: <4DBF7DD9.70107@hyperactivesw.com> References: <1304382759466-3491426.post@n4.nabble.com> <4DBF7DD9.70107@hyperactivesw.com> Message-ID: <201105022358.52046.warren@warrensweb.us> On Monday, May 02, 2011 11:00:25 PM J. Landman Gay wrote: > You can import the image, and then re-export it as jpeg. The engine will > decompress the original and strip the exif data. When you export, you > may lost some quality, but it may not be noticable. This is a really elegantly simple solution and works perfectly except that you may experience an increase in file size unless you set the JPEGQuality before you export. Running a 50.4K jpeg through exiftool to delete all metadata reduced the file size to 39.4K. Importing that 50.4K image as a control in Livecode and exporting a snapshot resulted in a file size of 140.2K. Setting the JPEGQuality to 75 prior to export results in a file size of 40.6K. Exiftool is available for all platforms as a gui and cli tool, for those interested. As a cli tool, it can be use with Livecode's 'shell()' to return exif data as well as write/edit/delete it. http://www.sno.phy.queensu.ca/~phil/exiftool/ Warren From tvogelaar at de-mare.nl Tue May 3 01:15:52 2011 From: tvogelaar at de-mare.nl (Terry Vogelaar) Date: Tue, 3 May 2011 07:15:52 +0200 Subject: OT: are 72dpi still state of the art for screen design? In-Reply-To: References: Message-ID: <5E5E6E30-D588-43C0-99F0-A59475F81695@de-mare.nl> Hi Tiemo, I like to supplement to what Colin is saying, that as long as we talk about screens, there is practically no way to tell how large a pixel is. So you can fill in whatever measure suits you. On screens, the only 'true' measurement is pixels. Currently I have an external screen attached to my iMac. The built-in one is 110 ppi (pixels per inch; dpi is only correct for printers), and the other screen is 86 ppi. Should it recalculate all measurements to compensate that difference? I don't think so, and neither do the makers of the system software. So when I drag a window from one monitor to another, I see it enlarge. The OS actually cannot know how large a pixel is on the monitor it is displaying on. Take LCD projectors for example. I use an 1024 x 768 pixel setting to project on a screen, but there is no way for the software to know how large a pixel on the screen is. It might be in a range between 5 and 25 ppi. So, you can follow the old Macintosh convention of 72 ppi, or Windows with its 96 ppi standard. Both are equally incorrect and irrelevant. Use whatever value that suits you. The number of pixels per inch only starts to matter when you print the image. Only then the dimensions of the image become measurable with a ruler. Terry From andrew at rjdfarm.com Tue May 3 01:26:40 2011 From: andrew at rjdfarm.com (Andrew Kluthe) Date: Mon, 2 May 2011 22:26:40 -0700 (PDT) Subject: Cleaning Exif Data from an image In-Reply-To: <201105022358.52046.warren@warrensweb.us> References: <201105021838.51779.warren@warrensweb.us> <1304382759466-3491426.post@n4.nabble.com> <4DBF7DD9.70107@hyperactivesw.com> <201105022358.52046.warren@warrensweb.us> Message-ID: <1304400400991-3491752.post@n4.nabble.com> Thank you all for the advice. I have this sorted out nicely now. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Cleaning-Exif-Data-from-an-image-tp3491102p3491752.html Sent from the Revolution - User mailing list archive at Nabble.com. From toolbook at kestner.de Tue May 3 04:16:42 2011 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Tue, 3 May 2011 10:16:42 +0200 Subject: AW: OT: are 72dpi still state of the art for screen design? In-Reply-To: <5E5E6E30-D588-43C0-99F0-A59475F81695@de-mare.nl> References: <5E5E6E30-D588-43C0-99F0-A59475F81695@de-mare.nl> Message-ID: <002e01cc096a$73182f90$59488eb0$@de> Hi Colin and Terry, thank you both for your pixel coaching. I wasn't aware of all those details. Thanks for jumping in Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode-bounces at lists.runrev.com [mailto:use-livecode- > bounces at lists.runrev.com] Im Auftrag von Terry Vogelaar > Gesendet: Dienstag, 3. Mai 2011 07:16 > An: use-livecode at lists.runrev.com > Betreff: Re: OT: are 72dpi still state of the art for screen design? > > Hi Tiemo, > > I like to supplement to what Colin is saying, that as long as we talk about > screens, there is practically no way to tell how large a pixel is. So you can > fill in whatever measure suits you. On screens, the only 'true' measurement is > pixels. > > Currently I have an external screen attached to my iMac. The built-in one is > 110 ppi (pixels per inch; dpi is only correct for printers), and the other > screen is 86 ppi. Should it recalculate all measurements to compensate that > difference? I don't think so, and neither do the makers of the system > software. So when I drag a window from one monitor to another, I see it > enlarge. > > The OS actually cannot know how large a pixel is on the monitor it is > displaying on. Take LCD projectors for example. I use an 1024 x 768 pixel > setting to project on a screen, but there is no way for the software to know > how large a pixel on the screen is. It might be in a range between 5 and 25 > ppi. > > So, you can follow the old Macintosh convention of 72 ppi, or Windows with its > 96 ppi standard. Both are equally incorrect and irrelevant. Use whatever value > that suits you. The number of pixels per inch only starts to matter when you > print the image. Only then the dimensions of the image become measurable with > a ruler. > > > Terry > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 elementarysoftware.com Tue May 3 05:22:01 2011 From: scott at elementarysoftware.com (Scott Morrow) Date: Tue, 3 May 2011 02:22:01 -0700 Subject: iOS scroller blocking 2nd touch event In-Reply-To: <4DBF74A4.3090905@hyperactivesw.com> References: <7C4FF344-626F-402F-B89F-A48E805C512C@elementarysoftware.com> <4DBF74A4.3090905@hyperactivesw.com> Message-ID: I am using 4.6.1 but I hadn't experimented with "canCancelTouches". I don't completely understand how / why the messages are being delivered (or not) but was able to get it working by turning off the "visible" property of the scroller when the first touch event was triggered. This allowed a second touch to reach the target. Thanks for the suggestions... "canCancelTouches" put me on the right track. -- Scott Morrow Elementary Software (Now with 20% less chalk dust!) web http://elementarysoftware.com/ email scott at elementarysoftware.com ------------------------------------------------------ On May 2, 2011, at 8:21 PM, J. Landman Gay wrote: > On 5/2/11 12:09 AM, Scott Morrow wrote: >> I am using a "2 finger touch" event to call a HUD panel (thanks, >> Ren?!) in iOS. This seemed to work well until I tried it on a card >> that also had a UIScrollView object. When the scroller is present I >> can only get the first touch. I'm testing for the first and second >> touch inside of a button which is outside of the scroller. Is there >> a property of the scroller I'm setting incorrectly? Thanks! > > Have you tried version 4.6.1? There were some bugs in the scroller that got fixed with that version. Also, if you are already using that version, play with canCancelTouches and cancelTouches to adjust the behavior. > > -- > 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 mcgrath3 at mac.com Tue May 3 09:27:50 2011 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Tue, 03 May 2011 09:27:50 -0400 Subject: GLXFramework In-Reply-To: <2FF0300C-370A-45B7-9031-35F5FC0EAB4C@mac.com> References: <2FF0300C-370A-45B7-9031-35F5FC0EAB4C@mac.com> Message-ID: <5E149CC0-EFB2-4AB7-BD5E-69DA7BE7088A@mac.com> Todd, Have you gotten any further with the framework? I am mostly concerned with the ability to auto check for updates. I am willing to give up on the built-in undo and even most of the externals for now. But with out the auto check for updates I can't really use this framework. Q: Do you need the custom URL Lib to be installed in order to do the auto updates? Tom On May 2, 2011, at 12:49 AM, Todd Geist wrote: > I have just started working with it as well, and I spoke with Trevor about > it. I think that the docs are bit out of date. So I would say yes that it > is probably likely. > > > However, I have managed to make some good progress with it and I am pretty > out of shape LC wise having been gone since rev 2 something. Trevor and the > google group are very helpful. And the docs do contain lots of useful stuff > > Todd From kray at sonsothunder.com Tue May 3 09:33:03 2011 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 03 May 2011 08:33:03 -0500 Subject: menu icon in OS X In-Reply-To: <4DACB198.9010105@hyperactivesw.com> Message-ID: >> I Googled a lot, but I haven't found it... >> >> I'd like to have a little menu icon to the right on closing my app in the >> Mac menu bar, is that possible at all. And when a user clicks the icon a >> menu appears. If you've ever seen the dropbox menu icon, you know what I >> mean. Any small snippet (as usual ;-) highly appreciated. > > Check the "Status icon support (4.5 ? experimental)" section of the > Release Notes. You can open the Release Notes from the Help menu in the > IDE. This is a relatively new feature that allows you to put a status > icon in the Mac menu bar (or system tray on Windows.) It is experimental > for now, which means it may have bugs or irregularities. > > I don't think the icon will remain if you quit your app. You'll need to > just hide your stack instead of quitting. Sorry to be late to the party on this, but currently the status icon support in LC is for Windows only (at least according to the Read Me). I have a step-by-step tutorial on setting one up using Xcode, that includes calling AppleScript from any status menu items you create (which would allow you to reopen your app, or anything else AS supports). Here's the URL: http://www.sonsothunder.com/devres/livecode/tutorials/StatusMenu.html Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From kray at sonsothunder.com Tue May 3 09:50:07 2011 From: kray at sonsothunder.com (Ken Ray) Date: Tue, 03 May 2011 08:50:07 -0500 Subject: Save screenshots from every card in a stack In-Reply-To: Message-ID: > This small piece of code allows to save a > screenshot from every card in a stack. > > To use this code in your stack, you should > provide a valid filepath in your platform of > choice and use the actual name of your > stack. > > -- To save screenshots as PNG > -- --------------------------------------------------------- > repeat with i = 1 to the number of cards of this stack > > if i < 10 then > put "C:/myFile_00" & i & ".png" into tFile > else > put "C:/myFile_0" & i & ".png" into tFile > end if > > go to card i > export snapshot from this cd of stack "myStack" to file tFile as PNG > > end repeat > > > -- To save screenshots as JPEG > -- --------------------------------------------------------- > > set the JPEGQuality to 90 > > repeat with i = 1 to the number of cards of this stack > > if i < 10 then > put "C:/myFile_00" & i & ".jpg" into tFile > else > put "C:/myFile_0" & i & ".jpg" into tFile > end if > > go to card i > export snapshot from this cd of stack "myStack" to file tFile as JPEG > > end repeat Neat idea, Alejandro! The script is very straightforward, too... Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From maarten.koopmans at gmail.com Tue May 3 11:05:09 2011 From: maarten.koopmans at gmail.com (Maarten Koopmans) Date: Tue, 3 May 2011 17:05:09 +0200 Subject: menu icon in OS X In-Reply-To: References: <4DACB198.9010105@hyperactivesw.com> Message-ID: On Tue, May 3, 2011 at 3:33 PM, Ken Ray wrote: > >> I Googled a lot, but I haven't found it... > >> > >> I'd like to have a little menu icon to the right on closing my app in > the > >> Mac menu bar, is that possible at all. And when a user clicks the icon a > >> menu appears. If you've ever seen the dropbox menu icon, you know what I > >> mean. Any small snippet (as usual ;-) highly appreciated. > > > > Check the "Status icon support (4.5 ? experimental)" section of the > > Release Notes. You can open the Release Notes from the Help menu in the > > IDE. This is a relatively new feature that allows you to put a status > > icon in the Mac menu bar (or system tray on Windows.) It is experimental > > for now, which means it may have bugs or irregularities. > > > > I don't think the icon will remain if you quit your app. You'll need to > > just hide your stack instead of quitting. > > Sorry to be late to the party on this, but currently the status icon > support > in LC is for Windows only (at least according to the Read Me). > Better late than never :-) > > I have a step-by-step tutorial on setting one up using Xcode, that includes > calling AppleScript from any status menu items you create (which would > allow > you to reopen your app, or anything else AS supports). > > Here's the URL: > > http://www.sonsothunder.com/devres/livecode/tutorials/StatusMenu.html > Much appreciated, thanks. --Maarten From lists at mangomultimedia.com Tue May 3 11:33:08 2011 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 3 May 2011 11:33:08 -0400 Subject: the urlresponse ? In-Reply-To: References: Message-ID: On Thu, Apr 28, 2011 at 8:03 PM, Todd Geist wrote: > I am working with web apis using the put URL tURL form. While looking > through Trover's examples I found that he uses this property > > urlresponse > > to get the data from the response. This doesn't seem to be a Custom > property. This seems to be a property like htttpHeaders, but I can not find > any documentation on it anywhere. > > Can anyone help me clear this up? > The urlResponse is a global property that returns the data from the server that the last libURL request received. This is the same information that is returned in 'the result' for some URL commands. It was added so that you could get the server response when performing PUT and DELETE requests. Very helpful when working with RESTful APIs. It doesn't appear to be in the docs though it was in the release notes at one time. -- Trevor DeVore Blue Mango Learning Systems LiveCode Resources for Developers: http://livecode.bluemangolearning.com Get SQL Yoga as part of the Omegabundle for LiveCode 2011: Save 85% on essential tools for LiveCode development - omegabundle.com. From lists at mangomultimedia.com Tue May 3 11:37:03 2011 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 3 May 2011 11:37:03 -0400 Subject: Xmarks for Safari interferes with RevWeb installation In-Reply-To: References: Message-ID: On Sat, Apr 30, 2011 at 4:12 PM, Todd Geist wrote: > I just figured out that XMarks for safari will stop the RevWeb installer > cold. You get the message saying "To close all browsers" even though they > are all closed. > > If you go into Activity monitor and find xmarks helper and kill it RevWeb > will install just fine. > > Is there an official place I can go log this bug > http://quality.runrev.com/ if you have an account. Otherwise just send it to support at runrev.com. -- Trevor DeVore Blue Mango Learning Systems LiveCode Resources for Developers: http://livecode.bluemangolearning.com Get SQL Yoga as part of the Omegabundle for LiveCode 2011: Save 85% on essential tools for LiveCode development - omegabundle.com. From admin at FlexibleLearning.com Tue May 3 12:11:57 2011 From: admin at FlexibleLearning.com (FlexibleLearning) Date: Tue, 3 May 2011 17:11:57 +0100 Subject: [ANN] ChartMaker update released In-Reply-To: Message-ID: ChartMaker for LiveCode Version 2.1 build 47 A maintenance update is now available. It is free for all 2.1 registered users and a discounted price is available to version 2.0 users. Click the 'Check for updates' link in the software. There is a 30-day free trial if you do not yet have a licence. http://www.flexiblelearning.com/chartmaker/versioning/whatsnew.htm What's New in build 47 Trend Line improvements . The trend information can now be retrieved from any displayed trend line. See CMgetTrendInfo in the documentation for details. . Each trend line now includes a tooltip of the associated trend information. . Trend lines now display as expected when all values are the same. . Null values are now averaged from the other values. If the values cannot be resolved, no trend line is drawn. . Single point trend lines no longer throw an error. They are simply not drawn. Pie Chart improvements . Pie charts now resolve rounding errors and handle null values. Color Scheme improvements . Custom color schemes may now be defined in external text files. See ColorScheme in the documentation for details. Hugh Senior FLCo From bobs at twft.com Tue May 3 12:10:53 2011 From: bobs at twft.com (Bob Sneidar) Date: Tue, 3 May 2011 09:10:53 -0700 Subject: OT: are 72dpi still state of the art for screen design? In-Reply-To: <5E5E6E30-D588-43C0-99F0-A59475F81695@de-mare.nl> References: <5E5E6E30-D588-43C0-99F0-A59475F81695@de-mare.nl> Message-ID: <171A65DA-0F12-4908-8B50-B360539BB78C@twft.com> Hah hah! Try explaining all this to a graphic artist who never used a computer before! Years ago we had an excellent illustrator come to work for us to revamp all our corporate art and what have you. He had learned to do everything "conventionally" which is code for "old school" because at the time that is all they had. But they were just starting to use digital film processing, so I figured I'd let him in on that thinking he's be excited. He insisted that it was not presently (then) possible, and that the technology was 10 years away. His college instructor had said so, and what, did I know better than him?? So I produced a book cover for our next publication, and when I showed it to him I announced it had been done entirely digitally. That woke him up. All this talk about PPI and DPI brings back memories. Bob On May 2, 2011, at 10:15 PM, Terry Vogelaar wrote: > Hi Tiemo, > > I like to supplement to what Colin is saying, that as long as we talk about screens, there is practically no way to tell how large a pixel is. So you can fill in whatever measure suits you. On screens, the only 'true' measurement is pixels. > > Currently I have an external screen attached to my iMac. The built-in one is 110 ppi (pixels per inch; dpi is only correct for printers), and the other screen is 86 ppi. Should it recalculate all measurements to compensate that difference? I don't think so, and neither do the makers of the system software. So when I drag a window from one monitor to another, I see it enlarge. > > The OS actually cannot know how large a pixel is on the monitor it is displaying on. Take LCD projectors for example. I use an 1024 x 768 pixel setting to project on a screen, but there is no way for the software to know how large a pixel on the screen is. It might be in a range between 5 and 25 ppi. > > So, you can follow the old Macintosh convention of 72 ppi, or Windows with its 96 ppi standard. Both are equally incorrect and irrelevant. Use whatever value that suits you. The number of pixels per inch only starts to matter when you print the image. Only then the dimensions of the image become measurable with a ruler. > > > Terry > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jvalle at 1234web.net Tue May 3 13:21:16 2011 From: jvalle at 1234web.net (jvalle at 1234web.net) Date: Tue, 03 May 2011 19:21:16 +0200 Subject: LiveCode Summer Academy Message-ID: <20110503192115.DB07.83BAC89@1234web.net> Hi, this is my first message to the list... almost. A few days ago I received a message about that Summer Academy. I asked to sales the way to enroll, because I purchased license a couple of months ago, and they told me will take care to enroll me. But got no more news. Anybody there know if lessons started? If somebody from staff could help, please let me know steps to join the course. Thanks Jose From coiin at verizon.net Tue May 3 14:26:04 2011 From: coiin at verizon.net (Colin Holgate) Date: Tue, 03 May 2011 14:26:04 -0400 Subject: LiveCode Summer Academy In-Reply-To: <20110503192115.DB07.83BAC89@1234web.net> References: <20110503192115.DB07.83BAC89@1234web.net> Message-ID: <0AC2C693-2686-4355-A979-963F032C9D59@verizon.net> On May 3, 2011, at 1:21 PM, jvalle at 1234web.net wrote: > Anybody there know if lessons started? If somebody from staff could help, please let me know steps to join the course. Although it is intended for people who don't yet own LiveCode, they released that there is a need for people who recently bought it too, and I think they were looking into ways to include new users who happen to own LiveCode already. I haven't seen a date yet, but "Summer" suggests that it's after June 20th. From andrew at rjdfarm.com Tue May 3 14:29:21 2011 From: andrew at rjdfarm.com (Andrew Kluthe) Date: Tue, 3 May 2011 11:29:21 -0700 (PDT) Subject: Datagrid Multiple Column Sort In-Reply-To: References: <3CEE0CB8-A4D5-4C0D-85A3-AB5FE8A0F72F@twft.com> <995A1967-38A5-4206-9CEE-39A357F29EFE@twft.com> Message-ID: <1304447361151-3493206.post@n4.nabble.com> I am trying to use DGH to sort a list of farms in a datagrid first by county and then by townshipName. I implemented this script and it sorts only by the second criteria I listed to sort by. In this case it only sorts by townshipName. case "County" put the dgColumnSortDirection[pColumn] of me into tSortDirection -- get the sort direction SortDataByKey "County", "text", tSortDirection, "false" -- First criteria : sort by county SortDataByKey "TownshipName", "text", tSortDirection, "false" --Second criteria : sort by township HiliteAndStoreSortByColumn "County" -- Tell data grid to hilite column -- pass SortDataGridColumn break case "TownshipName" put the dgColumnSortDirection[pColumn] of me into tSortDirection -- get the sort direction SortDataByKey "County", "text", tSortDirection, "false" -- First criteria : sort by county SortDataByKey "TownshipName", "text", tSortDirection, "false" --Second criteria : sort by township HiliteAndStoreSortByColumn "County" -- Tell data grid to hilite column -- pass SortDataGridColumn break -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Datagrid-Multiple-Column-Sort-tp3258939p3493206.html Sent from the Revolution - User mailing list archive at Nabble.com. From andrew at rjdfarm.com Tue May 3 14:31:40 2011 From: andrew at rjdfarm.com (Andrew Kluthe) Date: Tue, 3 May 2011 11:31:40 -0700 (PDT) Subject: Datagrid Multiple Column Sort In-Reply-To: <1304447361151-3493206.post@n4.nabble.com> References: <3CEE0CB8-A4D5-4C0D-85A3-AB5FE8A0F72F@twft.com> <995A1967-38A5-4206-9CEE-39A357F29EFE@twft.com> <1304447361151-3493206.post@n4.nabble.com> Message-ID: <1304447500574-3493212.post@n4.nabble.com> Nevermind, I didn't realize that I had to pass SortDataGridColumn. I thought the directions said to disable it to disable the built in sort functions. I thought this was needed to do multicolumn sorting. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Datagrid-Multiple-Column-Sort-tp3258939p3493212.html Sent from the Revolution - User mailing list archive at Nabble.com. From support at ahsomme.com Tue May 3 14:55:24 2011 From: support at ahsomme.com (Paul Looney) Date: Tue, 3 May 2011 11:55:24 -0700 Subject: Stability in LC 4.5? In-Reply-To: <89049DB6-68D5-4A55-A65D-6FF50BF96124@gmail.com> References: <32c1e.29cc1f2d.39ce542a@aol.com> <4C9D3E54.8070908@hyperactivesw.com> <89049DB6-68D5-4A55-A65D-6FF50BF96124@gmail.com> Message-ID: <8937D8D9-20F6-4DCF-B3D6-CB09AF9EE15E@ahsomme.com> Peter, Did you get an answer from RunRev? PL On Sep 27, 2010, at 6:39 AM, Peter Brigham MD wrote: > I found I could crash 4.5 reliably by clicking on a certain button > in my rather complex clinical management stack. The button sets up > an enhanced find function then lists the cards on which a > textstring is found in a given field. I have not been able to track > down at which point in my script it fails. I sent in a bug report > to support at runvrev.com, with a crash log. Have not heard anything > back. Meanwhile I'm back to using 4.0, as I cannot afford > unexpected crashes in something I use daily. > > -- Peter > > Peter M. Brigham > pmbrig at gmail.com > http://home.comcast.net/~pmbrig > > > On Sep 24, 2010, at 8:12 PM, J. Landman Gay wrote: > >> On 9/24/10 2:21 PM, DunbarX at aol.com wrote: >>> I have had a few problems with rev 4.0. In the last few days I >>> have had a >>> handful of freezes with LC 4.5. Anyone else noticing this? I was >>> hoping for >>> more stability, not less. >>> >>> On G5, OS 10.4.11 >> >> It's been pretty solid for me, but I just gave up my only Leopard >> machine so I'm on a different configuration now. This is the kind >> of stuff that should go into a bug report though. Crashes/freezes >> are alway high priority items. Include a crash log if there's an >> entry for it in there. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> _______________________________________________ >> use-revolution mailing list >> use-revolution at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From m.schonewille at economy-x-talk.com Tue May 3 15:00:46 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Tue, 3 May 2011 21:00:46 +0200 Subject: Live LiveCode Code Event #22 Message-ID: Hi all, I'm still looking for presenters, for this Saturday. Does anyone feel like giving a talk? Please look at http://qery.us/ps for some ideas. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce From shaosean at wehostmacs.com Tue May 3 16:36:41 2011 From: shaosean at wehostmacs.com (Shao Sean) Date: Tue, 3 May 2011 16:36:41 -0400 Subject: Source code for QT external Message-ID: If you are still looking for it, download the file below, look in the "QuickTime" folder and unzip the source.. This is the old External SDK so I would recommend against actually using this stuff, but at least the code you are looking for is there.. http://support.runrev.com/tutorials/revexternalssdk.zip From jvalle at 1234web.net Tue May 3 16:39:50 2011 From: jvalle at 1234web.net (jvalle at 1234web.net) Date: Tue, 03 May 2011 22:39:50 +0200 Subject: LiveCode Summer Academy In-Reply-To: <0AC2C693-2686-4355-A979-963F032C9D59@verizon.net> References: <20110503192115.DB07.83BAC89@1234web.net> <0AC2C693-2686-4355-A979-963F032C9D59@verizon.net> Message-ID: <20110503223948.DB1F.83BAC89@1234web.net> I read something about starting in May thought, but probably am wrong. Thanks Colin -- Jose > > On May 3, 2011, at 1:21 PM, jvalle at 1234web.net wrote: > > > Anybody there know if lessons started? If somebody from staff could help, please let me know steps to join the course. > > > Although it is intended for people who don't yet own LiveCode, they released that there is a need for people who recently bought it too, and I think they were looking into ways to include new users who happen to own LiveCode already. > > I haven't seen a date yet, but "Summer" suggests that it's after June 20th. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bonnmike at gmail.com Tue May 3 17:02:01 2011 From: bonnmike at gmail.com (Mike Bonner) Date: Tue, 3 May 2011 15:02:01 -0600 Subject: LiveCode Summer Academy In-Reply-To: <20110503223948.DB1F.83BAC89@1234web.net> References: <20110503192115.DB07.83BAC89@1234web.net> <0AC2C693-2686-4355-A979-963F032C9D59@verizon.net> <20110503223948.DB1F.83BAC89@1234web.net> Message-ID: Theres this http://runrev.com/store/product/summer-academy-android-personal/ Says in the text it runs may 9th to june 27th. The purchase link itself is confusing since it says "starts june 27th" On Tue, May 3, 2011 at 2:39 PM, jvalle at 1234web.net wrote: > I read something about starting in May thought, but probably am wrong. > > Thanks Colin > -- > Jose > > > > > On May 3, 2011, at 1:21 PM, jvalle at 1234web.net wrote: > > > > > Anybody there know if lessons started? If somebody from staff could > help, please let me know steps to join the course. > > > > > > Although it is intended for people who don't yet own LiveCode, they > released that there is a need for people who recently bought it too, and I > think they were looking into ways to include new users who happen to own > LiveCode already. > > > > I haven't seen a date yet, but "Summer" suggests that it's after June > 20th. > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode 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 runrev260805 at m-r-d.de Tue May 3 17:18:26 2011 From: runrev260805 at m-r-d.de (Matthias Rebbe) Date: Tue, 3 May 2011 23:18:26 +0200 Subject: [revServer] should revdelete work Message-ID: Hi, i am trying to delete an non empty folder with an .irev script on on-rev. The dictionary says that revdelete is supported under Desktop. Web (Revlet) and Server. But i get an "Can?t find Handler" error. Could someone confirm that revdelete does or does not work for her/him under revServer? Regards, Matthias From runrev260805 at m-r-d.de Tue May 3 17:20:51 2011 From: runrev260805 at m-r-d.de (Matthias Rebbe) Date: Tue, 3 May 2011 23:20:51 +0200 Subject: [revServer] should revdelete work In-Reply-To: References: Message-ID: Sorry, of course i meant revdeletefolder. Regards, Matthias Am 03.05.2011 um 23:18 schrieb Matthias Rebbe: > Hi, > > i am trying to delete an non empty folder with an .irev script on on-rev. > > The dictionary says that revdelete is supported under Desktop. Web (Revlet) and Server. But i get an "Can?t find Handler" error. > > Could someone confirm that revdelete does or does not work for her/him under revServer? > > Regards, > > Matthias From psahores at free.fr Tue May 3 18:05:12 2011 From: psahores at free.fr (Pierre Sahores) Date: Wed, 4 May 2011 00:05:12 +0200 Subject: [revServer] should revdelete work In-Reply-To: References: Message-ID: Matthias, I don't use the revdeletefolder command and can't comment on it but : delete file (thepath) delete folder (thepath) instead, from within my irev libs and it works fine (as long as, in case of file, the file to delete is not the running irev script it self !). HTH, Pierre Le 3 mai 2011 ? 23:20, Matthias Rebbe a ?crit : > Sorry, > > of course i meant revdeletefolder. > > Regards, > > Matthias > Am 03.05.2011 um 23:18 schrieb Matthias Rebbe: > >> Hi, >> >> i am trying to delete an non empty folder with an .irev script on on-rev. >> >> The dictionary says that revdelete is supported under Desktop. Web (Revlet) and Server. But i get an "Can?t find Handler" error. >> >> Could someone confirm that revdelete does or does not work for her/him under revServer? >> >> Regards, >> >> Matthias > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 gandalf at doctorTimothyMiller.com Tue May 3 18:32:09 2011 From: gandalf at doctorTimothyMiller.com (Timothy Miller) Date: Tue, 3 May 2011 15:32:09 -0700 Subject: How to delete a single customkey? In-Reply-To: References: Message-ID: <3208DB35-1571-44C4-9D24-61B8009E7346@doctorTimothyMiller.com> Well, this is an old thread, likely long settled, but what the heck! If your customkey is named "victimList" and it's a property of a card then set the victimList of this card to empty -or- set the victimList of card ID 4225 to emtpy -or- set the victimlist of to empty. And so on. Your customkey can be a property of a stack, button, field, etc., if you desire. Did you want something this simple? Maybe too obvious for the big boys and girls... I never learned how to use arrays, though I have the general idea. Sometimes I find it handy to store a value or some simple data in one or more customKeys. There are other ways to do it, of course. Often when I post a message like this, I get something wrong. If I did this time, I imagine I will be corrected soon. Cheers, Tim On Apr 27, 2011, at 5:16 PM, Glen Bojsza wrote: > Hello, > > I have found that you can delete all customkeys of an object by setting the > customkeys to empty. > > But I only want to delete one of the customkeys? > > Is it all or nothing? > > thanks, > > Glen > _______________________________________________ > use-livecode mailing list > use-livecode at 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 May 3 21:47:19 2011 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Tue, 3 May 2011 21:47:19 -0400 Subject: Cleaning Exif Data from an image Message-ID: Hi Andrew, on Mon, 2 May 2011 16:51:32 -0500 Andrew Kluthe wrote: >I do not know much about image manipulation in livecode or in general. But, >I am looking for a way to scrub exif data off an image easily and without >loss to the picture. There are libraries in php that let me do this, but I >would really like a standalone tool that I could automate the process. >Has anyone done this or know where to get started? Read this message: http://lists.runrev.com/pipermail/use-livecode/2004-December/048127.html EXIF Extraction library by Alex Tweedly Could this be useful for you project? Al From capellan2000 at gmail.com Tue May 3 22:03:10 2011 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Tue, 3 May 2011 22:03:10 -0400 Subject: Save screenshots from every card in a stack Message-ID: Hi Ken, on Tue, 03 May 2011 08:50:07 -0500 Ken Ray wrote: > [snip] >Neat idea, Alejandro! >The script is very straightforward, too... I am glad that you liked. :-D Are you going to post an enhanced multiplatform version in your Tips & Scripts page? I really hope so. :-) Notice that this script does not expect that your stack has more that 99 cards, but this is easy to solve. Al From capellan2000 at gmail.com Tue May 3 22:27:02 2011 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Tue, 3 May 2011 22:27:02 -0400 Subject: LC in Education Message-ID: Hi Judy, on Mon, 2 May 2011 20:45:51 -0700 (PDT) Judy Perry wrote: > He is Larry Tesler. Did Larry Tesler posted (in the Facebook Runrev in Education page) about integrating revlets with Moodle? If not him, Who? I am curious to know if this developer would allow other teachers to experiment in this new setup. ;-) I would like to experiment with this new setup, but do not want to learn the whole Moodle system to play... Thanks in advance! Al From coiin at verizon.net Tue May 3 22:41:17 2011 From: coiin at verizon.net (Colin Holgate) Date: Tue, 03 May 2011 22:41:17 -0400 Subject: LC in Education In-Reply-To: References: Message-ID: On May 3, 2011, at 10:27 PM, Alejandro Tejada wrote: > > I would like to experiment with this new setup, but do not want to > learn the whole Moodle system to play... Although I don't fully understand why, Moodle is huge in education, and you should get to grips with it no matter what. I can't find any proof of Larry being that involved in Moodle and Revlets. Can you point to anything? I think I can get him to give more information, if you can help me form a specific question. From tsj at unimelb.edu.au Tue May 3 22:56:42 2011 From: tsj at unimelb.edu.au (Terry Judd) Date: Wed, 4 May 2011 12:56:42 +1000 Subject: LC in Education In-Reply-To: Message-ID: On 04/05/2011 12:41 PM, "Colin Holgate" wrote: > Although I don't fully understand why, Moodle is huge in education, and you > should get to grips with it no matter what. It's big because the main alternatives (notably BlackBoard) are so awful (and awfully expensive). I'm no big fan of Learning Management Systems but they're here to stay (at least in tertiary educational environments) - administrators love them, educators not so much. We're currently building a bespoke learning environment (emphasis on learning) for medical students (LiveCode clients, mysql/php backend) and plan to phase out the use Blackboard during 2012. I'm expecting a 'please explain' call from the university's IT decision makers before too long. Terry... -- Dr Terry Judd | Senior Lecturer in Medical Education Medical Education Unit Melbourne Medical School The University of Melbourne From coiin at verizon.net Tue May 3 23:02:13 2011 From: coiin at verizon.net (Colin Holgate) Date: Tue, 03 May 2011 23:02:13 -0400 Subject: LC in Education In-Reply-To: References: Message-ID: My point was, that even though I don't fully understand it, anyone doing education courseware should be familiar with Moodle From tsj at unimelb.edu.au Tue May 3 23:16:44 2011 From: tsj at unimelb.edu.au (Terry Judd) Date: Wed, 4 May 2011 13:16:44 +1000 Subject: LC in Education In-Reply-To: Message-ID: On 04/05/2011 01:02 PM, "Colin Holgate" wrote: > My point was, that even though I don't fully understand it, anyone doing > education courseware should be familiar with Moodle Agreed. Terry... -- Dr Terry Judd | Senior Lecturer in Medical Education Medical Education Unit Melbourne Medical School The University of Melbourne From capellan2000 at gmail.com Tue May 3 23:23:40 2011 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Tue, 3 May 2011 23:23:40 -0400 Subject: LC in Education Message-ID: Hi Colin, on Tue May 3 21:41:17 CDT 2011 Colin Holgate wrote: > Although I don't fully understand why, Moodle is huge in education, > and you should get to grips with it no matter what. > I can't find any proof of Larry being that involved in Moodle and Revlets. > Can you point to anything? >I think I can get him to give more information, > if you can help me form a specific question. My mistake: It was Carly Born https://moodle.carleton.edu/course/view.php?id=12752 I read this message in the Facebook page: >Carly Born: >A demo site of my work to integrate a LiveCode applet into the Moodle course >management system. >https://moodle.carleton.edu/course/view.php?id=12752 >moodle.carleton.edu By the way, after this event: http://developers.slashdot.org/story/11/03/27/2058246/MySqlcom-Hacked-With-Sql-Injection I could imagine (easily) the kind of control that one skilled student could get over a Moodle installation... :-(( Al From bvlahos at mac.com Wed May 4 00:14:45 2011 From: bvlahos at mac.com (Bill Vlahos) Date: Tue, 03 May 2011 21:14:45 -0700 Subject: Staying on a field Message-ID: I do a validity check on a field to see if the user entered a valid date. If the user entered a valid date and presses TAB or RETURN the focus moves on to the next field. However, if the user enters an invalid date I want to keep the focus on the field to try again. This field script does everything correctly except that it doesn't set the focus back on the field. What am I doing wrong? on closeField if me is not a date then answer error "Not a valid date. Retry?" with "No" or "Yes" if it is "Yes" then focus on me exit closeField end if end if pass closeField end closeField Bill Vlahos _________________ InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. From tsj at unimelb.edu.au Wed May 4 00:40:36 2011 From: tsj at unimelb.edu.au (Terry Judd) Date: Wed, 4 May 2011 14:40:36 +1000 Subject: Staying on a field In-Reply-To: Message-ID: On 04/05/2011 02:14 PM, "Bill Vlahos" wrote: > on closeField > if me is not a date then > answer error "Not a valid date. Retry?" with "No" or "Yes" > if it is "Yes" then > focus on me > exit closeField > end if > end if > pass closeField > end closeField Bill - how about this? on closeField send checkMe to me in 0 millisecs end closeField on checkMe if me is not a date then answer error "Not a valid date. Retry?" with "No" or "Yes" if it is "Yes" then focus on me end if end if end checkMe Works fine if you're tabbing between fields but if you click on the card then the focus will stay with the field no matter what, whereas what you probably want to do (if you choose 'no') is to focus on nothing. Something like this maybe... on checkMe put the selectedChunk into tSelection if me is not a date then answer error "Not a valid date. Retry?" with "No" or "Yes" if it is "Yes" then focus on me else if tSelection is not empty then select tSelection else focus on nothing end if end if end if end checkMe HTH, Terry... -- Dr Terry Judd | Senior Lecturer in Medical Education Medical Education Unit Melbourne Medical School The University of Melbourne From pepetoo at cox.net Wed May 4 00:44:00 2011 From: pepetoo at cox.net (Joe Lewis Wilkins) Date: Tue, 3 May 2011 21:44:00 -0700 Subject: Staying on a field In-Reply-To: References: Message-ID: <2E78C5F4-90D7-46D2-8415-C9C5A899DDA9@cox.net> Bill, I'd try eliminating the exit closeField and the pass closeField from your handler as a first effort. I don't think either are needed in this case and may confuse the "focus" issue. HTH, Joe Lewis Wilkins Architect & Director of Product Development for GSI On May 3, 2011, at 9:14 PM, Bill Vlahos wrote: > I do a validity check on a field to see if the user entered a valid date. If the user entered a valid date and presses TAB or RETURN the focus moves on to the next field. However, if the user enters an invalid date I want to keep the focus on the field to try again. > > This field script does everything correctly except that it doesn't set the focus back on the field. What am I doing wrong? > > on closeField > if me is not a date then > answer error "Not a valid date. Retry?" with "No" or "Yes" > if it is "Yes" then > focus on me > exit closeField > end if > end if > pass closeField > end closeField From jperryl at ecs.fullerton.edu Wed May 4 00:44:35 2011 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Tue, 3 May 2011 21:44:35 -0700 (PDT) Subject: LC in Education In-Reply-To: References: Message-ID: Alejandro, That was Carly Born. I don't know if she follows this list, but if you are interested, I can give her your email information and she can perhaps follow-up with you. I prefer Moodle over Blackboard because it sucks for free (okay, it doesn't suck overwhelmingly... really!) Let me know... Judy On Tue, 3 May 2011, Alejandro Tejada wrote: > Did Larry Tesler posted (in the Facebook Runrev in Education > page) about integrating revlets with Moodle? If not him, Who? > > I am curious to know if this developer would allow other teachers to > experiment in this new setup. ;-) > > I would like to experiment with this new setup, but do not want to > learn the whole Moodle system to play... > > Thanks in advance! > > Al From jperryl at ecs.fullerton.edu Wed May 4 00:50:57 2011 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Tue, 3 May 2011 21:50:57 -0700 (PDT) Subject: LC in Education In-Reply-To: References: Message-ID: Colin, Moodle is gaining traction in education because it is FOSS, that is, free, whereas Blackboard is hugely expensive and doesn't tend to play well with any browser made outside of Redmond. Blackboard also has exhibited predatory patent practices and successfully locked some similar Canadian product out of the US market (I think it was maybe Desire2Learn?). Blackboard is evil and therefore, in my eye, anything free that's a decent alternative gets my vote. As I tell my students, it may well suck but even then it sucks for free, unlike Blackboard, which my campus insists upon licensing despite the fact that the state that funds us is nearly bankrupt and not so long ago paid its contractors in IOUs. Judy > Although I don't fully understand why, Moodle is huge in education, and you should get to grips with it no matter what. From jperryl at ecs.fullerton.edu Wed May 4 00:58:16 2011 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Tue, 3 May 2011 21:58:16 -0700 (PDT) Subject: LC in Education In-Reply-To: References: Message-ID: Terry, It's funny that you should mention Blackboard being awful. It really IS gawdawful! I happened to be in my class early one day and several students were trying to access my Moodle setup (on server space I rent from Mark and paid him to install while I maintain) and they reported it was down. I messaged Mark, he checked it and said it came up fine for him, then my students all reported it worked for them as well (signalling a network error on our end), and then one of them remarked that my Moodle site was far more reliable than the campus' Blackboard server that their other instructors used and for which we pay a bazillion dollars to license and another bazillion in IT costs to maintain. Judy On Wed, 4 May 2011, Terry Judd wrote: > It's big because the main alternatives (notably BlackBoard) are so awful > (and awfully expensive). I'm no big fan of Learning Management Systems but > they're here to stay (at least in tertiary educational environments) - > administrators love them, educators not so much. We're currently building a > bespoke learning environment (emphasis on learning) for medical students > (LiveCode clients, mysql/php backend) and plan to phase out the use > Blackboard during 2012. I'm expecting a 'please explain' call from the > university's IT decision makers before too long. From jperryl at ecs.fullerton.edu Wed May 4 01:01:25 2011 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Tue, 3 May 2011 22:01:25 -0700 (PDT) Subject: LC in Education In-Reply-To: References: Message-ID: Alejandro, Like I haven't heard how our CS students easily hack whatever it is we're using for our MS in Software Engineering online coursework... (wanna bet it's Blackboard?!). They actually TELL ME these things. O_o Judy On Tue, 3 May 2011, Alejandro Tejada wrote: > By the way, after this event: > http://developers.slashdot.org/story/11/03/27/2058246/MySqlcom-Hacked-With-Sql-Injection > I could imagine (easily) the kind of control that one skilled student could > get over a Moodle installation... :-(( From revdev at pdslabs.net Wed May 4 01:06:40 2011 From: revdev at pdslabs.net (Phil Davis) Date: Tue, 03 May 2011 22:06:40 -0700 Subject: weird system global name is crippling LC! Message-ID: <4DC0DEE0.5040301@pdslabs.net> Help! Apparently Google Chrome defined a global on my Mac that is crippling all my versions of LiveCode. LC can't do ANYTHING that requires dealing with globals - like opening the script editor - because it runs into this global var name and doesn't know what to do with it (I assume because of the slashes in the var name). I went back to Rev 4.0 and tried to edit a script; I get this error message: | executing at 9:09:00 PM Type do: error in source expression Object Variables Line do tStatement Hint global $COM_GOOGLE_CHROME_FRAMEWORK_SERVICE_PROCESS/USERS/PHIL/LIBRARY/APPLICATION_SUPPORT/GOOGLE/CHROME_SOCKET | Note the global name in the "Hint" line above: COM_GOOGLE_CHROME_FRAMEWORK_SERVICE_PROCESS/USERS/PHIL/LIBRARY/APPLICATION_SUPPORT/GOOGLE/CHROME_SOCKET I opened Terminal and typed "set" to see the vars defined, and there it was with a value of "/tmp/launch-FbX6le/ServiceProcessSocket". Now my question... How do I delete it from the Terminal command line? I don't remember! Hellllpppp! Has anyone else seen this? Thanks for any help you can offer. -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net From tsj at unimelb.edu.au Wed May 4 02:09:32 2011 From: tsj at unimelb.edu.au (Terry Judd) Date: Wed, 4 May 2011 16:09:32 +1000 Subject: LC in Education In-Reply-To: Message-ID: Hi Judy - the good thing about Blackboard occasionally being unreliable is that people are more likely to be somewhat forgiving when (inevitably) one of the new systems we are developing springs a problem. We can usually put things right pretty quickly and only a few hundred users at most will experience any problems. When Blackboard goes AWOL everybody suffers. OK, enough Blackboard bagging for now. Really, it's pretty good at doing what it does. Terry... On 04/05/2011 02:58 PM, "Judy Perry" wrote: > Terry, > > It's funny that you should mention Blackboard being awful. It really IS > gawdawful! I happened to be in my class early one day and several > students were trying to access my Moodle setup (on server space I rent > from Mark and paid him to install while I maintain) and they reported it > was down. I messaged Mark, he checked it and said it came up fine for > him, then my students all reported it worked for them as well (signalling > a network error on our end), and then one of them remarked that my Moodle > site was far more reliable than the campus' Blackboard server that their > other instructors used and for which we pay a bazillion dollars to license > and another bazillion in IT costs to maintain. > > Judy > > On Wed, 4 May 2011, Terry Judd wrote: > >> It's big because the main alternatives (notably BlackBoard) are so awful >> (and awfully expensive). I'm no big fan of Learning Management Systems but >> they're here to stay (at least in tertiary educational environments) - >> administrators love them, educators not so much. We're currently building a >> bespoke learning environment (emphasis on learning) for medical students >> (LiveCode clients, mysql/php backend) and plan to phase out the use >> Blackboard during 2012. I'm expecting a 'please explain' call from the >> university's IT decision makers before too long. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Dr Terry Judd | Senior Lecturer in Medical Education Medical Education Unit Melbourne Medical School The University of Melbourne From pete at mollysrevenge.com Wed May 4 02:26:44 2011 From: pete at mollysrevenge.com (Pete) Date: Tue, 3 May 2011 23:26:44 -0700 Subject: Staying on a field In-Reply-To: <2E78C5F4-90D7-46D2-8415-C9C5A899DDA9@cox.net> References: <2E78C5F4-90D7-46D2-8415-C9C5A899DDA9@cox.net> Message-ID: Folks, Not strictly related to this but what date format does the syntax "if this is not a date" use? And where is it documented that "a date" is a valid expression? Just curious since I've spent several hours writing code to try to validate a date based on the user's system settings and I've never seen mention of this anywhere Thanks, . Pete Molly's Revenge On Tue, May 3, 2011 at 9:44 PM, Joe Lewis Wilkins wrote: > Bill, > > I'd try eliminating the exit closeField and the pass closeField from your > handler as a first effort. I don't think either are needed in this case and > may confuse the "focus" issue. > > HTH, > > Joe Lewis Wilkins > Architect & Director of Product Development for GSI > > > > On May 3, 2011, at 9:14 PM, Bill Vlahos wrote: > > > I do a validity check on a field to see if the user entered a valid date. > If the user entered a valid date and presses TAB or RETURN the focus moves > on to the next field. However, if the user enters an invalid date I want to > keep the focus on the field to try again. > > > > This field script does everything correctly except that it doesn't set > the focus back on the field. What am I doing wrong? > > > > on closeField > > if me is not a date then > > answer error "Not a valid date. Retry?" with "No" or "Yes" > > if it is "Yes" then > > focus on me > > exit closeField > > end if > > end if > > pass closeField > > end closeField > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > From bvlahos at mac.com Wed May 4 03:07:16 2011 From: bvlahos at mac.com (Bill Vlahos) Date: Wed, 04 May 2011 00:07:16 -0700 Subject: Staying on a field In-Reply-To: References: <2E78C5F4-90D7-46D2-8415-C9C5A899DDA9@cox.net> Message-ID: Pete, It is in the dictionary under "is a" and "is not a". Date is one of the many options. * date if it is in one of the formats produced by the date or time functions Bill Vlahos _________________ InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. On May 3, 2011, at 11:26 PM, Pete wrote: > Folks, > Not strictly related to this but what date format does the syntax "if this > is not a date" use? And where is it documented that "a date" is a valid > expression? Just curious since I've spent several hours writing code to try > to validate a date based on the user's system settings and I've never seen > mention of this anywhere > > Thanks, > . > Pete > Molly's Revenge > > > > > On Tue, May 3, 2011 at 9:44 PM, Joe Lewis Wilkins wrote: > >> Bill, >> >> I'd try eliminating the exit closeField and the pass closeField from your >> handler as a first effort. I don't think either are needed in this case and >> may confuse the "focus" issue. >> >> HTH, >> >> Joe Lewis Wilkins >> Architect & Director of Product Development for GSI >> >> >> >> On May 3, 2011, at 9:14 PM, Bill Vlahos wrote: >> >>> I do a validity check on a field to see if the user entered a valid date. >> If the user entered a valid date and presses TAB or RETURN the focus moves >> on to the next field. However, if the user enters an invalid date I want to >> keep the focus on the field to try again. >>> >>> This field script does everything correctly except that it doesn't set >> the focus back on the field. What am I doing wrong? >>> >>> on closeField >>> if me is not a date then >>> answer error "Not a valid date. Retry?" with "No" or "Yes" >>> if it is "Yes" then >>> focus on me >>> exit closeField >>> end if >>> end if >>> pass closeField >>> end closeField >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 bvlahos at mac.com Wed May 4 03:17:19 2011 From: bvlahos at mac.com (Bill Vlahos) Date: Wed, 04 May 2011 00:17:19 -0700 Subject: Staying on a field In-Reply-To: References: Message-ID: Terry, Thanks this works. I also discovered that I can replace "focus on me" with "select the text of me" in my script and that works too. If the closeField message comes as a result of going to another card then I get the dialog but it still goes to the new card anyway so the dialog doesn't really work if the user wants to try it again. Bill Vlahos _________________ InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. On May 3, 2011, at 9:40 PM, Terry Judd wrote: > On 04/05/2011 02:14 PM, "Bill Vlahos" wrote: > >> on closeField >> if me is not a date then >> answer error "Not a valid date. Retry?" with "No" or "Yes" >> if it is "Yes" then >> focus on me >> exit closeField >> end if >> end if >> pass closeField >> end closeField > > Bill - how about this? > > on closeField > send checkMe to me in 0 millisecs > end closeField > > on checkMe > if me is not a date then > answer error "Not a valid date. Retry?" with "No" or "Yes" > if it is "Yes" then > focus on me > end if > end if > end checkMe > > Works fine if you're tabbing between fields but if you click on the card > then the focus will stay with the field no matter what, whereas what you > probably want to do (if you choose 'no') is to focus on nothing. > > Something like this maybe... > > on checkMe > put the selectedChunk into tSelection > if me is not a date then > answer error "Not a valid date. Retry?" with "No" or "Yes" > if it is "Yes" then > focus on me > else > if tSelection is not empty then > select tSelection > else > focus on nothing > end if > end if > end if > end checkMe > > HTH, > > Terry... > > -- > Dr Terry Judd | Senior Lecturer in Medical Education > Medical Education Unit > Melbourne Medical School > The University of Melbourne > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From revdev at pdslabs.net Wed May 4 03:46:02 2011 From: revdev at pdslabs.net (Phil Davis) Date: Wed, 04 May 2011 00:46:02 -0700 Subject: weird system global name is crippling LC! In-Reply-To: <4DC0DEE0.5040301@pdslabs.net> References: <4DC0DEE0.5040301@pdslabs.net> Message-ID: <4DC1043A.3070609@pdslabs.net> I restarted my machine and this problem went away. I thought that only worked on Windows! ;-) Phil On 5/3/11 10:06 PM, Phil Davis wrote: > Help! > > Apparently Google Chrome defined a global on my Mac that is crippling all my > versions of LiveCode. LC can't do ANYTHING that requires dealing with globals > - like opening the script editor - because it runs into this global var name > and doesn't know what to do with it (I assume because of the slashes in the > var name). > > I went back to Rev 4.0 and tried to edit a script; I get this error message: > > | executing at 9:09:00 PM > Type do: error in source expression > Object Variables > Line do tStatement > Hint global > $COM_GOOGLE_CHROME_FRAMEWORK_SERVICE_PROCESS/USERS/PHIL/LIBRARY/APPLICATION_SUPPORT/GOOGLE/CHROME_SOCKET > | > Note the global name in the "Hint" line above: > COM_GOOGLE_CHROME_FRAMEWORK_SERVICE_PROCESS/USERS/PHIL/LIBRARY/APPLICATION_SUPPORT/GOOGLE/CHROME_SOCKET > > > I opened Terminal and typed "set" to see the vars defined, and there it was > with a value of "/tmp/launch-FbX6le/ServiceProcessSocket". > > Now my question... How do I delete it from the Terminal command line? I don't > remember! Hellllpppp! > > Has anyone else seen this? > > Thanks for any help you can offer. -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net From runrev260805 at m-r-d.de Wed May 4 03:49:24 2011 From: runrev260805 at m-r-d.de (Matthias Rebbe) Date: Wed, 4 May 2011 09:49:24 +0200 Subject: [revServer] should revdelete work In-Reply-To: References: Message-ID: Pierre, thanks for your answer. delete folder... unfortunately only deletes empty folders. If a folder contains files or other folders one has to use revdeletefolder. At least that?s what the dictionary says. Regards, Matthias Am 04.05.2011 um 00:05 schrieb Pierre Sahores: > Matthias, > > I don't use the revdeletefolder command and can't comment on it but : > > delete file (thepath) > delete folder (thepath) > > instead, from within my irev libs and it works fine (as long as, in case of file, the file to delete is not the running irev script it self !). > > HTH, > > Pierre > > > Le 3 mai 2011 ? 23:20, Matthias Rebbe a ?crit : > >> Sorry, >> >> of course i meant revdeletefolder. >> >> Regards, >> >> Matthias >> Am 03.05.2011 um 23:18 schrieb Matthias Rebbe: >> >>> Hi, >>> >>> i am trying to delete an non empty folder with an .irev script on on-rev. >>> >>> The dictionary says that revdelete is supported under Desktop. Web (Revlet) and Server. But i get an "Can?t find Handler" error. >>> >>> Could someone confirm that revdelete does or does not work for her/him under revServer? >>> >>> Regards, >>> >>> Matthias >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Wed May 4 05:36:22 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Wed, 4 May 2011 10:36:22 +0100 Subject: Trouble-shooting non-resizable stack/card size creep? Message-ID: <3DD4BB17-40F8-4F6F-A541-45D1815EF684@clarkeandclarke.co.uk> Hi folks, I have a non-resizable stack (1024 x 768) with a common background group for all cards, including a 1024 x 768 background image. Suddenly, whilst adjusting control positions on one card, I noticed that aligning its loc to 512, 384 no longer centralised the control - and a border of 4 or 5 pixels had appeared at the side and bottom of the background image. However, all cards and the stack (and background image itself) all seem to be sized at 1024 x 768. Any ideas where I should look for the anomaly? Best, Keith.. From jmyepes at mac.com Wed May 4 06:29:10 2011 From: jmyepes at mac.com (JosepM) Date: Wed, 4 May 2011 03:29:10 -0700 (PDT) Subject: LiveCode tutorials or guides in french? Message-ID: <1304504950358-3495077.post@n4.nabble.com> Hi, I would like to know if exist some information about how to begin to program with LiveCode but in french. Any idea? Salut, Josep M -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/LiveCode-tutorials-or-guides-in-french-tp3495077p3495077.html Sent from the Revolution - User mailing list archive at Nabble.com. From jimaultwins at yahoo.com Wed May 4 06:38:27 2011 From: jimaultwins at yahoo.com (Jim Ault) Date: Wed, 4 May 2011 03:38:27 -0700 Subject: Staying on a field In-Reply-To: References: Message-ID: <64057C55-E184-4E24-BF19-69B0683924AA@yahoo.com> Try using closecard or preopencard to test for the 'dialog' condition and if true, remain on the same card On May 4, 2011, at 12:17 AM, Bill Vlahos wrote: > Terry, > > Thanks this works. I also discovered that I can replace "focus on > me" with "select the text of me" in my script and that works too. > > If the closeField message comes as a result of going to another card > then I get the dialog but it still goes to the new card anyway so > the dialog doesn't really work if the user wants to try it again. Jim Ault Las Vegas From jimaultwins at yahoo.com Wed May 4 06:46:06 2011 From: jimaultwins at yahoo.com (Jim Ault) Date: Wed, 4 May 2011 03:46:06 -0700 Subject: Staying on a field In-Reply-To: References: <2E78C5F4-90D7-46D2-8415-C9C5A899DDA9@cox.net> Message-ID: There have been several threads on the list over the last few years about the inaccuracy of 'is a date' to truly trap errors. The best source I know is the free stack done by Sarah Riechelt at http://www.troz.net/rev/index.irev?category=Library#stacks Also try clicking on the 'ALL' selection under "Sample Stacks" on the same page to see more stacks. On May 3, 2011, at 11:26 PM, Pete wrote: > Folks, > Not strictly related to this but what date format does the syntax > "if this > is not a date" use? And where is it documented that "a date" is a > valid > expression? Just curious since I've spent several hours writing > code to try > to validate a date based on the user's system settings and I've > never seen > mention of this anywhere Jim Ault Las Vegas From psahores at free.fr Wed May 4 08:29:26 2011 From: psahores at free.fr (Pierre Sahores) Date: Wed, 4 May 2011 14:29:26 +0200 Subject: LiveCode tutorials or guides in french? In-Reply-To: <1304504950358-3495077.post@n4.nabble.com> References: <1304504950358-3495077.post@n4.nabble.com> Message-ID: <818B6738-A267-4F5E-9CA3-BD047055CD04@free.fr> Hi Josep, Frederic Rinaldi use to translate the Rev 1.1 or 2.0 version of the Runrev official documentation. Should be still available somewhere. About the concepts : ISBN 2-10-000199-X HyperCard 2 - Jean jacques GREIF Edition P.S.I / DUNOD dans la collection M?moMac. Dunod/PSI "HyperTalk" by Jean-Jacques GREIF (1992) HTH, Le 4 mai 2011 ? 12:29, JosepM a ?crit : > Hi, > > I would like to know if exist some information about how to begin to program > with LiveCode but in french. > > Any idea? > > > > Salut, > Josep M > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/LiveCode-tutorials-or-guides-in-french-tp3495077p3495077.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 : (33) 6 03 95 77 70 www.woooooooords.com www.sahores-conseil.com From m.schonewille at economy-x-talk.com Wed May 4 10:07:13 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 4 May 2011 16:07:13 +0200 Subject: Trouble-shooting non-resizable stack/card size creep? In-Reply-To: <3DD4BB17-40F8-4F6F-A541-45D1815EF684@clarkeandclarke.co.uk> References: <3DD4BB17-40F8-4F6F-A541-45D1815EF684@clarkeandclarke.co.uk> Message-ID: Keith, Try setting the margins of the group to 0. You might want to turn off the lockLoc of the group and set the lockLoc of the image to true. Set the loc of the image, not the group. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce On 4 mei 2011, at 11:36, Keith Clarke wrote: > Hi folks, > I have a non-resizable stack (1024 x 768) with a common background group for all cards, including a 1024 x 768 background image. > > Suddenly, whilst adjusting control positions on one card, I noticed that aligning its loc to 512, 384 no longer centralised the control - and a border of 4 or 5 pixels had appeared at the side and bottom of the background image. > > However, all cards and the stack (and background image itself) all seem to be sized at 1024 x 768. > > Any ideas where I should look for the anomaly? > 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 bonnmike at gmail.com Wed May 4 10:13:19 2011 From: bonnmike at gmail.com (Mike Bonner) Date: Wed, 4 May 2011 08:13:19 -0600 Subject: [revServer] should revdelete work In-Reply-To: References: Message-ID: In this case a (potentially dangerous) shell call is probably the best option. shell("rm -r directoryname") On Wed, May 4, 2011 at 1:49 AM, Matthias Rebbe wrote: > Pierre, > > thanks for your answer. > > delete folder... unfortunately only deletes empty folders. If a folder > contains files or other folders one has to use revdeletefolder. At least > that?s what the dictionary says. > > Regards, > > Matthias > Am 04.05.2011 um 00:05 schrieb Pierre Sahores: > > > Matthias, > > > > I don't use the revdeletefolder command and can't comment on it but : > > > > delete file (thepath) > > delete folder (thepath) > > > > instead, from within my irev libs and it works fine (as long as, in case > of file, the file to delete is not the running irev script it self !). > > > > HTH, > > > > Pierre > > > > > > Le 3 mai 2011 ? 23:20, Matthias Rebbe a ?crit : > > > >> Sorry, > >> > >> of course i meant revdeletefolder. > >> > >> Regards, > >> > >> Matthias > >> Am 03.05.2011 um 23:18 schrieb Matthias Rebbe: > >> > >>> Hi, > >>> > >>> i am trying to delete an non empty folder with an .irev script on > on-rev. > >>> > >>> The dictionary says that revdelete is supported under Desktop. Web > (Revlet) and Server. But i get an "Can?t find Handler" error. > >>> > >>> Could someone confirm that revdelete does or does not work for her/him > under revServer? > >>> > >>> Regards, > >>> > >>> Matthias > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode 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 > > > > > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode 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.clarke at clarkeandclarke.co.uk Wed May 4 10:18:00 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Wed, 4 May 2011 15:18:00 +0100 Subject: Trouble-shooting non-resizable stack/card size creep? In-Reply-To: References: <3DD4BB17-40F8-4F6F-A541-45D1815EF684@clarkeandclarke.co.uk> Message-ID: Thanks Mark - changing the lockLoc from the group to the image did the trick. Best, Keith.. On 4 May 2011, at 15:07, Mark Schonewille wrote: > Keith, > > > Try setting the margins of the group to 0. You might want to turn off the lockLoc of the group and set the lockLoc of the image to true. Set the loc of the image, not the group. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce > > On 4 mei 2011, at 11:36, Keith Clarke wrote: > >> Hi folks, >> I have a non-resizable stack (1024 x 768) with a common background group for all cards, including a 1024 x 768 background image. >> >> Suddenly, whilst adjusting control positions on one card, I noticed that aligning its loc to 512, 384 no longer centralised the control - and a border of 4 or 5 pixels had appeared at the side and bottom of the background image. >> >> However, all cards and the stack (and background image itself) all seem to be sized at 1024 x 768. >> >> Any ideas where I should look for the anomaly? >> Best, >> Keith.. >> From form at nonsanity.com Wed May 4 10:52:22 2011 From: form at nonsanity.com (Nonsanity) Date: Wed, 4 May 2011 10:52:22 -0400 Subject: Staying on a field In-Reply-To: References: Message-ID: Just a comment on user interfaces, have you thought about using the common technique of coloring a field's background red if it doesn't contain a valid string? Move the test function into a handler that triggers on each key press. This way the right/wrong state of the field is visible to the user at all times. You can also disable buttons like Submit or Next Card or whatnot if the user shouldn't be able to click them with any fields still red. This interface style minimizes clicks and modal dialogs, while giving the user much more information. Just a thought. :) ~ Chris Innanen ~ Nonsanity On Wed, May 4, 2011 at 12:14 AM, Bill Vlahos wrote: > I do a validity check on a field to see if the user entered a valid date. > If the user entered a valid date and presses TAB or RETURN the focus moves > on to the next field. However, if the user enters an invalid date I want to > keep the focus on the field to try again. > > This field script does everything correctly except that it doesn't set the > focus back on the field. What am I doing wrong? > > on closeField > if me is not a date then > answer error "Not a valid date. Retry?" with "No" or "Yes" > if it is "Yes" then > focus on me > exit closeField > end if > end if > pass closeField > end closeField > > 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 psahores at free.fr Wed May 4 10:57:14 2011 From: psahores at free.fr (Pierre Sahores) Date: Wed, 4 May 2011 16:57:14 +0200 Subject: [revServer] should revdelete work In-Reply-To: References: Message-ID: Yes, if really needed but about the unability of "delete folder" and/or revdeletefolder, to work against non empty folders, does this need to be seen as a bug or as a feature ? My vote would go to the second purposal... Best, Pierre Le 4 mai 2011 ? 16:13, Mike Bonner a ?crit : > In this case a (potentially dangerous) shell call is probably the best > option. > > shell("rm -r directoryname") > > On Wed, May 4, 2011 at 1:49 AM, Matthias Rebbe wrote: > >> Pierre, >> >> thanks for your answer. >> >> delete folder... unfortunately only deletes empty folders. If a folder >> contains files or other folders one has to use revdeletefolder. At least >> that?s what the dictionary says. >> >> Regards, >> >> Matthias >> Am 04.05.2011 um 00:05 schrieb Pierre Sahores: >> >>> Matthias, >>> >>> I don't use the revdeletefolder command and can't comment on it but : >>> >>> delete file (thepath) >>> delete folder (thepath) >>> >>> instead, from within my irev libs and it works fine (as long as, in case >> of file, the file to delete is not the running irev script it self !). >>> >>> HTH, >>> >>> Pierre >>> >>> >>> Le 3 mai 2011 ? 23:20, Matthias Rebbe a ?crit : >>> >>>> Sorry, >>>> >>>> of course i meant revdeletefolder. >>>> >>>> Regards, >>>> >>>> Matthias >>>> Am 03.05.2011 um 23:18 schrieb Matthias Rebbe: >>>> >>>>> Hi, >>>>> >>>>> i am trying to delete an non empty folder with an .irev script on >> on-rev. >>>>> >>>>> The dictionary says that revdelete is supported under Desktop. Web >> (Revlet) and Server. But i get an "Can?t find Handler" error. >>>>> >>>>> Could someone confirm that revdelete does or does not work for her/him >> under revServer? >>>>> >>>>> Regards, >>>>> >>>>> Matthias >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode 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 >>> >>> >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode 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 > -- Pierre Sahores mobile : (33) 6 03 95 77 70 www.woooooooords.com www.sahores-conseil.com From form at nonsanity.com Wed May 4 11:09:42 2011 From: form at nonsanity.com (Nonsanity) Date: Wed, 4 May 2011 11:09:42 -0400 Subject: [revServer] should revdelete work In-Reply-To: References: Message-ID: Perhaps there should be: delete folder delete empty folder ~ Chris Innanen ~ Nonsanity On Wed, May 4, 2011 at 10:57 AM, Pierre Sahores wrote: > Yes, if really needed but about the unability of "delete folder" and/or > revdeletefolder, to work against non empty folders, does this need to be > seen as a bug or as a feature ? My vote would go to the second purposal... > > Best, > > Pierre > > Le 4 mai 2011 ? 16:13, Mike Bonner a ?crit : > > > In this case a (potentially dangerous) shell call is probably the best > > option. > > > > shell("rm -r directoryname") > > > > On Wed, May 4, 2011 at 1:49 AM, Matthias Rebbe >wrote: > > > >> Pierre, > >> > >> thanks for your answer. > >> > >> delete folder... unfortunately only deletes empty folders. If a folder > >> contains files or other folders one has to use revdeletefolder. At least > >> that?s what the dictionary says. > >> > >> Regards, > >> > >> Matthias > >> Am 04.05.2011 um 00:05 schrieb Pierre Sahores: > >> > >>> Matthias, > >>> > >>> I don't use the revdeletefolder command and can't comment on it but : > >>> > >>> delete file (thepath) > >>> delete folder (thepath) > >>> > >>> instead, from within my irev libs and it works fine (as long as, in > case > >> of file, the file to delete is not the running irev script it self !). > >>> > >>> HTH, > >>> > >>> Pierre > >>> > >>> > >>> Le 3 mai 2011 ? 23:20, Matthias Rebbe a ?crit : > >>> > >>>> Sorry, > >>>> > >>>> of course i meant revdeletefolder. > >>>> > >>>> Regards, > >>>> > >>>> Matthias > >>>> Am 03.05.2011 um 23:18 schrieb Matthias Rebbe: > >>>> > >>>>> Hi, > >>>>> > >>>>> i am trying to delete an non empty folder with an .irev script on > >> on-rev. > >>>>> > >>>>> The dictionary says that revdelete is supported under Desktop. Web > >> (Revlet) and Server. But i get an "Can?t find Handler" error. > >>>>> > >>>>> Could someone confirm that revdelete does or does not work for > her/him > >> under revServer? > >>>>> > >>>>> Regards, > >>>>> > >>>>> Matthias > >>>> > >>>> > >>>> _______________________________________________ > >>>> use-livecode mailing list > >>>> use-livecode 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 > >>> > >>> > >>> > >>> > >>> > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode 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 > > > > -- > Pierre Sahores > mobile : (33) 6 03 95 77 70 > > www.woooooooords.com > 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 bobs at twft.com Wed May 4 12:52:11 2011 From: bobs at twft.com (Bob Sneidar) Date: Wed, 4 May 2011 09:52:11 -0700 Subject: Staying on a field In-Reply-To: References: Message-ID: Is all this because you cannot focus on something in the middle of a closeField? Bob On May 3, 2011, at 9:40 PM, Terry Judd wrote: > On 04/05/2011 02:14 PM, "Bill Vlahos" wrote: > >> on closeField >> if me is not a date then >> answer error "Not a valid date. Retry?" with "No" or "Yes" >> if it is "Yes" then >> focus on me >> exit closeField >> end if >> end if >> pass closeField >> end closeField > > Bill - how about this? > > on closeField > send checkMe to me in 0 millisecs > end closeField > > on checkMe > if me is not a date then > answer error "Not a valid date. Retry?" with "No" or "Yes" > if it is "Yes" then > focus on me > end if > end if > end checkMe > > Works fine if you're tabbing between fields but if you click on the card > then the focus will stay with the field no matter what, whereas what you > probably want to do (if you choose 'no') is to focus on nothing. > > Something like this maybe... > > on checkMe > put the selectedChunk into tSelection > if me is not a date then > answer error "Not a valid date. Retry?" with "No" or "Yes" > if it is "Yes" then > focus on me > else > if tSelection is not empty then > select tSelection > else > focus on nothing > end if > end if > end if > end checkMe > > HTH, > > Terry... > > -- > Dr Terry Judd | Senior Lecturer in Medical Education > Medical Education Unit > Melbourne Medical School > The University of Melbourne > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Wed May 4 13:04:38 2011 From: bobs at twft.com (Bob Sneidar) Date: Wed, 4 May 2011 10:04:38 -0700 Subject: Staying on a field In-Reply-To: References: Message-ID: Rather than validate on closeField, I enter an edit mode in the form where all navigation buttons or commands are disabled, and the only thing the user can do is save or cancel. The Save button calls a global validate command that cycles through all the editable fields, checks for the existence of a property to see if the field is a validating one, then calls the validation function(s) for that field. The property can actually be a list of validations you might want to perform, like not empty, is a date, is a later date, etc. I do this because I HATED WITH A PASSION the Filemaker validation which would not let you proceed to another field until you entered valid data, even if you put empty. I found that at times I wanted to go to another table and copy information from there, but couldn't because I was locked into the field and couldn't leave without putting something valid in the field even if it was wrong. I felt like Dave in 2001 A Space Odyssey. "I'm sorry Bob, I'm afraid you can't do that." Bob On May 4, 2011, at 12:17 AM, Bill Vlahos wrote: > Terry, > > Thanks this works. I also discovered that I can replace "focus on me" with "select the text of me" in my script and that works too. > > If the closeField message comes as a result of going to another card then I get the dialog but it still goes to the new card anyway so the dialog doesn't really work if the user wants to try it again. From pete at mollysrevenge.com Wed May 4 13:07:45 2011 From: pete at mollysrevenge.com (Pete) Date: Wed, 4 May 2011 10:07:45 -0700 Subject: Staying on a field In-Reply-To: References: <2E78C5F4-90D7-46D2-8415-C9C5A899DDA9@cox.net> Message-ID: Thanks Bill. I had tried searching for "date" before starting on my own date validation function but didn't find the "is a" reference - I now realise searching the dictionary only looks for things in the Keyword column. Are there any utilities out there to search the dictionary on something other than the keyword? There is so much information in there but it's hard to find it sometimes. Pete Molly's Revenge On Wed, May 4, 2011 at 12:07 AM, Bill Vlahos wrote: > Pete, > > It is in the dictionary under "is a" and "is not a". Date is one of the > many options. > * date if it is in one of the formats produced by the date or time > functions > > Bill Vlahos > _________________ > InfoWallet (http://www.infowallet.com) is about keeping your important > life information with you, accessible, and secure. > > On May 3, 2011, at 11:26 PM, Pete wrote: > > > Folks, > > Not strictly related to this but what date format does the syntax "if > this > > is not a date" use? And where is it documented that "a date" is a valid > > expression? Just curious since I've spent several hours writing code to > try > > to validate a date based on the user's system settings and I've never > seen > > mention of this anywhere > > > > Thanks, > > . > > Pete > > Molly's Revenge > > > > > > > > > > On Tue, May 3, 2011 at 9:44 PM, Joe Lewis Wilkins > wrote: > > > >> Bill, > >> > >> I'd try eliminating the exit closeField and the pass closeField from > your > >> handler as a first effort. I don't think either are needed in this case > and > >> may confuse the "focus" issue. > >> > >> HTH, > >> > >> Joe Lewis Wilkins > >> Architect & Director of Product Development for GSI > >> > >> > >> > >> On May 3, 2011, at 9:14 PM, Bill Vlahos wrote: > >> > >>> I do a validity check on a field to see if the user entered a valid > date. > >> If the user entered a valid date and presses TAB or RETURN the focus > moves > >> on to the next field. However, if the user enters an invalid date I want > to > >> keep the focus on the field to try again. > >>> > >>> This field script does everything correctly except that it doesn't set > >> the focus back on the field. What am I doing wrong? > >>> > >>> on closeField > >>> if me is not a date then > >>> answer error "Not a valid date. Retry?" with "No" or "Yes" > >>> if it is "Yes" then > >>> focus on me > >>> exit closeField > >>> end if > >>> end if > >>> pass closeField > >>> end closeField > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode 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 jmyepes at mac.com Wed May 4 13:29:47 2011 From: jmyepes at mac.com (JosepM) Date: Wed, 4 May 2011 10:29:47 -0700 (PDT) Subject: LiveCode tutorials or guides in french? In-Reply-To: <818B6738-A267-4F5E-9CA3-BD047055CD04@free.fr> References: <1304504950358-3495077.post@n4.nabble.com> <818B6738-A267-4F5E-9CA3-BD047055CD04@free.fr> Message-ID: <1304530187312-3496283.post@n4.nabble.com> Thanks Pierre. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/LiveCode-tutorials-or-guides-in-french-tp3495077p3496283.html Sent from the Revolution - User mailing list archive at Nabble.com. From bvlahos at mac.com Wed May 4 13:58:04 2011 From: bvlahos at mac.com (Bill Vlahos) Date: Wed, 04 May 2011 10:58:04 -0700 Subject: Staying on a field In-Reply-To: References: Message-ID: Chris, Interesting idea. I hadn't thought of it before. Bill Vlahos _________________ InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. On May 4, 2011, at 7:52 AM, Nonsanity wrote: > Just a comment on user interfaces, have you thought about using the common > technique of coloring a field's background red if it doesn't contain a valid > string? Move the test function into a handler that triggers on each key > press. This way the right/wrong state of the field is visible to the user at > all times. You can also disable buttons like Submit or Next Card or whatnot > if the user shouldn't be able to click them with any fields still red. > > This interface style minimizes clicks and modal dialogs, while giving the > user much more information. > > Just a thought. :) > > ~ Chris Innanen > ~ Nonsanity > > > On Wed, May 4, 2011 at 12:14 AM, Bill Vlahos wrote: > >> I do a validity check on a field to see if the user entered a valid date. >> If the user entered a valid date and presses TAB or RETURN the focus moves >> on to the next field. However, if the user enters an invalid date I want to >> keep the focus on the field to try again. >> >> This field script does everything correctly except that it doesn't set the >> focus back on the field. What am I doing wrong? >> >> on closeField >> if me is not a date then >> answer error "Not a valid date. Retry?" with "No" or "Yes" >> if it is "Yes" then >> focus on me >> exit closeField >> end if >> end if >> pass closeField >> end closeField >> >> 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 >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From todd at geistinteractive.com Wed May 4 14:29:25 2011 From: todd at geistinteractive.com (Todd Geist) Date: Wed, 4 May 2011 11:29:25 -0700 Subject: GLXFramework In-Reply-To: <5E149CC0-EFB2-4AB7-BD5E-69DA7BE7088A@mac.com> References: <2FF0300C-370A-45B7-9031-35F5FC0EAB4C@mac.com> <5E149CC0-EFB2-4AB7-BD5E-69DA7BE7088A@mac.com> Message-ID: Hello, I haven't needed to do updates yet. So I can't really tell you if that works yet. I have a lot of other non Framework code to write, first :>) But this thread makes me thing of a related topic. Why is it so hard to build an application in Live Code? Not a stack, but an actual application. I see this as one of the biggest challenges facing Live Code. If the LiveCode platform is to grow beyond its current niche, I believe there needs to be a well supported application framework out there. Ideally one for each of the deployment options. By all accounts ruby was a cool language long before Rails. But if it hadn't been for Rails, probably no one would be using it today. Years later there are several other well supported frameworks for ruby. But it took Rails to get people to care about ruby in the first place. IMO The primary reason that Rails took off, is that you started with a complete fully functioning web application. That is and was the default out of the box experience. That is not the experience you get from Live Code. Live Code is more like Ruby, than it is like Rails. All of the old guard here has their own take on a Framework. And most of them have years of blood sweat and tears into their own libraries. And they work great for them! I can't really make an argument to them as to why they should change. But for new people to have to re-think the same problems over and over again is just plain silly. Honestly as a beginner, I don't need or want 10 ways to do something, I need 1 well supported way. I think GLX comes the closest to being a well supported framework suitable for public consumption. I am going to stick with it. Hopefully I can help it mature. Live Code certainly seems to be getting a nice bump with the ability to deploy on to mobile devices and I think that is great. I hope that some of that energy can be directed into more support for GLX or some other framework. my 2 cents Todd On Tue, May 3, 2011 at 6:27 AM, Thomas McGrath III wrote: > Todd, > > Have you gotten any further with the framework? > > I am mostly concerned with the ability to auto check for updates. I am > willing to give up on the built-in undo and even most of the externals for > now. But with out the auto check for updates I can't really use this > framework. > > Q: Do you need the custom URL Lib to be installed in order to do the auto > updates? > > > Tom > > > On May 2, 2011, at 12:49 AM, Todd Geist wrote: > > > I have just started working with it as well, and I spoke with Trevor > about > > it. I think that the docs are bit out of date. So I would say yes that > it > > is probably likely. > > > > > > However, I have managed to make some good progress with it and I am > pretty > > out of shape LC wise having been gone since rev 2 something. Trevor and > the > > google group are very helpful. And the docs do contain lots of useful > stuff > > > > Todd > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > Todd Geist ------------------------------ geist interactive 805-419-9382 From pete at mollysrevenge.com Wed May 4 14:58:42 2011 From: pete at mollysrevenge.com (Pete) Date: Wed, 4 May 2011 11:58:42 -0700 Subject: Staying on a field In-Reply-To: References: Message-ID: The whole area of data validation is pretty interesting, lots of different ways to indicate errors. There seem to be at least two different types of validation: the integrity of each field and cross field relationships. You can sometimes do the former with keystroke captures (numeric only for example), sometimes I find it better to wait until the user tabs out of the field (e.g. for dates). If all the data on a form is valid under those criteria, then you have to check cross field dependencies, e.g. if you have a start date and an end date, they might both be valid dates but the end date can't be before the start date. I try to eliminate as much as possible of the field integrity checking by using dropdown/combobox menus showing only valid values, or, for a date, a calendar stack for selecting the date. For checks that are done after a field loses focus, I usually change the colour of the text of the label associated with the field. The whole thing about having a Save button is interesting too. I always use a Save button when I'm adding new data but for changing existing data, I like to just go ahead and change it on a control by control basis in the appropriate handler (closeField, menuPick, etc), assuming it's valid of course. That's my personal preference and I'm sure others might hate having to work that way! I'm betting that there are HIG guidelines for this stuff somewhere and that I'm probably breaking most of them! Pete Molly's Revenge On Wed, May 4, 2011 at 10:58 AM, Bill Vlahos wrote: > Chris, > > Interesting idea. I hadn't thought of it before. > > Bill Vlahos > _________________ > InfoWallet (http://www.infowallet.com) is about keeping your important > life information with you, accessible, and secure. > > On May 4, 2011, at 7:52 AM, Nonsanity wrote: > > > Just a comment on user interfaces, have you thought about using the > common > > technique of coloring a field's background red if it doesn't contain a > valid > > string? Move the test function into a handler that triggers on each key > > press. This way the right/wrong state of the field is visible to the user > at > > all times. You can also disable buttons like Submit or Next Card or > whatnot > > if the user shouldn't be able to click them with any fields still red. > > > > This interface style minimizes clicks and modal dialogs, while giving the > > user much more information. > > > > Just a thought. :) > > > > ~ Chris Innanen > > ~ Nonsanity > > > > > > On Wed, May 4, 2011 at 12:14 AM, Bill Vlahos wrote: > > > >> I do a validity check on a field to see if the user entered a valid > date. > >> If the user entered a valid date and presses TAB or RETURN the focus > moves > >> on to the next field. However, if the user enters an invalid date I want > to > >> keep the focus on the field to try again. > >> > >> This field script does everything correctly except that it doesn't set > the > >> focus back on the field. What am I doing wrong? > >> > >> on closeField > >> if me is not a date then > >> answer error "Not a valid date. Retry?" with "No" or "Yes" > >> if it is "Yes" then > >> focus on me > >> exit closeField > >> end if > >> end if > >> pass closeField > >> end closeField > >> > >> 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 > >> > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > From dunbarx at aol.com Wed May 4 15:05:19 2011 From: dunbarx at aol.com (dunbarx at aol.com) Date: Wed, 04 May 2011 15:05:19 -0400 Subject: Staying on a field In-Reply-To: References: Message-ID: <8CDD8A5586E8099-1434-142C@webmail-d094.sysops.aol.com> Checking the dictionary for "is a" returns that operator. Are you sure you were in the "All" mode when you searched? Also, the search is ala "chars" so that if you search for "is", you get lots more. I find this easy to use, despite its breadth. Craig Newman -----Original Message----- From: Bill Vlahos To: How to use LiveCode Sent: Wed, May 4, 2011 1:58 pm Subject: Re: Staying on a field Chris, Interesting idea. I hadn't thought of it before. Bill Vlahos _________________ InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. On May 4, 2011, at 7:52 AM, Nonsanity wrote: > Just a comment on user interfaces, have you thought about using the common > technique of coloring a field's background red if it doesn't contain a valid > string? Move the test function into a handler that triggers on each key > press. This way the right/wrong state of the field is visible to the user at > all times. You can also disable buttons like Submit or Next Card or whatnot > if the user shouldn't be able to click them with any fields still red. > > This interface style minimizes clicks and modal dialogs, while giving the > user much more information. > > Just a thought. :) > > ~ Chris Innanen > ~ Nonsanity > > > On Wed, May 4, 2011 at 12:14 AM, Bill Vlahos wrote: > >> I do a validity check on a field to see if the user entered a valid date. >> If the user entered a valid date and presses TAB or RETURN the focus moves >> on to the next field. However, if the user enters an invalid date I want to >> keep the focus on the field to try again. >> >> This field script does everything correctly except that it doesn't set the >> focus back on the field. What am I doing wrong? >> >> on closeField >> if me is not a date then >> answer error "Not a valid date. Retry?" with "No" or "Yes" >> if it is "Yes" then >> focus on me >> exit closeField >> end if >> end if >> pass closeField >> end closeField >> >> 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 >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From bill at bluewatermaritime.com Wed May 4 15:17:38 2011 From: bill at bluewatermaritime.com (william humphrey) Date: Wed, 4 May 2011 15:17:38 -0400 Subject: GLXFramework In-Reply-To: References: <2FF0300C-370A-45B7-9031-35F5FC0EAB4C@mac.com> <5E149CC0-EFB2-4AB7-BD5E-69DA7BE7088A@mac.com> Message-ID: Tod - you're comments about Framework are excellent. I too wish that LiveCode chose Framework as the fully supported way to work with applications. I integrate a Valentina database into my application and find it truely difficult to make stand-alone builds for Windows and MacOS although I find the LiveCode developer environment terrific. From pete at mollysrevenge.com Wed May 4 15:30:32 2011 From: pete at mollysrevenge.com (Pete) Date: Wed, 4 May 2011 12:30:32 -0700 Subject: Staying on a field In-Reply-To: <8CDD8A5586E8099-1434-142C@webmail-d094.sysops.aol.com> References: <8CDD8A5586E8099-1434-142C@webmail-d094.sysops.aol.com> Message-ID: I was searching for "date", not "is a". I guess what I'm saying is that the way the dictionary search works, you kinda have to know the answer before you search. In my case, I was trying to find if there was a way to validate a date so my first instinct was to do a search for "date". The dictionary is great if you already know the the name of the function, command, keyword, etc but can't quite remember the syntax for it, whereas if you just have a general idea of what you're looking for (as was the case for me, it doesn't really work very well. In most applications, there is a searchable help index - you key in a word or phrase and you get a list of all the help entries that include that word or phrase. If the dictionary worked that way, I think it would be a much better resource, especially for new users. Pete Molly's Revenge On Wed, May 4, 2011 at 12:05 PM, wrote: > Checking the dictionary for "is a" returns that operator. Are you sure you > were in the "All" mode when you searched? Also, the search is ala "chars" so > that if you search for "is", you get lots more. I find this easy to use, > despite its breadth. > > > Craig Newman > > > > > > -----Original Message----- > From: Bill Vlahos > To: How to use LiveCode > Sent: Wed, May 4, 2011 1:58 pm > Subject: Re: Staying on a field > > > Chris, > > Interesting idea. I hadn't thought of it before. > > Bill Vlahos > _________________ > InfoWallet (http://www.infowallet.com) is about keeping your important > life > information with you, accessible, and secure. > > On May 4, 2011, at 7:52 AM, Nonsanity wrote: > > > Just a comment on user interfaces, have you thought about using the > common > > technique of coloring a field's background red if it doesn't contain a > valid > > string? Move the test function into a handler that triggers on each key > > press. This way the right/wrong state of the field is visible to the user > at > > all times. You can also disable buttons like Submit or Next Card or > whatnot > > if the user shouldn't be able to click them with any fields still red. > > > > This interface style minimizes clicks and modal dialogs, while giving the > > user much more information. > > > > Just a thought. :) > > > > ~ Chris Innanen > > ~ Nonsanity > > > > > > On Wed, May 4, 2011 at 12:14 AM, Bill Vlahos wrote: > > > >> I do a validity check on a field to see if the user entered a valid > date. > >> If the user entered a valid date and presses TAB or RETURN the focus > moves > >> on to the next field. However, if the user enters an invalid date I want > to > >> keep the focus on the field to try again. > >> > >> This field script does everything correctly except that it doesn't set > the > >> focus back on the field. What am I doing wrong? > >> > >> on closeField > >> if me is not a date then > >> answer error "Not a valid date. Retry?" with "No" or "Yes" > >> if it is "Yes" then > >> focus on me > >> exit closeField > >> end if > >> end if > >> pass closeField > >> end closeField > >> > >> 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 > >> > > _______________________________________________ > > use-livecode mailing list > > use-livecode 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 Wed May 4 15:35:42 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 04 May 2011 14:35:42 -0500 Subject: GLXFramework In-Reply-To: References: <2FF0300C-370A-45B7-9031-35F5FC0EAB4C@mac.com> <5E149CC0-EFB2-4AB7-BD5E-69DA7BE7088A@mac.com> Message-ID: <4DC1AA8E.50806@hyperactivesw.com> On 5/4/11 2:17 PM, william humphrey wrote: > Tod - you're comments about Framework are excellent. I too wish that > LiveCode chose Framework as the fully supported way to work with > applications. I integrate a Valentina database into my application and find > it truely difficult to make stand-alone builds for Windows and MacOS > although I find the LiveCode developer environment terrific. Just to play devil's advocate: I find that GLX is overkill for almost all the apps I create. I prefer to use only code that actually applies to my project. I have my own set of common handlers and functions that I insert as needed, which keeps my apps small and compact. Don't get me wrong, GLX is excellent for what it does, but for me it isn't the best way or even the preferred way most of the time. If we had an "officially-sactioned" framework it would tend to become the default, to the exclusion of simpler methods where they are more appropriate. GLX is one choice, and ideally there would be others to choose from, or none at all. The final argument against an official framework is that people would tend to use it without understanding the underlying concepts involved. Once you have those, building an app isn't really that difficult. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From toeloop at swissonline.ch Wed May 4 15:51:49 2011 From: toeloop at swissonline.ch (Thomas Baehler) Date: Wed, 4 May 2011 21:51:49 +0200 Subject: can't copy off a text field in a standalone Message-ID: Dear List In a standalone created with LC 4.6 I can't no longer copy text out of a field, paste works though. Did I miss a new property of a text field? Cheers Thomas From todd at geistinteractive.com Wed May 4 16:08:13 2011 From: todd at geistinteractive.com (Todd Geist) Date: Wed, 4 May 2011 13:08:13 -0700 Subject: GLXFramework In-Reply-To: <4DC1AA8E.50806@hyperactivesw.com> References: <2FF0300C-370A-45B7-9031-35F5FC0EAB4C@mac.com> <5E149CC0-EFB2-4AB7-BD5E-69DA7BE7088A@mac.com> <4DC1AA8E.50806@hyperactivesw.com> Message-ID: On Wed, May 4, 2011 at 12:35 PM, J. Landman Gay wrote: > > The final argument against an official framework is that people would tend > to use it without understanding the underlying concepts involved. Once you > have those, building an app isn't really that difficult. > Hi Jacque, I am not really arguing for an official Framework with a capital "F", just a well supported one. RunRev has already has lots to do just make changes to the engine so this kind of framework would be easier to build. But I fundamentally disagree with the idea that you have to understand the underlying concepts to use a framework or anything for that matter. First when it comes to learning something new. One of the best ways to learn about the underlying concepts involved in something is by taking a part a fully functioning something (application, car, computer, toaster, clock, etc ) tweaking it and seeing what happens. It is far easier to learn how a car works by starting with a working car, then trying to build one from a box full of spare parts. Second, that idea flies in the face of some of the most important principles of software design. Modern software design is all about code re-use. Even with the best most efficient language, one person will never keep up with a team of programmers who can efficiently share code. There are just a limited number of keystrokes you can make in a day. Shareable reusable code is all about packaging it up in such a way that the other person does not need to know how it WORKS. They just need to know how to USE it. This is a huge difference. Third, But of course we all intuitively know this don't we? Live Code is just one layer on top of several other layers that play out as little pulses of energy across silicon wafers. I am willing to bet that there very few people in the world who understand all the underlying concepts that allow the Live Code runtime to do what it does. In fact there may not be any one person who really understands every piece of that puzzle. Yet by all accounts many people use Live Code everyday. Even more obviously, how many of us understand all of the underlying concepts involved in a car's electronic, multi-port, fuel injected acceleration control system? Yet we all know that when we step on the gas. Todd Todd Geist ------------------------------ geist interactive 805-419-9382 From m.schonewille at economy-x-talk.com Wed May 4 16:14:30 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 4 May 2011 22:14:30 +0200 Subject: can't copy off a text field in a standalone In-Reply-To: References: Message-ID: Well, Thomas, make sure to attend the Live LiveCode Code Event next time ;-) http://www.ustream.tv/recorded/12034326 http://livecode.tv In short, I think that a commandKeyDown handler in your field will solve the problem, but a complete Edit menu would be much more elegant. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce On 4 mei 2011, at 21:51, Thomas Baehler wrote: > Dear List > In a standalone created with LC 4.6 I can't no longer copy text out of a field, paste works though. > Did I miss a new property of a text field? > > Cheers > Thomas From dunbarx at aol.com Wed May 4 17:50:30 2011 From: dunbarx at aol.com (dunbarx at aol.com) Date: Wed, 04 May 2011 17:50:30 -0400 Subject: Finding tips (was:Staying on a field) In-Reply-To: References: <8CDD8A5586E8099-1434-142C@webmail-d094.sysops.aol.com> Message-ID: <8CDD8BC6BA3AB77-73C-F79@webmail-d094.sysops.aol.com> Pete. I see what you are saying, and I know you are an experienced user. But what you are asking may be beyond the scope of any dictionary. Searching for "date" gives, well, "date", and also "dateItems", "dateTime", "dateFormat" and others. It does not seem appropriate that methods of date validation be included there, rather only a precise definition and syntax. It is a bonus that examples are included, as well as user notes. And I always tout the "see also" stuff. All that seems like lagniappe. Anyone remember "Tricks of the Hypercard Masters"? After an LC Danny Goodman, that is what you are really yearning for. Craig -----Original Message----- From: Pete To: How to use LiveCode Sent: Wed, May 4, 2011 3:30 pm Subject: Re: Staying on a field I was searching for "date", not "is a". I guess what I'm saying is that the way the dictionary search works, you kinda have to know the answer before you search. In my case, I was trying to find if there was a way to validate a date so my first instinct was to do a search for "date". The dictionary is great if you already know the the name of the function, command, keyword, etc but can't quite remember the syntax for it, whereas if you just have a general idea of what you're looking for (as was the case for me, it doesn't really work very well. In most applications, there is a searchable help index - you key in a word or phrase and you get a list of all the help entries that include that word or phrase. If the dictionary worked that way, I think it would be a much better resource, especially for new users. Pete Molly's Revenge On Wed, May 4, 2011 at 12:05 PM, wrote: > Checking the dictionary for "is a" returns that operator. Are you sure you > were in the "All" mode when you searched? Also, the search is ala "chars" so > that if you search for "is", you get lots more. I find this easy to use, > despite its breadth. > > > Craig Newman > > > > > > -----Original Message----- > From: Bill Vlahos > To: How to use LiveCode > Sent: Wed, May 4, 2011 1:58 pm > Subject: Re: Staying on a field > > > Chris, > > Interesting idea. I hadn't thought of it before. > > Bill Vlahos > _________________ > InfoWallet (http://www.infowallet.com) is about keeping your important > life > information with you, accessible, and secure. > > On May 4, 2011, at 7:52 AM, Nonsanity wrote: > > > Just a comment on user interfaces, have you thought about using the > common > > technique of coloring a field's background red if it doesn't contain a > valid > > string? Move the test function into a handler that triggers on each key > > press. This way the right/wrong state of the field is visible to the user > at > > all times. You can also disable buttons like Submit or Next Card or > whatnot > > if the user shouldn't be able to click them with any fields still red. > > > > This interface style minimizes clicks and modal dialogs, while giving the > > user much more information. > > > > Just a thought. :) > > > > ~ Chris Innanen > > ~ Nonsanity > > > > > > On Wed, May 4, 2011 at 12:14 AM, Bill Vlahos wrote: > > > >> I do a validity check on a field to see if the user entered a valid > date. > >> If the user entered a valid date and presses TAB or RETURN the focus > moves > >> on to the next field. However, if the user enters an invalid date I want > to > >> keep the focus on the field to try again. > >> > >> This field script does everything correctly except that it doesn't set > the > >> focus back on the field. What am I doing wrong? > >> > >> on closeField > >> if me is not a date then > >> answer error "Not a valid date. Retry?" with "No" or "Yes" > >> if it is "Yes" then > >> focus on me > >> exit closeField > >> end if > >> end if > >> pass closeField > >> end closeField > >> > >> 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 > >> > > _______________________________________________ > > use-livecode mailing list > > use-livecode 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 niconiko at gmail.com Wed May 4 20:12:17 2011 From: niconiko at gmail.com (Nicolas Cueto) Date: Thu, 5 May 2011 09:12:17 +0900 Subject: how-to link to a video Message-ID: Hello All, Just looking for some general advice. If I had a standalone or revlet, and I wanted it to be able to play an online vide -- say, one hosted on YouTube -- how could that be done? All I can conceive of now is a player object with its filename set to an url or something. But while I begin testing out that idea, I'm posting here in hopes of The Solution. Thanks. -- Nicolas Cueto From andrew at rjdfarm.com Wed May 4 21:22:36 2011 From: andrew at rjdfarm.com (Andrew Kluthe) Date: Wed, 4 May 2011 18:22:36 -0700 (PDT) Subject: how-to link to a video In-Reply-To: References: Message-ID: <1304558556116-3497269.post@n4.nabble.com> So long as no one recommends The Final Solution. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/how-to-link-to-a-video-tp3497131p3497269.html Sent from the Revolution - User mailing list archive at Nabble.com. From coiin at verizon.net Wed May 4 21:42:32 2011 From: coiin at verizon.net (Colin Holgate) Date: Wed, 04 May 2011 21:42:32 -0400 Subject: how-to link to a video In-Reply-To: References: Message-ID: On May 4, 2011, at 8:12 PM, Nicolas Cueto wrote: > If I had a standalone or revlet, and I wanted it to be able to play an > online vide -- say, one hosted on YouTube -- how could that be done? Getting the URL of the video is one challenge, though it is possible to scrape through the page source to find it. If you're willing to figure out the URLs ahead of time, maybe the simplest way to work would be to have a movie on your card that you set the filename to the MP4 version of the YouTube video. From dglass at graymattercomputing.com Wed May 4 22:51:32 2011 From: dglass at graymattercomputing.com (David Glass) Date: Wed, 04 May 2011 19:51:32 -0700 Subject: Long-term Planning UI Ideas Message-ID: <4DC210B4.7020906@graymattercomputing.com> Not sure how many people are both here and on the forum, so if this is a dup for you, I apologize. Looking for a little brainstorming, and maybe best practices for an interface for a long-term planner/calendar. This is basically a Yearly Calendar view rather than a Monthly or Weekly view. Years would be along the top as a main heading, with the months broken out below them. Then, spread out along the time line (as colored bars ??) would be whatever projects are scheduled over those months. Like so: 2011 2012 2013 ........ JFMAMJJASONDJFMAMJJASONDJFMAMJJASOND........ xxxxxxxxxx yyyyyyyyyyyyyyy zzzzzzzzzzzzzzzzz www..... (hopefully that comes through OK) I could do a really simple version using a bunch of graphics drawn directly on a card, but the time frame is arbitrary and could run 10s of years into the future (and maybe it doesn't have an end; similar to how Excel will let you scroll and scroll and scroll while continuously incrementing the column labels)), and maybe at least 10 into the past, and I'm not sure how I'd handle scrolling back and forward if everything was directly on a card. I've thought maybe a DataGrid, but haven't come up with any indication on what the maximum number of columns is (assuming there'd be a column for each month), and also not sure I could get the 'double header' (year and months) to work. I'm also not sure the Form portion of the DG would work because the row will be arbitrarily wide, and I don't think I can set up the row template to handle that. So, not sure what else is possible in LC (just starting out), so any and all input is welcome. -- David Glass - Gray Matter Computing graymattercomputing.com From niconiko at gmail.com Thu May 5 04:09:10 2011 From: niconiko at gmail.com (Nicolas Cueto) Date: Thu, 5 May 2011 17:09:10 +0900 Subject: how-to link to a video In-Reply-To: References: Message-ID: > Getting the URL of the video is one challenge, > though it is possible to scrape through the page source to find it. My understanding of the 11-character code that's visible in YouTube urls is that it is an index or reference number. Not the url to an mp4 file itself. But I'd welcome someone proving me wrong. -- Nicolas Cueto From coiin at verizon.net Thu May 5 08:40:31 2011 From: coiin at verizon.net (Colin Holgate) Date: Thu, 05 May 2011 08:40:31 -0400 Subject: how-to link to a video In-Reply-To: References: Message-ID: <785E092B-9867-48C1-90CE-B1E1E54CA0BA@verizon.net> I did say you would need to scrape the page source, not the page URL. An easy way to go about that is to opt in to the HTML5 version of YouTube. Go here to do that: http://www.youtube.com/html5 Once you have done that, look at any video and then see what URL is being played by the player. It should be reasonably easy to write a script that retrieves the page source and finds the place where that URL is listed, and then you can set the filename of a player to that address. I just did that manually, and it worked. You can see for yourself. In a new stack place a player onto the card, and then type this in the message box: set the filename of player 1 to "http://tinyurl.com/3c7uwfn" Then Browse, and click the player's Play button. On May 5, 2011, at 4:09 AM, Nicolas Cueto wrote: > My understanding of the 11-character code that's visible in YouTube > urls is that it is an index or reference number. Not the url to an mp4 > file itself. From kray at sonsothunder.com Thu May 5 08:53:38 2011 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 5 May 2011 07:53:38 -0500 Subject: Long-term Planning UI Ideas In-Reply-To: <4DC210B4.7020906@graymattercomputing.com> References: <4DC210B4.7020906@graymattercomputing.com> Message-ID: <9A9E433C-6AB8-4151-9520-9741CD71BF80@sonsothunder.com> David, You could use multiple fields, stacked on top of each other and grouped together as a "year"; make ten copies of the group and set them end to end, then group all ten and resize the group horizontally down to the width you want. Turn on the hoizontal scrollbar of the outermost group and set the lockLocation of the outer group to true (otherwise itvruns the risk of expanding to fit it's contents, which would be all 10 years). So for a "year group", the first field would hold just the year number with the text centered. The field underneath would be just the month letters, using tabs between them and setting the tabStops of the field so they look evenly distributed. Same thing with the week day letters, and then finally the days themselves (which could be set up as a single 5-line field with 7 tabStops). You'd probably want to work backwards, though, starting with the days and working up to the year - it will make it easier/faster to line things up. Hope this helps, Ken Ray Sons of Thunder Software, Inc. On May 4, 2011, at 9:51 PM, David Glass wrote: > Not sure how many people are both here and on the forum, so if this is a dup for you, I apologize. > > Looking for a little brainstorming, and maybe best practices for an interface for a long-term planner/calendar. > > This is basically a Yearly Calendar view rather than a Monthly or Weekly view. Years would be along the top as a main heading, with the months broken out below them. Then, spread out along the time line (as colored bars ??) would be whatever projects are scheduled over those months. > > Like so: > > 2011 2012 2013 ........ > JFMAMJJASONDJFMAMJJASONDJFMAMJJASOND........ > xxxxxxxxxx > yyyyyyyyyyyyyyy > zzzzzzzzzzzzzzzzz > www..... > > > (hopefully that comes through OK) > > I could do a really simple version using a bunch of graphics drawn directly on a card, but the time frame is arbitrary and could run 10s of years into the future (and maybe it doesn't have an end; similar to how Excel will let you scroll and scroll and scroll while continuously incrementing the column labels)), and maybe at least 10 into the past, and I'm not sure how I'd handle scrolling back and forward if everything was directly on a card. > > I've thought maybe a DataGrid, but haven't come up with any indication on what the maximum number of columns is (assuming there'd be a column for each month), and also not sure I could get the 'double header' (year and months) to work. I'm also not sure the Form portion of the DG would work because the row will be arbitrarily wide, and I don't think I can set up the row template to handle that. > > So, not sure what else is possible in LC (just starting out), so any and all input is welcome. > > -- > David Glass - Gray Matter Computing > graymattercomputing.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 lists at mangomultimedia.com Thu May 5 09:48:17 2011 From: lists at mangomultimedia.com (Trevor DeVore) Date: Thu, 5 May 2011 09:48:17 -0400 Subject: GLXFramework In-Reply-To: <4DC1AA8E.50806@hyperactivesw.com> References: <2FF0300C-370A-45B7-9031-35F5FC0EAB4C@mac.com> <5E149CC0-EFB2-4AB7-BD5E-69DA7BE7088A@mac.com> <4DC1AA8E.50806@hyperactivesw.com> Message-ID: On Wed, May 4, 2011 at 3:35 PM, J. Landman Gay wrote: > > Just to play devil's advocate: I find that GLX is overkill for almost all > the apps I create. I prefer to use only code that actually applies to my > project. I have my own set of common handlers and functions that I insert as > needed, which keeps my apps small and compact. > Hi Jacque, How long have you been developing with X-Talk languages? It's a rhetorical question as I know that you are one of the top LiveCode programmers here. But I would make the case that the only reason you have these common handlers and know how to slim things down is because of your years of experience. Even if there were a common library that was freely available, new users would still not have enough knowledge to know where exactly to use them for application development. I believe this will remain the case for as long as LiveCode remains stack based as opposed to application or project based. > Don't get me wrong, GLX is excellent for what it does, but for me it isn't > the best way or even the preferred way most of the time. If we had an > "officially-sactioned" framework it would tend to become the default, to the > exclusion of simpler methods where they are more appropriate. There doesn't necessarily need to be an official framework but it is definitely in everybody's best interest for at least one to exist that is really well documented and provides everything the developer needs to get started. The goal should be that the developer only has to focus on code specific to their application. As the developer becomes more experienced they can decide if they want something simpler. > GLX is one choice, and ideally there would be others to choose from, or > none at all. > I believe that having "none at all" is one of the major reasons the platform isn't more popular. LiveCode is an incredible tool for developing in. It has a very steep learning curve for app development. For developers looking at LiveCode they only see what they see when they open the IDE. If you are trying to develop an application there is essentially nothing to help you get started in designing what goes on behind the scenes. This is a glaring problem for people coming from other environments. The final argument against an official framework is that people would tend > to use it without understanding the underlying concepts involved. I don't think there is anything wrong with that. Do all of the longtime LiveCode developers understand what LiveCode is doing when it renders graphics to the screen or displays text in a field? No. And we shouldn't have to. For most of us there will always be things going on behind the scenes that we don't fully understand. We may learn more about particular areas as we progress. There are other areas that we will never understand, nor will we care. Trying to understand everything that goes into making an application right from the beginning is asking too much IMO. I would venture to guess that most who try LiveCode just give up. > Once you have those, building an app isn't really that difficult. Coming to understand the underlying concepts involved is no small journey, at least it wasn't for me. When I first started using LiveCode I really struggled with how to design an application. I had a number of false starts and nearly gave up a few times. All that after having spent months trying to decide what LiveCode was. It took me a few applications and a few years before I really felt like I had a handle on everything involved. I wouldn't argue that the GLX Application Framework needs to be THE framework that everyone uses but it is my contribution to help solve a problem that I think is a major stumbling block. It is far from perfect and not fully documented but it is something. If more people were involved in the development/documentation effort it would be much better. -- Trevor DeVore Blue Mango Learning Systems LiveCode Resources for Developers: http://livecode.bluemangolearning.com Get SQL Yoga as part of the Omegabundle for LiveCode 2011: Save 85% on essential tools for LiveCode development - omegabundle.com. From niconiko at gmail.com Thu May 5 09:56:25 2011 From: niconiko at gmail.com (Nicolas Cueto) Date: Thu, 5 May 2011 22:56:25 +0900 Subject: how-to link to a video In-Reply-To: <785E092B-9867-48C1-90CE-B1E1E54CA0BA@verizon.net> References: <785E092B-9867-48C1-90CE-B1E1E54CA0BA@verizon.net> Message-ID: Colin, Thanks for persevering with me. > An easy way to go about that is to opt in to the HTML5 version of YouTube. Did that just now. Got an url, and it works in the browser. Even in its tinyurl form. > set the filename of player 1 to "http://tinyurl.com/3c7uwfn" Tried that too. But the player object stayed blank. Neither the copied url nor its tinyurl form seemed to have any effect on my stack. Confusing. -- Nicolas Cueto From coiin at verizon.net Thu May 5 10:32:59 2011 From: coiin at verizon.net (Colin Holgate) Date: Thu, 05 May 2011 10:32:59 -0400 Subject: how-to link to a video In-Reply-To: References: <785E092B-9867-48C1-90CE-B1E1E54CA0BA@verizon.net> Message-ID: <69F84DDF-ABF3-4A29-A385-1042B921835E@verizon.net> On May 5, 2011, at 9:56 AM, Nicolas Cueto wrote: > Tried that too. But the player object stayed blank. Neither the copied > url nor its tinyurl form seemed to have any effect on my stack. Did it stay blue and 4:3, or turn black, and become 16:9? Which version of LiveCode are you using? I went further with my test. I made this stack script: on openstack new player set the filename of player 1 to "http://tinyurl.com/3c7uwfn" play player 1 end openstack It works in LC, but to get it to work in a browser I had to set the security setting for Network. Here's the revlet: http://xfiles.funnygarbage.com/~colinholgate/rev/lcvid.html From keith.clarke at clarkeandclarke.co.uk Thu May 5 10:41:01 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Thu, 5 May 2011 15:41:01 +0100 Subject: Long-term Planning UI Ideas In-Reply-To: <4DC210B4.7020906@graymattercomputing.com> References: <4DC210B4.7020906@graymattercomputing.com> Message-ID: <7B54BBD6-6C83-4D36-926C-E82C29F5395C@clarkeandclarke.co.uk> Hi David, Have you looked at the Flexible grid spreadsheet-style grid control from http://www.runrevplanet.com/ It might be better suited to your needs than a full-blown data grid control. You can try it for free with the developer's kit. Best, Keith.. On 5 May 2011, at 03:51, David Glass wrote: > Not sure how many people are both here and on the forum, so if this is a dup for you, I apologize. > > Looking for a little brainstorming, and maybe best practices for an interface for a long-term planner/calendar. > > This is basically a Yearly Calendar view rather than a Monthly or Weekly view. Years would be along the top as a main heading, with the months broken out below them. Then, spread out along the time line (as colored bars ??) would be whatever projects are scheduled over those months. > > Like so: > > 2011 2012 2013 ........ > JFMAMJJASONDJFMAMJJASONDJFMAMJJASOND........ > xxxxxxxxxx > yyyyyyyyyyyyyyy > zzzzzzzzzzzzzzzzz > www..... > > > (hopefully that comes through OK) > > I could do a really simple version using a bunch of graphics drawn directly on a card, but the time frame is arbitrary and could run 10s of years into the future (and maybe it doesn't have an end; similar to how Excel will let you scroll and scroll and scroll while continuously incrementing the column labels)), and maybe at least 10 into the past, and I'm not sure how I'd handle scrolling back and forward if everything was directly on a card. > > I've thought maybe a DataGrid, but haven't come up with any indication on what the maximum number of columns is (assuming there'd be a column for each month), and also not sure I could get the 'double header' (year and months) to work. I'm also not sure the Form portion of the DG would work because the row will be arbitrarily wide, and I don't think I can set up the row template to handle that. > > So, not sure what else is possible in LC (just starting out), so any and all input is welcome. > > -- > David Glass - Gray Matter Computing > graymattercomputing.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 dixonja at hotmail.co.uk Thu May 5 10:41:15 2011 From: dixonja at hotmail.co.uk (John Dixon) Date: Thu, 5 May 2011 15:41:15 +0100 Subject: how-to link to a video In-Reply-To: <69F84DDF-ABF3-4A29-A385-1042B921835E@verizon.net> References: , , , <785E092B-9867-48C1-90CE-B1E1E54CA0BA@verizon.net>, , <69F84DDF-ABF3-4A29-A385-1042B921835E@verizon.net> Message-ID: Hello Colin... I am seeing exactly what Nicolas is sseing. The player object is blank. .. white... it doesn't likeit at all ..:-) Rev 4.0 & LiveCode 4.6.1 Dixie > On May 5, 2011, at 9:56 AM, Nicolas Cueto wrote: > > > Tried that too. But the player object stayed blank. Neither the copied > > url nor its tinyurl form seemed to have any effect on my stack. > > Did it stay blue and 4:3, or turn black, and become 16:9? > > Which version of LiveCode are you using? > > I went further with my test. I made this stack script: > > on openstack > new player > set the filename of player 1 to "http://tinyurl.com/3c7uwfn" > play player 1 > end openstack > > > It works in LC, but to get it to work in a browser I had to set the security setting for Network. Here's the revlet: > > http://xfiles.funnygarbage.com/~colinholgate/rev/lcvid.html From coiin at verizon.net Thu May 5 10:50:11 2011 From: coiin at verizon.net (Colin Holgate) Date: Thu, 05 May 2011 10:50:11 -0400 Subject: how-to link to a video In-Reply-To: References: , , , <785E092B-9867-48C1-90CE-B1E1E54CA0BA@verizon.net>, , <69F84DDF-ABF3-4A29-A385-1042B921835E@verizon.net> Message-ID: <5FE5FA16-F606-4F50-A343-23F4C18D5E41@verizon.net> Are you on Windows? Do you have QuickTime installed? I'm on Mac, and have no problem playing the video. Is there any chance that where you are has YouTube blocked? It doesn't work in Chrome, and in Firefox you have to run in 32 bit. Not sure why, it works in Safari in 64 bit. On May 5, 2011, at 10:41 AM, John Dixon wrote: > I am seeing exactly what Nicolas is sseing. The player object is blank. .. white... it doesn't likeit at all ..:-) > Rev 4.0 & LiveCode 4.6.1 From klaus at major.on-rev.com Thu May 5 10:58:45 2011 From: klaus at major.on-rev.com (Klaus on-rev) Date: Thu, 5 May 2011 16:58:45 +0200 Subject: how-to link to a video In-Reply-To: <5FE5FA16-F606-4F50-A343-23F4C18D5E41@verizon.net> References: , , , <785E092B-9867-48C1-90CE-B1E1E54CA0BA@verizon.net>, , <69F84DDF-ABF3-4A29-A385-1042B921835E@verizon.net> <5FE5FA16-F606-4F50-A343-23F4C18D5E41@verizon.net> Message-ID: Hi Colin, > Are you on Windows? Do you have QuickTime installed? I'm on Mac, and have no problem playing the video. > Is there any chance that where you are has YouTube blocked? > It doesn't work in Chrome, and in Firefox you have to run in 32 bit. Not sure why, it works in Safari in 64 bit. just made a quick test on my Mac: 1. Desktop, nothing appears in the player. 2. Revlet, crashed the Plug-in but not Safari :-) Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From niconiko at gmail.com Thu May 5 10:59:30 2011 From: niconiko at gmail.com (Nicolas Cueto) Date: Thu, 5 May 2011 23:59:30 +0900 Subject: how-to link to a video In-Reply-To: <69F84DDF-ABF3-4A29-A385-1042B921835E@verizon.net> References: <785E092B-9867-48C1-90CE-B1E1E54CA0BA@verizon.net> <69F84DDF-ABF3-4A29-A385-1042B921835E@verizon.net> Message-ID: > Did it stay blue and 4:3, or turn black, and become 16:9? Neither. It stayed absolutely unchanged. Both in color and size. Am using LC 4.6. > Here's the revlet: > > http://xfiles.funnygarbage.com/~colinholgate/rev/lcvid.html Unfortunately, my Chrome browser doesn't work with the revweb plugin, and neither my Firefox nor IE are HTML5 compliant. So, your revlet is loading a blank player object. -- Nicolas Cueto From niconiko at gmail.com Thu May 5 11:01:09 2011 From: niconiko at gmail.com (Nicolas Cueto) Date: Fri, 6 May 2011 00:01:09 +0900 Subject: how-to link to a video In-Reply-To: <5FE5FA16-F606-4F50-A343-23F4C18D5E41@verizon.net> References: <785E092B-9867-48C1-90CE-B1E1E54CA0BA@verizon.net> <69F84DDF-ABF3-4A29-A385-1042B921835E@verizon.net> <5FE5FA16-F606-4F50-A343-23F4C18D5E41@verizon.net> Message-ID: > Are you on Windows? Do you have QuickTime installed? I'm on Windows, and QT is installed. -- Nicolas Cueto From niconiko at gmail.com Thu May 5 11:03:20 2011 From: niconiko at gmail.com (Nicolas Cueto) Date: Fri, 6 May 2011 00:03:20 +0900 Subject: how-to link to a video In-Reply-To: References: <785E092B-9867-48C1-90CE-B1E1E54CA0BA@verizon.net> <69F84DDF-ABF3-4A29-A385-1042B921835E@verizon.net> <5FE5FA16-F606-4F50-A343-23F4C18D5E41@verizon.net> Message-ID: BTW. Colin, the tinyurl links you've included in emails don't work. But I'm pretty sure that's YouTube's doing, not LC's. -- Nicolas Cueto From dixonja at hotmail.co.uk Thu May 5 11:03:43 2011 From: dixonja at hotmail.co.uk (John Dixon) Date: Thu, 5 May 2011 16:03:43 +0100 Subject: how-to link to a video In-Reply-To: References: , , , , , , <785E092B-9867-48C1-90CE-B1E1E54CA0BA@verizon.net>, , , , <69F84DDF-ABF3-4A29-A385-1042B921835E@verizon.net>, , <5FE5FA16-F606-4F50-A343-23F4C18D5E41@verizon.net>, Message-ID: Hi Colin... > > Are you on Windows? Do you have QuickTime installed? I'm on Mac, and have no problem playing the video. > > Is there any chance that where you are has YouTube blocked? > > It doesn't work in Chrome, and in Firefox you have to run in 32 bit. Not sure why, it works in Safari in 64 bit. I'm on a mac ... and have noticed just as Klaus has reported below.. > just made a quick test on my Mac: > 1. Desktop, nothing appears in the player. > 2. Revlet, crashed the Plug-in but not Safari :-) > Best > Klaus From m.schonewille at economy-x-talk.com Thu May 5 11:09:22 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 5 May 2011 17:09:22 +0200 Subject: Live LiveCode Code Event #22 Message-ID: <62110E92-AB37-4138-B305-75053E669093@economy-x-talk.com> Dear folks, It is a big pleasure to announce the 21st edition of the Live LiveCode Code Event with two interesting presentations. This weekend's event is scheduled for 7 May 2011 at 19:00h GMT (Sat. 22:00 in Moscow, Sat. 20:00 in Paris, Sat. 14:00 in New York, Sat. 11:00 in Los Angeles, Sun. 04:00 in Sydney, Sun. 03:00 in Tokyo, Sun. 2:00 in Beijing). At the recent RunRev conference there was a contest, where attendees, and simulcast viewers, were asked to create a stack that was suitable for use on mobile devices, from scratch, using LiveCode. There were nine entries, with the winning entry being a jigsaw puzzle app that Colin made for the iPad. At this weeks meeting Colin will show the app, and go over all of the code that makes it work. Jim's discussion will be touring pages and collecting links that can help the beginner, intermediate, and advanced users. There are quite a few resources available, but yet so many programmers do not know how to find them. eHUG, http://www.ehug.info , will be raffling off the e-book "Take Control of Media on Your iPad" courtesy of TidBITS, http://ww.tidbits.com . (These e-books normally cost 10 to 15 dollar). During the event, Economy-x-Talk offers a 25% discount on their Installer Maker, which can be downloaded at http://installermaker.economy-x-talk.com . A discounted license can be obtained at http://livetalk.us/im . Make sure to use ChatRev during the happening, otherwise you won't know where to watch the streams, which will be announced in ChatRev. Download ChatRev here: http://bjoernke.com?target=chatrev or enter in the message box: go stack URL "http://bjoernke.com/chatrev/chatrev1.3b3.rev" See also the following page for the same information: http://livecode.tv Mark -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce From rene.micout at numericable.com Thu May 5 11:17:02 2011 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Thu, 5 May 2011 17:17:02 +0200 Subject: Live LiveCode Code Event #22 In-Reply-To: <62110E92-AB37-4138-B305-75053E669093@economy-x-talk.com> References: <62110E92-AB37-4138-B305-75053E669093@economy-x-talk.com> Message-ID: <3A0E2531-7A97-473C-9047-19D08710FD9F@numericable.com> Hello Mark, TidBits > http://www.tidbits.com (3w) and not (2w) ;-) Ren? Le 5 mai 2011 ? 17:09, Mark Schonewille a ?crit : > Dear folks, > > It is a big pleasure to announce the 21st edition of the Live LiveCode Code Event with two interesting presentations. This weekend's event is scheduled for 7 May 2011 at 19:00h GMT (Sat. 22:00 in Moscow, Sat. 20:00 in Paris, Sat. 14:00 in New York, Sat. 11:00 in Los Angeles, Sun. 04:00 in Sydney, Sun. 03:00 in Tokyo, Sun. 2:00 in Beijing). > > At the recent RunRev conference there was a contest, where attendees, and simulcast viewers, were asked to create a stack that was suitable for use on mobile devices, from scratch, using LiveCode. There were nine entries, with the winning entry being a jigsaw puzzle app that Colin made for the iPad. At this weeks meeting Colin will show the app, and go over all of the code that makes it work. > > Jim's discussion will be touring pages and collecting links that can help the beginner, intermediate, and advanced users. There are quite a few resources available, but yet so many programmers do not know how to find them. > > eHUG, http://www.ehug.info , will be raffling off the e-book "Take Control of Media on Your iPad" courtesy of TidBITS, http://ww.tidbits.com . (These e-books normally cost 10 to 15 dollar). > > During the event, Economy-x-Talk offers a 25% discount on their Installer Maker, which can be downloaded at http://installermaker.economy-x-talk.com . A discounted license can be obtained at http://livetalk.us/im . > > Make sure to use ChatRev during the happening, otherwise you won't know where to watch the streams, which will be announced in ChatRev. Download ChatRev here: > http://bjoernke.com?target=chatrev > or enter in the message box: > go stack URL "http://bjoernke.com/chatrev/chatrev1.3b3.rev" > > See also the following page for the same information: > http://livecode.tv > > Mark > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From coiin at verizon.net Thu May 5 11:27:48 2011 From: coiin at verizon.net (Colin Holgate) Date: Thu, 05 May 2011 11:27:48 -0400 Subject: how-to link to a video In-Reply-To: References: <785E092B-9867-48C1-90CE-B1E1E54CA0BA@verizon.net> <69F84DDF-ABF3-4A29-A385-1042B921835E@verizon.net> <5FE5FA16-F606-4F50-A343-23F4C18D5E41@verizon.net> Message-ID: <6984B763-53B6-4C78-AE04-439334289D12@verizon.net> When you say they don't work, what happens? If I click on http://tinyurl.com/3c7uwfn I immediately see the mp4 file playing. For what it's worth, I'm using 4.6.1, so maybe something was fixed in the later plugin? On May 5, 2011, at 11:03 AM, Nicolas Cueto wrote: > BTW. Colin, the tinyurl links you've included in emails don't work. > But I'm pretty sure that's YouTube's doing, not LC's. From wwaldman at klht.org Thu May 5 11:30:38 2011 From: wwaldman at klht.org (William Waldman) Date: Thu, 05 May 2011 11:30:38 -0400 Subject: Facebook and Twitter API In-Reply-To: References: Message-ID: Anybody do any work with these API's and Livecode? I'd like to be able to set a status, as a first small step... Thanks Bill Waldman This e-mail and any attachments may contain confidential and privileged information. If you are not the intended recipient, please notify the sender immediately by return e-mail, delete this e-mail and any attachments and destroy any copies. Any dissemination or use of this information by a person other than the intended recipient is unauthorized. From klaus at major.on-rev.com Thu May 5 11:35:40 2011 From: klaus at major.on-rev.com (Klaus on-rev) Date: Thu, 5 May 2011 17:35:40 +0200 Subject: how-to link to a video In-Reply-To: <6984B763-53B6-4C78-AE04-439334289D12@verizon.net> References: <785E092B-9867-48C1-90CE-B1E1E54CA0BA@verizon.net> <69F84DDF-ABF3-4A29-A385-1042B921835E@verizon.net> <5FE5FA16-F606-4F50-A343-23F4C18D5E41@verizon.net> <6984B763-53B6-4C78-AE04-439334289D12@verizon.net> Message-ID: Hi Colin, > When you say they don't work, what happens? > If I click on http://tinyurl.com/3c7uwfn I immediately see the mp4 file playing. When I click this link it will resolve to: http://v1.lscache8.c.youtube.com/videoplayback?sparams=id%2Cexpire%2Cip%2Cipbits%2Citag%2Cratebypass%2Coc%3AU0hPSVZNUF9FSkNOOV9OR1RB&fexp=909702%2C904535%2C902310%2C901013&itag=18&ipbits=0&signature=A056E04BBDE34D762B18D943D687112C04B727AA.24B87563C426251AB458DA03A193E858F78C0CFB&sver=3&ratebypass=yes&expire=1304622000&key=yt1&ip=0.0.0.0&id=940976f1dead6e4a and I get a blank page! > For what it's worth, I'm using 4.6.1, so maybe something was fixed in the later plugin? > > > On May 5, 2011, at 11:03 AM, Nicolas Cueto wrote: > >> BTW. Colin, the tinyurl links you've included in emails don't work. >> But I'm pretty sure that's YouTube's doing, not LC's. Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From dglass at graymattercomputing.com Thu May 5 11:48:30 2011 From: dglass at graymattercomputing.com (David Glass) Date: Thu, 05 May 2011 08:48:30 -0700 Subject: Long-term Planning UI Ideas In-Reply-To: <7B54BBD6-6C83-4D36-926C-E82C29F5395C@clarkeandclarke.co.uk> References: <4DC210B4.7020906@graymattercomputing.com> <7B54BBD6-6C83-4D36-926C-E82C29F5395C@clarkeandclarke.co.uk> Message-ID: <4DC2C6CE.8030402@graymattercomputing.com> Thanks! I'll take a look at it. On 05/05/2011 7:41 AM, Keith Clarke wrote: > Hi David, > Have you looked at the Flexible grid spreadsheet-style grid control from http://www.runrevplanet.com/ > It might be better suited to your needs than a full-blown data grid control. > You can try it for free with the developer's kit. > Best, > Keith.. -- David Glass - Gray Matter Computing graymattercomputing.com From dglass at graymattercomputing.com Thu May 5 11:49:39 2011 From: dglass at graymattercomputing.com (David Glass) Date: Thu, 05 May 2011 08:49:39 -0700 Subject: Long-term Planning UI Ideas In-Reply-To: <9A9E433C-6AB8-4151-9520-9741CD71BF80@sonsothunder.com> References: <4DC210B4.7020906@graymattercomputing.com> <9A9E433C-6AB8-4151-9520-9741CD71BF80@sonsothunder.com> Message-ID: <4DC2C713.4090007@graymattercomputing.com> Yeah, that's probably the best way to handle the headings, although I don't have to go down to the individual day, thankfully. On 05/05/2011 5:53 AM, Ken Ray wrote: > David, > > You could use multiple fields, stacked on top of each other and grouped together as a "year"; make ten copies of the group and set them end to end, then group all ten and resize the group horizontally down to the width you want. Turn on the hoizontal scrollbar of the outermost group and set the lockLocation of the outer group to true (otherwise itvruns the risk of expanding to fit it's contents, which would be all 10 years). > > So for a "year group", the first field would hold just the year number with the text centered. The field underneath would be just the month letters, using tabs between them and setting the tabStops of the field so they look evenly distributed. Same thing with the week day letters, and then finally the days themselves (which could be set up as a single 5-line field with 7 tabStops). > > You'd probably want to work backwards, though, starting with the days and working up to the year - it will make it easier/faster to line things up. > > Hope this helps, > > Ken Ray > Sons of Thunder Software, Inc. > -- David Glass - Gray Matter Computing graymattercomputing.com From bobs at twft.com Thu May 5 12:06:35 2011 From: bobs at twft.com (Bob Sneidar) Date: Thu, 5 May 2011 09:06:35 -0700 Subject: Long-term Planning UI Ideas In-Reply-To: <4DC210B4.7020906@graymattercomputing.com> References: <4DC210B4.7020906@graymattercomputing.com> Message-ID: The actual data that a Datagrid displays is memory based, and so would have the same constraints as an Excel spreadsheet. One may argue that there is a LOT of memory to work with these days and so it is not really an issue, but if you are thinking in terms of unlimited data forwards and backwards, you may want to consider paging in your data from a database of some sort. Or better yet, who thinks the option of linking a datagrid to an SQL database table is a good idea? Bob On May 4, 2011, at 7:51 PM, David Glass wrote: > Not sure how many people are both here and on the forum, so if this is a dup for you, I apologize. > > Looking for a little brainstorming, and maybe best practices for an interface for a long-term planner/calendar. > > This is basically a Yearly Calendar view rather than a Monthly or Weekly view. Years would be along the top as a main heading, with the months broken out below them. Then, spread out along the time line (as colored bars ??) would be whatever projects are scheduled over those months. > > Like so: > > 2011 2012 2013 ........ > JFMAMJJASONDJFMAMJJASONDJFMAMJJASOND........ > xxxxxxxxxx > yyyyyyyyyyyyyyy > zzzzzzzzzzzzzzzzz > www..... > > > (hopefully that comes through OK) > > I could do a really simple version using a bunch of graphics drawn directly on a card, but the time frame is arbitrary and could run 10s of years into the future (and maybe it doesn't have an end; similar to how Excel will let you scroll and scroll and scroll while continuously incrementing the column labels)), and maybe at least 10 into the past, and I'm not sure how I'd handle scrolling back and forward if everything was directly on a card. > > I've thought maybe a DataGrid, but haven't come up with any indication on what the maximum number of columns is (assuming there'd be a column for each month), and also not sure I could get the 'double header' (year and months) to work. I'm also not sure the Form portion of the DG would work because the row will be arbitrarily wide, and I don't think I can set up the row template to handle that. > > So, not sure what else is possible in LC (just starting out), so any and all input is welcome. > > -- > David Glass - Gray Matter Computing > graymattercomputing.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 dglass at graymattercomputing.com Thu May 5 12:25:57 2011 From: dglass at graymattercomputing.com (David Glass) Date: Thu, 05 May 2011 09:25:57 -0700 Subject: Long-term Planning UI Ideas In-Reply-To: References: <4DC210B4.7020906@graymattercomputing.com> Message-ID: <4DC2CF95.5020108@graymattercomputing.com> I'm not overly concerned with the actual data at this point, but rather the display, and I'm not able to envision how a datagrid would be able to display the data the way I have in mind. Most likely because I don't know enough about LC. On 05/05/2011 9:06 AM, Bob Sneidar wrote: > The actual data that a Datagrid displays is memory based, and so would have the same constraints as an Excel spreadsheet. One may argue that there is a LOT of memory to work with these days and so it is not really an issue, but if you are thinking in terms of unlimited data forwards and backwards, you may want to consider paging in your data from a database of some sort. > > Or better yet, who thinks the option of linking a datagrid to an SQL database table is a good idea? > > Bob -- David Glass - Gray Matter Computing graymattercomputing.com Help Desk: http://www.graymattercomputing/helpdesk 559-303-4915 From jmyepes at mac.com Thu May 5 12:36:20 2011 From: jmyepes at mac.com (JosepM) Date: Thu, 5 May 2011 09:36:20 -0700 (PDT) Subject: Convert Packet decimals comp-3 and comp-6 Message-ID: <1304613380194-3498822.post@n4.nabble.com> Hi, I need to read a file from a Cobol application and import the data files. I have the file description but I don't have idea how convert the decimals fields. 01 NAME PIC X(30) --> This I guess is 30 chars 02 CODE PIC 9(5) COMP-6 --> This is five digits with packet decimal format. Comp-3 stores data in a BCD -- binary coded decimal -- format with the sign after the least significant digit. Any help to handle this formats? Salut, Josep -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Convert-Packet-decimals-comp-3-and-comp-6-tp3498822p3498822.html Sent from the Revolution - User mailing list archive at Nabble.com. From coiin at verizon.net Thu May 5 12:53:52 2011 From: coiin at verizon.net (Colin Holgate) Date: Thu, 05 May 2011 12:53:52 -0400 Subject: how-to link to a video In-Reply-To: References: <785E092B-9867-48C1-90CE-B1E1E54CA0BA@verizon.net> <69F84DDF-ABF3-4A29-A385-1042B921835E@verizon.net> <5FE5FA16-F606-4F50-A343-23F4C18D5E41@verizon.net> <6984B763-53B6-4C78-AE04-439334289D12@verizon.net> Message-ID: That long link works for me too. I can't be the only one here able to view video online! Looking at it though, it seems to have a lot of parameters, so maybe it can only play on my computer. It doesn't work on my iPad. I'll dig deeper to see if I can get at the actual mp4 url. On May 5, 2011, at 11:35 AM, Klaus on-rev wrote: > When I click this link it will resolve to: From klaus at major.on-rev.com Thu May 5 12:58:33 2011 From: klaus at major.on-rev.com (Klaus on-rev) Date: Thu, 5 May 2011 18:58:33 +0200 Subject: how-to link to a video In-Reply-To: References: <785E092B-9867-48C1-90CE-B1E1E54CA0BA@verizon.net> <69F84DDF-ABF3-4A29-A385-1042B921835E@verizon.net> <5FE5FA16-F606-4F50-A343-23F4C18D5E41@verizon.net> <6984B763-53B6-4C78-AE04-439334289D12@verizon.net> Message-ID: <9379EC75-CD22-489A-A9B0-6A84C1A9FC83@major.on-rev.com> Hi Colin, > That long link works for me too. I can't be the only one here able to view video online! > Looking at it though, it seems to have a lot of parameters, so maybe it can only play on my computer. yep, I also think this link is tied to your machine somehow. > It doesn't work on my iPad. I'll dig deeper to see if I can get at the actual mp4 url. Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From andre at andregarzia.com Thu May 5 13:04:02 2011 From: andre at andregarzia.com (Andre Garzia) Date: Thu, 5 May 2011 07:04:02 -1000 Subject: Facebook and Twitter API In-Reply-To: References: Message-ID: William, I am doing work on these specific libraries and am about to release them in dual license GPL/Commercial. Cheers andre On Thu, May 5, 2011 at 5:30 AM, William Waldman wrote: > Anybody do any work with these API's and Livecode? > I'd like to be able to set a status, as a first small step... > > Thanks > > Bill Waldman > > This e-mail and any attachments may contain confidential and > privileged information. If you are not the intended recipient, > please notify the sender immediately by return e-mail, delete > this e-mail and any attachments and destroy any copies. Any > dissemination or use of this information by a person other than > the intended recipient is unauthorized. > _______________________________________________ > use-livecode mailing list > use-livecode 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 pete at mollysrevenge.com Thu May 5 13:30:55 2011 From: pete at mollysrevenge.com (Pete) Date: Thu, 5 May 2011 10:30:55 -0700 Subject: GLXFramework In-Reply-To: References: <2FF0300C-370A-45B7-9031-35F5FC0EAB4C@mac.com> <5E149CC0-EFB2-4AB7-BD5E-69DA7BE7088A@mac.com> <4DC1AA8E.50806@hyperactivesw.com> Message-ID: As a relatively new user (couple of years), I wholeheartedly agree with the framework concept. LC touts itself as being easy to use because of its English syntax but the reality is that its learning curve is extremely steep. I'm pretty sure there's a large number of people out there who have simply given up on it for that reason and that's sad, because LC really is a pretty remarkable development tool. One of Trevor's key phrases is "the developer only has to focus on code specific to their application". That's the crux of the matter to me. I don't want to have to spend time on implementing standard edit functions like cut, copy, paste, select all, undo even though once I've made my version of that code I can reuse it. I want that functionality to just be there so I can use the small amount of brain power I have on figuring out how to implement the logic of my application. If there's ever a project to develop some sort of open source framework for LC, count me in! Pete Molly's Revenge On Thu, May 5, 2011 at 6:48 AM, Trevor DeVore wrote: > On Wed, May 4, 2011 at 3:35 PM, J. Landman Gay >wrote: > > > > Just to play devil's advocate: I find that GLX is overkill for almost all > > the apps I create. I prefer to use only code that actually applies to my > > project. I have my own set of common handlers and functions that I insert > as > > needed, which keeps my apps small and compact. > > > > Hi Jacque, > > How long have you been developing with X-Talk languages? It's a rhetorical > question as I know that you are one of the top LiveCode programmers here. > But I would make the case that the only reason you have these common > handlers and know how to slim things down is because of your years of > experience. Even if there were a common library that was freely available, > new users would still not have enough knowledge to know where exactly to > use > them for application development. I believe this will remain the case for > as > long as LiveCode remains stack based as opposed to application or project > based. > > > > Don't get me wrong, GLX is excellent for what it does, but for me it > isn't > > the best way or even the preferred way most of the time. If we had an > > "officially-sactioned" framework it would tend to become the default, to > the > > exclusion of simpler methods where they are more appropriate. > > > There doesn't necessarily need to be an official framework but it is > definitely in everybody's best interest for at least one to exist that is > really well documented and provides everything the developer needs to get > started. The goal should be that the developer only has to focus on code > specific to their application. As the developer becomes more experienced > they can decide if they want something simpler. > > > > GLX is one choice, and ideally there would be others to choose from, or > > none at all. > > > > I believe that having "none at all" is one of the major reasons the > platform > isn't more popular. LiveCode is an incredible tool for developing in. It > has > a very steep learning curve for app development. For developers looking at > LiveCode they only see what they see when they open the IDE. If you are > trying to develop an application there is essentially nothing to help you > get started in designing what goes on behind the scenes. This is a glaring > problem for people coming from other environments. > > The final argument against an official framework is that people would tend > > to use it without understanding the underlying concepts involved. > > > I don't think there is anything wrong with that. Do all of the longtime > LiveCode developers understand what LiveCode is doing when it renders > graphics to the screen or displays text in a field? No. And we shouldn't > have to. For most of us there will always be things going on behind the > scenes that we don't fully understand. We may learn more about particular > areas as we progress. There are other areas that we will never understand, > nor will we care. Trying to understand everything that goes into making an > application right from the beginning is asking too much IMO. I would > venture > to guess that most who try LiveCode just give up. > > > > Once you have those, building an app isn't really that difficult. > > > Coming to understand the underlying concepts involved is no small journey, > at least it wasn't for me. When I first started using LiveCode I really > struggled with how to design an application. I had a number of false starts > and nearly gave up a few times. All that after having spent months trying > to > decide what LiveCode was. It took me a few applications and a few years > before I really felt like I had a handle on everything involved. > > I wouldn't argue that the GLX Application Framework needs to be THE > framework that everyone uses but it is my contribution to help solve a > problem that I think is a major stumbling block. It is far from perfect and > not fully documented but it is something. If more people were involved in > the development/documentation effort it would be much better. > > -- > Trevor DeVore > Blue Mango Learning Systems > > LiveCode Resources for Developers: http://livecode.bluemangolearning.com > > Get SQL Yoga as part of the Omegabundle for LiveCode 2011: Save 85% on > essential tools for LiveCode development - omegabundle.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 form at nonsanity.com Thu May 5 13:38:32 2011 From: form at nonsanity.com (Nonsanity) Date: Thu, 5 May 2011 13:38:32 -0400 Subject: Long-term Planning UI Ideas In-Reply-To: <4DC210B4.7020906@graymattercomputing.com> References: <4DC210B4.7020906@graymattercomputing.com> Message-ID: David, I always like the occasional programming challenge to keep me fresh. So here's a little demo stack for you. See how it fits your needs. http://db.tt/RFGMQp7 I only just made it after reading your email an hour or so ago, so it may be riddled with bugs... but at least there's only one script object. I didn't go the datagrid route since that seemed overkill for this. It's all driven by the month name fields - Their size, positions, and number determine how the timeline scrolls. The only script is in the transparent button "scroller" that covers the whole timeline. The start and end months for the projects are in the project graphics' custom properties. See the script comments for more details. Feedback from anyone is always appreciated. :) ~ Chris Innanen ~ Nonsanity On Wed, May 4, 2011 at 10:51 PM, David Glass wrote: > Not sure how many people are both here and on the forum, so if this is a > dup for you, I apologize. > > Looking for a little brainstorming, and maybe best practices for an > interface for a long-term planner/calendar. > > This is basically a Yearly Calendar view rather than a Monthly or Weekly > view. Years would be along the top as a main heading, with the months broken > out below them. Then, spread out along the time line (as colored bars ??) > would be whatever projects are scheduled over those months. > > Like so: > > 2011 2012 2013 ........ > JFMAMJJASONDJFMAMJJASONDJFMAMJJASOND........ > xxxxxxxxxx > yyyyyyyyyyyyyyy > zzzzzzzzzzzzzzzzz > www..... > > > (hopefully that comes through OK) > > I could do a really simple version using a bunch of graphics drawn directly > on a card, but the time frame is arbitrary and could run 10s of years into > the future (and maybe it doesn't have an end; similar to how Excel will let > you scroll and scroll and scroll while continuously incrementing the column > labels)), and maybe at least 10 into the past, and I'm not sure how I'd > handle scrolling back and forward if everything was directly on a card. > > I've thought maybe a DataGrid, but haven't come up with any indication on > what the maximum number of columns is (assuming there'd be a column for each > month), and also not sure I could get the 'double header' (year and months) > to work. I'm also not sure the Form portion of the DG would work because the > row will be arbitrarily wide, and I don't think I can set up the row > template to handle that. > > So, not sure what else is possible in LC (just starting out), so any and > all input is welcome. > > -- > David Glass - Gray Matter Computing > graymattercomputing.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 baccheschi at tin.it Thu May 5 13:45:08 2011 From: baccheschi at tin.it (baccheschi at tin.it) Date: Thu, 5 May 2011 19:45:08 +0200 (CEST) Subject: performance Message-ID: <12fc1435d88.baccheschi@tin.it> Hello everyone is it possible with LiveCode 4.6.1 to perform a "revChangeWindowSize" or a "resizeStack" which works on the web ? thanks for any suggestion mario From pete at mollysrevenge.com Thu May 5 14:07:34 2011 From: pete at mollysrevenge.com (Pete) Date: Thu, 5 May 2011 11:07:34 -0700 Subject: Finding Tips Message-ID: Hi Craig, I guess I don't really consider myself a particularly experienced user - I'd put myself around about a 4 on an experience scale of 1 - 10. I know quite a lot about particular segments of LC's capabilities and practically zero about others. So when I need to start figuring how to do something in those zero-knowledge segments, I need all the help I can get! That's partly what this suggestion is about. As far as a keyword search on the dictionary, I think perhaps I didn't explain things very well. Think of it as a Google search. I'd key in "date" and I'd get a series of links that would show the dictionary keyword and it's summary followed by a couple of lines of text from the entry that include the word date. That would get me "date", "DateItems", dateFormat, dateTime, is a, centuryCutOff and most likely a bunch of other entries I don't even know exist (or at least haven't made the connection with). I click on a link that interests me ( "is a" in this case) and I see the whole dictionary entry for that link. I do agree that what I'm suggesting is beyond the scope of the current dictionary application, but the information needed to provide that type of functionality is all in the dictionary files. Now I come to think of it, I wonder if Google has a way to index a specific file? Pete Molly's Revenge - Hide quoted text - On Wed, May 4, 2011 at 2:50 PM, wrote: > Pete. > > > I see what you are saying, and I know you are an experienced user. But what > you are asking may be beyond the scope of any dictionary. Searching for > "date" gives, well, "date", and also "dateItems", "dateTime", "dateFormat" > and others. It does not seem appropriate that methods of date validation be > included there, rather only a precise definition and syntax. > > > It is a bonus that examples are included, as well as user notes. And I > always tout the "see also" stuff. All that seems like lagniappe. > > > Anyone remember "Tricks of the Hypercard Masters"? After an LC Danny > Goodman, that is what you are really yearning for. > > > Craig Pete Molly's Revenge From dglass at graymattercomputing.com Thu May 5 14:20:31 2011 From: dglass at graymattercomputing.com (David Glass) Date: Thu, 05 May 2011 11:20:31 -0700 Subject: Long-term Planning UI Ideas In-Reply-To: References: <4DC210B4.7020906@graymattercomputing.com> Message-ID: <4DC2EA6F.2030008@graymattercomputing.com> That is *very* cool. Almost exactly what I was envisioning, and definitely a great help! Thanks so much. :) On 05/05/2011 10:38 AM, Nonsanity wrote: > David, > > I always like the occasional programming challenge to keep me fresh. So > here's a little demo stack for you. See how it fits your needs. > > http://db.tt/RFGMQp7 -- David Glass - Gray Matter Computing graymattercomputing.com From randall at randallreetz.com Thu May 5 14:44:17 2011 From: randall at randallreetz.com (Randall Reetz) Date: Thu, 5 May 2011 11:44:17 -0700 Subject: Finding Tips In-Reply-To: References: Message-ID: Yes, google has the code. Has published the code. Gives out the code. Wants people to use the code. Makes it easy to use the code. Ect. Etc. Etc. And the code doesn't build content. It uses pre-existing content. It just builds an internal index much the same way that it builds an index of the entire web. Once the index is built, searches, in the google style, with results as you have described, are easily handled by their free and well documented and automated code. And of course such functionality would be very useful regardless of a user's level of expertise. Randall Lee Reetz On May 5, 2011, at 11:07 AM, Pete wrote: > Hi Craig, > > I guess I don't really consider myself a particularly experienced user - I'd > put myself around about a 4 on an experience scale of 1 - 10. I know quite > a lot about particular segments of LC's capabilities and practically zero > about others. So when I need to start figuring how to do something in those > zero-knowledge segments, I need all the help I can get! That's partly what > this suggestion is about. > > As far as a keyword search on the dictionary, I think perhaps I didn't > explain things very well. Think of it as a Google search. I'd key in > "date" and I'd get a series of links that would show the dictionary keyword > and it's summary followed by a couple of lines of text from the entry that > include the word date. That would get me "date", "DateItems", dateFormat, > dateTime, is a, centuryCutOff and most likely a bunch of other entries I > don't even know exist (or at least haven't made the connection with). I > click on a link that interests me ( "is a" in this case) and I see the whole > dictionary entry for that link. > > I do agree that what I'm suggesting is beyond the scope of the current > dictionary application, but the information needed to provide that type of > functionality is all in the dictionary files. Now I come to think of it, I > wonder if Google has a way to index a specific file? > > > Pete > Molly's Revenge > - Hide quoted text - > > > > > On Wed, May 4, 2011 at 2:50 PM, wrote: > >> Pete. >> >> >> I see what you are saying, and I know you are an experienced user. But what >> you are asking may be beyond the scope of any dictionary. Searching for >> "date" gives, well, "date", and also "dateItems", "dateTime", "dateFormat" >> and others. It does not seem appropriate that methods of date validation be >> included there, rather only a precise definition and syntax. >> >> >> It is a bonus that examples are included, as well as user notes. And I >> always tout the "see also" stuff. All that seems like lagniappe. >> >> >> Anyone remember "Tricks of the Hypercard Masters"? After an LC Danny >> Goodman, that is what you are really yearning for. >> >> >> Craig > > > 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 > My URL: http://www.randallreetz.com My Computation/Information/Evolution/Economics Theory blog: http://www.complexitymetric.blogspot.com My "CLINE / computation language intelligence nature evolution" meetup group: http://www.meetup.com/CLINE-meetup From bobs at twft.com Thu May 5 15:01:33 2011 From: bobs at twft.com (Bob Sneidar) Date: Thu, 5 May 2011 12:01:33 -0700 Subject: GLXFramework In-Reply-To: References: <2FF0300C-370A-45B7-9031-35F5FC0EAB4C@mac.com> <5E149CC0-EFB2-4AB7-BD5E-69DA7BE7088A@mac.com> <4DC1AA8E.50806@hyperactivesw.com> Message-ID: <1AA4C953-00C2-4727-BF27-C8546330E6EE@twft.com> I dunno I think it's pretty dam easy out of the box! I mean, I don't have to worry about creating windows or menus or buttons or fields from scratch, someone did that for me already. I don't even have to think about how to get text from the user, manage memory, etc it all just works. I didn't think the learning curve was all that steep, but then I came from a Hypercard background, so I already kind of "got it". The hard thing for me was dealing with databases. By frameworks I take it you mean a system of methods and procedures? I have not looked at the GLX2 framework, although I do have it. I should check it out. Maybe I am reinventing the wheel. If it will help me design better forms and such, that would be great. I am terrible at creating good looking forms. Bob On May 5, 2011, at 10:30 AM, Pete wrote: > As a relatively new user (couple of years), I wholeheartedly agree with the > framework concept. LC touts itself as being easy to use because of its > English syntax but the reality is that its learning curve is extremely > steep. I'm pretty sure there's a large number of people out there who have > simply given up on it for that reason and that's sad, because LC really is a > pretty remarkable development tool. > > One of Trevor's key phrases is "the developer only has to focus on > code specific to their application". That's the crux of the matter to me. > I don't want to have to spend time on implementing standard > edit functions like cut, copy, paste, select all, undo even though once I've > made my version of that code I can reuse it. I want that functionality to > just be there so I can use the small amount of brain power I have on > figuring out how to implement the logic of my application. > > If there's ever a project to develop some sort of open source framework for > LC, count me in! > > Pete > Molly's Revenge From bobs at twft.com Thu May 5 15:05:39 2011 From: bobs at twft.com (Bob Sneidar) Date: Thu, 5 May 2011 12:05:39 -0700 Subject: Long-term Planning UI Ideas In-Reply-To: <4DC2CF95.5020108@graymattercomputing.com> References: <4DC210B4.7020906@graymattercomputing.com> <4DC2CF95.5020108@graymattercomputing.com> Message-ID: <745604FC-4289-41D1-94F1-A98E789A7F1C@twft.com> I don't think the datagrid would be very good at calendar data. You would really need a good calendar object, and that is a lot of work for one person to create on his own. It would be awesome if we had a calendar object like the datagrid object, which was aware of all the various calendar issues of dates and times and such. I gotta think about that one a bit. Bob On May 5, 2011, at 9:25 AM, David Glass wrote: > I'm not overly concerned with the actual data at this point, but rather the display, and I'm not able to envision how a datagrid would be able to display the data the way I have in mind. Most likely because I don't know enough about LC. > > > On 05/05/2011 9:06 AM, Bob Sneidar wrote: >> The actual data that a Datagrid displays is memory based, and so would have the same constraints as an Excel spreadsheet. One may argue that there is a LOT of memory to work with these days and so it is not really an issue, but if you are thinking in terms of unlimited data forwards and backwards, you may want to consider paging in your data from a database of some sort. >> >> Or better yet, who thinks the option of linking a datagrid to an SQL database table is a good idea? >> >> Bob > > -- > David Glass - Gray Matter Computing > graymattercomputing.com > Help Desk: http://www.graymattercomputing/helpdesk > 559-303-4915 > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Thu May 5 15:22:32 2011 From: pete at mollysrevenge.com (Pete) Date: Thu, 5 May 2011 12:22:32 -0700 Subject: Finding Tips In-Reply-To: References: Message-ID: I'd be interested in trying this out against the dictionary but I'm having a hard time finding the Google code to do it. I did a search for Google Desktop Search and the hits all led me to the Google Quick Search Box. I tried that but all that appears to do is search for file names, not the content of the files. I'm wondering if the functionality you're referring to is not available for a Mac? If it is, do you have any links to the software/documentation? Thanks, Pete Molly's Revenge On Thu, May 5, 2011 at 11:44 AM, Randall Reetz wrote: > Yes, google has the code. Has published the code. Gives out the code. > Wants people to use the code. Makes it easy to use the code. Ect. Etc. > Etc. And the code doesn't build content. It uses pre-existing content. It > just builds an internal index much the same way that it builds an index of > the entire web. Once the index is built, searches, in the google style, > with results as you have described, are easily handled by their free and > well documented and automated code. And of course such functionality would > be very useful regardless of a user's level of expertise. > > Randall Lee Reetz > > On May 5, 2011, at 11:07 AM, Pete wrote: > > > Hi Craig, > > > > I guess I don't really consider myself a particularly experienced user - > I'd > > put myself around about a 4 on an experience scale of 1 - 10. I know > quite > > a lot about particular segments of LC's capabilities and practically zero > > about others. So when I need to start figuring how to do something in > those > > zero-knowledge segments, I need all the help I can get! That's partly > what > > this suggestion is about. > > > > As far as a keyword search on the dictionary, I think perhaps I didn't > > explain things very well. Think of it as a Google search. I'd key in > > "date" and I'd get a series of links that would show the dictionary > keyword > > and it's summary followed by a couple of lines of text from the entry > that > > include the word date. That would get me "date", "DateItems", dateFormat, > > dateTime, is a, centuryCutOff and most likely a bunch of other entries I > > don't even know exist (or at least haven't made the connection with). I > > click on a link that interests me ( "is a" in this case) and I see the > whole > > dictionary entry for that link. > > > > I do agree that what I'm suggesting is beyond the scope of the current > > dictionary application, but the information needed to provide that type > of > > functionality is all in the dictionary files. Now I come to think of it, > I > > wonder if Google has a way to index a specific file? > > > > > > Pete > > Molly's Revenge > > - Hide quoted text - > > > > > > > > > > On Wed, May 4, 2011 at 2:50 PM, wrote: > > > >> Pete. > >> > >> > >> I see what you are saying, and I know you are an experienced user. But > what > >> you are asking may be beyond the scope of any dictionary. Searching for > >> "date" gives, well, "date", and also "dateItems", "dateTime", > "dateFormat" > >> and others. It does not seem appropriate that methods of date validation > be > >> included there, rather only a precise definition and syntax. > >> > >> > >> It is a bonus that examples are included, as well as user notes. And I > >> always tout the "see also" stuff. All that seems like lagniappe. > >> > >> > >> Anyone remember "Tricks of the Hypercard Masters"? After an LC Danny > >> Goodman, that is what you are really yearning for. > >> > >> > >> Craig > > > > > > 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 > > > > > My URL: http://www.randallreetz.com > My Computation/Information/Evolution/Economics Theory blog: > http://www.complexitymetric.blogspot.com > My "CLINE / computation language intelligence nature evolution" meetup > group: http://www.meetup.com/CLINE-meetup > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > From todd at geistinteractive.com Thu May 5 15:27:37 2011 From: todd at geistinteractive.com (Todd Geist) Date: Thu, 5 May 2011 12:27:37 -0700 Subject: GLXFramework In-Reply-To: <1AA4C953-00C2-4727-BF27-C8546330E6EE@twft.com> References: <2FF0300C-370A-45B7-9031-35F5FC0EAB4C@mac.com> <5E149CC0-EFB2-4AB7-BD5E-69DA7BE7088A@mac.com> <4DC1AA8E.50806@hyperactivesw.com> <1AA4C953-00C2-4727-BF27-C8546330E6EE@twft.com> Message-ID: On Thu, May 5, 2011 at 12:01 PM, Bob Sneidar wrote: > I dunno I think it's pretty dam easy out of the box! I mean, I don't have > to worry about creating windows or menus or buttons or fields from scratch, > someone did that for me already. I don't even have to think about how to get > text from the user, manage memory, etc it all just works. I didn't think the > learning curve was all that steep, but then I came from a Hypercard > background, so I already kind of "got it". I think the difference of opinions here can be explained mostly by a difference in opinion in what an "App" is. What Bob describes above is not what I mean when I say "App". What Bob describes is a Stack to me. Somewhat analogous to a PHP Script. A PHP script with some HTML can do a lot of those same things but it certainly fall far short of being a web application by todays standards. When I say "App". I mean something far more than a Stack or a script. I mean a maintainable, deployable, updatable application, that uses a reasonable approximation of contemporary UI and Interaction. Something that has a chance of making it on the Mac App store ( or its X plat alternatives ). That is what I mean. Of course you can build such a thing with Live Code, but the question is how? Frameworks exist for many other languages. PHP, Java, Groovy, Ruby, Python, all have multiple frameworks. Ruby simply would not be the big deal it is today if it had not been for Rails. It would be great if Live Code had one. Todd Todd Geist ------------------------------ geist interactive 805-419-9382 From toeloop at swissonline.ch Thu May 5 15:28:56 2011 From: toeloop at swissonline.ch (Thomas Baehler) Date: Thu, 5 May 2011 21:28:56 +0200 Subject: can't copy off a text field in a standalone Message-ID: Thanks Mark, that did the trick. on commandKeydown thekey if thekey is "c" then copy selection end if end commandKeydown > Well, Thomas, make sure to attend the Live LiveCode Code Event next time ;-) > > http://www.ustream.tv/recorded/12034326 > http://livecode.tv > > In short, I think that a commandKeyDown handler in your field will solve the problem, but a complete Edit menu would be much more elegant. > > -- > Best regards, > > Mark Schonewille From todd at geistinteractive.com Thu May 5 15:35:53 2011 From: todd at geistinteractive.com (Todd Geist) Date: Thu, 5 May 2011 12:35:53 -0700 Subject: GLXFramework In-Reply-To: References: <2FF0300C-370A-45B7-9031-35F5FC0EAB4C@mac.com> <5E149CC0-EFB2-4AB7-BD5E-69DA7BE7088A@mac.com> <4DC1AA8E.50806@hyperactivesw.com> <1AA4C953-00C2-4727-BF27-C8546330E6EE@twft.com> Message-ID: On Thu, May 5, 2011 at 12:27 PM, Todd Geist wrote: > > When I say "App". I mean something far more than a Stack or a script. I > mean a maintainable, deployable, updatable application, that uses a > reasonable approximation of contemporary UI and Interaction. Something that > has a chance of making it on the Mac App store ( or its X plat alternatives > ). That is what I mean. > Following up on my own post... Why should it matter if it can get into the App store? Simple economics. The best way to make sure that a platform like Live Code grows is to ensure that lots and lots and lots of people can make money with it. This is not to belittle academic, artistic, or not for profit pursuits. To be sure profit is not the only force that drives people to use a platform, but it almost certainly the strongest one. Todd Todd Geist ------------------------------ geist interactive 805-419-9382 From ambassador at fourthworld.com Thu May 5 15:40:20 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 05 May 2011 12:40:20 -0700 Subject: GLXFramework In-Reply-To: References: Message-ID: <4DC2FD24.9040307@fourthworld.com> Todd Geist wrote: > Frameworks exist for many other languages. PHP, Java, Groovy, Ruby, Python, > all have multiple frameworks. Ruby simply would not be the big deal it is > today if it had not been for Rails. > > It would be great if Live Code had one. And here you are, using one. :) Personally I prefer a world in which frameworks come from the community and RunRev focuses on the engine. I think it puts resources where they can be best applied, as with Rails and Ruby, Drupal and PHP, and so many others. Perhaps the biggest difference between LC and those other languages is that those are open source, which does wonders for adoption among programming languages perhaps more than in any other category. With the unmatchable large audience possible with open languages, there are so many people using them that the 0.1% inclined to make frameworks is a sizable number. IMO LiveCode offers an unbeatable ROI over alternatives, which is why I use it for most of my work. And as its audience grows by the leaps and bounds we've seen in the last two years, the range of tools has expanded greatly along with it. But will it ever grow to a million active users, in which 0.1% would mean more than enough frameworks for every taste and need? I'd like to see that, but in the meantime I'm working with others in our own modest way toward making frameworks and other interoperable components easier to make and use through the Rev Interoperability Project: The initiatives on the plate currently in the RIP group are somewhat modest, but they're beginning for form a foundation on which people can craft both end-user apps for their customers and IDE toolkits for themselves more easily. The group is open to all who are interested in community software - dive in, the water's fine. -- 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 scott at tactilemedia.com Thu May 5 15:42:58 2011 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 05 May 2011 12:42:58 -0700 Subject: Long-term Planning UI Ideas In-Reply-To: <745604FC-4289-41D1-94F1-A98E789A7F1C@twft.com> Message-ID: A very good calendar stack is available from Sarah Riechelt: I've customized/used this in a couple of projects -- it's quite useful. Hmm... While thinking about it, I can't recall if I ever sent a donation for the stack. Maybe I did already, but I'm going to head over to her site now to donate anyway. Regards, Scott Rossi Creative Director Tactile Media, UX Design Recently, Bob Sneidar wrote: > I don't think the datagrid would be very good at calendar data. You would > really need a good calendar object, and that is a lot of work for one person > to create on his own. It would be awesome if we had a calendar object like the > datagrid object, which was aware of all the various calendar issues of dates > and times and such. I gotta think about that one a bit. From form at nonsanity.com Thu May 5 16:11:47 2011 From: form at nonsanity.com (Nonsanity) Date: Thu, 5 May 2011 16:11:47 -0400 Subject: Long-term Planning UI Ideas In-Reply-To: <4DC2EA6F.2030008@graymattercomputing.com> References: <4DC210B4.7020906@graymattercomputing.com> <4DC2EA6F.2030008@graymattercomputing.com> Message-ID: Glad you like it. :) A feature begged me to add it, so if you fetch the stack again (should be the same URL) I've added drift to the scrolling calculations so you can swipe through time, a la iOS. Also added a return-to-beginning button. If you are using it as a starting block and want it simple, you can ignore this version. The code is a bit more complex now due to speed tracking. But that swipe to scroll through time is sorta nice... :) ~ Chris Innanen ~ Nonsanity On Thu, May 5, 2011 at 2:20 PM, David Glass wrote: > That is *very* cool. Almost exactly what I was envisioning, and definitely > a great help! > > Thanks so much. :) > > > > On 05/05/2011 10:38 AM, Nonsanity wrote: > >> David, >> >> I always like the occasional programming challenge to keep me fresh. So >> here's a little demo stack for you. See how it fits your needs. >> >> http://db.tt/RFGMQp7 >> > > -- > David Glass - Gray Matter Computing > graymattercomputing.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 form at nonsanity.com Thu May 5 16:16:41 2011 From: form at nonsanity.com (Nonsanity) Date: Thu, 5 May 2011 16:16:41 -0400 Subject: Finding Tips In-Reply-To: References: Message-ID: Just widening the search parameters in the Dictionary to search all the content instead of just names (extra credt: move name matches to the top) is all that's needed. This shouldn't be hard to implement... ~ Chris Innanen ~ Nonsanity On Thu, May 5, 2011 at 3:22 PM, Pete wrote: > I'd be interested in trying this out against the dictionary but I'm having > a > hard time finding the Google code to do it. I did a search for Google > Desktop Search and the hits all led me to the Google Quick Search Box. I > tried that but all that appears to do is search for file names, not the > content of the files. > > I'm wondering if the functionality you're referring to is not available for > a Mac? If it is, do you have any links to the software/documentation? > > Thanks, > > Pete > Molly's Revenge > > > > > On Thu, May 5, 2011 at 11:44 AM, Randall Reetz >wrote: > > > Yes, google has the code. Has published the code. Gives out the code. > > Wants people to use the code. Makes it easy to use the code. Ect. Etc. > > Etc. And the code doesn't build content. It uses pre-existing content. > It > > just builds an internal index much the same way that it builds an index > of > > the entire web. Once the index is built, searches, in the google style, > > with results as you have described, are easily handled by their free and > > well documented and automated code. And of course such functionality > would > > be very useful regardless of a user's level of expertise. > > > > Randall Lee Reetz > > > > On May 5, 2011, at 11:07 AM, Pete wrote: > > > > > Hi Craig, > > > > > > I guess I don't really consider myself a particularly experienced user > - > > I'd > > > put myself around about a 4 on an experience scale of 1 - 10. I know > > quite > > > a lot about particular segments of LC's capabilities and practically > zero > > > about others. So when I need to start figuring how to do something in > > those > > > zero-knowledge segments, I need all the help I can get! That's partly > > what > > > this suggestion is about. > > > > > > As far as a keyword search on the dictionary, I think perhaps I didn't > > > explain things very well. Think of it as a Google search. I'd key in > > > "date" and I'd get a series of links that would show the dictionary > > keyword > > > and it's summary followed by a couple of lines of text from the entry > > that > > > include the word date. That would get me "date", "DateItems", > dateFormat, > > > dateTime, is a, centuryCutOff and most likely a bunch of other entries > I > > > don't even know exist (or at least haven't made the connection with). I > > > click on a link that interests me ( "is a" in this case) and I see the > > whole > > > dictionary entry for that link. > > > > > > I do agree that what I'm suggesting is beyond the scope of the current > > > dictionary application, but the information needed to provide that type > > of > > > functionality is all in the dictionary files. Now I come to think of > it, > > I > > > wonder if Google has a way to index a specific file? > > > > > > > > > Pete > > > Molly's Revenge > > > - Hide quoted text - > > > > > > > > > > > > > > > On Wed, May 4, 2011 at 2:50 PM, wrote: > > > > > >> Pete. > > >> > > >> > > >> I see what you are saying, and I know you are an experienced user. But > > what > > >> you are asking may be beyond the scope of any dictionary. Searching > for > > >> "date" gives, well, "date", and also "dateItems", "dateTime", > > "dateFormat" > > >> and others. It does not seem appropriate that methods of date > validation > > be > > >> included there, rather only a precise definition and syntax. > > >> > > >> > > >> It is a bonus that examples are included, as well as user notes. And I > > >> always tout the "see also" stuff. All that seems like lagniappe. > > >> > > >> > > >> Anyone remember "Tricks of the Hypercard Masters"? After an LC Danny > > >> Goodman, that is what you are really yearning for. > > >> > > >> > > >> Craig > > > > > > > > > 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 > > > > > > > > > My URL: http://www.randallreetz.com > > My Computation/Information/Evolution/Economics Theory blog: > > http://www.complexitymetric.blogspot.com > > My "CLINE / computation language intelligence nature evolution" meetup > > group: http://www.meetup.com/CLINE-meetup > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode 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 jiml at netrin.com Thu May 5 16:44:21 2011 From: jiml at netrin.com (Jim Lambert) Date: Thu, 5 May 2011 13:44:21 -0700 Subject: how-to link to a video In-Reply-To: References: Message-ID: <3253EE84-1A5A-417E-A76A-D8069B81266E@netrin.com> This technique works for me: http://netrin.on-rev.com/misc/playyoutube/playyoutube.html Jim Lambert From dixonja at hotmail.co.uk Thu May 5 16:50:52 2011 From: dixonja at hotmail.co.uk (John Dixon) Date: Thu, 5 May 2011 21:50:52 +0100 Subject: how-to link to a video In-Reply-To: <3253EE84-1A5A-417E-A76A-D8069B81266E@netrin.com> References: , <3253EE84-1A5A-417E-A76A-D8069B81266E@netrin.com> Message-ID: Nice ... > This technique works for me: > http://netrin.on-rev.com/misc/playyoutube/playyoutube.html > > Jim Lambert > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 May 5 16:52:20 2011 From: bobs at twft.com (Bob Sneidar) Date: Thu, 5 May 2011 13:52:20 -0700 Subject: Long-term Planning UI Ideas In-Reply-To: References: Message-ID: Nice. I just sent her some money. Bob On May 5, 2011, at 12:42 PM, Scott Rossi wrote: > A very good calendar stack is available from Sarah Riechelt: > > > I've customized/used this in a couple of projects -- it's quite useful. > Hmm... While thinking about it, I can't recall if I ever sent a donation > for the stack. Maybe I did already, but I'm going to head over to her site > now to donate anyway. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > > > > Recently, Bob Sneidar wrote: > >> I don't think the datagrid would be very good at calendar data. You would >> really need a good calendar object, and that is a lot of work for one person >> to create on his own. It would be awesome if we had a calendar object like the >> datagrid object, which was aware of all the various calendar issues of dates >> and times and such. I gotta think about that one a bit. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mcgrath3 at mac.com Thu May 5 17:03:47 2011 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Thu, 05 May 2011 17:03:47 -0400 Subject: GLXFramework In-Reply-To: References: <2FF0300C-370A-45B7-9031-35F5FC0EAB4C@mac.com> <5E149CC0-EFB2-4AB7-BD5E-69DA7BE7088A@mac.com> <4DC1AA8E.50806@hyperactivesw.com> <1AA4C953-00C2-4727-BF27-C8546330E6EE@twft.com> Message-ID: As the OP I think that once you spend some time with GLX_Framework it meets all of these needs and then some. It is very powerful and can be daunting if you are not looking for 'all' of it's functionality at first. But once it is set up and you get used to what is what then it "ain't that bad". I finally got the Check for Updates working with on-rev and am very happy with that. I've been updating my app ALL DAY. Very cool. The only thing GLX could use is a 'new' users quick start tutorial and some of the documentation updated for how Livecode handles extensions etc. since it changed from Revolution. I hope to help out with that once I have this app released. The other very cool thing to note here is GLX_Framework works well along side of InstallGadget for Mac and Windows installers for creating a full fledged distribution product. Now, back to work on the benefits and features of my app. Thanks -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net From martyknapp at comcast.net Thu May 5 17:11:34 2011 From: martyknapp at comcast.net (Marty Knapp) Date: Thu, 05 May 2011 14:11:34 -0700 Subject: GLXFramework In-Reply-To: References: <2FF0300C-370A-45B7-9031-35F5FC0EAB4C@mac.com> <5E149CC0-EFB2-4AB7-BD5E-69DA7BE7088A@mac.com> <4DC1AA8E.50806@hyperactivesw.com> <1AA4C953-00C2-4727-BF27-C8546330E6EE@twft.com> Message-ID: <4DC31286.9050102@comcast.net> I've been using the GLX Framework for the past year or so and it is a great piece of software. Trevor has put a ton of work into this and provides it to the community at no cost - a big thank you to Trevor. I don't use it for all my projects, but it's a vital part of my toolkit. Marty Knapp From mcgrath3 at mac.com Thu May 5 18:01:42 2011 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Thu, 05 May 2011 18:01:42 -0400 Subject: GLXFramework In-Reply-To: <4DC31286.9050102@comcast.net> References: <2FF0300C-370A-45B7-9031-35F5FC0EAB4C@mac.com> <5E149CC0-EFB2-4AB7-BD5E-69DA7BE7088A@mac.com> <4DC1AA8E.50806@hyperactivesw.com> <1AA4C953-00C2-4727-BF27-C8546330E6EE@twft.com> <4DC31286.9050102@comcast.net> Message-ID: <51A619DC-2E06-49C1-A9AD-75E76C705555@mac.com> Marty, Thanks again for helping me as well. -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On May 5, 2011, at 5:11 PM, Marty Knapp wrote: > I've been using the GLX Framework for the past year or so and it is a great piece of software. Trevor has put a ton of work into this and provides it to the community at no cost - a big thank you to Trevor. I don't use it for all my projects, but it's a vital part of my toolkit. > > Marty Knapp > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dunbarx at aol.com Thu May 5 18:51:46 2011 From: dunbarx at aol.com (dunbarx at aol.com) Date: Thu, 05 May 2011 18:51:46 -0400 Subject: Finding Tips In-Reply-To: References: Message-ID: <8CDD98E258EFE3A-D54-494C@webmail-d094.sysops.aol.com> Pete. I see what you want. If you could get the dictionary file data, you could easily write this yourself. Craig -----Original Message----- From: Randall Reetz To: How to use LiveCode Sent: Thu, May 5, 2011 2:44 pm Subject: Re: Finding Tips Yes, google has the code. Has published the code. Gives out the code. Wants people to use the code. Makes it easy to use the code. Ect. Etc. Etc. And the code doesn't build content. It uses pre-existing content. It just builds an internal index much the same way that it builds an index of the entire web. Once the index is built, searches, in the google style, with results as you have described, are easily handled by their free and well documented and automated code. And of course such functionality would be very useful regardless of a user's level of expertise. Randall Lee Reetz On May 5, 2011, at 11:07 AM, Pete wrote: > Hi Craig, > > I guess I don't really consider myself a particularly experienced user - I'd > put myself around about a 4 on an experience scale of 1 - 10. I know quite > a lot about particular segments of LC's capabilities and practically zero > about others. So when I need to start figuring how to do something in those > zero-knowledge segments, I need all the help I can get! That's partly what > this suggestion is about. > > As far as a keyword search on the dictionary, I think perhaps I didn't > explain things very well. Think of it as a Google search. I'd key in > "date" and I'd get a series of links that would show the dictionary keyword > and it's summary followed by a couple of lines of text from the entry that > include the word date. That would get me "date", "DateItems", dateFormat, > dateTime, is a, centuryCutOff and most likely a bunch of other entries I > don't even know exist (or at least haven't made the connection with). I > click on a link that interests me ( "is a" in this case) and I see the whole > dictionary entry for that link. > > I do agree that what I'm suggesting is beyond the scope of the current > dictionary application, but the information needed to provide that type of > functionality is all in the dictionary files. Now I come to think of it, I > wonder if Google has a way to index a specific file? > > > Pete > Molly's Revenge > - Hide quoted text - > > > > > On Wed, May 4, 2011 at 2:50 PM, wrote: > >> Pete. >> >> >> I see what you are saying, and I know you are an experienced user. But what >> you are asking may be beyond the scope of any dictionary. Searching for >> "date" gives, well, "date", and also "dateItems", "dateTime", "dateFormat" >> and others. It does not seem appropriate that methods of date validation be >> included there, rather only a precise definition and syntax. >> >> >> It is a bonus that examples are included, as well as user notes. And I >> always tout the "see also" stuff. All that seems like lagniappe. >> >> >> Anyone remember "Tricks of the Hypercard Masters"? After an LC Danny >> Goodman, that is what you are really yearning for. >> >> >> Craig > > > 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 > My URL: http://www.randallreetz.com My Computation/Information/Evolution/Economics Theory blog: http://www.complexitymetric.blogspot.com My "CLINE / computation language intelligence nature evolution" meetup group: http://www.meetup.com/CLINE-meetup _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From randall at randallreetz.com Thu May 5 19:15:48 2011 From: randall at randallreetz.com (Randall Reetz) Date: Thu, 5 May 2011 16:15:48 -0700 Subject: Finding Tips Message-ID: <20110505231559.TBEH2242.schemailmta12.cingularme.com@Inbox> Should we all of us write the same code? -----Original Message----- From: dunbarx at aol.com Sent: Thursday, May 05, 2011 3:51 PM To: use-livecode at lists.runrev.com Subject: Re: Finding Tips Pete. I see what you want. If you could get the dictionary file data, you could easily write this yourself. Craig -----Original Message----- From: Randall Reetz To: How to use LiveCode Sent: Thu, May 5, 2011 2:44 pm Subject: Re: Finding Tips Yes, google has the code. Has published the code. Gives out the code. Wants people to use the code. Makes it easy to use the code. Ect. Etc. Etc. And the code doesn't build content. It uses pre-existing content. It just builds an internal index much the same way that it builds an index of the entire web. Once the index is built, searches, in the google style, with results as you have described, are easily handled by their free and well documented and automated code. And of course such functionality would be very useful regardless of a user's level of expertise. Randall Lee Reetz On May 5, 2011, at 11:07 AM, Pete wrote: > Hi Craig, > > I guess I don't really consider myself a particularly experienced user - I'd > put myself around about a 4 on an experience scale of 1 - 10. I know quite > a lot about particular segments of LC's capabilities and practically zero > about others. So when I need to start figuring how to do something in those > zero-knowledge segments, I need all the help I can get! That's partly what > this suggestion is about. > > As far as a keyword search on the dictionary, I think perhaps I didn't > explain things very well. Think of it as a Google search. I'd key in > "date" and I'd get a series of links that would show the dictionary keyword > and it's summary followed by a couple of lines of text from the entry that > include the word date. That would get me "date", "DateItems", dateFormat, > dateTime, is a, centuryCutOff and most likely a bunch of other entries I > don't even know exist (or at least haven't made the connection with). I > click on a link that interests me ( "is a" in this case) and I see the whole > dictionary entry for that link. > > I do agree that what I'm suggesting is beyond the scope of the current > dictionary application, but the information needed to provide that type of > functionality is all in the dictionary files. Now I come to think of it, I > wonder if Google has a way to index a specific file? > > > Pete > Molly's Revenge > - Hide quoted text - > > > > > On Wed, May 4, 2011 at 2:50 PM, wrote: > >> Pete. [The entire original message is not included] From pete at mollysrevenge.com Thu May 5 19:54:24 2011 From: pete at mollysrevenge.com (Pete) Date: Thu, 5 May 2011 16:54:24 -0700 Subject: Finding Tips In-Reply-To: <8CDD98E258EFE3A-D54-494C@webmail-d094.sysops.aol.com> References: <8CDD98E258EFE3A-D54-494C@webmail-d094.sysops.aol.com> Message-ID: Yeah, thought of that. I had a quick search around the IDE stacks but I can't find the dictionary data in there. There are some xml and various other files inside the Livecode package contents but I haven't had time to track everything down. I'm pretty sure I remember someone posting on the list within the last couple of months about an alternative dictionary viewer, perhaps html based? Anyone remember that? I really wish I could find a way to have the Google desktop search deal with this but it appears that they've dropped it, at least for Macs. I did find a version of it online but when I ran the installer I got a message that it wasn't supported on my version of OSX (Snow Leopard) Pete Molly's Revenge On Thu, May 5, 2011 at 3:51 PM, wrote: > Pete. > > > I see what you want. If you could get the dictionary file data, you could > easily write this yourself. > > > Craig > > > > > > -----Original Message----- > From: Randall Reetz > To: How to use LiveCode > Sent: Thu, May 5, 2011 2:44 pm > Subject: Re: Finding Tips > > > Yes, google has the code. Has published the code. Gives out the code. > Wants > people to use the code. Makes it easy to use the code. Ect. Etc. Etc. > And the > code doesn't build content. It uses pre-existing content. It just builds > an > internal index much the same way that it builds an index of the entire web. > Once the index is built, searches, in the google style, with results as you > have > described, are easily handled by their free and well documented and > automated > code. And of course such functionality would be very useful regardless of > a > user's level of expertise. > > Randall Lee Reetz > > On May 5, 2011, at 11:07 AM, Pete wrote: > > > Hi Craig, > > > > I guess I don't really consider myself a particularly experienced user - > I'd > > put myself around about a 4 on an experience scale of 1 - 10. I know > quite > > a lot about particular segments of LC's capabilities and practically zero > > about others. So when I need to start figuring how to do something in > those > > zero-knowledge segments, I need all the help I can get! That's partly > what > > this suggestion is about. > > > > As far as a keyword search on the dictionary, I think perhaps I didn't > > explain things very well. Think of it as a Google search. I'd key in > > "date" and I'd get a series of links that would show the dictionary > keyword > > and it's summary followed by a couple of lines of text from the entry > that > > include the word date. That would get me "date", "DateItems", dateFormat, > > dateTime, is a, centuryCutOff and most likely a bunch of other entries I > > don't even know exist (or at least haven't made the connection with). I > > click on a link that interests me ( "is a" in this case) and I see the > whole > > dictionary entry for that link. > > > > I do agree that what I'm suggesting is beyond the scope of the current > > dictionary application, but the information needed to provide that type > of > > functionality is all in the dictionary files. Now I come to think of it, > I > > wonder if Google has a way to index a specific file? > > > > > > Pete > > Molly's Revenge > > - Hide quoted text - > > > > > > > > > > On Wed, May 4, 2011 at 2:50 PM, wrote: > > > >> Pete. > >> > >> > >> I see what you are saying, and I know you are an experienced user. But > what > >> you are asking may be beyond the scope of any dictionary. Searching for > >> "date" gives, well, "date", and also "dateItems", "dateTime", > "dateFormat" > >> and others. It does not seem appropriate that methods of date validation > be > >> included there, rather only a precise definition and syntax. > >> > >> > >> It is a bonus that examples are included, as well as user notes. And I > >> always tout the "see also" stuff. All that seems like lagniappe. > >> > >> > >> Anyone remember "Tricks of the Hypercard Masters"? After an LC Danny > >> Goodman, that is what you are really yearning for. > >> > >> > >> Craig > > > > > > 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 > > > > > My URL: http://www.randallreetz.com > My Computation/Information/Evolution/Economics Theory blog: > http://www.complexitymetric.blogspot.com > My "CLINE / computation language intelligence nature evolution" meetup > group: > http://www.meetup.com/CLINE-meetup > > _______________________________________________ > use-livecode mailing list > use-livecode 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 Thu May 5 19:55:28 2011 From: pete at mollysrevenge.com (Pete) Date: Thu, 5 May 2011 16:55:28 -0700 Subject: Finding Tips In-Reply-To: <20110505231559.TBEH2242.schemailmta12.cingularme.com@Inbox> References: <20110505231559.TBEH2242.schemailmta12.cingularme.com@Inbox> Message-ID: I hope not! If I do something, I'd be happy to put it out there as a plugin or something. But, that's why I wish I could find a way to have Google do it. Pete Molly's Revenge On Thu, May 5, 2011 at 4:15 PM, Randall Reetz wrote: > Should we all of us write the same code? > > -----Original Message----- > From: dunbarx at aol.com > Sent: Thursday, May 05, 2011 3:51 PM > To: use-livecode at lists.runrev.com > Subject: Re: Finding Tips > > Pete. > > > I see what you want. If you could get the dictionary file data, you could > easily write this yourself. > > > Craig > > > > > > -----Original Message----- > From: Randall Reetz > To: How to use LiveCode > Sent: Thu, May 5, 2011 2:44 pm > Subject: Re: Finding Tips > > > Yes, google has the code. Has published the code. Gives out the code. > Wants > people to use the code. Makes it easy to use the code. Ect. Etc. Etc. > And the > code doesn't build content. It uses pre-existing content. It just builds > an > internal index much the same way that it builds an index of the entire web. > Once the index is built, searches, in the google style, with results as you > have > described, are easily handled by their free and well documented and > automated > code. And of course such functionality would be very useful regardless of > a > user's level of expertise. > > Randall Lee Reetz > > On May 5, 2011, at 11:07 AM, Pete wrote: > > > Hi Craig, > > > > I guess I don't really consider myself a particularly experienced user - > I'd > > put myself around about a 4 on an experience scale of 1 - 10. I know > quite > > a lot about particular segments of LC's capabilities and practically zero > > about others. So when I need to start figuring how to do something in > those > > zero-knowledge segments, I need all the help I can get! That's partly > what > > this suggestion is about. > > > > As far as a keyword search on the dictionary, I think perhaps I didn't > > explain things very well. Think of it as a Google search. I'd key in > > "date" and I'd get a series of links that would show the dictionary > keyword > > and it's summary followed by a couple of lines of text from the entry > that > > include the word date. That would get me "date", "DateItems", dateFormat, > > dateTime, is a, centuryCutOff and most likely a bunch of other entries I > > don't even know exist (or at least haven't made the connection with). I > > click on a link that interests me ( "is a" in this case) and I see the > whole > > dictionary entry for that link. > > > > I do agree that what I'm suggesting is beyond the scope of the current > > dictionary application, but the information needed to provide that type > of > > functionality is all in the dictionary files. Now I come to think of it, > I > > wonder if Google has a way to index a specific file? > > > > > > Pete > > Molly's Revenge > > - Hide quoted text - > > > > > > > > > > On Wed, May 4, 2011 at 2:50 PM, wrote: > > > >> Pete. > > > > [The entire original message is not included] > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 May 5 20:03:28 2011 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 05 May 2011 17:03:28 -0700 Subject: Finding Tips In-Reply-To: Message-ID: Recently, Pete wrote: > I'm pretty sure I remember someone posting on the list within the last > couple of months about an alternative dictionary viewer, perhaps html based? > Anyone remember that? Bj?rnke von Gierke's "BvG Docu" might be what you're thinking of: Regards, Scott Rossi Creative Director Tactile Media, UX Design From pete at mollysrevenge.com Thu May 5 20:14:23 2011 From: pete at mollysrevenge.com (Pete) Date: Thu, 5 May 2011 17:14:23 -0700 Subject: Finding Tips In-Reply-To: References: Message-ID: Thanks Scott, yes that was it. I just tried it out and, while it has some great features, I couldn't find the full text search I'm looking for. Pete Molly's Revenge On Thu, May 5, 2011 at 5:03 PM, Scott Rossi wrote: > Recently, Pete wrote: > > > I'm pretty sure I remember someone posting on the list within the last > > couple of months about an alternative dictionary viewer, perhaps html > based? > > Anyone remember that? > > Bj?rnke von Gierke's "BvG Docu" might be what you're thinking of: > > > 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 jimaultwins at yahoo.com Thu May 5 20:36:00 2011 From: jimaultwins at yahoo.com (Jim Ault) Date: Thu, 5 May 2011 17:36:00 -0700 Subject: Finding Tips In-Reply-To: References: Message-ID: I believe he accesses xml files. >> Bj?rnke von Gierke's "BvG Docu" has gone through some updates over the years He did a Saturday Live Livecode presentation about 2 months ago. Hopefully he will chime in and give you a better view of the 'behind the scenes' from his perspective. I think he uses both static files and adds his own updates and note saving abilities. Jim Ault Las Vegas On May 5, 2011, at 5:14 PM, Pete wrote: > Thanks Scott, yes that was it. I just tried it out and, while it > has some > great features, I couldn't find the full text search I'm looking for. > > On Thu, May 5, 2011 at 5:03 PM, Scott Rossi > wrote: > >> Recently, Pete wrote: >> >>> I'm pretty sure I remember someone posting on the list within the >>> last >>> couple of months about an alternative dictionary viewer, perhaps >>> html >> based? >>> Anyone remember that? >> >> Bj?rnke von Gierke's "BvG Docu" might be what you're thinking of: >> From pete at mollysrevenge.com Thu May 5 20:55:59 2011 From: pete at mollysrevenge.com (Pete) Date: Thu, 5 May 2011 17:55:59 -0700 Subject: Finding Tips In-Reply-To: References: Message-ID: Thanks Jim. Bj?rnke - Help! I might even be talked into doing a Livecode presentation of whatever I manage to cobble together! Pete Molly's Revenge On Thu, May 5, 2011 at 5:36 PM, Jim Ault wrote: > I believe he accesses xml files. > > Bj?rnke von Gierke's "BvG Docu" >>> >> has gone through some updates over the years > He did a Saturday Live Livecode presentation about 2 months ago. > Hopefully he will chime in and give you a better view of the 'behind the > scenes' from his perspective. > > I think he uses both static files and adds his own updates and note saving > abilities. > > Jim Ault > Las Vegas > > > > On May 5, 2011, at 5:14 PM, Pete wrote: > > Thanks Scott, yes that was it. I just tried it out and, while it has some >> great features, I couldn't find the full text search I'm looking for. >> >> On Thu, May 5, 2011 at 5:03 PM, Scott Rossi >> wrote: >> >> Recently, Pete wrote: >>> >>> I'm pretty sure I remember someone posting on the list within the last >>>> couple of months about an alternative dictionary viewer, perhaps html >>>> >>> based? >>> >>>> Anyone remember that? >>>> >>> >>> Bj?rnke von Gierke's "BvG Docu" might be what you're thinking of: >>> >>> >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Thu May 5 21:08:24 2011 From: userev at canelasoftware.com (Mark Talluto) Date: Thu, 5 May 2011 18:08:24 -0700 Subject: GLXFramework [ad] SpiceKit In-Reply-To: <5E149CC0-EFB2-4AB7-BD5E-69DA7BE7088A@mac.com> References: <2FF0300C-370A-45B7-9031-35F5FC0EAB4C@mac.com> <5E149CC0-EFB2-4AB7-BD5E-69DA7BE7088A@mac.com> Message-ID: > > > > > On May 2, 2011, at 12:49 AM, Todd Geist wrote: > > I have just started working with it as well, and I spoke with Trevor about > it. I think that the docs are bit out of date. So I would say yes that it > is probably likely. > > > However, I have managed to make some good progress with it and I am pretty > out of shape LC wise having been gone since rev 2 something. Trevor and the > google group are very helpful. And the docs do contain lots of useful stuff > > Hi Todd, The work with dealing with auto-updates, customer registration, copy protection, microtransactions, trials, customer tracking, credit card processing, servers to manage all of this, and other various tidbits can be a lot of work. Over the years Canela Software has created all the tools to do this with an easy to use/understand API. You can pretty much develop your app the way you want. Drag and drop your app contents onto SpiceKit and it will flex around your development style and make the framework work around you. We have used this technology on all of our applications with great success. I will admit that the first couple of years of development on the tech was rough going. Lots of users banging on it daily made it a solid. We credit LiveCode and this set of tools in helping us to be the best in our industry. We think others will find it beneficial as well. If you are interested, there is a basic brochure available here: http://www.canelasoftware.com/spicekit/SpiceKit_Brochure.pdf I would be interested in any feedback you might have on this. Please feel free to write me directly at mark-at-canelasoftware.com and I would be more than happy to help you evaluate this service with your project. Best regards, Mark Talluto http://www.canelasoftware.com From pete at mollysrevenge.com Thu May 5 21:19:51 2011 From: pete at mollysrevenge.com (Pete) Date: Thu, 5 May 2011 18:19:51 -0700 Subject: Pre-Beta Help Message-ID: Folks, A couple of months ago, I did a Livecode Live presentation on an LC utility I'm working on that cuts out a lot of the coding work required to get SQL dbs working with LC. It's basically a library of behaviors and a couple of front scripts that link groups/datagrids and controls/datagrid columns to SQL tables and columns/expressions. It automatically selects/updates/deletes/inserts data, figures out JOIN statements between tables, populates option menu/comboboxes, takes care of all the necessary conversion between SQL storage formats and LC display formats and includes automatic filtering of SQL data in datagrids. My aim is to eliminate a large portion of the need to write SQL statements and the LC code to manage SQL databases. Everything works quite nicely with the SQL dbs that I've designed but before I put it our for beta, I'd really like to check it out against other SQL dbs designed by other people - we all have our own ways of designing databases and I want to make sure I've covered all the bases (no pun intended), or at least the reasonable ones. Right now, this is SQLite only so I'm primarily interested in SQLite schemas but I do plan on extending it to mySQL so schemas of that ilk would also be welcome. If you have a schema you'd be prepared to send me for my own testing, please email me off list. I don't need any data from you, just the CREATE statements that will allow me to create the tables, indexes, etc so I can see what datatypes you use, how you set up primary keys, foreign keys, indexes, db structural stuff of that nature.. Any help much appreciated, Pete Molly's Revenge From davidocoker at gmail.com Thu May 5 21:52:08 2011 From: davidocoker at gmail.com (David C.) Date: Thu, 5 May 2011 20:52:08 -0500 Subject: how-to link to a video In-Reply-To: References: <3253EE84-1A5A-417E-A76A-D8069B81266E@netrin.com> Message-ID: All I get (very consistently) is: The RunRev revWeb plugin has crashed. No report available. Reload the page to try again. Note: revWeb apps built with later releases seem to crash with Firefox 4.0.1 on my Win 7 box every time. :( FWIW, I'm running LC version 4.5.1 Build 1130 and I do not get the crash when I generate a revWeb app from my machine, so it must be something in a later release that Firefox doesn't like.. or visa-versa. Best regards, David C. From niconiko at gmail.com Thu May 5 22:19:50 2011 From: niconiko at gmail.com (Nicolas Cueto) Date: Fri, 6 May 2011 11:19:50 +0900 Subject: how-to link to a video In-Reply-To: <3253EE84-1A5A-417E-A76A-D8069B81266E@netrin.com> References: <3253EE84-1A5A-417E-A76A-D8069B81266E@netrin.com> Message-ID: > This technique works for me: > http://netrin.on-rev.com/misc/playyoutube/playyoutube.html Jim, fabulous -- thank you! P.S. Player controls don't work. Nothing new, though. That's been my experience so far with revlet player objects. So, have had to make my own player controls. -- Nicolas Cueto From mcgrath3 at mac.com Thu May 5 22:25:04 2011 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Thu, 05 May 2011 22:25:04 -0400 Subject: CustomProperties Message-ID: <4CBA248B-AB07-4BC9-8C59-DB93B0D81D7D@mac.com> I thought it was possible to 'store' a button in a custom property? This cold is getting to me, I can't remember. I thought you could store all kinds of things into a custom property? Images, object, sounds, etc. -- Is this correct? Thanks, and apologies for my cold driven forgetfulness. -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net From coiin at verizon.net Thu May 5 22:36:26 2011 From: coiin at verizon.net (Colin Holgate) Date: Thu, 05 May 2011 22:36:26 -0400 Subject: how-to link to a video In-Reply-To: References: <3253EE84-1A5A-417E-A76A-D8069B81266E@netrin.com> Message-ID: The crashing is probably not good, but I think we concluded that the link is machine specific, so would only work on my Mac. It did work well though! On May 5, 2011, at 9:52 PM, David C. wrote: > All I get (very consistently) is: > The RunRev revWeb plugin has crashed. From bvlahos at mac.com Thu May 5 23:23:42 2011 From: bvlahos at mac.com (Bill Vlahos) Date: Thu, 05 May 2011 20:23:42 -0700 Subject: Staying on a field In-Reply-To: <64057C55-E184-4E24-BF19-69B0683924AA@yahoo.com> References: <64057C55-E184-4E24-BF19-69B0683924AA@yahoo.com> Message-ID: <38744349-5147-4423-8C93-00C59D729054@mac.com> Jim, How do I test for the "dialog" condition? I don't see anything in the dictionary for it. Funny thing is I always get the answer dialog after I go to the new card even though it should execute it first. Bill Vlahos _________________ InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. On May 4, 2011, at 3:38 AM, Jim Ault wrote: > Try using closecard or preopencard to test for the 'dialog' condition and if true, remain on the same card > > > On May 4, 2011, at 12:17 AM, Bill Vlahos wrote: > >> Terry, >> >> Thanks this works. I also discovered that I can replace "focus on me" with "select the text of me" in my script and that works too. >> >> If the closeField message comes as a result of going to another card then I get the dialog but it still goes to the new card anyway so the dialog doesn't really work if the user wants to try it again. > > 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 jimaultwins at yahoo.com Thu May 5 23:37:09 2011 From: jimaultwins at yahoo.com (Jim Ault) Date: Thu, 5 May 2011 20:37:09 -0700 Subject: CustomProperties In-Reply-To: <4CBA248B-AB07-4BC9-8C59-DB93B0D81D7D@mac.com> References: <4CBA248B-AB07-4BC9-8C59-DB93B0D81D7D@mac.com> Message-ID: <70320F67-4CD7-465D-BF2F-A98EFC6BD903@yahoo.com> These two lines should do it copy button "btnToStoreAsObjectFormat" set the cpsObjects["cpBtn2"] of this stack to the clipboarddata["objects"] Dictionary explains the clipboard array elements, one of which is "objects" Note special rules for stacks, cards, and groups. On May 5, 2011, at 7:25 PM, Thomas McGrath III wrote: > I thought it was possible to 'store' a button in a custom property? > This cold is getting to me, I can't remember. > > I thought you could store all kinds of things into a custom > property? Images, object, sounds, etc. -- Is this correct? > > Thanks, and apologies for my cold driven forgetfulness. Jim Ault Las Vegas From dunbarx at aol.com Thu May 5 23:37:54 2011 From: dunbarx at aol.com (dunbarx at aol.com) Date: Thu, 05 May 2011 23:37:54 -0400 Subject: CustomProperties In-Reply-To: <4CBA248B-AB07-4BC9-8C59-DB93B0D81D7D@mac.com> References: <4CBA248B-AB07-4BC9-8C59-DB93B0D81D7D@mac.com> Message-ID: <8CDD9B61E1C7B05-125C-14F0E@TSTMAIL-D07.sysops.aol.com> You can. You can even set a custom property to an entire stack. I use these all the time, they are incredibly powerful and convenient. But I do not understand what it means to set a property to an object, as opposed to a chunk of text (or maybe a video file?). So you can set the xxx of btn "b1" to btn "b2". And if you then get the xxx of btn "b1", you will get empty, unless you have made button "b2" into a container, and put some text into it. In that case you get that text back. But that is not the same thing as having the button itself as the contents of the property, is it? It is a disconnect between what I think of as a property, and what I think of as a container. Can't wait to see how this works; I have always wondered... Craig Newman -----Original Message----- From: Thomas McGrath III To: How to use LiveCode Sent: Thu, May 5, 2011 10:25 pm Subject: CustomProperties I thought it was possible to 'store' a button in a custom property? This cold is getting to me, I can't remember. I thought you could store all kinds of things into a custom property? Images, object, sounds, etc. -- Is this correct? Thanks, and apologies for my cold driven forgetfulness. -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.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 jimaultwins at yahoo.com Thu May 5 23:43:35 2011 From: jimaultwins at yahoo.com (Jim Ault) Date: Thu, 5 May 2011 20:43:35 -0700 Subject: Staying on a field In-Reply-To: <38744349-5147-4423-8C93-00C59D729054@mac.com> References: <64057C55-E184-4E24-BF19-69B0683924AA@yahoo.com> <38744349-5147-4423-8C93-00C59D729054@mac.com> Message-ID: <46631A10-0B68-4846-BD37-2E2DC5A58C40@yahoo.com> Since I don't know how you are trapping, executing, and locking your messages, I cannot begin to answer your question. A sample stack from you would be the best bet, unless you are up for a cycle of many emails that dance around a possible solution. Looking forward to your sample stack. On May 5, 2011, at 8:23 PM, Bill Vlahos wrote: > Jim, > > How do I test for the "dialog" condition? I don't see anything in > the dictionary for it. > Funny thing is I always get the answer dialog after I go to the new > card even though it should execute it first. > Jim Ault Las Vegas From bvlahos at mac.com Fri May 6 00:01:01 2011 From: bvlahos at mac.com (Bill Vlahos) Date: Thu, 05 May 2011 21:01:01 -0700 Subject: Staying on a field In-Reply-To: <46631A10-0B68-4846-BD37-2E2DC5A58C40@yahoo.com> References: <64057C55-E184-4E24-BF19-69B0683924AA@yahoo.com> <38744349-5147-4423-8C93-00C59D729054@mac.com> <46631A10-0B68-4846-BD37-2E2DC5A58C40@yahoo.com> Message-ID: <4F337376-B819-47AB-B0F4-1F30B1359D24@mac.com> Jim, I have a test stack that doesn't match what I see in my stack but this test stack doesn't work right either. Looks like it is going to take a bit to figure out. I'll send you one if I can figure it out. Thanks, Bill Vlahos On May 5, 2011, at 8:43 PM, Jim Ault wrote: > Since I don't know how you are trapping, executing, and locking your messages, I cannot begin to answer your question. > A sample stack from you would be the best bet, unless you are up for a cycle of many emails that dance around a possible solution. > > Looking forward to your sample stack. > > On May 5, 2011, at 8:23 PM, Bill Vlahos wrote: > >> Jim, >> >> How do I test for the "dialog" condition? I don't see anything in the dictionary for it. >> Funny thing is I always get the answer dialog after I go to the new card even though it should execute it first. >> > > 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 tvogelaar at de-mare.nl Fri May 6 00:51:44 2011 From: tvogelaar at de-mare.nl (Terry Vogelaar) Date: Fri, 6 May 2011 06:51:44 +0200 Subject: How to toggle play/pause the music in iOS? In-Reply-To: References: Message-ID: Is there a way to pause the standard music player from a LiveCode app on iOS? I mean, lots of audio-playing apps need to make sure the (other) music pauses, right? So there should be a way to mute the iPod when my app starts to make its own sounds. Terry From andre at andregarzia.com Fri May 6 01:35:25 2011 From: andre at andregarzia.com (Andre Garzia) Date: Thu, 5 May 2011 19:35:25 -1000 Subject: Please answer my survey on Social Network Libraries for LiveCode Message-ID: Hi Folks, I am trying to sense the market for a set of Social Network Libraries for LiveCode. For those that were not at the RunRevLive.11 conference, I demonstrated some libraries working with Facebook and Twitter integration. For those with Twitter and/or Facebook accounts, I invite you to take a peek at the following pages: http://andregarzia.com/runrevlive/multiposter/ http://andregarzia.com/runrevlive/simple/facebook.irev http://andregarzia.com/runrevlive/twitter2facebook/ Now, I am trying to measure how much time and effort I should invest in providing those libraries. So if you're interested or even if you are not please, go the URL below and answer my survey there: http://fon.nu/MAK68EA If you are an active member on the RunRev forums, please repost this email there and if you know someone that might want social network libraries for LiveCode, please send them to the http://fon.nu/MAK68EA home page. Your answer will really help me. Please answer the survey and I will give you some freebie thing (if you fill your email in the form), yes, great idea, I will give some freebie plugins for LiveCode for people who answer (and fill the email). Now, you have two good reasons to fill the survey. Oh... and the http://fon.nu url shortening service was created in two hours during the conference. I started working on it at 4:00 AM, finished in 6:00 AM and presented it at 9:00 AM. fon.nu source code will be released shortly. Cheers andre -- http://www.andregarzia.com All We Do Is Code. From andre at andregarzia.com Fri May 6 01:51:37 2011 From: andre at andregarzia.com (Andre Garzia) Date: Thu, 5 May 2011 19:51:37 -1000 Subject: GLXFramework [ad] SpiceKit In-Reply-To: References: <2FF0300C-370A-45B7-9031-35F5FC0EAB4C@mac.com> <5E149CC0-EFB2-4AB7-BD5E-69DA7BE7088A@mac.com> Message-ID: I've seen SpiceKit during the conference and I Like It! You have my [LIKE] facebook thing! On Thu, May 5, 2011 at 3:08 PM, Mark Talluto wrote: > > > > > > > > > > On May 2, 2011, at 12:49 AM, Todd Geist wrote: > > > > I have just started working with it as well, and I spoke with Trevor > about > > it. I think that the docs are bit out of date. So I would say yes that > it > > is probably likely. > > > > > > However, I have managed to make some good progress with it and I am > pretty > > out of shape LC wise having been gone since rev 2 something. Trevor and > the > > google group are very helpful. And the docs do contain lots of useful > stuff > > > > > > Hi Todd, > > The work with dealing with auto-updates, customer registration, copy > protection, microtransactions, trials, customer tracking, credit card > processing, servers to manage all of this, and other various tidbits can be > a lot of work. Over the years Canela Software has created all the tools to > do this with an easy to use/understand API. You can pretty much develop > your app the way you want. Drag and drop your app contents onto SpiceKit > and it will flex around your development style and make the framework work > around you. > > We have used this technology on all of our applications with great success. > I will admit that the first couple of years of development on the tech was > rough going. Lots of users banging on it daily made it a solid. We credit > LiveCode and this set of tools in helping us to be the best in our industry. > We think others will find it beneficial as well. > > If you are interested, there is a basic brochure available here: > http://www.canelasoftware.com/spicekit/SpiceKit_Brochure.pdf > > I would be interested in any feedback you might have on this. Please feel > free to write me directly at mark-at-canelasoftware.com and I would be > more than happy to help you evaluate this service with your project. > > > Best regards, > > Mark Talluto > http://www.canelasoftware.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 keith.clarke at clarkeandclarke.co.uk Fri May 6 02:42:24 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Fri, 6 May 2011 07:42:24 +0100 Subject: Long-term Planning UI Ideas In-Reply-To: References: <4DC210B4.7020906@graymattercomputing.com> <4DC2EA6F.2030008@graymattercomputing.com> Message-ID: <8F1C63B2-A8D1-42C1-8850-8B1BC9B89B6B@clarkeandclarke.co.uk> Very nice Chris. David, if you decide to go 'scrollable' and want to get more graphical with your timeline, your might get some inspiration from Timeline 3D from Beedocs. Their product timeline was built using their timeline product - how's that for "eating your own dog-food!" Best, Keith.. On 5 May 2011, at 21:11, Nonsanity wrote: > Glad you like it. :) > > A feature begged me to add it, so if you fetch the stack again (should be > the same URL) I've added drift to the scrolling calculations so you can > swipe through time, a la iOS. Also added a return-to-beginning button. > > If you are using it as a starting block and want it simple, you can ignore > this version. The code is a bit more complex now due to speed tracking. But > that swipe to scroll through time is sorta nice... :) > > ~ Chris Innanen > ~ Nonsanity > > > > On Thu, May 5, 2011 at 2:20 PM, David Glass > wrote: > >> That is *very* cool. Almost exactly what I was envisioning, and definitely >> a great help! >> >> Thanks so much. :) >> >> >> >> On 05/05/2011 10:38 AM, Nonsanity wrote: >> >>> David, >>> >>> I always like the occasional programming challenge to keep me fresh. So >>> here's a little demo stack for you. See how it fits your needs. >>> >>> http://db.tt/RFGMQp7 >>> From dglass at graymattercomputing.com Fri May 6 03:06:41 2011 From: dglass at graymattercomputing.com (David Glass) Date: Fri, 06 May 2011 00:06:41 -0700 Subject: Long-term Planning UI Ideas In-Reply-To: <8F1C63B2-A8D1-42C1-8850-8B1BC9B89B6B@clarkeandclarke.co.uk> References: <4DC210B4.7020906@graymattercomputing.com> <4DC2EA6F.2030008@graymattercomputing.com> <8F1C63B2-A8D1-42C1-8850-8B1BC9B89B6B@clarkeandclarke.co.uk> Message-ID: <4DC39E01.8040807@graymattercomputing.com> LOL...that's very cool, and completely beyond me for...a while. On 05/05/2011 11:42 PM, Keith Clarke wrote: > Very nice Chris. > > David, if you decide to go 'scrollable' and want to get more graphical with your timeline, your might get some inspiration from Timeline 3D from Beedocs. Their product timeline was built using their timeline product - how's that for "eating your own dog-food!" > Best, > Keith.. > -- David Glass - Gray Matter Computing graymattercomputing.com From stephenREVOLUTION2 at barncard.com Fri May 6 03:15:03 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Fri, 6 May 2011 00:15:03 -0700 Subject: Fwd: Please answer my survey on Social Network Libraries for LiveCode In-Reply-To: References: Message-ID: FORWARDED TO THE USE LIST per Andre ---------- Forwarded message ---------- From: Andre Garzia Date: 5 May 2011 22:35 Subject: Please answer my survey on Social Network Libraries for LiveCode To: How to use LiveCode Hi Folks, I am trying to sense the market for a set of Social Network Libraries for LiveCode. For those that were not at the RunRevLive.11 conference, I demonstrated some libraries working with Facebook and Twitter integration. For those with Twitter and/or Facebook accounts, I invite you to take a peek at the following pages: http://andregarzia.com/runrevlive/multiposter/ http://andregarzia.com/runrevlive/simple/facebook.irev http://andregarzia.com/runrevlive/twitter2facebook/ Now, I am trying to measure how much time and effort I should invest in providing those libraries. So if you're interested or even if you are not please, go the URL below and answer my survey there: http://fon.nu/MAK68EA If you are an active member on the RunRev forums, please repost this email there and if you know someone that might want social network libraries for LiveCode, please send them to the http://fon.nu/MAK68EA home page. Your answer will really help me. Please answer the survey and I will give you some freebie thing (if you fill your email in the form), yes, great idea, I will give some freebie plugins for LiveCode for people who answer (and fill the email). Now, you have two good reasons to fill the survey. Oh... and the http://fon.nu url shortening service was created in two hours during the conference. I started working on it at 4:00 AM, finished in 6:00 AM and presented it at 9:00 AM. fon.nu source code will be released shortly. Cheers andre -- http://www.andregarzia.com All We Do Is Code. _______________________________________________ From toolbook at kestner.de Fri May 6 03:29:59 2011 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Fri, 6 May 2011 09:29:59 +0200 Subject: alternative to mousecolor to get a color from loc? Message-ID: <000c01cc0bbf$6dd75770$49860650$@de> Hi, I would like to get the (RGB) color from a script defined location, without moving the mouse to this loc. I digged the dictionary but didn't find an alternative function to mousecolor. I would like something like "get the color of loc 100,100" Any idea? Tiemo From keith.clarke at clarkeandclarke.co.uk Fri May 6 03:25:16 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Fri, 6 May 2011 08:25:16 +0100 Subject: Long-term Planning UI Ideas In-Reply-To: <4DC39E01.8040807@graymattercomputing.com> References: <4DC210B4.7020906@graymattercomputing.com> <4DC2EA6F.2030008@graymattercomputing.com> <8F1C63B2-A8D1-42C1-8850-8B1BC9B89B6B@clarkeandclarke.co.uk> <4DC39E01.8040807@graymattercomputing.com> Message-ID: ...yes, beyond me too - I just use it! However, having seen what some of the folks around here do with LiveCode, this kind of timeline presentation is certainly not beyond the capabilities of the platform - in the right hands! ;-) Best, Keith.. On 6 May 2011, at 08:06, David Glass wrote: > LOL...that's very cool, and completely beyond me for...a while. > > On 05/05/2011 11:42 PM, Keith Clarke wrote: >> Very nice Chris. >> >> David, if you decide to go 'scrollable' and want to get more graphical with your timeline, your might get some inspiration from Timeline 3D from Beedocs. Their product timeline was built using their timeline product - how's that for "eating your own dog-food!" >> Best, >> Keith.. >> > > -- > David Glass - Gray Matter Computing > graymattercomputing.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 dixonja at hotmail.co.uk Fri May 6 03:34:06 2011 From: dixonja at hotmail.co.uk (John Dixon) Date: Fri, 6 May 2011 08:34:06 +0100 Subject: alternative to mousecolor to get a color from loc? In-Reply-To: <000c01cc0bbf$6dd75770$49860650$@de> References: <000c01cc0bbf$6dd75770$49860650$@de> Message-ID: Hi Tiemo.... on mouseUp put the topLeft of this stack into theLoc set the screenMouseLoc to (item 1 of theLoc + 10,item 2 of theLoc + 10) put the mouseColor end mouseUp Dixie > Hi, > > I would like to get the (RGB) color from a script defined location, without > moving the mouse to this loc. > > I digged the dictionary but didn't find an alternative function to > mousecolor. I would like something like "get the color of loc 100,100" > > Any idea? > > Tiemo From dixonja at hotmail.co.uk Fri May 6 03:46:44 2011 From: dixonja at hotmail.co.uk (John Dixon) Date: Fri, 6 May 2011 08:46:44 +0100 Subject: alternative to mousecolor to get a color from loc? In-Reply-To: <000c01cc0bbf$6dd75770$49860650$@de> References: <000c01cc0bbf$6dd75770$49860650$@de> Message-ID: Hi Tiemo... I didn't read your post very closely... you wanyed it as a function on mouseUp put pixelColor (10,10) end mouseUp function pixelColor x,y put the topLeft of this stack into theLoc set the screenMouseLoc to (item 1 of theLoc + x,item 2 of theLoc + y) return the mouseColor end pixelColor Dixie > I would like to get the (RGB) color from a script defined location, without > moving the mouse to this loc. > Any idea? > > Tiemo From toolbook at kestner.de Fri May 6 03:53:53 2011 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Fri, 6 May 2011 09:53:53 +0200 Subject: AW: alternative to mousecolor to get a color from loc? In-Reply-To: References: <000c01cc0bbf$6dd75770$49860650$@de> Message-ID: <001101cc0bc2$c3b45c80$4b1d1580$@de> Hi Dixie, I don't want to move my mouse (neither by hand, nor by script), because I am sliding a slider, with which I want to control continuously the point within an image, where the color is taken. (ok, I could switch my mouse with every move of the slider to the color taken point and back to my slider, but that?s not the nice way I think) Any idea to that? Thanks Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode-bounces at lists.runrev.com [mailto:use-livecode- > bounces at lists.runrev.com] Im Auftrag von John Dixon > Gesendet: Freitag, 6. Mai 2011 09:34 > An: use-livecode at lists.runrev.com > Betreff: RE: alternative to mousecolor to get a color from loc? > > > Hi Tiemo.... > > on mouseUp > put the topLeft of this stack into theLoc > set the screenMouseLoc to (item 1 of theLoc + 10,item 2 of theLoc + 10) > put the mouseColor > end mouseUp > > Dixie > From dixonja at hotmail.co.uk Fri May 6 03:59:12 2011 From: dixonja at hotmail.co.uk (John Dixon) Date: Fri, 6 May 2011 08:59:12 +0100 Subject: AW: alternative to mousecolor to get a color from loc? In-Reply-To: <001101cc0bc2$c3b45c80$4b1d1580$@de> References: <000c01cc0bbf$6dd75770$49860650$@de>, , <001101cc0bc2$c3b45c80$4b1d1580$@de> Message-ID: Are you using 2 sliders, both on the horizontal axis and the vertical axis ? > Hi Dixie, > I don't want to move my mouse (neither by hand, nor by script), because I am > sliding a slider, with which I want to control continuously the point within > an image, where the color is taken. (ok, I could switch my mouse with every > move of the slider to the color taken point and back to my slider, but > that?s not the nice way I think) > Any idea to that? > Thanks Tiemo From dave at syntaxdigital.co.uk Fri May 6 04:04:42 2011 From: dave at syntaxdigital.co.uk (David Campbell) Date: Fri, 6 May 2011 09:04:42 +0100 Subject: Please answer my survey on Social Network Libraries for LiveCode In-Reply-To: References: Message-ID: FYI - this facebook plugin posts to your facebook page. I found this posted within seconds: @soapdog ?I don?t care if it works on your machine! We are not shipping your machine!? (Vidiu Platon) Cheers Dave Campbell Associate Director Please note VAT is now charged at 20% On 6 May 2011, at 06:35, Andre Garzia wrote: > Hi Folks, > > I am trying to sense the market for a set of Social Network Libraries for > LiveCode. For those that were not at the RunRevLive.11 conference, I > demonstrated some libraries working with Facebook and Twitter integration. > For those with Twitter and/or Facebook accounts, I invite you to take a peek > at the following pages: > > http://andregarzia.com/runrevlive/multiposter/ > http://andregarzia.com/runrevlive/simple/facebook.irev > http://andregarzia.com/runrevlive/twitter2facebook/ > > Now, I am trying to measure how much time and effort I should invest in > providing those libraries. So if you're interested or even if you are not > please, go the URL below and answer my survey there: > > http://fon.nu/MAK68EA > > If you are an active member on the RunRev forums, please repost this email > there and if you know someone that might want social network libraries for > LiveCode, please send them to the http://fon.nu/MAK68EA home page. > > Your answer will really help me. Please answer the survey and I will give > you some freebie thing (if you fill your email in the form), yes, great > idea, I will give some freebie plugins for LiveCode for people who answer > (and fill the email). Now, you have two good reasons to fill the survey. > > Oh... and the http://fon.nu url shortening service was created in two hours > during the conference. I started working on it at 4:00 AM, finished in 6:00 > AM and presented it at 9:00 AM. fon.nu source code will be released shortly. > > Cheers > andre > > -- > 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 toolbook at kestner.de Fri May 6 04:14:29 2011 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Fri, 6 May 2011 10:14:29 +0200 Subject: AW: AW: alternative to mousecolor to get a color from loc? In-Reply-To: References: <000c01cc0bbf$6dd75770$49860650$@de>, , <001101cc0bc2$c3b45c80$4b1d1580$@de> Message-ID: <001201cc0bc5$a3440ab0$e9cc2010$@de> Not yet, but perhaps later > -----Urspr?ngliche Nachricht----- > Von: use-livecode-bounces at lists.runrev.com [mailto:use-livecode- > bounces at lists.runrev.com] Im Auftrag von John Dixon > Gesendet: Freitag, 6. Mai 2011 09:59 > An: use-livecode at lists.runrev.com > Betreff: RE: AW: alternative to mousecolor to get a color from loc? > > > > Are you using 2 sliders, both on the horizontal axis and the vertical axis ? > > > Hi Dixie, > > I don't want to move my mouse (neither by hand, nor by script), because I am > > sliding a slider, with which I want to control continuously the point within > > an image, where the color is taken. (ok, I could switch my mouse with every > > move of the slider to the color taken point and back to my slider, but > > that?s not the nice way I think) > > Any idea to that? > > 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 niggemann at uni-wh.de Fri May 6 04:15:48 2011 From: niggemann at uni-wh.de (BNig) Date: Fri, 6 May 2011 01:15:48 -0700 (PDT) Subject: AW: AW: alternative to mousecolor to get a color from loc? In-Reply-To: <001201cc0bc5$a3440ab0$e9cc2010$@de> References: <000c01cc0bbf$6dd75770$49860650$@de> <001101cc0bc2$c3b45c80$4b1d1580$@de> <001201cc0bc5$a3440ab0$e9cc2010$@de> Message-ID: <1304669748176-3501673.post@n4.nabble.com> Hi Tiemo, the other day there was a thread on this topic on the forum. Richard Gaskin proposed what Dixie is doing, it is very fast and you don't notice the cursor displacement, you can even lock the screen as far as I remember. An alternative way to take a snapshot from 1 Pixel is also explained in a sample stack. But Richard's/Dixie's way is a lot easier. http://forums.runrev.com/phpBB2/viewtopic.php?f=7&t=7398 Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/alternative-to-mousecolor-to-get-a-color-from-loc-tp3501489p3501673.html Sent from the Revolution - User mailing list archive at Nabble.com. From toolbook at kestner.de Fri May 6 04:31:19 2011 From: toolbook at kestner.de (Tiemo Hollmann TB) Date: Fri, 6 May 2011 10:31:19 +0200 Subject: AW: AW: AW: alternative to mousecolor to get a color from loc? In-Reply-To: <1304669748176-3501673.post@n4.nabble.com> References: <000c01cc0bbf$6dd75770$49860650$@de> <001101cc0bc2$c3b45c80$4b1d1580$@de> <001201cc0bc5$a3440ab0$e9cc2010$@de> <1304669748176-3501673.post@n4.nabble.com> Message-ID: <001301cc0bc7$fd16a960$f743fc20$@de> Hi Bernd, thanks for the link to the forum, good to know Tiemo > -----Urspr?ngliche Nachricht----- > Von: use-livecode-bounces at lists.runrev.com [mailto:use-livecode- > bounces at lists.runrev.com] Im Auftrag von BNig > Gesendet: Freitag, 6. Mai 2011 10:16 > An: use-revolution at lists.runrev.com > Betreff: Re: AW: AW: alternative to mousecolor to get a color from loc? > > Hi Tiemo, > > the other day there was a thread on this topic on the forum. > > Richard Gaskin proposed what Dixie is doing, it is very fast and you don't > notice the cursor displacement, you can even lock the screen as far as I > remember. > An alternative way to take a snapshot from 1 Pixel is also explained in a > sample stack. > But Richard's/Dixie's way is a lot easier. > > http://forums.runrev.com/phpBB2/viewtopic.php?f=7&t=7398 > > Kind regards > > Bernd > > -- > View this message in context: http://runtime- > revolution.278305.n4.nabble.com/alternative-to-mousecolor-to-get-a-color-fro m- > loc-tp3501489p3501673.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 sarah.reichelt at gmail.com Fri May 6 05:05:29 2011 From: sarah.reichelt at gmail.com (Sarah Reichelt) Date: Fri, 6 May 2011 19:05:29 +1000 Subject: Long-term Planning UI Ideas In-Reply-To: References: <745604FC-4289-41D1-94F1-A98E789A7F1C@twft.com> Message-ID: Thanks Scott, much appreciated. And Bob too. My stack is just a single month at a time display so can't really help with David's problem, but for anyone who just needs a simple data input mechanism, it works really well. But I'm sure Scott's customized version looks better than mine :-) Cheers, Sarah On Fri, May 6, 2011 at 5:42 AM, Scott Rossi wrote: > A very good calendar stack is available from Sarah Riechelt: > > > I've customized/used this in a couple of projects -- it's quite useful. > Hmm... ?While thinking about it, I can't recall if I ever sent a donation > for the stack. ?Maybe I did already, but I'm going to head over to her site > now to donate anyway. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design > > > > Recently, Bob Sneidar wrote: > >> I don't think the datagrid would be very good at calendar data. You would >> really need a good calendar object, and that is a lot of work for one person >> to create on his own. It would be awesome if we had a calendar object like the >> datagrid object, which was aware of all the various calendar issues of dates >> and times and such. I gotta think about that one a bit. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From peterwawood at gmail.com Fri May 6 06:23:34 2011 From: peterwawood at gmail.com (Peter W A Wood) Date: Fri, 6 May 2011 18:23:34 +0800 Subject: Convert Packet decimals comp-3 and comp-6 In-Reply-To: <1304613380194-3498822.post@n4.nabble.com> References: <1304613380194-3498822.post@n4.nabble.com> Message-ID: <99509FCE-8525-4DFF-A65C-15F782DB7553@gmail.com> Hi Josep On 6 May 2011, at 00:36, JosepM wrote: > Hi, > > I need to read a file from a Cobol application and import the data files. > I have the file description but I don't have idea how convert the decimals > fields. > > 01 NAME PIC X(30) --> This I guess is 30 chars > 02 CODE PIC 9(5) COMP-6 --> This is five digits with packet decimal format. I haven't heard of COMP-6 though it is a very long time since I last wrote a COBOL programme, probably the early nineties. I managed to find this "The format of a COMP-6 item is identical to a COMP-3 item except that it is unsigned and no space is allocated for the sign. Thus there are two decimal digits per byte, and the actual size of the item is determined by dividing its PICTURE size by two and rounding up. " at http://ibmmainframes.com/about146.html > Comp-3 stores data in a BCD -- binary coded decimal -- format with the sign > after the least significant digit. I would guess that the COMP-6 field would be Bits 1-4 : First Digit Bits 5-8 : Second Digit Bits 9-12 : Third Digit Bits 13-16 : Fourth Digit Bits 17-20 : Fifth Digit Bits 21-24 : to be ignored. From the PIC 9(5) the field is an integer. So the code to extract the value would need to be something along the following lines. It assumes that you treat the COBOL data as a string. I'm afraid that I haven't been able to test it. set tCode to 0 # first byte put char 1 of tCOBOLCODE into tChar # first digit put charToNum(tChar) bitAnd 240 into tInt divide tInt by 8 add tInt to tCode multiply tCode by 10 # second digit put charToNum(tChar) bitAnd 15 into tInt add tInt to tCode multiply tCode by 10 # second byte put char 2 of tCOBOLCODE into tChar # third digit put charToNum(tChar) bitAnd 240 into tInt divide tInt by 8 add tInt to tCode multiply tCode by 10 # fourth digit put charToNum(tChar) bitAnd 15 into tInt add tInt to tCode multiply tCode by 10 # third byte put char 3 of tCOBOLCODE into tChar # fifth digit put charToNum(tChar) bitAnd 240 into tInt add tInt to tCode I'm sure many people on this list can come up with a much better solution. Regards Peter From keith.clarke at clarkeandclarke.co.uk Fri May 6 07:13:53 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Fri, 6 May 2011 12:13:53 +0100 Subject: Hide group on click Message-ID: Hi folks, I have a help 'draw' group that toggles open/closed (well, visible true/false) by mouseUp on a nearby help icon. However, I'd also like to have the drawer set to invisible if clicked. So, what's wrong with this script - placed on the group? on mouseDown set the visibility of me to (not the visible of me) end mouseDown BTW The group is just a graphic background with a single field - and the field has lockText ON, autoHilite OFF and traversalOn OFF. Thanks, Keith.. From rene.micout at numericable.com Fri May 6 07:18:55 2011 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Fri, 6 May 2011 13:18:55 +0200 Subject: Hide group on click In-Reply-To: References: Message-ID: set the visible of me to (not the visible of me) ? visible and nor visibility (?) Le 6 mai 2011 ? 13:13, Keith Clarke a ?crit : > Hi folks, > I have a help 'draw' group that toggles open/closed (well, visible true/false) by mouseUp on a nearby help icon. However, I'd also like to have the drawer set to invisible if clicked. So, what's wrong with this script - placed on the group? > > on mouseDown > set the visibility of me to (not the visible of me) > end mouseDown > > BTW The group is just a graphic background with a single field - and the field has lockText ON, autoHilite OFF and traversalOn OFF. > > Thanks, > 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 klaus at major.on-rev.com Fri May 6 07:22:57 2011 From: klaus at major.on-rev.com (Klaus on-rev) Date: Fri, 6 May 2011 13:22:57 +0200 Subject: Hide group on click In-Reply-To: References: Message-ID: <72BC3126-198E-46A5-8C38-24531A8BE872@major.on-rev.com> Hi Keith, > Hi folks, > I have a help 'draw' group that toggles open/closed (well, visible true/false) by mouseUp on a nearby help icon. However, I'd also like to have the drawer set to invisible if clicked. So, what's wrong with this script - placed on the group? set the VISIBLE :-) > on mouseDown > set the VISIBLE of me to (not the visible of me) > end mouseDown > > BTW The group is just a graphic background with a single field - and the field has lockText ON, autoHilite OFF and traversalOn OFF. > > Thanks, > Keith.. Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From keith.clarke at clarkeandclarke.co.uk Fri May 6 07:41:31 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Fri, 6 May 2011 12:41:31 +0100 Subject: Hide group on click In-Reply-To: <72BC3126-198E-46A5-8C38-24531A8BE872@major.on-rev.com> References: <72BC3126-198E-46A5-8C38-24531A8BE872@major.on-rev.com> Message-ID: Thanks Klaus & Ren? - I've obviously been staring at the screen for too long (several hours), so and didn't notice the typo or even lack of colour change in the script editor. Doh! So much for LiveCode's forgiving, English-like language - where have all the pseudonyms gone! ;-) Fixed and time for a break from coding, methinks! Best, Keith.. On 6 May 2011, at 12:22, Klaus on-rev wrote: > Hi Keith, > >> Hi folks, >> I have a help 'draw' group that toggles open/closed (well, visible true/false) by mouseUp on a nearby help icon. However, I'd also like to have the drawer set to invisible if clicked. So, what's wrong with this script - placed on the group? > > set the VISIBLE :-) > >> on mouseDown >> set the VISIBLE of me to (not the visible of me) >> end mouseDown >> >> BTW The group is just a graphic background with a single field - and the field has lockText ON, autoHilite OFF and traversalOn OFF. >> >> Thanks, >> Keith.. > > Best > > Klaus From jimaultwins at yahoo.com Fri May 6 08:18:25 2011 From: jimaultwins at yahoo.com (Jim Ault) Date: Fri, 6 May 2011 05:18:25 -0700 Subject: Hide group on click In-Reply-To: References: Message-ID: <8E1463EB-5DE5-4C7F-A710-351EAF5BD101@yahoo.com> "the visibility of me" would be a custom property that you invent to hold text or other data. 'Visibility' is not a Rev property of an object. try this set the visible of me to (not the visible of me) or set the visible of me to not(the visible of me) Both should work for you. Since the mouseup will not work if the visible is false, why not make the code a little easier to understand by set the visible of me to false On May 6, 2011, at 4:13 AM, Keith Clarke wrote: > I have a help 'draw' group that toggles open/closed (well, visible > true/false) by mouseUp on a nearby help icon. However, I'd also like > to have the drawer set to invisible if clicked. So, what's wrong > with this script - placed on the group? > > on mouseDown > set the visibility of me to (not the visible of me) > end mouseDown > > BTW The group is just a graphic background with a single field - and > the field has lockText ON, autoHilite OFF and traversalOn OFF. Jim Ault Las Vegas From coiin at verizon.net Fri May 6 08:26:15 2011 From: coiin at verizon.net (Colin Holgate) Date: Fri, 06 May 2011 08:26:15 -0400 Subject: Hide group on click In-Reply-To: <8E1463EB-5DE5-4C7F-A710-351EAF5BD101@yahoo.com> References: <8E1463EB-5DE5-4C7F-A710-351EAF5BD101@yahoo.com> Message-ID: <4726E233-8220-42CE-8DB5-6B0693F06FDD@verizon.net> "visibility" ought to be a synonym along with "vis". As for a simple script to make it be invisible, this would do: hide me From richmondmathewson at gmail.com Fri May 6 08:35:01 2011 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Fri, 06 May 2011 15:35:01 +0300 Subject: Hide group on click In-Reply-To: <4726E233-8220-42CE-8DB5-6B0693F06FDD@verizon.net> References: <8E1463EB-5DE5-4C7F-A710-351EAF5BD101@yahoo.com> <4726E233-8220-42CE-8DB5-6B0693F06FDD@verizon.net> Message-ID: <4DC3EAF5.4040007@gmail.com> On 05/06/2011 03:26 PM, Colin Holgate wrote: > "visibility" ought to be a synonym along with "vis". > I don't see how that makes much sense; 'visible' is an adjective, while 'visibility' is a noun; so how 'visibility' could be synonymous with 'visible' I just do not see. Of course the language is grammatically "off" insofar as it has funny things such as set the visible to true using a definite article before an adjective belies the claim that the language is English-like! From rene.micout at numericable.com Fri May 6 08:47:32 2011 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Fri, 6 May 2011 14:47:32 +0200 Subject: Hide group on click In-Reply-To: <4DC3EAF5.4040007@gmail.com> References: <8E1463EB-5DE5-4C7F-A710-351EAF5BD101@yahoo.com> <4726E233-8220-42CE-8DB5-6B0693F06FDD@verizon.net> <4DC3EAF5.4040007@gmail.com> Message-ID: <722D3A27-CC8D-44FA-B2F4-4457007898AE@numericable.com> Hello Richmond, It is not a probem for French people because "visible" is an adjective ANd a name Sous le soleil de Paris Ren? Le 6 mai 2011 ? 14:35, Richmond Mathewson a ?crit : > On 05/06/2011 03:26 PM, Colin Holgate wrote: >> "visibility" ought to be a synonym along with "vis". >> > I don't see how that makes much sense; 'visible' is an adjective, while 'visibility' is > a noun; so how 'visibility' could be synonymous with 'visible' I just do not see. > > Of course the language is grammatically "off" insofar as it has funny things such as > > set the visible to true > > using a definite article before an adjective belies the claim that the language is English-like! > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From richmondmathewson at gmail.com Fri May 6 09:07:40 2011 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Fri, 06 May 2011 16:07:40 +0300 Subject: Hide group on click In-Reply-To: <722D3A27-CC8D-44FA-B2F4-4457007898AE@numericable.com> References: <8E1463EB-5DE5-4C7F-A710-351EAF5BD101@yahoo.com> <4726E233-8220-42CE-8DB5-6B0693F06FDD@verizon.net> <4DC3EAF5.4040007@gmail.com> <722D3A27-CC8D-44FA-B2F4-4457007898AE@numericable.com> Message-ID: <4DC3F29C.5020804@gmail.com> On 05/06/2011 03:47 PM, Ren? Micout wrote: > Hello Richmond, > It is not a probem for French people because "visible" is an adjective ANd a name > Sous le soleil de Paris > Ren? > Mais, c'est sure! Seulement, Livecode c'est pas le roi soleil . . . :) From mcgrath3 at mac.com Fri May 6 09:13:30 2011 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Fri, 06 May 2011 09:13:30 -0400 Subject: CustomProperties In-Reply-To: <70320F67-4CD7-465D-BF2F-A98EFC6BD903@yahoo.com> References: <4CBA248B-AB07-4BC9-8C59-DB93B0D81D7D@mac.com> <70320F67-4CD7-465D-BF2F-A98EFC6BD903@yahoo.com> Message-ID: <6DE31C5B-16B4-4945-BC18-AD2FA2FDCFEB@mac.com> Jim, Ahh! I didn't think of the clipboard. I tried a bunch of things. Thank you -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On May 5, 2011, at 11:37 PM, Jim Ault wrote: > copy button "btnToStoreAsObjectFormat" > set the cpsObjects["cpBtn2"] of this stack to the clipboarddata["objects"] From mcgrath3 at mac.com Fri May 6 09:24:17 2011 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Fri, 06 May 2011 09:24:17 -0400 Subject: CustomProperties In-Reply-To: <70320F67-4CD7-465D-BF2F-A98EFC6BD903@yahoo.com> References: <4CBA248B-AB07-4BC9-8C59-DB93B0D81D7D@mac.com> <70320F67-4CD7-465D-BF2F-A98EFC6BD903@yahoo.com> Message-ID: <8FC81B64-6917-4601-94F1-A40C4D83E214@mac.com> This does not however work in iOS. I just tried it and remembered that clipboard is not supported yet. Tom -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On May 5, 2011, at 11:37 PM, Jim Ault wrote: > These two lines should do it > > copy button "btnToStoreAsObjectFormat" > set the cpsObjects["cpBtn2"] of this stack to the clipboarddata["objects"] > > Dictionary explains the clipboard array elements, one of which is "objects" > Note special rules for stacks, cards, and groups. > > > On May 5, 2011, at 7:25 PM, Thomas McGrath III wrote: > >> I thought it was possible to 'store' a button in a custom property? This cold is getting to me, I can't remember. >> >> I thought you could store all kinds of things into a custom property? Images, object, sounds, etc. -- Is this correct? >> >> Thanks, and apologies for my cold driven forgetfulness. > > 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 roger.e.eller at sealedair.com Fri May 6 09:47:28 2011 From: roger.e.eller at sealedair.com (Roger Eller) Date: Fri, 6 May 2011 09:47:28 -0400 Subject: Please answer my survey on Social Network Libraries for LiveCode In-Reply-To: References: Message-ID: On Fri, May 6, 2011 at 1:35 AM, Andre Garzia wrote: > > Hi Folks, > > I am trying to sense the market for a set of Social Network Libraries for > LiveCode. > > .... > > please, go the URL below and answer my survey there: > > http://fon.nu/MAK68EA > > .... > > Your answer will really help me. Please answer the survey and.... > > Cheers > andre > Hi Andre, I started to take your survey until I got to the platform choices. If Android were among the choices, I would be interested, and am willing to help with testing for Android. I am a huge fan of your work, and enjoyed meeting you in San Jose. ~Roger From preid at reid-it.co.uk Fri May 6 09:58:20 2011 From: preid at reid-it.co.uk (Peter Reid) Date: Fri, 6 May 2011 14:58:20 +0100 Subject: Saving Image Data to Local File Message-ID: I am displaying a static map from Google in an image object. How do I save a copy of this map to a local PNG file so I can display it again without access to the Internet? Thanks Peter -- Peter Reid Loughborough, UK From keith.clarke at clarkeandclarke.co.uk Fri May 6 10:01:37 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Fri, 6 May 2011 15:01:37 +0100 Subject: Hide group on click In-Reply-To: <4DC3EAF5.4040007@gmail.com> References: <8E1463EB-5DE5-4C7F-A710-351EAF5BD101@yahoo.com> <4726E233-8220-42CE-8DB5-6B0693F06FDD@verizon.net> <4DC3EAF5.4040007@gmail.com> Message-ID: <423F453A-EB02-430F-B4D5-89AD096F0AAB@clarkeandclarke.co.uk> Synonym might not be the correct term here but the dictionary could help us much more with Thesaurus and/or contextual relationships, because for the part-time coder, it's often difficult with LiveCode to know when to think of properties as nouns, adjectives, adverbs, etc. Just look at the basic properties of an object: ? metal (noun) - why not 'metallic' ? liveResizing (could be a noun or verb?) - why not 'liveResizable' ? shadow (noun) - why not 'shadowy' or 'enshadowed' ;-) OK, I guess we can forgive the adverbs - such as 'startUpIconic' - due to the relatively recent support for behaviours means that got into the mix. Overall though, LiveCode seems as grammatically regular as any other aspect of English - that's why it's so easy to make mistakes! Anyway, I'm off to boldly set some split infinitive custom properties on my array of mixed metaphors... Best, Keith.. On 6 May 2011, at 13:35, Richmond Mathewson wrote: > On 05/06/2011 03:26 PM, Colin Holgate wrote: >> "visibility" ought to be a synonym along with "vis". >> > I don't see how that makes much sense; 'visible' is an adjective, while 'visibility' is > a noun; so how 'visibility' could be synonymous with 'visible' I just do not see. > > Of course the language is grammatically "off" insofar as it has funny things such as > > set the visible to true > > using a definite article before an adjective belies the claim that the language is English-like! > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jmyepes at mac.com Fri May 6 10:03:32 2011 From: jmyepes at mac.com (JosepM) Date: Fri, 6 May 2011 07:03:32 -0700 (PDT) Subject: Convert Packet decimals comp-3 and comp-6 In-Reply-To: <99509FCE-8525-4DFF-A65C-15F782DB7553@gmail.com> References: <1304613380194-3498822.post@n4.nabble.com> <99509FCE-8525-4DFF-A65C-15F782DB7553@gmail.com> Message-ID: <1304690612246-3502906.post@n4.nabble.com> Many thanks! I will try... But how I must read the file? as file: or as binfile:? I mean how get the chars... :( Salut, Josep -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Convert-Packet-decimals-comp-3-and-comp-6-tp3498822p3502906.html Sent from the Revolution - User mailing list archive at Nabble.com. From keith.clarke at clarkeandclarke.co.uk Fri May 6 10:04:22 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Fri, 6 May 2011 15:04:22 +0100 Subject: Saving Image Data to Local File In-Reply-To: References: Message-ID: Hi Peter, How about exporting a snapshot of the rect of the image object? Best, Keith.. On 6 May 2011, at 14:58, Peter Reid wrote: > I am displaying a static map from Google in an image object. How do I save a copy of this map to a local PNG file so I can display it again without access to the Internet? > > Thanks > > Peter > -- > Peter Reid > Loughborough, UK > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jmyepes at mac.com Fri May 6 10:21:49 2011 From: jmyepes at mac.com (JosepM) Date: Fri, 6 May 2011 07:21:49 -0700 (PDT) Subject: POST command error Message-ID: <1304691709822-3503001.post@n4.nabble.com> Hi, I need some help. I trying to do a post command from LC but I don't see why don't work. on mouseUp put empty into field "f_result" get libURLFormData("ID",38) post it to URL "https://www.mydomain.com/info-customer.php" put it into field "f_result" end mouseUp Ever I get Select error so the var ID never is passed. Thoughts? Salut, Josep -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/POST-command-error-tp3503001p3503001.html Sent from the Revolution - User mailing list archive at Nabble.com. From peterwawood at gmail.com Fri May 6 10:41:24 2011 From: peterwawood at gmail.com (Peter W A Wood) Date: Fri, 6 May 2011 22:41:24 +0800 Subject: Convert Packet decimals comp-3 and comp-6 In-Reply-To: <1304690612246-3502906.post@n4.nabble.com> References: <1304613380194-3498822.post@n4.nabble.com> <99509FCE-8525-4DFF-A65C-15F782DB7553@gmail.com> <1304690612246-3502906.post@n4.nabble.com> Message-ID: I suspect the answer partly lies in knowing where the file originated from and where you are reading it from. (By where, I mean what computer/operating system.) By the way, one thing that is easy to overlook is that if the file has come directly from an IBM Mainframe any character strings will most likely be EBCDIC encoded rather than ASCII and will need converting. By the way, is this a one-off conversion or something that you want to do regularly? Regards Peter On 6 May 2011, at 22:03, JosepM wrote: > Many thanks! I will try... > > But how I must read the file? as file: or as binfile:? I mean how get the > chars... :( > > > Salut, > Josep > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Convert-Packet-decimals-comp-3-and-comp-6-tp3498822p3502906.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 coiin at verizon.net Fri May 6 10:48:07 2011 From: coiin at verizon.net (Colin Holgate) Date: Fri, 06 May 2011 10:48:07 -0400 Subject: Hide group on click In-Reply-To: <4DC3EAF5.4040007@gmail.com> References: <8E1463EB-5DE5-4C7F-A710-351EAF5BD101@yahoo.com> <4726E233-8220-42CE-8DB5-6B0693F06FDD@verizon.net> <4DC3EAF5.4040007@gmail.com> Message-ID: You may be right, and "visible" should be removed and replaced with "visibility". But I don't mind if they were synonyms, at least someone who thinks in terms of the visibility of objects wouldn't get script errors. On May 6, 2011, at 8:35 AM, Richmond Mathewson wrote: >> "visibility" ought to be a synonym along with "vis". >> > I don't see how that makes much sense; 'visible' is an adjective, while 'visibility' is > a noun; so how 'visibility' could be synonymous with 'visible' I just do not see. From todd at geistinteractive.com Fri May 6 10:52:24 2011 From: todd at geistinteractive.com (Todd Geist) Date: Fri, 6 May 2011 07:52:24 -0700 Subject: command line examples Message-ID: Hello, I had nice long chat with Richard Gaskin yesterday. Amongst the myriad of topics we discussed was how to build simple apps that could be started from the command line and run silently in the back ground. I have been trying to do a little R and D on this idea, but I am stymied by the fact that I can't even get an app to launch via the command line. I have searched the docs and searched on line, and It seems as though this can be done. But I can't find any really documentation on it, or any examples. I have an standalone called "served.app" What is the terminal command that will launch it? Are there special messages sent to the stack when it is launched this way? What are the options that can be passed? I have heard a rumor that there is an option "-ui", but I have not as yet seen proof of it's existence. Does anyone have any examples or articles on how this is done? Thanks Todd Todd Geist ------------------------------ geist interactive 805-419-9382 From jmyepes at mac.com Fri May 6 10:53:05 2011 From: jmyepes at mac.com (JosepM) Date: Fri, 6 May 2011 07:53:05 -0700 (PDT) Subject: Convert Packet decimals comp-3 and comp-6 In-Reply-To: References: <1304613380194-3498822.post@n4.nabble.com> <99509FCE-8525-4DFF-A65C-15F782DB7553@gmail.com> <1304690612246-3502906.post@n4.nabble.com> Message-ID: <1304693585636-3503135.post@n4.nabble.com> Hi Peter, The file come from a PC-MSDOS with a old ACUCOBOL-GT application, it's the customer file data, I have the File Definition with the structure of record. It's a one-off conversion but I have many files to convert. So my plan was read the file as chunks of bytes, and for each record (divide the lenght of the file by the lenght of a record) get the chars for each field. Making a conversion for the comp-3 and comp-6 data. Thoughts? Salut, Josep M -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Convert-Packet-decimals-comp-3-and-comp-6-tp3498822p3503135.html Sent from the Revolution - User mailing list archive at Nabble.com. From todd at geistinteractive.com Fri May 6 10:56:27 2011 From: todd at geistinteractive.com (Todd Geist) Date: Fri, 6 May 2011 07:56:27 -0700 Subject: command line examples In-Reply-To: References: Message-ID: I just stumbled on something that would make me sad. It seems that maybe command line mode has been removed in anything after version 4. Id this is true then I think it is very sad. Can anyone confirm this? Todd On Fri, May 6, 2011 at 7:52 AM, Todd Geist wrote: > Hello, > > I had nice long chat with Richard Gaskin yesterday. Amongst the myriad of > topics we discussed was how to build simple apps that could be started from > the command line and run silently in the back ground. I have been trying to > do a little R and D on this idea, but I am stymied by the fact that I can't > even get an app to launch via the command line. I have searched the docs > and searched on line, and It seems as though this can be done. But I can't > find any really documentation on it, or any examples. > > I have an standalone called "served.app" What is the terminal command that > will launch it? Are there special messages sent to the stack when it is > launched this way? What are the options that can be passed? I have heard a > rumor that there is an option "-ui", but I have not as yet seen proof of > it's existence. > > Does anyone have any examples or articles on how this is done? > > Thanks > > Todd > > > > Todd Geist > ------------------------------ > geist interactive > 805-419-9382 > Todd Geist ------------------------------ geist interactive 805-419-9382 From keith.clarke at clarkeandclarke.co.uk Fri May 6 10:58:33 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Fri, 6 May 2011 15:58:33 +0100 Subject: Hide group on click In-Reply-To: <8E1463EB-5DE5-4C7F-A710-351EAF5BD101@yahoo.com> References: <8E1463EB-5DE5-4C7F-A710-351EAF5BD101@yahoo.com> Message-ID: Jim - Thanks, You're right in that my typo didn't throw a script editor error but instead created a custom property - which I've now purged, (to save me wondering what it's for, when I rediscover it in a few months' time!) Best, Keith.. On 6 May 2011, at 13:18, Jim Ault wrote: > "the visibility of me" would be a custom property that you invent to hold text or other data. > 'Visibility' is not a Rev property of an object. > > try this > set the visible of me to (not the visible of me) > or > set the visible of me to not(the visible of me) > > Both should work for you. > Since the mouseup will not work if the visible is false, why not make the code a little easier to understand by > set the visible of me to false > > On May 6, 2011, at 4:13 AM, Keith Clarke wrote: >> I have a help 'draw' group that toggles open/closed (well, visible true/false) by mouseUp on a nearby help icon. However, I'd also like to have the drawer set to invisible if clicked. So, what's wrong with this script - placed on the group? >> >> on mouseDown >> set the visibility of me to (not the visible of me) >> end mouseDown >> >> BTW The group is just a graphic background with a single field - and the field has lockText ON, autoHilite OFF and traversalOn OFF. > > Jim Ault > Las Vegas From warren at warrensweb.us Fri May 6 11:02:52 2011 From: warren at warrensweb.us (Warren Samples) Date: Fri, 6 May 2011 10:02:52 -0500 Subject: Hide group on click In-Reply-To: References: <4DC3EAF5.4040007@gmail.com> Message-ID: <201105061002.52153.warren@warrensweb.us> On Friday, May 06, 2011 09:48:07 AM Colin Holgate wrote: > and "visible" should be removed and replaced with "visibility" Of course this would cause problems with backward compatibility, but I think the argument regarding correct English grammar is specious. "the visible" refers to a state or property and as such isn't really incorrect: the state of the object is "visible" or not "visible". Saying that, I support the idea of adding "visibility" as a sometimes more intuitive synonym and the idea of the shorthand "vis" is appealing, too. Regards, Warren From richmondmathewson at gmail.com Fri May 6 11:07:32 2011 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Fri, 06 May 2011 18:07:32 +0300 Subject: Hide group on click In-Reply-To: <201105061002.52153.warren@warrensweb.us> References: <4DC3EAF5.4040007@gmail.com> <201105061002.52153.warren@warrensweb.us> Message-ID: <4DC40EB4.1070209@gmail.com> On 05/06/2011 06:02 PM, Warren Samples wrote: > On Friday, May 06, 2011 09:48:07 AM Colin Holgate wrote: >> and "visible" should be removed and replaced with "visibility" > Of course this would cause problems with backward compatibility, but I think the argument regarding correct > English grammar is specious. "the visible" refers to a state or property and as such isn't really incorrect: > the state of the object is "visible" or not "visible". Saying that, I support the idea of adding "visibility" > as a sometimes more intuitive synonym and the idea of the shorthand "vis" is appealing, too. > > Regards, > > Warren > Of course it is specious; but behaving speciously, or, as that grammatically challenged person, Steve Jobs, might say "behave specious", can sometimes point out oddities. Personally I always learn the short form for everything [ c.f. 'vis'] so I don't get my underpants in a twist about grammatical categories when programming. I have quite enough of grammatical categories in my daytime job . . . :) From runrev260805 at m-r-d.de Fri May 6 11:08:35 2011 From: runrev260805 at m-r-d.de (Matthias Rebbe) Date: Fri, 6 May 2011 17:08:35 +0200 Subject: command line examples In-Reply-To: References: Message-ID: Hi Todd, you have to use open on Mac os x E.g. open 'served.app' would open the application served.app. If your are not in the folder, where the application resides you can use also paths open /whateverfolder/served.app HTH Matthias Am 06.05.2011 um 16:56 schrieb Todd Geist: > I just stumbled on something that would make me sad. > > It seems that maybe command line mode has been removed in anything after > version 4. Id this is true then I think it is very sad. > > Can anyone confirm this? > > Todd > > On Fri, May 6, 2011 at 7:52 AM, Todd Geist wrote: > >> Hello, >> >> I had nice long chat with Richard Gaskin yesterday. Amongst the myriad of >> topics we discussed was how to build simple apps that could be started from >> the command line and run silently in the back ground. I have been trying to >> do a little R and D on this idea, but I am stymied by the fact that I can't >> even get an app to launch via the command line. I have searched the docs >> and searched on line, and It seems as though this can be done. But I can't >> find any really documentation on it, or any examples. >> >> I have an standalone called "served.app" What is the terminal command that >> will launch it? Are there special messages sent to the stack when it is >> launched this way? What are the options that can be passed? I have heard a >> rumor that there is an option "-ui", but I have not as yet seen proof of >> it's existence. >> >> Does anyone have any examples or articles on how this is done? >> >> Thanks >> >> Todd >> >> >> >> Todd Geist >> ------------------------------ >> geist interactive >> 805-419-9382 >> > > > Todd Geist > ------------------------------ > geist interactive > 805-419-9382 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From todd at geistinteractive.com Fri May 6 11:10:52 2011 From: todd at geistinteractive.com (Todd Geist) Date: Fri, 6 May 2011 08:10:52 -0700 Subject: command line examples In-Reply-To: References: Message-ID: The current user guide does have the following section on page 146 *Command-line argument variables* If you start up the application from a command line, the command name is stored in the variable $0 and any arguments passed on the command line are stored in numbered variables starting with the *$ *character. For example, if you start the application by typing the following shell command: myrevapp -h name then the variable $0 contains "myrevapp" (the name of the application), $1 contains "-h", and $2 contains "name". *Note: *Command-line argument variables behave like global variables and can be used in any handler. However, you do not need to use the *global *command to declare them before using them. Is this just left over cruft? Todd Todd Geist ------------------------------ geist interactive 805-419-9382 From todd at geistinteractive.com Fri May 6 11:20:31 2011 From: todd at geistinteractive.com (Todd Geist) Date: Fri, 6 May 2011 08:20:31 -0700 Subject: command line examples In-Reply-To: References: Message-ID: Thanks very much for your response, but I don't think that is actually doing anything other than starting the application using the OS. It is just as if you double clicked it. I don't think that is what I am looking for. I think I am looking for command line mode Todd On Fri, May 6, 2011 at 8:08 AM, Matthias Rebbe wrote: > Hi Todd, > > you have to use open on Mac os x > > E.g. open 'served.app' would open the application served.app. > > If your are not in the folder, where the application resides you can use > also paths > > open /whateverfolder/served.app > > HTH > > > Matthias > > Am 06.05.2011 um 16:56 schrieb Todd Geist: > > > I just stumbled on something that would make me sad. > > > > It seems that maybe command line mode has been removed in anything after > > version 4. Id this is true then I think it is very sad. > > > > Can anyone confirm this? > > > > Todd > > > > On Fri, May 6, 2011 at 7:52 AM, Todd Geist >wrote: > > > >> Hello, > >> > >> I had nice long chat with Richard Gaskin yesterday. Amongst the myriad > of > >> topics we discussed was how to build simple apps that could be started > from > >> the command line and run silently in the back ground. I have been > trying to > >> do a little R and D on this idea, but I am stymied by the fact that I > can't > >> even get an app to launch via the command line. I have searched the > docs > >> and searched on line, and It seems as though this can be done. But I > can't > >> find any really documentation on it, or any examples. > >> > >> I have an standalone called "served.app" What is the terminal command > that > >> will launch it? Are there special messages sent to the stack when it is > >> launched this way? What are the options that can be passed? I have > heard a > >> rumor that there is an option "-ui", but I have not as yet seen proof > of > >> it's existence. > >> > >> Does anyone have any examples or articles on how this is done? > >> > >> Thanks > >> > >> Todd > >> > >> > >> > >> Todd Geist > >> ------------------------------ > >> geist interactive > >> 805-419-9382 > >> > > > > > > Todd Geist > > ------------------------------ > > geist interactive > > 805-419-9382 > > _______________________________________________ > > use-livecode mailing list > > use-livecode 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 > Todd Geist ------------------------------ geist interactive 805-419-9382 From jiml at netrin.com Fri May 6 11:29:27 2011 From: jiml at netrin.com (Jim Lambert) Date: Fri, 6 May 2011 08:29:27 -0700 Subject: how-to link to a video In-Reply-To: References: Message-ID: NicholasC wrote: > Player controls don't work. Nothing new, though. That's been my > experience so far with revlet player objects. I suspect the revlet is somehow preventing mouse events from reaching the QT player. :( As you say, fortunately we can roll our own basic player controls. Gotta Love LC! Jim Lambert From pmbrig at gmail.com Fri May 6 11:33:09 2011 From: pmbrig at gmail.com (Peter Brigham MD) Date: Fri, 6 May 2011 08:33:09 -0700 Subject: Staying on a field In-Reply-To: References: Message-ID: <1E99304C-FF37-4B48-9FD0-826A0B043571@gmail.com> On May 3, 2011, at 9:14 PM, Bill Vlahos wrote: > I do a validity check on a field to see if the user entered a valid date. If the user entered a valid date and presses TAB or RETURN the focus moves on to the next field. However, if the user enters an invalid date I want to keep the focus on the field to try again. > > This field script does everything correctly except that it doesn't set the focus back on the field. What am I doing wrong? > > on closeField > if me is not a date then > answer error "Not a valid date. Retry?" with "No" or "Yes" > if it is "Yes" then > focus on me > exit closeField > end if > end if > pass closeField > end closeField Is there some reason you use "focus on me" as opposed to "select text of me" ? -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From form at nonsanity.com Fri May 6 11:33:30 2011 From: form at nonsanity.com (Nonsanity) Date: Fri, 6 May 2011 11:33:30 -0400 Subject: Hide group on click In-Reply-To: References: <8E1463EB-5DE5-4C7F-A710-351EAF5BD101@yahoo.com> <4726E233-8220-42CE-8DB5-6B0693F06FDD@verizon.net> <4DC3EAF5.4040007@gmail.com> Message-ID: I see two-state properties such as "visible" as a "state of being" toggle such that: "the state of being visible is true or false" or "the state of being opaque is true or false" But "the state of being visibility" doesn't scan right. It's different with non-toggle properties. If there was one called "transparent", that would suggest a two-state toggle property (it's either transparent or not), whereas "transparency" would suggest a continuum of values. (It's actually "blendLevel" which is a artificial word and so falls outside these conventions.) "set the visibility" sounds like a command (hide/show) or a continuum ("set the visibility to 50%"), while "set the visible" sounds like flipping a bit. It's just missing the extra words that would make it a better English sentence - Words that can probably be added without damaging the code, but who wants to type more than necessary? :) But I wouldn't be surprised to find things in the dictionary that violate even these simple rules... The language is growing by many hands, after all. ~ Chris Innanen ~ Nonsanity On Fri, May 6, 2011 at 10:48 AM, Colin Holgate wrote: > You may be right, and "visible" should be removed and replaced with > "visibility". But I don't mind if they were synonyms, at least someone who > thinks in terms of the visibility of objects wouldn't get script errors. > > > On May 6, 2011, at 8:35 AM, Richmond Mathewson wrote: > > >> "visibility" ought to be a synonym along with "vis". > >> > > I don't see how that makes much sense; 'visible' is an adjective, while > 'visibility' is > > a noun; so how 'visibility' could be synonymous with 'visible' I just do > not see. > > From runrev260805 at m-r-d.de Fri May 6 11:45:02 2011 From: runrev260805 at m-r-d.de (Matthias Rebbe) Date: Fri, 6 May 2011 17:45:02 +0200 Subject: command line examples In-Reply-To: References: Message-ID: <3DC16B7A-A469-4E4A-A0EB-5BAEDA0C887C@m-r-d.de> Ah, now i understand. You are right, command line mode was possible up to version 3.5. If you need command line mode and if you have an active maintenance, why not asking support at runrev.com for a key for v 3.5? I am pretty sure they will help. Regards, Matthias Am 06.05.2011 um 17:20 schrieb Todd Geist: > Thanks very much for your response, but I don't think that is actually doing > anything other than starting the application using the OS. It is just as if > you double clicked it. I don't think that is what I am looking for. I > think I am looking for command line mode > > Todd > > On Fri, May 6, 2011 at 8:08 AM, Matthias Rebbe wrote: > >> Hi Todd, >> >> you have to use open on Mac os x >> >> E.g. open 'served.app' would open the application served.app. >> >> If your are not in the folder, where the application resides you can use >> also paths >> >> open /whateverfolder/served.app >> >> HTH >> >> >> Matthias >> >> Am 06.05.2011 um 16:56 schrieb Todd Geist: >> >>> I just stumbled on something that would make me sad. >>> >>> It seems that maybe command line mode has been removed in anything after >>> version 4. Id this is true then I think it is very sad. >>> >>> Can anyone confirm this? >>> >>> Todd >>> >>> On Fri, May 6, 2011 at 7:52 AM, Todd Geist >> wrote: >>> >>>> Hello, >>>> >>>> I had nice long chat with Richard Gaskin yesterday. Amongst the myriad >> of >>>> topics we discussed was how to build simple apps that could be started >> from >>>> the command line and run silently in the back ground. I have been >> trying to >>>> do a little R and D on this idea, but I am stymied by the fact that I >> can't >>>> even get an app to launch via the command line. I have searched the >> docs >>>> and searched on line, and It seems as though this can be done. But I >> can't >>>> find any really documentation on it, or any examples. >>>> >>>> I have an standalone called "served.app" What is the terminal command >> that >>>> will launch it? Are there special messages sent to the stack when it is >>>> launched this way? What are the options that can be passed? I have >> heard a >>>> rumor that there is an option "-ui", but I have not as yet seen proof >> of >>>> it's existence. >>>> >>>> Does anyone have any examples or articles on how this is done? >>>> >>>> Thanks >>>> >>>> Todd >>>> >>>> >>>> >>>> Todd Geist >>>> ------------------------------ >>>> geist interactive >>>> 805-419-9382 >>>> >>> >>> >>> Todd Geist >>> ------------------------------ >>> geist interactive >>> 805-419-9382 >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode 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 >> > > > Todd Geist > ------------------------------ > geist interactive > 805-419-9382 > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Fri May 6 11:45:19 2011 From: warren at warrensweb.us (Warren Samples) Date: Fri, 6 May 2011 10:45:19 -0500 Subject: command line examples In-Reply-To: References: Message-ID: <201105061045.19199.warren@warrensweb.us> On Friday, May 06, 2011 10:10:52 AM Todd Geist wrote: > Command-line argument variables Hi Todd, It looks as if you have to program your app to respond according to what values any such variable(s) contain, such as 'if $1 is "true" then doSomeThing' It looks af it will take some craft in order to ensure that flags and params they might pass are properly matched and that flag order isn't a problem, but this should only prove fussy rather than impossible. Experiment! Report back, please :) Regards, Warren From keith.clarke at clarkeandclarke.co.uk Fri May 6 11:48:08 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Fri, 6 May 2011 16:48:08 +0100 Subject: Hide group on click In-Reply-To: <4DC40EB4.1070209@gmail.com> References: <4DC3EAF5.4040007@gmail.com> <201105061002.52153.warren@warrensweb.us> <4DC40EB4.1070209@gmail.com> Message-ID: On 6 May 2011, at 16:07, Richmond Mathewson wrote: > Personally I always learn the short form for everything [ c.f. 'vis'] ...is that 'vis' as in face, the island of Vis, VIS the Bulgarian crime organisation, the Polish hand-gun, the abbreviation for vis-a-vis or the apostrophe-free state of being owned by one's Auntie Vivienne? ;-) From pmbrig at gmail.com Fri May 6 11:51:34 2011 From: pmbrig at gmail.com (Peter Brigham MD) Date: Fri, 6 May 2011 08:51:34 -0700 Subject: CustomProperties In-Reply-To: <8CDD9B61E1C7B05-125C-14F0E@TSTMAIL-D07.sysops.aol.com> References: <4CBA248B-AB07-4BC9-8C59-DB93B0D81D7D@mac.com> <8CDD9B61E1C7B05-125C-14F0E@TSTMAIL-D07.sysops.aol.com> Message-ID: <212E07D8-6756-47EF-888F-1DF62498436D@gmail.com> On May 5, 2011, at 8:37 PM, DunbarX at aol.com wrote: > You can. You can even set a custom property to an entire stack. > > > I use these all the time, they are incredibly powerful and convenient. > > > But I do not understand what it means to set a property to an object, as opposed to a chunk of text (or maybe a video file?). So you can set the xxx of btn "b1" to btn "b2". And if you then get the xxx of btn "b1", you will get empty, unless you have made button "b2" into a container, and put some text into it. In that case you get that text back. But that is not the same thing as having the button itself as the contents of the property, is it? > > > It is a disconnect between what I think of as a property, and what I think of as a container. > > > Can't wait to see how this works; I have always wondered... > > > Craig Newman Apparently it's not possible. I pulled this out of the list archives: -------------- Ian McKnight wrote: > On 30/03/07, Richard Gaskin wrote: > >> You can store a stack file in a custom property, but I don't know of a way to >> store individual controls there. >> >> You may find the copy command will do what you need quite handily, since it lets you specify a target for the copy: >> copy to >> >> e.g.: >> >> copy grp 1 of stack "TemplateParts" to this cd of stack "UserStack" >> >> When using the "to" option with the copy command it doesn't affect the user's clipboard, making it really convenient for both you and your user. > > Hi Richard > > I tried your suggestion with > > copy grp "mygroup" of this stack to the umycustomProp > > and got a Script Compile error > Error description: Function: missing '(' > > So I guess that controls can't be stored there. > > Correct. As I'd written, I know of no way to > store controls in custom properties. The copy command can be used by simply storing your groups in some other stack as a repository, copying them into the user's stack as needed. ------------ If you don't want to use a storage stack, which is really the easiest thing to do, you can approximate storing a control as a customprop with something like this: put the properties of btn "myBtn" into btnProps -- btnProps is an array of properties set the storedBtn of stack "myStack" to btnProps The, to reconstitute the control (I think of this as adding water to a freeze-dried stew and sticking in in the microwave...), put the storedBtn of stack "myStack" into btnProps create invisible button set the properties of it to btnProps (will also make the new button visible if the original was visible) -- Peter Peter M. Brigham pmbrig at gmail.com http://home.comcast.net/~pmbrig From bobs at twft.com Fri May 6 11:51:59 2011 From: bobs at twft.com (Bob Sneidar) Date: Fri, 6 May 2011 08:51:59 -0700 Subject: Pre-Beta Help In-Reply-To: References: Message-ID: <079F315A-9FED-40BE-84C3-E5DC837DB559@twft.com> Oh hey I have the perfect test. Spiceworks uses an SQLite database and it's BIG. That will put it through it's paces!! Bob On May 5, 2011, at 6:19 PM, Pete wrote: > Folks, > A couple of months ago, I did a Livecode Live presentation on an LC utility > I'm working on that cuts out a lot of the coding work required to get SQL > dbs working with LC. It's basically a library of behaviors and a couple of > front scripts that link groups/datagrids and controls/datagrid columns to > SQL tables and columns/expressions. It automatically > selects/updates/deletes/inserts data, figures out JOIN statements between > tables, populates option menu/comboboxes, takes care of all the necessary > conversion between SQL storage formats and LC display formats and includes > automatic filtering of SQL data in datagrids. My aim is to eliminate a > large portion of the need to write SQL statements and the LC code to manage > SQL databases. > > Everything works quite nicely with the SQL dbs that I've designed but before > I put it our for beta, I'd really like to check it out against other SQL dbs > designed by other people - we all have our own ways of designing databases > and I want to make sure I've covered all the bases (no pun intended), or at > least the reasonable ones. > > Right now, this is SQLite only so I'm primarily interested in SQLite schemas > but I do plan on extending it to mySQL so schemas of that ilk would also be > welcome. If you have a schema you'd be prepared to send me for my own > testing, please email me off list. I don't need any data from you, just the > CREATE statements that will allow me to create the tables, indexes, etc so I > can see what datatypes you use, how you set up primary keys, foreign keys, > indexes, db structural stuff of that nature.. > > Any help much appreciated, > > 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 richmondmathewson at gmail.com Fri May 6 12:08:04 2011 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Fri, 06 May 2011 19:08:04 +0300 Subject: Hide group on click In-Reply-To: References: <4DC3EAF5.4040007@gmail.com> <201105061002.52153.warren@warrensweb.us> <4DC40EB4.1070209@gmail.com> Message-ID: <4DC41CE4.8090902@gmail.com> On 05/06/2011 06:48 PM, Keith Clarke wrote: > On 6 May 2011, at 16:07, Richmond Mathewson wrote: > >> Personally I always learn the short form for everything [ c.f. 'vis'] > ...is that 'vis' as in face, the island of Vis, VIS the Bulgarian crime organisation, the Polish hand-gun, the abbreviation for vis-a-vis or the apostrophe-free state of being owned by one's Auntie Vivienne? ;-) > > As I live in Bulgaria, I'll leave that one with you . . . :) From pete at mollysrevenge.com Fri May 6 12:08:27 2011 From: pete at mollysrevenge.com (Pete) Date: Fri, 6 May 2011 09:08:27 -0700 Subject: Pre-Beta Help In-Reply-To: <079F315A-9FED-40BE-84C3-E5DC837DB559@twft.com> References: <079F315A-9FED-40BE-84C3-E5DC837DB559@twft.com> Message-ID: Thanks Bob, please send me the schema. Not sure what admin tool you're using but I think they all have a way of exporting the SQL statements to create the database. Pete Molly's Revenge On Fri, May 6, 2011 at 8:51 AM, Bob Sneidar wrote: > Oh hey I have the perfect test. Spiceworks uses an SQLite database and it's > BIG. That will put it through it's paces!! > > Bob > > > On May 5, 2011, at 6:19 PM, Pete wrote: > > > Folks, > > A couple of months ago, I did a Livecode Live presentation on an LC > utility > > I'm working on that cuts out a lot of the coding work required to get SQL > > dbs working with LC. It's basically a library of behaviors and a couple > of > > front scripts that link groups/datagrids and controls/datagrid columns to > > SQL tables and columns/expressions. It automatically > > selects/updates/deletes/inserts data, figures out JOIN statements between > > tables, populates option menu/comboboxes, takes care of all the necessary > > conversion between SQL storage formats and LC display formats and > includes > > automatic filtering of SQL data in datagrids. My aim is to eliminate a > > large portion of the need to write SQL statements and the LC code to > manage > > SQL databases. > > > > Everything works quite nicely with the SQL dbs that I've designed but > before > > I put it our for beta, I'd really like to check it out against other SQL > dbs > > designed by other people - we all have our own ways of designing > databases > > and I want to make sure I've covered all the bases (no pun intended), or > at > > least the reasonable ones. > > > > Right now, this is SQLite only so I'm primarily interested in SQLite > schemas > > but I do plan on extending it to mySQL so schemas of that ilk would also > be > > welcome. If you have a schema you'd be prepared to send me for my own > > testing, please email me off list. I don't need any data from you, just > the > > CREATE statements that will allow me to create the tables, indexes, etc > so I > > can see what datatypes you use, how you set up primary keys, foreign > keys, > > indexes, db structural stuff of that nature.. > > > > Any help much appreciated, > > > > 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 keith.clarke at clarkeandclarke.co.uk Fri May 6 12:11:24 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Fri, 6 May 2011 17:11:24 +0100 Subject: Hide group on click In-Reply-To: References: <8E1463EB-5DE5-4C7F-A710-351EAF5BD101@yahoo.com> <4726E233-8220-42CE-8DB5-6B0693F06FDD@verizon.net> <4DC3EAF5.4040007@gmail.com> Message-ID: Chris, Maybe I'm still too new to LiveCode (or too keen on the Matrix) but for now I'm sticking to the principle that software objects are inanimate - they don't get to have a state of being! ;-) There seems to be a fair mixture of toggle properties that imply states of being (such as visible), more that imply possession of features or attributes (listBehavior, shadow, sharedHilite, sharedText, traversalOn, borderWidth, scrollbars...) and others preempt behaviours (showName, lockText), together with others that defy categorisation, such as 'metal'. Best, Keith.. On 6 May 2011, at 16:33, Nonsanity wrote: > I see two-state properties such as "visible" as a "state of being" toggle > such that: > "the state of being visible is true or false" > or > "the state of being opaque is true or false" > > But "the state of being visibility" doesn't scan right. > > It's different with non-toggle properties. If there was one called > "transparent", that would suggest a two-state toggle property (it's either > transparent or not), whereas "transparency" would suggest a continuum of > values. (It's actually "blendLevel" which is a artificial word and so falls > outside these conventions.) > > "set the visibility" sounds like a command (hide/show) or a continuum ("set > the visibility to 50%"), while "set the visible" sounds like flipping a bit. > It's just missing the extra words that would make it a better English > sentence - Words that can probably be added without damaging the code, but > who wants to type more than necessary? :) > > But I wouldn't be surprised to find things in the dictionary that violate > even these simple rules... The language is growing by many hands, after all. > > ~ Chris Innanen > ~ Nonsanity From keith.clarke at clarkeandclarke.co.uk Fri May 6 12:13:59 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Fri, 6 May 2011 17:13:59 +0100 Subject: Hide group on click In-Reply-To: <4DC41CE4.8090902@gmail.com> References: <4DC3EAF5.4040007@gmail.com> <201105061002.52153.warren@warrensweb.us> <4DC40EB4.1070209@gmail.com> <4DC41CE4.8090902@gmail.com> Message-ID: <507D2117-B0B7-47B3-844D-8F0D2C9BB95F@clarkeandclarke.co.uk> ...ah, now I know who wrote the wikipedia page that I was quoting http://en.wikipedia.org/wiki/Vis ;-) On 6 May 2011, at 17:08, Richmond Mathewson wrote: > On 05/06/2011 06:48 PM, Keith Clarke wrote: >> On 6 May 2011, at 16:07, Richmond Mathewson wrote: >> >>> Personally I always learn the short form for everything [ c.f. 'vis'] >> ...is that 'vis' as in face, the island of Vis, VIS the Bulgarian crime organisation, the Polish hand-gun, the abbreviation for vis-a-vis or the apostrophe-free state of being owned by one's Auntie Vivienne? ;-) >> >> > As I live in Bulgaria, I'll leave that one with you . . . :) From richmondmathewson at gmail.com Fri May 6 12:27:15 2011 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Fri, 06 May 2011 19:27:15 +0300 Subject: Hide group on click In-Reply-To: <507D2117-B0B7-47B3-844D-8F0D2C9BB95F@clarkeandclarke.co.uk> References: <4DC3EAF5.4040007@gmail.com> <201105061002.52153.warren@warrensweb.us> <4DC40EB4.1070209@gmail.com> <4DC41CE4.8090902@gmail.com> <507D2117-B0B7-47B3-844D-8F0D2C9BB95F@clarkeandclarke.co.uk> Message-ID: <4DC42163.9000802@gmail.com> On 05/06/2011 07:13 PM, Keith Clarke wrote: > ...ah, now I know who wrote the wikipedia page that I was quoting http://en.wikipedia.org/wiki/Vis ;-) Well all that proves is how, down here in provincial Plovdiv, I am shielded from the extremely nasty and messy world of Bulgarian crime; this is the first time I have heard of VIS, oddly enough. > On 6 May 2011, at 17:08, Richmond Mathewson wrote: > >> On 05/06/2011 06:48 PM, Keith Clarke wrote: >>> On 6 May 2011, at 16:07, Richmond Mathewson wrote: >>> >>>> Personally I always learn the short form for everything [ c.f. 'vis'] >>> ...is that 'vis' as in face, the island of Vis, VIS the Bulgarian crime organisation, the Polish hand-gun, the abbreviation for vis-a-vis or the apostrophe-free state of being owned by one's Auntie Vivienne? ;-) >>> >>> >> As I live in Bulgaria, I'll leave that one with you . . . :) > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From warrenkuhl at gmail.com Fri May 6 12:30:34 2011 From: warrenkuhl at gmail.com (Warren Kuhl) Date: Fri, 6 May 2011 11:30:34 -0500 Subject: Database Encryption Key Message-ID: I have a database encryption key that is required by my RunRev application. Currently I just have the key loaded in the opencard. It is loaded in a variable. If I password protect my stack when generating my stand alone, is this sufficient? Or this there a more secure way to store the key? Thanks, Warren From keith.clarke at clarkeandclarke.co.uk Fri May 6 12:34:03 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Fri, 6 May 2011 17:34:03 +0100 Subject: Hide group on click In-Reply-To: <4DC42163.9000802@gmail.com> References: <4DC3EAF5.4040007@gmail.com> <201105061002.52153.warren@warrensweb.us> <4DC40EB4.1070209@gmail.com> <4DC41CE4.8090902@gmail.com> <507D2117-B0B7-47B3-844D-8F0D2C9BB95F@clarkeandclarke.co.uk> <4DC42163.9000802@gmail.com> Message-ID: ...well, you never know who reads the use list. At least this thread has provided clarity on how to set the visible of me to true - just in case! ;-) On 6 May 2011, at 17:27, Richmond Mathewson wrote: > On 05/06/2011 07:13 PM, Keith Clarke wrote: >> ...ah, now I know who wrote the wikipedia page that I was quoting http://en.wikipedia.org/wiki/Vis ;-) > > Well all that proves is how, down here in provincial Plovdiv, I am shielded from the extremely > nasty and messy world of Bulgarian crime; this is the first time I have heard of VIS, oddly > enough. From bobs at twft.com Fri May 6 12:45:53 2011 From: bobs at twft.com (Bob Sneidar) Date: Fri, 6 May 2011 09:45:53 -0700 Subject: Database Encryption Key In-Reply-To: References: Message-ID: <1598451B-49E1-4807-AB51-76B00F0DD656@twft.com> I have read in a prior post that Livecode (actually a past version of Revolution) went to a much better encryption so you should be fine. I am not sure what happens if someone enters the wrong code multiple times a la brute force, but if anyone is that determined to hack my application (if I ever finish one) then God bless them! I am flattered! Bob On May 6, 2011, at 9:30 AM, Warren Kuhl wrote: > I have a database encryption key that is required by my RunRev application. > Currently I just have the key loaded in the opencard. It is loaded in a > variable. > > If I password protect my stack when generating my stand alone, is this > sufficient? Or this there a more secure way to store the key? > > Thanks, > 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 bvg at mac.com Fri May 6 12:46:56 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Fri, 06 May 2011 09:46:56 -0700 Subject: Finding Tips (in the documentation) In-Reply-To: References: Message-ID: <08DDE7C5-F04F-4B8E-9E14-E80E0258DC3D@mac.com> Hi The built in Docu stores xml text in a custom property of several stacks called clump_.rev. I extract those into separate xml files, and then access those with my stack. Full text search is very hard to do within those xml files, because it's all stored in rev-htmlText. But people have done it before, by rendering each entry in bvg docu, then searching the resulting field. I am working on a second version which will be storing SQLite and therefore have built in full text search. It's about 2 weeks to 3 months off (depending on available time). Probably the quicker timeframe, because bvg docu is very broken when using the data from 4.6.1, and I depend heavily on it when developing my stuff. On 5 May 2011, at 17:55, Pete wrote: > Thanks Jim. > > Bj?rnke - Help! I might even be talked into doing a Livecode presentation > of whatever I manage to cobble together! > Pete > Molly's Revenge > > On Thu, May 5, 2011 at 5:36 PM, Jim Ault wrote: > >> I believe he accesses xml files. >> >> Bj?rnke von Gierke's "BvG Docu" -- official ChatRev page: http://bjoernke.com/chatrev Chat with other RunRev developers: go stack URL "http://bjoernke.com/chatrev/chatrev1.3b3.rev" From warrenkuhl at gmail.com Fri May 6 12:50:01 2011 From: warrenkuhl at gmail.com (Warren Kuhl) Date: Fri, 6 May 2011 11:50:01 -0500 Subject: Database Encryption Key In-Reply-To: <1598451B-49E1-4807-AB51-76B00F0DD656@twft.com> References: <1598451B-49E1-4807-AB51-76B00F0DD656@twft.com> Message-ID: Bob, Thanks....I setup the software to close down after the incorrect code is entered 3 times. Appreciate your feedback! I will keep the encryption key in the variable. Warren On Fri, May 6, 2011 at 11:45 AM, Bob Sneidar wrote: > I have read in a prior post that Livecode (actually a past version of > Revolution) went to a much better encryption so you should be fine. I am not > sure what happens if someone enters the wrong code multiple times a la brute > force, but if anyone is that determined to hack my application (if I ever > finish one) then God bless them! I am flattered! > > Bob > > > On May 6, 2011, at 9:30 AM, Warren Kuhl wrote: > > > I have a database encryption key that is required by my RunRev > application. > > Currently I just have the key loaded in the opencard. It is loaded in a > > variable. > > > > If I password protect my stack when generating my stand alone, is this > > sufficient? Or this there a more secure way to store the key? > > > > Thanks, > > 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 May 6 12:58:10 2011 From: bobs at twft.com (Bob Sneidar) Date: Fri, 6 May 2011 09:58:10 -0700 Subject: Database Encryption Key In-Reply-To: References: <1598451B-49E1-4807-AB51-76B00F0DD656@twft.com> Message-ID: <34F26671-7B8F-4DB8-B4A1-381132F54C8A@twft.com> You know what I would do, is create your app, then try various disk level utilities to decompile it and see what you get. Also give it to someone else to try to decrypt. See how they fare. Using a different passcode of course! :-) Bob On May 6, 2011, at 9:50 AM, Warren Kuhl wrote: > Bob, > > Thanks....I setup the software to close down after the incorrect code is > entered 3 times. Appreciate your feedback! I will keep the encryption key > in the variable. > > Warren From bill at bluewatermaritime.com Fri May 6 13:08:24 2011 From: bill at bluewatermaritime.com (william humphrey) Date: Fri, 6 May 2011 13:08:24 -0400 Subject: Moving a rev stack to the foreground In-Reply-To: References: Message-ID: I have a livecode app with many stacks. One of the stacks has a drawer (MACOS) on the side. When you "GO" that stack it becomes active but remains in the background with the other stacks on top of it. Can anybody offer some suggestions on how to get this stack on it's drawer to be on top when you go to it? Perhaps a routine that hides all the other stacks (as a work-around). Thanks From bill at bluewatermaritime.com Fri May 6 13:13:06 2011 From: bill at bluewatermaritime.com (william humphrey) Date: Fri, 6 May 2011 13:13:06 -0400 Subject: GLXFramework [ad] SpiceKit In-Reply-To: References: <2FF0300C-370A-45B7-9031-35F5FC0EAB4C@mac.com> <5E149CC0-EFB2-4AB7-BD5E-69DA7BE7088A@mac.com> Message-ID: Looks real interesting. The brochure doesn't mention your method of earning money. I hope you have a plan for real small distribution at high per unit cost (common method for custom vertical market software) On Fri, May 6, 2011 at 1:51 AM, Andre Garzia wrote: > I've seen SpiceKit during the conference and I Like It! > > You have my [LIKE] facebook thing! > > On Thu, May 5, 2011 at 3:08 PM, Mark Talluto >wrote: > > > > > > > > > > > > > > > > On May 2, 2011, at 12:49 AM, Todd Geist wrote: > > > > > > I have just started working with it as well, and I spoke with Trevor > > about > > > it. I think that the docs are bit out of date. So I would say yes > that > > it > > > is probably likely. > > > > > > > > > However, I have managed to make some good progress with it and I am > > pretty > > > out of shape LC wise having been gone since rev 2 something. Trevor > and > > the > > > google group are very helpful. And the docs do contain lots of useful > > stuff > > > > > > > > > > Hi Todd, > > > > The work with dealing with auto-updates, customer registration, copy > > protection, microtransactions, trials, customer tracking, credit card > > processing, servers to manage all of this, and other various tidbits can > be > > a lot of work. Over the years Canela Software has created all the tools > to > > do this with an easy to use/understand API. You can pretty much develop > > your app the way you want. Drag and drop your app contents onto SpiceKit > > and it will flex around your development style and make the framework > work > > around you. > > > > We have used this technology on all of our applications with great > success. > > I will admit that the first couple of years of development on the tech > was > > rough going. Lots of users banging on it daily made it a solid. We > credit > > LiveCode and this set of tools in helping us to be the best in our > industry. > > We think others will find it beneficial as well. > > > > If you are interested, there is a basic brochure available here: > > http://www.canelasoftware.com/spicekit/SpiceKit_Brochure.pdf > > > > I would be interested in any feedback you might have on this. Please > feel > > free to write me directly at mark-at-canelasoftware.com and I would be > > more than happy to help you evaluate this service with your project. > > > > > > Best regards, > > > > Mark Talluto > > http://www.canelasoftware.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. > _______________________________________________ > use-livecode mailing list > use-livecode 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 todd at geistinteractive.com Fri May 6 13:16:12 2011 From: todd at geistinteractive.com (Todd Geist) Date: Fri, 6 May 2011 10:16:12 -0700 Subject: command line examples In-Reply-To: <3DC16B7A-A469-4E4A-A0EB-5BAEDA0C887C@m-r-d.de> References: <3DC16B7A-A469-4E4A-A0EB-5BAEDA0C887C@m-r-d.de> Message-ID: Does anybody know if the old engine allowed you to build a standalone that could be started with no UI and stay running in the background? Todd On Fri, May 6, 2011 at 8:45 AM, Matthias Rebbe 805-419-9382 From bdrunrev at gmail.com Fri May 6 13:26:23 2011 From: bdrunrev at gmail.com (Bernard Devlin) Date: Fri, 6 May 2011 18:26:23 +0100 Subject: command line examples In-Reply-To: References: <3DC16B7A-A469-4E4A-A0EB-5BAEDA0C887C@m-r-d.de> Message-ID: The old engine used to be able to execute scripts. That is, you could invoke the engine using something like this: #!/path/to/engine on startup put "hello" end startup IIRC this functionality was removed at the time that the "on-rev" product was launched. Perhaps the functionality was removed for technical reasons, perhaps for market segmentation purposes. Bernard On Fri, May 6, 2011 at 6:16 PM, Todd Geist wrote: > Does anybody know if the old engine allowed you to build a standalone that > could be started with no UI and stay running in the background? > > Todd > > On Fri, May 6, 2011 at 8:45 AM, Matthias Rebbe > Todd Geist > ------------------------------ > geist interactive > 805-419-9382 > _______________________________________________ > use-livecode mailing list > use-livecode at 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 May 6 13:38:27 2011 From: pete at mollysrevenge.com (Pete) Date: Fri, 6 May 2011 10:38:27 -0700 Subject: Finding Tips (in the documentation) In-Reply-To: <08DDE7C5-F04F-4B8E-9E14-E80E0258DC3D@mac.com> References: <08DDE7C5-F04F-4B8E-9E14-E80E0258DC3D@mac.com> Message-ID: Great, thanks for the info. I saw those clump stacks but didn't think to look in custom properties. Sounds like you might be planning to implement full text searches so I think I'll just wait for your new release. Pete Molly's Revenge 2011/5/6 Bj?rnke von Gierke > Hi > > The built in Docu stores xml text in a custom property of several stacks > called clump_.rev. I extract those into separate xml files, > and then access those with my stack. Full text search is very hard to do > within those xml files, because it's all stored in rev-htmlText. But people > have done it before, by rendering each entry in bvg docu, then searching the > resulting field. > > I am working on a second version which will be storing SQLite and therefore > have built in full text search. It's about 2 weeks to 3 months off > (depending on available time). Probably the quicker timeframe, because bvg > docu is very broken when using the data from 4.6.1, and I depend heavily on > it when developing my stuff. > > > > On 5 May 2011, at 17:55, Pete wrote: > > > Thanks Jim. > > > > Bj?rnke - Help! I might even be talked into doing a Livecode > presentation > > of whatever I manage to cobble together! > > > Pete > > Molly's Revenge > > > > On Thu, May 5, 2011 at 5:36 PM, Jim Ault wrote: > > > >> I believe he accesses xml files. > >> > >> Bj?rnke von Gierke's "BvG Docu" > > > -- > > official ChatRev page: > http://bjoernke.com/chatrev > > > Chat with other RunRev developers: > go stack URL "http://bjoernke.com/chatrev/chatrev1.3b3.rev" > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Fri May 6 13:38:09 2011 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 6 May 2011 07:38:09 -1000 Subject: Please answer my survey on Social Network Libraries for LiveCode In-Reply-To: References: Message-ID: Roger, I want android as well but it will only be possible when some sort of revBrowser or WebView is possible on LiveCode under Android. Right now there is no support for revBrowser or similar under Linux or Android, that is why both platforms are missing. Once this is implemented, then I will port everything to these architectures because I am both a linux and android user but right now I can't include them in the survey because it is impossible to implement the libraries in them due to the lack of browser functionality. cheers Andre On Fri, May 6, 2011 at 3:47 AM, Roger Eller wrote: > On Fri, May 6, 2011 at 1:35 AM, Andre Garzia wrote: > > > > Hi Folks, > > > > I am trying to sense the market for a set of Social Network Libraries for > > LiveCode. > > > > .... > > > > please, go the URL below and answer my survey there: > > > > http://fon.nu/MAK68EA > > > > .... > > > > Your answer will really help me. Please answer the survey and.... > > > > Cheers > > andre > > > > Hi Andre, > > I started to take your survey until I got to the platform choices. If > Android were among the choices, I would be interested, and am willing > to help with testing for Android. I am a huge fan of your work, and > enjoyed meeting you in San Jose. > > ~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 > -- http://www.andregarzia.com All We Do Is Code. From john at splash21.com Fri May 6 13:45:13 2011 From: john at splash21.com (John Craig) Date: Fri, 06 May 2011 18:45:13 +0100 Subject: command line examples In-Reply-To: References: <3DC16B7A-A469-4E4A-A0EB-5BAEDA0C887C@m-r-d.de> Message-ID: <4DC433A9.50309@splash21.com> I used an old engine to run a Linux server process a while ago. It required Xvfb (virtual frame buffer) to be running so the engine had a display to write to. I think that's as close as faceless as you can get with LC - I'll try and dig out the version I was using and get you some more info :) On 06/05/2011 18:16, Todd Geist wrote: > Does anybody know if the old engine allowed you to build a standalone that > could be started with no UI and stay running in the background? > > Todd > > On Fri, May 6, 2011 at 8:45 AM, Matthias Rebbe > Todd Geist > ------------------------------ > geist interactive > 805-419-9382 > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From roger.e.eller at sealedair.com Fri May 6 13:53:11 2011 From: roger.e.eller at sealedair.com (Roger Eller) Date: Fri, 6 May 2011 13:53:11 -0400 Subject: Please answer my survey on Social Network Libraries for LiveCode In-Reply-To: References: Message-ID: > On Fri, May 6, 2011 at 3:47 AM, Roger Eller wrote: > > On Fri, May 6, 2011 at 1:35 AM, Andre Garzia wrote: > > > > > > Hi Folks, > > > please, go the URL below and answer my survey there: > > > http://fon.nu/MAK68EA > > > Your answer will really help me. Please answer the survey and.... > > > > > > Cheers > > > andre > > > > > > > Hi Andre, > > > > I started to take your survey until I got to the platform choices. ?If > > Android were among the choices, I would be interested, and am willing > > to help with testing for Android. ?I am a huge fan of your work, and > > enjoyed meeting you in San Jose. > > > > ~Roger On Fri, May 6, 2011 at 1:38 PM, Andre Garzia wrote: > > Roger, > > I want android as well but it will only be possible when some sort of > revBrowser or WebView is possible on LiveCode under Android. Right now there > is no support for revBrowser or similar under Linux or Android, that is why > both platforms are missing. Once this is implemented, then I will port > everything to these architectures because I am both a linux and android user > but right now I can't include them in the survey because it is impossible to > implement the libraries in them due to the lack of browser functionality. > > cheers > Andre So we are waiting for feature alignment of iOS to Android/Linux from RunRev. Have you tried anything with Tim Bobo's WebKit Field on Android? Maybe there are possibilities available there. ~Roger From massung at gmail.com Fri May 6 14:02:24 2011 From: massung at gmail.com (Jeff Massung) Date: Fri, 6 May 2011 12:02:24 -0600 Subject: Please answer my survey on Social Network Libraries for LiveCode In-Reply-To: References: Message-ID: With regard to this library, I'd be very interested, but I'd be mostly interested in it as a method of authentication for other applications and not for Tweeting, wall posting, etc. Is that something you are planning on supporting or not really? Jeff M. From lvhdgc7 at gmail.com Fri May 6 14:04:43 2011 From: lvhdgc7 at gmail.com (tbodine) Date: Fri, 6 May 2011 11:04:43 -0700 (PDT) Subject: Can Message Box retain messages? Message-ID: <1304705083270-3503775.post@n4.nabble.com> Hi All. Can the Message Box retain messages I "put" there? Right now, it seems every new message erases the prior one, so if you have a series of puts as the program executes you can only see the latest one to fire. (I'm used to Director and Flash where "put" and "trace" messages are retained in the box, which leaves a nice trail of info for testing and debugging.) Am I missing something? Looks like the "Multiple Lines" option is only for the input, not output. Thanks, Tom Bodine -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Can-Message-Box-retain-messages-tp3503775p3503775.html Sent from the Revolution - User mailing list archive at Nabble.com. From andre at andregarzia.com Fri May 6 14:07:28 2011 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 6 May 2011 08:07:28 -1000 Subject: Please answer my survey on Social Network Libraries for LiveCode In-Reply-To: References: Message-ID: Roger, we can't use webkit field on android because there is no access to any webkit related api from LC... until the mothership provides us with a browser view, and this should come soon because it is basic under android, then, I will port the libs. cheers Andre On Fri, May 6, 2011 at 7:53 AM, Roger Eller wrote: > > On Fri, May 6, 2011 at 3:47 AM, Roger Eller wrote: > > > On Fri, May 6, 2011 at 1:35 AM, Andre Garzia wrote: > > > > > > > > Hi Folks, > > > > please, go the URL below and answer my survey there: > > > > http://fon.nu/MAK68EA > > > > Your answer will really help me. Please answer the survey and.... > > > > > > > > Cheers > > > > andre > > > > > > > > > > Hi Andre, > > > > > > I started to take your survey until I got to the platform choices. If > > > Android were among the choices, I would be interested, and am willing > > > to help with testing for Android. I am a huge fan of your work, and > > > enjoyed meeting you in San Jose. > > > > > > ~Roger > > On Fri, May 6, 2011 at 1:38 PM, Andre Garzia wrote: > > > > Roger, > > > > I want android as well but it will only be possible when some sort of > > revBrowser or WebView is possible on LiveCode under Android. Right now > there > > is no support for revBrowser or similar under Linux or Android, that is > why > > both platforms are missing. Once this is implemented, then I will port > > everything to these architectures because I am both a linux and android > user > > but right now I can't include them in the survey because it is impossible > to > > implement the libraries in them due to the lack of browser functionality. > > > > cheers > > Andre > > So we are waiting for feature alignment of iOS to Android/Linux from > RunRev. Have you tried anything with Tim Bobo's WebKit Field on > Android? Maybe there are possibilities available there. > > ~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 > -- http://www.andregarzia.com All We Do Is Code. From andre at andregarzia.com Fri May 6 14:08:48 2011 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 6 May 2011 08:08:48 -1000 Subject: Please answer my survey on Social Network Libraries for LiveCode In-Reply-To: References: Message-ID: Jeff, What kinds of authentication you want? I have OAuth2 and half of OAuth 1 but it seems that different services make different assumptions about OAuth 1. Anyway, the libs will be open source, so you can use the OAuth libs or take pieces from the other libs. Andre On Fri, May 6, 2011 at 8:02 AM, Jeff Massung wrote: > With regard to this library, I'd be very interested, but I'd be mostly > interested in it as a method of authentication for other applications and > not for Tweeting, wall posting, etc. Is that something you are planning on > supporting or not really? > > 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 > -- http://www.andregarzia.com All We Do Is Code. From m.schonewille at economy-x-talk.com Fri May 6 14:14:06 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 6 May 2011 20:14:06 +0200 Subject: Can Message Box retain messages? In-Reply-To: <1304705083270-3503775.post@n4.nabble.com> References: <1304705083270-3503775.post@n4.nabble.com> Message-ID: <3CFD0D53-0463-4E83-9AAB-A325D1D9B887@economy-x-talk.com> Tom, Type arrow-up and arrow-down. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce On 6 mei 2011, at 20:04, tbodine wrote: > Hi All. > > Can the Message Box retain messages I "put" there? Right now, it seems every > new message erases the prior one, so if you have a series of puts as the > program executes you can only see the latest one to fire. (I'm used to > Director and Flash where "put" and "trace" messages are retained in the box, > which leaves a nice trail of info for testing and debugging.) > > Am I missing something? Looks like the "Multiple Lines" option is only for > the input, not output. > > Thanks, > Tom Bodine From revdev at pdslabs.net Fri May 6 14:15:24 2011 From: revdev at pdslabs.net (Phil Davis) Date: Fri, 06 May 2011 11:15:24 -0700 Subject: Moving a rev stack to the foreground In-Reply-To: References: Message-ID: <4DC43ABC.40307@pdslabs.net> Try "toplevel" instead of "go" - that will bring the stack to the front. Phil On 5/6/11 10:08 AM, william humphrey wrote: > I have a livecode app with many stacks. One of the stacks has a drawer > (MACOS) on the side. When you "GO" that stack it becomes active but remains > in the background with the other stacks on top of it. Can anybody offer some > suggestions on how to get this stack on it's drawer to be on top when you go > to it? Perhaps a routine that hides all the other stacks (as a work-around). > > > Thanks > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net From roger.e.eller at sealedair.com Fri May 6 14:15:32 2011 From: roger.e.eller at sealedair.com (Roger Eller) Date: Fri, 6 May 2011 14:15:32 -0400 Subject: Please answer my survey on Social Network Libraries for LiveCode In-Reply-To: References: Message-ID: On Fri, May 6, 2011 at 2:07 PM, Andre Garzia wrote: > Roger, > > we can't use webkit field on android because there is no access to any > webkit related api from LC... until the mothership provides us with a > browser view, and this should come soon because it is basic under android, > then, I will port the libs. > > cheers > Andre Awesome. I will 'try' to wait patiently. :-) ~Roger From lvhdgc7 at gmail.com Fri May 6 14:27:10 2011 From: lvhdgc7 at gmail.com (tbodine) Date: Fri, 6 May 2011 11:27:10 -0700 (PDT) Subject: Can Message Box retain messages? In-Reply-To: <3CFD0D53-0463-4E83-9AAB-A325D1D9B887@economy-x-talk.com> References: <1304705083270-3503775.post@n4.nabble.com> <3CFD0D53-0463-4E83-9AAB-A325D1D9B887@economy-x-talk.com> Message-ID: <1304706430437-3503849.post@n4.nabble.com> Thanks, but no go. Arrow up or down moves the cursor to the beginning or end of the current message, but does not scroll up to any prior messages. Your LC does not behave this way? (I'm using 4.6.1) -- Tom Bodine -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Can-Message-Box-retain-messages-tp3503775p3503849.html Sent from the Revolution - User mailing list archive at Nabble.com. From form at nonsanity.com Fri May 6 14:30:19 2011 From: form at nonsanity.com (Nonsanity) Date: Fri, 6 May 2011 14:30:19 -0400 Subject: Can Message Box retain messages? In-Reply-To: <1304705083270-3503775.post@n4.nabble.com> References: <1304705083270-3503775.post@n4.nabble.com> Message-ID: You can put multiple lines in the message box, and even scroll (if you have a scroll wheel or other scroll input, since the output pane doesn't have a scrollbar). put "" into msg repeat with a = 1 to 100 put a & cr after msg end repeat The only problem is, if anything else just puts something INTO it, it erases what was there. A better solution is to put a output field on the card or even in a sub-stack, and log everything you want to keep to that. You can keep it hidden unless you want to look at it, but if you do, make sure it never gets too full and slows things down. I use many such hidden fields to track my data as it moves through an app, particularly if the data is large and not easily viewed in the debugger. ~ Chris Innanen ~ Nonsanity On Fri, May 6, 2011 at 2:04 PM, tbodine wrote: > Hi All. > > Can the Message Box retain messages I "put" there? Right now, it seems > every > new message erases the prior one, so if you have a series of puts as the > program executes you can only see the latest one to fire. (I'm used to > Director and Flash where "put" and "trace" messages are retained in the > box, > which leaves a nice trail of info for testing and debugging.) > > Am I missing something? Looks like the "Multiple Lines" option is only for > the input, not output. > > Thanks, > Tom Bodine > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/Can-Message-Box-retain-messages-tp3503775p3503775.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 form at nonsanity.com Fri May 6 14:31:37 2011 From: form at nonsanity.com (Nonsanity) Date: Fri, 6 May 2011 14:31:37 -0400 Subject: Database Encryption Key In-Reply-To: References: Message-ID: So is your question "Does a encrypted stack also encrypt all its variables in memory?" ~ Chris Innanen ~ Nonsanity On Fri, May 6, 2011 at 12:30 PM, Warren Kuhl wrote: > I have a database encryption key that is required by my RunRev application. > Currently I just have the key loaded in the opencard. It is loaded in a > variable. > > If I password protect my stack when generating my stand alone, is this > sufficient? Or this there a more secure way to store the key? > > Thanks, > 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 pete at mollysrevenge.com Fri May 6 14:32:03 2011 From: pete at mollysrevenge.com (Pete) Date: Fri, 6 May 2011 11:32:03 -0700 Subject: Can Message Box retain messages? In-Reply-To: <1304706430437-3503849.post@n4.nabble.com> References: <1304705083270-3503775.post@n4.nabble.com> <3CFD0D53-0463-4E83-9AAB-A325D1D9B887@economy-x-talk.com> <1304706430437-3503849.post@n4.nabble.com> Message-ID: Never noticed that before - the first arrow up/down does indeed move to the beginning/end of the current message but subsequent arrow up/downs do scroll the previous/next messages. That with LC 4.6 on a Mac but I think this pretty standard behavior for a long time on any platform. Pete Molly's Revenge On Fri, May 6, 2011 at 11:27 AM, tbodine wrote: > Thanks, but no go. Arrow up or down moves the cursor to the beginning or > end > of the current message, but does not scroll up to any prior messages. > > Your LC does not behave this way? (I'm using 4.6.1) > > -- Tom Bodine > > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/Can-Message-Box-retain-messages-tp3503775p3503849.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 May 6 14:32:03 2011 From: pete at mollysrevenge.com (Pete) Date: Fri, 6 May 2011 11:32:03 -0700 Subject: Can Message Box retain messages? In-Reply-To: <1304706430437-3503849.post@n4.nabble.com> References: <1304705083270-3503775.post@n4.nabble.com> <3CFD0D53-0463-4E83-9AAB-A325D1D9B887@economy-x-talk.com> <1304706430437-3503849.post@n4.nabble.com> Message-ID: Never noticed that before - the first arrow up/down does indeed move to the beginning/end of the current message but subsequent arrow up/downs do scroll the previous/next messages. That with LC 4.6 on a Mac but I think this pretty standard behavior for a long time on any platform. Pete Molly's Revenge On Fri, May 6, 2011 at 11:27 AM, tbodine wrote: > Thanks, but no go. Arrow up or down moves the cursor to the beginning or > end > of the current message, but does not scroll up to any prior messages. > > Your LC does not behave this way? (I'm using 4.6.1) > > -- Tom Bodine > > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/Can-Message-Box-retain-messages-tp3503775p3503849.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 Fri May 6 14:34:38 2011 From: bobs at twft.com (Bob Sneidar) Date: Fri, 6 May 2011 11:34:38 -0700 Subject: Can Message Box retain messages? In-Reply-To: <1304705083270-3503775.post@n4.nabble.com> References: <1304705083270-3503775.post@n4.nabble.com> Message-ID: I think there is a preference you can set somewhere to go back, but I think it only refers to the commands you issue, not the results you got. Bob On May 6, 2011, at 11:04 AM, tbodine wrote: > Hi All. > > Can the Message Box retain messages I "put" there? Right now, it seems every > new message erases the prior one, so if you have a series of puts as the > program executes you can only see the latest one to fire. (I'm used to > Director and Flash where "put" and "trace" messages are retained in the box, > which leaves a nice trail of info for testing and debugging.) > > Am I missing something? Looks like the "Multiple Lines" option is only for > the input, not output. > > Thanks, > Tom Bodine > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Can-Message-Box-retain-messages-tp3503775p3503775.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From lvhdgc7 at gmail.com Fri May 6 14:37:45 2011 From: lvhdgc7 at gmail.com (tbodine) Date: Fri, 6 May 2011 11:37:45 -0700 (PDT) Subject: Can Message Box retain messages? In-Reply-To: References: <1304705083270-3503775.post@n4.nabble.com> Message-ID: <1304707065597-3503882.post@n4.nabble.com> Great idea! Thanks guys! -- Tom Bodine -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Can-Message-Box-retain-messages-tp3503775p3503882.html Sent from the Revolution - User mailing list archive at Nabble.com. From warrenkuhl at gmail.com Fri May 6 14:38:40 2011 From: warrenkuhl at gmail.com (Warren Kuhl) Date: Fri, 6 May 2011 13:38:40 -0500 Subject: Database Encryption Key In-Reply-To: References: Message-ID: Chris, Yes...that would be a concern. I am just trying to do my best (or make it harder) for someone to hack my application and decrypt my database if the key is easily accessible. Warren On Fri, May 6, 2011 at 1:31 PM, Nonsanity
wrote: > So is your question "Does a encrypted stack also encrypt all its variables > in memory?" > > ~ Chris Innanen > ~ Nonsanity > > > On Fri, May 6, 2011 at 12:30 PM, Warren Kuhl wrote: > > > I have a database encryption key that is required by my RunRev > application. > > Currently I just have the key loaded in the opencard. It is loaded in a > > variable. > > > > If I password protect my stack when generating my stand alone, is this > > sufficient? Or this there a more secure way to store the key? > > > > Thanks, > > 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 May 6 14:48:50 2011 From: bill at bluewatermaritime.com (william humphrey) Date: Fri, 6 May 2011 14:48:50 -0400 Subject: Moving a rev stack to the foreground In-Reply-To: <4DC43ABC.40307@pdslabs.net> References: <4DC43ABC.40307@pdslabs.net> Message-ID: I tried toplevel stack stackname and that works for every stack except one which has a MacOS drawer hanging off the side. On Fri, May 6, 2011 at 2:15 PM, Phil Davis wrote: > Try "toplevel" instead of "go" - that will bring the stack to the front. > > Phil > > > > On 5/6/11 10:08 AM, william humphrey wrote: > >> I have a livecode app with many stacks. One of the stacks has a drawer >> (MACOS) on the side. When you "GO" that stack it becomes active but >> remains >> in the background with the other stacks on top of it. Can anybody offer >> some >> suggestions on how to get this stack on it's drawer to be on top when you >> go >> to it? Perhaps a routine that hides all the other stacks (as a >> work-around). >> >> >> Thanks >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> > -- > 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 > -- http://www.bluewatermaritime.com From bill at bluewatermaritime.com Fri May 6 14:50:48 2011 From: bill at bluewatermaritime.com (william humphrey) Date: Fri, 6 May 2011 14:50:48 -0400 Subject: Moving a rev stack to the foreground In-Reply-To: References: <4DC43ABC.40307@pdslabs.net> Message-ID: More experiments. It has nothing to do with the drawer stack. I have the stack by itself and it won't "toplevel" On Fri, May 6, 2011 at 2:48 PM, william humphrey wrote: > I tried toplevel stack stackname and that works for every stack except one > which has a MacOS drawer hanging off the side. > > > On Fri, May 6, 2011 at 2:15 PM, Phil Davis wrote: > >> Try "toplevel" instead of "go" - that will bring the stack to the front. >> >> Phil >> >> >> >> On 5/6/11 10:08 AM, william humphrey wrote: >> >>> I have a livecode app with many stacks. One of the stacks has a drawer >>> (MACOS) on the side. When you "GO" that stack it becomes active but >>> remains >>> in the background with the other stacks on top of it. Can anybody offer >>> some >>> suggestions on how to get this stack on it's drawer to be on top when you >>> go >>> to it? Perhaps a routine that hides all the other stacks (as a >>> work-around). >>> >>> >>> Thanks >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >> -- >> 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 >> > > > > -- > http://www.bluewatermaritime.com > -- http://www.bluewatermaritime.com From bobs at twft.com Fri May 6 14:52:19 2011 From: bobs at twft.com (Bob Sneidar) Date: Fri, 6 May 2011 11:52:19 -0700 Subject: Database Encryption Key In-Reply-To: References: Message-ID: <8FEE2CD0-BE5D-44F3-93DA-88115FDFAC10@twft.com> Hi Warren. Someone pointed out in the last thread on the subject, that at a certain point, you are going to be in the same boat as any other developer. If someone wants in and they have the will and technology to do it, there isn't much you can do to absolutely prevent it. It's my understanding that the key used to encrypt a stack or database is not kept in clear text in the stack itself (unless you put it there). In the process of getting the key from the user of course, there is that moment in time where it can be had, but how? Keyloggers? Hidden cameras? Janitor with photographic memory looking over the shoulder? Bribe or otherwise coerce someone who knows it into revealing it? The nature of the data is going to dictate how valid or absurd those methods are. So as you are doing, the best you can do is your due diligence, and after that the chips will fall where they may. As I recall, the Nazis thought enigma was uncrackable, and we know how that went. Bob On May 6, 2011, at 11:38 AM, Warren Kuhl wrote: > Chris, > > Yes...that would be a concern. I am just trying to do my best (or make it > harder) for someone to hack my application and decrypt my database if the > key is easily accessible. > > Warren From bill at bluewatermaritime.com Fri May 6 14:52:25 2011 From: bill at bluewatermaritime.com (william humphrey) Date: Fri, 6 May 2011 14:52:25 -0400 Subject: Moving a rev stack to the foreground In-Reply-To: References: <4DC43ABC.40307@pdslabs.net> Message-ID: When I change the resizeable property to be false then it behaves properly. It will then go toplevel. Weird On Fri, May 6, 2011 at 2:50 PM, william humphrey wrote: > More experiments. It has nothing to do with the drawer stack. I have the > stack by itself and it won't "toplevel" > > > On Fri, May 6, 2011 at 2:48 PM, william humphrey < > bill at bluewatermaritime.com> wrote: > >> I tried toplevel stack stackname and that works for every stack except one >> which has a MacOS drawer hanging off the side. >> >> >> On Fri, May 6, 2011 at 2:15 PM, Phil Davis wrote: >> >>> Try "toplevel" instead of "go" - that will bring the stack to the front. >>> >>> Phil >>> >>> >>> >>> On 5/6/11 10:08 AM, william humphrey wrote: >>> >>>> I have a livecode app with many stacks. One of the stacks has a drawer >>>> (MACOS) on the side. When you "GO" that stack it becomes active but >>>> remains >>>> in the background with the other stacks on top of it. Can anybody offer >>>> some >>>> suggestions on how to get this stack on it's drawer to be on top when >>>> you go >>>> to it? Perhaps a routine that hides all the other stacks (as a >>>> work-around). >>>> >>>> >>>> Thanks >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> >>>> Please visit this url to subscribe, unsubscribe and manage your >>>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>> >>>> >>> -- >>> 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 >>> >> >> >> >> -- >> http://www.bluewatermaritime.com >> > > > > -- > http://www.bluewatermaritime.com > -- http://www.bluewatermaritime.com From psahores at free.fr Fri May 6 15:14:46 2011 From: psahores at free.fr (Pierre Sahores) Date: Fri, 6 May 2011 21:14:46 +0200 Subject: POST command error In-Reply-To: <1304691709822-3503001.post@n4.nabble.com> References: <1304691709822-3503001.post@n4.nabble.com> Message-ID: Josep, Here is the way HTTP POST works fine there. > set httpHeaders to "Content-type: application/x-www-form-urlencoded" & cr > post URLEncode(yourdatas) to URL "https://www.mydomain.com/info-customer.php" > get it Best, Pierre > Hi, > > I need some help. I trying to do a post command from LC but I don't see why > don't work. > > on mouseUp > put empty into field "f_result" > > get libURLFormData("ID",38) > > post it to URL "https://www.mydomain.com/info-customer.php" > put it into field "f_result" > end mouseUp > > Ever I get Select error so the var ID never is passed. > > Thoughts? > > Salut, > Josep > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/POST-command-error-tp3503001p3503001.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 : (33) 6 03 95 77 70 www.woooooooords.com www.sahores-conseil.com From mwieder at ahsoftware.net Fri May 6 15:45:07 2011 From: mwieder at ahsoftware.net (mwieder at ahsoftware.net) Date: Fri, 06 May 2011 14:45:07 -0500 Subject: command line examples In-Reply-To: References: Message-ID: On Fri, 6 May 2011 08:10:52 -0700, Todd Geist wrote: > Is this just left over cruft? Well, the -h argument is used by the engine, so that's just wrong. However... Not only is this *not* just leftover cruft, but I have applications that *rely* on passing and parsing commandline arguments. Type livecode.x86 -h at a terminal prompt for the current list of arguments the engine will use. Any others should pass through verbatim. What I do for faceless apps is invoke a startup handler that ensures invisibility. I don't know if the -ui argument is still valid (even though it shows up in the list), as it throws an error if used by itself. on startup set the visible of this stack to false end startup -- Mark Wieder From todd at geistinteractive.com Fri May 6 16:28:14 2011 From: todd at geistinteractive.com (Todd Geist) Date: Fri, 6 May 2011 13:28:14 -0700 Subject: command line examples In-Reply-To: References: Message-ID: thanks Mark I was able to get the terminal commands to work although you need to reference the engine inside the OSX package. So I had to type the following at the terminal /Applications/LiveCode\ 4.6.app/Contents/MacOS/LiveCode -h The same also works for standalones. You have to reference the executable not the package. I tried using the -ui option and it works for the dev environment. Live code starts up and there is no ui. But it does appear in my Doc, as I expected, but don't want. I also tried with a standalone, and it launched, but it appeared to get stuck in the launch process. This maybe because I had no handlers in place to catch the on open. I will try some more tests. Todd Todd On Fri, May 6, 2011 at 12:45 PM, wrote: > On Fri, 6 May 2011 08:10:52 -0700, Todd Geist > wrote: > > Is this just left over cruft? >> > > Well, the -h argument is used by the engine, so that's just wrong. > However... > Not only is this *not* just leftover cruft, but I have applications that > *rely* on passing and parsing commandline arguments. > Type > > livecode.x86 -h > > at a terminal prompt for the current list of arguments the engine will use. > Any others should pass through verbatim. > > What I do for faceless apps is invoke a startup handler that ensures > invisibility. I don't know if the -ui argument is still valid (even though > it shows up in the list), as it throws an error if used by itself. > > on startup > set the visible of this stack to false > end startup > > -- > Mark Wieder > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > Todd Geist ------------------------------ geist interactive 805-419-9382 From jmyepes at mac.com Fri May 6 16:43:42 2011 From: jmyepes at mac.com (JosepM) Date: Fri, 6 May 2011 13:43:42 -0700 (PDT) Subject: POST command error In-Reply-To: References: <1304691709822-3503001.post@n4.nabble.com> Message-ID: <1304714622165-3504245.post@n4.nabble.com> I try this but nothing happen... on mouseUp put empty into field "resultat" set httpHeaders to "Content-type: application/x-www-form-urlencoded" & cr get libURLFormData("ID",39) post it to URL "https://delphi.nocdirect.com/~heroesqu/espais/partes2/info-customer.php" put it into field "resultat" beep end mouseUp What is wrong? Salut, Josep -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/POST-command-error-tp3503001p3504245.html Sent from the Revolution - User mailing list archive at Nabble.com. From bonnmike at gmail.com Fri May 6 17:11:07 2011 From: bonnmike at gmail.com (Mike Bonner) Date: Fri, 6 May 2011 15:11:07 -0600 Subject: POST command error In-Reply-To: <1304714622165-3504245.post@n4.nabble.com> References: <1304691709822-3503001.post@n4.nabble.com> <1304714622165-3504245.post@n4.nabble.com> Message-ID: Are you sure its set up to use post data? Works fine with http get instead. * * *on mouseUp* * put empty into field "resultat"* * * * * * set httpHeaders to "Content-type: application/x-www-form-urlencoded" & cr* * get libURLFormData("ID",39)* * put URL merge(" https://delphi.nocdirect.com/~heroesqu/espais/partes2/info-customer.php?[[it]]") into field resultat* * beep* *end mouseUp* On Fri, May 6, 2011 at 2:43 PM, JosepM wrote: > I try this but nothing happen... > > > on mouseUp > put empty into field "resultat" > > > set httpHeaders to "Content-type: application/x-www-form-urlencoded" & cr > get libURLFormData("ID",39) > post it to URL > "https://delphi.nocdirect.com/~heroesqu/espais/partes2/info-customer.php" > > put it into field "resultat" > beep > end mouseUp > > What is wrong? > > Salut, > Josep > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/POST-command-error-tp3503001p3504245.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 mwieder at ahsoftware.net Fri May 6 17:14:00 2011 From: mwieder at ahsoftware.net (mwieder at ahsoftware.net) Date: Fri, 06 May 2011 16:14:00 -0500 Subject: command line examples In-Reply-To: References: Message-ID: On Fri, 6 May 2011 13:28:14 -0700, Todd Geist wrote: > thanks Mark > > I was able to get the terminal commands to work although you need to > reference the engine inside the OSX package. So I had to type the > following > at the terminal > > /Applications/LiveCode\ 4.6.app/Contents/MacOS/LiveCode -h ...ah ...of course. I'm sitting here in front of Fedora Core, where it's much more straightforward. cd /opt/runrev/livecode-4.6.0 sudo su ./livecode.x86 -h From jacque at hyperactivesw.com Fri May 6 17:14:11 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 06 May 2011 16:14:11 -0500 Subject: Can Message Box retain messages? In-Reply-To: <1304706430437-3503849.post@n4.nabble.com> References: <1304705083270-3503775.post@n4.nabble.com> <3CFD0D53-0463-4E83-9AAB-A325D1D9B887@economy-x-talk.com> <1304706430437-3503849.post@n4.nabble.com> Message-ID: <4DC464A3.5070504@hyperactivesw.com> On 5/6/11 1:27 PM, tbodine wrote: > Thanks, but no go. Arrow up or down moves the cursor to the beginning or end > of the current message, but does not scroll up to any prior messages. > > Your LC does not behave this way? (I'm using 4.6.1) The engine has always used the arrow keys to move up and down through the message box history. Do you have a frontscript or something else that is trapping the arrow key messages? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From andre at andregarzia.com Fri May 6 17:29:13 2011 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 6 May 2011 11:29:13 -1000 Subject: Please answer my survey on Social Network Libraries for LiveCode In-Reply-To: References: Message-ID: Folks, Don't forget to answer the survey at http://fon.nu/MAK68EA :-D On Fri, May 6, 2011 at 8:15 AM, Roger Eller wrote: > On Fri, May 6, 2011 at 2:07 PM, Andre Garzia wrote: > > Roger, > > > > we can't use webkit field on android because there is no access to any > > webkit related api from LC... until the mothership provides us with a > > browser view, and this should come soon because it is basic under > android, > > then, I will port the libs. > > > > cheers > > Andre > > Awesome. I will 'try' to wait patiently. :-) > > ~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 > -- http://www.andregarzia.com All We Do Is Code. From jmyepes at mac.com Fri May 6 17:56:55 2011 From: jmyepes at mac.com (JosepM) Date: Fri, 6 May 2011 14:56:55 -0700 (PDT) Subject: POST command error In-Reply-To: References: <1304691709822-3503001.post@n4.nabble.com> <1304714622165-3504245.post@n4.nabble.com> Message-ID: <1304719015247-3504446.post@n4.nabble.com> Hi, Yes, yes, I use POST... but I go to the check the PHP script... Salut, Josep -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/POST-command-error-tp3503001p3504446.html Sent from the Revolution - User mailing list archive at Nabble.com. From jmyepes at mac.com Fri May 6 18:06:24 2011 From: jmyepes at mac.com (JosepM) Date: Fri, 6 May 2011 15:06:24 -0700 (PDT) Subject: POST command error In-Reply-To: <1304719015247-3504446.post@n4.nabble.com> References: <1304691709822-3503001.post@n4.nabble.com> <1304714622165-3504245.post@n4.nabble.com> <1304719015247-3504446.post@n4.nabble.com> Message-ID: <1304719584945-3504451.post@n4.nabble.com> I get this error... error -Error with certificate at depth: 4 issuer = /C=SE/O=AddTrust AB/OU=AddTrust External TTP Network/CN=AddTrust External CA Root subject = /C=SE/O=AddTrust AB/OU=AddTrust External TTP Network/CN=AddTrust External CA Root err 19:self signed certificate in certificate chain I don't have idea, but I guess that is related with the https, isn't? Sometimes work and sometimes doesn't. From the browser ever work. Thoughts? Salut, Josep -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/POST-command-error-tp3503001p3504451.html Sent from the Revolution - User mailing list archive at Nabble.com. From bonnmike at gmail.com Fri May 6 19:04:08 2011 From: bonnmike at gmail.com (Mike Bonner) Date: Fri, 6 May 2011 17:04:08 -0600 Subject: POST command error In-Reply-To: <1304719584945-3504451.post@n4.nabble.com> References: <1304691709822-3503001.post@n4.nabble.com> <1304714622165-3504245.post@n4.nabble.com> <1304719015247-3504446.post@n4.nabble.com> <1304719584945-3504451.post@n4.nabble.com> Message-ID: Oh, far beyond me then, hopefully someone will be able to point you the right direction. On Fri, May 6, 2011 at 4:06 PM, JosepM wrote: > I get this error... > > error -Error with certificate at depth: 4 issuer = /C=SE/O=AddTrust > AB/OU=AddTrust External TTP Network/CN=AddTrust External CA Root subject > = > /C=SE/O=AddTrust AB/OU=AddTrust External TTP Network/CN=AddTrust External > CA > Root err 19:self signed certificate in certificate chain > > I don't have idea, but I guess that is related with the https, isn't? > > Sometimes work and sometimes doesn't. From the browser ever work. > > Thoughts? > > > Salut, > Josep > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/POST-command-error-tp3503001p3504451.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 Fri May 6 19:46:48 2011 From: bobs at twft.com (Bob Sneidar) Date: Fri, 6 May 2011 16:46:48 -0700 Subject: POST command error In-Reply-To: References: <1304691709822-3503001.post@n4.nabble.com> <1304714622165-3504245.post@n4.nabble.com> <1304719015247-3504446.post@n4.nabble.com> <1304719584945-3504451.post@n4.nabble.com> Message-ID: <3C97DFF4-E949-4BB1-AF97-8B72B7918747@twft.com> Hmmm... a self signed certificate? Shouldn't be the case unless this is your server and you created one yourself. You can try deleting the local certificate and try again. On a Mac you do that in your keychain. On a PC, I don't know where you would do that. Easy to find out though. Google it. Bob On May 6, 2011, at 4:04 PM, Mike Bonner wrote: > Oh, far beyond me then, hopefully someone will be able to point you the > right direction. > > On Fri, May 6, 2011 at 4:06 PM, JosepM wrote: > >> I get this error... >> >> error -Error with certificate at depth: 4 issuer = /C=SE/O=AddTrust >> AB/OU=AddTrust External TTP Network/CN=AddTrust External CA Root subject >> = >> /C=SE/O=AddTrust AB/OU=AddTrust External TTP Network/CN=AddTrust External >> CA >> Root err 19:self signed certificate in certificate chain >> >> I don't have idea, but I guess that is related with the https, isn't? >> >> Sometimes work and sometimes doesn't. From the browser ever work. >> >> Thoughts? >> >> >> Salut, >> Josep >> >> -- >> View this message in context: >> http://runtime-revolution.278305.n4.nabble.com/POST-command-error-tp3503001p3504451.html >> Sent from the Revolution - User mailing list archive at Nabble.com. >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From kray at sonsothunder.com Fri May 6 20:16:41 2011 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 06 May 2011 19:16:41 -0500 Subject: alternative to mousecolor to get a color from loc? In-Reply-To: Message-ID: > I didn't read your post very closely... you wanyed it as a function You should probably also put the cursor back where it was before you're done: function pixelColor x,y put the screenMouseLoc into tOldLoc put the topLeft of this stack into theLoc set the screenMouseLoc to (item 1 of theLoc + x,item 2 of theLoc + y) put the mouseColor into tVal set the screenMouseLoc to tOldLoc return tVal end pixelColor Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From lvhdgc7 at gmail.com Fri May 6 20:27:40 2011 From: lvhdgc7 at gmail.com (tbodine) Date: Fri, 6 May 2011 17:27:40 -0700 (PDT) Subject: Can Message Box retain messages? In-Reply-To: <4DC464A3.5070504@hyperactivesw.com> References: <1304705083270-3503775.post@n4.nabble.com> <3CFD0D53-0463-4E83-9AAB-A325D1D9B887@economy-x-talk.com> <1304706430437-3503849.post@n4.nabble.com> <4DC464A3.5070504@hyperactivesw.com> Message-ID: <1304728060268-3504625.post@n4.nabble.com> Hi, Don't believe I have any frontscript gobbling up the arrow keys. I re-opened LiveCode to a different stack with no key coding at all, and it also behaves the same way. (Up/down arrows jump left/right over the line in the message box output, but do not scroll the box's output history as I'd hoped.) No matter. On advice from Chris, I rolled my own Log substack as a palette and now send things to a handler that puts them into a field there. Works like a charm. Thanks, Tom Bodine -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Can-Message-Box-retain-messages-tp3503775p3504625.html Sent from the Revolution - User mailing list archive at Nabble.com. From kray at sonsothunder.com Fri May 6 20:28:41 2011 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 06 May 2011 19:28:41 -0500 Subject: Saving Image Data to Local File In-Reply-To: Message-ID: > I am displaying a static map from Google in an image object. How do I save a > copy of this map to a local PNG file so I can display it again without access > to the Internet? Here you go: put img 1 into url ("file:/path/to/my/file.png") or put the text of img 1 into url ("file:/path/to/my/file.png") Either one works (since "the text" is implied in the first example). Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From revdev at pdslabs.net Fri May 6 20:59:10 2011 From: revdev at pdslabs.net (Phil Davis) Date: Fri, 06 May 2011 17:59:10 -0700 Subject: Saving Image Data to Local File In-Reply-To: References: Message-ID: <4DC4995E.7010501@pdslabs.net> That should be "binfile:" instead of "file:", right? Phil On 5/6/11 5:28 PM, Ken Ray wrote: >> I am displaying a static map from Google in an image object. How do I save a >> copy of this map to a local PNG file so I can display it again without access >> to the Internet? > Here you go: > > put img 1 into url ("file:/path/to/my/file.png") > > or > > put the text of img 1 into url ("file:/path/to/my/file.png") > > Either one works (since "the text" is implied in the first example). > > > 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 > -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net From kray at sonsothunder.com Fri May 6 21:54:19 2011 From: kray at sonsothunder.com (Ken Ray) Date: Fri, 06 May 2011 20:54:19 -0500 Subject: Saving Image Data to Local File In-Reply-To: <4DC4995E.7010501@pdslabs.net> Message-ID: Whoops! You're right... "binfile:" it is... Ken On 5/6/11 7:59 PM, "Phil Davis" wrote: > That should be "binfile:" instead of "file:", right? > > Phil > > > On 5/6/11 5:28 PM, Ken Ray wrote: >>> I am displaying a static map from Google in an image object. How do I save >>> a >>> copy of this map to a local PNG file so I can display it again without >>> access >>> to the Internet? >> Here you go: >> >> put img 1 into url ("file:/path/to/my/file.png") >> >> or >> >> put the text of img 1 into url ("file:/path/to/my/file.png") >> >> Either one works (since "the text" is implied in the first example). >> >> >> 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 >> Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From jimaultwins at yahoo.com Fri May 6 22:13:39 2011 From: jimaultwins at yahoo.com (Jim Ault) Date: Fri, 6 May 2011 19:13:39 -0700 Subject: command line examples In-Reply-To: References: Message-ID: <60728403-60E6-469C-8751-616827D724B2@yahoo.com> On May 6, 2011, at 8:10 AM, Todd Geist wrote: > The current user guide does have the following section on page 146 > > *Command-line argument variables* > > If you start up the application from a command line, the command > name is > stored in the variable $0 and any arguments passed on the command > line are > stored in numbered variables starting with the *$ *character. > > For example, if you start the application by typing the following > shell > command: > > myrevapp -h name then the variable $0 contains "myrevapp" (the name > of the > application), $1 contains > > "-h", and $2 contains "name". > > *Note: *Command-line argument variables behave like global variables > and can > be used > > in any handler. However, you do not need to use the *global *command > to > declare them > before using them. > > Is this just left over cruft? Go to the message box stack, click on the 4th symbol from the left ( looks like the Earth, and the flyover should say "Global Variables" ) and you will see a listing, most of which will be $-types. Also these are viewable in the Variable Watcher(old versions of Rev)or the Script Editor under the tab "Variables" at any time. Perhaps this will help you make sense of the docs. i don't know enough about shell, etc to help you. If you declare a global in any script, it should appear in this list. Relaunching Rev/Livecode will purge these. Hope this helps. Jim Ault Las Vegas From bobs at twft.com Fri May 6 22:53:07 2011 From: bobs at twft.com (Bob Sneidar) Date: Fri, 6 May 2011 19:53:07 -0700 Subject: Can Message Box retain messages? In-Reply-To: <1304728060268-3504625.post@n4.nabble.com> References: <1304705083270-3503775.post@n4.nabble.com> <3CFD0D53-0463-4E83-9AAB-A325D1D9B887@economy-x-talk.com> <1304706430437-3503849.post@n4.nabble.com> <4DC464A3.5070504@hyperactivesw.com> <1304728060268-3504625.post@n4.nabble.com> Message-ID: Ooooh. Share. Bob Sent from my iPad On May 6, 2011, at 5:27 PM, tbodine wrote: > No matter. On advice from Chris, I rolled my own Log substack as a palette > and now send things to a handler that puts them into a field there. Works > like a charm. > > Thanks, > Tom Bodine From davidocoker at gmail.com Fri May 6 23:44:00 2011 From: davidocoker at gmail.com (David C.) Date: Fri, 6 May 2011 22:44:00 -0500 Subject: command line examples In-Reply-To: References: <3DC16B7A-A469-4E4A-A0EB-5BAEDA0C887C@m-r-d.de> Message-ID: Best I can tell, Todd just wants to be able to launch a LC executable on the Mac, but with it running as a hidden or background process, without an icon showing up in the Dock. Is that correct Todd? On Windows, this really simple sample code seems to do the job: on preOpenStack set the hideConsoleWindows to true -- this works on windows -- open process me -- this also seems to work on windows set the vis of me to false wait for 10 seconds set the vis of me to true -- bring the GUI back where it can be ended end preOpenStack So far, I've been unable to do the same on Mac OS X, assuming that I'm trying to solve the correct problem of course. ;-) Best regards, David C. From jacque at hyperactivesw.com Fri May 6 23:57:56 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 06 May 2011 22:57:56 -0500 Subject: Can Message Box retain messages? In-Reply-To: <1304728060268-3504625.post@n4.nabble.com> References: <1304705083270-3503775.post@n4.nabble.com> <3CFD0D53-0463-4E83-9AAB-A325D1D9B887@economy-x-talk.com> <1304706430437-3503849.post@n4.nabble.com> <4DC464A3.5070504@hyperactivesw.com> <1304728060268-3504625.post@n4.nabble.com> Message-ID: <4DC4C344.9010207@hyperactivesw.com> On 5/6/11 7:27 PM, tbodine wrote: > Hi, > > Don't believe I have any frontscript gobbling up the arrow keys. I re-opened > LiveCode to a different stack with no key coding at all, and it also behaves > the same way. (Up/down arrows jump left/right over the line in the message > box output, but do not scroll the box's output history as I'd hoped.) > > No matter. On advice from Chris, I rolled my own Log substack as a palette > and now send things to a handler that puts them into a field there. Works > like a charm. I'm curious why it isn't working though. Could you type into the message box: edit script of the mousecontrol Then place the mouse over the message box input field and hit the return key. The script of the message box field should open. The fourth handler from the top is this: on arrowKey which if which is "up" then revPrevLine if which is "down" then revNextLine pass arrowKey end arrowKey Is that enabled? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From warren at warrensweb.us Sat May 7 00:11:05 2011 From: warren at warrensweb.us (Warren Samples) Date: Fri, 6 May 2011 23:11:05 -0500 Subject: command line examples In-Reply-To: References: Message-ID: <201105062311.05753.warren@warrensweb.us> On Friday, May 06, 2011 03:28:14 PM Todd Geist wrote: > But it does appear in my Dock, as I > expected, but don't want. I believe this can be avoided by setting a key value in the .plist file inside the app bundle. I think you'll find this info with a google search. Good luck! Warren From jacque at hyperactivesw.com Sat May 7 00:11:56 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 06 May 2011 23:11:56 -0500 Subject: command line examples In-Reply-To: References: <3DC16B7A-A469-4E4A-A0EB-5BAEDA0C887C@m-r-d.de> Message-ID: <4DC4C68C.5070606@hyperactivesw.com> On 5/6/11 10:44 PM, David C. wrote: > Best I can tell, Todd just wants to be able to launch a LC executable > on the Mac, but with it running as a hidden or background process, > without an icon showing up in the Dock. Is that correct Todd? > > On Windows, this really simple sample code seems to do the job: > > on preOpenStack > set the hideConsoleWindows to true -- this works on windows > -- open process me -- this also seems to work on windows > set the vis of me to false > wait for 10 seconds > set the vis of me to true -- bring the GUI back where it can be ended > end preOpenStack > > So far, I've been unable to do the same on Mac OS X, assuming that I'm > trying to solve the correct problem of course. ;-) The hideConsoleWindows command is Windows-only and ignored on Mac. To remove the dock icon, you need to edit the plist inside the app bundle: -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From psahores at free.fr Sat May 7 01:05:16 2011 From: psahores at free.fr (Pierre Sahores) Date: Sat, 7 May 2011 07:05:16 +0200 Subject: POST command error In-Reply-To: <3C97DFF4-E949-4BB1-AF97-8B72B7918747@twft.com> References: <1304691709822-3503001.post@n4.nabble.com> <1304714622165-3504245.post@n4.nabble.com> <1304719015247-3504446.post@n4.nabble.com> <1304719584945-3504451.post@n4.nabble.com> <3C97DFF4-E949-4BB1-AF97-8B72B7918747@twft.com> Message-ID: Should't this discussion help : ? Le 7 mai 2011 ? 01:46, Bob Sneidar a ?crit : > Hmmm... a self signed certificate? Shouldn't be the case unless this is your server and you created one yourself. You can try deleting the local certificate and try again. On a Mac you do that in your keychain. On a PC, I don't know where you would do that. Easy to find out though. Google it. > > Bob > > > On May 6, 2011, at 4:04 PM, Mike Bonner wrote: > >> Oh, far beyond me then, hopefully someone will be able to point you the >> right direction. >> >> On Fri, May 6, 2011 at 4:06 PM, JosepM wrote: >> >>> I get this error... >>> >>> error -Error with certificate at depth: 4 issuer = /C=SE/O=AddTrust >>> AB/OU=AddTrust External TTP Network/CN=AddTrust External CA Root subject >>> = >>> /C=SE/O=AddTrust AB/OU=AddTrust External TTP Network/CN=AddTrust External >>> CA >>> Root err 19:self signed certificate in certificate chain >>> >>> I don't have idea, but I guess that is related with the https, isn't? >>> >>> Sometimes work and sometimes doesn't. From the browser ever work. >>> >>> Thoughts? >>> >>> >>> Salut, >>> Josep >>> >>> -- >>> View this message in context: >>> http://runtime-revolution.278305.n4.nabble.com/POST-command-error-tp3503001p3504451.html >>> Sent from the Revolution - User mailing list archive at Nabble.com. >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 tsj at unimelb.edu.au Sat May 7 01:52:11 2011 From: tsj at unimelb.edu.au (Terry Judd) Date: Sat, 7 May 2011 15:52:11 +1000 Subject: command line examples In-Reply-To: <201105062311.05753.warren@warrensweb.us> Message-ID: Just add this key and string to the pList file... LSUIElement 1 I'm not sure if it matters where in the pList file you put this but I always put it immediately before the LSGetAppDiedEvents key. If you want more info then head over to Ken's website... http://www.sonsothunder.com/devres/livecode/livecode.htm I use this approach all the time with software agents I have installed on Macs in our computer laboratories (we use applescripts to launch them on system startup). Terry... On 07/05/2011 02:11 PM, "Warren Samples" wrote: > On Friday, May 06, 2011 03:28:14 PM Todd Geist wrote: >> But it does appear in my Dock, as I >> expected, but don't want. > > I believe this can be avoided by setting a key value in the .plist file inside > the app bundle. I think you'll > find this info with a google search. > > Good luck! > > 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 > -- Dr Terry Judd | Senior Lecturer in Medical Education Medical Education Unit Melbourne Medical School The University of Melbourne From jmyepes at mac.com Sat May 7 02:02:40 2011 From: jmyepes at mac.com (JosepM) Date: Fri, 6 May 2011 23:02:40 -0700 (PDT) Subject: POST command error In-Reply-To: <3C97DFF4-E949-4BB1-AF97-8B72B7918747@twft.com> References: <1304691709822-3503001.post@n4.nabble.com> <1304714622165-3504245.post@n4.nabble.com> <1304719015247-3504446.post@n4.nabble.com> <1304719584945-3504451.post@n4.nabble.com> <3C97DFF4-E949-4BB1-AF97-8B72B7918747@twft.com> Message-ID: <1304748160170-3505090.post@n4.nabble.com> Hi, In my keychain I don't found the certificate. Must be there? About the post with a solution, the SSL Certificated that I use is a shared certificate, I can't not open it. Salut, Josep -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/POST-command-error-tp3503001p3505090.html Sent from the Revolution - User mailing list archive at Nabble.com. From tsj at unimelb.edu.au Sat May 7 02:17:32 2011 From: tsj at unimelb.edu.au (Terry Judd) Date: Sat, 7 May 2011 16:17:32 +1000 Subject: POST command error In-Reply-To: <1304748160170-3505090.post@n4.nabble.com> Message-ID: These issues with SSL/HTTPS and certificates keep coming up and never seem to be adequately resolved. I really think the Rev team should put together a series of lessons and/or sample stacks around these issues. I'm sure I'm not the only one who has wasted a fair amount of time trying to get this stuff to work (admittedly this area isn't my strong suit). Regards, Terry... On 07/05/2011 04:02 PM, "JosepM" wrote: > Hi, > > In my keychain I don't found the certificate. Must be there? > > About the post with a solution, the SSL Certificated that I use is a shared > certificate, I can't not open it. > > Salut, > Josep > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/POST-command-error-tp3503001p35 > 05090.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 > -- Dr Terry Judd | Senior Lecturer in Medical Education Medical Education Unit Melbourne Medical School The University of Melbourne From psahores at free.fr Sat May 7 02:38:33 2011 From: psahores at free.fr (Pierre Sahores) Date: Sat, 7 May 2011 08:38:33 +0200 Subject: POST command error In-Reply-To: References: Message-ID: <6B2AFD69-E4FA-428D-9B8E-0D641DFEF606@free.fr> Add my vote to this clearly important request... > These issues with SSL/HTTPS and certificates keep coming up and never seem > to be adequately resolved. I really think the Rev team should put together a > series of lessons and/or sample stacks around these issues. I'm sure I'm not > the only one who has wasted a fair amount of time trying to get this stuff > to work (admittedly this area isn't my strong suit). > > Regards, > > Terry... > > > On 07/05/2011 04:02 PM, "JosepM" wrote: > >> Hi, >> >> In my keychain I don't found the certificate. Must be there? >> >> About the post with a solution, the SSL Certificated that I use is a shared >> certificate, I can't not open it. >> >> Salut, >> Josep >> >> -- >> View this message in context: >> http://runtime-revolution.278305.n4.nabble.com/POST-command-error-tp3503001p35 >> 05090.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 >> > > -- > Dr Terry Judd | Senior Lecturer in Medical Education > Medical Education Unit > Melbourne Medical School > The University of Melbourne > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Pierre Sahores mobile : (33) 6 03 95 77 70 www.woooooooords.com www.sahores-conseil.com From jmyepes at mac.com Sat May 7 02:42:25 2011 From: jmyepes at mac.com (JosepM) Date: Fri, 6 May 2011 23:42:25 -0700 (PDT) Subject: POST command error In-Reply-To: <6B2AFD69-E4FA-428D-9B8E-0D641DFEF606@free.fr> References: <1304714622165-3504245.post@n4.nabble.com> <1304719015247-3504446.post@n4.nabble.com> <1304719584945-3504451.post@n4.nabble.com> <3C97DFF4-E949-4BB1-AF97-8B72B7918747@twft.com> <1304748160170-3505090.post@n4.nabble.com> <6B2AFD69-E4FA-428D-9B8E-0D641DFEF606@free.fr> Message-ID: <1304750545933-3505122.post@n4.nabble.com> Hi, By the moment I must left the libURLSetSSLVerification to false... Maybe I need my own certificate, isn't? Salut, Josep -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/POST-command-error-tp3503001p3505122.html Sent from the Revolution - User mailing list archive at Nabble.com. From bvlahos at mac.com Sat May 7 03:09:49 2011 From: bvlahos at mac.com (Bill Vlahos) Date: Sat, 07 May 2011 00:09:49 -0700 Subject: Staying on a field In-Reply-To: <1E99304C-FF37-4B48-9FD0-826A0B043571@gmail.com> References: <1E99304C-FF37-4B48-9FD0-826A0B043571@gmail.com> Message-ID: Nope. They do more or less the same thing. Bill Vlahos _________________ InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. On May 6, 2011, at 8:33 AM, Peter Brigham MD wrote: > Is there some reason you use "focus on me" as opposed to "select text of me" ? From tsj at unimelb.edu.au Sat May 7 03:29:51 2011 From: tsj at unimelb.edu.au (Terry Judd) Date: Sat, 7 May 2011 17:29:51 +1000 Subject: POST command error In-Reply-To: <1304750545933-3505122.post@n4.nabble.com> References: <1304714622165-3504245.post@n4.nabble.com> <1304719015247-3504446.post@n4.nabble.com> <1304719584945-3504451.post@n4.nabble.com> <3C97DFF4-E949-4BB1-AF97-8B72B7918747@twft.com> <1304748160170-3505090.post@n4.nabble.com> <6B2AFD69-E4FA-428D-9B8E-0D641DFEF606@free.fr> <1304750545933-3505122.post@n4.nabble.com> Message-ID: On 07/05/2011, at 4:44 PM, "JosepM" wrote: > Hi, > > By the moment I must left the libURLSetSSLVerification to false... That's what I ended up doing. Terry... > > Maybe I need my own certificate, isn't? > > > Salut, > Josep > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/POST-command-error-tp3503001p3505122.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 paul at whitefeather.com Sat May 7 04:59:57 2011 From: paul at whitefeather.com (paul foraker) Date: Sat, 7 May 2011 01:59:57 -0700 Subject: Cannot use Message Box Message-ID: Ever since I installed version 4.6.1, the Message Box no longer responds to Return or Enter. I can type in it (both single and multi-line) but cannot execute anything. Weirdly, this also happens now with previous versions. I have made no changes to a utility stack I keep in the back, and this occurs with any stack I open. I tried searching for returnKey in all stacks. Nada. Anyone got a suggestion as to what to try next? -- Paul From jmyepes at mac.com Sat May 7 08:25:39 2011 From: jmyepes at mac.com (JosepM) Date: Sat, 7 May 2011 05:25:39 -0700 (PDT) Subject: POST command error In-Reply-To: References: <1304719015247-3504446.post@n4.nabble.com> <1304719584945-3504451.post@n4.nabble.com> <3C97DFF4-E949-4BB1-AF97-8B72B7918747@twft.com> <1304748160170-3505090.post@n4.nabble.com> <6B2AFD69-E4FA-428D-9B8E-0D641DFEF606@free.fr> <1304750545933-3505122.post@n4.nabble.com> Message-ID: <1304771139552-3505400.post@n4.nabble.com> Hi, But the comunication is secure, isn't? The only think is that I can't check if the SSL Certificate is valid, isn't? Salut, Josep -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/POST-command-error-tp3503001p3505400.html Sent from the Revolution - User mailing list archive at Nabble.com. From mcgrath3 at mac.com Sat May 7 08:41:02 2011 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Sat, 07 May 2011 08:41:02 -0400 Subject: Cannot use Message Box In-Reply-To: References: Message-ID: <3986AAFD-616C-4FF6-AB59-208511A9176C@mac.com> This might not help, but the multi line message box uses the enter key and not the return key. Try turning on "Livecode UI elements in Lists" and then search through those stacks. -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On May 7, 2011, at 4:59 AM, paul foraker wrote: > Ever since I installed version 4.6.1, the Message Box no longer responds to > Return or Enter. I can type in it (both single and multi-line) but cannot > execute anything. Weirdly, this also happens now with previous versions. > > I have made no changes to a utility stack I keep in the back, and this > occurs with any stack I open. I tried searching for returnKey in all > stacks. Nada. > > Anyone got a suggestion as to what to try next? > > -- Paul > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From baccheschi at tin.it Sat May 7 09:16:27 2011 From: baccheschi at tin.it (baccheschi at tin.it) Date: Sat, 7 May 2011 15:16:27 +0200 (CEST) Subject: perhapse.. Message-ID: <12fca9a1a94.baccheschi@tin.it> Perhapse.. Has it been a nonsense to ask if it could be possible to perform ON THE WEB a "resizeStack" ? Pehapse someone knows something about? many thanks mario From dunbarx at aol.com Sat May 7 11:14:02 2011 From: dunbarx at aol.com (dunbarx at aol.com) Date: Sat, 07 May 2011 11:14:02 -0400 Subject: Cannot use Message Box In-Reply-To: <3986AAFD-616C-4FF6-AB59-208511A9176C@mac.com> References: <3986AAFD-616C-4FF6-AB59-208511A9176C@mac.com> Message-ID: <8CDDAE088858617-125C-3A89B@TSTMAIL-D07.sysops.aol.com> This happened to me a few months ago, though it went away. It resolves itself if, when you first open the msg box, you click in the lower field and hit return. From then on all is well. A thread I started at that time was inconclusive, some not knowing what I was talking about, some having seen the behavior now and then. I saw this in v.4.0 through 4.5. Never in 3.x. I thought it was something in the 4x build. That it "went away" is odd, but gratifying. Craig Newman -----Original Message----- From: Thomas McGrath III To: How to use LiveCode Sent: Sat, May 7, 2011 8:41 am Subject: Re: Cannot use Message Box This might not help, but the multi line message box uses the enter key and not the return key. Try turning on "Livecode UI elements in Lists" and then search through those stacks. -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On May 7, 2011, at 4:59 AM, paul foraker wrote: > Ever since I installed version 4.6.1, the Message Box no longer responds to > Return or Enter. I can type in it (both single and multi-line) but cannot > execute anything. Weirdly, this also happens now with previous versions. > > I have made no changes to a utility stack I keep in the back, and this > occurs with any stack I open. I tried searching for returnKey in all > stacks. Nada. > > Anyone got a suggestion as to what to try next? > > -- Paul > _______________________________________________ > use-livecode mailing list > use-livecode 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 lvhdgc7 at gmail.com Sat May 7 11:46:57 2011 From: lvhdgc7 at gmail.com (tbodine) Date: Sat, 7 May 2011 08:46:57 -0700 (PDT) Subject: Can Message Box retain messages? In-Reply-To: <4DC4C344.9010207@hyperactivesw.com> References: <1304705083270-3503775.post@n4.nabble.com> <3CFD0D53-0463-4E83-9AAB-A325D1D9B887@economy-x-talk.com> <1304706430437-3503849.post@n4.nabble.com> <4DC464A3.5070504@hyperactivesw.com> <1304728060268-3504625.post@n4.nabble.com> <4DC4C344.9010207@hyperactivesw.com> Message-ID: <1304783217031-3505723.post@n4.nabble.com> Hi Jacqueline. Yes, following your instructions does bring up that script. But no change to the behavior of the message box history. If it matters, I'm on Windows XP, LC 4.6.1. I bought the Omegabundle recently so I have all kinds of externals and libraries from that installed. Perhaps one of those is making the msg box perform in an offbeat way. But since I have a workaround in place, I'm going to press ahead and not worry about the Message Box. Thanks for your attention to the matter. -- Tom Bodine -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Can-Message-Box-retain-messages-tp3503775p3505723.html Sent from the Revolution - User mailing list archive at Nabble.com. From lvhdgc7 at gmail.com Sat May 7 12:23:49 2011 From: lvhdgc7 at gmail.com (tbodine) Date: Sat, 7 May 2011 09:23:49 -0700 (PDT) Subject: Can Message Box retain messages? In-Reply-To: References: <1304705083270-3503775.post@n4.nabble.com> <3CFD0D53-0463-4E83-9AAB-A325D1D9B887@economy-x-talk.com> <1304706430437-3503849.post@n4.nabble.com> <4DC464A3.5070504@hyperactivesw.com> <1304728060268-3504625.post@n4.nabble.com> Message-ID: <1304785429947-3505810.post@n4.nabble.com> > No matter. On advice from Chris, I rolled my own Log substack as a palette > and now send things to a handler that puts them into a field there. Works > like a charm. >>Ooooh. Share. OK, Bob. Here goes... Be advised I'm a LiveCode newbie so everyone feel free to turn this into a lesson on what I should have done different. Steps to make a Log substack (Message box output alternative) 1) Make a new substack named "Log" containing a card named "Log" containing a scrollable field named "Log" Stretch the field to fill the card. 2) Configure those as you wish. (Mine has the stack set as a palette window, the "Log" field's autoHilite OFF and line wrap enabled.) 3) In the mainStack of my project, I put this script: on log thisinfo if thisinfo is "clear" then put "" into fld "Log" of stack "Log" -- empties the log else put thisinfo & RETURN after fld "Log" of stack "Log" end if end log 4) Finally, for any message you want to send to the log, call the log handler from your code: log "my whatever" I use this for debugging to record a breadcrumb trail of handlers and events, and to record changes to variables over time. The one thing it isn't doing, so far, is outputting arrays. Do I need to split those first? Does LC have a command to evaluate the type of an object or variable? (Such as Director's "ilk" command?) Comments? Improvements? Thanks, Tom Bodine -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Can-Message-Box-retain-messages-tp3503775p3505810.html Sent from the Revolution - User mailing list archive at Nabble.com. From janus005 at umn.edu Sat May 7 13:02:49 2011 From: janus005 at umn.edu (Louis Janus) Date: Sat, 7 May 2011 19:02:49 +0200 Subject: put the system date Message-ID: I have changed the system date (on my Mac OS 10.6) to Norwegian time and settings. Now I'm trying to get Live Code to show it in a field. I gave the command put long system date && the time (in the msg box), hoping to get l?rdag 7. mai, because that's how I set the system preferences. But I consistently get Saturday, May 7, 2011 11:56 AM I ideas on getting the system date? I know it should be simple. I can convert it, but figured it won't need it. Takk p? forh?nd .. for all Norwegian readers. -- Louis Janus Less Commonly Taught Languages (LCTL) Project Center for Advanced Research on Language Acquisition (CARLA) University of Minnesota 140 C University International Center 331 17th Ave Southeast Minneapolis, MN 55414 USA phone: 612/624-9016; fax: 612/624-7514 ------------------------------- LCTL at umn.edu or janus005 at umn.edu ------------------------------- http://www.carla.umn.edu/LCTL/db http://www.carla.umn.edu/about/profiles/janus.html From dunbarx at aol.com Sat May 7 13:05:33 2011 From: dunbarx at aol.com (dunbarx at aol.com) Date: Sat, 07 May 2011 13:05:33 -0400 Subject: Can Message Box retain messages? In-Reply-To: <1304785429947-3505810.post@n4.nabble.com> References: <1304705083270-3503775.post@n4.nabble.com><3CFD0D53-0463-4E83-9AAB-A325D1D9B887@economy-x-talk.com><1304706430437-3503849.post@n4.nabble.com><4DC464A3.5070504@hyperactivesw.com><1304728060268-3504625.post@n4.nabble.com> <1304785429947-3505810.post@n4.nabble.com> Message-ID: <8CDDAF01C7AE1D7-125C-3C7C3@TSTMAIL-D07.sysops.aol.com> I modified the message field script in the message box to build a history of entries. It is considered dicey to meddle with IDE scripts, but this has never caused a problem. I just modified the enterInField and returnInField handlers resident there, passing the current contents to a list field I keep in a toolbox stack. During development, I am constantly sending msg commands, sometimes with slight variations, sometimes the same one over and over. The gadget eliminates duplicates, and allows me to quickly choose from all the ones I have used. I can execute from that list, or reload into the msg box itself if I want to change an old command before sending. Craig Newman -----Original Message----- From: tbodine To: use-revolution at lists.runrev.com Sent: Sat, May 7, 2011 12:23 pm Subject: Re: Can Message Box retain messages? > No matter. On advice from Chris, I rolled my own Log substack as a palette > and now send things to a handler that puts them into a field there. Works > like a charm. >>Ooooh. Share. OK, Bob. Here goes... Be advised I'm a LiveCode newbie so everyone feel free to turn this into a lesson on what I should have done different. Steps to make a Log substack (Message box output alternative) 1) Make a new substack named "Log" containing a card named "Log" containing a scrollable field named "Log" Stretch the field to fill the card. 2) Configure those as you wish. (Mine has the stack set as a palette window, the "Log" field's autoHilite OFF and line wrap enabled.) 3) In the mainStack of my project, I put this script: on log thisinfo if thisinfo is "clear" then put "" into fld "Log" of stack "Log" -- empties the log else put thisinfo & RETURN after fld "Log" of stack "Log" end if end log 4) Finally, for any message you want to send to the log, call the log handler from your code: log "my whatever" I use this for debugging to record a breadcrumb trail of handlers and events, and to record changes to variables over time. The one thing it isn't doing, so far, is outputting arrays. Do I need to split those first? Does LC have a command to evaluate the type of an object or variable? (Such as Director's "ilk" command?) Comments? Improvements? Thanks, Tom Bodine -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Can-Message-Box-retain-messages-tp3503775p3505810.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 m.schonewille at economy-x-talk.com Sat May 7 13:38:34 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 7 May 2011 19:38:34 +0200 Subject: Live LiveCode Code Event #22 In-Reply-To: <62110E92-AB37-4138-B305-75053E669093@economy-x-talk.com> References: <62110E92-AB37-4138-B305-75053E669093@economy-x-talk.com> Message-ID: <757A8ED7-427E-4573-9CB0-E8A03A700DFC@economy-x-talk.com> Hi everyone, In 20 minutes the Live LiveCode Code Event is starting. Hope to see you all there. ?ric, thanks for the correction :-) -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce On 5 mei 2011, at 17:09, Mark Schonewille wrote: > Dear folks, > > It is a big pleasure to announce the 22nd edition of the Live LiveCode Code Event with two interesting presentations. This weekend's event is scheduled for 7 May 2011 at 19:00h GMT (Sat. 22:00 in Moscow, Sat. 20:00 in Paris, Sat. 14:00 in New York, Sat. 11:00 in Los Angeles, Sun. 04:00 in Sydney, Sun. 03:00 in Tokyo, Sun. 2:00 in Beijing). > > At the recent RunRev conference there was a contest, where attendees, and simulcast viewers, were asked to create a stack that was suitable for use on mobile devices, from scratch, using LiveCode. There were nine entries, with the winning entry being a jigsaw puzzle app that Colin made for the iPad. At this weeks meeting Colin will show the app, and go over all of the code that makes it work. > > Jim's discussion will be touring pages and collecting links that can help the beginner, intermediate, and advanced users. There are quite a few resources available, but yet so many programmers do not know how to find them. > > eHUG, http://www.ehug.info , will be raffling off the e-book "Take Control of Media on Your iPad" courtesy of TidBITS, http://www.tidbits.com . (These e-books normally cost 10 to 15 dollar). > > During the event, Economy-x-Talk offers a 25% discount on their Installer Maker, which can be downloaded at http://installermaker.economy-x-talk.com . A discounted license can be obtained at http://livetalk.us/im . > > Make sure to use ChatRev during the happening, otherwise you won't know where to watch the streams, which will be announced in ChatRev. Download ChatRev here: > http://bjoernke.com?target=chatrev > or enter in the message box: > go stack URL "http://bjoernke.com/chatrev/chatrev1.3b3.rev" > > See also the following page for the same information: > http://livecode.tv > > Mark > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From m.schonewille at economy-x-talk.com Sat May 7 13:39:51 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 7 May 2011 19:39:51 +0200 Subject: Live LiveCode Code Event #22 In-Reply-To: <3A0E2531-7A97-473C-9047-19D08710FD9F@numericable.com> References: <62110E92-AB37-4138-B305-75053E669093@economy-x-talk.com> <3A0E2531-7A97-473C-9047-19D08710FD9F@numericable.com> Message-ID: <51EEE7E2-74B3-447B-9143-242850832CF1@economy-x-talk.com> Grrr... I meant, _Ren?_, thanks for the correction. I think I'm confused because it is evening already and it was a really warm day here. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce On 5 mei 2011, at 17:17, Ren? Micout wrote: > Hello Mark, > TidBits > http://www.tidbits.com (3w) and not (2w) > ;-) > Ren? > From pete at mollysrevenge.com Sat May 7 13:56:55 2011 From: pete at mollysrevenge.com (Pete) Date: Sat, 7 May 2011 10:56:55 -0700 Subject: put the system date In-Reply-To: References: Message-ID: I tried this on my Mac, also 10.6, with LC 4.1 and it displayed the Norwegian date correctly. I know you have to restart LC after making system date format changes, other than that don't know what to suggest. Pete Molly's Revenge On Sat, May 7, 2011 at 10:02 AM, Louis Janus wrote: > I have changed the system date (on my Mac OS 10.6) to Norwegian time and > settings. Now I'm trying to get Live Code to show it in a field. > > I gave the command > > put long system date && the time > > > (in the msg box), hoping to get l?rdag 7. mai, because that's how I set the > system preferences. But I consistently get > > > Saturday, May 7, 2011 11:56 AM > > > > I ideas on getting the system date? I know it should be simple. I can > convert it, but figured it won't need it. > > > Takk p? forh?nd .. for all Norwegian readers. > -- > Louis Janus > Less Commonly Taught Languages (LCTL) Project > Center for Advanced Research on Language Acquisition (CARLA) > University of Minnesota > 140 C University International Center > 331 17th Ave Southeast > Minneapolis, MN 55414 USA > phone: 612/624-9016; fax: 612/624-7514 > ------------------------------- > LCTL at umn.edu or janus005 at umn.edu > ------------------------------- > http://www.carla.umn.edu/LCTL/db > http://www.carla.umn.edu/about/profiles/janus.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 rene.micout at numericable.com Sat May 7 14:37:49 2011 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Sat, 7 May 2011 20:37:49 +0200 Subject: Live LiveCode Code Event #22 In-Reply-To: <51EEE7E2-74B3-447B-9143-242850832CF1@economy-x-talk.com> References: <62110E92-AB37-4138-B305-75053E669093@economy-x-talk.com> <3A0E2531-7A97-473C-9047-19D08710FD9F@numericable.com> <51EEE7E2-74B3-447B-9143-242850832CF1@economy-x-talk.com> Message-ID: Hi Mark, I also think Eric (Chatonet !) Bon souvenir de Paris Ren? Le 7 mai 2011 ? 19:39, Mark Schonewille a ?crit : > Grrr... I meant, _Ren?_, thanks for the correction. I think I'm confused because it is evening already and it was a really warm day here. > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce > > On 5 mei 2011, at 17:17, Ren? Micout wrote: > >> Hello Mark, >> TidBits > http://www.tidbits.com (3w) and not (2w) >> ;-) >> Ren? >> > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sat May 7 15:31:30 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sat, 7 May 2011 12:31:30 -0700 Subject: Can Message Box retain messages? In-Reply-To: <8CDDAF01C7AE1D7-125C-3C7C3@TSTMAIL-D07.sysops.aol.com> References: <1304705083270-3503775.post@n4.nabble.com> <3CFD0D53-0463-4E83-9AAB-A325D1D9B887@economy-x-talk.com> <1304706430437-3503849.post@n4.nabble.com> <4DC464A3.5070504@hyperactivesw.com> <1304728060268-3504625.post@n4.nabble.com> <1304785429947-3505810.post@n4.nabble.com> <8CDDAF01C7AE1D7-125C-3C7C3@TSTMAIL-D07.sysops.aol.com> Message-ID: Eric Chatonet created a tool that would modify the message box; it's still available. Also Jerry Daniel's Remo has that feature as well. Arrowkey up goes back in time in the MB. On 7 May 2011 10:05, wrote: > I modified the message field script in the message box to build a history > of entries. It is considered dicey to meddle with IDE scripts, but this has > never caused a problem. I just modified the enterInField and returnInField > handlers resident there, passing the current contents to a list field I keep > in a toolbox stack. > > > During development, I am constantly sending msg commands, sometimes with > slight variations, sometimes the same one over and over. The gadget > eliminates duplicates, and allows me to quickly choose from all the ones I > have used. I can execute from that list, or reload into the msg box itself > if I want to change an old command before sending. > > > > Craig Newman > > > > > -----Original Message----- > From: tbodine > To: use-revolution at lists.runrev.com > Sent: Sat, May 7, 2011 12:23 pm > Subject: Re: Can Message Box retain messages? > > > > No matter. On advice from Chris, I rolled my own Log substack as a > palette > > and now send things to a handler that puts them into a field there. Works > > like a charm. > > >>Ooooh. Share. > > OK, Bob. Here goes... > > Be advised I'm a LiveCode newbie so everyone feel free to turn this into a > lesson on what I should have done different. > > Steps to make a Log substack (Message box output alternative) > 1) Make a new substack named "Log" containing a card named "Log" containing > a scrollable field named "Log" Stretch the field to fill the card. > 2) Configure those as you wish. (Mine has the stack set as a palette > window, > the "Log" field's autoHilite OFF and line wrap enabled.) > 3) In the mainStack of my project, I put this script: > > on log thisinfo > if thisinfo is "clear" then > put "" into fld "Log" of stack "Log" -- empties the log > else > put thisinfo & RETURN after fld "Log" of stack "Log" > end if > end log > > 4) Finally, for any message you want to send to the log, call the log > handler from your code: > > log "my whatever" > > I use this for debugging to record a breadcrumb trail of handlers and > events, and to record changes to variables over time. The one thing it > isn't > doing, so far, is outputting arrays. Do I need to split those first? > > Does LC have a command to evaluate the type of an object or variable? (Such > as Director's "ilk" command?) > > Comments? Improvements? > > Thanks, > Tom Bodine > > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/Can-Message-Box-retain-messages-tp3503775p3505810.html > Sent from the Revolution - User mailing list archive at Nabble.com. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Stephen Barncard San Francisco Ca. USA more about sqb From paul at whitefeather.com Sat May 7 16:43:35 2011 From: paul at whitefeather.com (paul foraker) Date: Sat, 7 May 2011 13:43:35 -0700 Subject: Cannot use Message Box In-Reply-To: <8CDDAE088858617-125C-3A89B@TSTMAIL-D07.sysops.aol.com> References: <3986AAFD-616C-4FF6-AB59-208511A9176C@mac.com> <8CDDAE088858617-125C-3A89B@TSTMAIL-D07.sysops.aol.com> Message-ID: Thanks, Craig, but unfortunately that didn't fix it. It's very odd being completely without command line! On Sat, May 7, 2011 at 8:14 AM, wrote: > This happened to me a few months ago, though it went away. It resolves > itself if, when you first open the msg box, you click in the lower field and > hit return. From then on all is well. A thread I started at that time was > inconclusive, some not knowing what I was talking about, some having seen > the behavior now and then. > > > I saw this in v.4.0 through 4.5. Never in 3.x. I thought it was something > in the 4x build. That it "went away" is odd, but gratifying. > > > Craig Newman > > > > > > -----Original Message----- > From: Thomas McGrath III > To: How to use LiveCode > Sent: Sat, May 7, 2011 8:41 am > Subject: Re: Cannot use Message Box > > > This might not help, but the multi line message box uses the enter key and > not > the return key. > > Try turning on "Livecode UI elements in Lists" and then search through > those > stacks. > > -- Tom McGrath III > http://lazyriver.on-rev.com > 3mcgrath at comcast.net > > On May 7, 2011, at 4:59 AM, paul foraker wrote: > > > Ever since I installed version 4.6.1, the Message Box no longer responds > to > > Return or Enter. I can type in it (both single and multi-line) but cannot > > execute anything. Weirdly, this also happens now with previous versions. > > > > I have made no changes to a utility stack I keep in the back, and this > > occurs with any stack I open. I tried searching for returnKey in all > > stacks. Nada. > > > > Anyone got a suggestion as to what to try next? > > > > -- Paul > > _______________________________________________ > > use-livecode mailing list > > use-livecode 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 > -- White Feather Software www.whitefeather.com Cell: 408-391-1480 Skype: pwforaker From paul at whitefeather.com Sat May 7 16:47:20 2011 From: paul at whitefeather.com (paul foraker) Date: Sat, 7 May 2011 13:47:20 -0700 Subject: Cannot use Message Box In-Reply-To: <3986AAFD-616C-4FF6-AB59-208511A9176C@mac.com> References: <3986AAFD-616C-4FF6-AB59-208511A9176C@mac.com> Message-ID: On Sat, May 7, 2011 at 5:41 AM, Thomas McGrath III wrote: > This might not help, but the multi line message box uses the enter key and > not the return key. > Yeah, the Enter key in the multiline box doesn't work either. > Try turning on "Livecode UI elements in Lists" and then search through > those stacks. > Thanks, I just now tried that. The only stack with returnKey is revRotate and it's in a card script. -- White Feather Software www.whitefeather.com Cell: 408-391-1480 Skype: pwforaker From bdrunrev at gmail.com Sat May 7 18:47:34 2011 From: bdrunrev at gmail.com (Bernard Devlin) Date: Sat, 7 May 2011 23:47:34 +0100 Subject: POST command error In-Reply-To: <1304771139552-3505400.post@n4.nabble.com> References: <1304719015247-3504446.post@n4.nabble.com> <1304719584945-3504451.post@n4.nabble.com> <3C97DFF4-E949-4BB1-AF97-8B72B7918747@twft.com> <1304748160170-3505090.post@n4.nabble.com> <6B2AFD69-E4FA-428D-9B8E-0D641DFEF606@free.fr> <1304750545933-3505122.post@n4.nabble.com> <1304771139552-3505400.post@n4.nabble.com> Message-ID: Josep, even with libURLSetSSLVerification to false, the network communication will be encrypted if you are using SSL. However, one can argue it is not secure, in the sense that your client application cannot be sure that the SSL certificate being accepted by it is really one that is presented by your server. (In network security this is called a "man in the middle attack" - it is technically possible for some other server to present itself as your server and thus intercept e.g. usernames/passwords). The reference to the forum post provided above (where you export the SSL certificate and have your client reference a PEM file containing the exported certificate) is almost as secure as things get. If Runrev ever finally produced client-side certificate handling, that would be as secure as SSL communications can get. But since these client-side certificates seem to be almost totally unknown in the world of web-browsing, I can't see that Runrev consider it a priority (and it looks like the promised future delivery of this which used to be in the dictionary has been removed). Bernard On Sat, May 7, 2011 at 1:25 PM, JosepM wrote: > Hi, > > But the comunication is secure, isn't? The only think is that I can't check > if the SSL Certificate is valid, isn't? > > > Salut, > Josep > > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/POST-command-error-tp3503001p3505400.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 paul at whitefeather.com Sat May 7 18:54:54 2011 From: paul at whitefeather.com (paul foraker) Date: Sat, 7 May 2011 15:54:54 -0700 Subject: Cannot use Message Box In-Reply-To: References: <3986AAFD-616C-4FF6-AB59-208511A9176C@mac.com> Message-ID: On Sat, May 7, 2011 at 1:47 PM, paul foraker wrote: > Thanks, I just now tried that. The only stack with returnKey is revRotate > and it's in a card script. > Turns out that the Find interface does not find all occurrences in the rev stacks. I searched for rawKeyDown and it did not find the rawKeyDown in the messagebox.rev stack. So, I'm stumped. Something is trapping return and enter in my Message Box. I can type Return and Enter in the Message Box results field, but not in the command line. In the multiline Message Box, I can type Return in the command lines field to enter more than one line of code, but Enter does nothing. The modifier keys don't help. This problem is happening on my iMac, 10.6.7, with all versions of Rev and LiveCode on my drive. None of them has a functioning Message Box. I can type in it, but cannot execute. I have no stacks in use, and no plugins loaded. This is not happening on my laptop, also 10.6.7. I can drag out a button and execute one-liners from that, but that's not really an acceptable workaround. I'll send a request to support. -- Paul -- White Feather Software www.whitefeather.com Cell: 408-391-1480 Skype: pwforaker From jmyepes at mac.com Sat May 7 19:28:39 2011 From: jmyepes at mac.com (JosepM) Date: Sat, 7 May 2011 16:28:39 -0700 (PDT) Subject: POST command error In-Reply-To: References: <1304719584945-3504451.post@n4.nabble.com> <3C97DFF4-E949-4BB1-AF97-8B72B7918747@twft.com> <1304748160170-3505090.post@n4.nabble.com> <6B2AFD69-E4FA-428D-9B8E-0D641DFEF606@free.fr> <1304750545933-3505122.post@n4.nabble.com> <1304771139552-3505400.post@n4.nabble.com> Message-ID: <1304810919498-3506270.post@n4.nabble.com> Thanks for the information Bernand, and with my own certificate I will have the same problem? I mean that the error isn't a question if the certificate is shared or personal. This is important so when you comunicate with a databases from iPads, iPhones, Androids, to secure the data you send and receive, I thing is very seriously. Salut, Josep -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/POST-command-error-tp3503001p3506270.html Sent from the Revolution - User mailing list archive at Nabble.com. From revdev at pdslabs.net Sat May 7 19:29:37 2011 From: revdev at pdslabs.net (Phil Davis) Date: Sat, 07 May 2011 16:29:37 -0700 Subject: Cannot use Message Box In-Reply-To: References: <3986AAFD-616C-4FF6-AB59-208511A9176C@mac.com> Message-ID: <4DC5D5E1.2020402@pdslabs.net> Hi Paul, Can you edit scripts OK? This reminds me of a weird LC problem I had a few days ago that was caused by the existence of a global (an environment variable created by Google Chrome apparently) that had slashes in the name. It went away when I restarted my machine. On 5/7/11 3:54 PM, paul foraker wrote: > This problem is happening on my iMac, 10.6.7, with all versions of Rev and > LiveCode on my drive. None of them has a functioning Message Box. I can type > in it, but cannot execute. I have no stacks in use, and no plugins loaded. -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net From pete at mollysrevenge.com Sat May 7 19:33:22 2011 From: pete at mollysrevenge.com (Pete) Date: Sat, 7 May 2011 16:33:22 -0700 Subject: Cannot use Message Box In-Reply-To: References: <3986AAFD-616C-4FF6-AB59-208511A9176C@mac.com> Message-ID: Hey Paul, I just today ran into almost the exact same problem running on my Mac with any version of LC, along with some other very weird behavior. As a last resort I restarted my Mac and all works OK again. If you haven't restarted recently, give it a try. Pete Molly's Revenge On Sat, May 7, 2011 at 3:54 PM, paul foraker wrote: > On Sat, May 7, 2011 at 1:47 PM, paul foraker > wrote: > > > Thanks, I just now tried that. The only stack with returnKey is revRotate > > and it's in a card script. > > > > Turns out that the Find interface does not find all occurrences in the rev > stacks. I searched for rawKeyDown and it did not find the rawKeyDown in the > messagebox.rev stack. > > So, I'm stumped. Something is trapping return and enter in my Message Box. > I > can type Return and Enter in the Message Box results field, but not in the > command line. In the multiline Message Box, I can type Return in the > command > lines field to enter more than one line of code, but Enter does nothing. > The > modifier keys don't help. > > This problem is happening on my iMac, 10.6.7, with all versions of Rev and > LiveCode on my drive. None of them has a functioning Message Box. I can > type > in it, but cannot execute. I have no stacks in use, and no plugins loaded. > > This is not happening on my laptop, also 10.6.7. > > I can drag out a button and execute one-liners from that, but that's not > really an acceptable workaround. I'll send a request to support. > > -- Paul > > -- > > White Feather Software > www.whitefeather.com > Cell: 408-391-1480 > Skype: pwforaker > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Sat May 7 19:45:37 2011 From: pete at mollysrevenge.com (Pete) Date: Sat, 7 May 2011 16:45:37 -0700 Subject: Cannot use Message Box In-Reply-To: <4DC5D5E1.2020402@pdslabs.net> References: <3986AAFD-616C-4FF6-AB59-208511A9176C@mac.com> <4DC5D5E1.2020402@pdslabs.net> Message-ID: Hi Phil, I'm thinking my problem was the same as yours. If I right-clicked a control then selected the Edit Script option, the cursor changed to a watch and no script editor window was displayed. Repeated the same thing and I got a script editor window. I could edit scripts OK but if I clicked the Variables tab, the variables displayed briefly then disappeared again. I use Google Chrome as my main browser so I'll bet it was the same problem. Out of interest, do you know what the variable name was? Pete Molly's Revenge On Sat, May 7, 2011 at 4:29 PM, Phil Davis wrote: > Hi Paul, > > Can you edit scripts OK? This reminds me of a weird LC problem I had a few > days ago that was caused by the existence of a global (an environment > variable created by Google Chrome apparently) that had slashes in the name. > It went away when I restarted my machine. > > On 5/7/11 3:54 PM, paul foraker wrote: > >> This problem is happening on my iMac, 10.6.7, with all versions of Rev and >> LiveCode on my drive. None of them has a functioning Message Box. I can >> type >> in it, but cannot execute. I have no stacks in use, and no plugins loaded. >> > > -- > 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 revdev at pdslabs.net Sat May 7 19:56:13 2011 From: revdev at pdslabs.net (Phil Davis) Date: Sat, 07 May 2011 16:56:13 -0700 Subject: Cannot use Message Box In-Reply-To: References: <3986AAFD-616C-4FF6-AB59-208511A9176C@mac.com> <4DC5D5E1.2020402@pdslabs.net> Message-ID: <4DC5DC1D.9070606@pdslabs.net> Hi Pete, Chrome is my default browser too. Here is what I posted when it happened: > Apparently Google Chrome defined a global on my Mac that is crippling all my > versions of LiveCode. LC can't do ANYTHING that requires dealing with globals > - like opening the script editor - because it runs into this global var name > and doesn't know what to do with it (I assume because of the slashes in the > var name). > > I went back to Rev 4.0 and tried to edit a script; I get this error message: > > | executing at 9:09:00 PM > Type do: error in source expression > Object Variables > Line do tStatement > Hint global > $COM_GOOGLE_CHROME_FRAMEWORK_SERVICE_PROCESS/USERS/PHIL/LIBRARY/APPLICATION_SUPPORT/GOOGLE/CHROME_SOCKET > | > Note the global name in the "Hint" line above: > COM_GOOGLE_CHROME_FRAMEWORK_SERVICE_PROCESS/USERS/PHIL/LIBRARY/APPLICATION_SUPPORT/GOOGLE/CHROME_SOCKET > > > I opened Terminal and typed "set" to see the vars defined, and there it was > with a value of "/tmp/launch-FbX6le/ServiceProcessSocket". > > Now my question... How do I delete it from the Terminal command line? I don't > remember! Hellllpppp! > > Has anyone else seen this? > > Thanks for any help you can offer. Thankfully a computer restart took care of it. On 5/7/11 4:45 PM, Pete wrote: > Hi Phil, > I'm thinking my problem was the same as yours. If I right-clicked a control > then selected the Edit Script option, the cursor changed to a watch and no > script editor window was displayed. Repeated the same thing and I got a > script editor window. I could edit scripts OK but if I clicked the > Variables tab, the variables displayed briefly then disappeared again. > > I use Google Chrome as my main browser so I'll bet it was the same problem. > Out of interest, do you know what the variable name was? > > Pete > Molly's Revenge > > > > > On Sat, May 7, 2011 at 4:29 PM, Phil Davis wrote: > >> Hi Paul, >> >> Can you edit scripts OK? This reminds me of a weird LC problem I had a few >> days ago that was caused by the existence of a global (an environment >> variable created by Google Chrome apparently) that had slashes in the name. >> It went away when I restarted my machine. >> >> On 5/7/11 3:54 PM, paul foraker wrote: >> >>> This problem is happening on my iMac, 10.6.7, with all versions of Rev and >>> LiveCode on my drive. None of them has a functioning Message Box. I can >>> type >>> in it, but cannot execute. I have no stacks in use, and no plugins loaded. >>> >> -- >> 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 jimaultwins at yahoo.com Sat May 7 20:00:12 2011 From: jimaultwins at yahoo.com (Jim Ault) Date: Sat, 7 May 2011 17:00:12 -0700 Subject: Can Message Box retain messages? In-Reply-To: References: <1304705083270-3503775.post@n4.nabble.com> <3CFD0D53-0463-4E83-9AAB-A325D1D9B887@economy-x-talk.com> <1304706430437-3503849.post@n4.nabble.com> <4DC464A3.5070504@hyperactivesw.com> <1304728060268-3504625.post@n4.nabble.com> <1304785429947-3505810.post@n4.nabble.com> <8CDDAF01C7AE1D7-125C-3C7C3@TSTMAIL-D07.sysops.aol.com> Message-ID: <4DBC9A54-1532-47BA-8DA2-29E3ED8FDBBA@yahoo.com> The arrow up and down works for me on Rev 4.0 A short video on how to discover the message box history for Revolution 4.0 http://jimthewebmaster.com/video/messageBoxHistoryBug.mp4 Changing the history is possible without modifying the IDE (which is a risky thing to do) once you know the storage location. On May 7, 2011, at 12:31 PM, stephen barncard wrote: > Eric Chatonet created a tool that would modify the message box; it's > still > available. Also Jerry Daniel's Remo has that feature as well. > Arrowkey up > goes back in time in the MB. > > On 7 May 2011 10:05, wrote: > >> I modified the message field script in the message box to build a >> history >> of entries. It is considered dicey to meddle with IDE scripts, but >> this has >> never caused a problem. I just modified the enterInField and >> returnInField >> handlers resident there, passing the current contents to a list >> field I keep >> in a toolbox stack. >> >> Craig Newman Jim Ault Las Vegas From slava at lexiconbridge.com Sat May 7 20:24:41 2011 From: slava at lexiconbridge.com (Slava Paperno (Bridge)) Date: Sat, 7 May 2011 20:24:41 -0400 Subject: Russian (UTF-8) in LC 4.6 In-Reply-To: <4DBC9A54-1532-47BA-8DA2-29E3ED8FDBBA@yahoo.com> References: <1304705083270-3503775.post@n4.nabble.com> <3CFD0D53-0463-4E83-9AAB-A325D1D9B887@economy-x-talk.com> <1304706430437-3503849.post@n4.nabble.com> <4DC464A3.5070504@hyperactivesw.com> <1304728060268-3504625.post@n4.nabble.com> <1304785429947-3505810.post@n4.nabble.com> <8CDDAF01C7AE1D7-125C-3C7C3@TSTMAIL-D07.sysops.aol.com> <4DBC9A54-1532-47BA-8DA2-29E3ED8FDBBA@yahoo.com> Message-ID: <003601cc0d16$55b48fc0$011daf40$@com> Is anyone using LC 4.6 for "really foreign" stacks, like Slavic languages or Greek, in UTF-8? In my tests of 4.6.1, the Contents box of fields and labels accepts Russian fine, and it is displayed correctly, but Russian in a button caption or tooltip turns into garbage (actually, it looks like it tries to display each byte of the two-byte characters, poor thing). Trying to type Russian in the code window totally bombs for me (the effect is indescribable). I'm new to LC, so I may be missing something crucial here. The phrase in the User Guide about writing your own functions to process strings sounds ominous, and yet they recommend the use of UTF-8, but again speak darkly of "implementing an external" if you wish to use string handling functions (section 6.4.6 on UTF-8). Can one even assign a Cyrillic string to a variable in the code window? I must be doing something wrong--or should I wait for another version of LC? Any tips will be appreciated, Slava From m.schonewille at economy-x-talk.com Sat May 7 20:40:33 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 8 May 2011 02:40:33 +0200 Subject: Russian (UTF-8) in LC 4.6 In-Reply-To: <003601cc0d16$55b48fc0$011daf40$@com> References: <1304705083270-3503775.post@n4.nabble.com> <3CFD0D53-0463-4E83-9AAB-A325D1D9B887@economy-x-talk.com> <1304706430437-3503849.post@n4.nabble.com> <4DC464A3.5070504@hyperactivesw.com> <1304728060268-3504625.post@n4.nabble.com> <1304785429947-3505810.post@n4.nabble.com> <8CDDAF01C7AE1D7-125C-3C7C3@TSTMAIL-D07.sysops.aol.com> <4DBC9A54-1532-47BA-8DA2-29E3ED8FDBBA@yahoo.com> <003601cc0d16$55b48fc0$011daf40$@com> Message-ID: <20E23712-A26F-48EF-8172-1726A7984900@economy-x-talk.com> Hi Slava, You can set the label but not the name of button to a unicode string. In LiveCode, you always use UTF16. If you have a UTF8 string, you need to convert it to UTF16 before you can use it in LiveCode. To convert a UTF8 string to UTF16, use the following syntax: put uniEncode(myUTF8StringVar,"UTF8") into myUTF16StringVar and to convert from UTF16 to UTF8 use put uniDecode(myUTF16StringVar,"UTF8") into myUTF8StringVar I think that it should be possible to assign a cyrillic string to a variable in a script, but it won't be easy. It is easier to keep your data in fields or custom properties. There might be a LiveCode version that handles unicode text better in the future, but if you have to deliver a project anytime soon, I wouldn't wait for that new version. Btw you can set the unicodeTitle of a stack. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce On 8 mei 2011, at 02:24, Slava Paperno (Bridge) wrote: > Is anyone using LC 4.6 for "really foreign" stacks, like Slavic languages or > Greek, in UTF-8? > > In my tests of 4.6.1, the Contents box of fields and labels accepts Russian > fine, and it is displayed correctly, but Russian in a button caption or > tooltip turns into garbage (actually, it looks like it tries to display each > byte of the two-byte characters, poor thing). Trying to type Russian in the > code window totally bombs for me (the effect is indescribable). > > I'm new to LC, so I may be missing something crucial here. The phrase in the > User Guide about writing your own functions to process strings sounds > ominous, and yet they recommend the use of UTF-8, but again speak darkly of > "implementing an external" if you wish to use string handling functions > (section 6.4.6 on UTF-8). > > Can one even assign a Cyrillic string to a variable in the code window? > > I must be doing something wrong--or should I wait for another version of LC? > > Any tips will be appreciated, > > Slava > From pete at mollysrevenge.com Sat May 7 20:46:10 2011 From: pete at mollysrevenge.com (Pete) Date: Sat, 7 May 2011 17:46:10 -0700 Subject: Cannot use Message Box In-Reply-To: <4DC5DC1D.9070606@pdslabs.net> References: <3986AAFD-616C-4FF6-AB59-208511A9176C@mac.com> <4DC5D5E1.2020402@pdslabs.net> <4DC5DC1D.9070606@pdslabs.net> Message-ID: I didn't get the error message but I'm sure the cause was the same. I'm thinking maybe this should be reported as a bug. It's puzzling why LC should be chasing down global variables it doesn't care about and not being prepared to deal with slashes I guess is a side effect of that. Plus there's lots of variables that have slashes in them. I don;t see that variable on my computer right now so I guess Chrome only creates it under certain circumstances. Pete Molly's Revenge On Sat, May 7, 2011 at 4:56 PM, Phil Davis wrote: > Hi Pete, > > Chrome is my default browser too. Here is what I posted when it happened: > >> Apparently Google Chrome defined a global on my Mac that is crippling all >> my versions of LiveCode. LC can't do ANYTHING that requires dealing with >> globals - like opening the script editor - because it runs into this global >> var name and doesn't know what to do with it (I assume because of the >> slashes in the var name). >> >> I went back to Rev 4.0 and tried to edit a script; I get this error >> message: >> >> | executing at 9:09:00 PM >> Type do: error in source expression >> Object Variables >> Line do tStatement >> Hint global >> $COM_GOOGLE_CHROME_FRAMEWORK_SERVICE_PROCESS/USERS/PHIL/LIBRARY/APPLICATION_SUPPORT/GOOGLE/CHROME_SOCKET >> | >> Note the global name in the "Hint" line above: >> COM_GOOGLE_CHROME_FRAMEWORK_SERVICE_PROCESS/USERS/PHIL/LIBRARY/APPLICATION_SUPPORT/GOOGLE/CHROME_SOCKET >> >> >> I opened Terminal and typed "set" to see the vars defined, and there it >> was with a value of "/tmp/launch-FbX6le/ServiceProcessSocket". >> >> Now my question... How do I delete it from the Terminal command line? I >> don't remember! Hellllpppp! >> >> Has anyone else seen this? >> >> Thanks for any help you can offer. >> > Thankfully a computer restart took care of it. > > On 5/7/11 4:45 PM, Pete wrote: > >> Hi Phil, >> I'm thinking my problem was the same as yours. If I right-clicked a >> control >> then selected the Edit Script option, the cursor changed to a watch and no >> script editor window was displayed. Repeated the same thing and I got a >> script editor window. I could edit scripts OK but if I clicked the >> Variables tab, the variables displayed briefly then disappeared again. >> >> I use Google Chrome as my main browser so I'll bet it was the same >> problem. >> Out of interest, do you know what the variable name was? >> >> Pete >> Molly's Revenge >> >> >> >> >> On Sat, May 7, 2011 at 4:29 PM, Phil Davis wrote: >> >> Hi Paul, >>> >>> Can you edit scripts OK? This reminds me of a weird LC problem I had a >>> few >>> days ago that was caused by the existence of a global (an environment >>> variable created by Google Chrome apparently) that had slashes in the >>> name. >>> It went away when I restarted my machine. >>> >>> On 5/7/11 3:54 PM, paul foraker wrote: >>> >>> This problem is happening on my iMac, 10.6.7, with all versions of Rev >>>> and >>>> LiveCode on my drive. None of them has a functioning Message Box. I can >>>> type >>>> in it, but cannot execute. I have no stacks in use, and no plugins >>>> loaded. >>>> >>>> -- >>> 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > From slava at lexiconbridge.com Sat May 7 21:12:40 2011 From: slava at lexiconbridge.com (Slava Paperno (Bridge)) Date: Sat, 7 May 2011 21:12:40 -0400 Subject: Russian (UTF-8) in LC 4.6 In-Reply-To: <20E23712-A26F-48EF-8172-1726A7984900@economy-x-talk.com> References: <1304705083270-3503775.post@n4.nabble.com> <3CFD0D53-0463-4E83-9AAB-A325D1D9B887@economy-x-talk.com> <1304706430437-3503849.post@n4.nabble.com> <4DC464A3.5070504@hyperactivesw.com> <1304728060268-3504625.post@n4.nabble.com> <1304785429947-3505810.post@n4.nabble.com> <8CDDAF01C7AE1D7-125C-3C7C3@TSTMAIL-D07.sysops.aol.com> <4DBC9A54-1532-47BA-8DA2-29E3ED8FDBBA@yahoo.com> <003601cc0d16$55b48fc0$011daf40$@com> <20E23712-A26F-48EF-8172-1726A7984900@economy-x-talk.com> Message-ID: <003701cc0d1d$0a45c8e0$1ed15aa0$@com> Thanks, Mark! It sounds like I should probably wait for full Unicode support. I'm trying to decide if I can move from Adobe Director to LC. In my Director applications, I type Cyrillic in the code and message windows all the time, and the ease of manipulating strings during development is very important. Always having to read my strings from files or fields would be a real pain... Gratefully, Slava > -----Original Message----- > From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode- > bounces at lists.runrev.com] On Behalf Of Mark Schonewille > Sent: Saturday, May 07, 2011 8:41 PM > To: How to use LiveCode > Subject: Re: Russian (UTF-8) in LC 4.6 > > Hi Slava, > > You can set the label but not the name of button to a unicode string. > In LiveCode, you always use UTF16. If you have a UTF8 string, you need > to convert it to UTF16 before you can use it in LiveCode. To convert a > UTF8 string to UTF16, use the following syntax: > > put uniEncode(myUTF8StringVar,"UTF8") into myUTF16StringVar > > and to convert from UTF16 to UTF8 use > > put uniDecode(myUTF16StringVar,"UTF8") into myUTF8StringVar > > I think that it should be possible to assign a cyrillic string to a > variable in a script, but it won't be easy. It is easier to keep your > data in fields or custom properties. > > There might be a LiveCode version that handles unicode text better in > the future, but if you have to deliver a project anytime soon, I > wouldn't wait for that new version. > > Btw you can set the unicodeTitle of a stack. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > New: Download the Installer Maker Plugin 1.6 for LiveCode here > http://qery.us/ce > > On 8 mei 2011, at 02:24, Slava Paperno (Bridge) wrote: > > > Is anyone using LC 4.6 for "really foreign" stacks, like Slavic > languages or > > Greek, in UTF-8? > > > > In my tests of 4.6.1, the Contents box of fields and labels accepts > Russian > > fine, and it is displayed correctly, but Russian in a button caption > or > > tooltip turns into garbage (actually, it looks like it tries to > display each > > byte of the two-byte characters, poor thing). Trying to type Russian > in the > > code window totally bombs for me (the effect is indescribable). > > > > I'm new to LC, so I may be missing something crucial here. The phrase > in the > > User Guide about writing your own functions to process strings sounds > > ominous, and yet they recommend the use of UTF-8, but again speak > darkly of > > "implementing an external" if you wish to use string handling > functions > > (section 6.4.6 on UTF-8). > > > > Can one even assign a Cyrillic string to a variable in the code > window? > > > > I must be doing something wrong--or should I wait for another version > of LC? > > > > Any tips will be appreciated, > > > > Slava From form at nonsanity.com Sat May 7 21:14:08 2011 From: form at nonsanity.com (Nonsanity) Date: Sat, 7 May 2011 21:14:08 -0400 Subject: Can Message Box retain messages? In-Reply-To: <4DBC9A54-1532-47BA-8DA2-29E3ED8FDBBA@yahoo.com> References: <1304705083270-3503775.post@n4.nabble.com> <3CFD0D53-0463-4E83-9AAB-A325D1D9B887@economy-x-talk.com> <1304706430437-3503849.post@n4.nabble.com> <4DC464A3.5070504@hyperactivesw.com> <1304728060268-3504625.post@n4.nabble.com> <1304785429947-3505810.post@n4.nabble.com> <8CDDAF01C7AE1D7-125C-3C7C3@TSTMAIL-D07.sysops.aol.com> <4DBC9A54-1532-47BA-8DA2-29E3ED8FDBBA@yahoo.com> Message-ID: I think the confusion in this thread stems for the fact the message box as a top section and a bottom section. I think everyone can agree that the top section has a history, and the up and down arrowkeys move through that history there. It's the bottom half of the message box that this thread is really about, and getting at a large amount of output sent to that half. There is no "result" history in the message box, as is. Yes, the IDE scripts can be modified to add that functionality, or you can just use some other field to hold the output of interest. I prefer that method myself as I can be sure that only my script knows about field "output" and so the data collecting there won't be tainted by output from some other script writing to msg. ~ Chris Innanen ~ Nonsanity On Sat, May 7, 2011 at 8:00 PM, Jim Ault wrote: > The arrow up and down works for me on Rev 4.0 > > A short video on how to discover the message box history for Revolution 4.0 > http://jimthewebmaster.com/video/messageBoxHistoryBug.mp4 > > Changing the history is possible without modifying the IDE (which is a > risky thing to do) > once you know the storage location. > > > > On May 7, 2011, at 12:31 PM, stephen barncard wrote: > > Eric Chatonet created a tool that would modify the message box; it's still >> available. Also Jerry Daniel's Remo has that feature as well. Arrowkey up >> goes back in time in the MB. >> >> On 7 May 2011 10:05, wrote: >> >> I modified the message field script in the message box to build a history >>> of entries. It is considered dicey to meddle with IDE scripts, but this >>> has >>> never caused a problem. I just modified the enterInField and >>> returnInField >>> handlers resident there, passing the current contents to a list field I >>> keep >>> in a toolbox stack. >>> >>> Craig Newman >>> >> > 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 lvhdgc7 at gmail.com Sat May 7 22:01:07 2011 From: lvhdgc7 at gmail.com (tbodine) Date: Sat, 7 May 2011 19:01:07 -0700 (PDT) Subject: Can Message Box retain messages? In-Reply-To: References: <3CFD0D53-0463-4E83-9AAB-A325D1D9B887@economy-x-talk.com> <1304706430437-3503849.post@n4.nabble.com> <4DC464A3.5070504@hyperactivesw.com> <1304728060268-3504625.post@n4.nabble.com> <1304785429947-3505810.post@n4.nabble.com> <8CDDAF01C7AE1D7-125C-3C7C3@TSTMAIL-D07.sysops.aol.com> <4DBC9A54-1532-47BA-8DA2-29E3ED8FDBBA@yahoo.com> Message-ID: <1304820067095-3506405.post@n4.nabble.com> Thanks for the clarification, Chris. That's exactly what prompted my original question... a lack of history in the bottom half (output) of the message box. -- Tom Bodine -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Can-Message-Box-retain-messages-tp3503775p3506405.html Sent from the Revolution - User mailing list archive at Nabble.com. From jacque at hyperactivesw.com Sat May 7 22:27:37 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 07 May 2011 21:27:37 -0500 Subject: Cannot use Message Box In-Reply-To: References: <3986AAFD-616C-4FF6-AB59-208511A9176C@mac.com> <4DC5D5E1.2020402@pdslabs.net> <4DC5DC1D.9070606@pdslabs.net> Message-ID: <4DC5FF99.8010306@hyperactivesw.com> On 5/7/11 7:46 PM, Pete wrote: > I didn't get the error message but I'm sure the cause was the same. > > I'm thinking maybe this should be reported as a bug. It's puzzling why LC > should be chasing down global variables it doesn't care about and not being > prepared to deal with slashes I guess is a side effect of that. Plus > there's lots of variables that have slashes in them. Those are system globals, and LiveCode allows you to use any of them. You can create your own too, actually. LiveCode does not discriminate, it just displays whatever the OS gives it. The variables will be different from one OS and machine to another. It isn't so much that LiveCode doesn't need those globals; LiveCode presents them in case you or your scripts want to use them. It may be a bug though that LiveCode doesn't deal correctly with system globals containing slashes. That part could be reported. You can clear system globals from LiveCode by simply putting empty into them, like any other variable; i.e. "put empty into $#". You shouldn't need to restart the IDE if you do that. But since they are system globals, changing them may affect other apps that use them so go carefully. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sat May 7 22:30:08 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 07 May 2011 21:30:08 -0500 Subject: perhapse.. In-Reply-To: <12fca9a1a94.baccheschi@tin.it> References: <12fca9a1a94.baccheschi@tin.it> Message-ID: <4DC60030.2060201@hyperactivesw.com> On 5/7/11 8:16 AM, baccheschi at tin.it wrote: > Perhapse.. > Has it been a nonsense to ask if it could be possible to > perform ON THE WEB a "resizeStack" ? I don't think it is possible using LiveCode alone. The stack is presented in a fixed-size window which can't change. There might be a way to do it with some fancy javascript and a web page reload but I'm not sure how. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sat May 7 22:37:43 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 07 May 2011 21:37:43 -0500 Subject: Cannot use Message Box In-Reply-To: <4DC5D5E1.2020402@pdslabs.net> References: <3986AAFD-616C-4FF6-AB59-208511A9176C@mac.com> <4DC5D5E1.2020402@pdslabs.net> Message-ID: <4DC601F7.5080603@hyperactivesw.com> On 5/7/11 6:29 PM, Phil Davis wrote: > Hi Paul, > > Can you edit scripts OK? This reminds me of a weird LC problem I had a > few days ago that was caused by the existence of a global (an > environment variable created by Google Chrome apparently) that had > slashes in the name. It went away when I restarted my machine. I don't use Chrome myself, but I wonder if those who do would want to create a preventative button with a script that removes the contents of that global. Since the message box is useless when the problem occurs, you can't just type the command there to execute it. But if you had a premade button, you could open the stack and click it. on mouseUp put empty into $COM_GOOGLE_CHROME_FRAMEWORK_SERVICE_PROCESS/USERS/PHIL/LIBRARY/APPLICATION_SUPPORT/GOOGLE/CHROME_SOCKET end mouseUp Then things should work again, hopefully. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sat May 7 22:48:19 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sat, 07 May 2011 21:48:19 -0500 Subject: Cannot use Message Box In-Reply-To: <4DC5FF99.8010306@hyperactivesw.com> References: <3986AAFD-616C-4FF6-AB59-208511A9176C@mac.com> <4DC5D5E1.2020402@pdslabs.net> <4DC5DC1D.9070606@pdslabs.net> <4DC5FF99.8010306@hyperactivesw.com> Message-ID: <4DC60473.7090703@hyperactivesw.com> On 5/7/11 9:27 PM, J. Landman Gay wrote: > It may be a bug though that LiveCode doesn't deal correctly with system > globals containing slashes. That part could be reported. I'm not sure what I wrote is right. I just looked and I have several system globals that both contain file paths with slashes. Neither are causing me any of the problems that were reported. I wonder if it's only that specific Chrome global that is a problem (I don't have that one) or if it's something else. I see these (plus my $HOME path): $Apple_PubSub_Socket_Render /tmp/launch-3oUaJY/Render $SSH_AUTH_SOCK /tmp/launch-SBZadR/Listeners $DISPLAY /tmp/launch-g2EBYc/org.x:0 $SHELL /bin/bash $TMPDIR /var/folders/lK/lKqfANrNTRai6m7q-jKrtU+++TI/-Tmp-/ $PATH /usr/bin:/bin:/usr/sbin:/sbin -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ambassador at fourthworld.com Sun May 8 01:11:43 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Sat, 07 May 2011 22:11:43 -0700 Subject: Cannot use Message Box In-Reply-To: <4DC60473.7090703@hyperactivesw.com> References: <4DC60473.7090703@hyperactivesw.com> Message-ID: <4DC6260F.4030200@fourthworld.com> Jacque wrote: >> It may be a bug though that LiveCode doesn't deal correctly with system >> globals containing slashes. That part could be reported. > > I'm not sure what I wrote is right. I just looked and I have several > system globals that both contain file paths with slashes. Neither are > causing me any of the problems that were reported. The vars that work have slashes only in the values, but with the one giving Phil trouble there are slashes in the name. -- 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 revdev at pdslabs.net Sun May 8 01:38:57 2011 From: revdev at pdslabs.net (Phil Davis) Date: Sat, 07 May 2011 22:38:57 -0700 Subject: Cannot use Message Box In-Reply-To: <4DC6260F.4030200@fourthworld.com> References: <4DC60473.7090703@hyperactivesw.com> <4DC6260F.4030200@fourthworld.com> Message-ID: <4DC62C71.6060004@pdslabs.net> On 5/7/11 10:11 PM, Richard Gaskin wrote: > Jacque wrote: > >>> It may be a bug though that LiveCode doesn't deal correctly with system >>> globals containing slashes. That part could be reported. >> I'm not sure what I wrote is right. I just looked and I have several >> system globals that both contain file paths with slashes. Neither are >> causing me any of the problems that were reported. > The vars that work have slashes only in the values, but with the one > giving Phil trouble there are slashes in the name. Yes! Exactly. The problem (as I understand it) occurs when LiveCode attempts to reference the variable, before doing anything with it. -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net From jacque at hyperactivesw.com Sun May 8 01:50:21 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 08 May 2011 00:50:21 -0500 Subject: Cannot use Message Box In-Reply-To: <4DC62C71.6060004@pdslabs.net> References: <4DC60473.7090703@hyperactivesw.com> <4DC6260F.4030200@fourthworld.com> <4DC62C71.6060004@pdslabs.net> Message-ID: <4DC62F1D.1010308@hyperactivesw.com> On 5/8/11 12:38 AM, Phil Davis wrote: > On 5/7/11 10:11 PM, Richard Gaskin wrote: >> Jacque wrote: >> >>>> It may be a bug though that LiveCode doesn't deal correctly with system >>>> globals containing slashes. That part could be reported. >>> I'm not sure what I wrote is right. I just looked and I have several >>> system globals that both contain file paths with slashes. Neither are >>> causing me any of the problems that were reported. >> The vars that work have slashes only in the values, but with the one >> giving Phil trouble there are slashes in the name. > > Yes! Exactly. The problem (as I understand it) occurs when LiveCode > attempts to reference the variable, before doing anything with it. > Good sleuthing. Somebody should write it up. I wonder if a global like that is messing up other apps too. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From revdev at pdslabs.net Sun May 8 01:57:18 2011 From: revdev at pdslabs.net (Phil Davis) Date: Sat, 07 May 2011 22:57:18 -0700 Subject: Cannot use Message Box In-Reply-To: <4DC62C71.6060004@pdslabs.net> References: <4DC60473.7090703@hyperactivesw.com> <4DC6260F.4030200@fourthworld.com> <4DC62C71.6060004@pdslabs.net> Message-ID: <4DC630BE.7070903@pdslabs.net> As a workaround, I created a LC plugin (Mac only) that executes this code at IDE startup time: -- stack script command removeBadGlobals put the globals into tList if slash is not in tList then send "closeMe" to me in 1 tick exit removeBadGlobals end if -- something has a slash in it! replace comma with CR in tList filter tList with "*/*" -- isolate bad globals repeat for each line tGlobal in tList get shell("unset" && tGlobal) put tGlobal & cr after tRemoved end repeat -- tell user answer "Removed bad globals:" & cr & tRemoved -- close send "closeMe" to me in 1 tick end removeBadGlobals command closeMe close me end closeMe On 5/7/11 10:38 PM, Phil Davis wrote: > On 5/7/11 10:11 PM, Richard Gaskin wrote: >> Jacque wrote: >> >>>> It may be a bug though that LiveCode doesn't deal correctly with system >>>> globals containing slashes. That part could be reported. >>> I'm not sure what I wrote is right. I just looked and I have several >>> system globals that both contain file paths with slashes. Neither are >>> causing me any of the problems that were reported. >> The vars that work have slashes only in the values, but with the one >> giving Phil trouble there are slashes in the name. > > Yes! Exactly. The problem (as I understand it) occurs when LiveCode attempts > to reference the variable, before doing anything with it. > -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net From pete at mollysrevenge.com Sun May 8 02:07:52 2011 From: pete at mollysrevenge.com (Pete) Date: Sat, 7 May 2011 23:07:52 -0700 Subject: Cannot use Message Box In-Reply-To: <4DC5FF99.8010306@hyperactivesw.com> References: <3986AAFD-616C-4FF6-AB59-208511A9176C@mac.com> <4DC5D5E1.2020402@pdslabs.net> <4DC5DC1D.9070606@pdslabs.net> <4DC5FF99.8010306@hyperactivesw.com> Message-ID: Well I guess that's the point. We shouldn't be clearing globals that don'e "belong" to LC so why on earth is LC even trying to look at system globals that don;t belong to it? Pete Molly's Revenge On Sat, May 7, 2011 at 7:27 PM, J. Landman Gay wrote: > On 5/7/11 7:46 PM, Pete wrote: > >> I didn't get the error message but I'm sure the cause was the same. >> >> I'm thinking maybe this should be reported as a bug. It's puzzling why LC >> should be chasing down global variables it doesn't care about and not >> being >> prepared to deal with slashes I guess is a side effect of that. Plus >> there's lots of variables that have slashes in them. >> > > Those are system globals, and LiveCode allows you to use any of them. You > can create your own too, actually. LiveCode does not discriminate, it just > displays whatever the OS gives it. The variables will be different from one > OS and machine to another. It isn't so much that LiveCode doesn't need those > globals; LiveCode presents them in case you or your scripts want to use > them. > > It may be a bug though that LiveCode doesn't deal correctly with system > globals containing slashes. That part could be reported. > > You can clear system globals from LiveCode by simply putting empty into > them, like any other variable; i.e. "put empty into $#". You shouldn't need > to restart the IDE if you do that. But since they are system globals, > changing them may affect other apps that use them so go carefully. > > -- > 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 keith.clarke at clarkeandclarke.co.uk Sun May 8 06:03:22 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Sun, 8 May 2011 11:03:22 +0100 Subject: XML to array - what are the options? Message-ID: <6399A7CB-FABF-4D15-A621-0209D9F11AA4@clarkeandclarke.co.uk> Hi folks, I need to start learning about how best to convert XML files to arrays. There seems to be quite a lot of content around on this subject, so I'd really appreciate any pointers for where best to start my research. What is the state of the art regarding tools and techniques - and are there any stacks or tutorials that have helped others with this? Best, Keith.. From curt at sonasoftware.com Sun May 8 06:56:12 2011 From: curt at sonasoftware.com (Curt Ford) Date: Sun, 8 May 2011 06:56:12 -0400 Subject: Russian (UTF-8) in LC 4.6 Message-ID: Hello Slava, One of my projects worked pretty well with Russian, but it involved mostly typing in Russian, saving to a file as HTMLText, and later reading in that HTMLText for display in fields. The one place that involved manipulating the strings directly ('exploding' the words to display individual letters separately) was kind of a pain, especially in expressions that included a space or any punctuation. You can get a sense of what I was able to do at http://www.sonasoftware.com/vocab/ I hope the real Unicode support comes before too long - this issue is one of the main reasons I've started working in ObjectiveC for some projects. Just in case you haven't seen it, Devin Asay has a nice summary at http://www.runrev.com/developers/lessons-and-tutorials/tutorials/unicode-in-revolution/ best Curt From jimaultwins at yahoo.com Sun May 8 09:58:05 2011 From: jimaultwins at yahoo.com (Jim Ault) Date: Sun, 8 May 2011 06:58:05 -0700 Subject: XML to array - what are the options? In-Reply-To: <6399A7CB-FABF-4D15-A621-0209D9F11AA4@clarkeandclarke.co.uk> References: <6399A7CB-FABF-4D15-A621-0209D9F11AA4@clarkeandclarke.co.uk> Message-ID: <398A8368-EF5F-48E6-946C-77472D9A5DA0@yahoo.com> On May 8, 2011, at 3:03 AM, Keith Clarke wrote: > Hi folks, > I need to start learning about how best to convert XML files to > arrays. > There seems to be quite a lot of content around on this subject, so > I'd really appreciate any pointers for where best to start my > research. > What is the state of the art regarding tools and techniques - and > are there any stacks or tutorials that have helped others with this? A good start... http://www.sonsothunder.com/home/home.htm#xmllib211 by Ken Ray has an XML library that is state of the art. I spoke with Ken last week at the conference and he said that his lib was not faster than the Rev XML, but had some better features. The few times I did any work with parsing XML boiled down to text chunking rather than using an XML lib. Jim Ault Las Vegas From userev at canelasoftware.com Sun May 8 10:52:27 2011 From: userev at canelasoftware.com (Mark Talluto) Date: Sun, 8 May 2011 07:52:27 -0700 Subject: Cannot use Message Box In-Reply-To: References: <3986AAFD-616C-4FF6-AB59-208511A9176C@mac.com> <4DC5D5E1.2020402@pdslabs.net> Message-ID: <1A7B6300-D5BB-4E40-81CF-29ADE80C746A@canelasoftware.com> There is a bug in LC that is revealed when Google Chrome gets an update. It make a $variable dirty. If you restart your computer the issue will go away. Mark Waddingham is aware of the issue. -Mark Canela Software On May 7, 2011, at 4:45 PM, Pete wrote: > Hi Phil, > I'm thinking my problem was the same as yours. If I right-clicked a control > then selected the Edit Script option, the cursor changed to a watch and no > script editor window was displayed. Repeated the same thing and I got a > script editor window. I could edit scripts OK but if I clicked the > Variables tab, the variables displayed briefly then disappeared again. > > I use Google Chrome as my main browser so I'll bet it was the same problem. > Out of interest, do you know what the variable name was? > > Pete > Molly's Revenge From slava at lexiconbridge.com Sun May 8 10:55:15 2011 From: slava at lexiconbridge.com (Slava Paperno (Bridge)) Date: Sun, 8 May 2011 10:55:15 -0400 Subject: Russian (UTF-8) in LC 4.6 In-Reply-To: References: Message-ID: <005001cc0d8f$f43cee20$dcb6ca60$@com> Hi Curt! It was good to hear from a colleague. I'd known about your Sona cards, but I forgot (or never knew) that they were done in LiveCode. But I went through the Web site and was quite impressed. The site is well done, too. (I used it in Chrome, and everything looked great.) Good job! Thanks also for the reference to Devin Asay's article. It told me almost everything I needed to know about Russian in LC 4.6. I do understand (and sympathize with) the LC developers as they struggle with these issues and introduce workarounds and fixes. It'll be quite a burden for them to keep the system backward compatible as they move towards full and natural support for Unicode. As you probably know, I use the custom fonts we designed to show accented vowels in all Russian texts in my software publications. Conversion from accented text to unaccented text, from accented lower case to accented upper case vowels, translating keystrokes to offer the Student keyboard layout, normalizing strings for dictionary lookups and sorting, etc. is part of just about every step in programming and using my publications. Variables, arrays, property lists, and various loops are used everywhere. So when I saw Devin's two-long-lines script that's needed just to assign a Russian word to a field, and read about accessing a Russian character as a two-character sequence, and also shipping them around as HTML entities, I had to scratch my head. I'll stay around this list and learn what I can about LiveCode this summer. Gratefully, Slava > -----Original Message----- > From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode- > bounces at lists.runrev.com] On Behalf Of Curt Ford > Sent: Sunday, May 08, 2011 6:56 AM > To: use-livecode at lists.runrev.com > Subject: Re: Russian (UTF-8) in LC 4.6 > > Hello Slava, > > One of my projects worked pretty well with Russian, but it involved > mostly typing in Russian, saving to a file as HTMLText, and later > reading in that HTMLText for display in fields. The one place that > involved manipulating the strings directly ('exploding' the words to > display individual letters separately) was kind of a pain, especially > in expressions that included a space or any punctuation. You can get a > sense of what I was able to do at > > http://www.sonasoftware.com/vocab/ > > I hope the real Unicode support comes before too long - this issue is > one of the main reasons I've started working in ObjectiveC for some > projects. > > Just in case you haven't seen it, Devin Asay has a nice summary at > > http://www.runrev.com/developers/lessons-and- > tutorials/tutorials/unicode-in-revolution/ > > best > > Curt From keith.clarke at clarkeandclarke.co.uk Sun May 8 12:00:20 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Sun, 8 May 2011 17:00:20 +0100 Subject: XML to array - what are the options? In-Reply-To: <398A8368-EF5F-48E6-946C-77472D9A5DA0@yahoo.com> References: <6399A7CB-FABF-4D15-A621-0209D9F11AA4@clarkeandclarke.co.uk> <398A8368-EF5F-48E6-946C-77472D9A5DA0@yahoo.com> Message-ID: Jim. Thanks for the response. Apologies - my question should have been more specific - about concepts, techniques and examples of applying arrays to manipulating XML data, rather than tools. Notwithstanding that, it's good to know that Ken's library is the state of the art, as I been using the paid-for v2.1, with its excellent workshop tool (alongside Mark Wider's libSOAP library) to interrogate various web services and gain a basic understanding of XML data files I want to target. With these, I now have found some potentially interesting XML data that I want to process. So, I'm trying to learn how I might apply arrays to this data, in the following specific scenarios: 1. Display data, from a specific node in a single XML file, a set number of node layers, in rTree as a 'node outline' or 'flattened' into a data grid. 2. Create a new 'related' data set from two XML files with common nodes. If the source data was in database tables, CSV files or spreadsheets, I'd be in my comfort zone and know what to do. I understand outlines and can see how I could combine XML files manually - and so could probably build-up some text-manipulation scripts from scratch. But there must be a simpler, higher-level, repeatable and more efficient way of doing this. Any ideas gratefully received. Best, Keith.. On 8 May 2011, at 14:58, Jim Ault wrote: > On May 8, 2011, at 3:03 AM, Keith Clarke wrote: > >> Hi folks, >> I need to start learning about how best to convert XML files to arrays. >> There seems to be quite a lot of content around on this subject, so I'd really appreciate any pointers for where best to start my research. >> What is the state of the art regarding tools and techniques - and are there any stacks or tutorials that have helped others with this? > > A good start... > http://www.sonsothunder.com/home/home.htm#xmllib211 > > by Ken Ray > has an XML library that is state of the art. > I spoke with Ken last week at the conference and he said that his lib was not faster than the Rev XML, but had some better features. > > The few times I did any work with parsing XML boiled down to text chunking rather than using an XML lib. > > > Jim Ault > Las Vegas From stephenREVOLUTION2 at barncard.com Sun May 8 12:41:55 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sun, 8 May 2011 09:41:55 -0700 Subject: XML to array - what are the options? In-Reply-To: References: <6399A7CB-FABF-4D15-A621-0209D9F11AA4@clarkeandclarke.co.uk> <398A8368-EF5F-48E6-946C-77472D9A5DA0@yahoo.com> Message-ID: Search the archives - Trevor has released his xml-to-array and array-to-xml routines to this list. They were short enough to paste into an email. On 8 May 2011 09:00, Keith Clarke wrote: > Jim. > Thanks for the response. > > Apologies - my question should have been more specific - about concepts, > techniques and examples of applying arrays to manipulating XML data, rather > than tools. > > Notwithstanding that, it's good to know that Ken's library is the state of > the art, as I been using the paid-for v2.1, with its excellent workshop tool > (alongside Mark Wider's libSOAP library) to interrogate various web services > and gain a basic understanding of XML data files I want to target. > > With these, I now have found some potentially interesting XML data that I > want to process. So, I'm trying to learn how I might apply arrays to this > data, in the following specific scenarios: > > 1. Display data, from a specific node in a single XML file, a set number of > node layers, in rTree as a 'node outline' or 'flattened' into a data grid. > > 2. Create a new 'related' data set from two XML files with common nodes. If > the source data was in database tables, CSV files or spreadsheets, I'd be in > my comfort zone and know what to do. I understand outlines and can see how I > could combine XML files manually - and so could probably build-up some > text-manipulation scripts from scratch. But there must be a simpler, > higher-level, repeatable and more efficient way of doing this. > > Any ideas gratefully received. > Best, > Keith.. > > On 8 May 2011, at 14:58, Jim Ault wrote: > > > On May 8, 2011, at 3:03 AM, Keith Clarke wrote: > > > >> Hi folks, > >> I need to start learning about how best to convert XML files to arrays. > >> There seems to be quite a lot of content around on this subject, so I'd > really appreciate any pointers for where best to start my research. > >> What is the state of the art regarding tools and techniques - and are > there any stacks or tutorials that have helped others with this? > > > > A good start... > > http://www.sonsothunder.com/home/home.htm#xmllib211 > > > > by Ken Ray > > has an XML library that is state of the art. > > I spoke with Ken last week at the conference and he said that his lib was > not faster than the Rev XML, but had some better features. > > > > The few times I did any work with parsing XML boiled down to text > chunking rather than using an XML lib. > > > > > > 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 > -- Stephen Barncard San Francisco Ca. USA more about sqb From paul at whitefeather.com Sun May 8 12:43:58 2011 From: paul at whitefeather.com (paul foraker) Date: Sun, 8 May 2011 09:43:58 -0700 Subject: Cannot use Message Box In-Reply-To: <1A7B6300-D5BB-4E40-81CF-29ADE80C746A@canelasoftware.com> References: <3986AAFD-616C-4FF6-AB59-208511A9176C@mac.com> <4DC5D5E1.2020402@pdslabs.net> <1A7B6300-D5BB-4E40-81CF-29ADE80C746A@canelasoftware.com> Message-ID: In my case, I continue to have the problem (cannot execute from Message Box) after restarting the computer, and launching LiveCode without having launched Chrome. (I wonder if Chrome is doing something without having been launched.) So, I used fast user switching, switched to another user and launched LiveCode for the first time, registered, and it works! The Message Box is functional. I'll try the deleting bad globals idea in the original user space. Much gratitude for the support here. This is a terrific community. -- Paul On Sun, May 8, 2011 at 7:52 AM, Mark Talluto wrote: > There is a bug in LC that is revealed when Google Chrome gets an update. > It make a $variable dirty. If you restart your computer the issue will go > away. Mark Waddingham is aware of the issue. > > -Mark > Canela Software > > On May 7, 2011, at 4:45 PM, Pete wrote: > > > Hi Phil, > > I'm thinking my problem was the same as yours. If I right-clicked a > control > > then selected the Edit Script option, the cursor changed to a watch and > no > > script editor window was displayed. Repeated the same thing and I got a > > script editor window. I could edit scripts OK but if I clicked the > > Variables tab, the variables displayed briefly then disappeared again. > > > > I use Google Chrome as my main browser so I'll bet it was the same > problem. > > Out of interest, do you know what the variable name was? > > > > 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 > -- White Feather Software www.whitefeather.com Cell: 408-391-1480 Skype: pwforaker From paul at whitefeather.com Sun May 8 13:15:06 2011 From: paul at whitefeather.com (paul foraker) Date: Sun, 8 May 2011 10:15:06 -0700 Subject: Cannot use Message Box In-Reply-To: References: <3986AAFD-616C-4FF6-AB59-208511A9176C@mac.com> <4DC5D5E1.2020402@pdslabs.net> <1A7B6300-D5BB-4E40-81CF-29ADE80C746A@canelasoftware.com> Message-ID: I too am thinking this Message Box problem is somehow related to problems with the Script Editor. When I open a script, I cannot display the variables. When I click on the Variables tab, I get $Apple_PubSub_Socket_Render displaying for a brief moment and then whichever tab was selected previously gets reselected. -- Paul From keith.clarke at clarkeandclarke.co.uk Sun May 8 13:48:33 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Sun, 8 May 2011 18:48:33 +0100 Subject: XML to array - what are the options? In-Reply-To: References: <6399A7CB-FABF-4D15-A621-0209D9F11AA4@clarkeandclarke.co.uk> <398A8368-EF5F-48E6-946C-77472D9A5DA0@yahoo.com> Message-ID: Thanks Stephen, A mutli-dimensional array primer and worked-example stack working on XML file data - just what I needed! It turned out to be a newsletter item from 2008 - only linked from the old revolution use list. Unfortunately, those links are broken and/or there is a problem with the newsletter archive page - which is currently rendering in a strange way http://www.runrev.com/developers/resources/newsletters/ ?!? So, here's a direct link for the next seeker of array/XML enlightenment who passes this way... http://runrev.com/newsletter/july/issue53/newsletter1.php Best, Keith.. On 8 May 2011, at 17:41, stephen barncard wrote: > Search the archives - Trevor has released his xml-to-array and array-to-xml > routines to this list. They were short enough to paste into an email. > > On 8 May 2011 09:00, Keith Clarke wrote: > >> Jim. >> Thanks for the response. >> >> Apologies - my question should have been more specific - about concepts, >> techniques and examples of applying arrays to manipulating XML data, rather >> than tools. >> >> Notwithstanding that, it's good to know that Ken's library is the state of >> the art, as I been using the paid-for v2.1, with its excellent workshop tool >> (alongside Mark Wider's libSOAP library) to interrogate various web services >> and gain a basic understanding of XML data files I want to target. >> >> With these, I now have found some potentially interesting XML data that I >> want to process. So, I'm trying to learn how I might apply arrays to this >> data, in the following specific scenarios: >> >> 1. Display data, from a specific node in a single XML file, a set number of >> node layers, in rTree as a 'node outline' or 'flattened' into a data grid. >> >> 2. Create a new 'related' data set from two XML files with common nodes. If >> the source data was in database tables, CSV files or spreadsheets, I'd be in >> my comfort zone and know what to do. I understand outlines and can see how I >> could combine XML files manually - and so could probably build-up some >> text-manipulation scripts from scratch. But there must be a simpler, >> higher-level, repeatable and more efficient way of doing this. >> >> Any ideas gratefully received. >> Best, >> Keith.. >> >> On 8 May 2011, at 14:58, Jim Ault wrote: >> >>> On May 8, 2011, at 3:03 AM, Keith Clarke wrote: >>> >>>> Hi folks, >>>> I need to start learning about how best to convert XML files to arrays. >>>> There seems to be quite a lot of content around on this subject, so I'd >> really appreciate any pointers for where best to start my research. >>>> What is the state of the art regarding tools and techniques - and are >> there any stacks or tutorials that have helped others with this? >>> >>> A good start... >>> http://www.sonsothunder.com/home/home.htm#xmllib211 >>> >>> by Ken Ray >>> has an XML library that is state of the art. >>> I spoke with Ken last week at the conference and he said that his lib was >> not faster than the Rev XML, but had some better features. >>> >>> The few times I did any work with parsing XML boiled down to text >> chunking rather than using an XML lib. >>> >>> >>> 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 >> > > > > -- > > > > 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 jacque at hyperactivesw.com Sun May 8 14:21:23 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 08 May 2011 13:21:23 -0500 Subject: Cannot use Message Box In-Reply-To: References: <3986AAFD-616C-4FF6-AB59-208511A9176C@mac.com> <4DC5D5E1.2020402@pdslabs.net> <4DC5DC1D.9070606@pdslabs.net> <4DC5FF99.8010306@hyperactivesw.com> Message-ID: <4DC6DF23.8000608@hyperactivesw.com> On 5/8/11 1:07 AM, Pete wrote: > Well I guess that's the point. We shouldn't be clearing globals that don'e > "belong" to LC so why on earth is LC even trying to look at system globals > that don;t belong to it? So your scripts can use them. For example, it is common for scripts to retrieve the $HOME global and other path-related info. It is standard practice to retrieve the $# global in standalones so that you can operate on its parameters. LiveCode doesn't discriminate or presume to know which globals your stacks will need, it just gets them from the OS and gives you access. I think you'd hear a lot of squawking if that capability were removed. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From rabit at dimensionB.de Sun May 8 18:14:51 2011 From: rabit at dimensionB.de (Ralf Bitter) Date: Mon, 9 May 2011 00:14:51 +0200 Subject: [ANN] revIgniter v1.3.18b Message-ID: <059ACFA1-FA11-44D2-AEBC-6FB1AFBDE8FD@dimensionB.de> revIgniter v1.3.18b has been released. Since the announcement of version 1.3.10b in September 2010 I kept silent to avoid augmented noise on this list. Now I thought it may be time again and appropriate to remind those interested in revIgniter that the framework is still alive and continually improved. So, here are the news: revIgniter version 1.3.18b includes modifications of the Captcha library, the Formvalidation library and the sitelinks plugin. This means that the Captcha library now provides two flavors of captchas, the rigRequiredR form validation rule accounts for prefilled form fields, there are three new form validation rules and the sitelinks plugin now additionally enables you to use images instead of text for your navigation links. Furthermore there are two bug fixes. Model file names are no longer restricted to lowercase letters. Email message IDs are now generated correctly. Info and download as always at: http://www.revigniter.com/ Ralf From andre at andregarzia.com Sun May 8 18:58:33 2011 From: andre at andregarzia.com (Andre Garzia) Date: Sun, 8 May 2011 12:58:33 -1000 Subject: [ANN] revIgniter v1.3.18b In-Reply-To: <059ACFA1-FA11-44D2-AEBC-6FB1AFBDE8FD@dimensionB.de> References: <059ACFA1-FA11-44D2-AEBC-6FB1AFBDE8FD@dimensionB.de> Message-ID: I just want once again to say my appreciations, kudos and positive things about Ralf and RevIgniter. This framework is YEARS beyond any other web application framework built for LiveCode and yes, I am counting my own frameworks in here. RevIgniter is such a pleasure to use that makes delivering web application with RevServer a fun endeavour. Not only it is fun to use but it is also robust and well designed, actually, the active record design is so good that I wish it would work on the desktop. If anyone here is using RevServer to build web applications, you can't do anything more positive for your own productivity than checking this out. Ralf, thanks again for the hard work, this library rocks! On Sun, May 8, 2011 at 12:14 PM, Ralf Bitter wrote: > > revIgniter v1.3.18b has been released. > > Since the announcement of version 1.3.10b in September 2010 > I kept silent to avoid augmented noise on this list. > Now I thought it may be time again and appropriate to remind > those interested in revIgniter that the framework is still alive and > continually improved. > > So, here are the news: > > revIgniter version 1.3.18b includes modifications of the Captcha > library, the Formvalidation library and the sitelinks plugin. > This means that the Captcha library now provides two flavors > of captchas, the rigRequiredR form validation rule accounts > for prefilled form fields, there are three new form validation > rules and the sitelinks plugin now additionally enables you to > use images instead of text for your navigation links. > Furthermore there are two bug fixes. Model file names are > no longer restricted to lowercase letters. Email message IDs > are now generated correctly. > > Info and download as always at: http://www.revigniter.com/ > > > Ralf > > _______________________________________________ > use-livecode mailing list > use-livecode 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 peterwawood at gmail.com Mon May 9 00:31:26 2011 From: peterwawood at gmail.com (Peter W A Wood) Date: Mon, 9 May 2011 12:31:26 +0800 Subject: Convert Packet decimals comp-3 and comp-6 In-Reply-To: <1304693585636-3503135.post@n4.nabble.com> References: <1304613380194-3498822.post@n4.nabble.com> <99509FCE-8525-4DFF-A65C-15F782DB7553@gmail.com> <1304690612246-3502906.post@n4.nabble.com> <1304693585636-3503135.post@n4.nabble.com> Message-ID: Hi Josep > The file come from a PC-MSDOS with a old ACUCOBOL-GT application, it's the > customer file data, I have the File Definition with the structure of record. Then the test will be ASCII encoded so you don't need to worry about having to convert the text; > It's a one-off conversion but I have many files to convert. > > So my plan was read the file as chunks of bytes, and for each record (divide > the lenght of the file by the lenght of a record) get the chars for each > field. Making a conversion for the comp-3 and comp-6 data. That sounds feasible. One thing that you may need to watch out for is that the records may have been padded by COBOL when written. For example, a PIC9(5) COMP-3 file could possibly be padded with one byte so that it takes a multiple of either 2 or 4 bytes. Regards Peter From dglass at graymattercomputing.com Mon May 9 00:37:38 2011 From: dglass at graymattercomputing.com (David Glass) Date: Sun, 08 May 2011 21:37:38 -0700 Subject: Mouse clicks and cursor change lost after certain actions Message-ID: <4DC76F92.1010504@graymattercomputing.com> That subject is pretty bad, but I don't know how else to describe the issue. :oops: I have a multi-paned interface with one horizontal splitter, and one vertical splitter. The code for the horizontal splitter looks like this: ------------------------- on mouseenter if the tool is "browse tool" then lock cursor set the cursor to 64 end if end mouseenter on mouseleave if the tool is "browse tool" then unlock cursor end if end mouseleave on mousemove if the tool is "browse tool" then repeat until the mouse is up if item 2 of the mouseloc > 196 and item 2 of the mouseloc < 584 then set the loc of me to item 1 of the loc of me, item 2 of the mouseloc --rect = left, top, right, bottom --adjust the stuff above the splitter set the rect of group "DataGrid 2" to the left of group "DataGrid 2", the top of group "DataGrid 2", the right of group "DataGrid 2", the top of me --adjust the stuff below the splitter set the rect of group "DataGrid 3" to the left of group "DataGrid 3", the bottom of me, the right of group "DataGrid 3", the bottom of group "DataGrid 3" end if end repeat end if end mousemove ------------------------------- This works as expected, and the code for the vertical splitter is the same (with obvious changes for resizing the vertical instead of the horizontal). The problem is that after doing any resizing -- so the stuff in 'mousemove' has finished, and the cursor has been unlocked (mouseleave) -- the mouse stops behaving: 1. the cursor will not change if I move the mouse into the splitter control (mouseenter) 1.1 clicking anywhere in the card/window 'wakes' the cursor up, and the mouseenter code will then fire when appropriate. 2. the first click is swallowed by...something. I haven't figured out where it goes. It doesn't matter where I click, the click doesn't seem to register. 2.1. I can click on the Edit button, and I am not released from Browse mode until I click the Edit button a second time. 2.2. If I try to click on the code editor hiding behind the active card, it does not come to the front until I click it again. Interestingly, if I ignore that the cursor hasn't visibly changed, and drag the splitter around, it does move (and the cursor changes when the splitter first starts to move), and then when I release the mouse button the cursor behaves properly so I can immediately put the cursor in the splitter and the cursor changes. Until I do it again, and then I'm back to the behavior above. So it almost works out to 'every other time it's right.' :? This description isn't much better than the subject, but I'm not sure how else to describe the behavior I'm seeing. -- David Glass - Gray Matter Computing graymattercomputing.com From tsj at unimelb.edu.au Mon May 9 00:51:06 2011 From: tsj at unimelb.edu.au (Terry Judd) Date: Mon, 9 May 2011 14:51:06 +1000 Subject: Mouse clicks and cursor change lost after certain actions In-Reply-To: <4DC76F92.1010504@graymattercomputing.com> Message-ID: Hi David - Maybe something to do with using a repeat loop within the mouseMove handler. Here's a script for a split pane (horizonal split) display out of a stack of mine that does something similar (ignore the internal details of the mouseDown handler) and uses a flag to track the status of the mouse rather than a repeat loop. HTH, Terry... local pDown, pYoffset on mouseEnter lock cursor set the cursor to 8113 end mouseEnter on mouseLeave put false into pDown unlock cursor end mouseLeave on mouseDown put true into pDown put the mouseV -(the top of me) into pYoffset end mouseDown on mouseUp put false into pDown end mouseUp on mouseRelease put false into pDown end mouseRelease on mouseMove x,y if pDown then lock screen set the top of me to min(540,max(y-pYoffset,203)) set the top of grp "messageDetails" to the bottom of me -2 put the rect of fld "message" into tRect put 701 into item 4 of tRect set the rect of fld "message" to tRect put the rect of grp "announcements_DG" into tRect put the top of me +1 into item 4 of tRect set the rect of grp "announcements_DG" to tRect unlock screen end if end mouseMove On 09/05/2011 02:37 PM, "David Glass" wrote: > That subject is pretty bad, but I don't know how else to describe the > issue. :oops: > > I have a multi-paned interface with one horizontal splitter, and one > vertical splitter. The code for the horizontal splitter looks like this: > > ------------------------- > on mouseenter > if the tool is "browse tool" then > lock cursor > set the cursor to 64 > end if > > end mouseenter > > on mouseleave > if the tool is "browse tool" then > unlock cursor > end if > > end mouseleave > > on mousemove > if the tool is "browse tool" then > repeat until the mouse is up > if item 2 of the mouseloc > 196 and item 2 of the mouseloc > < 584 then > set the loc of me to item 1 of the loc of me, item 2 of > the mouseloc > --rect = left, top, right, bottom > --adjust the stuff above the splitter > set the rect of group "DataGrid 2" to the left of group > "DataGrid 2", the top of group "DataGrid 2", the right of group > "DataGrid 2", the top of me > --adjust the stuff below the splitter > set the rect of group "DataGrid 3" to the left of group > "DataGrid 3", the bottom of me, the right of group "DataGrid 3", the > bottom of group "DataGrid 3" > end if > > end repeat > end if > > end mousemove > > ------------------------------- > > This works as expected, and the code for the vertical splitter is the > same (with obvious changes for resizing the vertical instead of the > horizontal). > > The problem is that after doing any resizing -- so the stuff in > 'mousemove' has finished, and the cursor has been unlocked (mouseleave) > -- the mouse stops behaving: > > 1. the cursor will not change if I move the mouse into the splitter > control (mouseenter) > 1.1 clicking anywhere in the card/window 'wakes' the cursor up, and the > mouseenter code will then fire when appropriate. > > 2. the first click is swallowed by...something. I haven't figured out > where it goes. It doesn't matter where I click, the click doesn't seem > to register. > 2.1. I can click on the Edit button, and I am not released from Browse > mode until I click the Edit button a second time. > 2.2. If I try to click on the code editor hiding behind the active card, > it does not come to the front until I click it again. > > Interestingly, if I ignore that the cursor hasn't visibly changed, and > drag the splitter around, it does move (and the cursor changes when the > splitter first starts to move), and then when I release the mouse button > the cursor behaves properly so I can immediately put the cursor in the > splitter and the cursor changes. Until I do it again, and then I'm back > to the behavior above. So it almost works out to 'every other time it's > right.' :? > > This description isn't much better than the subject, but I'm not sure > how else to describe the behavior I'm seeing. -- Dr Terry Judd | Senior Lecturer in Medical Education Medical Education Unit Melbourne Medical School The University of Melbourne From peterwawood at gmail.com Mon May 9 00:57:41 2011 From: peterwawood at gmail.com (Peter W A Wood) Date: Mon, 9 May 2011 12:57:41 +0800 Subject: command line examples In-Reply-To: References: Message-ID: Hello Todd On 6 May 2011, at 22:52, Todd Geist wrote: > Hello, > > I had nice long chat with Richard Gaskin yesterday. Amongst the myriad of > topics we discussed was how to build simple apps that could be started from > the command line and run silently in the back ground. I have been trying to > do a little R and D on this idea, but I am stymied by the fact that I can't > even get an app to launch via the command line. I have searched the docs > and searched on line, and It seems as though this can be done. But I can't > find any really documentation on it, or any examples. > > I have an standalone called "served.app" What is the terminal command that > will launch it? Are there special messages sent to the stack when it is > launched this way? What are the options that can be passed? I have heard a > rumor that there is an option "-ui", but I have not as yet seen proof of > it's existence. > > Does anyone have any examples or articles on how this is done? Once you have created the standalone, you need to do the following: 1. Select served.app in the finder. 2. Right-click and select "Show Package Contents" 3. You will find a file called served that finder describes as a Unix executable. 4. Copy the file to the folder from which you want to run it. 5. Open terminal 6. Change to the folder (in 4 above). 7. ./served -ui I found out how to do this from a post on the RunRev Forums from R.Robert Hope this is what you were looking for. Regards Peter From dglass at graymattercomputing.com Mon May 9 01:12:35 2011 From: dglass at graymattercomputing.com (David Glass) Date: Sun, 08 May 2011 22:12:35 -0700 Subject: Mouse clicks and cursor change lost after certain actions In-Reply-To: References: Message-ID: <4DC777C3.2050609@graymattercomputing.com> That was it! Weird. Thanks! On 05/08/2011 9:51 PM, Terry Judd wrote: > Maybe something to do with using a repeat loop within the > mouseMove handler. -- David Glass - Gray Matter Computing graymattercomputing.com From jacque at hyperactivesw.com Mon May 9 01:27:28 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 09 May 2011 00:27:28 -0500 Subject: Mouse clicks and cursor change lost after certain actions In-Reply-To: <4DC76F92.1010504@graymattercomputing.com> References: <4DC76F92.1010504@graymattercomputing.com> Message-ID: <4DC77B40.4080709@hyperactivesw.com> On 5/8/11 11:37 PM, David Glass wrote: > That subject is pretty bad, but I don't know how else to describe the > issue. :oops: > > I have a multi-paned interface with one horizontal splitter, and one > vertical splitter. The code for the horizontal splitter looks like this: > > ------------------------- > on mouseenter > if the tool is "browse tool" then > lock cursor > set the cursor to 64 > end if > > end mouseenter > > on mouseleave > if the tool is "browse tool" then > unlock cursor > end if > > end mouseleave > > on mousemove > if the tool is "browse tool" then > repeat until the mouse is up > if item 2 of the mouseloc > 196 and item 2 of the mouseloc < 584 then > set the loc of me to item 1 of the loc of me, item 2 of the mouseloc > --rect = left, top, right, bottom > --adjust the stuff above the splitter > set the rect of group "DataGrid 2" to the left of group "DataGrid 2", > the top of group "DataGrid 2", the right of group "DataGrid 2", the top > of me > --adjust the stuff below the splitter > set the rect of group "DataGrid 3" to the left of group "DataGrid 3", > the bottom of me, the right of group "DataGrid 3", the bottom of group > "DataGrid 3" > end if > > end repeat > end if > > end mousemove > > ------------------------------- > > This works as expected, and the code for the vertical splitter is the > same (with obvious changes for resizing the vertical instead of the > horizontal). > > The problem is that after doing any resizing -- so the stuff in > 'mousemove' has finished, and the cursor has been unlocked (mouseleave) > -- the mouse stops behaving: Terry showed a better way to do this. I think he was right about the problem. MouseMove is sent continually and should be used instead of a repeat loop; combining the two is probably setting up some kind of message queue that needs to clear before anything else happens. A repeat loop locks out all messages until it finishes, and after that the queued messages are handled. The best way to manage things is to use mousemove to do all your resizing; it is sent repeatedly so you don't need any loops. And in between each mousemove message the engine has a chance to do housekeeping and cleans up the queue. BTW, you don't need to check "the tool". The scripts won't run unless the tool is the browse tool; otherwise you're in edit mode. I have a web page discussing issues with checking the state of the mouse in a repeat loop, which should be avoided whenever possible: -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dglass at graymattercomputing.com Mon May 9 02:36:55 2011 From: dglass at graymattercomputing.com (David Glass) Date: Sun, 08 May 2011 23:36:55 -0700 Subject: Mouse clicks and cursor change lost after certain actions In-Reply-To: <4DC77B40.4080709@hyperactivesw.com> References: <4DC76F92.1010504@graymattercomputing.com> <4DC77B40.4080709@hyperactivesw.com> Message-ID: <4DC78B87.8060108@graymattercomputing.com> Hmmm...I could have sworn I was getting resize interaction while trying to edit, and as a result added that check. Not happening now, so maybe it's just my unfamiliarity/lack of comfort with the LC workflow (no edit-compile-test process) that's got me misremembering. Definitely much more ... fluid/loose than I'm used to. Thanks for the correction. On 05/08/2011 10:27 PM, J. Landman Gay wrote: > BTW, you don't need to check "the tool". The scripts won't run unless > the tool is the browse tool; otherwise you're in edit mode. -- David Glass - Gray Matter Computing graymattercomputing.com From curry at pair.com Mon May 9 03:36:28 2011 From: curry at pair.com (Curry Kenworthy) Date: Mon, 09 May 2011 02:36:28 -0500 Subject: Yellow Blues on Glows In-Reply-To: References: Message-ID: <4DC7997C.6080702@pair.com> In LiveCode 4.6.1, Windows 7, I'm suddenly getting blues and yellows swapped for outer glows! A blue glow is now yellow and vice versa. Rev 4.0 and LiveCode 4.5.3 don't have this problem; the colors are not reversed. (Not sure if anything else other than outer glow is affected.) Can anyone else confirm this color switchout? Best, Curry From jmyepes at mac.com Mon May 9 06:28:18 2011 From: jmyepes at mac.com (JosepM) Date: Mon, 9 May 2011 03:28:18 -0700 (PDT) Subject: Convert Packet decimals comp-3 and comp-6 In-Reply-To: References: <1304613380194-3498822.post@n4.nabble.com> <99509FCE-8525-4DFF-A65C-15F782DB7553@gmail.com> <1304690612246-3502906.post@n4.nabble.com> <1304693585636-3503135.post@n4.nabble.com> Message-ID: <1304936898455-3508877.post@n4.nabble.com> Hi Peter, So PIC9(5) COMP-3 is 5 bytes / 2 = 2.5 rounded to 3 bytes? Also I see that the first record contain some garbage or almost I don't have idea how decode it. Salut, Josep -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Convert-Packet-decimals-comp-3-and-comp-6-tp3498822p3508877.html Sent from the Revolution - User mailing list archive at Nabble.com. From livfoss at mac.com Mon May 9 08:02:47 2011 From: livfoss at mac.com (Graham Samuel) Date: Mon, 09 May 2011 14:02:47 +0200 Subject: Approach to PDF input within LC Message-ID: I am trying to write an app in LC that reads PDFs (actually just images, so a restricted version) as well as various other formats which LC can tackle directly like JPG (this easy bit is already coded). This has to work on Windows and it has to be free, since my users are very price-sensitive. As there is no native method for opening PDFs in LC, I will have to run another process to do this. I want my user to be unaware of the complications involved, and to have a very simple one-step installation procedure. I am sadly ignorant of almost everything I need for this (command-line controls, the 'shell' concept, interprocess communication, 'free' software etc etc, even the behaviour of Windows itself), but so far I have seen two possible solutions: to use ImageMagick, which is a freestanding app that can be installed on Windows and run via shell (I think); and using ICEpdf, which is a Java program specialising in PDF reading, which (obviously) means that my user has to install Java as well as the program itself. For me this is a very steep learning curve indeed, and I would be grateful for any pointers toward the best way to tackle this problem and how to learn enough to do it. Later I will have to go through the whole wretched issue again with TIF files. I almost feel like writing my own input method, since at least I am confident in LC - but I suppose that way madness lies. TIA Graham From lists at mangomultimedia.com Mon May 9 08:21:47 2011 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 9 May 2011 08:21:47 -0400 Subject: XML to array - what are the options? In-Reply-To: References: <6399A7CB-FABF-4D15-A621-0209D9F11AA4@clarkeandclarke.co.uk> <398A8368-EF5F-48E6-946C-77472D9A5DA0@yahoo.com> Message-ID: On Sun, May 8, 2011 at 1:48 PM, Keith Clarke < keith.clarke at clarkeandclarke.co.uk> wrote: > Thanks Stephen, > A mutli-dimensional array primer and worked-example stack working on XML > file data - just what I needed! > Keith, The latest version of the routines can be found on revOnline: http://revonline2.runrev.com/stack/571/XMLAndArrays -- Trevor DeVore Blue Mango Learning Systems LiveCode Resources for Developers: http://livecode.bluemangolearning.com Get SQL Yoga as part of the Omegabundle for LiveCode 2011: Save 85% on essential tools for LiveCode development - omegabundle.com. From keith.clarke at clarkeandclarke.co.uk Mon May 9 08:43:17 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Mon, 9 May 2011 13:43:17 +0100 Subject: XML to array - what are the options? In-Reply-To: References: <6399A7CB-FABF-4D15-A621-0209D9F11AA4@clarkeandclarke.co.uk> <398A8368-EF5F-48E6-946C-77472D9A5DA0@yahoo.com> Message-ID: <9F99E7E0-D005-4D88-B108-314803ED5DC6@clarkeandclarke.co.uk> Hi Trevor, Thanks for the steer, the stack update - and for creating and sharing this great resource! Best, Keith.. On 9 May 2011, at 13:21, Trevor DeVore wrote: > > Keith, > > The latest version of the routines can be found on revOnline: > > http://revonline2.runrev.com/stack/571/XMLAndArrays > > -- > Trevor DeVore > Blue Mango Learning Systems > > LiveCode Resources for Developers: http://livecode.bluemangolearning.com > > Get SQL Yoga as part of the Omegabundle for LiveCode 2011: Save 85% on > essential tools for LiveCode development - omegabundle.com. From peterwawood at gmail.com Mon May 9 08:50:25 2011 From: peterwawood at gmail.com (Peter W A Wood) Date: Mon, 9 May 2011 20:50:25 +0800 Subject: Convert Packet decimals comp-3 and comp-6 In-Reply-To: <1304936898455-3508877.post@n4.nabble.com> References: <1304613380194-3498822.post@n4.nabble.com> <99509FCE-8525-4DFF-A65C-15F782DB7553@gmail.com> <1304690612246-3502906.post@n4.nabble.com> <1304693585636-3503135.post@n4.nabble.com> <1304936898455-3508877.post@n4.nabble.com> Message-ID: Josep On 9 May 2011 18:28, JosepM wrote: > Hi Peter, > > So PIC9(5) COMP-3 is 5 bytes / 2 = 2.5 rounded to 3 bytes? No, PIC9(5) is a 3 byte field - 5 digits + sign - each of which is 4 bits long. When a PIC9(5) field is included in a record the compiler might insert a 'padding' byte so that the next field starts on a 'word' boundary. I'm fairly certain that IBM COBOL pads records, I don't know about ACCUCOBOL. > Also I see that the first record contain some garbage or almost I don't have > idea how decode it. > It is probably a header record. Regards Peter From gbojsza at gmail.com Mon May 9 09:36:49 2011 From: gbojsza at gmail.com (Glen Bojsza) Date: Mon, 9 May 2011 07:36:49 -0600 Subject: SSH for Livecode Message-ID: Hello, I was wondering if anyone has a solution for supporting SSH as a client with Livecode. It would be nice if it was done in Livecode but I am open to any ideas. There is putty at putty.org which looks like it has lots of other benefits. Could Putty be made into an external and then be used for all of it's features with Livecode? thanks, Glen From bobs at twft.com Mon May 9 13:12:52 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 9 May 2011 10:12:52 -0700 Subject: SSH for Livecode In-Reply-To: References: Message-ID: SSH is built into all modern UNIX based systems. Putty is for Windows based systems (and Unix, but why you would use putty when it already has SSH I do not know). I thought about deploying Putty on all my windows devices a long time ago, but when I asked myself the question, "What can I do with it?" the answer came back, not much. Virtually all of the queries that can return anything can be done with WMI. PSExec, part of PSTools allows you to get a remote command shell into any Windows device with the firewall set up to accept connections over the right ports and valid local administrator credentials on the host device. Once you have that you can do almost anything. Bob On May 9, 2011, at 6:36 AM, Glen Bojsza wrote: > Hello, > > I was wondering if anyone has a solution for supporting SSH as a client with > Livecode. > > It would be nice if it was done in Livecode but I am open to any ideas. > > There is putty at putty.org which looks like it has lots of other benefits. > Could Putty be made into an external and then be used for all of it's > features with Livecode? > > thanks, > > Glen > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From maarten.koopmans at gmail.com Mon May 9 13:26:55 2011 From: maarten.koopmans at gmail.com (Maarten Koopmans) Date: Mon, 9 May 2011 19:26:55 +0200 Subject: revdb_query in function silently errs out Message-ID: Hi, I have a simple "select * from table" against a sqlite dbid in a function, Livecode 4.6.1 on OS 10.6.7 For some weird reason it errs out, silently. The only reason I can think of is that I didn;t close my cursor in a previous call, but other than that, I am "snow blind". Anybody ever seen this before? --Maarten From jon.landell at gmail.com Mon May 9 13:30:53 2011 From: jon.landell at gmail.com (Jonathan) Date: Mon, 9 May 2011 10:30:53 -0700 Subject: Need Assistance Message-ID: Hi guys, I am in need to create an educational learning tutorial by LiveCode. I am trying very hard but still couldn't get it done smoothly. I really need some assistance from you guys though. Can you please look at the tutorial requirements stated below: *Below is the detail description about the tutorial that I would like to create:* Design, develop, and deliver a ?tutorial-type? educational software program. Tutorial simply means that you are teaching something new?it doesn?t imply either a direct instruction or constructivist approach. The program should constitute a single lesson in a larger curriculum. The educational software program must include the following elements: 1. The main design is a tutorial (i.e., teaches something new) 2. Practice on a particular skill/task is included. 3. A specific multiple-choice or short-answer testing strand (described below) 4. A summative evaluation at completion of the lesson. 5. Appropriate feedback is included that addresses the student by name and is randomly selected from three or more feedback options for Negative Feedback and Positive Feedback 6. An instructional strategy or educational philosophy must be evident and articulated If you have any question about the requirements stated above, feel free to email me! Thanks, JYST From jacque at hyperactivesw.com Mon May 9 13:42:31 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 09 May 2011 12:42:31 -0500 Subject: Mouse clicks and cursor change lost after certain actions In-Reply-To: <4DC78B87.8060108@graymattercomputing.com> References: <4DC76F92.1010504@graymattercomputing.com> <4DC77B40.4080709@hyperactivesw.com> <4DC78B87.8060108@graymattercomputing.com> Message-ID: <4DC82787.2050503@hyperactivesw.com> On 5/9/11 1:36 AM, David Glass wrote: > Definitely much more ... fluid/loose than I'm used to. That's one of the hardest things for people to get used to if they come from more structured languages. Eventually you start loving it. The tool check won't hurt anything, so it wasn't really an error. You're on the right path. ;) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobs at twft.com Mon May 9 13:47:44 2011 From: bobs at twft.com (Bob Sneidar) Date: Mon, 9 May 2011 10:47:44 -0700 Subject: revdb_query in function silently errs out In-Reply-To: References: Message-ID: <8787726D-8650-409B-89DF-90649C252D7B@twft.com> How long are you leaving the connection idle? SQL typically has connection timeouts built in so that someone cannot use up all the available threads and then dump them without terminating them as a means of denying service. When working with SQL I like to open/reconnect, make my queries, then disconnect right away without any user interaction. Otherwise, a user could leave an error dialog open and not respond until after the database times out. I usually have in my stack or database connection card scripts for initializing and making the connection, idling the connection (which is really a disconnect) and closing the connection. To SQL this results in either a connection being made, or else a disconnect, but to my apps after the first connection is made, I set a state wherein I know I can proceed after the first connection is made because I know the database is there and responding to queries. Hence the "idle state". I wrap all my sql connection/query commands in a try/catch statement so that if an error is generated, I call my disconnect handler first, then alert the user that an error has occurred. This has eliminated virtually all the normal SQL issues I used to have. It's also good programming practice for SQL. Of course, SQLite is a local file (typically) so this is not as much of an issue, but still I believe there are default timeouts you can encounter. Also, consider seriously, Trevor DeVore's great SQLYoga utility, which takes most of the pain and suffering out of working with SQL. You can return queries as lists, arrays or records, which I think are a special kind of SQLYoga array. Bob On May 9, 2011, at 10:26 AM, Maarten Koopmans wrote: > Hi, > > I have a simple "select * from table" against a sqlite dbid in a function, > Livecode 4.6.1 on OS 10.6.7 > > For some weird reason it errs out, silently. The only reason I can think of > is that I didn;t close my cursor in a previous call, but other than that, I > am "snow blind". Anybody ever seen this before? > > --Maarten > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From livfoss at mac.com Mon May 9 13:47:41 2011 From: livfoss at mac.com (Graham Samuel) Date: Mon, 09 May 2011 19:47:41 +0200 Subject: Approach to PDF input within LC - correction Message-ID: In my previous email on this subject I said that the PDF-reading software which I am trying to conjure up > This has to work on Windows and it has to be free, since my users are very price-sensitive. I should have made it clear that by 'free' I meant that the developer can distribute it without charging the end user, as with LC itself. I am perfectly willing to pay a one-off developer's licence fee for any such software. TIA Graham From dbrooks at unlserve.unl.edu Mon May 9 14:14:30 2011 From: dbrooks at unlserve.unl.edu (David Brooks) Date: Mon, 9 May 2011 13:14:30 -0500 Subject: Menu Buttons In-Reply-To: References: <6399A7CB-FABF-4D15-A621-0209D9F11AA4@clarkeandclarke.co.uk> <398A8368-EF5F-48E6-946C-77472D9A5DA0@yahoo.com> Message-ID: <84ADB212-3170-4133-BD85-5169A4E0087C@unlserve.unl.edu> I am trying to create a series of "helps" where I step a user through a process using the underlying tool. I have one "help" field that variously shows, hides, fills, and moves around. The scripts "say" things (aural feedback). There is a "pointer" button that locates as needed, flashes, and shows/hides. Here's my problem. Suppose I have a menu button that affords several choices. In my application, I can click the button, move among the choices from a list that is displayed -- with a choice automatically hiliting as I move around (hovering) in the list, and then click to make the hilited choice. I want to drive that from a script. Is there an easy way? The list seems to behave like some sort of modal stack that I must deal with. That is, if I create a script that pops out the list, that list behaves as I would expect -- FROM MOUSE ACTIONS -- but I haven't found scripting that leads to the same effects. I suppose I could capture images and use these AS IF they were the real thing, but then I'd have less flexibility than if I did this from scripts. Should I simply redesign things such that buttons display fields and try to go from there? I seem to be able to get that approach to work from scripts, but it seems cumbersome. Thanks in advance for your help. Dave B. From janschenkel at yahoo.com Mon May 9 14:24:19 2011 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon, 9 May 2011 11:24:19 -0700 (PDT) Subject: Approach to PDF input within LC In-Reply-To: Message-ID: <671027.58243.qm@web65410.mail.ac4.yahoo.com> --- On Mon, 5/9/11, Graham Samuel wrote: > I am trying to write an app in LC > that reads PDFs (actually just images, so a restricted > version) as well as various other formats which LC can > tackle directly like JPG (this easy bit is already coded). > This has to work on Windows and it has to be free, since my > users are very price-sensitive. > > As there is no native method for opening PDFs in LC, I will > have to run another process to do this. I want my user to be > unaware of the complications involved, and to have a very > simple one-step installation procedure. > > I am sadly ignorant of almost everything I need for this > (command-line controls, the 'shell' concept, interprocess > communication, 'free' software etc etc, even the behaviour > of Windows itself), but so far I have seen two possible > solutions: to use ImageMagick, which is a freestanding app > that can be installed on Windows and run via shell (I > think); and using ICEpdf, which is a Java program > specialising in PDF reading, which (obviously) means that my > user has to install Java as well as the program itself. > > For me this is a very steep learning curve indeed, and I > would be grateful for any pointers toward the best way to > tackle this problem and how to learn enough to do it. Later > I will have to go through the whole wretched issue again > with TIF files. I almost feel like writing my own input > method, since at least I am confident in LC - but I suppose > that way madness lies. > > TIA > > Graham > Hi Graham, ImageMagick can convert PDF files to images, but only if GhostScript is installed; and in the Java world, both ICEpdf and PdfRenderer can render PDF files to images. All these options introduce dependencies on some sort of additional installs, I'm afraid. I've never tested this, but you could try loading the PDF file in a revBrowser instance, and use the revBrowserSnapshot command to extract a snapshot - though that may only work for HTML pages, and I have no idea how you'd flip through the individual pages of the PDF file. Looking at the code of Quartam PDF Library, I can think of a way to extract JPG images, but that would not suffice for other types of images in the PDF file. Could be a cool project if someone wants to tackle adding it to the open source project ;-) 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 dunbarx at aol.com Mon May 9 15:16:52 2011 From: dunbarx at aol.com (dunbarx at aol.com) Date: Mon, 09 May 2011 15:16:52 -0400 Subject: Menu Buttons In-Reply-To: <84ADB212-3170-4133-BD85-5169A4E0087C@unlserve.unl.edu> References: <6399A7CB-FABF-4D15-A621-0209D9F11AA4@clarkeandclarke.co.uk><398A8368-EF5F-48E6-946C-77472D9A5DA0@yahoo.com> <84ADB212-3170-4133-BD85-5169A4E0087C@unlserve.unl.edu> Message-ID: <8CDDC94C9E0553F-B74-2E8A@webmail-d094.sysops.aol.com> When you say you want to drive the menuItems displayed by script, does that mean you never want to use the mouse at all? I made a workaround recently where I did something like this, and I am giving you a snippet for your examination. Make two buttons, one an ordinary one, and one a combo box. Put several choices into the combo. Place the comboBox so that the loc of its selection arrow is, say, "200,200". In the regular button script write: on mouseUp click at "200,200" wait 50 click at "175," && 225 + random(100) end mouseUp This should open the combo box and select a random line within it. You can trap a "menuPick" message inside the combo box. Not sure what you are doing, but this might give you a hint as to a possible method. HTH. Craig Newman -----Original Message----- From: David Brooks To: How to use LiveCode Sent: Mon, May 9, 2011 2:14 pm Subject: Menu Buttons I am trying to create a series of "helps" where I step a user through a process using the underlying tool. I have one "help" field that variously shows, hides, fills, and moves around. The scripts "say" things (aural feedback). There is a "pointer" button that locates as needed, flashes, and shows/hides. Here's my problem. Suppose I have a menu button that affords several choices. In my application, I can click the button, move among the choices from a list that is displayed -- with a choice automatically hiliting as I move around (hovering) in the list, and then click to make the hilited choice. I want to drive that from a script. Is there an easy way? The list seems to behave like some sort of modal stack that I must deal with. That is, if I create a script that pops out the list, that list behaves as I would expect -- FROM MOUSE ACTIONS -- but I haven't found scripting that leads to the same effects. I suppose I could capture images and use these AS IF they were the real thing, but then I'd have less flexibility than if I did this from scripts. Should I simply redesign things such that buttons display fields and try to go from there? I seem to be able to get that approach to work from scripts, but it seems cumbersome. Thanks in advance for your help. Dave B. _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From janschenkel at yahoo.com Mon May 9 15:20:26 2011 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon, 9 May 2011 12:20:26 -0700 (PDT) Subject: perhapse.. In-Reply-To: <4DC60030.2060201@hyperactivesw.com> Message-ID: <282770.30914.qm@web65409.mail.ac4.yahoo.com> --- On Sat, 5/7/11, J. Landman Gay wrote: > On 5/7/11 8:16 AM, baccheschi at tin.it > wrote: > >???Perhapse.. > > Has it been a nonsense to ask if it could be possible > to > > perform ON THE WEB a? "resizeStack" ? > > I don't think it is possible using LiveCode alone. The > stack is presented in a fixed-size window which can't > change. There might be a way to do it with some fancy > javascript and a web page reload but I'm not sure how. > > -- Jacqueline Landman Gay? ? ? > Actually, you can make a revlet resize based on the width and height of the web browser - I can't remember where I picked up this trick, but here it goes: - create a new stack "ResizableRevlet" and draw an oval graphic on it - set the stack script to: ## on preOpenStack -- resizeStack isn't sent to the revlet at startup -- so we have to trigger it ourselves in preOpenStack dispatch "resizeStack" with (the width of me), (the height of me) pass preOpenStack end preOpenStack on resizeStack pNewWidth, pNewHeight set the rectangle of graphic "Oval" to \ 10, 10, (pNewWidth - 10), (pNewHeight - 10) pass resizeStack end resizeStack ## - play around with it first to make sure the resize works - perhaps add some color to the oval graphic - now build it as a standalone for the Web - your web browser will open, but no resizing happens - modify the file 'test.html' in the build directory -> change the block: ## ## -> to: ## ## - now open the test.html file again in your web browser -> the revlet area should occupy 80% of the browser window and resize as you resize the browser window -> it may flicker and/or temporarily show a gray or white area though, so use this technioque sparingly However, if you want to resize this based on other parameters, I wish you the best of luck with JavaScript and HTML DOM fiddling ;-) 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) From jacque at hyperactivesw.com Mon May 9 16:00:37 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Mon, 09 May 2011 15:00:37 -0500 Subject: perhapse.. In-Reply-To: <282770.30914.qm@web65409.mail.ac4.yahoo.com> References: <282770.30914.qm@web65409.mail.ac4.yahoo.com> Message-ID: <4DC847E5.6080407@hyperactivesw.com> On 5/9/11 2:20 PM, Jan Schenkel wrote: > --- On Sat, 5/7/11, J. Landman Gay wrote: >> On 5/7/11 8:16 AM, baccheschi at tin.it >> wrote: >>> Perhapse.. >>> Has it been a nonsense to ask if it could be possible >> to >>> perform ON THE WEB a "resizeStack" ? >> >> I don't think it is possible using LiveCode alone. The >> stack is presented in a fixed-size window which can't >> change. There might be a way to do it with some fancy >> javascript and a web page reload but I'm not sure how. >> >> -- Jacqueline Landman Gay >> > > Actually, you can make a revlet resize based on the width and height of the web browser - I can't remember where I picked up this trick, but here it goes: Cool, I'm happy to be wrong. Thanks for the tip, Jan. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From maarten.koopmans at gmail.com Mon May 9 16:27:08 2011 From: maarten.koopmans at gmail.com (Maarten Koopmans) Date: Mon, 9 May 2011 22:27:08 +0200 Subject: revdb_query in function silently errs out In-Reply-To: <8787726D-8650-409B-89DF-90649C252D7B@twft.com> References: <8787726D-8650-409B-89DF-90649C252D7B@twft.com> Message-ID: I'll try that and maybe sqlyoga, but I am using sqlite with only milliseconds in between. But query results as arrays etc. Sounds like a missing piece, so while typing I have decided to give sqlyoga a try. --Maarten On Monday, May 9, 2011, Bob Sneidar wrote: > How long are you leaving the connection idle? SQL typically has connection timeouts built in so that someone cannot use up all the available threads and then dump them without terminating them as a means of denying service. > > When working with SQL I like to open/reconnect, make my queries, then disconnect right away without any user interaction. Otherwise, a user could leave an error dialog open and not respond until after the database times out. > > I usually have in my stack or database connection card scripts for initializing and making the connection, idling the connection (which is really a disconnect) and closing the connection. To SQL this results in either a connection being made, or else a disconnect, but to my apps after the first connection is made, I set a state wherein I know I can proceed after the first connection is made because I know the database is there and responding to queries. Hence the "idle state". > > I wrap all my sql connection/query commands in a try/catch statement so that if an error is generated, I call my disconnect handler first, then alert the user that an error has occurred. This has eliminated virtually all the normal SQL issues I used to have. It's also good programming practice for SQL. > > Of course, SQLite is a local file (typically) so this is not as much of an issue, but still I believe there are default timeouts you can encounter. > > Also, consider seriously, Trevor DeVore's great SQLYoga utility, which takes most of the pain and suffering out of working with SQL. You can return queries as lists, arrays or records, which I think are a special kind of SQLYoga array. > > Bob > > > On May 9, 2011, at 10:26 AM, Maarten Koopmans wrote: > >> Hi, >> >> I have a simple "select * from table" against a sqlite dbid in a function, >> Livecode 4.6.1 on OS 10.6.7 >> >> For some weird reason it errs out, silently. The only reason I can think of >> is that I didn;t close my cursor in a previous call, but other than that, I >> am "snow blind". Anybody ever seen this before? >> >> --Maarten >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 form at nonsanity.com Mon May 9 16:27:42 2011 From: form at nonsanity.com (Nonsanity) Date: Mon, 9 May 2011 16:27:42 -0400 Subject: Need Assistance In-Reply-To: References: Message-ID: That sounds like something well-suited to LiveCard's strengths, and would work well with a card-based application that presents the desired information in a flashcard-style presentation and ends with a series of Q&A cards. The hard part won't be the coding (that would be fairly minimal), the time will mostly be spent getting the look and content of the application how you want it, I'm sure. Check out some of the education stacks in the Rev Online directory for examples. ~ Chris Innanen ~ Nonsanity On Mon, May 9, 2011 at 1:30 PM, Jonathan wrote: > Hi guys, > > I am in need to create an educational learning tutorial by LiveCode. I am > trying very hard but still couldn't get it done smoothly. I really need > some > assistance from you guys though. Can you please look at the tutorial > requirements stated below: > > *Below is the detail description about the tutorial that I would like to > create:* > > Design, develop, and deliver a ?tutorial-type? educational software > program. > Tutorial simply means that you are teaching something new?it doesn?t imply > either a direct instruction or constructivist approach. The program should > constitute a single lesson in a larger curriculum. > > The educational software program must include the following elements: > > 1. The main design is a tutorial (i.e., teaches something new) > 2. Practice on a particular skill/task is included. > 3. A specific multiple-choice or short-answer testing strand (described > below) > 4. A summative evaluation at completion of the lesson. > 5. Appropriate feedback is included that addresses the student by name > and is randomly selected from three or more feedback options for Negative > Feedback and Positive Feedback > 6. An instructional strategy or educational philosophy must be evident > and articulated > > If you have any question about the requirements stated above, feel free to > email me! > > Thanks, > JYST > _______________________________________________ > use-livecode mailing list > use-livecode at 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 May 9 16:48:54 2011 From: pete at mollysrevenge.com (Pete) Date: Mon, 9 May 2011 13:48:54 -0700 Subject: revdb_query in function silently errs out In-Reply-To: References: <8787726D-8650-409B-89DF-90649C252D7B@twft.com> Message-ID: Hi Maarten, Can you describe in a bit more detail what happens? Are you using revDataFromQuery or revQueryDatabase to issue the SELECT? If it errors out silently, how do you discover that it didn't work? Pete Molly's Revenge On Mon, May 9, 2011 at 1:27 PM, Maarten Koopmans wrote: > I'll try that and maybe sqlyoga, but I am using sqlite with only > milliseconds in between. But query results as arrays etc. Sounds like > a missing piece, so while typing I have decided to give sqlyoga a try. > > --Maarten > > On Monday, May 9, 2011, Bob Sneidar wrote: > > How long are you leaving the connection idle? SQL typically has > connection timeouts built in so that someone cannot use up all the available > threads and then dump them without terminating them as a means of denying > service. > > > > When working with SQL I like to open/reconnect, make my queries, then > disconnect right away without any user interaction. Otherwise, a user could > leave an error dialog open and not respond until after the database times > out. > > > > I usually have in my stack or database connection card scripts for > initializing and making the connection, idling the connection (which is > really a disconnect) and closing the connection. To SQL this results in > either a connection being made, or else a disconnect, but to my apps after > the first connection is made, I set a state wherein I know I can proceed > after the first connection is made because I know the database is there and > responding to queries. Hence the "idle state". > > > > I wrap all my sql connection/query commands in a try/catch statement so > that if an error is generated, I call my disconnect handler first, then > alert the user that an error has occurred. This has eliminated virtually all > the normal SQL issues I used to have. It's also good programming practice > for SQL. > > > > Of course, SQLite is a local file (typically) so this is not as much of > an issue, but still I believe there are default timeouts you can encounter. > > > > Also, consider seriously, Trevor DeVore's great SQLYoga utility, which > takes most of the pain and suffering out of working with SQL. You can return > queries as lists, arrays or records, which I think are a special kind of > SQLYoga array. > > > > Bob > > > > > > On May 9, 2011, at 10:26 AM, Maarten Koopmans wrote: > > > >> Hi, > >> > >> I have a simple "select * from table" against a sqlite dbid in a > function, > >> Livecode 4.6.1 on OS 10.6.7 > >> > >> For some weird reason it errs out, silently. The only reason I can think > of > >> is that I didn;t close my cursor in a previous call, but other than > that, I > >> am "snow blind". Anybody ever seen this before? > >> > >> --Maarten > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode 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 dunbarx at aol.com Mon May 9 16:53:58 2011 From: dunbarx at aol.com (dunbarx at aol.com) Date: Mon, 09 May 2011 16:53:58 -0400 Subject: Need Assistance In-Reply-To: References: Message-ID: <8CDDCA2576908AC-18A4-189B@webmail-d094.sysops.aol.com> Hi. What Chris said. But even a simple application, whether the devil is in the coding or in the look and feel, requires a lot of work. Especially if you want it all to work nicely. If you are a beginner, you will need to do a lot of work, learning, before you even start to do a lot of work. Where are you with the project? Is it (I hope) sort of working but not well? Or does not look the way you want it? If so, good news, this forum can really help. If not, and you are just starting out, this still should not discourage you. It might only take weeks to get up to a level where you can start asking questions here that will greatly help you. When you were assigned this task, did you already know LiveCode? Your question indicates to me that perhaps you did not. This is not a program, like Excel, where you can get going rapidly, within its limits, with a minimum of knowledge. It is a programming and authoring environment, where you can do anything you want to. Craig Newman -----Original Message----- From: Nonsanity To: How to use LiveCode Sent: Mon, May 9, 2011 4:27 pm Subject: Re: Need Assistance That sounds like something well-suited to LiveCard's strengths, and would work well with a card-based application that presents the desired information in a flashcard-style presentation and ends with a series of Q&A cards. The hard part won't be the coding (that would be fairly minimal), the time will mostly be spent getting the look and content of the application how you want it, I'm sure. Check out some of the education stacks in the Rev Online directory for examples. ~ Chris Innanen ~ Nonsanity On Mon, May 9, 2011 at 1:30 PM, Jonathan wrote: > Hi guys, > > I am in need to create an educational learning tutorial by LiveCode. I am > trying very hard but still couldn't get it done smoothly. I really need > some > assistance from you guys though. Can you please look at the tutorial > requirements stated below: > > *Below is the detail description about the tutorial that I would like to > create:* > > Design, develop, and deliver a ?tutorial-type? educational software > program. > Tutorial simply means that you are teaching something new?it doesn?t imply > either a direct instruction or constructivist approach. The program should > constitute a single lesson in a larger curriculum. > > The educational software program must include the following elements: > > 1. The main design is a tutorial (i.e., teaches something new) > 2. Practice on a particular skill/task is included. > 3. A specific multiple-choice or short-answer testing strand (described > below) > 4. A summative evaluation at completion of the lesson. > 5. Appropriate feedback is included that addresses the student by name > and is randomly selected from three or more feedback options for Negative > Feedback and Positive Feedback > 6. An instructional strategy or educational philosophy must be evident > and articulated > > If you have any question about the requirements stated above, feel free to > email me! > > Thanks, > JYST > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode = From john.allijn at alice.nl Mon May 9 17:18:27 2011 From: john.allijn at alice.nl (John Allijn) Date: Mon, 9 May 2011 23:18:27 +0200 Subject: Check iOS communications Message-ID: Hi, Is there a way to check if bluetooth and wifi are switched on or off on iOS? Is so, is it possible to switch it on or off? Best regards, John. From dbrooks at unlserve.unl.edu Mon May 9 17:18:41 2011 From: dbrooks at unlserve.unl.edu (David Brooks) Date: Mon, 9 May 2011 16:18:41 -0500 Subject: Menu Buttons In-Reply-To: <8CDDC94C9E0553F-B74-2E8A@webmail-d094.sysops.aol.com> References: <6399A7CB-FABF-4D15-A621-0209D9F11AA4@clarkeandclarke.co.uk><398A8368-EF5F-48E6-946C-77472D9A5DA0@yahoo.com> <84ADB212-3170-4133-BD85-5169A4E0087C@unlserve.unl.edu> <8CDDC94C9E0553F-B74-2E8A@webmail-d094.sysops.aol.com> Message-ID: I DO exactly those sorts of things. But, when I send a menupick message, nothing happens. I've tried things like: send menupick (line 3 of btn "Examples") to btn "Examples" and send menupick aspirin to btn "Examples" However, I've never used the term "combo box" and it looks as if I have a new avenue to try. Many thanks. This looks to be similar to what one would do with a field. MANY thanks. Best, Dave B. On May 9, 2011, at 2:16 PM, DunbarX at aol.com wrote: > When you say you want to drive the menuItems displayed by script, does that mean you never want to use the mouse at all? I made a workaround recently where I did something like this, and I am giving you a snippet for your examination. Make two buttons, one an ordinary one, and one a combo box. Put several choices into the combo. Place the comboBox so that the loc of its selection arrow is, say, "200,200". In the regular button script write: > > > on mouseUp > click at "200,200" > wait 50 > click at "175," && 225 + random(100) > end mouseUp > > > This should open the combo box and select a random line within it. You can trap a "menuPick" message inside the combo box. Not sure what you are doing, but this might give you a hint as to a possible method. HTH. > > > Craig Newman > > > > > > > -----Original Message----- > From: David Brooks > To: How to use LiveCode > Sent: Mon, May 9, 2011 2:14 pm > Subject: Menu Buttons > > > I am trying to create a series of "helps" where I step a user through a process > using the underlying tool. I have one "help" field that variously shows, hides, > fills, and moves around. > > The scripts "say" things (aural feedback). > > There is a "pointer" button that locates as needed, flashes, and shows/hides. > > Here's my problem. Suppose I have a menu button that affords several choices. In > my application, I can click the button, move among the choices from a list that > is displayed -- with a choice automatically hiliting as I move around (hovering) > in the list, and then click to make the hilited choice. > > I want to drive that from a script. Is there an easy way? The list seems to > behave like some sort of modal stack that I must deal with. That is, if I create > a script that pops out the list, that list behaves as I would expect -- FROM > MOUSE ACTIONS -- but I haven't found scripting that leads to the same effects. I > suppose I could capture images and use these AS IF they were the real thing, but > then I'd have less flexibility than if I did this from scripts. > > Should I simply redesign things such that buttons display fields and try to go > from there? I seem to be able to get that approach to work from scripts, but it > seems cumbersome. > > Thanks in advance for your help. > > Dave B. > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 maarten.koopmans at gmail.com Mon May 9 17:22:03 2011 From: maarten.koopmans at gmail.com (Maarten Koopmans) Date: Mon, 9 May 2011 23:22:03 +0200 Subject: revdb_query in function silently errs out In-Reply-To: References: <8787726D-8650-409B-89DF-90649C252D7B@twft.com> Message-ID: I am doing a revdb_query in a function; my database id is a global. I am in a handler that has done a few queries, then calls said function. The sql has been reduced to a dummy select * from table. Earlier cursors are closed, and I use sqlite. I use 'answer question ...' and the one right after the query ( and all logic after that) is never reached. One thing I'll try is open/close a connection in the function. --Maarten On Monday, May 9, 2011, Pete wrote: > Hi Maarten, > Can you describe in a bit more detail what happens? ?Are you using > revDataFromQuery or revQueryDatabase to issue the SELECT? ?If it errors out > silently, how do you discover that it didn't work? > Pete > Molly's Revenge > > > > > On Mon, May 9, 2011 at 1:27 PM, Maarten Koopmans > wrote: > >> I'll try that and maybe sqlyoga, but I am using sqlite with only >> milliseconds in between. But query results as arrays etc. Sounds like >> a missing piece, so while typing I have decided to give sqlyoga a try. >> >> --Maarten >> >> On Monday, May 9, 2011, Bob Sneidar wrote: >> > How long are you leaving the connection idle? SQL typically has >> connection timeouts built in so that someone cannot use up all the available >> threads and then dump them without terminating them as a means of denying >> service. >> > >> > When working with SQL I like to open/reconnect, make my queries, then >> disconnect right away without any user interaction. Otherwise, a user could >> leave an error dialog open and not respond until after the database times >> out. >> > >> > I usually have in my stack or database connection card scripts for >> initializing and making the connection, idling the connection (which is >> really a disconnect) and closing the connection. To SQL this results in >> either a connection being made, or else a disconnect, but to my apps after >> the first connection is made, I set a state wherein I know I can proceed >> after the first connection is made because I know the database is there and >> responding to queries. Hence the "idle state". >> > >> > I wrap all my sql connection/query commands in a try/catch statement so >> that if an error is generated, I call my disconnect handler first, then >> alert the user that an error has occurred. This has eliminated virtually all >> the normal SQL issues I used to have. It's also good programming practice >> for SQL. >> > >> > Of course, SQLite is a local file (typically) so this is not as much of >> an issue, but still I believe there are default timeouts you can encounter. >> > >> > Also, consider seriously, Trevor DeVore's great SQLYoga utility, which >> takes most of the pain and suffering out of working with SQL. You can return >> queries as lists, arrays or records, which I think are a special kind of >> SQLYoga array. >> > >> > Bob >> > >> > >> > On May 9, 2011, at 10:26 AM, Maarten Koopmans wrote: >> > >> >> Hi, >> >> >> >> I have a simple "select * from table" against a sqlite dbid in a >> function, >> >> Livecode 4.6.1 on OS 10.6.7 >> >> >> >> For some weird reason it errs out, silently. The only reason I can think >> of >> >> is that I didn;t close my cursor in a previous call, but other than >> that, I >> >> am "snow blind". Anybody ever seen this before? >> >> >> >> --Maarten >> >> _______________________________________________ >> >> use-livecode mailing list >> >> use-livecode 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-li From pete at mollysrevenge.com Mon May 9 17:39:12 2011 From: pete at mollysrevenge.com (Pete) Date: Mon, 9 May 2011 14:39:12 -0700 Subject: revdb_query in function silently errs out In-Reply-To: References: <8787726D-8650-409B-89DF-90649C252D7B@twft.com> Message-ID: Got it, thanks. I've experienced similar things in LC. Is it possible that the data coming back from your query could include NULL characters? I've seen that cause problems like this. Some SQL dbs do have connection timeouts but I don't think SQlite does. Might be able to figure out more if you post a snippet of your code. Pete Molly's Revenge On Mon, May 9, 2011 at 2:22 PM, Maarten Koopmans wrote: > I am doing a revdb_query in a function; my database id is a global. I > am in a handler that has done a few queries, then calls said function. > The sql has been reduced to a dummy select * from table. Earlier > cursors are closed, and I use sqlite. > > I use 'answer question ...' and the one right after the query ( and > all logic after that) is never reached. One thing I'll try is > open/close a connection in the function. > > --Maarten > > On Monday, May 9, 2011, Pete wrote: > > Hi Maarten, > > Can you describe in a bit more detail what happens? Are you using > > revDataFromQuery or revQueryDatabase to issue the SELECT? If it errors > out > > silently, how do you discover that it didn't work? > > Pete > > Molly's Revenge > > > > > > > > > > On Mon, May 9, 2011 at 1:27 PM, Maarten Koopmans < > maarten.koopmans at gmail.com > >> wrote: > > > >> I'll try that and maybe sqlyoga, but I am using sqlite with only > >> milliseconds in between. But query results as arrays etc. Sounds like > >> a missing piece, so while typing I have decided to give sqlyoga a try. > >> > >> --Maarten > >> > >> On Monday, May 9, 2011, Bob Sneidar wrote: > >> > How long are you leaving the connection idle? SQL typically has > >> connection timeouts built in so that someone cannot use up all the > available > >> threads and then dump them without terminating them as a means of > denying > >> service. > >> > > >> > When working with SQL I like to open/reconnect, make my queries, then > >> disconnect right away without any user interaction. Otherwise, a user > could > >> leave an error dialog open and not respond until after the database > times > >> out. > >> > > >> > I usually have in my stack or database connection card scripts for > >> initializing and making the connection, idling the connection (which is > >> really a disconnect) and closing the connection. To SQL this results in > >> either a connection being made, or else a disconnect, but to my apps > after > >> the first connection is made, I set a state wherein I know I can proceed > >> after the first connection is made because I know the database is there > and > >> responding to queries. Hence the "idle state". > >> > > >> > I wrap all my sql connection/query commands in a try/catch statement > so > >> that if an error is generated, I call my disconnect handler first, then > >> alert the user that an error has occurred. This has eliminated virtually > all > >> the normal SQL issues I used to have. It's also good programming > practice > >> for SQL. > >> > > >> > Of course, SQLite is a local file (typically) so this is not as much > of > >> an issue, but still I believe there are default timeouts you can > encounter. > >> > > >> > Also, consider seriously, Trevor DeVore's great SQLYoga utility, which > >> takes most of the pain and suffering out of working with SQL. You can > return > >> queries as lists, arrays or records, which I think are a special kind of > >> SQLYoga array. > >> > > >> > Bob > >> > > >> > > >> > On May 9, 2011, at 10:26 AM, Maarten Koopmans wrote: > >> > > >> >> Hi, > >> >> > >> >> I have a simple "select * from table" against a sqlite dbid in a > >> function, > >> >> Livecode 4.6.1 on OS 10.6.7 > >> >> > >> >> For some weird reason it errs out, silently. The only reason I can > think > >> of > >> >> is that I didn;t close my cursor in a previous call, but other than > >> that, I > >> >> am "snow blind". Anybody ever seen this before? > >> >> > >> >> --Maarten > >> >> _______________________________________________ > >> >> use-livecode mailing list > >> >> use-livecode 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-li > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 May 9 17:42:42 2011 From: pete at mollysrevenge.com (Pete) Date: Mon, 9 May 2011 14:42:42 -0700 Subject: Menu Buttons In-Reply-To: References: <6399A7CB-FABF-4D15-A621-0209D9F11AA4@clarkeandclarke.co.uk> <398A8368-EF5F-48E6-946C-77472D9A5DA0@yahoo.com> <84ADB212-3170-4133-BD85-5169A4E0087C@unlserve.unl.edu> <8CDDC94C9E0553F-B74-2E8A@webmail-d094.sysops.aol.com> Message-ID: I think you may need to structure the send statement differently: put "menupick" && line 3 of btn "Examples" into myCommand send myCommand to btn "Examples" send "menupick aspirin" to btn "Examples" Pete Molly's Revenge On Mon, May 9, 2011 at 2:18 PM, David Brooks wrote: > I DO exactly those sorts of things. But, when I send a menupick message, > nothing happens. > > I've tried things like: > > send menupick (line 3 of btn "Examples") to btn "Examples" > > and > > send menupick aspirin to btn "Examples" > > However, I've never used the term "combo box" and it looks as if I have a > new avenue to try. Many thanks. This looks to be similar to what one would > do with a field. > > MANY thanks. > > Best, > > Dave B. > > > > On May 9, 2011, at 2:16 PM, DunbarX at aol.com wrote: > > > When you say you want to drive the menuItems displayed by script, does > that mean you never want to use the mouse at all? I made a workaround > recently where I did something like this, and I am giving you a snippet for > your examination. Make two buttons, one an ordinary one, and one a combo > box. Put several choices into the combo. Place the comboBox so that the loc > of its selection arrow is, say, "200,200". In the regular button script > write: > > > > > > on mouseUp > > click at "200,200" > > wait 50 > > click at "175," && 225 + random(100) > > end mouseUp > > > > > > This should open the combo box and select a random line within it. You > can trap a "menuPick" message inside the combo box. Not sure what you are > doing, but this might give you a hint as to a possible method. HTH. > > > > > > Craig Newman > > > > > > > > > > > > > > -----Original Message----- > > From: David Brooks > > To: How to use LiveCode > > Sent: Mon, May 9, 2011 2:14 pm > > Subject: Menu Buttons > > > > > > I am trying to create a series of "helps" where I step a user through a > process > > using the underlying tool. I have one "help" field that variously shows, > hides, > > fills, and moves around. > > > > The scripts "say" things (aural feedback). > > > > There is a "pointer" button that locates as needed, flashes, and > shows/hides. > > > > Here's my problem. Suppose I have a menu button that affords several > choices. In > > my application, I can click the button, move among the choices from a > list that > > is displayed -- with a choice automatically hiliting as I move around > (hovering) > > in the list, and then click to make the hilited choice. > > > > I want to drive that from a script. Is there an easy way? The list seems > to > > behave like some sort of modal stack that I must deal with. That is, if I > create > > a script that pops out the list, that list behaves as I would expect -- > FROM > > MOUSE ACTIONS -- but I haven't found scripting that leads to the same > effects. I > > suppose I could capture images and use these AS IF they were the real > thing, but > > then I'd have less flexibility than if I did this from scripts. > > > > Should I simply redesign things such that buttons display fields and try > to go > > from there? I seem to be able to get that approach to work from scripts, > but it > > seems cumbersome. > > > > Thanks in advance for your help. > > > > Dave B. > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode 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 maarten.koopmans at gmail.com Mon May 9 17:49:44 2011 From: maarten.koopmans at gmail.com (Maarten Koopmans) Date: Mon, 9 May 2011 23:49:44 +0200 Subject: revdb_query in function silently errs out In-Reply-To: References: <8787726D-8650-409B-89DF-90649C252D7B@twft.com> Message-ID: Well, I just opened and closed a new connection inside the function, and that works like it should. So it looks like I'll make a stack-based "verify-connection" function (and it's little brother, clean-up connection). --Maarten On Mon, May 9, 2011 at 11:39 PM, Pete wrote: > Got it, thanks. I've experienced similar things in LC. Is it possible > that > the data coming back from your query could include NULL characters? I've > seen that cause problems like this. > > Some SQL dbs do have connection timeouts but I don't think SQlite does. > > Might be able to figure out more if you post a snippet of your code. > > Pete > Molly's Revenge > > > > > On Mon, May 9, 2011 at 2:22 PM, Maarten Koopmans < > maarten.koopmans at gmail.com > > wrote: > > > I am doing a revdb_query in a function; my database id is a global. I > > am in a handler that has done a few queries, then calls said function. > > The sql has been reduced to a dummy select * from table. Earlier > > cursors are closed, and I use sqlite. > > > > I use 'answer question ...' and the one right after the query ( and > > all logic after that) is never reached. One thing I'll try is > > open/close a connection in the function. > > > > --Maarten > > > > On Monday, May 9, 2011, Pete wrote: > > > Hi Maarten, > > > Can you describe in a bit more detail what happens? Are you using > > > revDataFromQuery or revQueryDatabase to issue the SELECT? If it errors > > out > > > silently, how do you discover that it didn't work? > > > Pete > > > Molly's Revenge > > > > > > > > > > > > > > > On Mon, May 9, 2011 at 1:27 PM, Maarten Koopmans < > > maarten.koopmans at gmail.com > > >> wrote: > > > > > >> I'll try that and maybe sqlyoga, but I am using sqlite with only > > >> milliseconds in between. But query results as arrays etc. Sounds like > > >> a missing piece, so while typing I have decided to give sqlyoga a try. > > >> > > >> --Maarten > > >> > > >> On Monday, May 9, 2011, Bob Sneidar wrote: > > >> > How long are you leaving the connection idle? SQL typically has > > >> connection timeouts built in so that someone cannot use up all the > > available > > >> threads and then dump them without terminating them as a means of > > denying > > >> service. > > >> > > > >> > When working with SQL I like to open/reconnect, make my queries, > then > > >> disconnect right away without any user interaction. Otherwise, a user > > could > > >> leave an error dialog open and not respond until after the database > > times > > >> out. > > >> > > > >> > I usually have in my stack or database connection card scripts for > > >> initializing and making the connection, idling the connection (which > is > > >> really a disconnect) and closing the connection. To SQL this results > in > > >> either a connection being made, or else a disconnect, but to my apps > > after > > >> the first connection is made, I set a state wherein I know I can > proceed > > >> after the first connection is made because I know the database is > there > > and > > >> responding to queries. Hence the "idle state". > > >> > > > >> > I wrap all my sql connection/query commands in a try/catch statement > > so > > >> that if an error is generated, I call my disconnect handler first, > then > > >> alert the user that an error has occurred. This has eliminated > virtually > > all > > >> the normal SQL issues I used to have. It's also good programming > > practice > > >> for SQL. > > >> > > > >> > Of course, SQLite is a local file (typically) so this is not as much > > of > > >> an issue, but still I believe there are default timeouts you can > > encounter. > > >> > > > >> > Also, consider seriously, Trevor DeVore's great SQLYoga utility, > which > > >> takes most of the pain and suffering out of working with SQL. You can > > return > > >> queries as lists, arrays or records, which I think are a special kind > of > > >> SQLYoga array. > > >> > > > >> > Bob > > >> > > > >> > > > >> > On May 9, 2011, at 10:26 AM, Maarten Koopmans wrote: > > >> > > > >> >> Hi, > > >> >> > > >> >> I have a simple "select * from table" against a sqlite dbid in a > > >> function, > > >> >> Livecode 4.6.1 on OS 10.6.7 > > >> >> > > >> >> For some weird reason it errs out, silently. The only reason I can > > think > > >> of > > >> >> is that I didn;t close my cursor in a previous call, but other than > > >> that, I > > >> >> am "snow blind". Anybody ever seen this before? > > >> >> > > >> >> --Maarten > > >> >> _______________________________________________ > > >> >> use-livecode mailing list > > >> >> use-livecode 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-li > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From gerry.orkin at gmail.com Mon May 9 17:51:22 2011 From: gerry.orkin at gmail.com (Gerry Orkin) Date: Tue, 10 May 2011 07:51:22 +1000 Subject: Check iOS communications In-Reply-To: References: Message-ID: <77E02241-9DEB-4702-A1E3-5FC384CFA558@gmail.com> I don't think Apple allows apps to turn those services on or off. Gerry -- Sent from my iPhone. On 10/05/2011, at 7:18 AM, John Allijn wrote: > Hi, > Is there a way to check if bluetooth and wifi are switched on or off on iOS? Is so, is it possible to switch it on or off? > > Best regards, > John. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From john.allijn at alice.nl Mon May 9 17:55:45 2011 From: john.allijn at alice.nl (John Allijn) Date: Mon, 9 May 2011 23:55:45 +0200 Subject: Check iOS communications In-Reply-To: <77E02241-9DEB-4702-A1E3-5FC384CFA558@gmail.com> References: <77E02241-9DEB-4702-A1E3-5FC384CFA558@gmail.com> Message-ID: Too bad: I wanted the user to have an option to save battery-life and quickly turn those services on when needed... Thanks!!! On May 9, 2011, at 23:51, Gerry Orkin wrote: > I don't think Apple allows apps to turn those services on or off. > > Gerry > > -- Sent from my iPhone. > > On 10/05/2011, at 7:18 AM, John Allijn wrote: > >> Hi, >> Is there a way to check if bluetooth and wifi are switched on or off on iOS? Is so, is it possible to switch it on or off? >> >> Best regards, >> John. >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From janschenkel at yahoo.com Mon May 9 18:03:52 2011 From: janschenkel at yahoo.com (Jan Schenkel) Date: Mon, 9 May 2011 15:03:52 -0700 (PDT) Subject: [ANN] Quartam PDF Library 1.1.1 Available Message-ID: <186831.6227.qm@web65409.mail.ac4.yahoo.com> This maintenance update to Quartam PDF Library fixes two bugs specific to LiveCode Server environments, and extends the WriteTextTable command to allow more control over border drawing. The cross-platform .zip archive can be downloaded at: A web page with LiveCode Server / On-Rev demos is available at: Quartam PDF Library for LiveCode - version 1.1 introduced support for transformations, transparency and blendmodes, gradients, clipping, text box fitting, inserting pages, compression, experimental support for including EPS files, as well as support for LiveCode Server and On-Rev. It is released as open source under a dual license (GNU Affero General Public License / Commercial License). 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 livfoss at mac.com Mon May 9 18:31:52 2011 From: livfoss at mac.com (Graham Samuel) Date: Tue, 10 May 2011 00:31:52 +0200 Subject: Approach to PDF input within LC Message-ID: <6466A430-19A3-41B6-A8F0-E5AB8E434A7C@mac.com> Thanks to Jan Schenkel for his interesting reply, which I'm thinking about. Meanwhile, following on my previous mails on this subject, from more research I think there is another solution - I can buy a freely distributable library component (DLL) which as an External to LC will provide the functionality I need, but of course I have to glue it to my LC code. The LC User Guide says: > LiveCode provides an external interface which allows you to extend it using a lower level language (often C). For example, if you have preexisting code that performs processing in a lower level language, you can write a user interface in LiveCode and then call this library by writing a simple wrapper around it using LiveCode's externals interface. LiveCode supports transmitting data to and from externals, as well as drawing into image objects within LiveCode windows, manipulating the player object, and more. Er, yes. The only tutorial material I can find is about **writing** Externals, something I wish to avoid like the plague. As before, I'm asking for pointers, in this case to the implementation of a 'simple wrapper' in a Windows environment. What I'm really trying to avoid is having to learn a new (well, probably quite old) development environment and a new (to me) language - the whole grammar of the API, at least. Maybe there are no short cuts, in which case I will have to go back to school. But it seems hard, after all the struggles I've had over the years to bootstrap my way out of low-level coding. As ever, any suggestions gratefully received. TIA Graham From gerry.orkin at gmail.com Mon May 9 19:23:39 2011 From: gerry.orkin at gmail.com (Gerry) Date: Tue, 10 May 2011 09:23:39 +1000 Subject: Check iOS communications In-Reply-To: References: <77E02241-9DEB-4702-A1E3-5FC384CFA558@gmail.com> Message-ID: <963B580A0A894FBBBCFD87B9D8F29192@gmail.com> Refer them to the Settings app to do it for themselves :) g -- photos: http://gerryorkin.com On Tuesday, 10 May 2011 at 7:55 AM, John Allijn wrote: > Too bad: I wanted the user to have an option to save battery-life and quickly turn those services on when needed... > > Thanks!!! > > > On May 9, 2011, at 23:51, Gerry Orkin wrote: > > > I don't think Apple allows apps to turn those services on or off. > > > > Gerry > > > > -- Sent from my iPhone. > > > > On 10/05/2011, at 7:18 AM, John Allijn wrote: > > > > > Hi, > > > Is there a way to check if bluetooth and wifi are switched on or off on iOS? Is so, is it possible to switch it on or off? > > > > > > Best regards, > > > John. > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode at lists.runrev.com > > > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode 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 kray at sonsothunder.com Mon May 9 19:46:10 2011 From: kray at sonsothunder.com (Ken Ray) Date: Mon, 09 May 2011 18:46:10 -0500 Subject: Approach to PDF input within LC In-Reply-To: <6466A430-19A3-41B6-A8F0-E5AB8E434A7C@mac.com> Message-ID: > Er, yes. The only tutorial material I can find is about **writing** Externals, > something I wish to avoid like the plague. As before, I'm asking for pointers, > in this case to the implementation of a 'simple wrapper' in a Windows > environment. What I'm really trying to avoid is having to learn a new (well, > probably quite old) development environment and a new (to me) language - the > whole grammar of the API, at least. Maybe there are no short cuts, in which > case I will have to go back to school. But it seems hard, after all the > struggles I've had over the years to bootstrap my way out of low-level coding. > > As ever, any suggestions gratefully received. Graham, you can use a VBScript to do this... take a look at this tip on my site: http://www.sonsothunder.com/devres/revolution/tips/ext002.htm HTH, Ken Ray Sons of Thunder Software, Inc. Email: kray at sonsothunder.com Web Site: http://www.sonsothunder.com/ From infinite00 at embarqmail.com Mon May 9 19:59:27 2011 From: infinite00 at embarqmail.com (Bruce Pokras) Date: Mon, 9 May 2011 19:59:27 -0400 Subject: revWeb revlets broken in Firefox 4.0? In-Reply-To: <20010DCB7BAD418F8CFC695D4066C007@portablefip> References: <4D8CCEC9.6070802@ucsd.edu> <179283214437.20110325190824@ahsoftware.net> <20010DCB7BAD418F8CFC695D4066C007@portablefip> Message-ID: <98DFB284-F95B-4BA0-843D-6364654A5E95@embarqmail.com> Firefox 4.0.1 runs my revlet fine, but only in 32-bit mode. When I went to my revlet page (www.familyizer.com), I was immediately alerted that it could not run the revlet until I switched Firefox to 32-bit mode. Then the revlet ran without any problems. I am on Snow Leopard 10.6.4. Bruce Pokras On Apr 18, 2011, at 12:42 PM, Olivier Dussutour wrote: > Hello, > there has exactly the same problem on IE9!?! > Does anyone know if it is provided a new version of the plugin? > > Cordialement, > Olivier Dussutour > olivierdussutour at gmail.com > ----- Original Message ----- From: "Mark Wieder" > To: "How to use LiveCode" > Sent: Saturday, March 26, 2011 4:08 AM > Subject: Re: revWeb revlets broken in Firefox 4.0? > > >> Rich- >> >> Friday, March 25, 2011, 10:20:09 AM, you wrote: >> >>> Are revWeb revlets broken in Firefox 4.0? Just upgraded to Firefox 4.0 >>> on Mac 10.5.8. Get error message when going to a revlet: "There was an >>> error loading the revlet - failed to stream revlet." Works OK with >>> Safari 5.0.4 and worked OK with earlier Firefox on same Mac. >> >> I had Firefox 4.0 on my system for all of about 30 seconds. Almost >> none of my plugins were compatible, so I went back to 3.6.16. >> >> -- >> -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 mwieder at ahsoftware.net Mon May 9 22:05:19 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 9 May 2011 19:05:19 -0700 Subject: Menu Buttons In-Reply-To: References: <6399A7CB-FABF-4D15-A621-0209D9F11AA4@clarkeandclarke.co.uk><398A8368-EF5F-48E6-946C-77472D9A5DA0@yahoo.com> <84ADB212-3170-4133-BD85-5169A4E0087C@unlserve.unl.edu> <8CDDC94C9E0553F-B74-2E8A@webmail-d094.sysops.aol.com> Message-ID: <116156905953.20110509190519@ahsoftware.net> David- Monday, May 9, 2011, 2:18:41 PM, you wrote: > I've tried things like: > send menupick (line 3 of btn "Examples") to btn "Examples" > and > send menupick aspirin to btn "Examples" Try setting the menuHistory of the button -- -Mark Wieder mwieder at ahsoftware.net From capellan2000 at gmail.com Mon May 9 22:08:16 2011 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Mon, 9 May 2011 22:08:16 -0400 Subject: Need Assistance Message-ID: Hi Jonathan, on Mon, 9 May 2011 10:30:53 -0700 Jonathan wrote: > Hi guys, > > I am in need to create an educational learning tutorial by LiveCode. I am > trying very hard but still couldn't get it done smoothly. I really need some > assistance from you guys though. Can you please look at the tutorial > requirements stated below: [snip] Download these stacks (to get useful ideas and some code): http://andregarzia.on-rev.com/alejandro/stacks/Education_stacks.zip You could find the answer to many of your questions browsing messages in this forum section: http://forums.runrev.com/viewforum.php?f=7&start=50 Do not hesitate to ask again if you get stuck in some part of your work, but notice that it would be easier to answer your requests if you add some links to download and run the stacks of your project. Hope this helps a byte! :-) Al From mwieder at ahsoftware.net Mon May 9 23:05:47 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Mon, 9 May 2011 20:05:47 -0700 Subject: ANN: PowerDebug now debugs standalone applications Message-ID: <14160533921.20110509200547@ahsoftware.net> Hi- We're releasing a new version of PowerDebug. The major new addition is the ability to debug standalone applications. And across different computers in the same network subnet. And cross-platform (you can debug an application running on a Windows machine using an IDE on OSX, etc). And even revlets. LiveCode, MetaCard, Windows, OSX, linux. Registered PowerDebug users are entitled to the updates, and should already have gotten notification emails. There's a text file in the zip archive describing debugging of standalone applications, but the short form is this: 1. Include the libRemoteDebug.rev stack as a substack of your standalone application 2. Add this to the main stack of your standalone: on startup insert the script of stack "libRemoteDebug" into front end startup and build your standalone application. If PowerDebug is running in the same network subnet as the standalone then it will be able to catch breakpoints and runtime errors just as if it were running in the IDE (but see Known Issues below). Known Issues: There's a socket problem with standalones trying to change variable values. Clicking in the variables display for standalones has been disabled until this is worked out. It's apparently somewhere in the engine, so it's out of my control for the moment. The old revlet demo is still here http://www.ahsoftware.net/PowerTools/PowerDebug/PDDemo.html and there's an updated annoying nagware version on revOnline. Even more, we're keeping the introductory pricing of $25 through the end of May. http://www.ahsoftware.net/PowerTools/BuyPowerDebug.irev ...and if you don't need all the bells and whistles, rumor has it that Richard Gaskin has something in the works... -- Mark Wieder mwieder at ahsoftware.net From andre.bisseret at wanadoo.fr Tue May 10 06:02:03 2011 From: andre.bisseret at wanadoo.fr (=?iso-8859-1?Q?Andr=E9_Bisseret?=) Date: Tue, 10 May 2011 12:02:03 +0200 Subject: Menu Buttons In-Reply-To: References: <6399A7CB-FABF-4D15-A621-0209D9F11AA4@clarkeandclarke.co.uk><398A8368-EF5F-48E6-946C-77472D9A5DA0@yahoo.com> <84ADB212-3170-4133-BD85-5169A4E0087C@unlserve.unl.edu> <8CDDC94C9E0553F-B74-2E8A@webmail-d094.sysops.aol.com> Message-ID: <2AAA878D-2265-4567-91F6-E8559530500C@wanadoo.fr> Bonjour David, Did you try : set the menuHistory of btn "examples" to 1 -- (or 2, 3, etc) Best regards from Grenoble Andr? Le 9 mai 2011 ? 23:18, David Brooks a ?crit : > I DO exactly those sorts of things. But, when I send a menupick message, nothing happens. > > I've tried things like: > > send menupick (line 3 of btn "Examples") to btn "Examples" > > and > > send menupick aspirin to btn "Examples" > > However, I've never used the term "combo box" and it looks as if I have a new avenue to try. Many thanks. This looks to be similar to what one would do with a field. > > MANY thanks. > > Best, > > Dave B. > > > > On May 9, 2011, at 2:16 PM, DunbarX at aol.com wrote: > >> When you say you want to drive the menuItems displayed by script, does that mean you never want to use the mouse at all? I made a workaround recently where I did something like this, and I am giving you a snippet for your examination. Make two buttons, one an ordinary one, and one a combo box. Put several choices into the combo. Place the comboBox so that the loc of its selection arrow is, say, "200,200". In the regular button script write: >> >> >> on mouseUp >> click at "200,200" >> wait 50 >> click at "175," && 225 + random(100) >> end mouseUp >> >> >> This should open the combo box and select a random line within it. You can trap a "menuPick" message inside the combo box. Not sure what you are doing, but this might give you a hint as to a possible method. HTH. >> >> >> Craig Newman >> >> >> >> >> >> >> -----Original Message----- >> From: David Brooks >> To: How to use LiveCode >> Sent: Mon, May 9, 2011 2:14 pm >> Subject: Menu Buttons >> >> >> I am trying to create a series of "helps" where I step a user through a process >> using the underlying tool. I have one "help" field that variously shows, hides, >> fills, and moves around. >> >> The scripts "say" things (aural feedback). >> >> There is a "pointer" button that locates as needed, flashes, and shows/hides. >> >> Here's my problem. Suppose I have a menu button that affords several choices. In >> my application, I can click the button, move among the choices from a list that >> is displayed -- with a choice automatically hiliting as I move around (hovering) >> in the list, and then click to make the hilited choice. >> >> I want to drive that from a script. Is there an easy way? The list seems to >> behave like some sort of modal stack that I must deal with. That is, if I create >> a script that pops out the list, that list behaves as I would expect -- FROM >> MOUSE ACTIONS -- but I haven't found scripting that leads to the same effects. I >> suppose I could capture images and use these AS IF they were the real thing, but >> then I'd have less flexibility than if I did this from scripts. >> >> Should I simply redesign things such that buttons display fields and try to go >> from there? I seem to be able to get that approach to work from scripts, but it >> seems cumbersome. >> >> Thanks in advance for your help. >> >> Dave B. >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription >> preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mcgrath3 at mac.com Tue May 10 07:33:06 2011 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Tue, 10 May 2011 07:33:06 -0400 Subject: Menu Buttons In-Reply-To: <116156905953.20110509190519@ahsoftware.net> References: <6399A7CB-FABF-4D15-A621-0209D9F11AA4@clarkeandclarke.co.uk> <398A8368-EF5F-48E6-946C-77472D9A5DA0@yahoo.com> <84ADB212-3170-4133-BD85-5169A4E0087C@unlserve.unl.edu> <8CDDC94C9E0553F-B74-2E8A@webmail-d094.sysops.aol.com> <116156905953.20110509190519@ahsoftware.net> Message-ID: Or try: select menuItem 1 of menu "File" -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On May 9, 2011, at 10:05 PM, Mark Wieder wrote: > David- > > Monday, May 9, 2011, 2:18:41 PM, you wrote: > >> I've tried things like: > >> send menupick (line 3 of btn "Examples") to btn "Examples" > >> and > >> send menupick aspirin to btn "Examples" > > Try setting the menuHistory of the button > > -- > -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 ambassador at fourthworld.com Tue May 10 10:47:09 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 10 May 2011 07:47:09 -0700 Subject: LC on ARM? $25 computer Message-ID: <4DC94FED.7050909@fourthworld.com> Check this out: I want one, but only if I can run LiveCode on it. Is there a plausible business case that could be made for RunRev to consider an ARM port? -- 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 baccheschi at tin.it Tue May 10 10:55:23 2011 From: baccheschi at tin.it (baccheschi at tin.it) Date: Tue, 10 May 2011 16:55:23 +0200 (CEST) Subject: R: Re: perhapse.. Message-ID: <12fda67bfc6.baccheschi@tin.it> ----Messaggio originale---- Da: janschenkel at yahoo.com Data: 9-mag- 2011 21.20 A: "How to use LiveCode" Ogg: Re: perhapse.. --- On Sat, 5/7/11, J. Landman Gay wrote: > On 5/7/11 8:16 AM, baccheschi at tin. it > wrote: > >???Perhapse.. > > Has it been a nonsense to ask if it could be possible > to > > perform ON THE WEB a? "resizeStack" ? > > I don't think it is possible using LiveCode alone. The > stack is presented in a fixed-size window which can't > change. There might be a way to do it with some fancy > javascript and a web page reload but I'm not sure how. > > -- Jacqueline Landman Gay? ? ? > Actually, you can make a revlet resize based on the width and height of the web browser - I can't remember where I picked up this trick, but here it goes: - create a new stack "ResizableRevlet" and draw an oval graphic on it - set the stack script to: ## on preOpenStack -- resizeStack isn't sent to the revlet at startup -- so we have to trigger it ourselves in preOpenStack dispatch "resizeStack" with (the width of me), (the height of me) pass preOpenStack end preOpenStack on resizeStack pNewWidth, pNewHeight set the rectangle of graphic "Oval" to \ 10, 10, (pNewWidth - 10), (pNewHeight - 10) pass resizeStack end resizeStack ## - play around with it first to make sure the resize works - perhaps add some color to the oval graphic - now build it as a standalone for the Web - your web browser will open, but no resizing happens - modify the file 'test.html' in the build directory -> change the block: ## ## -> to: ## ## - now open the test.html file again in your web browser -> the revlet area should occupy 80% of the browser window and resize as you resize the browser window -> it may flicker and/or temporarily show a gray or white area though, so use this technioque sparingly However, if you want to resize this based on other parameters, I wish you the best of luck with JavaScript and HTML DOM fiddling ;-) 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) _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode many thanks jan ......i have a lot to learn now mario From keith.clarke at clarkeandclarke.co.uk Tue May 10 11:09:05 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Tue, 10 May 2011 16:09:05 +0100 Subject: LC on ARM? $25 computer In-Reply-To: <4DC94FED.7050909@fourthworld.com> References: <4DC94FED.7050909@fourthworld.com> Message-ID: ...why wait? Just ask the RunRev team nicely for Linux capabilities to be brought up to scratch http://www.arm.com/community/software-enablement/linux.php Best, Keith.. On 10 May 2011, at 15:47, Richard Gaskin wrote: > Check this out: > > > I want one, but only if I can run LiveCode on it. > > Is there a plausible business case that could be made for RunRev to consider an ARM port? > > -- > 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 lfredricks at proactive-intl.com Tue May 10 12:04:15 2011 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Tue, 10 May 2011 09:04:15 -0700 Subject: LC on ARM? $25 computer In-Reply-To: <4DC94FED.7050909@fourthworld.com> References: <4DC94FED.7050909@fourthworld.com> Message-ID: <49CC961384D0437CAC7893CAD10286B9@GATEWAY> > Check this out: > y-$25/8301-17938_105-20060489-1.html> > > I want one, but only if I can run LiveCode on it. > > Is there a plausible business case that could be made for > RunRev to consider an ARM port? Didn't I hear that MS is porting Windows 8 to ARM? Best regards, Lynn Fredricks President Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server From todd at geistinteractive.com Tue May 10 12:08:30 2011 From: todd at geistinteractive.com (Todd Geist) Date: Tue, 10 May 2011 09:08:30 -0700 Subject: command line examples In-Reply-To: References: Message-ID: Thanks for everyones help on this. I am getting closer. But I am still not able to get all the way there. My end goal is a server application that can run without a user logged in to the machine. The server application should be able to handle requests ether over HTTP or just plain sockets. I have been experimenting a bit with Andre's RevOnRockets HTTP server, but I have not yet been able to make it work as a stand-a-lone, with or without a UI. Todd Todd Geist ------------------------------ geist interactive 805-419-9382 From keith.clarke at clarkeandclarke.co.uk Tue May 10 12:22:09 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Tue, 10 May 2011 17:22:09 +0100 Subject: LC on ARM? $25 computer In-Reply-To: <49CC961384D0437CAC7893CAD10286B9@GATEWAY> References: <4DC94FED.7050909@fourthworld.com> <49CC961384D0437CAC7893CAD10286B9@GATEWAY> Message-ID: <2F1F3629-C5FB-4DCD-9EB1-DAD91549DC02@clarkeandclarke.co.uk> ...yes Lynn, you heard right - http://www.microsoft.com/presspass/press/2011/jan11/01-05socsupport.mspx?rss_fdn=Custom Best, Keith.. On 10 May 2011, at 17:04, Lynn Fredricks wrote: >> Check this out: >> > y-$25/8301-17938_105-20060489-1.html> >> >> I want one, but only if I can run LiveCode on it. >> >> Is there a plausible business case that could be made for >> RunRev to consider an ARM port? > > Didn't I hear that MS is porting Windows 8 to ARM? > > Best regards, > > Lynn Fredricks > President > Paradigma Software > http://www.paradigmasoft.com > > Valentina SQL Server: The Ultra-fast, Royalty Free Database Server From jacque at hyperactivesw.com Tue May 10 12:22:21 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 10 May 2011 11:22:21 -0500 Subject: Yellow Blues on Glows In-Reply-To: <4DC7997C.6080702@pair.com> References: <4DC7997C.6080702@pair.com> Message-ID: <4DC9663D.6000201@hyperactivesw.com> On 5/9/11 2:36 AM, Curry Kenworthy wrote: > > In LiveCode 4.6.1, Windows 7, I'm suddenly getting blues and yellows > swapped for outer glows! A blue glow is now yellow and vice versa. > > Rev 4.0 and LiveCode 4.5.3 don't have this problem; the colors are not > reversed. > > (Not sure if anything else other than outer glow is affected.) > > Can anyone else confirm this color switchout? It happened to me on Android; blue and orange were reversed. But that was fixed with the update released at the conference. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bvlahos at mac.com Tue May 10 12:35:00 2011 From: bvlahos at mac.com (Bill Vlahos) Date: Tue, 10 May 2011 09:35:00 -0700 Subject: Staying on a field In-Reply-To: <4F337376-B819-47AB-B0F4-1F30B1359D24@mac.com> References: <64057C55-E184-4E24-BF19-69B0683924AA@yahoo.com> <38744349-5147-4423-8C93-00C59D729054@mac.com> <46631A10-0B68-4846-BD37-2E2DC5A58C40@yahoo.com> <4F337376-B819-47AB-B0F4-1F30B1359D24@mac.com> Message-ID: <200A7EE3-103B-414F-AFA8-E1885CF1745B@mac.com> OK. I've got it working. Thanks to Ken Ray for assisting me. The problem was that the mouseUp message to go to a different card happened before the closeField (it actually triggered it). I also removed the exit closeField which now gives the answer box before it actually goes to the new card. It still goes to the new card but the selectMe handler will get it back to where it needs to go. I needed the "wait for messages" statement so that it could finish the openCard handlers in the new card to finish before going back to the Induction card. on closeField if vDate is a date then else answer error "Not a valid date. Retry?" with "No" or "Yes" if it is "Yes" then send "selectMe" to me in 0 seconds end if pass closeField end closeField on selectMe wait for messages go to card "Induction" select the text of me end selectMe Bill Vlahos _________________ InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. On May 5, 2011, at 9:01 PM, Bill Vlahos wrote: > Jim, > > I have a test stack that doesn't match what I see in my stack but this test stack doesn't work right either. Looks like it is going to take a bit to figure out. I'll send you one if I can figure it out. > > Thanks, > Bill Vlahos > > On May 5, 2011, at 8:43 PM, Jim Ault wrote: > >> Since I don't know how you are trapping, executing, and locking your messages, I cannot begin to answer your question. >> A sample stack from you would be the best bet, unless you are up for a cycle of many emails that dance around a possible solution. >> >> Looking forward to your sample stack. >> >> On May 5, 2011, at 8:23 PM, Bill Vlahos wrote: >> >>> Jim, >>> >>> How do I test for the "dialog" condition? I don't see anything in the dictionary for it. >>> Funny thing is I always get the answer dialog after I go to the new card even though it should execute it first. >>> >> >> 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 May 10 12:43:00 2011 From: pete at mollysrevenge.com (Pete) Date: Tue, 10 May 2011 09:43:00 -0700 Subject: Menu Buttons In-Reply-To: <2AAA878D-2265-4567-91F6-E8559530500C@wanadoo.fr> References: <6399A7CB-FABF-4D15-A621-0209D9F11AA4@clarkeandclarke.co.uk> <398A8368-EF5F-48E6-946C-77472D9A5DA0@yahoo.com> <84ADB212-3170-4133-BD85-5169A4E0087C@unlserve.unl.edu> <8CDDC94C9E0553F-B74-2E8A@webmail-d094.sysops.aol.com> <2AAA878D-2265-4567-91F6-E8559530500C@wanadoo.fr> Message-ID: I might be wrong but I think the send commands, as you listed them, aren't correct - I believe the message and it's parameters have to be one string. So something like: send "menuPick aspirin" to button "Examples" or send "menuPick" && (line 3 of btn "Examples") to btn "Examples" Pete Molly's Revenge On Tue, May 10, 2011 at 3:02 AM, Andr? Bisseret wrote: > Bonjour David, > > Did you try : > > set the menuHistory of btn "examples" to 1 -- (or 2, 3, etc) > > Best regards from Grenoble > > Andr? > > > Le 9 mai 2011 ? 23:18, David Brooks a ?crit : > > > I DO exactly those sorts of things. But, when I send a menupick message, > nothing happens. > > > > I've tried things like: > > > > send menupick (line 3 of btn "Examples") to btn "Examples" > > > > and > > > > send menupick aspirin to btn "Examples" > > > > However, I've never used the term "combo box" and it looks as if I have a > new avenue to try. Many thanks. This looks to be similar to what one would > do with a field. > > > > MANY thanks. > > > > Best, > > > > Dave B. > > > > > > > > On May 9, 2011, at 2:16 PM, DunbarX at aol.com wrote: > > > >> When you say you want to drive the menuItems displayed by script, does > that mean you never want to use the mouse at all? I made a workaround > recently where I did something like this, and I am giving you a snippet for > your examination. Make two buttons, one an ordinary one, and one a combo > box. Put several choices into the combo. Place the comboBox so that the loc > of its selection arrow is, say, "200,200". In the regular button script > write: > >> > >> > >> on mouseUp > >> click at "200,200" > >> wait 50 > >> click at "175," && 225 + random(100) > >> end mouseUp > >> > >> > >> This should open the combo box and select a random line within it. You > can trap a "menuPick" message inside the combo box. Not sure what you are > doing, but this might give you a hint as to a possible method. HTH. > >> > >> > >> Craig Newman > >> > >> > >> > >> > >> > >> > >> -----Original Message----- > >> From: David Brooks > >> To: How to use LiveCode > >> Sent: Mon, May 9, 2011 2:14 pm > >> Subject: Menu Buttons > >> > >> > >> I am trying to create a series of "helps" where I step a user through a > process > >> using the underlying tool. I have one "help" field that variously shows, > hides, > >> fills, and moves around. > >> > >> The scripts "say" things (aural feedback). > >> > >> There is a "pointer" button that locates as needed, flashes, and > shows/hides. > >> > >> Here's my problem. Suppose I have a menu button that affords several > choices. In > >> my application, I can click the button, move among the choices from a > list that > >> is displayed -- with a choice automatically hiliting as I move around > (hovering) > >> in the list, and then click to make the hilited choice. > >> > >> I want to drive that from a script. Is there an easy way? The list seems > to > >> behave like some sort of modal stack that I must deal with. That is, if > I create > >> a script that pops out the list, that list behaves as I would expect -- > FROM > >> MOUSE ACTIONS -- but I haven't found scripting that leads to the same > effects. I > >> suppose I could capture images and use these AS IF they were the real > thing, but > >> then I'd have less flexibility than if I did this from scripts. > >> > >> Should I simply redesign things such that buttons display fields and try > to go > >> from there? I seem to be able to get that approach to work from scripts, > but it > >> seems cumbersome. > >> > >> Thanks in advance for your help. > >> > >> Dave B. > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode 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 Tue May 10 12:54:48 2011 From: bobs at twft.com (Bob Sneidar) Date: Tue, 10 May 2011 09:54:48 -0700 Subject: revWeb revlets broken in Firefox 4.0? In-Reply-To: <98DFB284-F95B-4BA0-843D-6364654A5E95@embarqmail.com> References: <4D8CCEC9.6070802@ucsd.edu> <179283214437.20110325190824@ahsoftware.net> <20010DCB7BAD418F8CFC695D4066C007@portablefip> <98DFB284-F95B-4BA0-843D-6364654A5E95@embarqmail.com> Message-ID: <1E125238-B422-4565-A2C7-70796D8E3503@twft.com> Firefox 4 breaks a lot of plugins. 64 bit is the big issue. Bob On May 9, 2011, at 4:59 PM, Bruce Pokras wrote: > Firefox 4.0.1 runs my revlet fine, but only in 32-bit mode. When I went to my revlet page (www.familyizer.com), I was immediately alerted that it could not run the revlet until I switched Firefox to 32-bit mode. Then the revlet ran without any problems. > > I am on Snow Leopard 10.6.4. > > Bruce Pokras From bobs at twft.com Tue May 10 12:55:39 2011 From: bobs at twft.com (Bob Sneidar) Date: Tue, 10 May 2011 09:55:39 -0700 Subject: ANN: PowerDebug now debugs standalone applications In-Reply-To: <14160533921.20110509200547@ahsoftware.net> References: <14160533921.20110509200547@ahsoftware.net> Message-ID: <4B8A9677-CC1B-4F6A-969A-3253F3901CAC@twft.com> Hey, that's niiiiice! Bob On May 9, 2011, at 8:05 PM, Mark Wieder wrote: > Hi- > > We're releasing a new version of PowerDebug. The major new addition is > the ability to debug standalone applications. And across different > computers in the same network subnet. And cross-platform (you can > debug an application running on a Windows machine using an IDE on OSX, > etc). And even revlets. LiveCode, MetaCard, Windows, OSX, linux. > > Registered PowerDebug users are entitled to the updates, and should > already have gotten notification emails. > > There's a text file in the zip archive describing debugging of > standalone applications, but the short form is this: > > 1. Include the libRemoteDebug.rev stack as a substack of your > standalone application > > 2. Add this to the main stack of your standalone: > > on startup > insert the script of stack "libRemoteDebug" into front > end startup > > and build your standalone application. If PowerDebug is running in the > same network subnet as the standalone then it will be able to catch > breakpoints and runtime errors just as if it were running in the IDE > (but see Known Issues below). > > Known Issues: > > There's a socket problem with standalones trying to change variable > values. Clicking in the variables display for standalones has been > disabled until this is worked out. It's apparently somewhere in the > engine, so it's out of my control for the moment. > > The old revlet demo is still here > http://www.ahsoftware.net/PowerTools/PowerDebug/PDDemo.html > and there's an updated annoying nagware version on revOnline. > > Even more, we're keeping the introductory pricing of $25 through the > end of May. > > http://www.ahsoftware.net/PowerTools/BuyPowerDebug.irev > > > ...and if you don't need all the bells and whistles, rumor has it that > Richard Gaskin has something in the works... > > -- > 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 Tue May 10 13:02:32 2011 From: bobs at twft.com (Bob Sneidar) Date: Tue, 10 May 2011 10:02:32 -0700 Subject: Menu Buttons In-Reply-To: <116156905953.20110509190519@ahsoftware.net> References: <6399A7CB-FABF-4D15-A621-0209D9F11AA4@clarkeandclarke.co.uk><398A8368-EF5F-48E6-946C-77472D9A5DA0@yahoo.com> <84ADB212-3170-4133-BD85-5169A4E0087C@unlserve.unl.edu> <8CDDC94C9E0553F-B74-2E8A@webmail-d094.sysops.aol.com> <116156905953.20110509190519@ahsoftware.net> Message-ID: <5447DEE4-4ACF-44C0-B39B-21BFF05691B7@twft.com> If it's a menu that can change programmatically (like a list of departments for example) then get the text of the field, get the lineoffset of what you are looking for, then set the menuhistory to that. For extra credit, save the last pick in a property, then check to see if the user selected the same thing next time around, and bail if he did to avoid any unwanted processing. Setting the menuhistory WILL trigger menupick. That's where you do it all. Remember to pass menupick in your menupick handler if you don't bail! Bob On May 9, 2011, at 7:05 PM, Mark Wieder wrote: > David- > > Monday, May 9, 2011, 2:18:41 PM, you wrote: > >> I've tried things like: > >> send menupick (line 3 of btn "Examples") to btn "Examples" > >> and > >> send menupick aspirin to btn "Examples" > > Try setting the menuHistory of the button > > -- > -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 Tue May 10 13:03:31 2011 From: bobs at twft.com (Bob Sneidar) Date: Tue, 10 May 2011 10:03:31 -0700 Subject: Menu Buttons In-Reply-To: References: <6399A7CB-FABF-4D15-A621-0209D9F11AA4@clarkeandclarke.co.uk> <398A8368-EF5F-48E6-946C-77472D9A5DA0@yahoo.com> <84ADB212-3170-4133-BD85-5169A4E0087C@unlserve.unl.edu> <8CDDC94C9E0553F-B74-2E8A@webmail-d094.sysops.aol.com> <2AAA878D-2265-4567-91F6-E8559530500C@wanadoo.fr> Message-ID: <628A2E13-01E8-48D5-90A5-46AC0D26ABFC@twft.com> or dispatch "menupick" to button "Examples" with "Aspirin" Bob On May 10, 2011, at 9:43 AM, Pete wrote: > I might be wrong but I think the send commands, as you listed them, aren't > correct - I believe the message and it's parameters have to be one string. > So something like: > > send "menuPick aspirin" to button "Examples" > > or > > send "menuPick" && (line 3 of btn "Examples") to btn "Examples" > > Pete > Molly's Revenge > > > > > On Tue, May 10, 2011 at 3:02 AM, Andr? Bisseret > wrote: > >> Bonjour David, >> >> Did you try : >> >> set the menuHistory of btn "examples" to 1 -- (or 2, 3, etc) >> >> Best regards from Grenoble >> >> Andr? >> >> >> Le 9 mai 2011 ? 23:18, David Brooks a ?crit : >> >>> I DO exactly those sorts of things. But, when I send a menupick message, >> nothing happens. >>> >>> I've tried things like: >>> >>> send menupick (line 3 of btn "Examples") to btn "Examples" >>> >>> and >>> >>> send menupick aspirin to btn "Examples" >>> >>> However, I've never used the term "combo box" and it looks as if I have a >> new avenue to try. Many thanks. This looks to be similar to what one would >> do with a field. >>> >>> MANY thanks. >>> >>> Best, >>> >>> Dave B. >>> >>> >>> >>> On May 9, 2011, at 2:16 PM, DunbarX at aol.com wrote: >>> >>>> When you say you want to drive the menuItems displayed by script, does >> that mean you never want to use the mouse at all? I made a workaround >> recently where I did something like this, and I am giving you a snippet for >> your examination. Make two buttons, one an ordinary one, and one a combo >> box. Put several choices into the combo. Place the comboBox so that the loc >> of its selection arrow is, say, "200,200". In the regular button script >> write: >>>> >>>> >>>> on mouseUp >>>> click at "200,200" >>>> wait 50 >>>> click at "175," && 225 + random(100) >>>> end mouseUp >>>> >>>> >>>> This should open the combo box and select a random line within it. You >> can trap a "menuPick" message inside the combo box. Not sure what you are >> doing, but this might give you a hint as to a possible method. HTH. >>>> >>>> >>>> Craig Newman >>>> >>>> >>>> >>>> >>>> >>>> >>>> -----Original Message----- >>>> From: David Brooks >>>> To: How to use LiveCode >>>> Sent: Mon, May 9, 2011 2:14 pm >>>> Subject: Menu Buttons >>>> >>>> >>>> I am trying to create a series of "helps" where I step a user through a >> process >>>> using the underlying tool. I have one "help" field that variously shows, >> hides, >>>> fills, and moves around. >>>> >>>> The scripts "say" things (aural feedback). >>>> >>>> There is a "pointer" button that locates as needed, flashes, and >> shows/hides. >>>> >>>> Here's my problem. Suppose I have a menu button that affords several >> choices. In >>>> my application, I can click the button, move among the choices from a >> list that >>>> is displayed -- with a choice automatically hiliting as I move around >> (hovering) >>>> in the list, and then click to make the hilited choice. >>>> >>>> I want to drive that from a script. Is there an easy way? The list seems >> to >>>> behave like some sort of modal stack that I must deal with. That is, if >> I create >>>> a script that pops out the list, that list behaves as I would expect -- >> FROM >>>> MOUSE ACTIONS -- but I haven't found scripting that leads to the same >> effects. I >>>> suppose I could capture images and use these AS IF they were the real >> thing, but >>>> then I'd have less flexibility than if I did this from scripts. >>>> >>>> Should I simply redesign things such that buttons display fields and try >> to go >>>> from there? I seem to be able to get that approach to work from scripts, >> but it >>>> seems cumbersome. >>>> >>>> Thanks in advance for your help. >>>> >>>> Dave B. >>>> >>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode 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 jimaultwins at yahoo.com Tue May 10 13:16:54 2011 From: jimaultwins at yahoo.com (Jim Ault) Date: Tue, 10 May 2011 10:16:54 -0700 Subject: Menu Buttons In-Reply-To: References: <6399A7CB-FABF-4D15-A621-0209D9F11AA4@clarkeandclarke.co.uk> <398A8368-EF5F-48E6-946C-77472D9A5DA0@yahoo.com> <84ADB212-3170-4133-BD85-5169A4E0087C@unlserve.unl.edu> <8CDDC94C9E0553F-B74-2E8A@webmail-d094.sysops.aol.com> <2AAA878D-2265-4567-91F6-E8559530500C@wanadoo.fr> Message-ID: <7F5EFA67-E82C-4E4D-A974-58143D3658EB@yahoo.com> On May 10, 2011, at 9:43 AM, Pete wrote: > I might be wrong but I think the send commands, as you listed them, > aren't > correct - I believe the message and it's parameters have to be one > string. > So something like: > > send "menuPick aspirin" to button "Examples" > > or > > send "menuPick" && (line 3 of btn "Examples") to btn "Examples" Pete, you are probably correct 'most of the time' and the reason is that most of the time the interpreter will use what it thinks you mean when it finds ambiguous syntax, and get it right. What this means is that to the interpreter... send menuPick && (line 3 of btn "Examples") to btn "Examples" could mean menuPick as a reserved word could mean menuPick as a variable or could mean "menuPick" as a string Hopefully you can see that you are leaving it up to the interpreter to know which you intend. send desiredKeyword && paramVariable to btn "Examples" -- can vary depending on what the interpreter sees as -- desiredKeyword > {literal string, variable, reserved word} If it is seen as a reserved word, then it probably evaluates as an empty string. step 2 If it is seen as a variable container, then it evaluates the value of that variable. and step 3 in the decision tree is to assume it is a literal string. To be consistent and reliable, a programmer should always insure a literal string is used and arrives as the exact equivalent desired, including spaces and commas. > Hope this helps. Jim Ault Las Vegas From lfredricks at proactive-intl.com Tue May 10 13:37:06 2011 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Tue, 10 May 2011 10:37:06 -0700 Subject: LC on ARM? $25 computer In-Reply-To: <2F1F3629-C5FB-4DCD-9EB1-DAD91549DC02@clarkeandclarke.co.uk> References: <4DC94FED.7050909@fourthworld.com><49CC961384D0437CAC7893CAD10286B9@GATEWAY> <2F1F3629-C5FB-4DCD-9EB1-DAD91549DC02@clarkeandclarke.co.uk> Message-ID: <1DE545295DBB48C0A58C74499E4EBF48@GATEWAY> > ...yes Lynn, you heard right - > http://www.microsoft.com/presspass/press/2011/jan11/01-05socsu > pport.mspx?rss_fdn=Custom I think we are going to see some serious Windows Tablet action with that, and a version of Windows that really is optimized for tablets and devices (other than phones). Windows 7 seems to be doing well on netbooks already. I borrowed my daughter's Acer netbook running Win 7 Basic for RunRev Live, and except for my fat fingers fumbling on the keyboard now and then, it's a pretty good experience. Best regards, Lynn Fredricks President Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server From capellan2000 at gmail.com Tue May 10 14:04:09 2011 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Tue, 10 May 2011 14:04:09 -0400 Subject: Approach to PDF input within LC Message-ID: on Mon, 09 May 2011 18:46:10 -0500 Ken Ray wrote: > Graham, you can use a VBScript to do this... take a look at this tip on my site: > http://www.sonsothunder.com/devres/revolution/tips/ext002.htm I have read this Tip before, but was unable to find a Visual Basic DLL to test it. By the way, displaying all PDF content in a card is not a trivial matter, given that there are as many PDF varieties as applications that write them. Some PDF are compressed, encripted, run Javascript code or have files attached etc, etc, etc... Some years ago, I collected many simple PDF files created by different applications and, not surprisingly, the code of each PDF was completely different of each other, although all of them displayed exactly the same objects on the screen. This tells more about the versatility of PDF readers than anything else. Maybe this tool by Curry Kenworthy could provide you with some useful ideas for completing this task: http://curryk.com/dev.html WordLib: Import Microsoft Word and Open Office documents into LiveCode fields. IDE: LiveCode or Runtime Revolution Status: Available now! Have a nice day Al From pete at mollysrevenge.com Tue May 10 14:15:38 2011 From: pete at mollysrevenge.com (Pete) Date: Tue, 10 May 2011 11:15:38 -0700 Subject: Menu Buttons In-Reply-To: <7F5EFA67-E82C-4E4D-A974-58143D3658EB@yahoo.com> References: <6399A7CB-FABF-4D15-A621-0209D9F11AA4@clarkeandclarke.co.uk> <398A8368-EF5F-48E6-946C-77472D9A5DA0@yahoo.com> <84ADB212-3170-4133-BD85-5169A4E0087C@unlserve.unl.edu> <8CDDC94C9E0553F-B74-2E8A@webmail-d094.sysops.aol.com> <2AAA878D-2265-4567-91F6-E8559530500C@wanadoo.fr> <7F5EFA67-E82C-4E4D-A974-58143D3658EB@yahoo.com> Message-ID: The original code examples didn't have the && between menuPick and (line 3 of btn "Examples") - that was the real problem I saw, probably should have made that clearer. Personally, I've got into the habit of using dispatch rather than send whenever possible just because the syntax lends itself to much easier passing of parameters. I think it's also worth commenting on setting the menuHistory to solve this problem. If a handler sets the menuHistory to it's existing value, no menuPick message is generated. I can't tell if that's significant to this problem but good to be aware of. Pete Molly's Revenge On Tue, May 10, 2011 at 10:16 AM, Jim Ault wrote: > On May 10, 2011, at 9:43 AM, Pete wrote: > > I might be wrong but I think the send commands, as you listed them, aren't >> correct - I believe the message and it's parameters have to be one string. >> So something like: >> >> send "menuPick aspirin" to button "Examples" >> >> or >> >> send "menuPick" && (line 3 of btn "Examples") to btn "Examples" >> > > > Pete, you are probably correct 'most of the time' and the reason is that > most of the time the interpreter will use what it thinks you mean when it > finds ambiguous syntax, and get it right. > > What this means is that to the interpreter... > > send menuPick && (line 3 of btn "Examples") to btn "Examples" > > could mean menuPick as a reserved word > could mean menuPick as a variable > or > could mean "menuPick" as a string > > Hopefully you can see that you are leaving it up to the interpreter to know > which you intend. > > send desiredKeyword && paramVariable to btn "Examples" > -- can vary depending on what the interpreter sees as > -- desiredKeyword > {literal string, variable, reserved word} > > If it is seen as a reserved word, then it probably evaluates as an empty > string. > step 2 If it is seen as a variable container, then it evaluates the value > of that variable. > and step 3 in the decision tree is to assume it is a literal string. > > To be consistent and reliable, a programmer should always insure a literal > string is used and arrives as the exact equivalent desired, including spaces > and commas. > >> >> Hope this helps. > > 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 davidocoker at gmail.com Tue May 10 14:29:12 2011 From: davidocoker at gmail.com (David C.) Date: Tue, 10 May 2011 13:29:12 -0500 Subject: revWeb revlets broken in Firefox 4.0? In-Reply-To: <1E125238-B422-4565-A2C7-70796D8E3503@twft.com> References: <4D8CCEC9.6070802@ucsd.edu> <179283214437.20110325190824@ahsoftware.net> <20010DCB7BAD418F8CFC695D4066C007@portablefip> <98DFB284-F95B-4BA0-843D-6364654A5E95@embarqmail.com> <1E125238-B422-4565-A2C7-70796D8E3503@twft.com> Message-ID: > .... 64 bit is the big issue. > > Bob Actually, I believe it's Firefox that is primarily at fault (at least on Windows) since I *was* able to run revlets on my 64 bit machine up until I upgraded to the FireFox 4.0 series. Unfortunately, it still makes revWeb almost useless in it's current form because although it does work with the 32 bit version of I.E. 9, it doesn't on the 64 bit version. Hopefully it won't take long for the LC team to get the kinks worked out of the plugin, in addition to bringing the Linux version to life maybe. :-) Best regards, David C. From bobs at twft.com Tue May 10 14:32:36 2011 From: bobs at twft.com (Bob Sneidar) Date: Tue, 10 May 2011 11:32:36 -0700 Subject: Menu Buttons In-Reply-To: References: <6399A7CB-FABF-4D15-A621-0209D9F11AA4@clarkeandclarke.co.uk> <398A8368-EF5F-48E6-946C-77472D9A5DA0@yahoo.com> <84ADB212-3170-4133-BD85-5169A4E0087C@unlserve.unl.edu> <8CDDC94C9E0553F-B74-2E8A@webmail-d094.sysops.aol.com> <2AAA878D-2265-4567-91F6-E8559530500C@wanadoo.fr> <7F5EFA67-E82C-4E4D-A974-58143D3658EB@yahoo.com> Message-ID: Oh hey didn't know that. It is true however, that selecting the current menu selection DOES trigger a menupick, which is probably why I thought setting the menuhistory to what it already is did the same thing. Bob On May 10, 2011, at 11:15 AM, Pete wrote: > I think it's also worth commenting on setting the menuHistory to solve this > problem. If a handler sets the menuHistory to it's existing value, no > menuPick message is generated. I can't tell if that's significant to this > problem but good to be aware of. > > Pete > Molly's Revenge From bobs at twft.com Tue May 10 14:34:17 2011 From: bobs at twft.com (Bob Sneidar) Date: Tue, 10 May 2011 11:34:17 -0700 Subject: revWeb revlets broken in Firefox 4.0? In-Reply-To: References: <4D8CCEC9.6070802@ucsd.edu> <179283214437.20110325190824@ahsoftware.net> <20010DCB7BAD418F8CFC695D4066C007@portablefip> <98DFB284-F95B-4BA0-843D-6364654A5E95@embarqmail.com> <1E125238-B422-4565-A2C7-70796D8E3503@twft.com> Message-ID: <4473C1F2-3275-4D73-A269-452CD3D5215C@twft.com> Right, I mean the fact that Firefox 4 is running in 64bit and the plugins are not. If it were Firefox 4 itself, then the plugins would not run even in 32 bit mode. Bob On May 10, 2011, at 11:29 AM, David C. wrote: >> .... 64 bit is the big issue. >> >> Bob > > Actually, I believe it's Firefox that is primarily at fault (at least > on Windows) since I *was* able to run revlets on my 64 bit machine up > until I upgraded to the FireFox 4.0 series. From capellan2000 at gmail.com Tue May 10 14:48:49 2011 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Tue, 10 May 2011 14:48:49 -0400 Subject: Test stack for Gif animation and Background Patterns Message-ID: Hi all, Please help me test how these features works in more recent versions of Livecode; Before testing, save and close all your current work, given that running the background pattern animation in this stack COULD crash LiveCode and (in some Linux instalations) restart X or GNOME Display Manager. 1- Download this stack: http://andregarzia.on-rev.com/alejandro/stacks/Animated_Backpattern.zip Open your OS specific CPU usage control panel: http://www.performancewiki.com/cpu-monitoring.html http://osxdaily.com/2009/10/06/monitoring-cpu-usage-on-your-mac-a-better-top-command/ http://www.ragingmenace.com/software/menumeters/ 2 - and click the topleft button named: "Click me to [animate/stop] the Backpattern" 3 - Post your results: Did the animated gif display correctly? i.e. not leaving black trails (These animated gif are the hiragana syllables ba, bu) Did your computer Processor usage shoots up? (If your system do not crash...) Thanks in advance! Al From pete at mollysrevenge.com Tue May 10 14:58:50 2011 From: pete at mollysrevenge.com (Pete) Date: Tue, 10 May 2011 11:58:50 -0700 Subject: Menu Buttons In-Reply-To: References: <6399A7CB-FABF-4D15-A621-0209D9F11AA4@clarkeandclarke.co.uk> <398A8368-EF5F-48E6-946C-77472D9A5DA0@yahoo.com> <84ADB212-3170-4133-BD85-5169A4E0087C@unlserve.unl.edu> <8CDDC94C9E0553F-B74-2E8A@webmail-d094.sysops.aol.com> <2AAA878D-2265-4567-91F6-E8559530500C@wanadoo.fr> <7F5EFA67-E82C-4E4D-A974-58143D3658EB@yahoo.com> Message-ID: I think that menuHistory behavior is what you'd want most of the time but just good to make people aware of it, just in case. And yes, selecting the current selection does trigger a menuPick so that's the way to do get around the menuHistory behavior if it matters. But then, as you pointed out, you need to do your own checking for the same selection if it matters... choices,choices! Pete Molly's Revenge On Tue, May 10, 2011 at 11:32 AM, Bob Sneidar wrote: > Oh hey didn't know that. It is true however, that selecting the current > menu selection DOES trigger a menupick, which is probably why I thought > setting the menuhistory to what it already is did the same thing. > > Bob > > > On May 10, 2011, at 11:15 AM, Pete wrote: > > > I think it's also worth commenting on setting the menuHistory to solve > this > > problem. If a handler sets the menuHistory to it's existing value, no > > menuPick message is generated. I can't tell if that's significant to > this > > problem but good to be aware of. > > > > 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 niggemann at uni-wh.de Tue May 10 15:43:56 2011 From: niggemann at uni-wh.de (BNig) Date: Tue, 10 May 2011 12:43:56 -0700 (PDT) Subject: Test stack for Gif animation and Background Patterns In-Reply-To: References: Message-ID: <1305056636637-3512829.post@n4.nabble.com> Hi Alejandro, tested your stack in Livecode 4.6, MacOSX 10.6.7, MacBook Pro Intel i5 2.53 GHz Processor usage in full stack size 1920x1200 37% no crash but unresponsive stack. changed: repeat until the mouse is down -- code wait tFrameDelay millisecond with messages -- code wait 0 milliseconds with messages end repeat I think the way you coded it you choked Livecode since it had no chance to do a cleanup in the repeat loop. With the changes I made the stack is responsive and the animation stops as soon as the mouse is down. Previously the mouseClick did not stop the animation for me. I still would do this rather in a send in time manner instead of a repeat loop. Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Test-stack-for-Gif-animation-and-Background-Patterns-tp3512698p3512829.html Sent from the Revolution - User mailing list archive at Nabble.com. From davidocoker at gmail.com Tue May 10 17:00:08 2011 From: davidocoker at gmail.com (David C.) Date: Tue, 10 May 2011 16:00:08 -0500 Subject: revWeb revlets broken in Firefox 4.0? In-Reply-To: <4473C1F2-3275-4D73-A269-452CD3D5215C@twft.com> References: <4D8CCEC9.6070802@ucsd.edu> <179283214437.20110325190824@ahsoftware.net> <20010DCB7BAD418F8CFC695D4066C007@portablefip> <98DFB284-F95B-4BA0-843D-6364654A5E95@embarqmail.com> <1E125238-B422-4565-A2C7-70796D8E3503@twft.com> <4473C1F2-3275-4D73-A269-452CD3D5215C@twft.com> Message-ID: On Tue, May 10, 2011 at 1:34 PM, Bob Sneidar wrote: > Right, I mean the fact that Firefox 4 is running in 64bit and the plugins are not. If it were Firefox 4 itself, then the plugins would not run even in 32 bit mode. > > Bob I think one of us is missing something here, Bob. Before the Firefox 4 updates, this very same 64 bit Win 7 computer that I'm typing on, ran the plugin without any problems at all using the previous version of Firefox. There hasn't been any new release of the plugin itself, so that should indicate that the problem with crashing must be in the new release of Firefox rather than the LC plugin. Best regards, David C. From bobs at twft.com Tue May 10 17:36:08 2011 From: bobs at twft.com (Bob Sneidar) Date: Tue, 10 May 2011 14:36:08 -0700 Subject: revWeb revlets broken in Firefox 4.0? In-Reply-To: References: <4D8CCEC9.6070802@ucsd.edu> <179283214437.20110325190824@ahsoftware.net> <20010DCB7BAD418F8CFC695D4066C007@portablefip> <98DFB284-F95B-4BA0-843D-6364654A5E95@embarqmail.com> <1E125238-B422-4565-A2C7-70796D8E3503@twft.com> <4473C1F2-3275-4D73-A269-452CD3D5215C@twft.com> Message-ID: Oh I'm sorry, I didn't know you were referring to Firefox on your computer, I thought it was in response to something I had posted about my own non-64 bit plugins not working. I'll pay attention better. Bob On May 10, 2011, at 2:00 PM, David C. wrote: > On Tue, May 10, 2011 at 1:34 PM, Bob Sneidar wrote: >> Right, I mean the fact that Firefox 4 is running in 64bit and the plugins are not. If it were Firefox 4 itself, then the plugins would not run even in 32 bit mode. >> >> Bob > > I think one of us is missing something here, Bob. > Before the Firefox 4 updates, this very same 64 bit Win 7 computer > that I'm typing on, ran the plugin without any problems at all using > the previous version of Firefox. There hasn't been any new release of > the plugin itself, so that should indicate that the problem with > crashing must be in the new release of Firefox rather than the LC > plugin. > > Best regards, > David C. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From davidocoker at gmail.com Tue May 10 17:40:52 2011 From: davidocoker at gmail.com (David C.) Date: Tue, 10 May 2011 16:40:52 -0500 Subject: revWeb revlets broken in Firefox 4.0? In-Reply-To: References: <4D8CCEC9.6070802@ucsd.edu> <179283214437.20110325190824@ahsoftware.net> <20010DCB7BAD418F8CFC695D4066C007@portablefip> <98DFB284-F95B-4BA0-843D-6364654A5E95@embarqmail.com> <1E125238-B422-4565-A2C7-70796D8E3503@twft.com> <4473C1F2-3275-4D73-A269-452CD3D5215C@twft.com> Message-ID: On Tue, May 10, 2011 at 4:36 PM, Bob Sneidar wrote: > Oh I'm sorry, I didn't know you were referring to Firefox on your computer, I thought it was in response to something I had posted about my own non-64 bit plugins not working. I'll pay attention better. > > Bob It's no big deal at all... but you had me scratching my head. ;-) Best regards, David C. From livfoss at mac.com Tue May 10 17:46:50 2011 From: livfoss at mac.com (Graham Samuel) Date: Tue, 10 May 2011 23:46:50 +0200 Subject: Approach to PDF input within LC Message-ID: On Mon, 09 May 2011 18:46:10 -0500, Ken Ray wrote: >> Er, yes. The only tutorial material I can find is about **writing** Externals, >> something I wish to avoid like the plague. As before, I'm asking for pointers, >> in this case to the implementation of a 'simple wrapper' in a Windows >> environment. What I'm really trying to avoid is having to learn a new (well, >> probably quite old) development environment and a new (to me) language - the >> whole grammar of the API, at least. Maybe there are no short cuts, in which >> case I will have to go back to school. But it seems hard, after all the >> struggles I've had over the years to bootstrap my way out of low-level coding. >> >> As ever, any suggestions gratefully received. > > Graham, you can use a VBScript to do this... take a look at this tip on my > site: > > http://www.sonsothunder.com/devres/revolution/tips/ext002.htm Thanks Ken, this looks really useful. There is a lot I can't follow at first reading, and I am working with a third-party DLL that has a very extensive API (more than 20 functions) but maybe that doesn't matter. I will make a big effort to understand what I have to do. Also since writing my grumbles above I have found on the LC Resources site two lessons relating to externals (I think the first is by Trevor DeVore), but AFAICS they don't tackle the issue of how to get at the functions in the DLL itself, which you of course do. In passing I would say I think it's odd that the information about how to incorporate and use third-party DLLs (the 'simple wrapper') is not part of the basic LC documentation, since a lot of functionality seems to be available off the shelf so to speak, but it's not much use if it takes days of research to incorporate it into the LC environment. Thanks again Graham From capellan2000 at gmail.com Tue May 10 17:57:48 2011 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Tue, 10 May 2011 17:57:48 -0400 Subject: Test stack for Gif animation and Background Patterns Message-ID: Hi Bernd, on Tue May 10 14:43:56 Bernd Niggemann wrote: > Hi Alejandro, > tested your stack in Livecode 4.6, MacOSX 10.6.7, > MacBook Pro Intel i5 2.53 GHz > Processor usage in full stack size 1920x1200 37% > no crash but unresponsive stack. In Windows XP, processor usage raise from 01 to 09, but memory usage barely goes from 35mb to 40mb. > changed: > repeat until the mouse is down > -- code > wait tFrameDelay millisecond with messages > -- code > wait 0 milliseconds with messages > end repeat Interesting enough, this code change does not show any improvement in XP. Maybe in Windows 7 or Vista, but not in XP. > I think the way you coded it you choked Livecode since it had no chance to > do a cleanup in the repeat loop. This is a good explanation. Recently, running this stack: http://revonline2.runrev.com/stack/577/Kaleidoscope-Deluxe I was unable to stop the circle animation showed in third card... > With the changes I made the stack is responsive and the animation stops as > soon as the mouse is down. Previously the mouseClick did not stop the > animation for me. > I still would do this rather in a send in time manner instead of a repeat > loop. Yes, "send in time" is a construct that Scott Rossi demostrated in this stack: http://andregarzia.on-rev.com/alejandro/stacks/walkingman_Rossi.zip By the way, Did animated gif look fine in Mac OS X? No black trails? Which LiveCode version are you using? Thanks for your time testing this stack! :-) Al From niggemann at uni-wh.de Tue May 10 18:30:25 2011 From: niggemann at uni-wh.de (BNig) Date: Tue, 10 May 2011 15:30:25 -0700 (PDT) Subject: Test stack for Gif animation and Background Patterns In-Reply-To: References: Message-ID: <1305066625036-3513169.post@n4.nabble.com> Hi Alejandro, I used Livecode 4.6.1 The animation looks good, no black stripes. In the original dimensions of your stack the processore usage is about 24% when animating, 10% when "idling" (with the gifs animated without the backgroundpattern. >Interesting enough, this code change does not show any improvement in XP. >Maybe in Windows 7 or Vista, but not in XP. The changes I made were not for speed or processor load, just for Livecode to do its cleanup and make the stack responsive to user interaction like dragging the stack around and accept mouse events. I had stacks in a long repeat loop and a lot of image processing that led to an increase in memory usage and eventually a crash in livecode. The crash was gone once I used send in time. This apparently gave Livecode enough time to release memory etc. Kind regards Bernd Alejandro Tejada wrote: > > Hi Bernd, > > on Tue May 10 14:43:56 > Bernd Niggemann wrote: > >> Hi Alejandro, >> tested your stack in Livecode 4.6, MacOSX 10.6.7, >> MacBook Pro Intel i5 2.53 GHz >> Processor usage in full stack size 1920x1200 37% >> no crash but unresponsive stack. > > In Windows XP, processor usage raise from 01 to 09, > but memory usage barely goes from 35mb to 40mb. > >> changed: >> repeat until the mouse is down >> -- code >> wait tFrameDelay millisecond with messages >> -- code >> wait 0 milliseconds with messages >> end repeat > > Interesting enough, this code change does not show any improvement in XP. > Maybe in Windows 7 or Vista, but not in XP. > >> I think the way you coded it you choked Livecode since it had no chance >> to >> do a cleanup in the repeat loop. > > This is a good explanation. Recently, running this stack: > http://revonline2.runrev.com/stack/577/Kaleidoscope-Deluxe > I was unable to stop the circle animation showed in third card... > >> With the changes I made the stack is responsive and the animation stops >> as >> soon as the mouse is down. Previously the mouseClick did not stop the >> animation for me. >> I still would do this rather in a send in time manner instead of a repeat >> loop. > > Yes, "send in time" is a construct that Scott Rossi demostrated in this > stack: > http://andregarzia.on-rev.com/alejandro/stacks/walkingman_Rossi.zip > > By the way, Did animated gif look fine in Mac OS X? No black trails? > Which LiveCode version are you using? > > Thanks for your time testing this stack! :-) > > Al > -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Test-stack-for-Gif-animation-and-Background-Patterns-tp3512698p3513169.html Sent from the Revolution - User mailing list archive at Nabble.com. From runrev260805 at m-r-d.de Tue May 10 18:35:09 2011 From: runrev260805 at m-r-d.de (Matthias Rebbe) Date: Wed, 11 May 2011 00:35:09 +0200 Subject: s anyone using HTC Desire with LiveCode Android Message-ID: <030F2729-A331-4550-AD31-98EA0B51CDC8@m-r-d.de> Hi, is anyone using a HTC Desire with LiveCode Android? For whatever reason my HTC is not shown under "Development->Test Target" in LiveCode. i checked and USB Debuging is enabled on the HTC. Any ideas? Regards, Matthias From lvhdgc7 at gmail.com Tue May 10 19:07:44 2011 From: lvhdgc7 at gmail.com (tbodine) Date: Tue, 10 May 2011 16:07:44 -0700 (PDT) Subject: Odd sort of numbers after text import in DataGrid Message-ID: <1305068864729-3513277.post@n4.nabble.com> Hi, Having a bit of trouble sorting score numbers after importing a tab-delimited text file. Using dgText for import into a table, sorting the score column shows: 0 9 10 100 11 Is there a way to change certain columns to be sorted as number data instead of text? Thx, Tom Bodine -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Odd-sort-of-numbers-after-text-import-in-DataGrid-tp3513277p3513277.html Sent from the Revolution - User mailing list archive at Nabble.com. From jacque at hyperactivesw.com Tue May 10 19:09:19 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Tue, 10 May 2011 18:09:19 -0500 Subject: s anyone using HTC Desire with LiveCode Android In-Reply-To: <030F2729-A331-4550-AD31-98EA0B51CDC8@m-r-d.de> References: <030F2729-A331-4550-AD31-98EA0B51CDC8@m-r-d.de> Message-ID: <4DC9C59F.4000804@hyperactivesw.com> On 5/10/11 5:35 PM, Matthias Rebbe wrote: > Hi, > > is anyone using a HTC Desire with LiveCode Android? For whatever > reason my HTC is not shown under "Development->Test Target" in > LiveCode. i checked and USB Debuging is enabled on the HTC. I had a terrible time getting my Archos to appear, it took 3 days of googling and tinkering the first time. You need to use adb and a terminal window to see if the device has mounted. If it appears there, it will appear in the LiveCode IDE. This worked for me, maybe something in here will help: If adb is running, shut it down. Turn on debugging on the device (Settings -> Applications -> Development). *Restart the device*. That was important for me, I had to shut down and reboot my Archos before debugging mode worked. Launch adb. (Double-click "android" in the tools folder.) Don't open any emulators. Open a new terminal window. Do a "cd" to the platform-tools folder on your hard drive (so you won't have to type the full path for other commands.) Type: ./adb kill-server (to make sure all servers are gone) Plug in the device via the USB cable. Wait a moment. Type: ./adb devices If successful, your device ID should appear. Once it does, you should be able to launch LiveCode and see it in the Test Target menu. After your device is enabled, you can also open an emulator if you want and both that and the device will be in LiveCode's test menu. You can alternate between them. One last thing: most devices work as-is, but my Archos required a special setup. I had to open the .android folder in my Home directory, and edit the adb_usb.ini file to add an Archos-specific identifier. Without that, the device just wouldn't mount. Check the web to see if your HTC Desire needs something similar. It probably won't, most devices don't, but without that magic spell I couldn't proceed. Note that all the Android devices the RR team uses will mount automatically without any of the above, they just plug them in and it works. I wasn't so lucky. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From alex at tweedly.net Tue May 10 19:15:42 2011 From: alex at tweedly.net (Alex Tweedly) Date: Wed, 11 May 2011 00:15:42 +0100 Subject: Odd sort of numbers after text import in DataGrid In-Reply-To: <1305068864729-3513277.post@n4.nabble.com> References: <1305068864729-3513277.post@n4.nabble.com> Message-ID: <4DC9C71E.7070205@tweedly.net> Use "numeric" as the (optional) sorttype in the sort command - see dictionary. For example, sort lines of field thisField descending numeric by item x of each -- Alex. On 11/05/2011 00:07, tbodine wrote: > Hi, > Having a bit of trouble sorting score numbers after importing a > tab-delimited text file. Using dgText for import into a table, sorting the > score column shows: > 0 > 9 > 10 > 100 > 11 > > Is there a way to change certain columns to be sorted as number data instead > of text? > > Thx, > Tom Bodine > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Odd-sort-of-numbers-after-text-import-in-DataGrid-tp3513277p3513277.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 tsj at unimelb.edu.au Tue May 10 19:22:39 2011 From: tsj at unimelb.edu.au (Terry Judd) Date: Wed, 11 May 2011 09:22:39 +1000 Subject: Odd sort of numbers after text import in DataGrid In-Reply-To: <1305068864729-3513277.post@n4.nabble.com> Message-ID: On 11/05/2011 09:07 AM, "tbodine" wrote: > Hi, > Having a bit of trouble sorting score numbers after importing a > tab-delimited text file. Using dgText for import into a table, sorting the > score column shows: > 0 > 9 > 10 > 100 > 11 > > Is there a way to change certain columns to be sorted as number data instead > of text? Tom - try this... 1. Select the datagrid 2. bring up the property inspector 3. go to the columns pane 4. select your column 5. check the sort by column checkbox 6. choose numeric from the dgColumnSortType popup 7. that's it Terry... > > Thx, > Tom Bodine > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/Odd-sort-of-numbers-after-text- > import-in-DataGrid-tp3513277p3513277.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 > -- Dr Terry Judd | Senior Lecturer in Medical Education Medical Education Unit Melbourne Medical School The University of Melbourne From pete at mollysrevenge.com Tue May 10 19:35:10 2011 From: pete at mollysrevenge.com (Pete) Date: Tue, 10 May 2011 16:35:10 -0700 Subject: Odd sort of numbers after text import in DataGrid In-Reply-To: <1305068864729-3513277.post@n4.nabble.com> References: <1305068864729-3513277.post@n4.nabble.com> Message-ID: There's a property of a datagrid column in the columns inspector that lets you specify what type of sort to perform - text, numeric, etc. In scripts you can do the same thing by setting the dgcolumnsorttype[] to "numeric". Probably want to do that in a SortDatagridColumn message handler in the datagrid's group script to set that and other sort properties any time the user clicks on a column header to sort it. Full details in the Datagrid Reference manual. Pete Molly's Revenge On Tue, May 10, 2011 at 4:07 PM, tbodine wrote: > Hi, > Having a bit of trouble sorting score numbers after importing a > tab-delimited text file. Using dgText for import into a table, sorting the > score column shows: > 0 > 9 > 10 > 100 > 11 > > Is there a way to change certain columns to be sorted as number data > instead > of text? > > Thx, > Tom Bodine > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/Odd-sort-of-numbers-after-text-import-in-DataGrid-tp3513277p3513277.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 May 10 19:35:10 2011 From: pete at mollysrevenge.com (Pete) Date: Tue, 10 May 2011 16:35:10 -0700 Subject: Odd sort of numbers after text import in DataGrid In-Reply-To: <1305068864729-3513277.post@n4.nabble.com> References: <1305068864729-3513277.post@n4.nabble.com> Message-ID: There's a property of a datagrid column in the columns inspector that lets you specify what type of sort to perform - text, numeric, etc. In scripts you can do the same thing by setting the dgcolumnsorttype[] to "numeric". Probably want to do that in a SortDatagridColumn message handler in the datagrid's group script to set that and other sort properties any time the user clicks on a column header to sort it. Full details in the Datagrid Reference manual. Pete Molly's Revenge On Tue, May 10, 2011 at 4:07 PM, tbodine wrote: > Hi, > Having a bit of trouble sorting score numbers after importing a > tab-delimited text file. Using dgText for import into a table, sorting the > score column shows: > 0 > 9 > 10 > 100 > 11 > > Is there a way to change certain columns to be sorted as number data > instead > of text? > > Thx, > Tom Bodine > > > -- > View this message in context: > http://runtime-revolution.278305.n4.nabble.com/Odd-sort-of-numbers-after-text-import-in-DataGrid-tp3513277p3513277.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 m.schonewille at economy-x-talk.com Tue May 10 19:44:26 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 11 May 2011 01:44:26 +0200 Subject: Live LiveCode Code Event #22 Wrap-Up Message-ID: Dear LiveCoders, Last Saturday, 7 May, we had another nice on-line gathering of LiveCode fans. This time we had 2 interesting presentations. At the recent RunRev conference there was a contest, where attendees, and simulcast viewers, were asked to create a stack that was suitable for use on mobile devices, from scratch, using LiveCode. There were nine entries, with the winning entry being a jigsaw puzzle app that Colin made for the iPad. Colin showed us the app, and went over all of the code that makes it work. Jim's introduced a collection of pages that can help the beginner, intermediate, and advanced users. There are quite a few resources available, but yet so many programmers do not know how to find them. You can find the links at the new web page http://blog.livecode.tv/links/ Watch Jim's presentation at http://www.ustream.tv/recorded/14574695 or download it here http://qery.us/q5 eHUG raffled off the e-book "Take Control of Media on Your iPad" courtesy of TidBITS. The e-book was won by Thierry. Go to http://www.ehug.info for eHUG's website and to http://www.tidbits.com for TidBITS' site. We are still looking for people who are willing to do a presentation. Please look at http://qery.us/oj for ideas and contact Bj?rnke by e-mail and tell him when you're available. I hope to see you all at the event next time. We will be making announcements on this mailing list and at http://livecode.tv where you can also find a copy of this text. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce From coiin at verizon.net Tue May 10 20:02:21 2011 From: coiin at verizon.net (Colin Holgate) Date: Tue, 10 May 2011 20:02:21 -0400 Subject: Live LiveCode Code Event #22 Wrap-Up In-Reply-To: References: Message-ID: Not that I'm all for online performing, but was there a link to my recording? I certainly recorded it, and did a save. From mwieder at ahsoftware.net Tue May 10 20:51:00 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 10 May 2011 17:51:00 -0700 Subject: Menu Buttons In-Reply-To: References: <6399A7CB-FABF-4D15-A621-0209D9F11AA4@clarkeandclarke.co.uk> <398A8368-EF5F-48E6-946C-77472D9A5DA0@yahoo.com> <84ADB212-3170-4133-BD85-5169A4E0087C@unlserve.unl.edu> <8CDDC94C9E0553F-B74-2E8A@webmail-d094.sysops.aol.com> <2AAA878D-2265-4567-91F6-E8559530500C@wanadoo.fr> <7F5EFA67-E82C-4E4D-A974-58143D3658EB@yahoo.com> Message-ID: <36238847218.20110510175100@ahsoftware.net> Pete- Tuesday, May 10, 2011, 11:15:38 AM, you wrote: > I think it's also worth commenting on setting the menuHistory to solve this > problem. If a handler sets the menuHistory to it's existing value, no > menuPick message is generated. I can't tell if that's significant to this > problem but good to be aware of. That's a bug (#9301) that got fixed in the 4.6.0 release. -- -Mark Wieder mwieder at ahsoftware.net From lvhdgc7 at gmail.com Tue May 10 20:53:50 2011 From: lvhdgc7 at gmail.com (tbodine) Date: Tue, 10 May 2011 17:53:50 -0700 (PDT) Subject: Odd sort of numbers after text import in DataGrid In-Reply-To: References: <1305068864729-3513277.post@n4.nabble.com> Message-ID: <1305075230622-3513408.post@n4.nabble.com> Ah, just what I was looking for. Works perfectly now. Many thanks. -- Tom Bodine -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Odd-sort-of-numbers-after-text-import-in-DataGrid-tp3513277p3513408.html Sent from the Revolution - User mailing list archive at Nabble.com. From mwieder at ahsoftware.net Tue May 10 20:56:48 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 10 May 2011 17:56:48 -0700 Subject: Test stack for Gif animation and Background Patterns In-Reply-To: References: Message-ID: <122239194656.20110510175648@ahsoftware.net> Alejandro- FWIW, on Fedora Core 13 it ran flawlessly: roughly 20% cpu usage with no apparent slowdown and an insignificant hit on memory usage. This on a six-month old 2.6GHz quad-core Thinkpad with 4G memory. -- -Mark Wieder mwieder at ahsoftware.net From pete at mollysrevenge.com Tue May 10 23:40:34 2011 From: pete at mollysrevenge.com (Pete) Date: Tue, 10 May 2011 20:40:34 -0700 Subject: Menu Buttons In-Reply-To: <36238847218.20110510175100@ahsoftware.net> References: <6399A7CB-FABF-4D15-A621-0209D9F11AA4@clarkeandclarke.co.uk> <398A8368-EF5F-48E6-946C-77472D9A5DA0@yahoo.com> <84ADB212-3170-4133-BD85-5169A4E0087C@unlserve.unl.edu> <8CDDC94C9E0553F-B74-2E8A@webmail-d094.sysops.aol.com> <2AAA878D-2265-4567-91F6-E8559530500C@wanadoo.fr> <7F5EFA67-E82C-4E4D-A974-58143D3658EB@yahoo.com> <36238847218.20110510175100@ahsoftware.net> Message-ID: Hmmm, well I just tried it and got no menuPick when I set the menuHistory to its existing value (running 4.6.0.) I read the text of the bug report and it's a little confusing about what actually got fixed or even if anything did. My reply was strictly to do with option menus but the bug report seems to be referring to pulldown/popup/cascade menus, although even then, I'm not sure what got fixed. So I stand by my original comment about this, at least as far as option menus are concerned. And if indeed it did change and I'm somehow not experiencing the change, then it would be great if the user comment in the dictionary was either updated or deleted. Molly's Revenge On Tue, May 10, 2011 at 5:51 PM, Mark Wieder wrote: > Pete- > > Tuesday, May 10, 2011, 11:15:38 AM, you wrote: > > > I think it's also worth commenting on setting the menuHistory to solve > this > > problem. If a handler sets the menuHistory to it's existing value, no > > menuPick message is generated. I can't tell if that's significant to > this > > problem but good to be aware of. > > That's a bug (#9301) that got fixed in the 4.6.0 release. > > -- > -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 andre at andregarzia.com Tue May 10 23:41:49 2011 From: andre at andregarzia.com (Andre Garzia) Date: Tue, 10 May 2011 17:41:49 -1000 Subject: Please answer my survey on Social Network Libraries for LiveCode In-Reply-To: References: Message-ID: Folks, About almost wrapping this up so if you haven't answered the survey or if you just remembered that someone might be interested in it, please, take your time to go to http://fon.nu/MAK68EA and check it out. Many people have answered it and I thanks everyone that did. Those that allowed followups will receive a nice little toy plugin for the IDE as a reward for their time. It is the first time that I created surveys to evaluate marketing potential of a product, it is also the first time that I am about to release a dual licensed library set so this kind of stats are important. Thanks again for all the help during this period! Cheers andre From capellan2000 at gmail.com Wed May 11 00:20:55 2011 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Tue, 10 May 2011 21:20:55 -0700 (PDT) Subject: Please answer my survey on Social Network Libraries for LiveCode In-Reply-To: References: Message-ID: <1305087655469-3513829.post@n4.nabble.com> Survey Completed :-) -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Please-answer-my-survey-on-Social-Network-Libraries-for-LiveCode-tp3501161p3513829.html Sent from the Revolution - User mailing list archive at Nabble.com. From capellan2000 at gmail.com Wed May 11 00:25:31 2011 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Tue, 10 May 2011 21:25:31 -0700 (PDT) Subject: Test stack for Gif animation and Background Patterns In-Reply-To: <122239194656.20110510175648@ahsoftware.net> References: <122239194656.20110510175648@ahsoftware.net> Message-ID: <1305087931938-3513833.post@n4.nabble.com> Hi Mark, Mark Wieder wrote: > > FWIW, on Fedora Core 13 it ran flawlessly: roughly 20% cpu usage with > no apparent slowdown and an insignificant hit on memory usage. This on > a six-month old 2.6GHz quad-core Thinkpad with 4G memory. > Fedora! This is really good news. Did you noticed if animated gif had black trails while running? Which LiveCode version are you using? Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Test-stack-for-Gif-animation-and-Background-Patterns-tp3512698p3513833.html Sent from the Revolution - User mailing list archive at Nabble.com. From capellan2000 at gmail.com Wed May 11 00:36:51 2011 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Tue, 10 May 2011 21:36:51 -0700 (PDT) Subject: Test stack for Gif animation and Background Patterns In-Reply-To: <1305066625036-3513169.post@n4.nabble.com> References: <1305066625036-3513169.post@n4.nabble.com> Message-ID: <1305088611529-3513845.post@n4.nabble.com> Hi Bernd, BNig wrote: > > [snip] > The changes I made were not for speed or processor load, just for Livecode > to do its cleanup and make the stack responsive to user interaction like > dragging the stack around and accept mouse events. > I had stacks in a long repeat loop and a lot of image processing that led > to an increase in memory usage and eventually a crash in livecode. The > crash was gone once I used send in time. This apparently gave Livecode > enough time to release memory etc. > Ok, I understand. It's surprising that this code works fine (without change) in Windows XP and Fedora. Only in Mac OS X this code fails to stop the background animation. Could that be a bug that only appears in Mac OS?? Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Test-stack-for-Gif-animation-and-Background-Patterns-tp3512698p3513845.html Sent from the Revolution - User mailing list archive at Nabble.com. From mwieder at ahsoftware.net Wed May 11 00:53:38 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 10 May 2011 21:53:38 -0700 Subject: Test stack for Gif animation and Background Patterns In-Reply-To: <1305087931938-3513833.post@n4.nabble.com> References: <122239194656.20110510175648@ahsoftware.net> <1305087931938-3513833.post@n4.nabble.com> Message-ID: <10253404875.20110510215338@ahsoftware.net> Alejandro- Tuesday, May 10, 2011, 9:25:31 PM, you wrote: > Fedora! This is really good news. Did you noticed if animated > gif had black trails while running? Which LiveCode version are > you using? ...black trails... I'll check tomorrow when I'm back at my work computer. But it looked fine - brush strokes showing how to draw the characters, nothing weird. I'll check and report back. -- -Mark Wieder mwieder at ahsoftware.net From mwieder at ahsoftware.net Wed May 11 01:08:54 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 10 May 2011 22:08:54 -0700 Subject: Menu Buttons In-Reply-To: References: <6399A7CB-FABF-4D15-A621-0209D9F11AA4@clarkeandclarke.co.uk> <398A8368-EF5F-48E6-946C-77472D9A5DA0@yahoo.com> <84ADB212-3170-4133-BD85-5169A4E0087C@unlserve.unl.edu> <8CDDC94C9E0553F-B74-2E8A@webmail-d094.sysops.aol.com> <2AAA878D-2265-4567-91F6-E8559530500C@wanadoo.fr> <7F5EFA67-E82C-4E4D-A974-58143D3658EB@yahoo.com> <36238847218.20110510175100@ahsoftware.net> Message-ID: <20254320781.20110510220854@ahsoftware.net> Pete- Tuesday, May 10, 2011, 8:40:34 PM, you wrote: > Hmmm, well I just tried it and got no menuPick when I set the menuHistory to > its existing value (running 4.6.0.) Here's the issue: setting the menuHistory of menu buttons would work, but *only* if a new value was being set (not the same as the current value). So the fix was to trigger the menuPick message when the menuHistory command was issued irregardless of the current value of the menu button. That's working now. I just tried it again to make sure, with both pulldown and option menus. script of button 1: on mouseDown set the menuPick of button 3 to 2 end mouseDown script of button 2: on mouseDown set the menuPick of button 4 to 2 end mouseDown script of pulldown button 3: on menuPick pChosen switch pChosen default set the label of me to pChosen answer pChosen end switch end menuPick script of option button 4: on menuPick pChosen switch pChosen default set the label of me to pChosen answer pChosen end switch end menuPick Are you seeing something different? -- -Mark Wieder mwieder at ahsoftware.net From dglass at graymattercomputing.com Wed May 11 01:52:42 2011 From: dglass at graymattercomputing.com (David Glass) Date: Tue, 10 May 2011 22:52:42 -0700 Subject: IDE 'Reset' Message-ID: <4DCA242A.2040405@graymattercomputing.com> I often am working on more than one project at a time, and am trying to come up with a way to do it in LC, particularly when using the GLX framework which creates a bunch of support stacks. LC doesn't allow duplicate stack names, so when I go to open another project I get the 'Close, Purge, Cancel' (or whatever it is) message, and I have to select Purge in order to completely remove the first project's stacks, and load the second project's stacks. The brute force way would be to have multiple copies of LC running, but that is not really ideal, IMO. My second thought (the first one was multiple copies of LC), was a command (or series) in the Message Box that would save, close, and remove from memory everything in the Application Browser, with the end result being an empty Application Browser ready to be repopulated when I open the next project. My third thought was to ask here to see if anybody had any other ideas. I'd be interested in hearing if other people have this same issue (maybe it's just me), and if so how you've solved, or worked around, it. (technically posting here was my fourth thought, since I'd already posted to the forum; not surprisingly the audiences are somewhat different) -- David Glass - Gray Matter Computing graymattercomputing.com From mwieder at ahsoftware.net Wed May 11 02:15:35 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Tue, 10 May 2011 23:15:35 -0700 Subject: IDE 'Reset' In-Reply-To: <4DCA242A.2040405@graymattercomputing.com> References: <4DCA242A.2040405@graymattercomputing.com> Message-ID: <152258322500.20110510231535@ahsoftware.net> David- This is one of the oldest and most annoying bugs in the bug database (bug #1061 dating from 2003 and rev 2.1.2). The last comment from the rev team is from Mark Waddingham in 2004... "Re-assigning to engine team for future re-assignment." I think for RevLive2014 we should have a celebration for the tenth anniversary of this comment. http://quality.runrev.com/show_bug.cgi?id=1061 also bugs 143, 1036 -- -Mark Wieder mwieder at ahsoftware.net From tvogelaar at de-mare.nl Wed May 11 02:17:21 2011 From: tvogelaar at de-mare.nl (Terry Vogelaar) Date: Wed, 11 May 2011 08:17:21 +0200 Subject: Unexpected behavior in iOS app In-Reply-To: References: Message-ID: <5D2B41EB-7182-4C38-8B4A-C717C7BFC9CC@de-mare.nl> I'm running into a few problems building an iOS app. The most important one is this one. I want it to retrieve data from an 18MB text file, because I want it to work when the device is not connected to the internet. So I tried this: on preopenstack put "file:" & specialFolderPath("documents") & "/Muziek.txt" into docsmap if the environment = "mobile" then answer "Download or use local?" with "Download" or "Local" if it is "Download" then put url "http://dl.dropbox.com/u/10128030/Muziek.txt" into muzieklijst -- not the actual url put muzieklijst into url docsmap else put url docsmap into muzieklijst end if else put url "file:~/Dropbox/Public/Muziek.txt" into muzieklijst end if -- and some additional processing of the muzieklijst data that works fine end preopenstack As you can see, it intends to write the text file I expected the download to be only the first time the app is used, or optionally when I know the file has changed. It takes a few minutes staring at a black screen, but eventually it works. But apparently it doesn't save the file on the iPod Touch. The variable muzieklijst only contains data when it is freshly downloaded. If I tap on the "Local" button, muzieklijst stays empty. In this case, to drag the file to the Documents area of the app in the Apps tab when the iPod is connected to iTunes is even better than downloading. So I tried it, and it is there each time I connect my iPod to iTunes. But the app apparently can't access it when I choose "Local". I also tried to run it using the iPhone Simulator. But apparently the downloaded file is saved to ~/Documents/Muziek.txt, while I expect it to end up in ~/Library/Application Support/iPhone Simulator/4.1/Applications/CCDE447A-9119-43DF-B1C3-33A59507200B/Documents/Muziek.txt So apparently specialFolderPath("documents") doesn't work as expected on iOS. That was the main problem; but I encountered some minor ones as well. For example, pickers. I see a beautiful picker on iOS when using a button with the menuMode set to 'option'. But on screen, the button looks 90'ish with an ugly border around it. So I tried to set the menuMode to 'pulldown' or any of the other menuMode settings, to have more control over how the button looks on screen. But then I loose the picker control; instead I have an ugly 90'ish list to choose my items from. Also, I applied a great technique I learned on the Beginners Mobile Course on the Simulcast. I put a bunch of PNGs in a Resouces substack and I copied the scripts from the Ticked Off stack, used in the demo. It worked great; it scaled all the icons on the main stack. But as soon as I switched an icon (using: "set the icon of me to 1023"), it showed (the center portion of) the large version of that icon; not the downscaled one I wanted to see. Terry From stephenREVOLUTION2 at barncard.com Wed May 11 02:51:26 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Tue, 10 May 2011 23:51:26 -0700 Subject: IDE 'Reset' In-Reply-To: <4DCA242A.2040405@graymattercomputing.com> References: <4DCA242A.2040405@graymattercomputing.com> Message-ID: Actually using multiple instances of Livecode is fine, and what Trevor recommended to avoid namespace conflict in his live seminar demonstrating the framework. On 10 May 2011 22:52, David Glass wrote: > > The brute force way would be to have multiple copies of LC running, but > that is not really ideal, IMO. > Stephen Barncard San Francisco Ca. USA more about sqb From niggemann at uni-wh.de Wed May 11 04:35:30 2011 From: niggemann at uni-wh.de (BNig) Date: Wed, 11 May 2011 01:35:30 -0700 (PDT) Subject: Test stack for Gif animation and Background Patterns In-Reply-To: <1305088611529-3513845.post@n4.nabble.com> References: <1305066625036-3513169.post@n4.nabble.com> <1305088611529-3513845.post@n4.nabble.com> Message-ID: <1305102930707-3514146.post@n4.nabble.com> Hi Alejandro, your script does work on MacOSX in its original form. The repeat until mouseClick does stop the animation. I retested and it works. What does not work in your original stack is that the stack is frozen, i.e. it can not be moved while the animation is running. You can move the stack once you add the "with messages" to the wait command. Sorry to be unclear on this. Somehow I had the impression the stack was not stopping the animation in its original form when clicking. Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Test-stack-for-Gif-animation-and-Background-Patterns-tp3512698p3514146.html Sent from the Revolution - User mailing list archive at Nabble.com. From keith.clarke at clarkeandclarke.co.uk Wed May 11 05:16:54 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Wed, 11 May 2011 10:16:54 +0100 Subject: Gradients on buttons? Message-ID: <2823B6CC-02F5-42BB-AD29-EF37464C317F@clarkeandclarke.co.uk> Hi folks, Is there any particular reason why buttons don't support gradients - at least for those styles of button that are not attempting to be (desktop) OS-compliant, such as rounded rectangles? This seems strange as native gradient support for rounded rectangle buttons would (seem to) simplify web and mobile app development(?) The current (manual) workflow a tad long-winded: for each button for each state create rounded rectangle graphics for fill and border, group, import as an image and set as the button's icon next state next button Am I missing a trick here - or is it perhaps that with behaviours, buttons are now obsolescent for the UI and instead, we should be setting common, button-like behaviours and styles onto graphics (or groups)? But currently, behaviours have to point to buttons - and buttons don't support gradients - return to line 1!! Can anyone help break this loop? Best, Keith.. From scott at tactilemedia.com Wed May 11 05:43:53 2011 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 11 May 2011 02:43:53 -0700 Subject: Gradients on buttons? In-Reply-To: <2823B6CC-02F5-42BB-AD29-EF37464C317F@clarkeandclarke.co.uk> Message-ID: Keith: To me, it seems like you're talking about two different things here. To create custom roundrect buttons, you're correct: you either need to import button images to use as icons on native button objects, or create buttons using roundrect graphics and/or groups. When it comes to behaviors, native buttons are simply the containers that hold the behavior scripts for whatever objects they are assigned to -- behaviors can be assigned to virtually any object in LiveCode. I'm not sure why you would need to style/modify a behavior button with a gradient. So your workflow could be to create your custom button object (graphic or group) and then place its operating script/s within the object itself, or set the object's behavior to a native button that contains the operating script/s. Hope this helps. Regards, Scott Rossi Creative Director Tactile Media, UX Design Recently, Keith Clarke wrote: > Hi folks, > Is there any particular reason why buttons don't support gradients - at least > for those styles of button that are not attempting to be (desktop) > OS-compliant, such as rounded rectangles? > > This seems strange as native gradient support for rounded rectangle buttons > would (seem to) simplify web and mobile app development(?) > > The current (manual) workflow a tad long-winded: > for each button > for each state > create rounded rectangle graphics for fill and border, group, import > as an image and set as the button's icon > next state > next button > > Am I missing a trick here - or is it perhaps that with behaviours, buttons are > now obsolescent for the UI and instead, we should be setting common, > button-like behaviours and styles onto graphics (or groups)? > > But currently, behaviours have to point to buttons - and buttons don't support > gradients - return to line 1!! > > Can anyone help break this loop? > Best, > Keith.. From niggemann at uni-wh.de Wed May 11 06:06:55 2011 From: niggemann at uni-wh.de (BNig) Date: Wed, 11 May 2011 03:06:55 -0700 (PDT) Subject: Gradients on buttons? In-Reply-To: <2823B6CC-02F5-42BB-AD29-EF37464C317F@clarkeandclarke.co.uk> References: <2823B6CC-02F5-42BB-AD29-EF37464C317F@clarkeandclarke.co.uk> Message-ID: <1305108415070-3514309.post@n4.nabble.com> Hi Keith, at present Livecode is not very good in the mobile environment at rendering gradients and graphic effects. Images are OK. Even if you would have the option to apply gradient and graphic effects to buttons it would affect performance. I tried to do a Livecode native grapic object that has gradients and graphic effects to mimic the appearance of iOS buttons. Then I take a snapshot of those and use them as buttons in iOS apps. you might want to have a look at it: (watch out for linebreaks in the url) http://www.berndniggemann.on-rev.com/btnsiphone/ButtonsiPhone_0.1.9.livecode.zip as a revlet (you can copy the images out of the revlet if you press the "select button" or "select images" buttons): http://berndniggemann.on-rev.com/iphonebtnsrevlet/ Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Gradients-on-buttons-tp3514217p3514309.html Sent from the Revolution - User mailing list archive at Nabble.com. From tkuypers at telenet.be Wed May 11 06:08:42 2011 From: tkuypers at telenet.be (tkuypers at telenet.be) Date: Wed, 11 May 2011 12:08:42 +0200 Subject: IDE 'Reset' In-Reply-To: <4DCA242A.2040405@graymattercomputing.com> References: <4DCA242A.2040405@graymattercomputing.com> Message-ID: <0C69C582-4E03-4FEB-8068-1E48487AA8C4@telenet.be> Just my two cents... To prevent this, I always name my stacks with a prefix... So when the project is called "mySampleApp", I name each substack with a prefix: mySampleApp msa_Main msa_Preferences msa_whatever This way I'm always able to open other stacks and copy items and code from them to another project. I even created a small plugin to duplicate an existing project and rename it to a new project, using the same naming convention. If you can't solve the main problem, think about it and create your own solution to solve it ;-) Regards Ton Kuypers On 11-mei-2011, at 07:52, David Glass wrote: > I often am working on more than one project at a time, and am trying to come up with a way to do it in LC, particularly when using the GLX framework which creates a bunch of support stacks. > > LC doesn't allow duplicate stack names, so when I go to open another project I get the 'Close, Purge, Cancel' (or whatever it is) message, and I have to select Purge in order to completely remove the first project's stacks, and load the second project's stacks. > > The brute force way would be to have multiple copies of LC running, but that is not really ideal, IMO. > > My second thought (the first one was multiple copies of LC), was a command (or series) in the Message Box that would save, close, and remove from memory everything in the Application Browser, with the end result being an empty Application Browser ready to be repopulated when I open the next project. > > My third thought was to ask here to see if anybody had any other ideas. I'd be interested in hearing if other people have this same issue (maybe it's just me), and if so how you've solved, or worked around, it. > > (technically posting here was my fourth thought, since I'd already posted to the forum; not surprisingly the audiences are somewhat different) > > -- > David Glass - Gray Matter Computing > graymattercomputing.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 rene.micout at numericable.com Wed May 11 06:18:29 2011 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Wed, 11 May 2011 12:18:29 +0200 Subject: Gradients on buttons? In-Reply-To: <1305108415070-3514309.post@n4.nabble.com> References: <2823B6CC-02F5-42BB-AD29-EF37464C317F@clarkeandclarke.co.uk> <1305108415070-3514309.post@n4.nabble.com> Message-ID: <37796611-D0B4-4C46-A3FF-FEE65A94CFA9@numericable.com> Thank you Bernd ! Beautiful work ! Just a question : why no "Lucida grande" font ? Bon souvenir de Paris Ren? Le 11 mai 2011 ? 12:06, BNig a ?crit : > Hi Keith, > > at present Livecode is not very good in the mobile environment at rendering > gradients and graphic effects. > Images are OK. Even if you would have the option to apply gradient and > graphic effects to buttons it would affect performance. > > I tried to do a Livecode native grapic object that has gradients and graphic > effects to mimic the appearance of iOS buttons. Then I take a snapshot of > those and use them as buttons in iOS apps. > > you might want to have a look at it: (watch out for linebreaks in the url) > > http://www.berndniggemann.on-rev.com/btnsiphone/ButtonsiPhone_0.1.9.livecode.zip > > as a revlet (you can copy the images out of the revlet if you press the > "select button" or "select images" buttons): > > http://berndniggemann.on-rev.com/iphonebtnsrevlet/ > > > > Kind regards > > Bernd > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Gradients-on-buttons-tp3514217p3514309.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 hanson at runrev.com Wed May 11 06:33:36 2011 From: hanson at runrev.com (Hanson) Date: Wed, 11 May 2011 11:33:36 +0100 Subject: "Blurred vision" of Rev newsletter, Apr 21 Message-ID: <4DCA6600.7010607@runrev.com> Dear Prof. Sanke, thank you very much for your great contributions to image processing with LiveCode and for sharing your work with us. Your e-mail, reviewing some of the history of image processing with LiveCode is fascinating and your stacks are extremely interesting. I can only recommend anyone exploring image processing to have a look at the stacks and test their capabilities. Mit Freundlichen Gruessen, Hanson Schmidt-Cornelius LiveCode Team On 26/04/2011 21:37, Wilhelm Sanke wrote: > First there is a minor confusion about numbers: The subject of the > post I received reads "[109] Summer Academy; Flying to San Jose", when > I open it I see "revUp issue 108". Be that as it may, what I want to > comment on is the article "Vision: Blur" by Hanson Schmidt-Cornelius > in that newsletter. > > Hanson presents a series of scripts that are related to each other to > achieve a "blur filter" effect using sort of a 3x3-convolve matrix. I > want to add some information and discuss the issue in a somewhat > broader context. As Hanson did not himself supply a sample stack, I > produced one that contains his scripts along with a number of > alternative "blur" scripts and apart from that added some other > filters which might be interesting for Livecode users that intend to > look at image processing. > > You can get the stack here: > . > > I also recommend - for those who like to experiment with image > processing - my older stacks > - > and > - > > Last, but not least, you should download Chipp Walters' stack of 2002 > "altConvolve2.rev" from here > > > > to get the historical perspective. > > Chipp Walters has indeed been the first Metacard/Revolution user to > develop a scripted version of a 3x3 matrix filter in his sample stack > "altConvolve2.rev" of 2002 > His aim was to demonstrate that imagedata could be managed > effectively even without the help of an external. Chipp had bundled > his stack with an external by Scott Raney to let you compare whether > the 3x3-convolve matrices, with and without an external, produce the > same results. Unfortunately, from Metacard version 2.4.2 on the > sequence of the 4 imagedata chars of an image pixel had been altered, > and Scott's older external now produced images with a strong yellow > tint. Apart from that disadvantage, using the external was about 500 > times faster than Chipp's no-external script. > I have later used Derek Bump's "convolve.dll" external that is tuned > to the newer color sequence, but - like Scott's external - is > available only for Windows. Derek's external is included in my > distribution of my "Imagedata Toolkit (see URL above). Lately I had > the opportunity to test prototypes of Lua-externals (Mac and Windows) > for Revolution/Livecode. Performance - speed - of all these externals > are at least 60 times faster than any even speed-optimized > scripted-only filter versions, on the average these externals are > about 100 times faster. > > For Chipp, "Speed" of execution was not a consideration for him at > that time - and not necessary, as he used very small > images in his sample stack. He mainly wanted to show that matrix > filters could be natively scripted in Metacard/Revolution > > To be able to use the convolve matrix with larger images, I made a > number of changes to Chipp's original script, > abandoning among other things the use of arrays in this context or > the "round" function which speeded up > the performance of the filter by a factor of 10.8, only 3328 > milliseconds instead of formerly 36008 ms for an image > sized 640x480 (WindowsXP, 2.8 GHz machine, using the Metacard IDE. > Performance with the Rev/Livecode IDE > is about another 5 seconds slower) > > Another improvement was introduced by Mark Waddingham, who > recommended taking the assignment of matrix > values away from inside the repeat loop ("put 0 + item 1 of convArray > into tA1" etc.) - an overlooked, but really obvious > way to do this - which speeded up performance by another 30% and > brought down the total execution speed to > 2308 milliseconds - measured with the same image and filter values > (performance here will differ slightly with the specific > structure of an image and with different filter matrix values). > > In my "Imagedata Toolkit" stack you find such optimized > natively-scripted matrix filters, as also in "Seamless Tiles", along > with about matrix 100 filter examples of very different kinds, i.e. > not only blur filters. > > In my new sample stack "Blurred Vision" I have now put together 7 > different "blur" filters for comparison. > > You find Hanson's blur script (presented in the newsletter of April > 21) in button "Rev-blur" and the stack script. Speed of his blur > filter is 32 seconds in the Rev IDE and 28 in the MC IDE; when > compiled as a Rev standalone performance is like in the Metacard IDE > (configurations as described above). > > The optimized Walters/Sanke/Waddingham version of the scripted > 3x3-matrix filter in contained in button "matrix blur 3x3". Execution > speed is presently 2281 milliseconds, based on a test I just made. > > This raises the question why Hanson's scripts are so much slower - 12 > times - than "matrix blur 3x3"? I did not yet find time for a detailed > analysis, but I believe that - even given the special structue of the > related scripts - the performance could certainly be improved. One > recommendation would be *not* to use arrays , which against popular > belief really "slows down" performance in this context of image > processing. > > The next blur button "matrix blur 5x5" is based on a matrix of 25 > pixels, and the speed is still a tolerable 5900 milliseconds for > 640x480 images. > > The basix structure of "Lua-blur" is also a that of a matrix filter. > The original Lua script is contained in the script for the sake of > comparison. A radius of 1 corresponds to a 3x3 matrix, 2 to a 5x5 > matrix, 3 to a 7x7 matrix etc. Speed of this button with a radius of 1 > as equivalent to a 3x3 matrix is about 5 seconds, for greater radii > performance slows down considerably. This is of course not the case if > you would run the original Lua script in a Lua environment or with an > external. > > Buttons "Simple blur" and "simple blur compact" - 2568 and 1889 > milliseconds - do not use a 9-pixel matrix, but compute the respective > blur values on the basis of only two adjacent pixels. > > "Progressive blur" uses a different aproach by comparing not 2 > adjacent pixels, but 2 pixels that are more distant, up to 50 pixels, > which results still in "blurred" images, but with a different > "shadowy" character. > Speed of this algorithm is 2500 milliseconds independent of the > distance of the processed pixels. > > The last blur example - "fast blur" - employs an algorithm I > originally used to add hues of any color to images, and then slightly > modified. Execution time is a rather stable 2 seconds for any of the > blur values (from 1 to 45) you can choose, and the result of the blur > is one of the best.-- > > You may notice that the images when modified by matrix filters may > show "borders". In my "Imagedata Toolkit" I have applied special > "remove borders" scripts that take account of this feature, but not in > the "Blurred vision" stack. > > I have added 30 more filters to the "blurred vision" stack > demonstrating the use of filters other than for blur purposes. > If you want to apply "lithography" and "emboss/contours" filters, make > sure you first apply one or more of the "despeckle/median" filters for > better results. > > I am sure you will like the "random gradients" and "seamless mirrors" > filters, which introduce new dimensions for image processing. > > I attach the text of this mail as an introductory text the sample > stack "Blurred Vision".ision > > Kind regards, > > Wilhelm Sanke > Prof. emeritus > Educational Technology > University of Kassel, Germany > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Wed May 11 06:37:16 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Wed, 11 May 2011 11:37:16 +0100 Subject: Gradients on buttons? In-Reply-To: References: Message-ID: <454EEA75-E0FC-404A-BBD7-4A55C6D9AE7C@clarkeandclarke.co.uk> Scott and Bernd, Thanks for confirming the situation with gradients on buttons. Scott - I'm just learning about behaviours, so thanks for clarifying that they are controlled by scripts on the target button (such as 'set the fillGradient [of graphic] to propertiesArray') rather than the properties of the behaviour target button itself. That explains why my behaviours aren't working too well - more lessons to lookup! :-) So, I have created my first UI 'menu tab' button, with idle, hilite, armed and hover icons set as the imported image snapshots of graphics. I can't seem to align the button's name text correctly within the imported graphics, so I've added an overlaying field for the tab title. The only problem now is that the mouse location is not being passed to the underlying button when the mouse is over this Title field. I've tried adding the following script to the Title field but it's not working - any ideas? on mouseEnter pass mouseEnter end mouseEnter on mouseLeave pass mouseLeave end mouseLeave Best, Keith.. On 11 May 2011, at 10:43, Scott Rossi wrote: > Keith: > > To me, it seems like you're talking about two different things here. To > create custom roundrect buttons, you're correct: you either need to import > button images to use as icons on native button objects, or create buttons > using roundrect graphics and/or groups. > > When it comes to behaviors, native buttons are simply the containers that > hold the behavior scripts for whatever objects they are assigned to -- > behaviors can be assigned to virtually any object in LiveCode. I'm not sure > why you would need to style/modify a behavior button with a gradient. > > So your workflow could be to create your custom button object (graphic or > group) and then place its operating script/s within the object itself, or > set the object's behavior to a native button that contains the operating > script/s. > > Hope this helps. > > Regards, > > Scott Rossi > Creative Director > Tactile Media, UX Design From scott at tactilemedia.com Wed May 11 06:53:01 2011 From: scott at tactilemedia.com (Scott Rossi) Date: Wed, 11 May 2011 03:53:01 -0700 Subject: Gradients on buttons? In-Reply-To: <454EEA75-E0FC-404A-BBD7-4A55C6D9AE7C@clarkeandclarke.co.uk> Message-ID: Recently, Keith Clarke wrote: > So, I have created my first UI 'menu tab' button, with idle, hilite, armed and > hover icons set as the imported image snapshots of graphics. I can't seem to > align the button's name text correctly within the imported graphics, so I've > added an overlaying field for the tab title. The only problem now is that the > mouse location is not being passed to the underlying button when the mouse is > over this Title field. I've tried adding the following script to the Title > field but it's not working - any ideas? > > on mouseEnter > pass mouseEnter > end mouseEnter > > on mouseLeave > pass mouseLeave > end mouseLeave Try disabling the field. Regards, Scott Rossi Creative Director Tactile Media, UX Design From niggemann at uni-wh.de Wed May 11 07:02:15 2011 From: niggemann at uni-wh.de (BNig) Date: Wed, 11 May 2011 04:02:15 -0700 (PDT) Subject: Gradients on buttons? In-Reply-To: <37796611-D0B4-4C46-A3FF-FEE65A94CFA9@numericable.com> References: <2823B6CC-02F5-42BB-AD29-EF37464C317F@clarkeandclarke.co.uk> <1305108415070-3514309.post@n4.nabble.com> <37796611-D0B4-4C46-A3FF-FEE65A94CFA9@numericable.com> Message-ID: <1305111735886-3514387.post@n4.nabble.com> Hi Ren?, thank you. I seem to recollect that Lucida Grande is not used on the iPhone but I may be wrong with this. A quick check now seems to confirm this but the info is not the most current. The way it is now: there is a hidden field "iPhoneFonts" that has a list of fonts that I found that are supported on the iPhone. The button that chooses fonts checks that against installed fonts. Only if a font of the list in the hidden field is installed on the Computer it is made available as an option. If you edit the field "iPhoneFonts" in the property inspector-> content then you can add Lucida Grande and it will be available as a Font. Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Gradients-on-buttons-tp3514217p3514387.html Sent from the Revolution - User mailing list archive at Nabble.com. From keith.clarke at clarkeandclarke.co.uk Wed May 11 07:08:02 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Wed, 11 May 2011 12:08:02 +0100 Subject: Gradients on buttons? In-Reply-To: References: Message-ID: ...great, that sorted it - thanks. The dictionary could be clearer on this, as there is no mention of using disabled to ignore mouseEnter/ mouseLeave - only clicks or key presses. Thanks again, Keith.. On 11 May 2011, at 11:53, Scott Rossi wrote: > Recently, Keith Clarke wrote: > >> So, I have created my first UI 'menu tab' button, with idle, hilite, armed and >> hover icons set as the imported image snapshots of graphics. I can't seem to >> align the button's name text correctly within the imported graphics, so I've >> added an overlaying field for the tab title. The only problem now is that the >> mouse location is not being passed to the underlying button when the mouse is >> over this Title field. I've tried adding the following script to the Title >> field but it's not working - any ideas? >> >> on mouseEnter >> pass mouseEnter >> end mouseEnter >> >> on mouseLeave >> pass mouseLeave >> end mouseLeave > > Try disabling the field. > > 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 ben at runrev.com Wed May 11 07:38:41 2011 From: ben at runrev.com (Benjamin Beaumont) Date: Wed, 11 May 2011 12:38:41 +0100 Subject: Yellow Blues on Glows In-Reply-To: <4DC9663D.6000201@hyperactivesw.com> References: <4DC7997C.6080702@pair.com> <4DC9663D.6000201@hyperactivesw.com> Message-ID: Hi Curry, Are you still experiencing the behaviour in the latest version? If so, post a bug report with a sample and we'll fix it. Warm regards, Ben On 10 May 2011 17:22, J. Landman Gay wrote: > On 5/9/11 2:36 AM, Curry Kenworthy wrote: > >> >> In LiveCode 4.6.1, Windows 7, I'm suddenly getting blues and yellows >> swapped for outer glows! A blue glow is now yellow and vice versa. >> >> Rev 4.0 and LiveCode 4.5.3 don't have this problem; the colors are not >> reversed. >> >> (Not sure if anything else other than outer glow is affected.) >> >> Can anyone else confirm this color switchout? >> > > It happened to me on Android; blue and orange were reversed. But that was > fixed with the update released at the conference. > > -- > 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 > -- _____________________________________________ Benjamin Beaumont . RunRev Ltd Revolution Product Manager mail : 25a Thistle Street Lane South West, Edinburgh, EH2 1EW email : ben at runrev.com company : +44(0) 845 219 89 23 fax : +44(0) 845 458 8487 web : www.runrev.com From rene.micout at numericable.com Wed May 11 07:48:40 2011 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Wed, 11 May 2011 13:48:40 +0200 Subject: Gradients on buttons? In-Reply-To: <1305111735886-3514387.post@n4.nabble.com> References: <2823B6CC-02F5-42BB-AD29-EF37464C317F@clarkeandclarke.co.uk> <1305108415070-3514309.post@n4.nabble.com> <37796611-D0B4-4C46-A3FF-FEE65A94CFA9@numericable.com> <1305111735886-3514387.post@n4.nabble.com> Message-ID: <2A4DE7B5-C700-4FA2-81B7-6834C993752D@numericable.com> Thank you again Bernd ! I am a Mac addict... And I think I can use this for Mac button also... and "Lion" shows the tip of his nose... So... Ren? Le 11 mai 2011 ? 13:02, BNig a ?crit : > Hi Ren?, > > thank you. > > > I seem to recollect that Lucida Grande is not used on the iPhone but I may > be wrong with this. A quick check now seems to confirm this but the info is > not the most current. > > The way it is now: there is a hidden field "iPhoneFonts" that has a list of > fonts that I found that are supported on the iPhone. The button that chooses > fonts checks that against installed fonts. Only if a font of the list in the > hidden field is installed on the Computer it is made available as an option. > > If you edit the field "iPhoneFonts" in the property inspector-> content then > you can add Lucida Grande and it will be available as a Font. > > Kind regards > > Bernd > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/Gradients-on-buttons-tp3514217p3514387.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 Wed May 11 08:42:17 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Wed, 11 May 2011 13:42:17 +0100 Subject: Field content in background group only visible on its 'parent' card? Message-ID: Hi folks, I have a background group containing a sub-group, which in turn, contains a button, plus an overlaying field that contains the button's Title (as I can't align the button's name against its 'icon' images appropriately). This Title field is selectable on all cards in the stack but the content text is invisible on all cards except the one where it was created. I've tried removing and replacing the background group but no change - and new cards have the same problem. Any clues? Best, Keith.. From klaus at major.on-rev.com Wed May 11 08:48:46 2011 From: klaus at major.on-rev.com (Klaus on-rev) Date: Wed, 11 May 2011 14:48:46 +0200 Subject: Field content in background group only visible on its 'parent' card? In-Reply-To: References: Message-ID: Hi Keith, > Hi folks, > I have a background group containing a sub-group, which in turn, contains a button, plus an overlaying field that contains the button's Title (as I can't align the button's name against its 'icon' images appropriately). > > This Title field is selectable on all cards in the stack but the content text is invisible on all cards except the one where it was created. > > I've tried removing and replacing the background group but no change - and new cards have the same problem. > Any clues? did you check the "sharedtext" (Share text) of these fields? > Best, > Keith.. > _______________________________________________ > use-livecode m Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From m.schonewille at economy-x-talk.com Wed May 11 08:52:12 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 11 May 2011 14:52:12 +0200 Subject: Field content in background group only visible on its 'parent' card? In-Reply-To: References: Message-ID: Keith, set the sharedText of fld x to true You can also do this in the property inspector. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce On 11 mei 2011, at 14:42, Keith Clarke wrote: > Hi folks, > I have a background group containing a sub-group, which in turn, contains a button, plus an overlaying field that contains the button's Title (as I can't align the button's name against its 'icon' images appropriately). > > This Title field is selectable on all cards in the stack but the content text is invisible on all cards except the one where it was created. > > I've tried removing and replacing the background group but no change - and new cards have the same problem. > Any clues? > Best, > Keith.. From keith.clarke at clarkeandclarke.co.uk Wed May 11 09:24:01 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Wed, 11 May 2011 14:24:01 +0100 Subject: Field content in background group only visible on its 'parent' card? In-Reply-To: References: Message-ID: Thanks Klaus (and Mark) - yes that was it. One more property understood - 9,999 to go. It's so frustrating to be stuck in the 'consciously incompetent' quadrant with LiveCode - you need to know what is wrong before you can find it in the dictionary - and then it's so obvious! (Aaargh!) The dictionary states that it defaults to true - so I must have accidentally toggled it when working with neighbouring properties. So, at least my big, fat, clumsy fingers are being interpreted accurately by my Magic Mouse! Best, Keith.. On 11 May 2011, at 13:48, Klaus on-rev wrote: > Hi Keith, > >> Hi folks, >> I have a background group containing a sub-group, which in turn, contains a button, plus an overlaying field that contains the button's Title (as I can't align the button's name against its 'icon' images appropriately). >> >> This Title field is selectable on all cards in the stack but the content text is invisible on all cards except the one where it was created. >> >> I've tried removing and replacing the background group but no change - and new cards have the same problem. >> Any clues? > > did you check the "sharedtext" (Share text) of these fields? > >> Best, >> Keith.. >> _______________________________________________ >> use-livecode m > > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > klaus at major.on-rev.com From ambassador at fourthworld.com Wed May 11 09:25:55 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 11 May 2011 06:25:55 -0700 Subject: Test stack for Gif animation and Background Patterns In-Reply-To: <122239194656.20110510175648@ahsoftware.net> References: <122239194656.20110510175648@ahsoftware.net> Message-ID: <4DCA8E63.5000602@fourthworld.com> Mark Wieder wrote: > Alejandro- > > FWIW, on Fedora Core 13 it ran flawlessly: roughly 20% cpu usage with > no apparent slowdown and an insignificant hit on memory usage. This on > a six-month old 2.6GHz quad-core Thinkpad with 4G memory. Same good result here on Ubuntu 10.10. -- 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 ambassador at fourthworld.com Wed May 11 09:32:56 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 11 May 2011 06:32:56 -0700 Subject: Gradients on buttons? In-Reply-To: <2823B6CC-02F5-42BB-AD29-EF37464C317F@clarkeandclarke.co.uk> References: <2823B6CC-02F5-42BB-AD29-EF37464C317F@clarkeandclarke.co.uk> Message-ID: <4DCA9008.4030703@fourthworld.com> Keith Clarke wrote: > Is there any particular reason why buttons don't support gradients > - at least for those styles of button that are not attempting to > be (desktop) OS-compliant, such as rounded rectangles? Looks like a design decision, but given how well the other graphic effects have been applied to all controls I've submitted this request for gradients to be available for all controls as well: In the meantime, rolling your own with behaviors or images as the others have suggested is probably your best bet for now. -- 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 ambassador at fourthworld.com Wed May 11 09:50:31 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 11 May 2011 06:50:31 -0700 Subject: IDE 'Reset' In-Reply-To: <4DCA242A.2040405@graymattercomputing.com> References: <4DCA242A.2040405@graymattercomputing.com> Message-ID: <4DCA9427.2070807@fourthworld.com> David Glass wrote: > I often am working on more than one project at a time, and am trying to > come up with a way to do it in LC, particularly when using the GLX > framework which creates a bunch of support stacks. > > LC doesn't allow duplicate stack names, so when I go to open another > project I get the 'Close, Purge, Cancel' (or whatever it is) message, > and I have to select Purge in order to completely remove the first > project's stacks, and load the second project's stacks. > > The brute force way would be to have multiple copies of LC running, but > that is not really ideal, IMO. I gave up idealism in my 20s in favor of mere pragmatism. To paraphrase the old saw, "best" is the enemy of "shipping". ;) For better or worse, using multiple copies of an LC install lets me work on multiple projects simultaneously with complete severance between them, all the way down to common global names (like gAppStack*) I tend to use in my apps. Since v3.something (?) you can even copy controls between different instances of LC, so you get all the benefits of working in a single memory space without the complications. Additionally, I tend to keep the last several versions of LC installed to work on different projects according to which has been field-tested in our apps, upgrading only when we're in another Beta round. I've also found keeping multiple versions installed invaluable for verifying regressions between engine versions. So while I have them installed and sitting in my Dock (OS X) or launcher (Ubuntu), dropping stack files on them to open them in separate instances is a breeze. * gAppStack is a great way for everything in your project to know which stack is the mainstack of the standalone, useful for all sorts of things like setting up paths to Components folders for storing libraries and externals. So if you don't mind another plug for the Rev Interoperability Project (RIP), one of the initiatives in progress with that working group now is a library I'm developing to help with updating app components and more, using a single global variable to keep track of the necessary info. Like other RIP initiatives, this library will make it easier for developers of libraries and behaviors to share their work among multiple projects, and will be available for free under the liberal terms of the MIT license. The Rev Interoperability Project has more than a hundred members, many of whom contribute ideas and code for the benefit of the community as a whole. Membership is open to all who are interested: -- 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 keith.clarke at clarkeandclarke.co.uk Wed May 11 09:53:20 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Wed, 11 May 2011 14:53:20 +0100 Subject: Gradients on buttons? In-Reply-To: <4DCA9008.4030703@fourthworld.com> References: <2823B6CC-02F5-42BB-AD29-EF37464C317F@clarkeandclarke.co.uk> <4DCA9008.4030703@fourthworld.com> Message-ID: Thanks Richard - It would certainly make life easier for desktop and web apps. Let's hope that mobile platforms and/or the engine get more efficient graphics capabilities soon, so that on-the-fly gradient support for mobile becomes feasible and attractive. That would then enable and most likely drive a cross-platform approach. Best, Keith.. On 11 May 2011, at 14:32, Richard Gaskin wrote: > Keith Clarke wrote: > > > Is there any particular reason why buttons don't support gradients > > - at least for those styles of button that are not attempting to > > be (desktop) OS-compliant, such as rounded rectangles? > > Looks like a design decision, but given how well the other graphic effects have been applied to all controls I've submitted this request for gradients to be available for all controls as well: > > > > In the meantime, rolling your own with behaviors or images as the others have suggested is probably your best bet for now. > > -- > 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 tereza at califex.com Wed May 11 10:02:35 2011 From: tereza at califex.com (Tereza Snyder) Date: Wed, 11 May 2011 09:02:35 -0500 Subject: IDE 'Reset' In-Reply-To: <4DCA9427.2070807@fourthworld.com> References: <4DCA242A.2040405@graymattercomputing.com> <4DCA9427.2070807@fourthworld.com> Message-ID: <9019702D-D080-4C41-8925-7EBE66A466E5@califex.com> On May 11, 2011, at 8:50 AM, Richard Gaskin wrote: > > * gAppStack is a great way for everything in your project to know which stack is the mainstack of the standalone, useful for all sorts of things like setting up paths to Components folders for storing libraries and externals. Slightly more useful, IMHO, is a gAppInfoA[] global available to be initialized with not only the appStack name but also other runtime info like paths to components folders and prefs files, title strings, prefs values, configuration options, and other data that has to be used everywhere but ought to be loaded only once. t -- Tereza Snyder Califex Software, Inc. From ambassador at fourthworld.com Wed May 11 10:49:49 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 11 May 2011 07:49:49 -0700 Subject: IDE 'Reset' In-Reply-To: <9019702D-D080-4C41-8925-7EBE66A466E5@califex.com> References: <9019702D-D080-4C41-8925-7EBE66A466E5@califex.com> Message-ID: <4DCAA20D.7000908@fourthworld.com> Tereza Snyder wrote: > On May 11, 2011, at 8:50 AM, Richard Gaskin wrote: > >> * gAppStack is a great way for everything in your project to know >> which stack is the mainstack of the standalone, useful for all >> sorts of things like setting up paths to Components folders for >> storing libraries and externals. > > Slightly more useful, IMHO, is a gAppInfoA[] global available to be > initialized with not only the appStack name but also other runtime > info like paths to components folders and prefs files, title strings, > prefs values, configuration options, and other data that has to be > used everywhere but ought to be loaded only once. GMTA! :) Once again we're twin siblings of different mothers: That's exactly the direction libRIP is going, using gRIPInfo as an extensible container for the app stack and other info. I had used gAppStack in previous projects (and used it in my earlier post to illustrate the idea here for simplicity), but like you I eventually found that I needed more stuff than a single string for common tasks, so the new libraries and tools I'm donating to the Rev Interoperability Project will be using a global array for that stuff. That said, gRIPInfo["appStack"] is perhaps the most useful element for projects using RIP properties, as it provides a pointer to where scripts can find most other things the RIP property spec describes. And since the RIP spec is itself extensible, there's almost no end to what you can conveniently store in that property set for working on your app and sharing components among multiple apps. Trevor, Ken Ray, Paul Looney, Phil Davis, and others use RIP properties to varying degrees, but for those of you who may not be familiar with them we now maintain a public mirror for the property spec and other files at LiveCode Journal - see the Edinbugh Core Metadata Initiative here: I should also note that LiveCode Journal itself is a community site, founded in 2003 by Alan Golub for the benefit and participation of everyone who uses LiveCode. Anyone who wants to contribute to that site is welcome, whether it be through posting articles there or helping to manage repositories like the RIP mirror. Just drop me an email if you're interested in helping with any aspect of the site. -- 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 dglass at graymattercomputing.com Wed May 11 11:02:52 2011 From: dglass at graymattercomputing.com (David Glass) Date: Wed, 11 May 2011 08:02:52 -0700 Subject: IDE 'Reset' In-Reply-To: <152258322500.20110510231535@ahsoftware.net> References: <4DCA242A.2040405@graymattercomputing.com> <152258322500.20110510231535@ahsoftware.net> Message-ID: <4DCAA51C.2030906@graymattercomputing.com> How do I get access to this? E-mail customer service directly? On 05/10/2011 11:15 PM, Mark Wieder wrote: > David- > > This is one of the oldest and most annoying bugs in the bug database > (bug #1061 dating from 2003 and rev 2.1.2). The last comment from the > rev team is from Mark Waddingham in 2004... > > "Re-assigning to engine team for future re-assignment." > > I think for RevLive2014 we should have a celebration for the tenth > anniversary of this comment. > > http://quality.runrev.com/show_bug.cgi?id=1061 > > also bugs 143, 1036 > -- David Glass - Gray Matter Computing graymattercomputing.com From dglass at graymattercomputing.com Wed May 11 11:22:59 2011 From: dglass at graymattercomputing.com (David Glass) Date: Wed, 11 May 2011 08:22:59 -0700 Subject: IDE 'Reset' In-Reply-To: References: <4DCA242A.2040405@graymattercomputing.com> Message-ID: <4DCAA9D3.7030905@graymattercomputing.com> Yes, there's nothing 'dangerous' or license-violating about it, but it seems analogous to writing the same block of code a bunch of times when a loop would be better. And it isn't really extensible. How many duplicates is enough? Almost guaranteed it's going to be one more than I currently have created. Which means I'll have to stop doing whatever I'm doing, close down a copy of LC, dupe it, and then try to get back to where I was. At any rate, it doesn't sound like there's any way around it which is unfortunate. I really want to like LC, but it seems like it keeps getting in either its own way, or mine. Have to give this a think. Thanks! On 05/10/2011 11:51 PM, stephen barncard wrote: > Actually using multiple instances of Livecode is fine, and what Trevor > recommended to avoid namespace conflict in his live seminar demonstrating > the framework. -- David Glass - Gray Matter Computing graymattercomputing.com From bobs at twft.com Wed May 11 11:30:33 2011 From: bobs at twft.com (Bob Sneidar) Date: Wed, 11 May 2011 08:30:33 -0700 Subject: Menu Buttons In-Reply-To: <20254320781.20110510220854@ahsoftware.net> References: <6399A7CB-FABF-4D15-A621-0209D9F11AA4@clarkeandclarke.co.uk> <398A8368-EF5F-48E6-946C-77472D9A5DA0@yahoo.com> <84ADB212-3170-4133-BD85-5169A4E0087C@unlserve.unl.edu> <8CDDC94C9E0553F-B74-2E8A@webmail-d094.sysops.aol.com> <2AAA878D-2265-4567-91F6-E8559530500C@wanadoo.fr> <7F5EFA67-E82C-4E4D-A974-58143D3658EB@yahoo.com> <36238847218.20110510175100@ahsoftware.net> <20254320781.20110510220854@ahsoftware.net> Message-ID: <72E5B78D-3D02-4D09-9ED7-A9E53EA9447A@twft.com> I checked this yesterday with 4.6.1. If I issue menuhistory from the message window to a button with the current choice. menupick does NOT get sent. I know this because I put a breakpoint at the start of the menupick handler in that button and nothing happened. However, if I physically select the same choice that is already selected I DO get a menupick message. Bob On May 10, 2011, at 10:08 PM, Mark Wieder wrote: > Pete- > > Tuesday, May 10, 2011, 8:40:34 PM, you wrote: > >> Hmmm, well I just tried it and got no menuPick when I set the menuHistory to >> its existing value (running 4.6.0.) > > Here's the issue: setting the menuHistory of menu buttons would work, > but *only* if a new value was being set (not the same as the current > value). So the fix was to trigger the menuPick message when the > menuHistory command was issued irregardless of the current value of > the menu button. > > That's working now. I just tried it again to make sure, with both > pulldown and option menus. > > script of button 1: > on mouseDown > set the menuPick of button 3 to 2 > end mouseDown > > script of button 2: > on mouseDown > set the menuPick of button 4 to 2 > end mouseDown > > script of pulldown button 3: > on menuPick pChosen > switch pChosen > default > set the label of me to pChosen > answer pChosen > end switch > end menuPick > > script of option button 4: > on menuPick pChosen > switch pChosen > default > set the label of me to pChosen > answer pChosen > end switch > end menuPick > > Are you seeing something different? > > -- > -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 dglass at graymattercomputing.com Wed May 11 11:36:15 2011 From: dglass at graymattercomputing.com (David Glass) Date: Wed, 11 May 2011 08:36:15 -0700 Subject: IDE 'Reset' In-Reply-To: <4DCA9427.2070807@fourthworld.com> References: <4DCA242A.2040405@graymattercomputing.com> <4DCA9427.2070807@fourthworld.com> Message-ID: <4DCAACEF.5000806@graymattercomputing.com> Joined. Thanks for the link On 05/11/2011 6:50 AM, Richard Gaskin wrote: > The Rev Interoperability Project has more than a hundred members, many > of whom contribute ideas and code for the benefit of the community as a > whole. Membership is open to all who are interested: > > -- David Glass - Gray Matter Computing graymattercomputing.com From mwieder at ahsoftware.net Wed May 11 11:47:04 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 11 May 2011 08:47:04 -0700 Subject: IDE 'Reset' In-Reply-To: <4DCAA51C.2030906@graymattercomputing.com> References: <4DCA242A.2040405@graymattercomputing.com> <152258322500.20110510231535@ahsoftware.net> <4DCAA51C.2030906@graymattercomputing.com> Message-ID: <149292610796.20110511084704@ahsoftware.net> David- Wednesday, May 11, 2011, 8:02:52 AM, you wrote: > How do I get access to this? E-mail customer service directly? Er... I think so. I don't remember the new procedure, but I think that's right. -- -Mark Wieder mwieder at ahsoftware.net From ambassador at fourthworld.com Wed May 11 11:49:30 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Wed, 11 May 2011 08:49:30 -0700 Subject: IDE 'Reset' In-Reply-To: <4DCAA9D3.7030905@graymattercomputing.com> References: <4DCAA9D3.7030905@graymattercomputing.com> Message-ID: <4DCAB00A.4020002@fourthworld.com> David Glass wrote: > Yes, there's nothing 'dangerous' or license-violating about it, but it > seems analogous to writing the same block of code a bunch of times when > a loop would be better. Or quite possibly the other way around. Think about all of the things that would need to be taken into account to provide all the benefits of multiple instances in a single instance, all the way down to global vars, then compare with the one-time hit of a few seconds to make a copy of the app and put it in your Dock. > And it isn't really extensible. How many duplicates is enough? Four. :) At least that's how many I have installed. And I can't say I've ever used more than three of them at once. > Almost guaranteed it's going to be one more than I currently have created. > Which means I'll have to stop doing whatever I'm doing, close down a > copy of LC, dupe it, and then try to get back to where I was. You shouldn't need to shut down the current instance. You can make a copy of the app at any time. -- 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 dbrooks at unlserve.unl.edu Wed May 11 12:01:56 2011 From: dbrooks at unlserve.unl.edu (David Brooks) Date: Wed, 11 May 2011 11:01:56 -0500 Subject: Menu Buttons In-Reply-To: <20254320781.20110510220854@ahsoftware.net> References: <6399A7CB-FABF-4D15-A621-0209D9F11AA4@clarkeandclarke.co.uk> <398A8368-EF5F-48E6-946C-77472D9A5DA0@yahoo.com> <84ADB212-3170-4133-BD85-5169A4E0087C@unlserve.unl.edu> <8CDDC94C9E0553F-B74-2E8A@webmail-d094.sysops.aol.com> <2AAA878D-2265-4567-91F6-E8559530500C@wanadoo.fr> <7F5EFA67-E82C-4E4D-A974-58143D3658EB@yahoo.com> <36238847218.20110510175100@ahsoftware.net> <20254320781.20110510220854@ahsoftware.net> Message-ID: <634E5D65-CE1D-4B1B-B8CC-CF66B87090A6@unlserve.unl.edu> Thanks for the input and suggestions, but ---- the set menuhistory ...... strategy works to accomplish the task. To deal with the problem of once set-never forget, I set the value to 99 with a second set menuhistory line in my list and had my handler do nothing with the choice was blank. So, any choice can be made and the history set to 99 ready for a new, real choice. Since my goal is to step the user through a visual display of what they would actually see, I want to display that list, make a choice, and then have the action take place rather than just have the action take place -- which the set menuhistory works well for. I still have the problem clicking on the button, displaying the list of options, but then needing a keyboard input rather than a scripted input to go further. There's probably something really simple about it that I'm missing. But, for example, just clicking anywhere in that list which is displayed through a script DOES NOT seem to work for me; actually clicking with a mouse DOES work. Once that list is on the screen, we must wait for something to happen. The controlling script stops. Once you do something (lots of things work), the script chugs along. Best, Dave B. From pete at mollysrevenge.com Wed May 11 12:44:31 2011 From: pete at mollysrevenge.com (Pete) Date: Wed, 11 May 2011 09:44:31 -0700 Subject: Menu Buttons In-Reply-To: <20254320781.20110510220854@ahsoftware.net> References: <6399A7CB-FABF-4D15-A621-0209D9F11AA4@clarkeandclarke.co.uk> <398A8368-EF5F-48E6-946C-77472D9A5DA0@yahoo.com> <84ADB212-3170-4133-BD85-5169A4E0087C@unlserve.unl.edu> <8CDDC94C9E0553F-B74-2E8A@webmail-d094.sysops.aol.com> <2AAA878D-2265-4567-91F6-E8559530500C@wanadoo.fr> <7F5EFA67-E82C-4E4D-A974-58143D3658EB@yahoo.com> <36238847218.20110510175100@ahsoftware.net> <20254320781.20110510220854@ahsoftware.net> Message-ID: That's strange because that's not what I'm seeing - no wonder there's confusion! Here's what I did to test. Put an option menu on a card with the default choices. Put a menuPick handler on the option menu: on menuPIck pitemname answer information pitemname end menuPick Put a button on the same card with a mouseUp script: on mouseUp set the menuHistory of button "Option Menu" to 2 end mouseUp First time I clicked the button, the answer information dialog appeared with "Choice 2" displayed. Second and subsequent times I clicked the button, no answer dialog was displayed. I then changed the button script to set menu history to 1 and the answer information fired with "Choice 1" displayed. It appears from other posts that the original problem is solved by using set the menuHistory so I guess this is somewhat academic but it would be good to establish whether this bug really has been fixed and if so, why I don't see the changed behavior, since I rely on that in some of my code. Could it be platform related? I'm running on OSX 10.6.7. Pete Molly's Revenge On Tue, May 10, 2011 at 10:08 PM, Mark Wieder wrote: > Pete- > > Tuesday, May 10, 2011, 8:40:34 PM, you wrote: > > > Hmmm, well I just tried it and got no menuPick when I set the menuHistory > to > > its existing value (running 4.6.0.) > > Here's the issue: setting the menuHistory of menu buttons would work, > but *only* if a new value was being set (not the same as the current > value). So the fix was to trigger the menuPick message when the > menuHistory command was issued irregardless of the current value of > the menu button. > > That's working now. I just tried it again to make sure, with both > pulldown and option menus. > > script of button 1: > on mouseDown > set the menuPick of button 3 to 2 > end mouseDown > > script of button 2: > on mouseDown > set the menuPick of button 4 to 2 > end mouseDown > > script of pulldown button 3: > on menuPick pChosen > switch pChosen > default > set the label of me to pChosen > answer pChosen > end switch > end menuPick > > script of option button 4: > on menuPick pChosen > switch pChosen > default > set the label of me to pChosen > answer pChosen > end switch > end menuPick > > Are you seeing something different? > > -- > -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 Wed May 11 13:00:58 2011 From: pete at mollysrevenge.com (Pete) Date: Wed, 11 May 2011 10:00:58 -0700 Subject: More strangeness due to System variable names? Message-ID: I've just experienced another instance of strange IDE behavior which seems related to the problem discussed here recently regarding system variable names with slashes in them. Symptoms are not exactly the same but similar in that I have problems opening a script editor window, message box commands are inoperative, and when I click on the Variables tab of the script editor window, the variables list is displayed for a couple of seconds then the window goes blank. I looked at the variables displayed by a set command in terminal and saw no variables with a slash in their names, but I did see a couple that looked strange. One of them has a single underscore as its name and the other has a name that starts with two underscores. Maybe LC has a problem with system varibale names like that as well as ones with slashes in them? As a related issue, is there a way to not include system variables in the list of variables? I rarely care about their settings and real estate in the variables display is scarce. Pete Molly's Revenge From livfoss at mac.com Wed May 11 13:07:31 2011 From: livfoss at mac.com (Graham Samuel) Date: Wed, 11 May 2011 19:07:31 +0200 Subject: DLL Externals and LiveCode - what's a handle and how do I use it? Message-ID: I am still struggling with the most basic concepts of externals for LC Windows apps, with the intention of using a third-party DLL to enhance the functionality of my current project. I have had some help from Ken Ray and others but I remain deeply clueless. Currently I'm looking at a DLL which has a number of functions relating to bitmaps. I want to be able to drive the DLL presumably by function calls, passing it parameters and receiving results. Relating to bitmap manipulation, the DLL seems to be offering me a 'handle' so that I can pick up a bitmap presumably from RAM. I realise this is a very elementary question, but can anyone tell me what a handle is (some sort of pointer probably, but what sort?) and what use it might be within a LiveCode app, given that I can eventually find out how to generate the right glue code to access it - Ken's note had helped me but he only deals with passing strings, and thus doesn't cover the idea of binary info, and I am not clear how to proceed. I am very willing to read tutorial material on this but there doesn't seem to be much of it about. I am dimly beginning to see that there is more commonality than I guessed in the different OSs and IDEs when it comes to things like identifying and parameterising windows and other objects, the use of name spaces, and naming and calling functions and their parameters, but I still don't know enough to continue. TIA Graham From jacque at hyperactivesw.com Wed May 11 13:43:37 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 11 May 2011 12:43:37 -0500 Subject: IDE 'Reset' In-Reply-To: <4DCAA9D3.7030905@graymattercomputing.com> References: <4DCA242A.2040405@graymattercomputing.com> <4DCAA9D3.7030905@graymattercomputing.com> Message-ID: <4DCACAC9.20704@hyperactivesw.com> On 5/11/11 10:22 AM, David Glass wrote: > Yes, there's nothing 'dangerous' or license-violating about it, but it > seems analogous to writing the same block of code a bunch of times when > a loop would be better. > > And it isn't really extensible. How many duplicates is enough? Almost > guaranteed it's going to be one more than I currently have created. > Which means I'll have to stop doing whatever I'm doing, close down a > copy of LC, dupe it, and then try to get back to where I was. > > At any rate, it doesn't sound like there's any way around it which is > unfortunate. > > I really want to like LC, but it seems like it keeps getting in either > its own way, or mine. The easiest way to completely remove a stack when it is closed is to set its destroyStack property to true. When that is set, simply closing the stack will remove it entirely from memory and prevent the warning about duplicate stacks. The default in preferences is to set destroyStack to false, which is the first thing I change when setting up new prefs. However, the pref applies only to new stacks that you create. For existing stacks, you need to specifically set that property in the stack inspector. I am not sure how this will affect the GLX framework, but if setting that property works with it, it would be the easiest way for you to deal with the issue. It only requires a simple checkbox click. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobs at twft.com Wed May 11 13:48:21 2011 From: bobs at twft.com (Bob Sneidar) Date: Wed, 11 May 2011 10:48:21 -0700 Subject: DLL Externals and LiveCode - what's a handle and how do I use it? In-Reply-To: References: Message-ID: <8C45DBF9-878E-4D9D-B512-CE21FB204835@twft.com> Eeek. A handle is a pointer to a pointer. As I understand it, with *modern* OS memory management, stuff is moved around in memory a lot, to make room for contiguous blocks of free memory, so just using a memory address won't do. The OS might move something and your app wouldn't know it till it tried to access it, and then what it got could be anything. Now a pointer gets updated by the OS, but there are situations where even the pointer may become invalid, hence handles. Handles are pointers to pointers. For whatever reason, this is how you access something in memory directly. Others could explain it better than I, but that is the gist of it. At least when I was learning Pascual MANY years ago, that's how it was explained to me. Bob On May 11, 2011, at 10:07 AM, Graham Samuel wrote: > I am still struggling with the most basic concepts of externals for LC Windows apps, with the intention of using a third-party DLL to enhance the functionality of my current project. I have had some help from Ken Ray and others but I remain deeply clueless. Currently I'm looking at a DLL which has a number of functions relating to bitmaps. I want to be able to drive the DLL presumably by function calls, passing it parameters and receiving results. Relating to bitmap manipulation, the DLL seems to be offering me a 'handle' so that I can pick up a bitmap presumably from RAM. I realise this is a very elementary question, but can anyone tell me what a handle is (some sort of pointer probably, but what sort?) and what use it might be within a LiveCode app, given that I can eventually find out how to generate the right glue code to access it - Ken's note had helped me but he only deals with passing strings, and thus doesn't cover the idea of binary info, and I am not clear how to proceed. > > I am very willing to read tutorial material on this but there doesn't seem to be much of it about. I am dimly beginning to see that there is more commonality than I guessed in the different OSs and IDEs when it comes to things like identifying and parameterising windows and other objects, the use of name spaces, and naming and calling functions and their parameters, but I still don't know enough to continue. > > TIA > > Graham > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Wed May 11 13:41:59 2011 From: bobs at twft.com (Bob Sneidar) Date: Wed, 11 May 2011 10:41:59 -0700 Subject: Menu Buttons In-Reply-To: References: <6399A7CB-FABF-4D15-A621-0209D9F11AA4@clarkeandclarke.co.uk> <398A8368-EF5F-48E6-946C-77472D9A5DA0@yahoo.com> <84ADB212-3170-4133-BD85-5169A4E0087C@unlserve.unl.edu> <8CDDC94C9E0553F-B74-2E8A@webmail-d094.sysops.aol.com> <2AAA878D-2265-4567-91F6-E8559530500C@wanadoo.fr> <7F5EFA67-E82C-4E4D-A974-58143D3658EB@yahoo.com> <36238847218.20110510175100@ahsoftware.net> <20254320781.20110510220854@ahsoftware.net> Message-ID: <9CAD8E1C-8FAC-4DFE-8D7C-0DC975454E5D@twft.com> Well what I do, as I said in a previous post, is I save the last successful choice in a property in the menu. Next time around I get the current selection and compare it to the last choice. If it's the same I exit menuPick. If it's not, then I process the handler, update the property, and pass menuPick. I do that because there is processing later on in the handler that I don't want to repeat. Other people's handlers it may not matter. If it does, this is the way to deal with it no matter which way the selection is made. Bob On May 11, 2011, at 9:44 AM, Pete wrote: > That's strange because that's not what I'm seeing - no wonder there's > confusion! Here's what I did to test. > > Put an option menu on a card with the default choices. > Put a menuPick handler on the option menu: > on menuPIck pitemname > answer information pitemname > end menuPick > > Put a button on the same card with a mouseUp script: > on mouseUp > set the menuHistory of button "Option Menu" to 2 > end mouseUp > > First time I clicked the button, the answer information dialog appeared with > "Choice 2" displayed. > Second and subsequent times I clicked the button, no answer dialog was > displayed. > > I then changed the button script to set menu history to 1 and the answer > information fired with "Choice 1" displayed. > > It appears from other posts that the original problem is solved by using set > the menuHistory so I guess this is somewhat academic but it would be good to > establish whether this bug really has been fixed and if so, why I don't see > the changed behavior, since I rely on that in some of my code. Could it be > platform related? I'm running on OSX 10.6.7. > > > Pete > Molly's Revenge > > > > > On Tue, May 10, 2011 at 10:08 PM, Mark Wieder wrote: > >> Pete- >> >> Tuesday, May 10, 2011, 8:40:34 PM, you wrote: >> >>> Hmmm, well I just tried it and got no menuPick when I set the menuHistory >> to >>> its existing value (running 4.6.0.) >> >> Here's the issue: setting the menuHistory of menu buttons would work, >> but *only* if a new value was being set (not the same as the current >> value). So the fix was to trigger the menuPick message when the >> menuHistory command was issued irregardless of the current value of >> the menu button. >> >> That's working now. I just tried it again to make sure, with both >> pulldown and option menus. >> >> script of button 1: >> on mouseDown >> set the menuPick of button 3 to 2 >> end mouseDown >> >> script of button 2: >> on mouseDown >> set the menuPick of button 4 to 2 >> end mouseDown >> >> script of pulldown button 3: >> on menuPick pChosen >> switch pChosen >> default >> set the label of me to pChosen >> answer pChosen >> end switch >> end menuPick >> >> script of option button 4: >> on menuPick pChosen >> switch pChosen >> default >> set the label of me to pChosen >> answer pChosen >> end switch >> end menuPick >> >> Are you seeing something different? >> >> -- >> -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 pete at mollysrevenge.com Wed May 11 14:07:28 2011 From: pete at mollysrevenge.com (Pete) Date: Wed, 11 May 2011 11:07:28 -0700 Subject: Menu Buttons In-Reply-To: <9CAD8E1C-8FAC-4DFE-8D7C-0DC975454E5D@twft.com> References: <6399A7CB-FABF-4D15-A621-0209D9F11AA4@clarkeandclarke.co.uk> <398A8368-EF5F-48E6-946C-77472D9A5DA0@yahoo.com> <84ADB212-3170-4133-BD85-5169A4E0087C@unlserve.unl.edu> <8CDDC94C9E0553F-B74-2E8A@webmail-d094.sysops.aol.com> <2AAA878D-2265-4567-91F6-E8559530500C@wanadoo.fr> <7F5EFA67-E82C-4E4D-A974-58143D3658EB@yahoo.com> <36238847218.20110510175100@ahsoftware.net> <20254320781.20110510220854@ahsoftware.net> <9CAD8E1C-8FAC-4DFE-8D7C-0DC975454E5D@twft.com> Message-ID: Yep, I do the same thing, it prevents needless database updating when the value hasn't changed. Just trying to figure out why you and I see the behavior where setting the menuHistory to its existing values does not trigger menuPick but it does for Mark. Pete Molly's Revenge On Wed, May 11, 2011 at 10:41 AM, Bob Sneidar wrote: > Well what I do, as I said in a previous post, is I save the last successful > choice in a property in the menu. Next time around I get the current > selection and compare it to the last choice. If it's the same I exit > menuPick. If it's not, then I process the handler, update the property, and > pass menuPick. > > I do that because there is processing later on in the handler that I don't > want to repeat. Other people's handlers it may not matter. If it does, this > is the way to deal with it no matter which way the selection is made. > > Bob > > > On May 11, 2011, at 9:44 AM, Pete wrote: > > > That's strange because that's not what I'm seeing - no wonder there's > > confusion! Here's what I did to test. > > > > Put an option menu on a card with the default choices. > > Put a menuPick handler on the option menu: > > on menuPIck pitemname > > answer information pitemname > > end menuPick > > > > Put a button on the same card with a mouseUp script: > > on mouseUp > > set the menuHistory of button "Option Menu" to 2 > > end mouseUp > > > > First time I clicked the button, the answer information dialog appeared > with > > "Choice 2" displayed. > > Second and subsequent times I clicked the button, no answer dialog was > > displayed. > > > > I then changed the button script to set menu history to 1 and the answer > > information fired with "Choice 1" displayed. > > > > It appears from other posts that the original problem is solved by using > set > > the menuHistory so I guess this is somewhat academic but it would be good > to > > establish whether this bug really has been fixed and if so, why I don't > see > > the changed behavior, since I rely on that in some of my code. Could it > be > > platform related? I'm running on OSX 10.6.7. > > > > > > Pete > > Molly's Revenge > > > > > > > > > > On Tue, May 10, 2011 at 10:08 PM, Mark Wieder >wrote: > > > >> Pete- > >> > >> Tuesday, May 10, 2011, 8:40:34 PM, you wrote: > >> > >>> Hmmm, well I just tried it and got no menuPick when I set the > menuHistory > >> to > >>> its existing value (running 4.6.0.) > >> > >> Here's the issue: setting the menuHistory of menu buttons would work, > >> but *only* if a new value was being set (not the same as the current > >> value). So the fix was to trigger the menuPick message when the > >> menuHistory command was issued irregardless of the current value of > >> the menu button. > >> > >> That's working now. I just tried it again to make sure, with both > >> pulldown and option menus. > >> > >> script of button 1: > >> on mouseDown > >> set the menuPick of button 3 to 2 > >> end mouseDown > >> > >> script of button 2: > >> on mouseDown > >> set the menuPick of button 4 to 2 > >> end mouseDown > >> > >> script of pulldown button 3: > >> on menuPick pChosen > >> switch pChosen > >> default > >> set the label of me to pChosen > >> answer pChosen > >> end switch > >> end menuPick > >> > >> script of option button 4: > >> on menuPick pChosen > >> switch pChosen > >> default > >> set the label of me to pChosen > >> answer pChosen > >> end switch > >> end menuPick > >> > >> Are you seeing something different? > >> > >> -- > >> -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 bvlahos at mac.com Wed May 11 17:14:58 2011 From: bvlahos at mac.com (Bill Vlahos) Date: Wed, 11 May 2011 14:14:58 -0700 Subject: Windows hard disk search Message-ID: <792FB251-1F1C-4520-8EE3-3BCB2B279C8C@mac.com> I want to modify a prefs file on XP and Windows 7 computers. Since the file could be in different places I can't count on knowing the path to it. How do I execute a search for the file by name in LC and get the path to it? The file would only be on the user's hard disk not on any mounted servers so I want to restrict the search to just the user's drive. Bill Vlahos From mwieder at ahsoftware.net Wed May 11 17:49:47 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 11 May 2011 14:49:47 -0700 Subject: Menu Buttons In-Reply-To: References: <6399A7CB-FABF-4D15-A621-0209D9F11AA4@clarkeandclarke.co.uk> <398A8368-EF5F-48E6-946C-77472D9A5DA0@yahoo.com> <84ADB212-3170-4133-BD85-5169A4E0087C@unlserve.unl.edu> <8CDDC94C9E0553F-B74-2E8A@webmail-d094.sysops.aol.com> <2AAA878D-2265-4567-91F6-E8559530500C@wanadoo.fr> <7F5EFA67-E82C-4E4D-A974-58143D3658EB@yahoo.com> <36238847218.20110510175100@ahsoftware.net> <20254320781.20110510220854@ahsoftware.net> Message-ID: <141314374156.20110511144947@ahsoftware.net> Pete- Wednesday, May 11, 2011, 9:44:31 AM, you wrote: > That's strange because that's not what I'm seeing - no wonder there's > confusion! Here's what I did to test. > Put an option menu on a card with the default choices. I just reopened bug #9301. It's fixed for pulldown and popup menu buttons, but not for option menus. -- -Mark Wieder mwieder at ahsoftware.net From bobs at twft.com Wed May 11 17:51:20 2011 From: bobs at twft.com (Bob Sneidar) Date: Wed, 11 May 2011 14:51:20 -0700 Subject: Windows hard disk search In-Reply-To: <792FB251-1F1C-4520-8EE3-3BCB2B279C8C@mac.com> References: <792FB251-1F1C-4520-8EE3-3BCB2B279C8C@mac.com> Message-ID: <3CBC04BB-7A04-4377-804A-CEF925759F98@twft.com> I wouldn't try to search for it if I were you. Just check for the OS and conditionally set the path accordingly. If it could be ANYWHERE, than that begs the question, what is it and who put it there? Bob On May 11, 2011, at 2:14 PM, Bill Vlahos wrote: > I want to modify a prefs file on XP and Windows 7 computers. Since the file could be in different places I can't count on knowing the path to it. How do I execute a search for the file by name in LC and get the path to it? > > The file would only be on the user's hard disk not on any mounted servers so I want to restrict the search to just the user's drive. > > Bill Vlahos > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mwieder at ahsoftware.net Wed May 11 17:51:50 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 11 May 2011 14:51:50 -0700 Subject: Menu Buttons In-Reply-To: <72E5B78D-3D02-4D09-9ED7-A9E53EA9447A@twft.com> References: <6399A7CB-FABF-4D15-A621-0209D9F11AA4@clarkeandclarke.co.uk> <398A8368-EF5F-48E6-946C-77472D9A5DA0@yahoo.com> <84ADB212-3170-4133-BD85-5169A4E0087C@unlserve.unl.edu> <8CDDC94C9E0553F-B74-2E8A@webmail-d094.sysops.aol.com> <2AAA878D-2265-4567-91F6-E8559530500C@wanadoo.fr> <7F5EFA67-E82C-4E4D-A974-58143D3658EB@yahoo.com> <36238847218.20110510175100@ahsoftware.net> <20254320781.20110510220854@ahsoftware.net> <72E5B78D-3D02-4D09-9ED7-A9E53EA9447A@twft.com> Message-ID: <16314497515.20110511145150@ahsoftware.net> Bob- Wednesday, May 11, 2011, 8:30:33 AM, you wrote: > I checked this yesterday with 4.6.1. If I issue menuhistory from > the message window to a button with the current choice. menupick > does NOT get sent. I know this because I put a breakpoint at the > start of the menupick handler in that button and nothing happened. > However, if I physically select the same choice that is already > selected I DO get a menupick message. Bug report has now been reopened. My workaround for option menus is to set the menuHistory to zero, then set the menuHistory to the desired value. -- -Mark Wieder mwieder at ahsoftware.net From capellan2000 at gmail.com Wed May 11 18:02:09 2011 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Wed, 11 May 2011 15:02:09 -0700 (PDT) Subject: DLL Externals and LiveCode - what's a handle and how do I use it? In-Reply-To: References: Message-ID: <1305151329203-3515981.post@n4.nabble.com> Hi Graham, Some years ago, (2005) Alex Tweedly published a step by step guide to compile externals with Dev-C++ Back then, I posted this stack: http://andregarzia.on-rev.com/alejandro/stacks/Tweedly_dll.zip Recently, Scott McDonald published a Pascal External SDK: http://www.forums.runrev.com/phpBB2/viewtopic.php?f=17&t=5512&start=0 I look forward to learn coding externals for this platform in C++ and Pascal, but this learning project must wait until I had enough free time... Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/DLL-Externals-and-LiveCode-what-s-a-handle-and-how-do-I-use-it-tp3515266p3515981.html Sent from the Revolution - User mailing list archive at Nabble.com. From jacque at hyperactivesw.com Wed May 11 18:05:06 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 11 May 2011 17:05:06 -0500 Subject: Unexpected behavior in iOS app In-Reply-To: <5D2B41EB-7182-4C38-8B4A-C717C7BFC9CC@de-mare.nl> References: <5D2B41EB-7182-4C38-8B4A-C717C7BFC9CC@de-mare.nl> Message-ID: <4DCB0812.1010300@hyperactivesw.com> On 5/11/11 1:17 AM, Terry Vogelaar wrote: > I'm running into a few problems building an iOS app. > > The most important one is this one. I want it to retrieve data from an 18MB text file, because I want it to work when the device is not connected to the internet. So I tried this: > on preopenstack > put "file:"& specialFolderPath("documents")& "/Muziek.txt" into docsmap > if the environment = "mobile" then > answer "Download or use local?" with "Download" or "Local" > if it is "Download" then > put url "http://dl.dropbox.com/u/10128030/Muziek.txt" into muzieklijst -- not the actual url > put muzieklijst into url docsmap > else > put url docsmap into muzieklijst > end if > else > put url "file:~/Dropbox/Public/Muziek.txt" into muzieklijst > end if > -- and some additional processing of the muzieklijst data that works fine > end preopenstack > > As you can see, it intends to write the text file I expected the > download to be only the first time the app is used, or optionally > when I know the file has changed. It takes a few minutes staring at a > black screen, but eventually it works. > > But apparently it doesn't save the file on the iPod Touch. The > variable muzieklijst only contains data when it is freshly > downloaded. If I tap on the "Local" button, muzieklijst stays empty. Check to see if the path is really valid in iOS while the app is running. Add this to your script temporarily: put "file:"& specialFolderPath("documents")& "/Muziek.txt" into docsmap answer "File exists:" && there is a file docsmap & cr & docsmap See what it says. SpecialFolderPath should work, so I suspect the path isn't resolving correctly. > I see a beautiful picker on iOS when using a > button with the menuMode set to 'option'. But on screen, the button > looks 90'ish with an ugly border around it. I haven't played much with these yet, so can't say. Maybe someone else knows. > > Also, I applied a great technique I learned on the Beginners Mobile > Course on the Simulcast. I put a bunch of PNGs in a Resouces substack > and I copied the scripts from the Ticked Off stack, used in the demo. > It worked great; it scaled all the icons on the main stack. But as > soon as I switched an icon (using: "set the icon of me to 1023"), it > showed (the center portion of) the large version of that icon; not > the downscaled one I wanted to see. All the images in your resources stack need to have their lockloc set to true so they won't revert to their original dimensions. You only have to do that once, when you set up the images. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bonnmike at gmail.com Wed May 11 18:11:18 2011 From: bonnmike at gmail.com (Mike Bonner) Date: Wed, 11 May 2011 16:11:18 -0600 Subject: Windows hard disk search In-Reply-To: <3CBC04BB-7A04-4377-804A-CEF925759F98@twft.com> References: <792FB251-1F1C-4520-8EE3-3BCB2B279C8C@mac.com> <3CBC04BB-7A04-4377-804A-CEF925759F98@twft.com> Message-ID: If you can narrow down the places to search, you can do this with a shell command. You could technically do the whole drive, but it would be way too slow to be worthwhile, but if you only have to search a small subset of the drive it shouldn't be too bad. set the defaultfolder to "c:\where\to\start\looking" get shell("dir /s filetofind.pref") So to find all hosts files in the windows tree set the defaultfolder to "c:\windows" get shell("dir /s hosts") which returns parsable info as similar to the following. * Volume in drive C has no label.* * Volume Serial Number is C44E-B22E* * * * Directory of c:\windows\winsxs\amd64_microsoft-windows-w..nfrastructure-other_31bf3856ad364e35_6.1.7600.16385_none_6079f415110c0210 * * * *06/10/2009 03:00 PM 824 hosts* * 1 File(s) 824 bytes* * * * Total Files Listed:* * 1 File(s) 824 bytes* * 0 Dir(s) 858,688,282,624 bytes free* A whole drive search with this method takes way too long. I also wonder if there is a registry key that will point you the right direction instead. On Wed, May 11, 2011 at 3:51 PM, Bob Sneidar wrote: > I wouldn't try to search for it if I were you. Just check for the OS and > conditionally set the path accordingly. If it could be ANYWHERE, than that > begs the question, what is it and who put it there? > > Bob > > > On May 11, 2011, at 2:14 PM, Bill Vlahos wrote: > > > I want to modify a prefs file on XP and Windows 7 computers. Since the > file could be in different places I can't count on knowing the path to it. > How do I execute a search for the file by name in LC and get the path to it? > > > > The file would only be on the user's hard disk not on any mounted servers > so I want to restrict the search to just the user's drive. > > > > Bill Vlahos > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bvlahos at mac.com Wed May 11 18:13:23 2011 From: bvlahos at mac.com (Bill Vlahos) Date: Wed, 11 May 2011 15:13:23 -0700 Subject: Windows hard disk search In-Reply-To: <3CBC04BB-7A04-4377-804A-CEF925759F98@twft.com> References: <792FB251-1F1C-4520-8EE3-3BCB2B279C8C@mac.com> <3CBC04BB-7A04-4377-804A-CEF925759F98@twft.com> Message-ID: It is a Thunderbird pref file "prefs.js". XP stores it differently than Win7 but in both cases the user's name is part of the path so I can't program for that. If I search the drive I will get the path to all the files and can validate the "right" one based on having the name "Thunderbird" in the path. Bill Vlahos On May 11, 2011, at 2:51 PM, Bob Sneidar wrote: > I wouldn't try to search for it if I were you. Just check for the OS and conditionally set the path accordingly. If it could be ANYWHERE, than that begs the question, what is it and who put it there? > > Bob > > > On May 11, 2011, at 2:14 PM, Bill Vlahos wrote: > >> I want to modify a prefs file on XP and Windows 7 computers. Since the file could be in different places I can't count on knowing the path to it. How do I execute a search for the file by name in LC and get the path to it? >> >> The file would only be on the user's hard disk not on any mounted servers so I want to restrict the search to just the user's drive. >> >> Bill Vlahos >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 May 11 18:13:39 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 11 May 2011 15:13:39 -0700 Subject: DLL Externals and LiveCode - what's a handle and how do I use it? In-Reply-To: References: Message-ID: <74315805640.20110511151339@ahsoftware.net> Graham- Following on the heels of Bob's description of what a handle is, I think the correct question in this case might better be "how can I use a handle in LiveCode?", and there your options are probably limited. The only handle in the Windows sense that LiveCode gives you access to is the windowHandle of the stack itself. If that's what you need, then there's a command to get it. If you need to get a handle to a bitmap in memory or a control on a stack then you're probably out of luck. -- -Mark Wieder mwieder at ahsoftware.net From bvlahos at mac.com Wed May 11 18:14:53 2011 From: bvlahos at mac.com (Bill Vlahos) Date: Wed, 11 May 2011 15:14:53 -0700 Subject: Windows hard disk search In-Reply-To: References: <792FB251-1F1C-4520-8EE3-3BCB2B279C8C@mac.com> <3CBC04BB-7A04-4377-804A-CEF925759F98@twft.com> Message-ID: Mike, Thanks. I can narrow it down. This is very helpful. Bill Vlahos On May 11, 2011, at 3:11 PM, Mike Bonner wrote: > If you can narrow down the places to search, you can do this with a shell > command. You could technically do the whole drive, but it would be way too > slow to be worthwhile, but if you only have to search a small subset of the > drive it shouldn't be too bad. > > set the defaultfolder to "c:\where\to\start\looking" > get shell("dir /s filetofind.pref") > > So to find all hosts files in the windows tree > > set the defaultfolder to "c:\windows" > get shell("dir /s hosts") > > which returns parsable info as similar to the following. > > * Volume in drive C has no label.* > * Volume Serial Number is C44E-B22E* > * > * > * Directory of > c:\windows\winsxs\amd64_microsoft-windows-w..nfrastructure-other_31bf3856ad364e35_6.1.7600.16385_none_6079f415110c0210 > * > * > * > *06/10/2009 03:00 PM 824 hosts* > * 1 File(s) 824 bytes* > * > * > * Total Files Listed:* > * 1 File(s) 824 bytes* > * 0 Dir(s) 858,688,282,624 bytes free* > > > A whole drive search with this method takes way too long. I also wonder if > there is a registry key that will point you the right direction instead. > > On Wed, May 11, 2011 at 3:51 PM, Bob Sneidar wrote: > >> I wouldn't try to search for it if I were you. Just check for the OS and >> conditionally set the path accordingly. If it could be ANYWHERE, than that >> begs the question, what is it and who put it there? >> >> Bob >> >> >> On May 11, 2011, at 2:14 PM, Bill Vlahos wrote: >> >>> I want to modify a prefs file on XP and Windows 7 computers. Since the >> file could be in different places I can't count on knowing the path to it. >> How do I execute a search for the file by name in LC and get the path to it? >>> >>> The file would only be on the user's hard disk not on any mounted servers >> so I want to restrict the search to just the user's drive. >>> >>> Bill Vlahos >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 May 11 18:17:38 2011 From: bobs at twft.com (Bob Sneidar) Date: Wed, 11 May 2011 15:17:38 -0700 Subject: Menu Buttons In-Reply-To: <141314374156.20110511144947@ahsoftware.net> References: <6399A7CB-FABF-4D15-A621-0209D9F11AA4@clarkeandclarke.co.uk> <398A8368-EF5F-48E6-946C-77472D9A5DA0@yahoo.com> <84ADB212-3170-4133-BD85-5169A4E0087C@unlserve.unl.edu> <8CDDC94C9E0553F-B74-2E8A@webmail-d094.sysops.aol.com> <2AAA878D-2265-4567-91F6-E8559530500C@wanadoo.fr> <7F5EFA67-E82C-4E4D-A974-58143D3658EB@yahoo.com> <36238847218.20110510175100@ahsoftware.net> <20254320781.20110510220854@ahsoftware.net> <141314374156.20110511144947@ahsoftware.net> Message-ID: <351267FC-502B-4911-A406-BF325B036D64@twft.com> Ahah! Good shew Sherlock! Bob On May 11, 2011, at 2:49 PM, Mark Wieder wrote: > Pete- > > Wednesday, May 11, 2011, 9:44:31 AM, you wrote: > >> That's strange because that's not what I'm seeing - no wonder there's >> confusion! Here's what I did to test. > >> Put an option menu on a card with the default choices. > > I just reopened bug #9301. It's fixed for pulldown and popup menu > buttons, but not for option menus. > > -- > -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 bonnmike at gmail.com Wed May 11 18:24:14 2011 From: bonnmike at gmail.com (Mike Bonner) Date: Wed, 11 May 2011 16:24:14 -0600 Subject: Windows hard disk search In-Reply-To: References: <792FB251-1F1C-4520-8EE3-3BCB2B279C8C@mac.com> <3CBC04BB-7A04-4377-804A-CEF925759F98@twft.com> Message-ID: Ah k, if the username is the issue, the system global var (at least on win 7, cant check on xp) is $USERNAME and should contain the current username. Might make it possible to hit it directly using the system global. On Wed, May 11, 2011 at 4:14 PM, Bill Vlahos wrote: > Mike, > > Thanks. I can narrow it down. This is very helpful. > > Bill Vlahos > > On May 11, 2011, at 3:11 PM, Mike Bonner wrote: > > > If you can narrow down the places to search, you can do this with a shell > > command. You could technically do the whole drive, but it would be way > too > > slow to be worthwhile, but if you only have to search a small subset of > the > > drive it shouldn't be too bad. > > > > set the defaultfolder to "c:\where\to\start\looking" > > get shell("dir /s filetofind.pref") > > > > So to find all hosts files in the windows tree > > > > set the defaultfolder to "c:\windows" > > get shell("dir /s hosts") > > > > which returns parsable info as similar to the following. > > > > * Volume in drive C has no label.* > > * Volume Serial Number is C44E-B22E* > > * > > * > > * Directory of > > > c:\windows\winsxs\amd64_microsoft-windows-w..nfrastructure-other_31bf3856ad364e35_6.1.7600.16385_none_6079f415110c0210 > > * > > * > > * > > *06/10/2009 03:00 PM 824 hosts* > > * 1 File(s) 824 bytes* > > * > > * > > * Total Files Listed:* > > * 1 File(s) 824 bytes* > > * 0 Dir(s) 858,688,282,624 bytes free* > > > > > > A whole drive search with this method takes way too long. I also wonder > if > > there is a registry key that will point you the right direction instead. > > > > On Wed, May 11, 2011 at 3:51 PM, Bob Sneidar wrote: > > > >> I wouldn't try to search for it if I were you. Just check for the OS and > >> conditionally set the path accordingly. If it could be ANYWHERE, than > that > >> begs the question, what is it and who put it there? > >> > >> Bob > >> > >> > >> On May 11, 2011, at 2:14 PM, Bill Vlahos wrote: > >> > >>> I want to modify a prefs file on XP and Windows 7 computers. Since the > >> file could be in different places I can't count on knowing the path to > it. > >> How do I execute a search for the file by name in LC and get the path to > it? > >>> > >>> The file would only be on the user's hard disk not on any mounted > servers > >> so I want to restrict the search to just the user's drive. > >>> > >>> Bill Vlahos > >>> > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode at lists.runrev.com > >>> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >>> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode 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 May 11 18:26:28 2011 From: pete at mollysrevenge.com (Pete) Date: Wed, 11 May 2011 15:26:28 -0700 Subject: Menu Buttons In-Reply-To: <141314374156.20110511144947@ahsoftware.net> References: <6399A7CB-FABF-4D15-A621-0209D9F11AA4@clarkeandclarke.co.uk> <398A8368-EF5F-48E6-946C-77472D9A5DA0@yahoo.com> <84ADB212-3170-4133-BD85-5169A4E0087C@unlserve.unl.edu> <8CDDC94C9E0553F-B74-2E8A@webmail-d094.sysops.aol.com> <2AAA878D-2265-4567-91F6-E8559530500C@wanadoo.fr> <7F5EFA67-E82C-4E4D-A974-58143D3658EB@yahoo.com> <36238847218.20110510175100@ahsoftware.net> <20254320781.20110510220854@ahsoftware.net> <141314374156.20110511144947@ahsoftware.net> Message-ID: Hi Mark, Thanks for the update. I guess it depends on the definition of a bug but to be honest, I think the way this works currently is what I'd expect - no menuPick because nothing new got picked. If processing is needed even though nothing changed, you can send a menuPick message, that way there's flexibility. Of course, I'm definitely biased because I'm relying on the current behavior of menuHistory in some of my code. Pete Molly's Revenge On Wed, May 11, 2011 at 2:49 PM, Mark Wieder wrote: > Pete- > > Wednesday, May 11, 2011, 9:44:31 AM, you wrote: > > > That's strange because that's not what I'm seeing - no wonder there's > > confusion! Here's what I did to test. > > > Put an option menu on a card with the default choices. > > I just reopened bug #9301. It's fixed for pulldown and popup menu > buttons, but not for option menus. > > -- > -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 Wed May 11 18:29:34 2011 From: bobs at twft.com (Bob Sneidar) Date: Wed, 11 May 2011 15:29:34 -0700 Subject: Windows hard disk search In-Reply-To: References: <792FB251-1F1C-4520-8EE3-3BCB2B279C8C@mac.com> <3CBC04BB-7A04-4377-804A-CEF925759F98@twft.com> Message-ID: <5230A257-251C-4979-AAD0-7EBC0348E6EC@twft.com> You can use specialfolderpath("home") in windows or mac to get the users home folder (known as the profile in Windows). Now you only have 2 possible places it can be depending on Win7 or XP. Bob On May 11, 2011, at 3:13 PM, Bill Vlahos wrote: > It is a Thunderbird pref file "prefs.js". XP stores it differently than Win7 but in both cases the user's name is part of the path so I can't program for that. If I search the drive I will get the path to all the files and can validate the "right" one based on having the name "Thunderbird" in the path. > > Bill Vlahos > On May 11, 2011, at 2:51 PM, Bob Sneidar wrote: > >> I wouldn't try to search for it if I were you. Just check for the OS and conditionally set the path accordingly. If it could be ANYWHERE, than that begs the question, what is it and who put it there? >> >> Bob >> >> >> On May 11, 2011, at 2:14 PM, Bill Vlahos wrote: >> >>> I want to modify a prefs file on XP and Windows 7 computers. Since the file could be in different places I can't count on knowing the path to it. How do I execute a search for the file by name in LC and get the path to it? >>> >>> The file would only be on the user's hard disk not on any mounted servers so I want to restrict the search to just the user's drive. >>> >>> Bill Vlahos >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 May 11 18:33:24 2011 From: bobs at twft.com (Bob Sneidar) Date: Wed, 11 May 2011 15:33:24 -0700 Subject: Windows hard disk search In-Reply-To: References: <792FB251-1F1C-4520-8EE3-3BCB2B279C8C@mac.com> <3CBC04BB-7A04-4377-804A-CEF925759F98@twft.com> Message-ID: <6AE50495-C913-46F8-A68C-D9DA4BBC6639@twft.com> Assuming you want to do things the hard way and shell it out, %USERPROFILE% should get you to the current user profile, right? Bob On May 11, 2011, at 3:24 PM, Mike Bonner wrote: > Ah k, if the username is the issue, the system global var (at least on win > 7, cant check on xp) is $USERNAME and should contain the current username. > Might make it possible to hit it directly using the system global. From bonnmike at gmail.com Wed May 11 18:35:28 2011 From: bonnmike at gmail.com (Mike Bonner) Date: Wed, 11 May 2011 16:35:28 -0600 Subject: Windows hard disk search In-Reply-To: References: <792FB251-1F1C-4520-8EE3-3BCB2B279C8C@mac.com> <3CBC04BB-7A04-4377-804A-CEF925759F98@twft.com> Message-ID: Just found this On *Windows Vista/XP/2000*, the path is usually %AppData% \Thunderbird\Profiles\xxxxxxxx.default\, where xxxxxxxx is a random string of 8 characters. Just browse to C:\Documents and Settings\[User Name]\Application Data\Thunderbird\Profiles\ on Windows XP/2000 or C:\users\[User Name] \AppData\Roaming\Thunderbird\Profiles\ on Windows Vista, and the rest should be obvious. So something like put merge(" C:\users\[[$USERNAME]]\AppData\Roaming\Thunderbird\Profiles\") into tVistaPath will give you the trunk at which point all you have to do is determine the name of the random folder name created by thunderbird and tack it on to the end of the path. Or even more simple, for the merge string use "[[$APPDATA]]\Thunderbird\Profiles\" since the appdata global will give you everything up to roaming including the username On Wed, May 11, 2011 at 4:24 PM, Mike Bonner wrote: > Ah k, if the username is the issue, the system global var (at least on win > 7, cant check on xp) is $USERNAME and should contain the current username. > Might make it possible to hit it directly using the system global. > > > > > > On Wed, May 11, 2011 at 4:14 PM, Bill Vlahos wrote: > >> Mike, >> >> Thanks. I can narrow it down. This is very helpful. >> >> Bill Vlahos >> >> On May 11, 2011, at 3:11 PM, Mike Bonner wrote: >> >> > If you can narrow down the places to search, you can do this with a >> shell >> > command. You could technically do the whole drive, but it would be way >> too >> > slow to be worthwhile, but if you only have to search a small subset of >> the >> > drive it shouldn't be too bad. >> > >> > set the defaultfolder to "c:\where\to\start\looking" >> > get shell("dir /s filetofind.pref") >> > >> > So to find all hosts files in the windows tree >> > >> > set the defaultfolder to "c:\windows" >> > get shell("dir /s hosts") >> > >> > which returns parsable info as similar to the following. >> > >> > * Volume in drive C has no label.* >> > * Volume Serial Number is C44E-B22E* >> > * >> > * >> > * Directory of >> > >> c:\windows\winsxs\amd64_microsoft-windows-w..nfrastructure-other_31bf3856ad364e35_6.1.7600.16385_none_6079f415110c0210 >> > * >> > * >> > * >> > *06/10/2009 03:00 PM 824 hosts* >> > * 1 File(s) 824 bytes* >> > * >> > * >> > * Total Files Listed:* >> > * 1 File(s) 824 bytes* >> > * 0 Dir(s) 858,688,282,624 bytes free* >> > >> > >> > A whole drive search with this method takes way too long. I also wonder >> if >> > there is a registry key that will point you the right direction instead. >> > >> > On Wed, May 11, 2011 at 3:51 PM, Bob Sneidar wrote: >> > >> >> I wouldn't try to search for it if I were you. Just check for the OS >> and >> >> conditionally set the path accordingly. If it could be ANYWHERE, than >> that >> >> begs the question, what is it and who put it there? >> >> >> >> Bob >> >> >> >> >> >> On May 11, 2011, at 2:14 PM, Bill Vlahos wrote: >> >> >> >>> I want to modify a prefs file on XP and Windows 7 computers. Since the >> >> file could be in different places I can't count on knowing the path to >> it. >> >> How do I execute a search for the file by name in LC and get the path >> to it? >> >>> >> >>> The file would only be on the user's hard disk not on any mounted >> servers >> >> so I want to restrict the search to just the user's drive. >> >>> >> >>> Bill Vlahos >> >>> >> >>> _______________________________________________ >> >>> use-livecode mailing list >> >>> use-livecode at lists.runrev.com >> >>> Please visit this url to subscribe, unsubscribe and manage your >> >> subscription preferences: >> >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> >> >> >> _______________________________________________ >> >> use-livecode mailing list >> >> use-livecode 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 May 11 18:35:29 2011 From: bobs at twft.com (Bob Sneidar) Date: Wed, 11 May 2011 15:35:29 -0700 Subject: Menu Buttons In-Reply-To: References: <6399A7CB-FABF-4D15-A621-0209D9F11AA4@clarkeandclarke.co.uk> <398A8368-EF5F-48E6-946C-77472D9A5DA0@yahoo.com> <84ADB212-3170-4133-BD85-5169A4E0087C@unlserve.unl.edu> <8CDDC94C9E0553F-B74-2E8A@webmail-d094.sysops.aol.com> <2AAA878D-2265-4567-91F6-E8559530500C@wanadoo.fr> <7F5EFA67-E82C-4E4D-A974-58143D3658EB@yahoo.com> <36238847218.20110510175100@ahsoftware.net> <20254320781.20110510220854@ahsoftware.net> <141314374156.20110511144947@ahsoftware.net> Message-ID: To play the bad guy's advocate, why then does it work differently when you select the same thing in an option menu? The *bug* is that the two methods produce different results. But we are straining at gnats here. Bob On May 11, 2011, at 3:26 PM, Pete wrote: > Hi Mark, > Thanks for the update. I guess it depends on the definition of a bug but to > be honest, I think the way this works currently is what I'd expect - no > menuPick because nothing new got picked. If processing is needed even though > nothing changed, you can send a menuPick message, that way there's > flexibility. > > Of course, I'm definitely biased because I'm relying on the current behavior > of menuHistory in some of my code. > > Pete From bobs at twft.com Wed May 11 18:53:25 2011 From: bobs at twft.com (Bob Sneidar) Date: Wed, 11 May 2011 15:53:25 -0700 Subject: Windows hard disk search In-Reply-To: References: <792FB251-1F1C-4520-8EE3-3BCB2B279C8C@mac.com> <3CBC04BB-7A04-4377-804A-CEF925759F98@twft.com> Message-ID: But why bother? specialfolderpath("Home") gives you the current user profile. So: put the defaultFolder into theOldDefaultPath put specialfolderpath("Home") & "\Application Data\Thunderbird\Profiles\" into \ theTbirdProfilePath if there is a folder theTbirdProfilePath then set the defaultFolder to theTbirdProfilePath put the files into theListOfProfiles set the defaultFolder to theOldDefaultPath -- do what you want with the list of files end if If you need the most recently modified one you can substitute "the files" with "the detailed files" and then find the line with the highest number in the item that ends up being the mod date. Bob On May 11, 2011, at 3:35 PM, Mike Bonner wrote: > Just found this > > On *Windows Vista/XP/2000*, the path is usually > %AppData% > \Thunderbird\Profiles\xxxxxxxx.default\, where xxxxxxxx is a random string > of 8 characters. Just browse to C:\Documents and Settings\[User > Name]\Application > Data\Thunderbird\Profiles\ on Windows XP/2000 or C:\users\[User Name] > \AppData\Roaming\Thunderbird\Profiles\ on Windows Vista, and the rest should > be obvious. > > So something like > put merge(" C:\users\[[$USERNAME]]\AppData\Roaming\Thunderbird\Profiles\") > into tVistaPath will give you the trunk at which point all you have to do is > determine the name of the random folder name created by thunderbird and tack > it on to the end of the path. > > Or even more simple, for the merge string use > "[[$APPDATA]]\Thunderbird\Profiles\" since the appdata global will give you > everything up to roaming including the username > > On Wed, May 11, 2011 at 4:24 PM, Mike Bonner wrote: > >> Ah k, if the username is the issue, the system global var (at least on win >> 7, cant check on xp) is $USERNAME and should contain the current username. >> Might make it possible to hit it directly using the system global. >> >> >> >> >> >> On Wed, May 11, 2011 at 4:14 PM, Bill Vlahos wrote: >> >>> Mike, >>> >>> Thanks. I can narrow it down. This is very helpful. >>> >>> Bill Vlahos >>> >>> On May 11, 2011, at 3:11 PM, Mike Bonner wrote: >>> >>>> If you can narrow down the places to search, you can do this with a >>> shell >>>> command. You could technically do the whole drive, but it would be way >>> too >>>> slow to be worthwhile, but if you only have to search a small subset of >>> the >>>> drive it shouldn't be too bad. >>>> >>>> set the defaultfolder to "c:\where\to\start\looking" >>>> get shell("dir /s filetofind.pref") >>>> >>>> So to find all hosts files in the windows tree >>>> >>>> set the defaultfolder to "c:\windows" >>>> get shell("dir /s hosts") >>>> >>>> which returns parsable info as similar to the following. >>>> >>>> * Volume in drive C has no label.* >>>> * Volume Serial Number is C44E-B22E* >>>> * >>>> * >>>> * Directory of >>>> >>> c:\windows\winsxs\amd64_microsoft-windows-w..nfrastructure-other_31bf3856ad364e35_6.1.7600.16385_none_6079f415110c0210 >>>> * >>>> * >>>> * >>>> *06/10/2009 03:00 PM 824 hosts* >>>> * 1 File(s) 824 bytes* >>>> * >>>> * >>>> * Total Files Listed:* >>>> * 1 File(s) 824 bytes* >>>> * 0 Dir(s) 858,688,282,624 bytes free* >>>> >>>> >>>> A whole drive search with this method takes way too long. I also wonder >>> if >>>> there is a registry key that will point you the right direction instead. >>>> >>>> On Wed, May 11, 2011 at 3:51 PM, Bob Sneidar wrote: >>>> >>>>> I wouldn't try to search for it if I were you. Just check for the OS >>> and >>>>> conditionally set the path accordingly. If it could be ANYWHERE, than >>> that >>>>> begs the question, what is it and who put it there? >>>>> >>>>> Bob >>>>> >>>>> >>>>> On May 11, 2011, at 2:14 PM, Bill Vlahos wrote: >>>>> >>>>>> I want to modify a prefs file on XP and Windows 7 computers. Since the >>>>> file could be in different places I can't count on knowing the path to >>> it. >>>>> How do I execute a search for the file by name in LC and get the path >>> to it? >>>>>> >>>>>> The file would only be on the user's hard disk not on any mounted >>> servers >>>>> so I want to restrict the search to just the user's drive. >>>>>> >>>>>> Bill Vlahos >>>>>> >>>>>> _______________________________________________ >>>>>> use-livecode mailing list >>>>>> use-livecode at lists.runrev.com >>>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>> subscription preferences: >>>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>>> >>>>> _______________________________________________ >>>>> use-livecode mailing list >>>>> use-livecode at lists.runrev.com >>>>> Please visit this url to subscribe, unsubscribe and manage your >>>>> subscription preferences: >>>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>>>> >>>> _______________________________________________ >>>> use-livecode mailing list >>>> use-livecode at lists.runrev.com >>>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >>> >> >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From capellan2000 at gmail.com Wed May 11 21:19:59 2011 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Wed, 11 May 2011 18:19:59 -0700 (PDT) Subject: Test stack for Gif animation and Background Patterns In-Reply-To: <4DCA8E63.5000602@fourthworld.com> References: <122239194656.20110510175648@ahsoftware.net> <4DCA8E63.5000602@fourthworld.com> Message-ID: <1305163199886-3516253.post@n4.nabble.com> Hi Richard, Richard Gaskin wrote: > > Mark Wieder wrote: >> Alejandro- >> FWIW, on Fedora Core 13 it ran flawlessly: roughly 20% cpu usage with >> no apparent slowdown and an insignificant hit on memory usage. This on >> a six-month old 2.6GHz quad-core Thinkpad with 4G memory. > > Same good result here on Ubuntu 10.10. > Then, animated gif rendering was updated in all platforms. Previously (in version 4) these animations showed black trails. In that version, setting the property named "constantMask" does not helped to fix the rendering problems. Thanks again for your reports! Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Test-stack-for-Gif-animation-and-Background-Patterns-tp3512698p3516253.html Sent from the Revolution - User mailing list archive at Nabble.com. From mwieder at ahsoftware.net Wed May 11 21:39:22 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 11 May 2011 18:39:22 -0700 Subject: Menu Buttons In-Reply-To: References: <6399A7CB-FABF-4D15-A621-0209D9F11AA4@clarkeandclarke.co.uk> <398A8368-EF5F-48E6-946C-77472D9A5DA0@yahoo.com> <84ADB212-3170-4133-BD85-5169A4E0087C@unlserve.unl.edu> <8CDDC94C9E0553F-B74-2E8A@webmail-d094.sysops.aol.com> <2AAA878D-2265-4567-91F6-E8559530500C@wanadoo.fr> <7F5EFA67-E82C-4E4D-A974-58143D3658EB@yahoo.com> <36238847218.20110510175100@ahsoftware.net> <20254320781.20110510220854@ahsoftware.net> <141314374156.20110511144947@ahsoftware.net> Message-ID: <98328148609.20110511183922@ahsoftware.net> Pete- Wednesday, May 11, 2011, 3:26:28 PM, you wrote: > Of course, I'm definitely biased because I'm relying on the current behavior > of menuHistory in some of my code. OTOH, it's easy to check for the current value in the menuPick handler and exit if it's the same. The reason for bug #9301 in the first place was that selecting menuitems from a menubar from a scripted solution wouldn't always work. So on the way to fixing menus, popup and pulldown menus got fixed. Option menus are "broken" because they now don't act the same as other menu buttons. That's my story and I'm sticking to it. -- -Mark Wieder mwieder at ahsoftware.net From ray at linkit.com Wed May 11 22:12:34 2011 From: ray at linkit.com (Ray Horsley) Date: Wed, 11 May 2011 22:12:34 -0400 Subject: Datagrid Column Resizing Message Message-ID: <001701cc104a$0f5206c0$2df61440$@LinkIt.Com> Does anybody know what message is sent, and where I can trap for it, when a user manually resizes a column by dragging the border between column headings with the double arrow cursor? Thanks, Ray From pete at mollysrevenge.com Wed May 11 23:19:34 2011 From: pete at mollysrevenge.com (Pete) Date: Wed, 11 May 2011 20:19:34 -0700 Subject: Menu Buttons In-Reply-To: <98328148609.20110511183922@ahsoftware.net> References: <6399A7CB-FABF-4D15-A621-0209D9F11AA4@clarkeandclarke.co.uk> <398A8368-EF5F-48E6-946C-77472D9A5DA0@yahoo.com> <84ADB212-3170-4133-BD85-5169A4E0087C@unlserve.unl.edu> <8CDDC94C9E0553F-B74-2E8A@webmail-d094.sysops.aol.com> <2AAA878D-2265-4567-91F6-E8559530500C@wanadoo.fr> <7F5EFA67-E82C-4E4D-A974-58143D3658EB@yahoo.com> <36238847218.20110510175100@ahsoftware.net> <20254320781.20110510220854@ahsoftware.net> <141314374156.20110511144947@ahsoftware.net> <98328148609.20110511183922@ahsoftware.net> Message-ID: Sure, I understand I can check things in menuPick. I guess it comes down to what's the behavior that works most of the time for most people, making that the default, and providing a way to get round the default if it's not what you want. In this very personal sample of one (me), I have yet to come across a situation where I want menupick in an option menu to be triggered if I set the menuhistory to its current value, so it's kind of a pain to have put a workaround for that in every menuPick handler I code. But, you definitely have seniority over me, so I respect your opinion ;-) And I'll just enjoy the way it works now until ti gets changed and then change all mu code to deal with it. Pete Molly's Revenge On Wed, May 11, 2011 at 6:39 PM, Mark Wieder wrote: > Pete- > > Wednesday, May 11, 2011, 3:26:28 PM, you wrote: > > > Of course, I'm definitely biased because I'm relying on the current > behavior > > of menuHistory in some of my code. > > OTOH, it's easy to check for the current value in the menuPick > handler and exit if it's the same. > > The reason for bug #9301 in the first place was that selecting > menuitems from a menubar from a scripted solution wouldn't always > work. So on the way to fixing menus, popup and pulldown menus got > fixed. Option menus are "broken" because they now don't act the same > as other menu buttons. > > That's my story and I'm sticking to it. > > -- > -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 Wed May 11 23:33:10 2011 From: pete at mollysrevenge.com (Pete) Date: Wed, 11 May 2011 20:33:10 -0700 Subject: Datagrid Column Resizing Message In-Reply-To: <001701cc104a$0f5206c0$2df61440$@LinkIt.Com> References: <001701cc104a$0f5206c0$2df61440$@LinkIt.Com> Message-ID: I think, but not sure, that the layoutControl handler is what you want, although its sole parameter is a control rectangle so I'm not sure how you would determine what column got resized. Sorry, haven't done anything with thiss but maybe you can find out more at http://lessons.runrev.com/spaces/lessons/manuals/datagrid Pete Molly's Revenge On Wed, May 11, 2011 at 7:12 PM, Ray Horsley wrote: > Does anybody know what message is sent, and where I can trap for it, when a > user manually resizes a column by dragging the border between column > headings with the double arrow cursor? > > > > Thanks, > > > > Ray > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > From tvogelaar at de-mare.nl Thu May 12 00:53:28 2011 From: tvogelaar at de-mare.nl (Terry Vogelaar) Date: Thu, 12 May 2011 06:53:28 +0200 Subject: Unexpected behavior in iOS app In-Reply-To: References: Message-ID: <6E65A313-3252-4ED7-861F-3BD68C9A9A59@de-mare.nl> Hi Jacque, Eureka! That helped. There was indeed a problem with my actual script. When I wrote this question, I made some changes to shorten it somewhat. That actually solved it. So there is nothing wrong with the script I showed... For the ugly option menus, I found a workaround. I thought I could solve it by using blending inks. I played around with text colors, border colors and blending inks, but unfortunately none of these blending inks seemed to work in iOS either. But fortunately the blendLevel does. So I used 100, which makes it totally transparent. And I put a button behind it to take care of the 'looks'. And thank you for the lockloc tip. I ignored to set that, so that was the problem. But actually there is another minor weirdness I ran into. The on-screen keyboard types all caps until I manually hit the caps key. Terry Op 11 mei 2011, om 17:05 heeft J. Landman Gay het volgende geschreven: > On 5/11/11 1:17 AM, Terry Vogelaar wrote: >> I'm running into a few problems building an iOS app. >> >> The most important one is this one. I want it to retrieve data from an 18MB text file, because I want it to work when the device is not connected to the internet. So I tried this: >> on preopenstack >> put "file:"& specialFolderPath("documents")& "/Muziek.txt" into docsmap >> if the environment = "mobile" then >> answer "Download or use local?" with "Download" or "Local" >> if it is "Download" then >> put url "http://dl.dropbox.com/u/10128030/Muziek.txt" into muzieklijst -- not the actual url >> put muzieklijst into url docsmap >> else >> put url docsmap into muzieklijst >> end if >> else >> put url "file:~/Dropbox/Public/Muziek.txt" into muzieklijst >> end if >> -- and some additional processing of the muzieklijst data that works fine >> end preopenstack >> >> As you can see, it intends to write the text file I expected the >> download to be only the first time the app is used, or optionally >> when I know the file has changed. It takes a few minutes staring at a >> black screen, but eventually it works. >> >> But apparently it doesn't save the file on the iPod Touch. The >> variable muzieklijst only contains data when it is freshly >> downloaded. If I tap on the "Local" button, muzieklijst stays empty. > > Check to see if the path is really valid in iOS while the app is > running. Add this to your script temporarily: > > put "file:"& specialFolderPath("documents")& "/Muziek.txt" into docsmap > answer "File exists:" && there is a file docsmap & cr & docsmap > > See what it says. SpecialFolderPath should work, so I suspect the path > isn't resolving correctly. > >> I see a beautiful picker on iOS when using a >> button with the menuMode set to 'option'. But on screen, the button >> looks 90'ish with an ugly border around it. > > I haven't played much with these yet, so can't say. Maybe someone else > knows. > >> >> Also, I applied a great technique I learned on the Beginners Mobile >> Course on the Simulcast. I put a bunch of PNGs in a Resouces substack >> and I copied the scripts from the Ticked Off stack, used in the demo. >> It worked great; it scaled all the icons on the main stack. But as >> soon as I switched an icon (using: "set the icon of me to 1023"), it >> showed (the center portion of) the large version of that icon; not >> the downscaled one I wanted to see. > > All the images in your resources stack need to have their lockloc set to > true so they won't revert to their original dimensions. You only have to > do that once, when you set up the images. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com From keith.clarke at clarkeandclarke.co.uk Thu May 12 04:05:28 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Thu, 12 May 2011 09:05:28 +0100 Subject: Vertical adjustment of specific field text? Message-ID: Hi folks, Is there any way to adjust the vertical alignment of specific text within a field - such as lifting a word by 2 pixels? I'm using a simple scrollable list to provide (static) navigate between cards on a stack. Each row comprises 3 space characters (the first space overwritten using imageSource to show a 16px icon for the card) followed by the Card's name (in a 12px font). The list is OK but it would look better if the text could be 'lifted' by just a couple of pixels to align vertically with the centre of the icon - and changing margins doesn't help as this affects the icon as well as the text. Maybe it will just have to wait until I have time to replace the navigation with a more sophisticated data grid form? Best, Keith.. From dixonja at hotmail.co.uk Thu May 12 04:25:19 2011 From: dixonja at hotmail.co.uk (John Dixon) Date: Thu, 12 May 2011 09:25:19 +0100 Subject: Vertical adjustment of specific field text? In-Reply-To: References: Message-ID: Kieth... have a look at textShift in the dictionary... be well > > Hi folks, > Is there any way to adjust the vertical alignment of specific text within a field - such as lifting a word by 2 pixels? > > I'm using a simple scrollable list to provide (static) navigate between cards on a stack. Each row comprises 3 space characters (the first space overwritten using imageSource to show a 16px icon for the card) followed by the Card's name (in a 12px font). > > The list is OK but it would look better if the text could be 'lifted' by just a couple of pixels to align vertically with the centre of the icon - and changing margins doesn't help as this affects the icon as well as the text. > > Maybe it will just have to wait until I have time to replace the navigation with a more sophisticated data grid form? > Best, > Keith.. From nicekris2011 at aol.com Thu May 12 04:55:51 2011 From: nicekris2011 at aol.com (nicekris2011 at aol.com) Date: Thu, 12 May 2011 04:55:51 -0400 (EDT) Subject: In Need of Assistance (URGENT) Message-ID: <8CDDE99870D1957-1650-1BFEE@Webmail-d123.sysops.aol.com> Hi guys, I am in need of assistance to solve the problems stated below. I have part of the program done but still having problem to solve the problems stated as below. The link of the program that I've done part of it is here: http://www.adrive.com/public/942c55beef0bb1557e01c8102796e9d43882a85eb728b0128fffc67d708bc5be.html Please open the file before looking at the requirements below. That will help you better understand what I am talking about here. Requirements for the program to run: Pg. 1: Monkey or Person The script for the Monkey or Person Button will randomly select and display one of the JPEG photos available (i.e., jackson.jpg, monkey.jpg, pg.jpg, michael.jpg) in approximately the center of the page. This will happen with a single mouse click. If the picture displayed is the monkey, then the monkey sound file ?monkey.wav? or ?monkey.aif? will play. (image and sound files have already been embedded into the stack-view via application browser) Pg. 2: Make a Sentence The collection of scripts that you create will result in correct English sentences going into the gray text field at the bottom. Users will be allowed to click on the words and punctuation marks in the fields to build their sentences. Pg. 3: Rock, Paper, Scissors The script for the SetUp button is provided. It randomly selects either ?rock?, ?paper?, or ?scissors? for each player and displays the results in the appropriate fields. The Execute Button needed to be script. The script for the Execute Button should: Determine which player is the winner. Provide feedback in the form of? Rudy Wins Judy Wins It is a Tie Appreciate if you can help me to solve the problems! Let me know if you have any questions. Sincerely, JYST From bvg at mac.com Thu May 12 05:00:50 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Thu, 12 May 2011 11:00:50 +0200 Subject: In Need of Assistance (URGENT) In-Reply-To: <8CDDE99870D1957-1650-1BFEE@Webmail-d123.sysops.aol.com> References: <8CDDE99870D1957-1650-1BFEE@Webmail-d123.sysops.aol.com> Message-ID: this sounds like a school assignment. What part exactly do you have trouble with? On 12 May 2011, at 10:55, nicekris2011 at aol.com wrote: > > > Hi guys, > > I am in need of assistance to solve the problems stated below. I have part of the program done but still having problem to solve the problems stated as below. > > The link of the program that I've done part of it is here: > http://www.adrive.com/public/942c55beef0bb1557e01c8102796e9d43882a85eb728b0128fffc67d708bc5be.html > > Please open the file before looking at the requirements below. That will help you better understand what I am talking about here. > > > > > > > > Requirements for the program to run: > > > > Pg. 1: Monkey or Person > The script for the Monkey or Person Button will randomly select and display one of the JPEG photos available (i.e., jackson.jpg, monkey.jpg, pg.jpg, michael.jpg) in approximately the center of the page. This will happen with a single mouse click. If the picture displayed is the monkey, then the monkey sound file ?monkey.wav? or ?monkey.aif? will play. (image and sound files have already been embedded into the stack-view via application browser) > > > Pg. 2: Make a Sentence > The collection of scripts that you create will result in correct English sentences going into the gray text field at the bottom. Users will be allowed to click on the words and punctuation marks in the fields to build their sentences. > > > Pg. 3: Rock, Paper, Scissors > The script for the SetUp button is provided. It randomly selects either ?rock?, ?paper?, or ?scissors? for each player and displays the results in the appropriate fields. The Execute Button needed to be script. > > > The script for the Execute Button should: > > Determine which player is the winner. > Provide feedback in the form of? > > Rudy Wins > > > Judy Wins > > > It is a Tie > > > > > Appreciate if you can help me to solve the problems! Let me know if you have any questions. > > Sincerely, > JYST > > > > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Thu May 12 05:04:33 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Thu, 12 May 2011 10:04:33 +0100 Subject: Vertical adjustment of specific field text? In-Reply-To: References: Message-ID: <798F1398-DFE0-4B9F-BA98-62D34921902D@clarkeandclarke.co.uk> Thanks John, textShift will solve my problem very nicely. Strange that the Dictionary didn't return anything when I searched on 'superscript' or 'subscript' - as they're both in the description of shiftText?!? I don't see any Preferences settings to prevent the Dictionary from searching all fields - am I missing a trick here? Best, Keith.. On 12 May 2011, at 09:25, John Dixon wrote: > > > > Kieth... > > have a look at textShift in the dictionary... > > be well > >> >> Hi folks, >> Is there any way to adjust the vertical alignment of specific text within a field - such as lifting a word by 2 pixels? >> >> I'm using a simple scrollable list to provide (static) navigate between cards on a stack. Each row comprises 3 space characters (the first space overwritten using imageSource to show a 16px icon for the card) followed by the Card's name (in a 12px font). >> >> The list is OK but it would look better if the text could be 'lifted' by just a couple of pixels to align vertically with the centre of the icon - and changing margins doesn't help as this affects the icon as well as the text. >> >> Maybe it will just have to wait until I have time to replace the navigation with a more sophisticated data grid form? >> 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 bvg at mac.com Thu May 12 05:07:24 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Thu, 12 May 2011 11:07:24 +0200 Subject: Vertical adjustment of specific field text? In-Reply-To: <798F1398-DFE0-4B9F-BA98-62D34921902D@clarkeandclarke.co.uk> References: <798F1398-DFE0-4B9F-BA98-62D34921902D@clarkeandclarke.co.uk> Message-ID: <68DC1930-7AD9-4BF0-832E-6D96644E3C5F@mac.com> there's no search, what you see in the documentation is a result of a "filter" on the extended list. That is why (for example) you'll get a ton of results when entering "the", but only one when entering "revxmlchildnames". On 12 May 2011, at 11:04, Keith Clarke wrote: > Thanks John, textShift will solve my problem very nicely. > > Strange that the Dictionary didn't return anything when I searched on 'superscript' or 'subscript' - as they're both in the description of shiftText?!? > > I don't see any Preferences settings to prevent the Dictionary from searching all fields - am I missing a trick here? > Best, > Keith.. > > On 12 May 2011, at 09:25, John Dixon wrote: > >> >> >> >> Kieth... >> >> have a look at textShift in the dictionary... >> >> be well >> >>> >>> Hi folks, >>> Is there any way to adjust the vertical alignment of specific text within a field - such as lifting a word by 2 pixels? >>> >>> I'm using a simple scrollable list to provide (static) navigate between cards on a stack. Each row comprises 3 space characters (the first space overwritten using imageSource to show a 16px icon for the card) followed by the Card's name (in a 12px font). >>> >>> The list is OK but it would look better if the text could be 'lifted' by just a couple of pixels to align vertically with the centre of the icon - and changing margins doesn't help as this affects the icon as well as the text. >>> >>> Maybe it will just have to wait until I have time to replace the navigation with a more sophisticated data grid form? >>> 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.clarke at clarkeandclarke.co.uk Thu May 12 05:25:25 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Thu, 12 May 2011 10:25:25 +0100 Subject: Vertical adjustment of specific field text? In-Reply-To: <68DC1930-7AD9-4BF0-832E-6D96644E3C5F@mac.com> References: <798F1398-DFE0-4B9F-BA98-62D34921902D@clarkeandclarke.co.uk> <68DC1930-7AD9-4BF0-832E-6D96644E3C5F@mac.com> Message-ID: <9781D7B4-D677-4440-94AB-9C8B15DCB63D@clarkeandclarke.co.uk> ...ah, OK - I hadn't realised that the Dictionary was so limited. Time to check out your documentation project, methinks ;-) On 12 May 2011, at 10:07, Bj?rnke von Gierke wrote: > there's no search, what you see in the documentation is a result of a "filter" on the extended list. That is why (for example) you'll get a ton of results when entering "the", but only one when entering "revxmlchildnames". > > On 12 May 2011, at 11:04, Keith Clarke wrote: > >> Thanks John, textShift will solve my problem very nicely. >> >> Strange that the Dictionary didn't return anything when I searched on 'superscript' or 'subscript' - as they're both in the description of shiftText?!? >> >> I don't see any Preferences settings to prevent the Dictionary from searching all fields - am I missing a trick here? >> Best, >> Keith.. >> >> On 12 May 2011, at 09:25, John Dixon wrote: >> >>> >>> >>> >>> Kieth... >>> >>> have a look at textShift in the dictionary... >>> >>> be well >>> >>>> >>>> Hi folks, >>>> Is there any way to adjust the vertical alignment of specific text within a field - such as lifting a word by 2 pixels? >>>> >>>> I'm using a simple scrollable list to provide (static) navigate between cards on a stack. Each row comprises 3 space characters (the first space overwritten using imageSource to show a 16px icon for the card) followed by the Card's name (in a 12px font). >>>> >>>> The list is OK but it would look better if the text could be 'lifted' by just a couple of pixels to align vertically with the centre of the icon - and changing margins doesn't help as this affects the icon as well as the text. >>>> >>>> Maybe it will just have to wait until I have time to replace the navigation with a more sophisticated data grid form? >>>> Best, >>>> Keith.. >>> From livfoss at mac.com Thu May 12 06:03:22 2011 From: livfoss at mac.com (Graham Samuel) Date: Thu, 12 May 2011 12:03:22 +0200 Subject: What does Windows 'shell' expect? Message-ID: Following the instructions for "launch" in the LC docs, I tried the substitute method suggested: get shell("start MyProgram.exe") this didn't work using the name of the program in Windows Explorer, presumably because there was a space in the name. I also tried to get a path to the program, which was reported by LC as C:/Program Files/My Tests/My Test.exe and this failed too, with Windows reporting that it couldn't find "Program". So shell doesn't like spaces. I thought that one could get rid of that by replacing space with "%20" but that didn't work either. Pardon my ignorance, but what should I have done? Graham From m.schonewille at economy-x-talk.com Thu May 12 06:16:42 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 12 May 2011 12:16:42 +0200 Subject: What does Windows 'shell' expect? In-Reply-To: References: Message-ID: <0F7A2818-72E1-457C-B553-1AF0EC1E022D@economy-x-talk.com> Graham, Try this: set the hideConsoleWindows to true put "start" && quote & quote && quote & "myProgram.exe" & quote into myShell get shell(myShell) -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce On 12 mei 2011, at 12:03, Graham Samuel wrote: > Following the instructions for "launch" in the LC docs, I tried the substitute method suggested: > > get shell("start MyProgram.exe") > > this didn't work using the name of the program in Windows Explorer, presumably because there was a space in the name. > > I also tried to get a path to the program, which was reported by LC as > > C:/Program Files/My Tests/My Test.exe > > and this failed too, with Windows reporting that it couldn't find "Program". So shell doesn't like spaces. I thought that one could get rid of that by replacing space with "%20" but that didn't work either. > > Pardon my ignorance, but what should I have done? > > Graham From ray at linkit.com Thu May 12 07:14:24 2011 From: ray at linkit.com (Ray Horsley) Date: Thu, 12 May 2011 07:14:24 -0400 Subject: Datagrid Column Resizing Message In-Reply-To: References: <001701cc104a$0f5206c0$2df61440$@LinkIt.Com> Message-ID: <000c01cc1095$c0afcce0$420f66a0$@LinkIt.Com> Pete, Thanks for your response but I'm not having any luck with this. I've tried the following short script: on layoutControl param1 put 1 into tmp end layoutControl in the group, the cd and the stack but none of these areas catch the layoutControl message. Could it be some other message maybe? Thanks, Ray -----Original Message----- From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Pete Sent: Wednesday, May 11, 2011 11:33 PM To: How to use LiveCode Subject: Re: Datagrid Column Resizing Message I think, but not sure, that the layoutControl handler is what you want, although its sole parameter is a control rectangle so I'm not sure how you would determine what column got resized. Sorry, haven't done anything with thiss but maybe you can find out more at http://lessons.runrev.com/spaces/lessons/manuals/datagrid Pete Molly's Revenge On Wed, May 11, 2011 at 7:12 PM, Ray Horsley wrote: > Does anybody know what message is sent, and where I can trap for it, > when a user manually resizes a column by dragging the border between > column headings with the double arrow cursor? > > > > Thanks, > > > > Ray > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From zryip.theslug at gmail.com Thu May 12 07:41:06 2011 From: zryip.theslug at gmail.com (zryip theSlug) Date: Thu, 12 May 2011 13:41:06 +0200 Subject: Datagrid Column Resizing Message In-Reply-To: <000c01cc1095$c0afcce0$420f66a0$@LinkIt.Com> References: <001701cc104a$0f5206c0$2df61440$@LinkIt.Com> <000c01cc1095$c0afcce0$420f66a0$@LinkIt.Com> Message-ID: On Thu, May 12, 2011 at 1:14 PM, Ray Horsley wrote: > Pete, > > Thanks for your response but I'm not having any luck with this. ?I've tried > the following short script: > > on layoutControl param1 > ? put 1 into tmp > end layoutControl > > in the group, the cd and the stack but none of these areas catch the > layoutControl message. ?Could it be some other message maybe? > > Thanks, Hi Ray, Have a look to this thread: http://www.mail-archive.com/use-livecode at lists.runrev.com/msg06137.html Best regards, -- -Zryip TheSlug- wish you the best! 8) http://www.aslugontheroad.co.cc From ray at linkit.com Thu May 12 08:23:23 2011 From: ray at linkit.com (Ray Horsley) Date: Thu, 12 May 2011 08:23:23 -0400 Subject: Datagrid Column Resizing Message In-Reply-To: References: <001701cc104a$0f5206c0$2df61440$@LinkIt.Com> <000c01cc1095$c0afcce0$420f66a0$@LinkIt.Com> Message-ID: <000d01cc109f$6423bd10$2c6b3730$@LinkIt.Com> That did it! Many thanks to zryip theSlug and Trevor for this simple solution. setprop dgColumnWidth hide graphic "ColHiliter" -- a graphic I use to highlight column headings, needs to be put away when column widths are adjusted pass dgColumnWidth end dgColumnWidth Ray -----Original Message----- From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of zryip theSlug Sent: Thursday, May 12, 2011 7:41 AM To: How to use LiveCode Subject: Re: Datagrid Column Resizing Message On Thu, May 12, 2011 at 1:14 PM, Ray Horsley wrote: > Pete, > > Thanks for your response but I'm not having any luck with this. ?I've > tried the following short script: > > on layoutControl param1 > ? put 1 into tmp > end layoutControl > > in the group, the cd and the stack but none of these areas catch the > layoutControl message. ?Could it be some other message maybe? > > Thanks, Hi Ray, Have a look to this thread: http://www.mail-archive.com/use-livecode at lists.runrev.com/msg06137.html 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 keith.clarke at clarkeandclarke.co.uk Thu May 12 08:52:27 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Thu, 12 May 2011 13:52:27 +0100 Subject: Highlight list line on hover? Message-ID: Hi folks, I've found mouseEnter, mouseLine and Highlight in the dictionary but can't seem to get the syntax correct to highlight a line in a list field with a mouse hover, rather than a click. Any clues would be greatly appreciated. Best, Keith.. From klaus at major.on-rev.com Thu May 12 09:01:14 2011 From: klaus at major.on-rev.com (Klaus on-rev) Date: Thu, 12 May 2011 15:01:14 +0200 Subject: Highlight list line on hover? In-Reply-To: References: Message-ID: <406F4C0F-C8F2-4FCA-AF1F-9DAE0AD89BD8@major.on-rev.com> Hi Keith, > Hi folks, > I've found mouseEnter, mouseLine and Highlight in the dictionary but can't seem to get the syntax correct to highlight a line in a list field with a mouse hover, rather than a click. > Any clues would be greatly appreciated. Use the "mousemove" message! Put this into the script of the field: on mousemove set the hilitedlines of me to (word 2 of the mouseline) end mousemove :-) > Best, > Keith Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From dunbarx at aol.com Thu May 12 09:02:48 2011 From: dunbarx at aol.com (dunbarx at aol.com) Date: Thu, 12 May 2011 09:02:48 -0400 Subject: Highlight list line on hover? In-Reply-To: References: Message-ID: <8CDDEBC0712F4F0-1AE4-40E92@Webmail-d107.sysops.aol.com> How about: on mouseWithin select the mouseLine end mouseWithin Craig Newman -----Original Message----- From: Keith Clarke To: How to use LiveCode Sent: Thu, May 12, 2011 8:52 am Subject: Highlight list line on hover? Hi folks, I've found mouseEnter, mouseLine and Highlight in the dictionary but can't seem to get the syntax correct to highlight a line in a list field with a mouse hover, rather than a click. Any clues would be greatly appreciated. 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 Thu May 12 09:10:09 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Thu, 12 May 2011 14:10:09 +0100 Subject: Highlight list line on hover? In-Reply-To: <406F4C0F-C8F2-4FCA-AF1F-9DAE0AD89BD8@major.on-rev.com> References: <406F4C0F-C8F2-4FCA-AF1F-9DAE0AD89BD8@major.on-rev.com> Message-ID: <020CEE50-CFB5-426A-8DD8-357966CAED7D@clarkeandclarke.co.uk> ...great, thanks Klaus - that has fixed it! Best, Keith.. On 12 May 2011, at 14:01, Klaus on-rev wrote: > Hi Keith, > >> Hi folks, >> I've found mouseEnter, mouseLine and Highlight in the dictionary but can't seem to get the syntax correct to highlight a line in a list field with a mouse hover, rather than a click. >> Any clues would be greatly appreciated. > > Use the "mousemove" message! > Put this into the script of the field: > > on mousemove > set the hilitedlines of me to (word 2 of the mouseline) > end mousemove > > :-) > >> Best, >> Keith > > Best > > Klaus From dixonja at hotmail.co.uk Thu May 12 09:11:13 2011 From: dixonja at hotmail.co.uk (John Dixon) Date: Thu, 12 May 2011 14:11:13 +0100 Subject: Highlight list line on hover? In-Reply-To: References: Message-ID: on mouseWithin if the mouseLine is empty then exit mouseWithin select the mouseLine end mouseWithin > Hi folks, > I've found mouseEnter, mouseLine and Highlight in the dictionary but can't seem to get the syntax correct to highlight a line in a list field with a mouse hover, rather than a click. > Any clues would be greatly appreciated. > Best, > Keith.. From klaus at major.on-rev.com Thu May 12 09:11:39 2011 From: klaus at major.on-rev.com (Klaus on-rev) Date: Thu, 12 May 2011 15:11:39 +0200 Subject: Highlight list line on hover? In-Reply-To: <406F4C0F-C8F2-4FCA-AF1F-9DAE0AD89BD8@major.on-rev.com> References: <406F4C0F-C8F2-4FCA-AF1F-9DAE0AD89BD8@major.on-rev.com> Message-ID: Addendum: Am 12.05.2011 um 15:01 schrieb Klaus on-rev: > Hi Keith, > >> Hi folks, >> I've found mouseEnter, mouseLine and Highlight in the dictionary but can't seem to get the syntax correct to highlight a line in a list field with a mouse hover, rather than a click. >> Any clues would be greatly appreciated. > > Use the "mousemove" message! > Put this into the script of the field: > > on mousemove > set the hilitedlines of me to (word 2 of the mouseline) > end mousemove this will only work with a "list field"! Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From keith.clarke at clarkeandclarke.co.uk Thu May 12 09:12:18 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Thu, 12 May 2011 14:12:18 +0100 Subject: Highlight list line on hover? In-Reply-To: <8CDDEBC0712F4F0-1AE4-40E92@Webmail-d107.sysops.aol.com> References: <8CDDEBC0712F4F0-1AE4-40E92@Webmail-d107.sysops.aol.com> Message-ID: <736E5EE6-9846-4888-9224-44848E49D72A@clarkeandclarke.co.uk> ...thanks Craig, but it doesn't track the mouse hover - Klaus nailed it with tracking mouseMove to set highlightedLines. Best, Keith.. On 12 May 2011, at 14:02, dunbarx at aol.com wrote: > How about: > > > > on mouseWithin > select the mouseLine > end mouseWithin > > > > > Craig Newman From keith.clarke at clarkeandclarke.co.uk Thu May 12 09:15:00 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Thu, 12 May 2011 14:15:00 +0100 Subject: Highlight list line on hover? In-Reply-To: References: <406F4C0F-C8F2-4FCA-AF1F-9DAE0AD89BD8@major.on-rev.com> Message-ID: <676EE984-7658-4DDA-B335-2FF6BF1343C3@clarkeandclarke.co.uk> ...it's lucky that that's what I'm using then ;-) On 12 May 2011, at 14:11, Klaus on-rev wrote: > Addendum: > > Am 12.05.2011 um 15:01 schrieb Klaus on-rev: > >> Hi Keith, >> >>> Hi folks, >>> I've found mouseEnter, mouseLine and Highlight in the dictionary but can't seem to get the syntax correct to highlight a line in a list field with a mouse hover, rather than a click. >>> Any clues would be greatly appreciated. >> >> Use the "mousemove" message! >> Put this into the script of the field: >> >> on mousemove >> set the hilitedlines of me to (word 2 of the mouseline) >> end mousemove > > this will only work with a "list field"! > > > Best > > Klaus > > -- > Klaus Major > http://www.major-k.de > klaus at major.on-rev.com From dunbarx at aol.com Thu May 12 09:53:00 2011 From: dunbarx at aol.com (dunbarx at aol.com) Date: Thu, 12 May 2011 09:53:00 -0400 Subject: Highlight list line on hover? In-Reply-To: <736E5EE6-9846-4888-9224-44848E49D72A@clarkeandclarke.co.uk> References: <8CDDEBC0712F4F0-1AE4-40E92@Webmail-d107.sysops.aol.com> <736E5EE6-9846-4888-9224-44848E49D72A@clarkeandclarke.co.uk> Message-ID: <8CDDEC309DCF4D2-1524-F991@web-mmc-m07.sysops.aol.com> Hmm. Just so I understand, what does Klaus' script do that mine (or John's) does not? What does "hover" require (or mean)? I see no difference, unless that hover thing is the issue. Craig Newman -----Original Message----- From: Keith Clarke To: How to use LiveCode Sent: Thu, May 12, 2011 9:12 am Subject: Re: Highlight list line on hover? ...thanks Craig, but it doesn't track the mouse hover - Klaus nailed it with tracking mouseMove to set highlightedLines. Best, Keith.. On 12 May 2011, at 14:02, dunbarx at aol.com wrote: > How about: > > > > on mouseWithin > select the mouseLine > end mouseWithin > > > > > Craig Newman _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From form at nonsanity.com Thu May 12 10:05:13 2011 From: form at nonsanity.com (Nonsanity) Date: Thu, 12 May 2011 10:05:13 -0400 Subject: In Need of Assistance (URGENT) In-Reply-To: References: <8CDDE99870D1957-1650-1BFEE@Webmail-d123.sysops.aol.com> Message-ID: I also got this as a personal email and responded with some hints and tips, but I didn't do the work for him/her for two reasons: 1) it DOES sound like a school assignment, very much so. And 2) NEVER open attachments from people you don't know, that you weren't expecting, or that seem suspicious in any way. Remember, it's possible to write a really NASTY Livecode stack, or ANY program for that matter. You take a risk whenever you launch an application. Developer communities need a modicum of trust between them, but we still do need to be careful. And report suspicious behavior... Offset the risk trust brings with some crowd-sourced safety. :) Home my tips help you, JYST, and good luck on your assignment. We're here to answer SPECIFIC questions you may have. :) ~ Chris Innanen ~ Nonsanity 2011/5/12 Bj?rnke von Gierke > this sounds like a school assignment. > > What part exactly do you have trouble with? > > On 12 May 2011, at 10:55, nicekris2011 at aol.com wrote: > > > > > > > Hi guys, > > > > I am in need of assistance to solve the problems stated below. I have > part of the program done but still having problem to solve the problems > stated as below. > > > > The link of the program that I've done part of it is here: > > > http://www.adrive.com/public/942c55beef0bb1557e01c8102796e9d43882a85eb728b0128fffc67d708bc5be.html > > > > Please open the file before looking at the requirements below. That will > help you better understand what I am talking about here. > > > > > > > > > > > > > > > > Requirements for the program to run: > > > > > > > > Pg. 1: Monkey or Person > > The script for the Monkey or Person Button will randomly select and > display one of the JPEG photos available (i.e., jackson.jpg, monkey.jpg, > pg.jpg, michael.jpg) in approximately the center of the page. This will > happen with a single mouse click. If the picture displayed is the monkey, > then the monkey sound file ?monkey.wav? or ?monkey.aif? will play. (image > and sound files have already been embedded into the stack-view via > application browser) > > > > > > Pg. 2: Make a Sentence > > The collection of scripts that you create will result in correct English > sentences going into the gray text field at the bottom. Users will be > allowed to click on the words and punctuation marks in the fields to build > their sentences. > > > > > > Pg. 3: Rock, Paper, Scissors > > The script for the SetUp button is provided. It randomly selects either > ?rock?, ?paper?, or ?scissors? for each player and displays the results in > the appropriate fields. The Execute Button needed to be script. > > > > > > The script for the Execute Button should: > > > > Determine which player is the winner. > > Provide feedback in the form of? > > > > Rudy Wins > > > > > > Judy Wins > > > > > > It is a Tie > > > > > > > > > > Appreciate if you can help me to solve the problems! Let me know if you > have any questions. > > > > Sincerely, > > JYST > > > > > > > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From m.schonewille at economy-x-talk.com Thu May 12 10:18:36 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 12 May 2011 16:18:36 +0200 Subject: In Need of Assistance (URGENT) In-Reply-To: References: <8CDDE99870D1957-1650-1BFEE@Webmail-d123.sysops.aol.com> Message-ID: Hi, Usually, I open a stack in a text editor before opening it in LiveCode, if I don't know whether the originating source of the stack can be trusted. By looking at the scripts, I'm usually able to tell what the stack does. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce On 12 mei 2011, at 16:05, Nonsanity wrote: > I also got this as a personal email and responded with some hints and tips, > but I didn't do the work for him/her for two reasons: 1) it DOES sound like > a school assignment, very much so. And 2) NEVER open attachments from people > you don't know, that you weren't expecting, or that seem suspicious in any > way. > > Remember, it's possible to write a really NASTY Livecode stack, or ANY > program for that matter. You take a risk whenever you launch an application. > Developer communities need a modicum of trust between them, but we still do > need to be careful. And report suspicious behavior... Offset the risk trust > brings with some crowd-sourced safety. :) > > Home my tips help you, JYST, and good luck on your assignment. We're here to > answer SPECIFIC questions you may have. :) > > ~ Chris Innanen > ~ Nonsanity From keith.clarke at clarkeandclarke.co.uk Thu May 12 10:29:57 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Thu, 12 May 2011 15:29:57 +0100 Subject: Highlight list line on hover? In-Reply-To: <8CDDEC309DCF4D2-1524-F991@web-mmc-m07.sysops.aol.com> References: <8CDDEBC0712F4F0-1AE4-40E92@Webmail-d107.sysops.aol.com> <736E5EE6-9846-4888-9224-44848E49D72A@clarkeandclarke.co.uk> <8CDDEC309DCF4D2-1524-F991@web-mmc-m07.sysops.aol.com> Message-ID: <2B629010-9489-43B7-8EA1-FCC31B1493C2@clarkeandclarke.co.uk> Hi Craig, By mouse hover, I mean equivalent to the html/CSS mouseover http://en.wikipedia.org/wiki/Mouseover. So, the requirement is for each line in a list field to automatically toggle its highlight to true as the mouse enters the line's UI area (perhaps a virtual 'rect') and false as the mouse leaves - all without any clicking. Klaus' script achieves this for a list field. I just retried both John's and your scripts, to see if it was me... ? John's does not affect the default list field behaviour - the highlight changes only on mouseDown. ? Yours throws an error (which I didn't notice before, because I had other errors in the script) - on the second line, no target found Maybe it's the use of the 'select' keyword, as according to the dictionary, this is used "to select an area of an image"? Best, Keith.. On 12 May 2011, at 14:53, dunbarx at aol.com wrote: > Hmm. > > Just so I understand, what does Klaus' script do that mine (or John's) does not? What does "hover" require (or mean)? > > I see no difference, unless that hover thing is the issue. > > Craig Newman > > -----Original Message----- > From: Keith Clarke > To: How to use LiveCode > Sent: Thu, May 12, 2011 9:12 am > Subject: Re: Highlight list line on hover? > > ...thanks Craig, but it doesn't track the mouse hover - Klaus nailed it with > tracking mouseMove to set highlightedLines. > Best, > Keith.. > > On 12 May 2011, at 14:02, dunbarx at aol.com wrote: > >> How about: >> >> on mouseWithin >> select the mouseLine >> end mouseWithin >> >> Craig Newman From form at nonsanity.com Thu May 12 10:41:53 2011 From: form at nonsanity.com (Nonsanity) Date: Thu, 12 May 2011 10:41:53 -0400 Subject: In Need of Assistance (URGENT) In-Reply-To: References: <8CDDE99870D1957-1650-1BFEE@Webmail-d123.sysops.aol.com> Message-ID: Doesn't help with password protected stacks... But at least you can check non-protected stacks that way, which most are. You have to be sensitive to obfuscation however... :) ~ Chris Innanen ~ Nonsanity On Thu, May 12, 2011 at 10:18 AM, Mark Schonewille < m.schonewille at economy-x-talk.com> wrote: > Hi, > > Usually, I open a stack in a text editor before opening it in LiveCode, if > I don't know whether the originating source of the stack can be trusted. By > looking at the scripts, I'm usually able to tell what the stack does. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > From dixonja at hotmail.co.uk Thu May 12 10:44:20 2011 From: dixonja at hotmail.co.uk (John Dixon) Date: Thu, 12 May 2011 15:44:20 +0100 Subject: Highlight list line on hover? In-Reply-To: <2B629010-9489-43B7-8EA1-FCC31B1493C2@clarkeandclarke.co.uk> References: <8CDDEBC0712F4F0-1AE4-40E92@Webmail-d107.sysops.aol.com>, <736E5EE6-9846-4888-9224-44848E49D72A@clarkeandclarke.co.uk>, <8CDDEC309DCF4D2-1524-F991@web-mmc-m07.sysops.aol.com>, <2B629010-9489-43B7-8EA1-FCC31B1493C2@clarkeandclarke.co.uk> Message-ID: > I just retried both John's and your scripts, to see if it was me... > ? John's does not affect the default list field behaviour - the highlight changes only on mouseDown. Keith, the highlight does not change on mouseDown, it changes when the mouse is over the line... the first line in the handler is to stop the highlight being set to the first line if the cursor is moved over a line in the field that is empty... on mouseWithin if the mouseLine is empty then exit mouseWithin select the mouseLine end mouseWithin Not that it matters, as one of the nice things about LiveCode is that there is always another way to accomplish something... the purists will 'carp' on about best practices, which always makes me smile... Who is to say ? Take care... :-) From pete at mollysrevenge.com Thu May 12 10:54:21 2011 From: pete at mollysrevenge.com (Pete) Date: Thu, 12 May 2011 07:54:21 -0700 Subject: Datagrid Column Resizing Message In-Reply-To: <000c01cc1095$c0afcce0$420f66a0$@LinkIt.Com> References: <001701cc104a$0f5206c0$2df61440$@LinkIt.Com> <000c01cc1095$c0afcce0$420f66a0$@LinkIt.Com> Message-ID: Hi Ray, The script has to be in the custom behavior for the column. If you haven't used custom column behaviors, probably easiest thing is to take a look at the link I sent in my earlier email - lots of lessons on how to use datagrids there including setting up a custom column behavior. And I just realised I answered my own question about how to figure out which column got resized! Pete Molly's Revenge On Thu, May 12, 2011 at 4:14 AM, Ray Horsley wrote: > Pete, > > Thanks for your response but I'm not having any luck with this. I've tried > the following short script: > > on layoutControl param1 > put 1 into tmp > end layoutControl > > in the group, the cd and the stack but none of these areas catch the > layoutControl message. Could it be some other message maybe? > > Thanks, > > Ray > > -----Original Message----- > From: use-livecode-bounces at lists.runrev.com > [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Pete > Sent: Wednesday, May 11, 2011 11:33 PM > To: How to use LiveCode > Subject: Re: Datagrid Column Resizing Message > > I think, but not sure, that the layoutControl handler is what you want, > although its sole parameter is a control rectangle so I'm not sure how you > would determine what column got resized. Sorry, haven't done anything with > thiss but maybe you can find out more at > http://lessons.runrev.com/spaces/lessons/manuals/datagrid > > Pete > Molly's Revenge > > > > > On Wed, May 11, 2011 at 7:12 PM, Ray Horsley wrote: > > > Does anybody know what message is sent, and where I can trap for it, > > when a user manually resizes a column by dragging the border between > > column headings with the double arrow cursor? > > > > > > > > Thanks, > > > > > > > > Ray > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 livfoss at mac.com Thu May 12 11:01:57 2011 From: livfoss at mac.com (Graham Samuel) Date: Thu, 12 May 2011 17:01:57 +0200 Subject: What does Windows 'shell' expect? Message-ID: Mark, thanks - your suggestion means that the example in the docs is just plain wrong (not enough quotes - apparently you need an empty set of quotes before the one with the program name). But I doubt if this will solve the problem of a program name with a space in it. So I still want to know what 'shell' expects. Also, what if the .exe isn't in "Program Files"? It looks as if the 'start' function makes some assumptions about the path to the program. It is hard to step out of the LC environment without learning a lot of other stuff... I will do a few tests and then at least add a comment on the 'launch' dictionary entry - but I am scared of my own ignorance on this subject. Graham On Thu, 12 May 2011 12:16:42 +0200, Mark Schonewille wrote: To: How to use LiveCode > > Graham, > > Try this: > > set the hideConsoleWindows to true > put "start" && quote & quote && quote & "myProgram.exe" & quote into myShell > get shell(myShell) > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce > > On 12 mei 2011, at 12:03, Graham Samuel wrote: > >> Following the instructions for "launch" in the LC docs, I tried the substitute method suggested: >> >> get shell("start MyProgram.exe") >> >> this didn't work using the name of the program in Windows Explorer, presumably because there was a space in the name. >> >> I also tried to get a path to the program, which was reported by LC as >> >> C:/Program Files/My Tests/My Test.exe >> >> and this failed too, with Windows reporting that it couldn't find "Program". So shell doesn't like spaces. I thought that one could get rid of that by replacing space with "%20" but that didn't work either. >> >> Pardon my ignorance, but what should I have done? >> >> Graham > From form at nonsanity.com Thu May 12 11:02:34 2011 From: form at nonsanity.com (Nonsanity) Date: Thu, 12 May 2011 11:02:34 -0400 Subject: Highlight list line on hover? In-Reply-To: References: Message-ID: select line (word 2 of the mouseline) of me That should work regardless of list behavior being on or off. If you use a mousewheel while hovering, the selection won't move until you move the mouse a little. I was tempted to add the same line to a scrolldrag handler, but that went crazy when the mouse was at the bottom of the field (causing a partially visible line to be selected and scrolled into view... recursion). So don't. :) If that was really a problem, you COULD add the scrollDrag handler, but would have to check the lines being selected and make sure it doesn't recurse... Or just check for recursion and exit. With non-list fields, if the line is longer than the width of the field, it will scroll horizontally to the end. You'll need to do this; on mousemove lock screen select line (word 2 of the mouseline) of me set the hscroll of me to 0 unlock screen end mousemove The lock screen prevents a flicker. ~ Chris Innanen ~ Nonsanity On Thu, May 12, 2011 at 8:52 AM, Keith Clarke < keith.clarke at clarkeandclarke.co.uk> wrote: > Hi folks, > I've found mouseEnter, mouseLine and Highlight in the dictionary but can't > seem to get the syntax correct to highlight a line in a list field with a > mouse hover, rather than a click. > Any clues would be greatly appreciated. > 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 kray at sonsothunder.com Thu May 12 11:05:03 2011 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 12 May 2011 10:05:03 -0500 Subject: DLL Externals and LiveCode - what's a handle and how do I use it? In-Reply-To: References: Message-ID: Graham, Maybe it would help if you pointed us to the actual DLL you're trying to implement? That way we could see what functions and parameters are in the DLL... Ken Ray Sons of Thunder Software, Inc. On May 11, 2011, at 12:07 PM, Graham Samuel wrote: > I am still struggling with the most basic concepts of externals for LC Windows apps, with the intention of using a third-party DLL to enhance the functionality of my current project. I have had some help from Ken Ray and others but I remain deeply clueless. Currently I'm looking at a DLL which has a number of functions relating to bitmaps. I want to be able to drive the DLL presumably by function calls, passing it parameters and receiving results. Relating to bitmap manipulation, the DLL seems to be offering me a 'handle' so that I can pick up a bitmap presumably from RAM. I realise this is a very elementary question, but can anyone tell me what a handle is (some sort of pointer probably, but what sort?) and what use it might be within a LiveCode app, given that I can eventually find out how to generate the right glue code to access it - Ken's note had helped me but he only deals with passing strings, and thus doesn't cover the idea of binary info, and I am not clear how to proceed. > > I am very willing to read tutorial material on this but there doesn't seem to be much of it about. I am dimly beginning to see that there is more commonality than I guessed in the different OSs and IDEs when it comes to things like identifying and parameterising windows and other objects, the use of name spaces, and naming and calling functions and their parameters, but I still don't know enough to continue. > > TIA > > Graham > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From m.schonewille at economy-x-talk.com Thu May 12 11:06:26 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 12 May 2011 17:06:26 +0200 Subject: What does Windows 'shell' expect? In-Reply-To: References: Message-ID: <66D839B7-190E-4EAA-A339-50FC87B85E97@economy-x-talk.com> Graham, To deal with those spaces, put quotes around the application name, just like in my example. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce On 12 mei 2011, at 17:01, Graham Samuel wrote: > Mark, thanks - your suggestion means that the example in the docs is just plain wrong (not enough quotes - apparently you need an empty set of quotes before the one with the program name). But I doubt if this will solve the problem of a program name with a space in it. So I still want to know what 'shell' expects. Also, what if the .exe isn't in "Program Files"? It looks as if the 'start' function makes some assumptions about the path to the program. It is hard to step out of the LC environment without learning a lot of other stuff... > > I will do a few tests and then at least add a comment on the 'launch' dictionary entry - but I am scared of my own ignorance on this subject. > > Graham From ray at linkit.com Thu May 12 11:16:02 2011 From: ray at linkit.com (Ray Horsley) Date: Thu, 12 May 2011 11:16:02 -0400 Subject: Datagrid Column Resizing Message In-Reply-To: References: <001701cc104a$0f5206c0$2df61440$@LinkIt.Com> <000c01cc1095$c0afcce0$420f66a0$@LinkIt.Com> Message-ID: <004301cc10b7$82561180$87023480$@LinkIt.Com> Ahh! I'll take a look. Right now I'm trying to stop the datagrid from resorting itself when I set the dgText of the group. I've purchased a copy of zryip's Data Grid Helper which hopefully will help with some of these things. Thanks for the tip, Ray -----Original Message----- From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Pete Sent: Thursday, May 12, 2011 10:54 AM To: How to use LiveCode Subject: Re: Datagrid Column Resizing Message Hi Ray, The script has to be in the custom behavior for the column. If you haven't used custom column behaviors, probably easiest thing is to take a look at the link I sent in my earlier email - lots of lessons on how to use datagrids there including setting up a custom column behavior. And I just realised I answered my own question about how to figure out which column got resized! Pete Molly's Revenge On Thu, May 12, 2011 at 4:14 AM, Ray Horsley wrote: > Pete, > > Thanks for your response but I'm not having any luck with this. I've > tried the following short script: > > on layoutControl param1 > put 1 into tmp > end layoutControl > > in the group, the cd and the stack but none of these areas catch the > layoutControl message. Could it be some other message maybe? > > Thanks, > > Ray > > -----Original Message----- > From: use-livecode-bounces at lists.runrev.com > [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Pete > Sent: Wednesday, May 11, 2011 11:33 PM > To: How to use LiveCode > Subject: Re: Datagrid Column Resizing Message > > I think, but not sure, that the layoutControl handler is what you > want, although its sole parameter is a control rectangle so I'm not > sure how you would determine what column got resized. Sorry, haven't > done anything with thiss but maybe you can find out more at > http://lessons.runrev.com/spaces/lessons/manuals/datagrid > > Pete > Molly's Revenge > > > > > On Wed, May 11, 2011 at 7:12 PM, Ray Horsley wrote: > > > Does anybody know what message is sent, and where I can trap for it, > > when a user manually resizes a column by dragging the border between > > column headings with the double arrow cursor? > > > > > > > > Thanks, > > > > > > > > Ray > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 dunbarx at aol.com Thu May 12 11:16:55 2011 From: dunbarx at aol.com (dunbarx at aol.com) Date: Thu, 12 May 2011 11:16:55 -0400 Subject: Highlight list line on hover? In-Reply-To: References: <8CDDEBC0712F4F0-1AE4-40E92@Webmail-d107.sysops.aol.com>, <736E5EE6-9846-4888-9224-44848E49D72A@clarkeandclarke.co.uk>, <8CDDEC309DCF4D2-1524-F991@web-mmc-m07.sysops.aol.com>, <2B629010-9489-43B7-8EA1-FCC31B1493C2@clarkeandclarke.co.uk> Message-ID: <8CDDECEC3964C3C-1524-11253@web-mmc-m07.sysops.aol.com> Hmmm. There is something else going on, because both approaches work identically for me. As they ought to. Anyway, as John says, the good news is there is more than one way to do almost anyting. I originally did it with a mouseMove as well, and now that I think about it, this is likely slightly more robust, even though functionally indistinguishable. Craig Newman -----Original Message----- From: John Dixon To: use-livecode at lists.runrev.com Sent: Thu, May 12, 2011 10:44 am Subject: RE: Highlight list line on hover? > I just retried both John's and your scripts, to see if it was me... > ? John's does not affect the default list field behaviour - the highlight changes only on mouseDown. Keith, the highlight does not change on mouseDown, it changes when the mouse is over the line... the first line in the handler is to stop the highlight being set to the first line if the cursor is moved over a line in the field that is empty... on mouseWithin if the mouseLine is empty then exit mouseWithin select the mouseLine end mouseWithin Not that it matters, as one of the nice things about LiveCode is that there is always another way to accomplish something... the purists will 'carp' on about best practices, which always makes me smile... Who is to say ? Take care... :-) _______________________________________________ use-livecode mailing list use-livecode at 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 May 12 11:21:21 2011 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 12 May 2011 10:21:21 -0500 Subject: What does Windows 'shell' expect? In-Reply-To: References: Message-ID: Shell in Windows is based on the "current working directory" if you don't provide a full path to the "start" command. Take a look at this tip for more info: http://www.sonsothunder.com/devres/revolution/tips/shel002.htm Ken Ray Sons of Thunder Software, Inc. On May 12, 2011, at 10:01 AM, Graham Samuel wrote: > Mark, thanks - your suggestion means that the example in the docs is just plain wrong (not enough quotes - apparently you need an empty set of quotes before the one with the program name). But I doubt if this will solve the problem of a program name with a space in it. So I still want to know what 'shell' expects. Also, what if the .exe isn't in "Program Files"? It looks as if the 'start' function makes some assumptions about the path to the program. It is hard to step out of the LC environment without learning a lot of other stuff... > > I will do a few tests and then at least add a comment on the 'launch' dictionary entry - but I am scared of my own ignorance on this subject. > > Graham > > > On Thu, 12 May 2011 12:16:42 +0200, Mark Schonewille wrote: > To: How to use LiveCode >> >> Graham, >> >> Try this: >> >> set the hideConsoleWindows to true >> put "start" && quote & quote && quote & "myProgram.exe" & quote into myShell >> get shell(myShell) >> >> -- >> Best regards, >> >> Mark Schonewille >> >> Economy-x-Talk Consulting and Software Engineering >> Homepage: http://economy-x-talk.com >> Twitter: http://twitter.com/xtalkprogrammer >> KvK: 50277553 >> >> New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce >> >> On 12 mei 2011, at 12:03, Graham Samuel wrote: >> >>> Following the instructions for "launch" in the LC docs, I tried the substitute method suggested: >>> >>> get shell("start MyProgram.exe") >>> >>> this didn't work using the name of the program in Windows Explorer, presumably because there was a space in the name. >>> >>> I also tried to get a path to the program, which was reported by LC as >>> >>> C:/Program Files/My Tests/My Test.exe >>> >>> and this failed too, with Windows reporting that it couldn't find "Program". So shell doesn't like spaces. I thought that one could get rid of that by replacing space with "%20" but that didn't work either. >>> >>> Pardon my ignorance, but what should I have done? >>> >>> Graham >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dbrooks at unlserve.unl.edu Thu May 12 11:22:43 2011 From: dbrooks at unlserve.unl.edu (David Brooks) Date: Thu, 12 May 2011 10:22:43 -0500 Subject: Highlight list line on hover? In-Reply-To: References: <8CDDEBC0712F4F0-1AE4-40E92@Webmail-d107.sysops.aol.com>, <736E5EE6-9846-4888-9224-44848E49D72A@clarkeandclarke.co.uk>, <8CDDEC309DCF4D2-1524-F991@web-mmc-m07.sysops.aol.com>, <2B629010-9489-43B7-8EA1-FCC31B1493C2@clarkeandclarke.co.uk> Message-ID: I'm the menu buttons guy -- whose problem remains unresolved. The menuhistory solves one problem, but not another. I decided to develop a workaround in which a button pops up a field that looks line a pulldown menu. The follwing script WORKS to hilite lines in a mouseover: on mouseWithin put the mouseloc into theXY put item 1 of theXY into theXX put item 2 of theXY into theyy put item 2 of the topleft of me into theTopLeftY put trunc(((theYY - theTopLeftY)/18) + 0.5) into theLineNumber select line theLineNumber of me wait 5 milliseconds end mouseWithin The 18 has to do with the line heights. I've not cleaned this up; it's fist try. But, so far it works. My plan is to solve my problem using only one field (identified by object id), and to size and locate that field depending upon what the choices are and where the originating button object is on the card. (Don't ask what the theXX does; it look like a wasted line of code.) Best, Dave B. From kray at sonsothunder.com Thu May 12 11:25:37 2011 From: kray at sonsothunder.com (Ken Ray) Date: Thu, 12 May 2011 10:25:37 -0500 Subject: Highlight list line on hover? In-Reply-To: <8CDDECEC3964C3C-1524-11253@web-mmc-m07.sysops.aol.com> References: <8CDDEBC0712F4F0-1AE4-40E92@Webmail-d107.sysops.aol.com> <736E5EE6-9846-4888-9224-44848E49D72A@clarkeandclarke.co.uk> <8CDDEC309DCF4D2-1524-F991@web-mmc-m07.sysops.aol.com> <2B629010-9489-43B7-8EA1-FCC31B1493C2@clarkeandclarke.co.uk> <8CDDECEC3964C3C-1524-11253@web-mmc-m07.sysops.aol.com> Message-ID: <9B12A878-5D23-4BBC-BA35-EC3DAEFFF6EF@sonsothunder.com> Craig, I'm not at my computer right now, but did you test your method with a field that has less lines of data than the field will display, and then move the mouse into the field over an "empty" line? Perhaps that will generate the error... Ken Ray Sons of Thunder Software, Inc. On May 12, 2011, at 10:16 AM, dunbarx at aol.com wrote: > Hmmm. > > > There is something else going on, because both approaches work identically for me. As they ought to. Anyway, as John says, the good news is there is more than one way to do almost anyting. I originally did it with a mouseMove as well, and now that I think about it, this is likely slightly more robust, even though functionally indistinguishable. > > > Craig Newman > > > > > > -----Original Message----- > From: John Dixon > To: use-livecode at lists.runrev.com > Sent: Thu, May 12, 2011 10:44 am > Subject: RE: Highlight list line on hover? > > > >> I just retried both John's and your scripts, to see if it was me... >> ? John's does not affect the default list field behaviour - the highlight > changes only on mouseDown. > > Keith, the highlight does not change on mouseDown, it changes when the mouse is > over the line... the first line in the handler is to stop the highlight being > set to the first line if the cursor is moved over a line in the field that is > empty... > > on mouseWithin > if the mouseLine is empty then exit mouseWithin > select the mouseLine > end mouseWithin > > Not that it matters, as one of the nice things about LiveCode is that > there is always another way to accomplish something... the purists will > 'carp' on about best practices, which always makes me smile... Who is to > say ? > > Take care... :-) > > > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 cborn at carleton.edu Thu May 12 11:32:14 2011 From: cborn at carleton.edu (Carly J. Born) Date: Thu, 12 May 2011 10:32:14 -0500 (CDT) Subject: Customize Scrollbar Thumb? Message-ID: <1043651346.1746351.1305214334707.JavaMail.root@mail2.its.carleton.edu> Hello! I'm new-ish to this list (been hovering for a while), but it's my first post. Forgive me if I am missing something obvious. Is it possible to customize the thumb of a scrollbar to be an image of your choice? Thanks! ~ Carly J. Born Academic Technologies Carleton College | 507-222-7010 | cborn at carleton.edu http://apps.carleton.edu/campus/at/ http://go.carleton.edu/f From richmondmathewson at gmail.com Thu May 12 11:37:03 2011 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Thu, 12 May 2011 18:37:03 +0300 Subject: Highlight list line on hover? In-Reply-To: References: Message-ID: <4DCBFE9F.7020907@gmail.com> On 05/12/2011 03:52 PM, Keith Clarke wrote: > Hi folks, > I've found mouseEnter, mouseLine and Highlight in the dictionary but can't seem to get the syntax correct to highlight a line in a list field with a mouse hover, rather than a click. > Any clues would be greatly appreciated. > Best, > Keith.. Have a go with mouseOver From rene.micout at numericable.com Thu May 12 11:38:31 2011 From: rene.micout at numericable.com (=?iso-8859-1?Q?Ren=E9_Micout?=) Date: Thu, 12 May 2011 17:38:31 +0200 Subject: Customize Scrollbar Thumb? In-Reply-To: <1043651346.1746351.1305214334707.JavaMail.root@mail2.its.carleton.edu> References: <1043651346.1746351.1305214334707.JavaMail.root@mail2.its.carleton.edu> Message-ID: <677838DD-46DD-4449-9861-713FECDD2441@numericable.com> Hello Carly, Did you think "the thumb of a slider" or "the thumb of a scrollbar" ? Ren? Le 12 mai 2011 ? 17:32, Carly J. Born a ?crit : > Hello! > > I'm new-ish to this list (been hovering for a while), but it's my first post. Forgive me if I am missing something obvious. > > Is it possible to customize the thumb of a scrollbar to be an image of your choice? > > Thanks! > > > > ~ > Carly J. Born > Academic Technologies > Carleton College | 507-222-7010 | cborn at carleton.edu > > http://apps.carleton.edu/campus/at/ > http://go.carleton.edu/f > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 May 12 11:42:11 2011 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Thu, 12 May 2011 18:42:11 +0300 Subject: In Need of Assistance (URGENT) In-Reply-To: References: <8CDDE99870D1957-1650-1BFEE@Webmail-d123.sysops.aol.com> Message-ID: <4DCBFFD3.2080806@gmail.com> On 05/12/2011 05:18 PM, Mark Schonewille wrote: > Hi, > > Usually, I open a stack in a text editor before opening it in LiveCode, if I don't know whether the originating source of the stack can be trusted. By looking at the scripts, I'm usually able to tell what the stack does. > > -- > Best regards, > > Mark Schonewille > I have an old-ish Pentium 3 that normally lurks under my bed. On the few occasions people have sent me unsolicited stacks, I have connected up the P3 (running Ubuntu 5.10 and RunRev 2.2.1 for Linux) and given them a look; after all if they hose that OS or that RR, I can always wipe the HD and reinstall; and as the P3 cost me the princely sum of $10, it is well worth it as a first line of defence! But that is because I am NOT a mage / maven like Mark Sh . . . :) From keith.clarke at clarkeandclarke.co.uk Thu May 12 11:49:38 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Thu, 12 May 2011 16:49:38 +0100 Subject: Highlight list line on hover? In-Reply-To: <8CDDECEC3964C3C-1524-11253@web-mmc-m07.sysops.aol.com> References: <8CDDEBC0712F4F0-1AE4-40E92@Webmail-d107.sysops.aol.com>, <736E5EE6-9846-4888-9224-44848E49D72A@clarkeandclarke.co.uk>, <8CDDEC309DCF4D2-1524-F991@web-mmc-m07.sysops.aol.com>, <2B629010-9489-43B7-8EA1-FCC31B1493C2@clarkeandclarke.co.uk> <8CDDECEC3964C3C-1524-11253@web-mmc-m07.sysops.aol.com> Message-ID: <0CAF8006-105B-4A6C-85A2-36FEA807929D@clarkeandclarke.co.uk> Craig/John, I'm not surprised that code that works elsewhere doesn't once I get my hands on it! Back in the day when I ran a consultancy practice, the developers used me as a test case for 'idiot-proof'! ;-) So, it's probably an interaction with some of the other code I've recently bludgeoned into submission! Best, Keith.. On 12 May 2011, at 16:16, dunbarx at aol.com wrote: > Hmmm. > > > There is something else going on, because both approaches work identically for me. As they ought to. Anyway, as John says, the good news is there is more than one way to do almost anyting. I originally did it with a mouseMove as well, and now that I think about it, this is likely slightly more robust, even though functionally indistinguishable. > > > Craig Newman > > > > > > -----Original Message----- > From: John Dixon > To: use-livecode at lists.runrev.com > Sent: Thu, May 12, 2011 10:44 am > Subject: RE: Highlight list line on hover? > > > >> I just retried both John's and your scripts, to see if it was me... >> ? John's does not affect the default list field behaviour - the highlight > changes only on mouseDown. > > Keith, the highlight does not change on mouseDown, it changes when the mouse is > over the line... the first line in the handler is to stop the highlight being > set to the first line if the cursor is moved over a line in the field that is > empty... > > on mouseWithin > if the mouseLine is empty then exit mouseWithin > select the mouseLine > end mouseWithin > > Not that it matters, as one of the nice things about LiveCode is that > there is always another way to accomplish something... the purists will > 'carp' on about best practices, which always makes me smile... Who is to > say ? > > Take care... :-) > > > > > _______________________________________________ > use-livecode mailing list > use-livecode 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.clarke at clarkeandclarke.co.uk Thu May 12 11:56:35 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Thu, 12 May 2011 16:56:35 +0100 Subject: Highlight list line on hover? In-Reply-To: References: Message-ID: ...thanks Chris - I've added the screen lock/unlock (another first!), but I don't need to worry about long lines, because the list text Card names need to be visible in a fixed-width sidebar with no horizontal scrolling. So, I have... on mouseMove lock Screen set the hilitedlines of me to (word 2 of the mouseline) unlock Screen end mouseMove Oh, and this behaves itself nicely in a list field with empty space at the bottom. Best, Keith.. On 12 May 2011, at 16:02, Nonsanity wrote: > select line (word 2 of the mouseline) of me > > That should work regardless of list behavior being on or off. If you use a > mousewheel while hovering, the selection won't move until you move the mouse > a little. I was tempted to add the same line to a scrolldrag handler, but > that went crazy when the mouse was at the bottom of the field (causing a > partially visible line to be selected and scrolled into view... recursion). > So don't. :) > > If that was really a problem, you COULD add the scrollDrag handler, but > would have to check the lines being selected and make sure it doesn't > recurse... Or just check for recursion and exit. > > With non-list fields, if the line is longer than the width of the field, it > will scroll horizontally to the end. You'll need to do this; > > on mousemove > lock screen > select line (word 2 of the mouseline) of me > set the hscroll of me to 0 > unlock screen > end mousemove > > The lock screen prevents a flicker. > > ~ Chris Innanen > ~ Nonsanity From keith.clarke at clarkeandclarke.co.uk Thu May 12 12:16:31 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Thu, 12 May 2011 17:16:31 +0100 Subject: Highlight list line on hover? In-Reply-To: <4DCBFE9F.7020907@gmail.com> References: <4DCBFE9F.7020907@gmail.com> Message-ID: <364224CF-B429-460A-BFB7-57EBDD7601E8@clarkeandclarke.co.uk> ...hmm, is mouseOver an undocumented feature - it's not in the Dictionary? On 12 May 2011, at 16:37, Richmond Mathewson wrote: > On 05/12/2011 03:52 PM, Keith Clarke wrote: >> Hi folks, >> I've found mouseEnter, mouseLine and Highlight in the dictionary but can't seem to get the syntax correct to highlight a line in a list field with a mouse hover, rather than a click. >> Any clues would be greatly appreciated. >> Best, >> Keith.. > Have a go with mouseOver > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dglass at graymattercomputing.com Thu May 12 12:25:45 2011 From: dglass at graymattercomputing.com (David Glass) Date: Thu, 12 May 2011 09:25:45 -0700 Subject: IDE 'Reset' In-Reply-To: <149292610796.20110511084704@ahsoftware.net> References: <4DCA242A.2040405@graymattercomputing.com> <152258322500.20110510231535@ahsoftware.net> <4DCAA51C.2030906@graymattercomputing.com> <149292610796.20110511084704@ahsoftware.net> Message-ID: <4DCC0A09.302@graymattercomputing.com> Just for completeness (and the archives), they've restricted access to this to those users with Developer Program ($199/year) memberships. On 05/11/2011 8:47 AM, Mark Wieder wrote: > David- > > Wednesday, May 11, 2011, 8:02:52 AM, you wrote: > >> How do I get access to this? E-mail customer service directly? > > Er... I think so. I don't remember the new procedure, but I think > that's right. > -- David Glass - Gray Matter Computing graymattercomputing.com From bobs at twft.com Thu May 12 12:26:50 2011 From: bobs at twft.com (Bob Sneidar) Date: Thu, 12 May 2011 09:26:50 -0700 Subject: Unexpected behavior in iOS app In-Reply-To: <6E65A313-3252-4ED7-861F-3BD68C9A9A59@de-mare.nl> References: <6E65A313-3252-4ED7-861F-3BD68C9A9A59@de-mare.nl> Message-ID: <6DC3F464-A5A8-46EE-B611-1506BD74AB3E@twft.com> "Unexpected behavior in app" is what software developers like to call, "The Normal State Of Affairs". :-) Bob On May 11, 2011, at 9:53 PM, Terry Vogelaar wrote: > Hi Jacque, > > Eureka! That helped. There was indeed a problem with my actual script. When I wrote this question, I made some changes to shorten it somewhat. That actually solved it. So there is nothing wrong with the script I showed... From bobs at twft.com Thu May 12 12:30:09 2011 From: bobs at twft.com (Bob Sneidar) Date: Thu, 12 May 2011 09:30:09 -0700 Subject: Datagrid Column Resizing Message In-Reply-To: <004301cc10b7$82561180$87023480$@LinkIt.Com> References: <001701cc104a$0f5206c0$2df61440$@LinkIt.Com> <000c01cc1095$c0afcce0$420f66a0$@LinkIt.Com> <004301cc10b7$82561180$87023480$@LinkIt.Com> Message-ID: <00DD69D7-B62A-4093-A035-0131DD7406E3@twft.com> Now that you purchased a copy, I feel ok about saying that all he does is intercept the sort message and then not pass it. Bob On May 12, 2011, at 8:16 AM, Ray Horsley wrote: > Ahh! I'll take a look. Right now I'm trying to stop the datagrid from > resorting itself when I set the dgText of the group. I've purchased a copy > of zryip's Data Grid Helper which hopefully will help with some of these > things. > > Thanks for the tip, > > Ray From bobs at twft.com Thu May 12 12:35:34 2011 From: bobs at twft.com (Bob Sneidar) Date: Thu, 12 May 2011 09:35:34 -0700 Subject: What does Windows 'shell' expect? In-Reply-To: References: Message-ID: <8D70D3B6-8F15-4F73-90A4-35255C0A5168@twft.com> Graham, in the form you used, Livecode passes the shell argument without the quotes. To Livecode, the quotes are string delimiters, so to speak. Try: put "start My Program.exe" into theWinApp put quote before word 2 of theWinApp put quote after word 2 of theWinApp get shell(theWinApp) You *could* try to embed the quotes in a single statement of course, but I find that sort of thing "dirty" especially if I am the one who later on has to figure out what the h*ll I was thinking. Bob On May 12, 2011, at 3:03 AM, Graham Samuel wrote: > Following the instructions for "launch" in the LC docs, I tried the substitute method suggested: > > get shell("start MyProgram.exe") > > this didn't work using the name of the program in Windows Explorer, presumably because there was a space in the name. > > I also tried to get a path to the program, which was reported by LC as > > C:/Program Files/My Tests/My Test.exe > > and this failed too, with Windows reporting that it couldn't find "Program". So shell doesn't like spaces. I thought that one could get rid of that by replacing space with "%20" but that didn't work either. > > Pardon my ignorance, but what should I have done? > > Graham > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From bobs at twft.com Thu May 12 12:40:43 2011 From: bobs at twft.com (Bob Sneidar) Date: Thu, 12 May 2011 09:40:43 -0700 Subject: In Need of Assistance (URGENT) In-Reply-To: References: <8CDDE99870D1957-1650-1BFEE@Webmail-d123.sysops.aol.com> Message-ID: The first thing I notices was that "monkey", "jackson" and "michael" were 3 of the choices. At first I thought this guy was pulling our legs, as if the app was what I thought it was, then it would probably offend a lot of people. But a school project sounds about right. Bob On May 12, 2011, at 7:05 AM, Nonsanity wrote: > I also got this as a personal email and responded with some hints and tips, > but I didn't do the work for him/her for two reasons: 1) it DOES sound like > a school assignment, very much so. And 2) NEVER open attachments from people > you don't know, that you weren't expecting, or that seem suspicious in any > way. > > Remember, it's possible to write a really NASTY Livecode stack, or ANY > program for that matter. You take a risk whenever you launch an application. > Developer communities need a modicum of trust between them, but we still do > need to be careful. And report suspicious behavior... Offset the risk trust > brings with some crowd-sourced safety. :) > > Home my tips help you, JYST, and good luck on your assignment. We're here to > answer SPECIFIC questions you may have. :) > > ~ Chris Innanen > ~ Nonsanity > > > 2011/5/12 Bj?rnke von Gierke > >> this sounds like a school assignment. >> >> What part exactly do you have trouble with? >> >> On 12 May 2011, at 10:55, nicekris2011 at aol.com wrote: >> >>> >>> >>> Hi guys, >>> >>> I am in need of assistance to solve the problems stated below. I have >> part of the program done but still having problem to solve the problems >> stated as below. >>> >>> The link of the program that I've done part of it is here: >>> >> http://www.adrive.com/public/942c55beef0bb1557e01c8102796e9d43882a85eb728b0128fffc67d708bc5be.html >>> >>> Please open the file before looking at the requirements below. That will >> help you better understand what I am talking about here. >>> >>> >>> >>> >>> >>> >>> >>> Requirements for the program to run: >>> >>> >>> >>> Pg. 1: Monkey or Person >>> The script for the Monkey or Person Button will randomly select and >> display one of the JPEG photos available (i.e., jackson.jpg, monkey.jpg, >> pg.jpg, michael.jpg) in approximately the center of the page. This will >> happen with a single mouse click. If the picture displayed is the monkey, >> then the monkey sound file ?monkey.wav? or ?monkey.aif? will play. (image >> and sound files have already been embedded into the stack-view via >> application browser) >>> >>> >>> Pg. 2: Make a Sentence >>> The collection of scripts that you create will result in correct English >> sentences going into the gray text field at the bottom. Users will be >> allowed to click on the words and punctuation marks in the fields to build >> their sentences. >>> >>> >>> Pg. 3: Rock, Paper, Scissors >>> The script for the SetUp button is provided. It randomly selects either >> ?rock?, ?paper?, or ?scissors? for each player and displays the results in >> the appropriate fields. The Execute Button needed to be script. >>> >>> >>> The script for the Execute Button should: >>> >>> Determine which player is the winner. >>> Provide feedback in the form of? >>> >>> Rudy Wins >>> >>> >>> Judy Wins >>> >>> >>> It is a Tie >>> >>> >>> >>> >>> Appreciate if you can help me to solve the problems! Let me know if you >> have any questions. >>> >>> Sincerely, >>> JYST >>> >>> >>> >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode at lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From mcgrath3 at mac.com Thu May 12 12:48:48 2011 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Thu, 12 May 2011 12:48:48 -0400 Subject: Customize Scrollbar Thumb? In-Reply-To: <1043651346.1746351.1305214334707.JavaMail.root@mail2.its.carleton.edu> References: <1043651346.1746351.1305214334707.JavaMail.root@mail2.its.carleton.edu> Message-ID: Carly, Not that I am aware of but you can create your own scroller. Obleo has a video here http://intkeystrokes.posterous.com/custom-scroller-for-livecode-ios-with-animati And you can simulate a scrollBar using a groups scroll. If you group an item or a series of items and then make the group smaller than the items it contains you can set its scoll from another object. set the scroll of group "mygroup" to 20 give it a try. And welcome to the list. -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On May 12, 2011, at 11:32 AM, Carly J. Born wrote: > Hello! > > I'm new-ish to this list (been hovering for a while), but it's my first post. Forgive me if I am missing something obvious. > > Is it possible to customize the thumb of a scrollbar to be an image of your choice? > > Thanks! > > > > ~ > Carly J. Born > Academic Technologies > Carleton College | 507-222-7010 | cborn at carleton.edu > > http://apps.carleton.edu/campus/at/ > http://go.carleton.edu/f > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dunbarx at aol.com Thu May 12 13:05:11 2011 From: dunbarx at aol.com (dunbarx at aol.com) Date: Thu, 12 May 2011 13:05:11 -0400 Subject: Highlight list line on hover? In-Reply-To: <9B12A878-5D23-4BBC-BA35-EC3DAEFFF6EF@sonsothunder.com> References: <8CDDEBC0712F4F0-1AE4-40E92@Webmail-d107.sysops.aol.com><736E5EE6-9846-4888-9224-44848E49D72A@clarkeandclarke.co.uk><8CDDEC309DCF4D2-1524-F991@web-mmc-m07.sysops.aol.com><2B629010-9489-43B7-8EA1-FCC31B1493C2@clarkeandclarke.co.uk><8CDDECEC3964C3C-1524-11253@web-mmc-m07.sysops.aol.com> <9B12A878-5D23-4BBC-BA35-EC3DAEFFF6EF@sonsothunder.com> Message-ID: <8CDDEDDE184D0BE-1524-13628@web-mmc-m07.sysops.aol.com> Ken. You just cannot test too much. The "mouseLine" returns empty when the cursor is over space below data in a list field. This causes the selection to revert to line 1. Not sure why. The fix, if one pursues this solution, is: on mouseWithin if the mouseLine <> "" then select the mouseLine end mouseWithin BUT, if you write: on mouseWithin if word 2 of the mouseLine = "" then select empty else select the mouseline end mouseWithin Now this works fine, even though it explicitly selects empty instead of letting LC resolve to do so. Seems wrong. Not that it matters much. It felt like the mouseMove way was more better. Now why does a list field select line 1 when the mouseLine is empty? It cannot be that "select empty" does that. Craig -----Original Message----- From: Ken Ray To: How to use LiveCode Sent: Thu, May 12, 2011 11:25 am Subject: Re: Highlight list line on hover? Craig, I'm not at my computer right now, but did you test your method with a field that has less lines of data than the field will display, and then move the mouse into the field over an "empty" line? Perhaps that will generate the error... Ken Ray Sons of Thunder Software, Inc. On May 12, 2011, at 10:16 AM, dunbarx at aol.com wrote: > Hmmm. > > > There is something else going on, because both approaches work identically for me. As they ought to. Anyway, as John says, the good news is there is more than one way to do almost anyting. I originally did it with a mouseMove as well, and now that I think about it, this is likely slightly more robust, even though functionally indistinguishable. > > > Craig Newman > > > > > > -----Original Message----- > From: John Dixon > To: use-livecode at lists.runrev.com > Sent: Thu, May 12, 2011 10:44 am > Subject: RE: Highlight list line on hover? > > > >> I just retried both John's and your scripts, to see if it was me... >> ? John's does not affect the default list field behaviour - the highlight > changes only on mouseDown. > > Keith, the highlight does not change on mouseDown, it changes when the mouse is > over the line... the first line in the handler is to stop the highlight being > set to the first line if the cursor is moved over a line in the field that is > empty... > > on mouseWithin > if the mouseLine is empty then exit mouseWithin > select the mouseLine > end mouseWithin > > Not that it matters, as one of the nice things about LiveCode is that > there is always another way to accomplish something... the purists will > 'carp' on about best practices, which always makes me smile... Who is to > say ? > > Take care... :-) > > > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 dunbarx at aol.com Thu May 12 13:33:15 2011 From: dunbarx at aol.com (dunbarx at aol.com) Date: Thu, 12 May 2011 13:33:15 -0400 Subject: Customize Scrollbar Thumb? In-Reply-To: References: <1043651346.1746351.1305214334707.JavaMail.root@mail2.its.carleton.edu> Message-ID: <8CDDEE1CF5CBA8C-1524-13D01@web-mmc-m07.sysops.aol.com> Couldn't you also just show a small button or graphic at the mouseLoc, overlying the default button, and tracking it with a mouseMove message? Craig Newman -----Original Message----- From: Thomas McGrath III To: How to use LiveCode Sent: Thu, May 12, 2011 12:48 pm Subject: Re: Customize Scrollbar Thumb? Carly, Not that I am aware of but you can create your own scroller. Obleo has a video here http://intkeystrokes.posterous.com/custom-scroller-for-livecode-ios-with-animati And you can simulate a scrollBar using a groups scroll. If you group an item or a series of items and then make the group smaller than the items it contains you can set its scoll from another object. set the scroll of group "mygroup" to 20 give it a try. And welcome to the list. -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On May 12, 2011, at 11:32 AM, Carly J. Born wrote: > Hello! > > I'm new-ish to this list (been hovering for a while), but it's my first post. Forgive me if I am missing something obvious. > > Is it possible to customize the thumb of a scrollbar to be an image of your choice? > > Thanks! > > > > ~ > Carly J. Born > Academic Technologies > Carleton College | 507-222-7010 | cborn at carleton.edu > > http://apps.carleton.edu/campus/at/ > http://go.carleton.edu/f > > _______________________________________________ > use-livecode mailing list > use-livecode 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 form at nonsanity.com Thu May 12 14:29:39 2011 From: form at nonsanity.com (Nonsanity) Date: Thu, 12 May 2011 14:29:39 -0400 Subject: What does Windows 'shell' expect? In-Reply-To: <8D70D3B6-8F15-4F73-90A4-35255C0A5168@twft.com> References: <8D70D3B6-8F15-4F73-90A4-35255C0A5168@twft.com> Message-ID: Slight change, typo I think: On Thu, May 12, 2011 at 12:35 PM, Bob Sneidar wrote: > Graham, in the form you used, Livecode passes the shell argument without > the quotes. To Livecode, the quotes are string delimiters, so to speak. > Try: > > put "start My Program.exe" into theWinApp > put quote before word 2 of theWinApp > put quote after word 2 of theWinApp > put quote after word -1 of theWinApp > get shell(theWinApp) > > You *could* try to embed the quotes in a single statement of course, but I > find that sort of thing "dirty" especially if I am the one who later on has > to figure out what the h*ll I was thinking. > > Bob > ~ Chris Innanen ~ Nonsanity From form at nonsanity.com Thu May 12 14:31:22 2011 From: form at nonsanity.com (Nonsanity) Date: Thu, 12 May 2011 14:31:22 -0400 Subject: In Need of Assistance (URGENT) In-Reply-To: References: <8CDDE99870D1957-1650-1BFEE@Webmail-d123.sysops.aol.com> Message-ID: Well Michael Jackson DID own a monkey. But Bubbles wasn't very good at Livecode. (Not the frail attempt to make this on-topic for the list!) ~ Chris Innanen ~ Nonsanity On Thu, May 12, 2011 at 12:40 PM, Bob Sneidar wrote: > The first thing I notices was that "monkey", "jackson" and "michael" were 3 > of the choices. At first I thought this guy was pulling our legs, as if the > app was what I thought it was, then it would probably offend a lot of > people. But a school project sounds about right. > > Bob > > > On May 12, 2011, at 7:05 AM, Nonsanity wrote: > > > I also got this as a personal email and responded with some hints and > tips, > > but I didn't do the work for him/her for two reasons: 1) it DOES sound > like > > a school assignment, very much so. And 2) NEVER open attachments from > people > > you don't know, that you weren't expecting, or that seem suspicious in > any > > way. > > > > Remember, it's possible to write a really NASTY Livecode stack, or ANY > > program for that matter. You take a risk whenever you launch an > application. > > Developer communities need a modicum of trust between them, but we still > do > > need to be careful. And report suspicious behavior... Offset the risk > trust > > brings with some crowd-sourced safety. :) > > > > Home my tips help you, JYST, and good luck on your assignment. We're here > to > > answer SPECIFIC questions you may have. :) > > > > ~ Chris Innanen > > ~ Nonsanity > > > > > > 2011/5/12 Bj?rnke von Gierke > > > >> this sounds like a school assignment. > >> > >> What part exactly do you have trouble with? > >> > >> On 12 May 2011, at 10:55, nicekris2011 at aol.com wrote: > >> > >>> > >>> > >>> Hi guys, > >>> > >>> I am in need of assistance to solve the problems stated below. I have > >> part of the program done but still having problem to solve the problems > >> stated as below. > >>> > >>> The link of the program that I've done part of it is here: > >>> > >> > http://www.adrive.com/public/942c55beef0bb1557e01c8102796e9d43882a85eb728b0128fffc67d708bc5be.html > >>> > >>> Please open the file before looking at the requirements below. That > will > >> help you better understand what I am talking about here. > >>> > >>> > >>> > >>> > >>> > >>> > >>> > >>> Requirements for the program to run: > >>> > >>> > >>> > >>> Pg. 1: Monkey or Person > >>> The script for the Monkey or Person Button will randomly select and > >> display one of the JPEG photos available (i.e., jackson.jpg, monkey.jpg, > >> pg.jpg, michael.jpg) in approximately the center of the page. This will > >> happen with a single mouse click. If the picture displayed is the > monkey, > >> then the monkey sound file ?monkey.wav? or ?monkey.aif? will play. > (image > >> and sound files have already been embedded into the stack-view via > >> application browser) > >>> > >>> > >>> Pg. 2: Make a Sentence > >>> The collection of scripts that you create will result in correct > English > >> sentences going into the gray text field at the bottom. Users will be > >> allowed to click on the words and punctuation marks in the fields to > build > >> their sentences. > >>> > >>> > >>> Pg. 3: Rock, Paper, Scissors > >>> The script for the SetUp button is provided. It randomly selects either > >> ?rock?, ?paper?, or ?scissors? for each player and displays the results > in > >> the appropriate fields. The Execute Button needed to be script. > >>> > >>> > >>> The script for the Execute Button should: > >>> > >>> Determine which player is the winner. > >>> Provide feedback in the form of? > >>> > >>> Rudy Wins > >>> > >>> > >>> Judy Wins > >>> > >>> > >>> It is a Tie > >>> > >>> > >>> > >>> > >>> Appreciate if you can help me to solve the problems! Let me know if you > >> have any questions. > >>> > >>> Sincerely, > >>> JYST > >>> > >>> > >>> > >>> > >>> > >>> > >>> _______________________________________________ > >>> use-livecode mailing list > >>> use-livecode 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 userev at canelasoftware.com Thu May 12 14:40:58 2011 From: userev at canelasoftware.com (Mark Talluto) Date: Thu, 12 May 2011 11:40:58 -0700 Subject: GLXFramework [ad] SpiceKit In-Reply-To: References: <2FF0300C-370A-45B7-9031-35F5FC0EAB4C@mac.com> <5E149CC0-EFB2-4AB7-BD5E-69DA7BE7088A@mac.com> Message-ID: <016D986E-0F44-4618-A203-E256D0797565@canelasoftware.com> Hi William, We have received inquires from a variety of software developers that cover the gamut with unique needs. Our business modal is very accommodating and tailored to work with the needs of our clients. The service is free to setup and try out. We only charge a reasonable percentage on actual sales generated by the service. We are considering supporting freeware applications as well. If there is any interest in that, please let me know. After reviewing the profiles of some partners we have determined that finishing our drag and drop wrapping technology would be in everyones best interest. Those that truly need it now can be wrapped by us directly. We want everyone to have a great first experience. We are asking those partners that can wait to delay using the technology until we finish documenting our first API release and auto wrapping tech. If you need more individualized information, please feel free to contact me directly: mark-at-canelasoftware.com Best regards, Mark Talluto http://www.canelasoftware.com On May 6, 2011, at 10:13 AM, william humphrey wrote: > Looks real interesting. The brochure doesn't mention your method of earning > money. I hope you have a plan for real small distribution at high per unit > cost (common method for custom vertical market software) From userev at canelasoftware.com Thu May 12 14:43:46 2011 From: userev at canelasoftware.com (Mark Talluto) Date: Thu, 12 May 2011 11:43:46 -0700 Subject: GLXFramework [ad] SpiceKit In-Reply-To: References: <2FF0300C-370A-45B7-9031-35F5FC0EAB4C@mac.com> <5E149CC0-EFB2-4AB7-BD5E-69DA7BE7088A@mac.com> Message-ID: <61FD02AA-F90D-4696-AD50-051799D38976@canelasoftware.com> Thanks for the kind words Andre. We are almost done with our v1 API. I will get you a copy asap. Best regards, Mark Talluto http://www.canelasoftware.com On May 5, 2011, at 10:51 PM, Andre Garzia wrote: > I've seen SpiceKit during the conference and I Like It! > > You have my [LIKE] facebook thing! From cborn at carleton.edu Thu May 12 14:43:55 2011 From: cborn at carleton.edu (Carly J. Born) Date: Thu, 12 May 2011 13:43:55 -0500 (CDT) Subject: Customize Scrollbar Thumb? In-Reply-To: <8CDDEE1CF5CBA8C-1524-13D01@web-mmc-m07.sysops.aol.com> Message-ID: <505543540.1761238.1305225835089.JavaMail.root@mail2.its.carleton.edu> Thanks, all. I found the Custom Controls lesson directly after sending out my initial question. I think I'm going to try doing that, it should work fine. Thanks for the ideas! ~ Carly J. Born Academic Technologies Carleton College | 507-222-7010 | cborn at carleton.edu http://apps.carleton.edu/campus/at/ http://go.carleton.edu/f ----- Original Message ----- From: dunbarx at aol.com To: use-livecode at lists.runrev.com Sent: Thursday, May 12, 2011 12:33:15 PM Subject: Re: Customize Scrollbar Thumb? Couldn't you also just show a small button or graphic at the mouseLoc, overlying the default button, and tracking it with a mouseMove message? Craig Newman -----Original Message----- From: Thomas McGrath III To: How to use LiveCode Sent: Thu, May 12, 2011 12:48 pm Subject: Re: Customize Scrollbar Thumb? Carly, Not that I am aware of but you can create your own scroller. Obleo has a video here http://intkeystrokes.posterous.com/custom-scroller-for-livecode-ios-with-animati And you can simulate a scrollBar using a groups scroll. If you group an item or a series of items and then make the group smaller than the items it contains you can set its scoll from another object. set the scroll of group "mygroup" to 20 give it a try. And welcome to the list. -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On May 12, 2011, at 11:32 AM, Carly J. Born wrote: > Hello! > > I'm new-ish to this list (been hovering for a while), but it's my first post. Forgive me if I am missing something obvious. > > Is it possible to customize the thumb of a scrollbar to be an image of your choice? > > Thanks! > > > > ~ > Carly J. Born > Academic Technologies > Carleton College | 507-222-7010 | cborn at carleton.edu > > http://apps.carleton.edu/campus/at/ > http://go.carleton.edu/f > > _______________________________________________ > use-livecode mailing list > use-livecode 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 revdev at pdslabs.net Thu May 12 14:55:13 2011 From: revdev at pdslabs.net (Phil Davis) Date: Thu, 12 May 2011 11:55:13 -0700 Subject: What does Windows 'shell' expect? In-Reply-To: References: Message-ID: <4DCC2D11.3010907@pdslabs.net> Hi Graham, As you [and I] now know,"start" is a non-trivial command - it has lots of choices you can make in running it. To see them all, enter this at a Windows command prompt: start /? Or you can see them in a LC window using my 'Shell Command Help' plugin, available in RevOnline. Best - Phil On 5/12/11 8:01 AM, Graham Samuel wrote: > Mark, thanks - your suggestion means that the example in the docs is just plain wrong (not enough quotes - apparently you need an empty set of quotes before the one with the program name). But I doubt if this will solve the problem of a program name with a space in it. So I still want to know what 'shell' expects. Also, what if the .exe isn't in "Program Files"? It looks as if the 'start' function makes some assumptions about the path to the program. It is hard to step out of the LC environment without learning a lot of other stuff... > > I will do a few tests and then at least add a comment on the 'launch' dictionary entry - but I am scared of my own ignorance on this subject. > > Graham > > > On Thu, 12 May 2011 12:16:42 +0200, Mark Schonewille wrote: > To: How to use LiveCode >> Graham, >> >> Try this: >> >> set the hideConsoleWindows to true >> put "start"&& quote& quote&& quote& "myProgram.exe"& quote into myShell >> get shell(myShell) >> >> -- >> Best regards, >> >> Mark Schonewille >> >> Economy-x-Talk Consulting and Software Engineering >> Homepage: http://economy-x-talk.com >> Twitter: http://twitter.com/xtalkprogrammer >> KvK: 50277553 >> >> New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce >> >> On 12 mei 2011, at 12:03, Graham Samuel wrote: >> >>> Following the instructions for "launch" in the LC docs, I tried the substitute method suggested: >>> >>> get shell("start MyProgram.exe") >>> >>> this didn't work using the name of the program in Windows Explorer, presumably because there was a space in the name. >>> >>> I also tried to get a path to the program, which was reported by LC as >>> >>> C:/Program Files/My Tests/My Test.exe >>> >>> and this failed too, with Windows reporting that it couldn't find "Program". So shell doesn't like spaces. I thought that one could get rid of that by replacing space with "%20" but that didn't work either. >>> >>> Pardon my ignorance, but what should I have done? >>> >>> Graham > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net From bonnmike at gmail.com Thu May 12 16:16:35 2011 From: bonnmike at gmail.com (Mike Bonner) Date: Thu, 12 May 2011 14:16:35 -0600 Subject: What does Windows 'shell' expect? In-Reply-To: <4DCC2D11.3010907@pdslabs.net> References: <4DCC2D11.3010907@pdslabs.net> Message-ID: Could also use shortfilepath to make things less quote'ey put "start" && the shortfilepath of "my really\long file\path.exe" into tShell get shell (tShell) On Thu, May 12, 2011 at 12:55 PM, Phil Davis wrote: > Hi Graham, > > As you [and I] now know,"start" is a non-trivial command - it has lots of > choices you can make in running it. To see them all, enter this at a Windows > command prompt: > start /? > > Or you can see them in a LC window using my 'Shell Command Help' plugin, > available in RevOnline. > > Best - > Phil > > > On 5/12/11 8:01 AM, Graham Samuel wrote: > >> Mark, thanks - your suggestion means that the example in the docs is just >> plain wrong (not enough quotes - apparently you need an empty set of quotes >> before the one with the program name). But I doubt if this will solve the >> problem of a program name with a space in it. So I still want to know what >> 'shell' expects. Also, what if the .exe isn't in "Program Files"? It looks >> as if the 'start' function makes some assumptions about the path to the >> program. It is hard to step out of the LC environment without learning a lot >> of other stuff... >> >> I will do a few tests and then at least add a comment on the 'launch' >> dictionary entry - but I am scared of my own ignorance on this subject. >> >> Graham >> >> >> On Thu, 12 May 2011 12:16:42 +0200, Mark Schonewille< >> m.schonewille at economy-x-talk.com> wrote: >> To: How to use LiveCode >> >>> Graham, >>> >>> Try this: >>> >>> set the hideConsoleWindows to true >>> put "start"&& quote& quote&& quote& "myProgram.exe"& quote into >>> myShell >>> get shell(myShell) >>> >>> -- >>> Best regards, >>> >>> Mark Schonewille >>> >>> Economy-x-Talk Consulting and Software Engineering >>> Homepage: http://economy-x-talk.com >>> Twitter: http://twitter.com/xtalkprogrammer >>> KvK: 50277553 >>> >>> New: Download the Installer Maker Plugin 1.6 for LiveCode here >>> http://qery.us/ce >>> >>> On 12 mei 2011, at 12:03, Graham Samuel wrote: >>> >>> Following the instructions for "launch" in the LC docs, I tried the >>>> substitute method suggested: >>>> >>>> get shell("start MyProgram.exe") >>>> >>>> this didn't work using the name of the program in Windows Explorer, >>>> presumably because there was a space in the name. >>>> >>>> I also tried to get a path to the program, which was reported by LC as >>>> >>>> C:/Program Files/My Tests/My Test.exe >>>> >>>> and this failed too, with Windows reporting that it couldn't find >>>> "Program". So shell doesn't like spaces. I thought that one could get rid of >>>> that by replacing space with "%20" but that didn't work either. >>>> >>>> Pardon my ignorance, but what should I have done? >>>> >>>> Graham >>>> >>> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> >> > -- > 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 revdev at pdslabs.net Thu May 12 16:56:48 2011 From: revdev at pdslabs.net (Phil Davis) Date: Thu, 12 May 2011 13:56:48 -0700 Subject: 'touch' on *nix = ??? on Windows? Message-ID: <4DCC4990.40307@pdslabs.net> Is there a Windows equivalent to the Unix 'touch' command? I would like to prevent the last-mod date of a Windows file from showing when the file was actually last modified. Thanks - -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net From bonnmike at gmail.com Thu May 12 17:20:32 2011 From: bonnmike at gmail.com (Mike Bonner) Date: Thu, 12 May 2011 15:20:32 -0600 Subject: 'touch' on *nix = ??? on Windows? In-Reply-To: <4DCC4990.40307@pdslabs.net> References: <4DCC4990.40307@pdslabs.net> Message-ID: I believe you can do this get shell("copy /b myfile.txt + , ,") Should work, but i'd test it on non-critical files first, or have backups. Seems to work from the bit of testing i've done. On Thu, May 12, 2011 at 2:56 PM, Phil Davis wrote: > Is there a Windows equivalent to the Unix 'touch' command? I would like to > prevent the last-mod date of a Windows file from showing when the file was > actually last modified. > > Thanks - > -- > 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 capellan2000 at gmail.com Thu May 12 17:20:58 2011 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Thu, 12 May 2011 17:20:58 -0400 Subject: In Need of Assistance (URGENT) Message-ID: Hi All, on 12 May 2011 Chris Innanen wrote: > NEVER open attachments from people you don't know, > that you weren't expecting, or that seem suspicious > in any way. > Remember, it's possible to write a really NASTY Livecode stack, or ANY > program for that matter. You take a risk whenever you launch an application. > Developer communities need a modicum of trust between them, but we still do > need to be careful. And report suspicious behavior... Offset the risk trust > brings with some crowd-sourced safety. :) Real Words of wisdom! :-) Who is going to dissect the attached stack and report the results to the mail list??? Al From revdev at pdslabs.net Thu May 12 17:23:38 2011 From: revdev at pdslabs.net (Phil Davis) Date: Thu, 12 May 2011 14:23:38 -0700 Subject: 'touch' on *nix = ??? on Windows? In-Reply-To: References: <4DCC4990.40307@pdslabs.net> Message-ID: <4DCC4FDA.7030602@pdslabs.net> Thanks Mike! I'll check it out. Phil On 5/12/11 2:20 PM, Mike Bonner wrote: > I believe you can do this > get shell("copy /b myfile.txt + , ,") > > Should work, but i'd test it on non-critical files first, or have backups. > Seems to work from the bit of testing i've done. > On Thu, May 12, 2011 at 2:56 PM, Phil Davis wrote: > >> Is there a Windows equivalent to the Unix 'touch' command? I would like to >> prevent the last-mod date of a Windows file from showing when the file was >> actually last modified. >> >> Thanks - >> -- >> 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 bonnmike at gmail.com Thu May 12 17:45:09 2011 From: bonnmike at gmail.com (Mike Bonner) Date: Thu, 12 May 2011 15:45:09 -0600 Subject: 'touch' on *nix = ??? on Windows? In-Reply-To: <4DCC4FDA.7030602@pdslabs.net> References: <4DCC4990.40307@pdslabs.net> <4DCC4FDA.7030602@pdslabs.net> Message-ID: Hey, heres another interesting method If you put the following into a property *Dim objShell, objFolder* * * * Set objShell = CreateObject("Shell.Application")* * Set objFolder = objShell.NameSpace("[[tFolder]]")* * objFolder.Items.Item("[[tFile]]").ModifyDate = "[[the date && the time]]"* * * then you can split out the folder name into tFolder (including trailing slash) and filename into tFile, then execute it as follows *do merge(the propertyyouset) as vbscript* seems to work like a charm On Thu, May 12, 2011 at 3:23 PM, Phil Davis wrote: > Thanks Mike! I'll check it out. > Phil > > > > On 5/12/11 2:20 PM, Mike Bonner wrote: > >> I believe you can do this >> get shell("copy /b myfile.txt + , ,") >> >> Should work, but i'd test it on non-critical files first, or have backups. >> Seems to work from the bit of testing i've done. >> On Thu, May 12, 2011 at 2:56 PM, Phil Davis wrote: >> >> Is there a Windows equivalent to the Unix 'touch' command? I would like >>> to >>> prevent the last-mod date of a Windows file from showing when the file >>> was >>> actually last modified. >>> >>> Thanks - >>> -- >>> 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bonnmike at gmail.com Thu May 12 17:46:17 2011 From: bonnmike at gmail.com (Mike Bonner) Date: Thu, 12 May 2011 15:46:17 -0600 Subject: 'touch' on *nix = ??? on Windows? In-Reply-To: References: <4DCC4990.40307@pdslabs.net> <4DCC4FDA.7030602@pdslabs.net> Message-ID: Oh, proviso: I didn't try it using a property, just used a field reference instead, but seems like it shouldn't make a difference, and should be faster (I think) than the shell call, especially if the file is large since the weird copy command actually does do a strange pseudo copy. On Thu, May 12, 2011 at 3:45 PM, Mike Bonner wrote: > Hey, heres another interesting method > > If you put the following into a property > > *Dim objShell, objFolder* > * * > * Set objShell = CreateObject("Shell.Application")* > * Set objFolder = objShell.NameSpace("[[tFolder]]")* > * objFolder.Items.Item("[[tFile]]").ModifyDate = "[[the date && the > time]]"* > * > * > then you can split out the folder name into tFolder (including trailing > slash) and filename into tFile, then execute it as follows > > *do merge(the propertyyouset) as vbscript* > > seems to work like a charm > > On Thu, May 12, 2011 at 3:23 PM, Phil Davis wrote: > >> Thanks Mike! I'll check it out. >> Phil >> >> >> >> On 5/12/11 2:20 PM, Mike Bonner wrote: >> >>> I believe you can do this >>> get shell("copy /b myfile.txt + , ,") >>> >>> Should work, but i'd test it on non-critical files first, or have >>> backups. >>> Seems to work from the bit of testing i've done. >>> On Thu, May 12, 2011 at 2:56 PM, Phil Davis wrote: >>> >>> Is there a Windows equivalent to the Unix 'touch' command? I would like >>>> to >>>> prevent the last-mod date of a Windows file from showing when the file >>>> was >>>> actually last modified. >>>> >>>> Thanks - >>>> -- >>>> 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 >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 May 12 18:01:39 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Thu, 12 May 2011 15:01:39 -0700 Subject: IDE 'Reset' In-Reply-To: <4DCC0A09.302@graymattercomputing.com> References: <4DCA242A.2040405@graymattercomputing.com> <152258322500.20110510231535@ahsoftware.net> <4DCAA51C.2030906@graymattercomputing.com> <149292610796.20110511084704@ahsoftware.net> <4DCC0A09.302@graymattercomputing.com> Message-ID: <118401486421.20110512150139@ahsoftware.net> David- Thursday, May 12, 2011, 9:25:45 AM, you wrote: > Just for completeness (and the archives), they've restricted access to > this to those users with Developer Program ($199/year) memberships. No, that was the original (and misguided) approach but it was changed before rolling out the new RQCC. Have you heard anything different? -- -Mark Wieder mwieder at ahsoftware.net From dglass at graymattercomputing.com Thu May 12 18:20:56 2011 From: dglass at graymattercomputing.com (David Glass) Date: Thu, 12 May 2011 15:20:56 -0700 Subject: IDE 'Reset' In-Reply-To: <118401486421.20110512150139@ahsoftware.net> References: <4DCA242A.2040405@graymattercomputing.com> <152258322500.20110510231535@ahsoftware.net> <4DCAA51C.2030906@graymattercomputing.com> <149292610796.20110511084704@ahsoftware.net> <4DCC0A09.302@graymattercomputing.com> <118401486421.20110512150139@ahsoftware.net> Message-ID: <4DCC5D48.5090106@graymattercomputing.com> I sent customer service an email asking how to get access, and that was the response I received. > Dear David Glass, > > Thank you for your request. To access the Quality Center you need to have a > LiveCode Developer membership. You can read more about this here: > > http://www.runrev.com/products/livecode-developer-program/ > > If you have a bug you want to report, please email it to bugs at runrev.com. > > Regards, > > Heather > > 05/11/2011 11:15 - David Glass wrote: > >> > Greetings, >> > >> > The Quality Control Center wants me to enter a login and password. How >> > do I get one of those as it doesn't seem to use the same one for the >> > other Rev areas, i.e. Forum, or RevOnline? >> > On 05/12/2011 3:01 PM, Mark Wieder wrote: > David- > > Thursday, May 12, 2011, 9:25:45 AM, you wrote: > >> Just for completeness (and the archives), they've restricted access to >> this to those users with Developer Program ($199/year) memberships. > > No, that was the original (and misguided) approach but it was changed > before rolling out the new RQCC. Have you heard anything different? > -- David Glass - Gray Matter Computing graymattercomputing.com From jacque at hyperactivesw.com Thu May 12 18:35:23 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 12 May 2011 17:35:23 -0500 Subject: Highlight list line on hover? In-Reply-To: <364224CF-B429-460A-BFB7-57EBDD7601E8@clarkeandclarke.co.uk> References: <4DCBFE9F.7020907@gmail.com> <364224CF-B429-460A-BFB7-57EBDD7601E8@clarkeandclarke.co.uk> Message-ID: <4DCC60AB.4070004@hyperactivesw.com> On 5/12/11 11:16 AM, Keith Clarke wrote: > ...hmm, is mouseOver an undocumented feature - it's not in the Dictionary? It's not a keyword, I think Richmond had a thinko. :) I'm prone to those myself. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From niggemann at uni-wh.de Thu May 12 18:43:05 2011 From: niggemann at uni-wh.de (BNig) Date: Thu, 12 May 2011 15:43:05 -0700 (PDT) Subject: In Need of Assistance (URGENT) In-Reply-To: References: <8CDDE99870D1957-1650-1BFEE@Webmail-d123.sysops.aol.com> Message-ID: <1305240185538-3518905.post@n4.nabble.com> Hi all, don't be afraid. It is an innouous stack. I opened it because Jyst posted the same question over in the forum http://forums.runrev.com/phpBB2/viewtopic.php?f=7&t=7507 without the stack. Jyst had posted sometimes on the forum before so I was not really too concerned about opening it. Over there he has the handle ystan2010 and signs with JYST. 4 Images in the stack, one monkey and, from the looks, three of his professors/teachers. The question is professor or monkey and he wants a random picture of the four. No problem there. Although the description sounded a bit funny. I definitely looks like homework. Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/RE-In-Need-of-Assistance-URGENT-tp3516798p3518905.html Sent from the Revolution - User mailing list archive at Nabble.com. From userev at canelasoftware.com Thu May 12 18:45:51 2011 From: userev at canelasoftware.com (Mark Talluto) Date: Thu, 12 May 2011 15:45:51 -0700 Subject: IDE 'Reset' In-Reply-To: <4DCC5D48.5090106@graymattercomputing.com> References: <4DCA242A.2040405@graymattercomputing.com> <152258322500.20110510231535@ahsoftware.net> <4DCAA51C.2030906@graymattercomputing.com> <149292610796.20110511084704@ahsoftware.net> <4DCC0A09.302@graymattercomputing.com> <118401486421.20110512150139@ahsoftware.net> <4DCC5D48.5090106@graymattercomputing.com> Message-ID: <3F598E33-DAD8-4F4D-99C6-D71F6187C857@canelasoftware.com> Non members are supposed to write a bug report to support directly. RunRev will file the report in bugzilla for you. That is my memory on the change. Best regards, Mark Talluto http://www.canelasoftware.com On May 12, 2011, at 3:20 PM, David Glass wrote: > I sent customer service an email asking how to get access, and that was the response I received. > >> Dear David Glass, >> >> Thank you for your request. To access the Quality Center you need to have a >> LiveCode Developer membership. You can read more about this here: >> >> http://www.runrev.com/products/livecode-developer-program/ >> >> If you have a bug you want to report, please email it to bugs at runrev.com. >> >> Regards, >> >> Heather >> >> 05/11/2011 11:15 - David Glass wrote: >> >>> > Greetings, >>> > >>> > The Quality Control Center wants me to enter a login and password. How >>> > do I get one of those as it doesn't seem to use the same one for the >>> > other Rev areas, i.e. Forum, or RevOnline? >>> > > > > On 05/12/2011 3:01 PM, Mark Wieder wrote: >> David- >> >> Thursday, May 12, 2011, 9:25:45 AM, you wrote: >> >>> Just for completeness (and the archives), they've restricted access to >>> this to those users with Developer Program ($199/year) memberships. >> >> No, that was the original (and misguided) approach but it was changed >> before rolling out the new RQCC. Have you heard anything different? >> > > -- > David Glass - Gray Matter Computing > graymattercomputing.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 Thu May 12 19:10:45 2011 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Thu, 12 May 2011 16:10:45 -0700 (PDT) Subject: In Need of Assistance (URGENT) In-Reply-To: <1305240185538-3518905.post@n4.nabble.com> References: <8CDDE99870D1957-1650-1BFEE@Webmail-d123.sysops.aol.com> <1305240185538-3518905.post@n4.nabble.com> Message-ID: <1305241845488-3518942.post@n4.nabble.com> Hi Bernd, BNig wrote: > > Hi all, > don't be afraid. It is an innouous stack. > [snip] > It definitely looks like homework. > Which school teach Livecode to their students? This teacher could offer really useful insights about teaching this platform in the classroom. Some years ago, i made an experiment of teaching a spanish version of this script language to some students of the project were I worked. All of this within the 10 lines limit that the function "Do" allowed to execute. It was a success: they picked up fast the language without problems, but after the short lessons, they had nowhere to go (to keep learning this platform) except learn english and start reading tutorials and the mailing list... At least they learned that programming it's not too difficult to understand after you know the basics. Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/RE-In-Need-of-Assistance-URGENT-tp3516798p3518942.html Sent from the Revolution - User mailing list archive at Nabble.com. From dglass at graymattercomputing.com Thu May 12 20:32:41 2011 From: dglass at graymattercomputing.com (David Glass) Date: Thu, 12 May 2011 17:32:41 -0700 Subject: Dictionary usage and IDE hang Message-ID: <4DCC7C29.5040600@graymattercomputing.com> Here's an oddity that I haven't been able to narrow down yet, but it is causing me a lot of lost work. Looking for any insights or thoughts on why or what is happening. OS X 10.6.7, LC 4.6.1 I have the LC Dictionary open almost constantly. Enough that it is easier to leave it open than to close and re-open every time. Sometimes, not sure what the trigger is, when I go to the search field and start to delete my previous search term, it won't delete, and the entire IDE becomes unresponsive. In order to clear this issue I have to Force Quit LC, which obviously causes me to lose any work I've done since I last saved. I'm not yet in the habit of saving my work every time I go to use the Dictionary, but I have a feeling I'm going to get there. The Dock contextual menu reports LC as 'Application Not Responding' although it is not reported that way in the Force Quit window (listing the running applications). On one occasion when I started to delete my search term, the focus jumped to the object inspector, and I ended up deleting the name of the card (the object that had the focus last, maybe?). I *think* the focus is jumping to someplace I can't see, and I'm deleting, or attempting to delete, something that either shouldn't be deleted, or can't be deleted, and it is putting the IDE into an unstable state. Possibly related, I've noticed that if I 'close and remove from memory' a stack using the contextual menu in the Application Browser I get similar behavior. Any thoughts would be appreciated. -- David Glass - Gray Matter Computing graymattercomputing.com From paul at paulhibbitts.com Thu May 12 21:50:42 2011 From: paul at paulhibbitts.com (Paul Hibbitts) Date: Thu, 12 May 2011 18:50:42 -0700 Subject: Viewing mobile version of website in LiveCode Mac/Windows? Message-ID: Hello, I am interested in displaying the mobile version of a website in LiveCode, and when a mobile-specific URL is not available I am wondering if there is a way to still force the mobile version to display in LiveCode on Mac/Windows. For example, in Apple?s Safari you can use the usually hidden ?Developer? menu to set the User Agent to iPhone so you can view the mobile version of a website even when running the desktop version of the Browser. Might there be some way to get LiveCode/revBrowser to do something similar? Thanks in advance - any help greatly appreciated. Paul From jacque at hyperactivesw.com Thu May 12 22:32:45 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 12 May 2011 21:32:45 -0500 Subject: Dictionary usage and IDE hang In-Reply-To: <4DCC7C29.5040600@graymattercomputing.com> References: <4DCC7C29.5040600@graymattercomputing.com> Message-ID: <4DCC984D.5000701@hyperactivesw.com> On 5/12/11 7:32 PM, David Glass wrote: > Sometimes, not sure what the trigger is, when I go to the search field > and start to delete my previous search term, it won't delete, and the > entire IDE becomes unresponsive. In order to clear this issue I have to > Force Quit LC, which obviously causes me to lose any work I've done > since I last saved. Is the script editor open? It sounds like a script is running and you're in debug mode. If that's the case, stop debugging by clicking the blue square at the top left of the editor window (or type Cmd-Y) before trying to use the dictionary. I haven't had any trouble with the dictionary, but I'm used to leaving debug mode before trying to do anything else. If you aren't debugging, also try Cmd-period to stop any running scripts. > On one occasion when I started to delete my search term, the focus > jumped to the object inspector, and I ended up deleting the name of the > card (the object that had the focus last, maybe?). I've seen some focus problems recently too, though usually the window's titlebar just doesn't enable. There's a bug report about it, but until it gets tracked down you may need to specifically click on the titlebar of the window to put it in focus. Watch for the jellybean buttons to enable, then you know you're in the right place. There's something wonky going on with window focus in the last release or two. It only seems to affect the IDE, standalones work normally. > Possibly related, I've noticed that if I 'close and remove from memory' > a stack using the contextual menu in the Application Browser I get > similar behavior. I've been doing that a lot tonight without any trouble. If you can get a recipe we can try to verify it. Do you have any closestack handlers that might be interfering? Any customizations in your setup? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dglass at graymattercomputing.com Thu May 12 23:25:46 2011 From: dglass at graymattercomputing.com (David Glass) Date: Thu, 12 May 2011 20:25:46 -0700 Subject: Dictionary usage and IDE hang In-Reply-To: <4DCC984D.5000701@hyperactivesw.com> References: <4DCC7C29.5040600@graymattercomputing.com> <4DCC984D.5000701@hyperactivesw.com> Message-ID: <4DCCA4BA.4090905@graymattercomputing.com> I'll try to keep better track of exactly what is going on when it happens, and report back. Almost positive the script editor is open since I'm looking up syntax to figure out the best way to write whatever handler/behavior I'm working on. I don't think I've been debugging when it happens, but can't be positive. Will have to pay closer attention. No closestack handlers. As to customization, I have the tm palettes and DGH active (palettes open). I can list the contents of my Plugins menu if you think it's relevant. On 05/12/2011 7:32 PM, J. Landman Gay wrote: > > Is the script editor open? It sounds like a script is running and you're > in debug mode. If that's the case, stop debugging by clicking the blue > square at the top left of the editor window (or type Cmd-Y) before > trying to use the dictionary. I haven't had any trouble with the > dictionary, but I'm used to leaving debug mode before trying to do > anything else. > > If you aren't debugging, also try Cmd-period to stop any running scripts. > > > I've seen some focus problems recently too, though usually the window's > titlebar just doesn't enable. There's a bug report about it, but until > it gets tracked down you may need to specifically click on the titlebar > of the window to put it in focus. Watch for the jellybean buttons to > enable, then you know you're in the right place. There's something wonky > going on with window focus in the last release or two. It only seems to > affect the IDE, standalones work normally. > > > I've been doing that a lot tonight without any trouble. If you can get a > recipe we can try to verify it. Do you have any closestack handlers that > might be interfering? Any customizations in your setup? > -- David Glass - Gray Matter Computing graymattercomputing.com From dglass at graymattercomputing.com Fri May 13 00:53:39 2011 From: dglass at graymattercomputing.com (David Glass) Date: Thu, 12 May 2011 21:53:39 -0700 Subject: Dictionary usage and IDE hang In-Reply-To: <4DCCA4BA.4090905@graymattercomputing.com> References: <4DCC7C29.5040600@graymattercomputing.com> <4DCC984D.5000701@hyperactivesw.com> <4DCCA4BA.4090905@graymattercomputing.com> Message-ID: <4DCCB953.101@graymattercomputing.com> Yes, definitely something off about how/when stacks receive the focus. Most don't always receive focus when clicking in their content area, although sometimes they do. Sometimes, clicking the Title bar will give the focus to the window, and it is visually apparent (window widgets enable), sometimes the window will get the focus and the widgets will not enable, and sometimes the window won't receive the focus. In the final case, sometimes clicking on another window and then back on the Title bar will rectify the situation. Far too many 'sometimes'-es in there. :/ On 05/12/2011 8:25 PM, David Glass wrote: > I'll try to keep better track of exactly what is going on when it > happens, and report back. -- Regards, David Glass -- David Glass - Gray Matter Computing graymattercomputing.com From coiin at verizon.net Fri May 13 00:57:43 2011 From: coiin at verizon.net (Colin Holgate) Date: Fri, 13 May 2011 00:57:43 -0400 Subject: link to my #22 event presentation Message-ID: <3FC83F19-3835-4B09-88B9-965B2071A16B@verizon.net> There still isn't a link on livecode.tv to the recording of my presentation last Saturday, and I haven't seen any messages about event #23, so I guess the guys are busy with something at the moment. The recording did work though, and I found the link on my Ustream page. It's here: http://www.ustream.tv/recorded/14547851 The quality is good enough to look quite readable in full screen. It's 50 minutes long. I listened to some of it, and the lags that happen live are in the recording, so if you hear it pause, don't do anything, the sound picks up exactly where it was when it starts again. From tsj at unimelb.edu.au Fri May 13 00:57:25 2011 From: tsj at unimelb.edu.au (Terry Judd) Date: Fri, 13 May 2011 14:57:25 +1000 Subject: Setting the textColor of particular rows in a table datagrid? Message-ID: HI ? I want to set the color of various lines in a datagrid (when it?s populated) according to a value in one of the columns. I got it to work by adding a column behavior for each of the displayed columns in the datagrid and then, in the FillInData handler, querying the value for the relevant item for the current line of the dgText. This seems kinda clunky and has to be done for every column in the row I want to color. I must be missing something as there has to be an easier way. As an aside, using the method above seems to disable the ability to sort columns by clicking on their headers. However, adding a simple sort sortDatagridColumn handler to the datagrid script and passing the sortDatagridColumn message re-enables it. Any ideas? Terry... -- Dr Terry Judd | Senior Lecturer in Medical Education Medical Education Unit Melbourne Medical School The University of Melbourne From keith.clarke at clarkeandclarke.co.uk Fri May 13 03:23:15 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Fri, 13 May 2011 08:23:15 +0100 Subject: Highlight list line on hover? In-Reply-To: <4DCC60AB.4070004@hyperactivesw.com> References: <4DCBFE9F.7020907@gmail.com> <364224CF-B429-460A-BFB7-57EBDD7601E8@clarkeandclarke.co.uk> <4DCC60AB.4070004@hyperactivesw.com> Message-ID: <2996F741-00B4-4728-B264-61217062087F@clarkeandclarke.co.uk> ...a thinko - nice! Given the use and definition of mouseover in other environments, perhaps it was more a repressed pseudonym feature request? Best, Keith.. On 12 May 2011, at 23:35, J. Landman Gay wrote: > On 5/12/11 11:16 AM, Keith Clarke wrote: >> ...hmm, is mouseOver an undocumented feature - it's not in the Dictionary? > > It's not a keyword, I think Richmond had a thinko. :) I'm prone to those myself. From livfoss at mac.com Fri May 13 04:07:30 2011 From: livfoss at mac.com (Graham Samuel) Date: Fri, 13 May 2011 10:07:30 +0200 Subject: What does Windows 'shell' expect? Message-ID: <559EE1E5-D9A3-4FC3-AE74-9E540BE088E7@mac.com> Phil, thanks. I did not guess that your plugin existed. It is hard to look at all the possible places where one might get help with LC. Nowadays not being able to afford the old 'Improve' list, I rely on the Use list, the LC Dictionary and the User's Guide. I started to use the forum a long time ago, but at the time it seemed inactive so I lost interest - personally I prefer mailing lists to forums (fora?). I have never used RevOnline. Clearly my fault, but I wonder if there might be a better way to point LC users at valuable info rather than assuming they will search in lots of places - some kind of index, if you will. But I guess I should have searched harder. Thanks again Graham On Thu, 12 May 2011 11:55:13 -0700, Phil Davis wrote: To: How to use LiveCode > Hi Graham, > > As you [and I] now know,"start" is a non-trivial command - it has lots of > choices you can make in running it. To see them all, enter this at a Windows > command prompt: > start /? > > Or you can see them in a LC window using my 'Shell Command Help' plugin, > available in RevOnline. > > Best - > Phil From keith.clarke at clarkeandclarke.co.uk Fri May 13 04:18:37 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Fri, 13 May 2011 09:18:37 +0100 Subject: Obscuring password data in a data grid Message-ID: <79393C12-C377-4927-AB45-CE684B91F467@clarkeandclarke.co.uk> Hi folks, Any ideas on how one goes about obfuscating data in a 'Password' column of a data grid? I don't seen an option to set a column-specific password entry font, so could I perhaps use some clever property or behaviour trick on its containing cell? Best, Keith.. From revdev at pdslabs.net Fri May 13 04:27:30 2011 From: revdev at pdslabs.net (Phil Davis) Date: Fri, 13 May 2011 01:27:30 -0700 Subject: What does Windows 'shell' expect? In-Reply-To: <559EE1E5-D9A3-4FC3-AE74-9E540BE088E7@mac.com> References: <559EE1E5-D9A3-4FC3-AE74-9E540BE088E7@mac.com> Message-ID: <4DCCEB72.1060203@pdslabs.net> Graham - I'm not a forumite either. I find this list and the livecode-dev list to be the richest sources of high-intensity help around, regarding LC or anything even peripherally related. I imagine there must be lots of value in the forum material as well, but like you I lost interest in trolling through it. I agree - some kind of index would be good. Phil On 5/13/11 1:07 AM, Graham Samuel wrote: > Phil, thanks. I did not guess that your plugin existed. It is hard to look at all the possible places where one might get help with LC. Nowadays not being able to afford the old 'Improve' list, I rely on the Use list, the LC Dictionary and the User's Guide. I started to use the forum a long time ago, but at the time it seemed inactive so I lost interest - personally I prefer mailing lists to forums (fora?). I have never used RevOnline. Clearly my fault, but I wonder if there might be a better way to point LC users at valuable info rather than assuming they will search in lots of places - some kind of index, if you will. But I guess I should have searched harder. > > Thanks again > > Graham > > On Thu, 12 May 2011 11:55:13 -0700, Phil Davis wrote: > To: How to use LiveCode > >> Hi Graham, >> >> As you [and I] now know,"start" is a non-trivial command - it has lots of >> choices you can make in running it. To see them all, enter this at a Windows >> command prompt: >> start /? >> >> Or you can see them in a LC window using my 'Shell Command Help' plugin, >> available in RevOnline. >> >> Best - >> Phil > _______________________________________________ > use-livecode mailing list > use-livecode 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 stgoldberg at aol.com Fri May 13 06:33:19 2011 From: stgoldberg at aol.com (stgoldberg at aol.com) Date: Fri, 13 May 2011 06:33:19 -0400 Subject: Simple way to read the livecode list In-Reply-To: References: Message-ID: <8CDDF704B342765-1FEC-B526@webmail-d070.sysops.aol.com> I've been following this great livecode (runrev) comments list for years and could kick myself for not using this simple way of scanning it without a lot of scrolling. It occurred to me just now as I woke up at 6AM: Simple type "message:" into the find field and repeatedly press Return. It will take the viewer from one message to the next. Hope this helps someone, unless everyone else has thought of this, too. Regards. Stephen Goldberg www.medmaster.net From bvg at mac.com Fri May 13 06:58:28 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Fri, 13 May 2011 12:58:28 +0200 Subject: Highlight list line on hover? In-Reply-To: <2996F741-00B4-4728-B264-61217062087F@clarkeandclarke.co.uk> References: <4DCBFE9F.7020907@gmail.com> <364224CF-B429-460A-BFB7-57EBDD7601E8@clarkeandclarke.co.uk> <4DCC60AB.4070004@hyperactivesw.com> <2996F741-00B4-4728-B264-61217062087F@clarkeandclarke.co.uk> Message-ID: <1E5A9772-FA69-44E7-BDF0-1B4014B80B43@mac.com> He probably meant mouseWithin? On 13 May 2011, at 09:23, Keith Clarke wrote: > ...a thinko - nice! > > Given the use and definition of mouseover in other environments, perhaps it was more a repressed pseudonym feature request? > Best, > Keith.. > > On 12 May 2011, at 23:35, J. Landman Gay wrote: > >> On 5/12/11 11:16 AM, Keith Clarke wrote: >>> ...hmm, is mouseOver an undocumented feature - it's not in the Dictionary? >> >> It's not a keyword, I think Richmond had a thinko. :) I'm prone to those myself. > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From paul.foraker at gmail.com Fri May 13 08:06:27 2011 From: paul.foraker at gmail.com (Paul Foraker) Date: Fri, 13 May 2011 05:06:27 -0700 Subject: Incredibly slow revlet in Win 7 In-Reply-To: <31CFEDC9-E4AF-42F9-8631-13E9AD315ED7@twft.com> References: <4D93511C.5010703@hyperactivesw.com> <4D9398D3.7080304@tweedly.net> <31CFEDC9-E4AF-42F9-8631-13E9AD315ED7@twft.com> Message-ID: All my domains hosted at RunRev return the same IP address: 74.54.153.71, which makes it impossible to enter the IP address instead of, say, beta.4spires.com On Wed, Mar 30, 2011 at 1:23 PM, J. Landman Gay wrote: > There are several web resources, here's one I just found: > > From bonnmike at gmail.com Fri May 13 08:39:10 2011 From: bonnmike at gmail.com (Mike Bonner) Date: Fri, 13 May 2011 06:39:10 -0600 Subject: Obscuring password data in a data grid In-Reply-To: <79393C12-C377-4927-AB45-CE684B91F467@clarkeandclarke.co.uk> References: <79393C12-C377-4927-AB45-CE684B91F467@clarkeandclarke.co.uk> Message-ID: Not sure if this is what you want, but theres some cool stuff offered by Mark S here. http://www3.economy-x-talk.com/file.php?node=libraries One of the things at that location is a password field that you could probably use. If nothing else, might provide ideas. On Fri, May 13, 2011 at 2:18 AM, Keith Clarke < keith.clarke at clarkeandclarke.co.uk> wrote: > Hi folks, > Any ideas on how one goes about obfuscating data in a 'Password' column of > a data grid? > I don't seen an option to set a column-specific password entry font, so > could I perhaps use some clever property or behaviour trick on its > containing cell? > 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 Fri May 13 09:13:41 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Fri, 13 May 2011 14:13:41 +0100 Subject: Obscuring password data in a data grid In-Reply-To: References: <79393C12-C377-4927-AB45-CE684B91F467@clarkeandclarke.co.uk> Message-ID: <38E5125B-1863-4F4E-ABAB-817AD4150577@clarkeandclarke.co.uk> Thanks Mike, some useful grist to the mill there. FYI I already have the problem solved for a single password field - by using a PasswordEntry font (that has bullets set for all its glyph images). I seem to recall Trevor DeVore sharing this for maybe a Live 09 session (apologies to those concerned, if I got the details or citation wrong there). The problem is that whilst a data grid's overall font can be set - I can't see an obvious way to override this at a column level. Best, Keith.. On 13 May 2011, at 13:39, Mike Bonner wrote: > Not sure if this is what you want, but theres some cool stuff offered by > Mark S here. http://www3.economy-x-talk.com/file.php?node=libraries > One of the things at > that location is a password field that you could probably use. If nothing > else, might provide ideas. > > On Fri, May 13, 2011 at 2:18 AM, Keith Clarke < > keith.clarke at clarkeandclarke.co.uk> wrote: > >> Hi folks, >> Any ideas on how one goes about obfuscating data in a 'Password' column of >> a data grid? >> I don't seen an option to set a column-specific password entry font, so >> could I perhaps use some clever property or behaviour trick on its >> containing cell? >> Best, >> Keith.. From ambassador at fourthworld.com Fri May 13 09:13:57 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 13 May 2011 06:13:57 -0700 Subject: Viewing mobile version of website in LiveCode Mac/Windows? In-Reply-To: References: Message-ID: <4DCD2E95.1020107@fourthworld.com> Hey Paul - good to see you here. You wrote: > I am interested in displaying the mobile version of a website in LiveCode, > and when a mobile-specific URL is not available I am wondering if there is a > way to still force the mobile version to display in LiveCode on Mac/Windows. Most web sites switch layouts based on the user-agent, and unfortunately it seems this is not currently settable with RevBrowser - Alex Shaw posted a request for this to the RQCC: In that report Mark Waddingham notes that the enhancement is being considered, but it seems it's not been implemented yet. Given the diversity of web-enabled devices these days this is so useful that I've added my vote there and a note of encouragement that it be considered soon. -- 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 ambassador at fourthworld.com Fri May 13 09:29:56 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Fri, 13 May 2011 06:29:56 -0700 Subject: Simple way to read the livecode list In-Reply-To: <8CDDF704B342765-1FEC-B526@webmail-d070.sysops.aol.com> References: <8CDDF704B342765-1FEC-B526@webmail-d070.sysops.aol.com> Message-ID: <4DCD3254.7080507@fourthworld.com> Stephen Goldberg wrote: > I've been following this great livecode (runrev) comments list for > years and could kick myself for not using this simple way of scanning > it without a lot of scrolling. It occurred to me just now as I woke > up at 6AM: Simple type "message:" into the find field and repeatedly > press Return. It will take the viewer from one message to the next. > Hope this helps someone, unless everyone else has thought of this, > too. Regards. Good tip. Another option is to read the list from the archives: I'm subscribed in digest mode and I generally just toss 'em, doing most of my reading via the archives. And yet another option is a list reader stack Mark Stuart put together some time ago. He and I have been discussing making it available through RevNet - I'll keep you posted once it's available there. Very nice UI, so convenient. He's done a great job with it. -- 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 mcgrath3 at mac.com Fri May 13 09:40:11 2011 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Fri, 13 May 2011 09:40:11 -0400 Subject: Highlight list line on hover? In-Reply-To: <1E5A9772-FA69-44E7-BDF0-1B4014B80B43@mac.com> References: <4DCBFE9F.7020907@gmail.com> <364224CF-B429-460A-BFB7-57EBDD7601E8@clarkeandclarke.co.uk> <4DCC60AB.4070004@hyperactivesw.com> <2996F741-00B4-4728-B264-61217062087F@clarkeandclarke.co.uk> <1E5A9772-FA69-44E7-BDF0-1B4014B80B43@mac.com> Message-ID: <57CF3306-FDE0-4F83-B884-CCF8F229C33C@mac.com> This works here: on mouseOver answer "Cool" end mouseOver Oh yeah only if you have this as well on mouseWithin mouseOver end mouseWithin -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On May 13, 2011, at 6:58 AM, Bj?rnke von Gierke wrote: > He probably meant mouseWithin? > > On 13 May 2011, at 09:23, Keith Clarke wrote: > >> ...a thinko - nice! >> >> Given the use and definition of mouseover in other environments, perhaps it was more a repressed pseudonym feature request? >> Best, >> Keith.. >> >> On 12 May 2011, at 23:35, J. Landman Gay wrote: >> >>> On 5/12/11 11:16 AM, Keith Clarke wrote: >>>> ...hmm, is mouseOver an undocumented feature - it's not in the Dictionary? >>> >>> It's not a keyword, I think Richmond had a thinko. :) I'm prone to those myself. >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 bonnmike at gmail.com Fri May 13 09:44:03 2011 From: bonnmike at gmail.com (Mike Bonner) Date: Fri, 13 May 2011 07:44:03 -0600 Subject: Obscuring password data in a data grid In-Reply-To: <38E5125B-1863-4F4E-ABAB-817AD4150577@clarkeandclarke.co.uk> References: <79393C12-C377-4927-AB45-CE684B91F467@clarkeandclarke.co.uk> <38E5125B-1863-4F4E-ABAB-817AD4150577@clarkeandclarke.co.uk> Message-ID: Ah k, think you need to set up a custom template for the column you want to be your password field at which point you should be able to do what you want with its specific field. Look here http://lessons.runrev.com/spaces/lessons/manuals/datagrid/lessons/7311-How-Do-I-Customize-A-Table-s-Columns- Should provide a good jump off point I think. On Fri, May 13, 2011 at 7:13 AM, Keith Clarke < keith.clarke at clarkeandclarke.co.uk> wrote: > Thanks Mike, some useful grist to the mill there. > FYI I already have the problem solved for a single password field - by > using a PasswordEntry font (that has bullets set for all its glyph images). > I seem to recall Trevor DeVore sharing this for maybe a Live 09 session > (apologies to those concerned, if I got the details or citation wrong > there). > The problem is that whilst a data grid's overall font can be set - I can't > see an obvious way to override this at a column level. > Best, > Keith.. > > On 13 May 2011, at 13:39, Mike Bonner wrote: > > > Not sure if this is what you want, but theres some cool stuff offered by > > Mark S here. http://www3.economy-x-talk.com/file.php?node=libraries > > One of the > things at > > that location is a password field that you could probably use. If nothing > > else, might provide ideas. > > > > On Fri, May 13, 2011 at 2:18 AM, Keith Clarke < > > keith.clarke at clarkeandclarke.co.uk> wrote: > > > >> Hi folks, > >> Any ideas on how one goes about obfuscating data in a 'Password' column > of > >> a data grid? > >> I don't seen an option to set a column-specific password entry font, so > >> could I perhaps use some clever property or behaviour trick on its > >> containing cell? > >> 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 todd at geistinteractive.com Fri May 13 09:53:14 2011 From: todd at geistinteractive.com (Todd Geist) Date: Fri, 13 May 2011 06:53:14 -0700 Subject: CouchDB Message-ID: Hello, I am curious if anyone has worked with CouchDB and live code? It has REST api so I know you can connect to it over the web. But I am curios about using it embedding it in a Live Code app. It has built in peer to peer replication, and it runs on many Desktop and Mobile OSs, incuding android and iOS. This would make it an ideal database for building mobile applications that sync either peer to peer or back to a central data store. I wonder how one would go about embedding it? Thanks Todd Todd Geist ------------------------------ geist interactive 805-419-9382 From form at nonsanity.com Fri May 13 09:55:09 2011 From: form at nonsanity.com (Nonsanity) Date: Fri, 13 May 2011 09:55:09 -0400 Subject: Obscuring password data in a data grid In-Reply-To: <38E5125B-1863-4F4E-ABAB-817AD4150577@clarkeandclarke.co.uk> References: <79393C12-C377-4927-AB45-CE684B91F467@clarkeandclarke.co.uk> <38E5125B-1863-4F4E-ABAB-817AD4150577@clarkeandclarke.co.uk> Message-ID: Careful with a password protect font. It may not be readable, but someone can select, copy, and paste somewhere else to read it. I'd only do this if it were a list of my passwords that I didn't want people to read over my shoulder, but then in that form, I can't read them either so what's the point of even displaying them. It would be safer to keep the actual passwords somewhere else in memory like in an array, and put the array's KEYS in the grid, disguised with the password font. Then you can sort and reorder the list in the grid, but still have quick access to the actual passwords. ~ Chris Innanen ~ Nonsanity On Fri, May 13, 2011 at 9:13 AM, Keith Clarke < keith.clarke at clarkeandclarke.co.uk> wrote: > Thanks Mike, some useful grist to the mill there. > FYI I already have the problem solved for a single password field - by > using a PasswordEntry font (that has bullets set for all its glyph images). > I seem to recall Trevor DeVore sharing this for maybe a Live 09 session > (apologies to those concerned, if I got the details or citation wrong > there). > The problem is that whilst a data grid's overall font can be set - I can't > see an obvious way to override this at a column level. > Best, > Keith.. > > On 13 May 2011, at 13:39, Mike Bonner wrote: > > > Not sure if this is what you want, but theres some cool stuff offered by > > Mark S here. http://www3.economy-x-talk.com/file.php?node=libraries > > One of the > things at > > that location is a password field that you could probably use. If nothing > > else, might provide ideas. > > > > On Fri, May 13, 2011 at 2:18 AM, Keith Clarke < > > keith.clarke at clarkeandclarke.co.uk> wrote: > > > >> Hi folks, > >> Any ideas on how one goes about obfuscating data in a 'Password' column > of > >> a data grid? > >> I don't seen an option to set a column-specific password entry font, so > >> could I perhaps use some clever property or behaviour trick on its > >> containing cell? > >> 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 form at nonsanity.com Fri May 13 10:01:45 2011 From: form at nonsanity.com (Nonsanity) Date: Fri, 13 May 2011 10:01:45 -0400 Subject: Simple way to read the livecode list In-Reply-To: <8CDDF704B342765-1FEC-B526@webmail-d070.sysops.aol.com> References: <8CDDF704B342765-1FEC-B526@webmail-d070.sysops.aol.com> Message-ID: I use Gmail to read the list (so "show details" might be a better search term for that effect), which collects the threads together. Unless I go away for a week, all the topics usually fit on one screen. Inside each thread, I use a mouse's scrollwheel. Scrollwheels rock. Multitouch trackpads rock too, if they have two-finger scrolling - which mine does. ~ Chris Innanen ~ Nonsanity On Fri, May 13, 2011 at 6:33 AM, stgoldberg at aol.com wrote: > I've been following this great livecode (runrev) comments list for years > and could kick myself for not using this simple way of scanning it without a > lot of scrolling. It occurred to me just now as I woke up at 6AM: Simple > type "message:" into the find field and repeatedly press Return. It will > take the viewer from one message to the next. Hope this helps someone, > unless everyone else has thought of this, too. Regards. > Stephen Goldberg > www.medmaster.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 keith.clarke at clarkeandclarke.co.uk Fri May 13 10:05:18 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Fri, 13 May 2011 15:05:18 +0100 Subject: Obscuring password data in a data grid In-Reply-To: References: <79393C12-C377-4927-AB45-CE684B91F467@clarkeandclarke.co.uk> <38E5125B-1863-4F4E-ABAB-817AD4150577@clarkeandclarke.co.uk> Message-ID: ...ah, good tip - thanks Mike. On 13 May 2011, at 14:44, Mike Bonner wrote: > Ah k, think you need to set up a custom template for the column you want to > be your password field at which point you should be able to do what you want > with its specific field. > > Look here > http://lessons.runrev.com/spaces/lessons/manuals/datagrid/lessons/7311-How-Do-I-Customize-A-Table-s-Columns- > > Should provide a good jump off point I think. From keith.clarke at clarkeandclarke.co.uk Fri May 13 10:13:18 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Fri, 13 May 2011 15:13:18 +0100 Subject: Obscuring password data in a data grid In-Reply-To: References: <79393C12-C377-4927-AB45-CE684B91F467@clarkeandclarke.co.uk> <38E5125B-1863-4F4E-ABAB-817AD4150577@clarkeandclarke.co.uk> Message-ID: <818C4C20-8A0E-44F9-865F-FA2AC7838BD1@clarkeandclarke.co.uk> ...good points well made, Chris. The password protect font was intended to a) show the user that they'd actually entered something and b) provide 'over the shoulder' protection. My intention is to have the data grid read-only but with rows selectable. Row data entry/editing would be in a dialogue box. So, I will try to hide the real passwords in the underlying array - and show just the equivalent number of a place-filler characters in the data grid. Thanks, Keith.. On 13 May 2011, at 14:55, Nonsanity wrote: > Careful with a password protect font. It may not be readable, but someone > can select, copy, and paste somewhere else to read it. I'd only do this if > it were a list of my passwords that I didn't want people to read over my > shoulder, but then in that form, I can't read them either so what's the > point of even displaying them. > > It would be safer to keep the actual passwords somewhere else in memory like > in an array, and put the array's KEYS in the grid, disguised with the > password font. Then you can sort and reorder the list in the grid, but still > have quick access to the actual passwords. > > ~ Chris Innanen > ~ Nonsanity From revolution at derbrill.de Fri May 13 10:36:45 2011 From: revolution at derbrill.de (Malte Brill) Date: Fri, 13 May 2011 16:36:45 +0200 Subject: Classic CGI questions References: Message-ID: <72931559-7743-4183-94F6-04935523137A@derbrill.de> Hi all, as I did not do too many CGIs in the past, I?d like to reassure myself to find reliable methods of reading in post data. Why CGI and not revServer? - Need to deploy on a windows server (server 2003 running Apache) I am posting data from a LiveCode Client to a Rev 3.5 CGI Questions: Can I on the CGI side see the HTTP Headers I have set in the LC Client? Can I find out how long the content being posted is? What is the most reliable method to read in POST data without hogging 100% CPU time on the server machine? Thanks in advance, Malte From m.schonewille at economy-x-talk.com Fri May 13 11:14:37 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Fri, 13 May 2011 17:14:37 +0200 Subject: Classic CGI questions In-Reply-To: <72931559-7743-4183-94F6-04935523137A@derbrill.de> References: <72931559-7743-4183-94F6-04935523137A@derbrill.de> Message-ID: <22658A72-58D7-414E-B3BB-2744DC54233A@economy-x-talk.com> Hi Malte, > Can I on the CGI side see the HTTP Headers I have set in the LC Client? Yes, somehow. Try the environment variables perhaps? Check the globalnames. The CGI system I use keeps the most important headers in separate environment variables. I'm unable to get the complete headers at once. PHP would let you do that ;-) > Can I find out how long the content being posted is? Yes, in the headers or try $CONTENT_LENGTH > What is the most reliable method to read in POST data without hogging 100% CPU time on the server machine? Huh? AFAIK there is only one way: read from stdIn until empty read from stdIn until cr read from stdIn for 100 Perhaps the hogging is not due to reading the data. Could it be a problem with not being able to show the 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 New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce On 13 mei 2011, at 16:36, Malte Brill wrote: > > Hi all, > > as I did not do too many CGIs in the past, I?d like to reassure myself to find reliable methods of reading in post data. > > Why CGI and not revServer? - Need to deploy on a windows server (server 2003 running Apache) > > I am posting data from a LiveCode Client to a Rev 3.5 CGI > > Questions: > > Can I on the CGI side see the HTTP Headers I have set in the LC Client? > Can I find out how long the content being posted is? > What is the most reliable method to read in POST data without hogging 100% CPU time on the server machine? > > Thanks in advance, > > Malte From bobs at twft.com Fri May 13 11:45:13 2011 From: bobs at twft.com (Bob Sneidar) Date: Fri, 13 May 2011 08:45:13 -0700 Subject: CouchDB In-Reply-To: References: Message-ID: <6890ADB0-C553-4EF0-898F-F8133E6C9BB9@twft.com> I don't think you can, directly. But if it has a way to access it via a shell, or if it is supported by ODBC then you can do it that way. Bob On May 13, 2011, at 6:53 AM, Todd Geist wrote: > Hello, > > I am curious if anyone has worked with CouchDB and live code? > > It has REST api so I know you can connect to it over the web. But I am > curios about using it embedding it in a Live Code app. It has built in peer > to peer replication, and it runs on many Desktop and Mobile OSs, incuding > android and iOS. This would make it an ideal database for building mobile > applications that sync either peer to peer or back to a central data store. > > I wonder how one would go about embedding it? > > Thanks > > Todd > > > > > Todd Geist > ------------------------------ > geist interactive > 805-419-9382 > _______________________________________________ > use-livecode mailing list > use-livecode at 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 May 13 11:49:27 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Fri, 13 May 2011 08:49:27 -0700 Subject: IDE 'Reset' In-Reply-To: <3F598E33-DAD8-4F4D-99C6-D71F6187C857@canelasoftware.com> References: <4DCA242A.2040405@graymattercomputing.com> <152258322500.20110510231535@ahsoftware.net> <4DCAA51C.2030906@graymattercomputing.com> <149292610796.20110511084704@ahsoftware.net> <4DCC0A09.302@graymattercomputing.com> <118401486421.20110512150139@ahsoftware.net> <4DCC5D48.5090106@graymattercomputing.com> <3F598E33-DAD8-4F4D-99C6-D71F6187C857@canelasoftware.com> Message-ID: <104465554265.20110513084927@ahsoftware.net> Mark- Thursday, May 12, 2011, 3:45:51 PM, you wrote: > Non members are supposed to write a bug report to support > directly. RunRev will file the report in bugzilla for you. That is > my memory on the change. from Kevin 19 Nov 2010: - New customers will be presented with information telling them that they may submit bugs to support at runrev.com, or if they would like direct access to the bug database this is available free of charge on request, just drop us a line in support. -- -Mark Wieder mwieder at ahsoftware.net From bobs at twft.com Fri May 13 11:51:25 2011 From: bobs at twft.com (Bob Sneidar) Date: Fri, 13 May 2011 08:51:25 -0700 Subject: Obscuring password data in a data grid In-Reply-To: References: <79393C12-C377-4927-AB45-CE684B91F467@clarkeandclarke.co.uk> <38E5125B-1863-4F4E-ABAB-817AD4150577@clarkeandclarke.co.uk> Message-ID: <5DA78FB7-69F4-423B-8031-6B2DF6FD7771@twft.com> Agreed. It works for password entry into a temporary dialog box, but not good for storage (if you care anything about real security). You can actually copy the default datagrid parent script to another button and then set the parent script of the datagrid to the new button. At that point you can play around with the nuts and bolts of how a datagrid works and figure out where the field for each column gets created, and do a conditional there. I would not display the actual password on a bullet font, because as it was pointed out, a copy paste into a plain text editor will reveal the passwords. I would simply put 8 bullets in the column field, then upon edit, retrieve the actual password and allow it to be edited. Bob On May 13, 2011, at 6:55 AM, Nonsanity wrote: > Careful with a password protect font. It may not be readable, but someone > can select, copy, and paste somewhere else to read it. I'd only do this if > it were a list of my passwords that I didn't want people to read over my > shoulder, but then in that form, I can't read them either so what's the > point of even displaying them. From massung at gmail.com Fri May 13 11:51:31 2011 From: massung at gmail.com (Jeff Massung) Date: Fri, 13 May 2011 09:51:31 -0600 Subject: CouchDB In-Reply-To: References: Message-ID: Todd, CouchDB (or Mongo, Riak, and other NoSQL alternatives) are excellent databases in the right situation. I haven't used on with LC, but have used CouchDB plenty. Their main benefits lie in A) no schema and B) replication. If you have no need of either, then it might be more work to get working than it's worth. While most NoSQL solutions use a REST API to insert, select, update, etc. the real trick is the JSON input and output through the HTTP protocol. So, what you'd need to do is write a JSON library in LC for encoding and decoding values. Once that's in place, everything else should be trivial. ## example encoding function... likely needs tweaked (doesn't handle null/nil) function encodeJSON pVal if pVal is true then return "true" elseif pVal is false then return "false" elseif isNumber(pVal) then return pVal elseif isArray(pVal) then local tObject = "{" repeat for each line tKey in the keys of pVal put quote & tKey & quote & ":" & encodeJSON pVal[tKey] & comma after tObject end repeat return tObject & "}" end if return quote & pVal & quote end encodeJSON I don't have time to try and whip together an example decode, but it would basically involve parsing JSON and creating either an array (from a JSON object) or just returning the value (since everything in LC is a string). After that it's just posting, getting, etc. Jeff M. From bobs at twft.com Fri May 13 11:53:52 2011 From: bobs at twft.com (Bob Sneidar) Date: Fri, 13 May 2011 08:53:52 -0700 Subject: Obscuring password data in a data grid In-Reply-To: <818C4C20-8A0E-44F9-865F-FA2AC7838BD1@clarkeandclarke.co.uk> References: <79393C12-C377-4927-AB45-CE684B91F467@clarkeandclarke.co.uk> <38E5125B-1863-4F4E-ABAB-817AD4150577@clarkeandclarke.co.uk> <818C4C20-8A0E-44F9-865F-FA2AC7838BD1@clarkeandclarke.co.uk> Message-ID: <88645A7B-43EA-4368-ACC0-6C57A47EAA83@twft.com> If it's anything like important to protect these passwords, show 8 bullets for everything. For one, you don't have to worry about column width for really long passwords, and secondly, knowing how long a password is goes a long way towards brute forcing it. Bob On May 13, 2011, at 7:13 AM, Keith Clarke wrote: > ...good points well made, Chris. > > The password protect font was intended to a) show the user that they'd actually entered something and b) provide 'over the shoulder' protection. > > My intention is to have the data grid read-only but with rows selectable. Row data entry/editing would be in a dialogue box. So, I will try to hide the real passwords in the underlying array - and show just the equivalent number of a place-filler characters in the data grid. > Thanks, > Keith.. From keith.clarke at clarkeandclarke.co.uk Fri May 13 12:02:14 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Fri, 13 May 2011 17:02:14 +0100 Subject: Obscuring password data in a data grid In-Reply-To: <88645A7B-43EA-4368-ACC0-6C57A47EAA83@twft.com> References: <79393C12-C377-4927-AB45-CE684B91F467@clarkeandclarke.co.uk> <38E5125B-1863-4F4E-ABAB-817AD4150577@clarkeandclarke.co.uk> <818C4C20-8A0E-44F9-865F-FA2AC7838BD1@clarkeandclarke.co.uk> <88645A7B-43EA-4368-ACC0-6C57A47EAA83@twft.com> Message-ID: <778D646A-C155-4EA9-9FF2-84D00C82573D@clarkeandclarke.co.uk> ...indeed - plus, there's the added bonus of less scripting required to count the characters! :-) On 13 May 2011, at 16:53, Bob Sneidar wrote: > If it's anything like important to protect these passwords, show 8 bullets for everything. For one, you don't have to worry about column width for really long passwords, and secondly, knowing how long a password is goes a long way towards brute forcing it. > > Bob From capellan2000 at gmail.com Fri May 13 12:54:53 2011 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Fri, 13 May 2011 09:54:53 -0700 (PDT) Subject: Simple way to read the livecode list In-Reply-To: <4DCD3254.7080507@fourthworld.com> References: <8CDDF704B342765-1FEC-B526@webmail-d070.sysops.aol.com> <4DCD3254.7080507@fourthworld.com> Message-ID: <1305305693866-3520682.post@n4.nabble.com> Hi all, Back in 2006, I posted this stack: http://andregarzia.on-rev.com/alejandro/stacks/Mailbox_browser.zip To use this stack, you have to download the mailbox from this page: http://lists.runrev.com/pipermail/use-livecode/ and drag and drop it to a field inside the stack. Notice that is easy to download and open the mailbox from the stack but I am not so sure that RunRev wants this. Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Re-Simple-way-to-read-the-livecode-list-tp3519906p3520682.html Sent from the Revolution - User mailing list archive at Nabble.com. From jacque at hyperactivesw.com Fri May 13 12:56:40 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 13 May 2011 11:56:40 -0500 Subject: Highlight list line on hover? In-Reply-To: <2996F741-00B4-4728-B264-61217062087F@clarkeandclarke.co.uk> References: <4DCBFE9F.7020907@gmail.com> <364224CF-B429-460A-BFB7-57EBDD7601E8@clarkeandclarke.co.uk> <4DCC60AB.4070004@hyperactivesw.com> <2996F741-00B4-4728-B264-61217062087F@clarkeandclarke.co.uk> Message-ID: <4DCD62C8.5000104@hyperactivesw.com> On 5/13/11 2:23 AM, Keith Clarke wrote: > ...a thinko - nice! > > Given the use and definition of mouseover in other environments, > perhaps it was more a repressed pseudonym feature request? There is already a property for mouseover, which I forgot about till now. If you set the hoverIcon on the button it will automatically display when the mouse passes over the button. Maybe you've already found that. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Fri May 13 13:01:55 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 13 May 2011 12:01:55 -0500 Subject: What does Windows 'shell' expect? In-Reply-To: <4DCCEB72.1060203@pdslabs.net> References: <559EE1E5-D9A3-4FC3-AE74-9E540BE088E7@mac.com> <4DCCEB72.1060203@pdslabs.net> Message-ID: <4DCD6403.40708@hyperactivesw.com> On 5/13/11 3:27 AM, Phil Davis wrote: > Graham - > > I'm not a forumite either. I find this list and the livecode-dev list to > be the richest sources of high-intensity help around, regarding LC or > anything even peripherally related. I imagine there must be lots of > value in the forum material as well, but like you I lost interest in > trolling through it. Ditto, it takes too much time to go through the forums and I don't much like forums for tech support in general. But RR's customer base is expanding rapidly right now and I see that more and more people are using the forums for help, especially since this list isn't as widely advertised. So what I did was put the forum's RSS feed into my RSS reader and I try to remember to check that daily. I rarely comment over there but if I see something I want to address, I log in and participate. It at least keeps me appraised of what our newer customers are talking about, and it's the easiest way for me to keep track of what's going on over there. The forum also allows attachments, so sometimes you will find some valuable example stacks there. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From paul at paulhibbitts.com Fri May 13 13:13:13 2011 From: paul at paulhibbitts.com (Paul Hibbitts) Date: Fri, 13 May 2011 10:13:13 -0700 Subject: Viewing mobile version of website in LiveCode Mac/Windows? Message-ID: Thanks for the welcome Richard! I've added my "vote" to the request you linked to - I'd love to see this feature added to revBrowser! Cheers, Paul -- Hey Paul - good to see you here. You wrote: > I am interested in displaying the mobile version of a website in LiveCode, > and when a mobile-specific URL is not available I am wondering if there is a > way to still force the mobile version to display in LiveCode on Mac/Windows. Most web sites switch layouts based on the user-agent, and unfortunately it seems this is not currently settable with RevBrowser - Alex Shaw posted a request for this to the RQCC: In that report Mark Waddingham notes that the enhancement is being considered, but it seems it's not been implemented yet. Given the diversity of web-enabled devices these days this is so useful that I've added my vote there and a note of encouragement that it be considered soon. -- 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 -- Paul Hibbitts Hibbitts Design - Making software work better, from team to customer Tel: +1 604 628 9446 Web: http://www.paulhibbitts.com From jacque at hyperactivesw.com Fri May 13 13:14:20 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 13 May 2011 12:14:20 -0500 Subject: Incredibly slow revlet in Win 7 In-Reply-To: References: <4D93511C.5010703@hyperactivesw.com> <4D9398D3.7080304@tweedly.net> <31CFEDC9-E4AF-42F9-8631-13E9AD315ED7@twft.com> Message-ID: <4DCD66EC.5060107@hyperactivesw.com> On 5/13/11 7:06 AM, Paul Foraker wrote: > All my domains hosted at RunRev return the same IP address: 74.54.153.71, > which makes it impossible to enter the IP address instead of, say, > beta.4spires.com I think it will be something like: http://74.54.153.71/beta/default.html Put in the actual landing page html or php or whatever for the last item. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Fri May 13 13:17:00 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Fri, 13 May 2011 12:17:00 -0500 Subject: Dictionary usage and IDE hang In-Reply-To: <4DCCB953.101@graymattercomputing.com> References: <4DCC7C29.5040600@graymattercomputing.com> <4DCC984D.5000701@hyperactivesw.com> <4DCCA4BA.4090905@graymattercomputing.com> <4DCCB953.101@graymattercomputing.com> Message-ID: <4DCD678C.50305@hyperactivesw.com> On 5/12/11 11:53 PM, David Glass wrote: > Yes, definitely something off about how/when stacks receive the focus. > > Most don't always receive focus when clicking in their content area, > although sometimes they do. > > Sometimes, clicking the Title bar will give the focus to the window, and > it is visually apparent (window widgets enable), sometimes the window > will get the focus and the widgets will not enable, and sometimes the > window won't receive the focus. In the final case, sometimes clicking on > another window and then back on the Title bar will rectify the situation. > > Far too many 'sometimes'-es in there. :/ Yeah, that's the problem. You get it happening and then try to repeat it and it doesn't do it again till next time. There's a bug report about it though and I've added my comments to it. In the mean time I've just got used to clicking directly on the titlebar when I want to switch windows, which generally works okay. The problem started 2 releases ago, on Macs only, when RR added support for the "dirty" dot in the red close button in the titlebar. Before that, all was as you'd expect. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From keith.clarke at clarkeandclarke.co.uk Fri May 13 13:19:18 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Fri, 13 May 2011 18:19:18 +0100 Subject: Highlight list line on hover? In-Reply-To: <4DCD62C8.5000104@hyperactivesw.com> References: <4DCBFE9F.7020907@gmail.com> <364224CF-B429-460A-BFB7-57EBDD7601E8@clarkeandclarke.co.uk> <4DCC60AB.4070004@hyperactivesw.com> <2996F741-00B4-4728-B264-61217062087F@clarkeandclarke.co.uk> <4DCD62C8.5000104@hyperactivesw.com> Message-ID: <2C7F9CD2-9176-44DE-A222-0F9B45FCDCF3@clarkeandclarke.co.uk> Thanks Jaque, I was aware of that button property but it wouldn't help to get a list field's row hilite to change with mouseover. But don't worry - whilst my learning continues, my problem has been solved! ;-) On 13 May 2011, at 17:56, J. Landman Gay wrote: > On 5/13/11 2:23 AM, Keith Clarke wrote: >> ...a thinko - nice! >> >> Given the use and definition of mouseover in other environments, >> perhaps it was more a repressed pseudonym feature request? > > There is already a property for mouseover, which I forgot about till now. If you set the hoverIcon on the button it will automatically display when the mouse passes over the button. Maybe you've already found that. > > -- > 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 todd at geistinteractive.com Fri May 13 14:27:39 2011 From: todd at geistinteractive.com (Todd Geist) Date: Fri, 13 May 2011 11:27:39 -0700 Subject: CouchDB In-Reply-To: References: Message-ID: Thanks for the responses. I believe there already is a JSON library in Live Code. So that isn't the main issue to me. The main issue is how to get CouchDB bundled into a standalone that runs on Desktops and Mobile devices. That is the part that I have no idea how to do. I am not even sure if it can be done. Possiblly through an external??? Todd On Fri, May 13, 2011 at 8:51 AM, Jeff Massung wrote: > Todd, > > CouchDB (or Mongo, Riak, and other NoSQL alternatives) are excellent > databases in the right situation. I haven't used on with LC, but have used > CouchDB plenty. Their main benefits lie in A) no schema and B) replication. > If you have no need of either, then it might be more work to get working > than it's worth. > > While most NoSQL solutions use a REST API to insert, select, update, etc. > the real trick is the JSON input and output through the HTTP protocol. So, > what you'd need to do is write a JSON library in LC for encoding and > decoding values. Once that's in place, everything else should be trivial. > > ## example encoding function... likely needs tweaked (doesn't handle > null/nil) > function encodeJSON pVal > if pVal is true then > return "true" > elseif pVal is false then > return "false" > elseif isNumber(pVal) then > return pVal > elseif isArray(pVal) then > local tObject = "{" > > repeat for each line tKey in the keys of pVal > put quote & tKey & quote & ":" & encodeJSON pVal[tKey] & comma after > tObject > end repeat > > return tObject & "}" > end if > > return quote & pVal & quote > end encodeJSON > > I don't have time to try and whip together an example decode, but it would > basically involve parsing JSON and creating either an array (from a JSON > object) or just returning the value (since everything in LC is a string). > > After that it's just posting, getting, etc. > > 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 > Todd Geist ------------------------------ geist interactive 805-419-9382 From bvg at mac.com Fri May 13 15:52:27 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Fri, 13 May 2011 21:52:27 +0200 Subject: Live LiveCode code event #23 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> Message-ID: Next event is tomorrow. Due to horrible Jet Lag problems for me, and Marks ability to only do the work of 2 people at once (but not 3), we still desperately need other people ready to do organisation of these events. On a related note, we also need presenters, for all future weekends (not tomorrow tho). Tomorrow, Andreas will update us with more information about his complete HIG conforming widget library for iOS. Every iOS deploying LiveCode user needs it, especially those wanting to become viable in the iOS business market. http://livecode.tv/andreas/ I will show a very basic intro to something in LiveCode, but I have no clue what yet. Maybe message path, or explaining the 5 different things that are named 'stack'. As mentioned in another event, I do love surprises. Sorry for that. http://livecode.tv/bvg/ To watch these presentations, please join chatrev (you can find it at http://bjoernke.com/chatrev/ ) at 20:00 CET which some website tells me translates to this: Edinburgh 19:00 Boston 14:00 Los Angeles 11:00 Hong Kong 02:00 (Sun) Same info and past presentations can be found on http://livecode.tv . Cheers Bj?rnke From bvg at mac.com Fri May 13 15:54:51 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Fri, 13 May 2011 21:54:51 +0200 Subject: link to my #22 event presentation In-Reply-To: <3FC83F19-3835-4B09-88B9-965B2071A16B@verizon.net> References: <3FC83F19-3835-4B09-88B9-965B2071A16B@verizon.net> Message-ID: <15F22A65-83DD-4700-A07C-0D5E9519AF71@mac.com> Right, I don't know how Mark could miss that, but it seems he's simply too busy working, so I added this to the relevant places for him now. On 13 May 2011, at 06:57, Colin Holgate wrote: > There still isn't a link on livecode.tv to the recording of my presentation last Saturday, and I haven't seen any messages about event #23, so I guess the guys are busy with something at the moment. > > The recording did work though, and I found the link on my Ustream page. It's here: > > http://www.ustream.tv/recorded/14547851 > > The quality is good enough to look quite readable in full screen. It's 50 minutes long. > > I listened to some of it, and the lags that happen live are in the recording, so if you hear it pause, don't do anything, the sound picks up exactly where it was when it starts again. > > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Fri May 13 16:08:29 2011 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 13 May 2011 10:08:29 -1000 Subject: CouchDB In-Reply-To: References: Message-ID: Todd, You should not try to bundle CouchDB. CouchDB relies on Erlang OTB and friends, it is not something like SQLite that you can embed. If you want some embedable solution look at Googles LiveTable thing or some other key/value store but even so, those embedable solutions will not present you with a REST interface, you will probably need an external to talk to them. CouchDB and similar NoSQL are not built to be used like components that you can simply carry around with your software, just like MySQL and PostgreSQL, they are full servers. Packaging full servers like that is not wise even though there are MAMP and LAMP pre packaged solutions out there. You might be able to build them to a self contained folder and carry all the needed libs or link static and whatever but still, that was not what it was designed to do. If you want embedable you'd better go with SQLite, BDB or Valentina and then build a schemaless stuff on top of it. Andre On Fri, May 13, 2011 at 8:27 AM, Todd Geist wrote: > Thanks for the responses. > > > I believe there already is a JSON library in Live Code. So that isn't the > main issue to me. The main issue is how to get CouchDB bundled into a > standalone that runs on Desktops and Mobile devices. That is the part that > I > have no idea how to do. I am not even sure if it can be done. Possiblly > through an external??? > > Todd > > > > > On Fri, May 13, 2011 at 8:51 AM, Jeff Massung wrote: > > > Todd, > > > > CouchDB (or Mongo, Riak, and other NoSQL alternatives) are excellent > > databases in the right situation. I haven't used on with LC, but have > used > > CouchDB plenty. Their main benefits lie in A) no schema and B) > replication. > > If you have no need of either, then it might be more work to get working > > than it's worth. > > > > While most NoSQL solutions use a REST API to insert, select, update, etc. > > the real trick is the JSON input and output through the HTTP protocol. > So, > > what you'd need to do is write a JSON library in LC for encoding and > > decoding values. Once that's in place, everything else should be trivial. > > > > ## example encoding function... likely needs tweaked (doesn't handle > > null/nil) > > function encodeJSON pVal > > if pVal is true then > > return "true" > > elseif pVal is false then > > return "false" > > elseif isNumber(pVal) then > > return pVal > > elseif isArray(pVal) then > > local tObject = "{" > > > > repeat for each line tKey in the keys of pVal > > put quote & tKey & quote & ":" & encodeJSON pVal[tKey] & comma after > > tObject > > end repeat > > > > return tObject & "}" > > end if > > > > return quote & pVal & quote > > end encodeJSON > > > > I don't have time to try and whip together an example decode, but it > would > > basically involve parsing JSON and creating either an array (from a JSON > > object) or just returning the value (since everything in LC is a string). > > > > After that it's just posting, getting, etc. > > > > 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 > > > > > Todd Geist > ------------------------------ > geist interactive > 805-419-9382 > _______________________________________________ > use-livecode mailing list > use-livecode 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 Fri May 13 16:17:23 2011 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 13 May 2011 10:17:23 -1000 Subject: Classic CGI questions In-Reply-To: <22658A72-58D7-414E-B3BB-2744DC54233A@economy-x-talk.com> References: <72931559-7743-4183-94F6-04935523137A@derbrill.de> <22658A72-58D7-414E-B3BB-2744DC54233A@economy-x-talk.com> Message-ID: Malte and Mark, There is a great chance that there won't be a $CONTENT_LENGHT variable, the variables I've seen are usually: DOCUMENT_ROOT The root directory of your server HTTP_COOKIE The visitor's cookie, if one is set HTTP_HOST The hostname of the page being attempted HTTP_REFERER The URL of the page that called your program HTTP_USER_AGENT The browser type of the visitor HTTPS "on" if the program is being called through a secure server PATH The system path your server is running under QUERY_STRING The query string (see GET, below) REMOTE_ADDR The IP address of the visitor REMOTE_HOST The hostname of the visitor (if your server has reverse-name-lookups on; otherwise this is the IP address again) REMOTE_PORT The port the visitor is connected to on the web server REMOTE_USER The visitor's username (for .htaccess-protected pages) REQUEST_METHOD GET or POST REQUEST_URI The interpreted pathname of the requested document or CGI (relative to the document root) SCRIPT_FILENAME The full pathname of the current CGI SCRIPT_NAME The interpreted pathname of the current CGI (relative to the document root) SERVER_ADMIN The email address for your server's webmaster SERVER_NAME Your server's fully qualified domain name (e.g. www.cgi101.com) SERVER_PORT The port number your server is listening on SERVER_SOFTWARE The server software you're using (e.g. Apache 1.3) Malte grab the RevOnRockets package from my website and look into RocketsCGI.rev, there you will see code to do all those kind of stuff. Don't search for that in HTTPd.Rev that is the server, it does things differently, you need to look into the rockets cgi library. There is code there to handle POST. There is also libcgi.rev in there that can also handle POSTs and might be easier to read. (my code is messy and old, libcgi is old but tight) On Fri, May 13, 2011 at 5:14 AM, Mark Schonewille < m.schonewille at economy-x-talk.com> wrote: > Hi Malte, > > > Can I on the CGI side see the HTTP Headers I have set in the LC Client? > > Yes, somehow. Try the environment variables perhaps? Check the globalnames. > The CGI system I use keeps the most important headers in separate > environment variables. I'm unable to get the complete headers at once. PHP > would let you do that ;-) > > > Can I find out how long the content being posted is? > > Yes, in the headers or try $CONTENT_LENGTH > > > What is the most reliable method to read in POST data without hogging > 100% CPU time on the server machine? > > Huh? AFAIK there is only one way: > > read from stdIn until empty > read from stdIn until cr > read from stdIn for 100 > > Perhaps the hogging is not due to reading the data. Could it be a problem > with not being able to show the 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 > > New: Download the Installer Maker Plugin 1.6 for LiveCode here > http://qery.us/ce > > On 13 mei 2011, at 16:36, Malte Brill wrote: > > > > > Hi all, > > > > as I did not do too many CGIs in the past, I?d like to reassure myself to > find reliable methods of reading in post data. > > > > Why CGI and not revServer? - Need to deploy on a windows server (server > 2003 running Apache) > > > > I am posting data from a LiveCode Client to a Rev 3.5 CGI > > > > Questions: > > > > Can I on the CGI side see the HTTP Headers I have set in the LC Client? > > Can I find out how long the content being posted is? > > What is the most reliable method to read in POST data without hogging > 100% CPU time on the server machine? > > > > Thanks in advance, > > > > 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 > -- http://www.andregarzia.com All We Do Is Code. From mcgrath3 at mac.com Fri May 13 16:45:10 2011 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Fri, 13 May 2011 16:45:10 -0400 Subject: Image fileName problem Message-ID: <574B53B9-5371-47D0-B95C-48E83B64CFA1@mac.com> I am trying to upload an image to on-rev and am running into a problem. I wonder if anyone can help? I have an image object named "TestImage" that I set the file name to an image on disk using the inspector icon (Folder). (This is the important part) The inspector puts ./../../LRS.png into the fileName field in the inspector. (I seem to remember previous versions putting the full path name instead) The image will upload to the server using this code: --------------- constant FTPHOST = "ftp.liveconnectonline.com/" constant FTPUSER = "liveconnectonline%40lazyriver.on-rev.com" constant FTPPASS = "*******" on mouseUp local tFileForUpload, tFileName put the fileName of image "TestImage" into tFileForUpload set the itemdel to "/" put the last item of tFileForUpload into tFileName put empty into field "Results" local tDestination put "ftp://" & FTPUSER & ":" & FTPPASS & "@" & "ftp.liveconnectonline.com/liveconnectonline/ClientOne/" & tFileName into tDestination libURLftpUploadFile tFileForUpload, tDestination, "uploadComplete" end mouseUp on uploadComplete pURL, pStatus put "Status Update:" && pStatus && return after field "Results" end uploadComplete --------------- BUT the file that gets uploaded is not a true PNG file and will not open in any image processor. It also does not indicate the correct file size. NOW if I type into the fileName field of the inspector the full path to the image -- /Users/mcgrath3/Desktop/LRS2.png -- it then works correctly. It is like getting the fileName with the ./../../ is not being processed correctly or that it is not what should be being entered by the inspector. Is this normal? I don't ever remember this happening before locally with or without trying to upload to a server. Does anyone else see what the problem might be? Thanks -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net From ruslan_zasukhin at valentina-db.com Fri May 13 17:07:00 2011 From: ruslan_zasukhin at valentina-db.com (Ruslan Zasukhin) Date: Sat, 14 May 2011 00:07:00 +0300 Subject: CouchDB In-Reply-To: Message-ID: On 5/13/11 11:08 PM, "Andre Garzia" wrote: > If you want embedable > you'd better go with SQLite, BDB or Valentina and then build a schemaless > stuff on top of it. Note, that Valentina DB from yet 1998 year offers Very reach NON-SQL API. And V4REV - Valentina for Revolution/Livecode have it. Just I am not sure, that string-based livecode language is best choice for such kinds of API. -- 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 todd at geistinteractive.com Fri May 13 17:14:54 2011 From: todd at geistinteractive.com (Todd Geist) Date: Fri, 13 May 2011 14:14:54 -0700 Subject: CouchDB In-Reply-To: References: Message-ID: Thanks again for more responses But my interest in couchDB is about getting a database with built in world class synchronization. If it can be embedded in iOS apps and Android apps why can't it be embedded in LiveCode apps. Thanks Todd On Fri, May 13, 2011 at 2:07 PM, Ruslan Zasukhin < ruslan_zasukhin at valentina-db.com> wrote: > On 5/13/11 11:08 PM, "Andre Garzia" wrote: > > > If you want embedable > > you'd better go with SQLite, BDB or Valentina and then build a schemaless > > stuff on top of it. > > Note, that Valentina DB from yet 1998 year offers > Very reach NON-SQL API. > > And V4REV - Valentina for Revolution/Livecode have it. > > > Todd Geist ------------------------------ geist interactive 805-419-9382 From andre at andregarzia.com Fri May 13 17:51:28 2011 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 13 May 2011 11:51:28 -1000 Subject: CouchDB In-Reply-To: References: Message-ID: Todd, You are mixing CouchDB Server with Mobile Couchbase. Mobile Couchbase ( http://www.couchbase.com/products-and-services/mobile-couchbase ) is a product that will basically synchronizes your data on your device, it is not a full featured CouchDB server but hey, mobile couchbase is a wonderful product and it has a good use. I think mobile couchbase could be made into an external with the new external API. This way, your application would be able to syncronize and cache data from a CouchDB server. but my opinion stands, can't embed CouchDB. Mobile couchbase might be what you need. On Fri, May 13, 2011 at 11:14 AM, Todd Geist wrote: > Thanks again for more responses > > But my interest in couchDB is about getting a database with built in world > class synchronization. > > If it can be embedded in iOS apps and Android apps why can't it be embedded > in LiveCode apps. > > Thanks > > Todd > > On Fri, May 13, 2011 at 2:07 PM, Ruslan Zasukhin < > ruslan_zasukhin at valentina-db.com> wrote: > > > On 5/13/11 11:08 PM, "Andre Garzia" wrote: > > > > > If you want embedable > > > you'd better go with SQLite, BDB or Valentina and then build a > schemaless > > > stuff on top of it. > > > > Note, that Valentina DB from yet 1998 year offers > > Very reach NON-SQL API. > > > > And V4REV - Valentina for Revolution/Livecode have it. > > > > > > Todd Geist > ------------------------------ > geist interactive > 805-419-9382 > _______________________________________________ > use-livecode mailing list > use-livecode 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 paul at whitefeather.com Fri May 13 18:04:54 2011 From: paul at whitefeather.com (paul foraker) Date: Fri, 13 May 2011 15:04:54 -0700 Subject: Incredibly slow revlet in Win 7 In-Reply-To: <4DCD66EC.5060107@hyperactivesw.com> References: <4D93511C.5010703@hyperactivesw.com> <4D9398D3.7080304@tweedly.net> <31CFEDC9-E4AF-42F9-8631-13E9AD315ED7@twft.com> <4DCD66EC.5060107@hyperactivesw.com> Message-ID: On Fri, May 13, 2011 at 10:14 AM, J. Landman Gay wrote: > I think it will be something like: > > http://74.54.153.71/beta/default.html > > Put in the actual landing page html or php or whatever for the last item. > Nope... Apache doesn't find the page, even with the full path for my account and the subsequent directories. I think it's his firewall. -- White Feather Software www.whitefeather.com Cell: 408-391-1480 Skype: pwforaker From bonnmike at gmail.com Fri May 13 18:07:55 2011 From: bonnmike at gmail.com (Mike Bonner) Date: Fri, 13 May 2011 16:07:55 -0600 Subject: Image fileName problem In-Reply-To: <574B53B9-5371-47D0-B95C-48E83B64CFA1@mac.com> References: <574B53B9-5371-47D0-B95C-48E83B64CFA1@mac.com> Message-ID: Don't know the specific answer to the problem, but I think if you go into preferences, files & memory and check the always use absolute file paths for images it will stop the relative referencing. On Fri, May 13, 2011 at 2:45 PM, Thomas McGrath III wrote: > I am trying to upload an image to on-rev and am running into a problem. I > wonder if anyone can help? > > I have an image object named "TestImage" that I set the file name to an > image on disk using the inspector icon (Folder). (This is the important > part) > The inspector puts ./../../LRS.png into the fileName field in the > inspector. (I seem to remember previous versions putting the full path name > instead) > > The image will upload to the server using this code: > --------------- > constant FTPHOST = "ftp.liveconnectonline.com/" > constant FTPUSER = "liveconnectonline%40lazyriver.on-rev.com" > constant FTPPASS = "*******" > > on mouseUp > local tFileForUpload, tFileName > put the fileName of image "TestImage" into tFileForUpload > set the itemdel to "/" > put the last item of tFileForUpload into tFileName > put empty into field "Results" > > local tDestination > put "ftp://" & FTPUSER & ":" & FTPPASS & "@" & " > ftp.liveconnectonline.com/liveconnectonline/ClientOne/" & tFileName into > tDestination > libURLftpUploadFile tFileForUpload, tDestination, "uploadComplete" > end mouseUp > > on uploadComplete pURL, pStatus > put "Status Update:" && pStatus && return after field "Results" > end uploadComplete > --------------- > > BUT the file that gets uploaded is not a true PNG file and will not open in > any image processor. It also does not indicate the correct file size. > > NOW if I type into the fileName field of the inspector the full path to the > image -- /Users/mcgrath3/Desktop/LRS2.png -- it then works correctly. > > It is like getting the fileName with the ./../../ is not being processed > correctly or that it is not what should be being entered by the inspector. > > Is this normal? I don't ever remember this happening before locally with or > without trying to upload to a server. > > Does anyone else see what the problem might be? > > > Thanks > > > -- Tom McGrath III > http://lazyriver.on-rev.com > 3mcgrath at comcast.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 todd at geistinteractive.com Fri May 13 18:19:15 2011 From: todd at geistinteractive.com (Todd Geist) Date: Fri, 13 May 2011 15:19:15 -0700 Subject: CouchDB In-Reply-To: References: Message-ID: Hello Andre, Mobile Couchbase is a slimmed down small as possible version of CouchBase. It is still written in Erlang. And it still based on Apache CouchDB. I think they are much more like different distros of the same application, then they are different applications. Again, I don't really care if it was written in Old English, :>) What care about is the Synchronization. And if mobile CouchBase can be turned into an external for Live Code I think that would be a very good thing. Especially for the mobile platform. Todd On Fri, May 13, 2011 at 2:51 PM, Andre Garzia wrote: > Todd, > > You are mixing CouchDB Server with Mobile Couchbase. Mobile Couchbase ( > http://www.couchbase.com/products-and-services/mobile-couchbase ) is a > product that will basically synchronizes your data on your device, it is > not > a full featured CouchDB server but hey, mobile couchbase is a wonderful > product and it has a good use. I think mobile couchbase could be made into > an external with the new external API. This way, your application would be > able to syncronize and cache data from a CouchDB server. > > but my opinion stands, can't embed CouchDB. Mobile couchbase might be what > you need. > > On Fri, May 13, 2011 at 11:14 AM, Todd Geist >wrote: > > > Thanks again for more responses > > > > But my interest in couchDB is about getting a database with built in > world > > class synchronization. > > > > If it can be embedded in iOS apps and Android apps why can't it be > embedded > > in LiveCode apps. > > > > Thanks > > > > Todd > > > > On Fri, May 13, 2011 at 2:07 PM, Ruslan Zasukhin < > > ruslan_zasukhin at valentina-db.com> wrote: > > > > > On 5/13/11 11:08 PM, "Andre Garzia" wrote: > > > > > > > If you want embedable > > > > you'd better go with SQLite, BDB or Valentina and then build a > > schemaless > > > > stuff on top of it. > > > > > > Note, that Valentina DB from yet 1998 year offers > > > Very reach NON-SQL API. > > > > > > And V4REV - Valentina for Revolution/Livecode have it. > > > > > > > > > Todd Geist > > ------------------------------ > > geist interactive > > 805-419-9382 > > _______________________________________________ > > use-livecode mailing list > > use-livecode 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. > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > Todd Geist ------------------------------ geist interactive 805-419-9382 From andre at andregarzia.com Fri May 13 19:05:32 2011 From: andre at andregarzia.com (Andre Garzia) Date: Fri, 13 May 2011 13:05:32 -1000 Subject: CouchDB In-Reply-To: References: Message-ID: Todd, when the new external sdk is release, I am sure someone will be able to wrap it. :-D cheers andre On Fri, May 13, 2011 at 12:19 PM, Todd Geist wrote: > Hello Andre, > > Mobile Couchbase is a slimmed down small as possible version of CouchBase. > It is still written in Erlang. And it still based on Apache CouchDB. I > think they are much more like different distros of the same application, > then they are different applications. > > Again, I don't really care if it was written in Old English, :>) > > What care about is the Synchronization. And if mobile CouchBase can be > turned into an external for Live Code I think that would be a very good > thing. Especially for the mobile platform. > > > Todd > > On Fri, May 13, 2011 at 2:51 PM, Andre Garzia > wrote: > > > Todd, > > > > You are mixing CouchDB Server with Mobile Couchbase. Mobile Couchbase ( > > http://www.couchbase.com/products-and-services/mobile-couchbase ) is a > > product that will basically synchronizes your data on your device, it is > > not > > a full featured CouchDB server but hey, mobile couchbase is a wonderful > > product and it has a good use. I think mobile couchbase could be made > into > > an external with the new external API. This way, your application would > be > > able to syncronize and cache data from a CouchDB server. > > > > but my opinion stands, can't embed CouchDB. Mobile couchbase might be > what > > you need. > > > > On Fri, May 13, 2011 at 11:14 AM, Todd Geist > >wrote: > > > > > Thanks again for more responses > > > > > > But my interest in couchDB is about getting a database with built in > > world > > > class synchronization. > > > > > > If it can be embedded in iOS apps and Android apps why can't it be > > embedded > > > in LiveCode apps. > > > > > > Thanks > > > > > > Todd > > > > > > On Fri, May 13, 2011 at 2:07 PM, Ruslan Zasukhin < > > > ruslan_zasukhin at valentina-db.com> wrote: > > > > > > > On 5/13/11 11:08 PM, "Andre Garzia" wrote: > > > > > > > > > If you want embedable > > > > > you'd better go with SQLite, BDB or Valentina and then build a > > > schemaless > > > > > stuff on top of it. > > > > > > > > Note, that Valentina DB from yet 1998 year offers > > > > Very reach NON-SQL API. > > > > > > > > And V4REV - Valentina for Revolution/Livecode have it. > > > > > > > > > > > > Todd Geist > > > ------------------------------ > > > geist interactive > > > 805-419-9382 > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode 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. > > _______________________________________________ > > use-livecode mailing list > > use-livecode at lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > > > Todd Geist > ------------------------------ > geist interactive > 805-419-9382 > _______________________________________________ > use-livecode mailing list > use-livecode 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 johnpatten at mac.com Fri May 13 19:42:25 2011 From: johnpatten at mac.com (John Patten) Date: Fri, 13 May 2011 16:42:25 -0700 Subject: Animation Via Repeated Loop calls? In-Reply-To: <4DCCEB72.1060203@pdslabs.net> References: <559EE1E5-D9A3-4FC3-AE74-9E540BE088E7@mac.com> <4DCCEB72.1060203@pdslabs.net> Message-ID: <69F82798-9105-46B7-B886-87F5D9366260@mac.com> Hi All... I'm trying to get my head around the idea of using repeated loop to animate objects. These are probably pretty basic concepts, but I feel I need to get some basic understanding on things such as interrupting a loop, etc. For example, On a card there's a graphic object, a field and a button. The button contains the following script: on mouseUp if cd fld 1 is "True" then moveTheBall put "false" into cd fld 1 else put "True" into cd fld 1 end if end mouseUp on moveTheBall --put the loc of grc 1 into tCurrentBallLoc repeat 20 add 10 to item 2 of tCurrentBallLoc move grc 1 to tCurrentBallLoc wait 25 milliseconds if cd fld 1 is "false" then exit moveTheBall end if end repeat end moveTheBall This animates the graphic object however my means to interrupt the loop don't quite cut it as the trigger doesn't get implemented until after the command. What would be the proper way to interrupt a repeat? Anybody of some simple examples of animating objects via loops? Thank you! John Patten SUSD From m.schonewille at economy-x-talk.com Fri May 13 19:45:28 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sat, 14 May 2011 01:45:28 +0200 Subject: link to my #22 event presentation In-Reply-To: <3FC83F19-3835-4B09-88B9-965B2071A16B@verizon.net> References: <3FC83F19-3835-4B09-88B9-965B2071A16B@verizon.net> Message-ID: <3E26D622-64C4-484D-9626-2A555350B9D8@economy-x-talk.com> Sorry, Colin, When I organise the event, I always ask people for any materials and links the monday after their presentation. Your brief answer led me to think that there was no recording. It seems it got fixed already, thanks to Bj?rnke. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce On 13 mei 2011, at 06:57, Colin Holgate wrote: > There still isn't a link on livecode.tv to the recording of my presentation last Saturday, and I haven't seen any messages about event #23, so I guess the guys are busy with something at the moment. > > The recording did work though, and I found the link on my Ustream page. It's here: > > http://www.ustream.tv/recorded/14547851 > > The quality is good enough to look quite readable in full screen. It's 50 minutes long. > > I listened to some of it, and the lags that happen live are in the recording, so if you hear it pause, don't do anything, the sound picks up exactly where it was when it starts again. From scott at tactilemedia.com Fri May 13 20:20:55 2011 From: scott at tactilemedia.com (Scott Rossi) Date: Fri, 13 May 2011 17:20:55 -0700 Subject: Animation Via Repeated Loop calls? In-Reply-To: <69F82798-9105-46B7-B886-87F5D9366260@mac.com> Message-ID: Hi John: You really should use "send in..." to allow for interruptions of a loop. Without knowing exactly what kind of motion you are trying to achieve, here's how I would do it: -- SINCE YOU ARE USING FIELD 1 AS A SWITCH, -- YOU CAN TREAT IT AS SUCH, BEING EITHER ON (TRUE) OR OFF (FALSE) -- IN THIS CASE ALL REFERENCES TO "FIELD 1" ARE -- EITHER TRUE OR FALSE local moveCount -- STORES THE NUMBER OF TIMES THE BALL HAS MOVED on mouseUp put not fld 1 into fld 1 if fld 1 then put 0 into moveCount -- RESET THE LOOP COUNTER moveTheBall end if end mouseUp on moveTheBall if not fld 1 or moveCount = 20 then exit moveTheBall move grc 1 rel 0,10 -- MOVES THE BALL DOWN 10 PIX add 1 to moveCount send "moveTheBall" to me in 10 millisecs end moveTheBall The first line of moveTheBall will exit the handler if field 1 contains "false" or if the number of move loops = 20. You should be able to interrupt the ball's motion at any time thanks to the "send..." command at the end of the handler. Hope this helps. Regards, Scott Rossi Creative Director Tactile Media, UX Design Recently, John Patten wrote: > Hi All... > > I'm trying to get my head around the idea of using repeated loop to > animate objects. These are probably pretty basic concepts, but I feel > I need to get some basic understanding on things such as interrupting > a loop, etc. > > For example, > > On a card there's a graphic object, a field and a button. The button > contains the following script: > > on mouseUp > if cd fld 1 is "True" then > moveTheBall > put "false" into cd fld 1 > else > put "True" into cd fld 1 > > end if > end mouseUp > > > on moveTheBall > --put the loc of grc 1 into tCurrentBallLoc > repeat 20 > add 10 to item 2 of tCurrentBallLoc > move grc 1 to tCurrentBallLoc > wait 25 milliseconds > if cd fld 1 is "false" then > exit moveTheBall > end if > end repeat > end moveTheBall > > This animates the graphic object however my means to interrupt the > loop don't quite cut it as the trigger doesn't get implemented until > after the command. > > What would be the proper way to interrupt a repeat? Anybody of some > simple examples of animating objects via loops? > > Thank you! > > 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 capellan2000 at gmail.com Fri May 13 20:33:00 2011 From: capellan2000 at gmail.com (Alejandro Tejada) Date: Fri, 13 May 2011 17:33:00 -0700 (PDT) Subject: Animation Via Repeated Loop calls? In-Reply-To: <69F82798-9105-46B7-B886-87F5D9366260@mac.com> References: <559EE1E5-D9A3-4FC3-AE74-9E540BE088E7@mac.com> <4DCCEB72.1060203@pdslabs.net> <69F82798-9105-46B7-B886-87F5D9366260@mac.com> Message-ID: <1305333180264-3521515.post@n4.nabble.com> Hi John, John Patten wrote: > > I'm trying to get my head around the idea of using repeated loop to > animate objects. These are probably pretty basic concepts, but I feel > I need to get some basic understanding on things such as interrupting > a loop, etc. > [snip] > What would be the proper way to interrupt a repeat? Anybody of some > simple examples of animating objects via loops? > Visit Scott Rossi webpage, click on Software, then click at Revolution Tutorials & Demos: http://www.tactilemedia.com/ These stacks shows exactly what you are looking for: http://www.tactilemedia.com/site_files/downloads/swarm.rev.zip http://www.tactilemedia.com/site_files/downloads/bouncer2.rev.zip Check these stacks too, for another application of the same technique: http://andregarzia.on-rev.com/alejandro/stacks/walkingman_Rossi.zip http://andregarzia.on-rev.com/alejandro/stacks/walkingman_2.zip By the way, when you reply a message of Graham, to start a new thread, Nabble hides your message under that other thread. Because of this, this thread named "Animation Via Repeated Loop calls?" would not appear with his own subject in Nabble. Al -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/What-does-Windows-shell-expect-tp3516926p3521515.html Sent from the Revolution - User mailing list archive at Nabble.com. From coiin at verizon.net Fri May 13 21:05:23 2011 From: coiin at verizon.net (Colin Holgate) Date: Fri, 13 May 2011 21:05:23 -0400 Subject: link to my #22 event presentation In-Reply-To: <3E26D622-64C4-484D-9626-2A555350B9D8@economy-x-talk.com> References: <3FC83F19-3835-4B09-88B9-965B2071A16B@verizon.net> <3E26D622-64C4-484D-9626-2A555350B9D8@economy-x-talk.com> Message-ID: <7DB62515-E923-4903-A572-85AC0298ADD0@verizon.net> I see your point. I'm a brief kinda guy! In this particular instance I was quite happy to tell everything about my stack, but couldn't really give it away, if I hope to complete it as a mobile app. On May 13, 2011, at 7:45 PM, Mark Schonewille wrote: > When I organise the event, I always ask people for any materials and links the monday after their presentation. Your brief answer led me to think that there was no recording. It seems it got fixed already, thanks to Bj?rnke. From mcgrath3 at mac.com Sat May 14 08:04:32 2011 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Sat, 14 May 2011 08:04:32 -0400 Subject: Image fileName problem In-Reply-To: References: <574B53B9-5371-47D0-B95C-48E83B64CFA1@mac.com> Message-ID: <58ECCD20-2235-4ACC-A674-731CCAD0E022@mac.com> Mike, That did it. I just knew that the filenames were full paths before and assumed it was a change in 4.6 Thanks -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On May 13, 2011, at 6:07 PM, Mike Bonner wrote: > Don't know the specific answer to the problem, but I think if you go into > preferences, files & memory and check the always use absolute file paths for > images it will stop the relative referencing. > > On Fri, May 13, 2011 at 2:45 PM, Thomas McGrath III wrote: > >> I am trying to upload an image to on-rev and am running into a problem. I >> wonder if anyone can help? >> >> I have an image object named "TestImage" that I set the file name to an >> image on disk using the inspector icon (Folder). (This is the important >> part) >> The inspector puts ./../../LRS.png into the fileName field in the >> inspector. (I seem to remember previous versions putting the full path name >> instead) >> >> The image will upload to the server using this code: >> --------------- >> constant FTPHOST = "ftp.liveconnectonline.com/" >> constant FTPUSER = "liveconnectonline%40lazyriver.on-rev.com" >> constant FTPPASS = "*******" >> >> on mouseUp >> local tFileForUpload, tFileName >> put the fileName of image "TestImage" into tFileForUpload >> set the itemdel to "/" >> put the last item of tFileForUpload into tFileName >> put empty into field "Results" >> >> local tDestination >> put "ftp://" & FTPUSER & ":" & FTPPASS & "@" & " >> ftp.liveconnectonline.com/liveconnectonline/ClientOne/" & tFileName into >> tDestination >> libURLftpUploadFile tFileForUpload, tDestination, "uploadComplete" >> end mouseUp >> >> on uploadComplete pURL, pStatus >> put "Status Update:" && pStatus && return after field "Results" >> end uploadComplete >> --------------- >> >> BUT the file that gets uploaded is not a true PNG file and will not open in >> any image processor. It also does not indicate the correct file size. >> >> NOW if I type into the fileName field of the inspector the full path to the >> image -- /Users/mcgrath3/Desktop/LRS2.png -- it then works correctly. >> >> It is like getting the fileName with the ./../../ is not being processed >> correctly or that it is not what should be being entered by the inspector. >> >> Is this normal? I don't ever remember this happening before locally with or >> without trying to upload to a server. >> >> Does anyone else see what the problem might be? >> >> >> Thanks >> >> >> -- Tom McGrath III >> http://lazyriver.on-rev.com >> 3mcgrath at comcast.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 keith.clarke at clarkeandclarke.co.uk Sat May 14 10:24:57 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Sat, 14 May 2011 15:24:57 +0100 Subject: XMLAndArray library ConvertXMLToArray() function - prep. Message-ID: <24991D3F-44A0-4AE0-94AE-5BE0D4FEA2BA@clarkeandclarke.co.uk> Hi folks, I'm learning about XML & Arrays by attempting to process some web service call responses using the ConvertXMLToArray() in Trevor DeVore's XMLAndArrays library http://revonline2.runrev.com/stack/571/XMLAndArrays The XML data looks fine to the human eye when put into a field, but the output array from the above function seems to be empty. I noticed in the library's related TestXMLToArray function (which works on an imported file and then calls the above) that there is some pre-processing with "put URL ("binfile:" & it) into theXML" but I tried this without success. Any clues as to what I've overlooked? Best, Keith.. From jimaultwins at yahoo.com Sat May 14 11:14:46 2011 From: jimaultwins at yahoo.com (Jim Ault) Date: Sat, 14 May 2011 08:14:46 -0700 Subject: XMLAndArray library ConvertXMLToArray() function - prep. In-Reply-To: <24991D3F-44A0-4AE0-94AE-5BE0D4FEA2BA@clarkeandclarke.co.uk> References: <24991D3F-44A0-4AE0-94AE-5BE0D4FEA2BA@clarkeandclarke.co.uk> Message-ID: On May 14, 2011, at 7:24 AM, Keith Clarke wrote: > I'm learning about XML & Arrays by attempting to process some web > service call responses using the ConvertXMLToArray() in Trevor > DeVore's XMLAndArrays library http://revonline2.runrev.com/stack/571/XMLAndArrays > > The XML data looks fine to the human eye when put into a field, but > the output array from the above function seems to be empty. > > I noticed in the library's related TestXMLToArray function (which > works on an imported file and then calls the above) that there is > some pre-processing with "put URL ("binfile:" & it) into theXML" but > I tried this without success. > > Any clues as to what I've overlooked? There is one data source I found on the internet that I had to use the following: replace null with empty in outsiderDataBlock The filter command fails if any null chars are in the text block. Additionally, can you inspect the text block in something like BBEdit so you can see any odd chars? Jim Ault Las Vegas From keith.clarke at clarkeandclarke.co.uk Sat May 14 11:48:31 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Sat, 14 May 2011 16:48:31 +0100 Subject: XMLAndArray library ConvertXMLToArray() function - prep. In-Reply-To: References: <24991D3F-44A0-4AE0-94AE-5BE0D4FEA2BA@clarkeandclarke.co.uk> Message-ID: Hi Jim, Thanks for responding. Viewed in a field, (with 'dontWrap' set to true), the XML is as expected - a single, long string, without spaces or returns. Copying it into TextWrangler, I can't see anything unusual. I've now also checked that the XML within the variable (prior to putting into the field to read) contains no null characters. Bizarre! Still, I'll keep prodding it & Googling for troubleshooting ideas! Best, Keith.. On 14 May 2011, at 16:14, Jim Ault wrote: > On May 14, 2011, at 7:24 AM, Keith Clarke wrote: >> I'm learning about XML & Arrays by attempting to process some web service call responses using the ConvertXMLToArray() in Trevor DeVore's XMLAndArrays library http://revonline2.runrev.com/stack/571/XMLAndArrays >> >> The XML data looks fine to the human eye when put into a field, but the output array from the above function seems to be empty. >> >> I noticed in the library's related TestXMLToArray function (which works on an imported file and then calls the above) that there is some pre-processing with "put URL ("binfile:" & it) into theXML" but I tried this without success. >> >> Any clues as to what I've overlooked? > > > There is one data source I found on the internet that I had to use the following: > > replace null with empty in outsiderDataBlock > > The filter command fails if any null chars are in the text block. > > Additionally, can you inspect the text block in something like BBEdit so you can see any odd chars? > > 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 johnpatten at me.com Sat May 14 12:31:25 2011 From: johnpatten at me.com (MobileMe) Date: Sat, 14 May 2011 09:31:25 -0700 Subject: Animation Via Repeated Loop calls? In-Reply-To: <1305333180264-3521515.post@n4.nabble.com> References: <559EE1E5-D9A3-4FC3-AE74-9E540BE088E7@mac.com> <4DCCEB72.1060203@pdslabs.net> <69F82798-9105-46B7-B886-87F5D9366260@mac.com> <1305333180264-3521515.post@n4.nabble.com> Message-ID: <21A67B19-8092-4E26-8258-9584A103B652@me.com> Thanks Alejandro and Scott! Send was just what I needed. And thanks for the heads up on my "not so new thread" issue. I hadn't realized that would happen and had thought deleting the subject, etc. was all that was needed to post new thread. I will refrain from doing that from now on. My apologies... Thank you! John Patten SUSD Sent from my iPad On May 13, 2011, at 5:33 PM, Alejandro Tejada wrote: > Hi John, > > > John Patten wrote: >> >> I'm trying to get my head around the idea of using repeated loop to >> animate objects. These are probably pretty basic concepts, but I feel >> I need to get some basic understanding on things such as interrupting >> a loop, etc. >> [snip] >> What would be the proper way to interrupt a repeat? Anybody of some >> simple examples of animating objects via loops? >> > > Visit Scott Rossi webpage, click on Software, then click at Revolution > Tutorials & Demos: > http://www.tactilemedia.com/ > > These stacks shows exactly what you are looking for: > http://www.tactilemedia.com/site_files/downloads/swarm.rev.zip > http://www.tactilemedia.com/site_files/downloads/bouncer2.rev.zip > > Check these stacks too, for another application of the same technique: > > http://andregarzia.on-rev.com/alejandro/stacks/walkingman_Rossi.zip > http://andregarzia.on-rev.com/alejandro/stacks/walkingman_2.zip > > By the way, when you reply a message of Graham, to start a new > thread, Nabble hides your message under that other thread. > Because of this, this thread named "Animation Via Repeated Loop calls?" > would not appear with his own subject in Nabble. > > Al > > > -- > View this message in context: http://runtime-revolution.278305.n4.nabble.com/What-does-Windows-shell-expect-tp3516926p3521515.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 jiml at netrin.com Sat May 14 12:47:38 2011 From: jiml at netrin.com (Jim Lambert) Date: Sat, 14 May 2011 09:47:38 -0700 Subject: link to my #22 event presentation In-Reply-To: References: Message-ID: <2D94990A-4D09-4AAD-AF2D-60171FD03C3F@netrin.com> Here's an alternate technique for creating puzzle pieces. In last week's great Live LiveCode event > http://www.ustream.tv/recorded/14547851 Colin generously shared the techniques and code which deservedly won him top prize in the "Build An App In A Day" contest at runrevlive11. He explained the tricky complexities of finding the correct bytes in the master picture's imagedata and copying them row-by-row into the correct bytes of the imagedata of the corresponding puzzle piece. For comparison, he demonstrated Director's COPYPIXELS function, which with one simple command allows you to copy entire arbitrary rects between Cast Members and/or the Stage. Wouldn't it be handy if LiveCode had a Copypixels function? Oh wait, it kind of does! LiveCode's 'Import/export snapshot' is a poor cousin to Director's Copypixels. With it we can grab whole arbitrary rects in one command. Here is a demonstration of an alternate technique to make puzzle pieces without going anywhere near imagedata bytes. http://netrin.on-rev.com/misc/stamps/test.html Jim Lambert From bvg at mac.com Sat May 14 13:02:27 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Sat, 14 May 2011 19:02:27 +0200 Subject: Live LiveCode code event #23 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> Message-ID: <093DEF5E-6C0F-4924-A262-F6DBE748ED45@mac.com> One hour until it starts. Join soon: http://bjoernke.com/chatrev/ On 13 May 2011, at 21:52, Bj?rnke von Gierke wrote: > Next event is tomorrow. > > Due to horrible Jet Lag problems for me, and Marks ability to only do the work of 2 people at once (but not 3), we still desperately need other people ready to do organisation of these events. On a related note, we also need presenters, for all future weekends (not tomorrow tho). > > Tomorrow, Andreas will update us with more information about his complete HIG conforming widget library for iOS. Every iOS deploying LiveCode user needs it, especially those wanting to become viable in the iOS business market. > http://livecode.tv/andreas/ > > I will show a very basic intro to something in LiveCode, but I have no clue what yet. Maybe message path, or explaining the 5 different things that are named 'stack'. As mentioned in another event, I do love surprises. Sorry for that. > http://livecode.tv/bvg/ > > To watch these presentations, please join chatrev (you can find it at http://bjoernke.com/chatrev/ ) at 20:00 CET which some website tells me translates to this: > > Edinburgh 19:00 > Boston 14:00 > Los Angeles 11:00 > Hong Kong 02:00 (Sun) > > Same info and past presentations can be found on http://livecode.tv . > > > Cheers > 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 From keith.clarke at clarkeandclarke.co.uk Sat May 14 13:06:09 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Sat, 14 May 2011 18:06:09 +0100 Subject: XMLAndArray library ConvertXMLToArray() function - prep. In-Reply-To: References: <24991D3F-44A0-4AE0-94AE-5BE0D4FEA2BA@clarkeandclarke.co.uk> Message-ID: ...looking close, I see that before the array conversion stage, Trevor's library wraps the revCreateXMLTree() function to create a tree from the xml file. So, I inserted a breakpoint to "answer the TreeID" as soon as it is created. This revealed an error that wasn't being returned - "xmlerror, can't parse xml - Premature end of data in tag doc line 1". It's not solved the problem - or isolated what is wrong with the input xml (as it comprises only 1 line!), but now I know to dig into revXML library requirements for xml pre-processing - and I can prove this step before worrying about the array conversion. All part of the fun! Best, Keith.. On 14 May 2011, at 16:48, Keith Clarke wrote: > Hi Jim, > Thanks for responding. Viewed in a field, (with 'dontWrap' set to true), the XML is as expected - a single, long string, without spaces or returns. Copying it into TextWrangler, I can't see anything unusual. > I've now also checked that the XML within the variable (prior to putting into the field to read) contains no null characters. > Bizarre! > Still, I'll keep prodding it & Googling for troubleshooting ideas! > Best, > Keith.. > > On 14 May 2011, at 16:14, Jim Ault wrote: > >> On May 14, 2011, at 7:24 AM, Keith Clarke wrote: >>> I'm learning about XML & Arrays by attempting to process some web service call responses using the ConvertXMLToArray() in Trevor DeVore's XMLAndArrays library http://revonline2.runrev.com/stack/571/XMLAndArrays >>> >>> The XML data looks fine to the human eye when put into a field, but the output array from the above function seems to be empty. >>> >>> I noticed in the library's related TestXMLToArray function (which works on an imported file and then calls the above) that there is some pre-processing with "put URL ("binfile:" & it) into theXML" but I tried this without success. >>> >>> Any clues as to what I've overlooked? >> >> >> There is one data source I found on the internet that I had to use the following: >> >> replace null with empty in outsiderDataBlock >> >> The filter command fails if any null chars are in the text block. >> >> Additionally, can you inspect the text block in something like BBEdit so you can see any odd chars? >> >> 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 coiin at verizon.net Sat May 14 13:14:49 2011 From: coiin at verizon.net (Colin Holgate) Date: Sat, 14 May 2011 13:14:49 -0400 Subject: link to my #22 event presentation In-Reply-To: <2D94990A-4D09-4AAD-AF2D-60171FD03C3F@netrin.com> References: <2D94990A-4D09-4AAD-AF2D-60171FD03C3F@netrin.com> Message-ID: I tried putting that technique into my makepiece handler, and the image was somewhat scrambled, and it took a lot longer to run. For some reason your example shapes don't keep the alpha intact either. I suspect that LiveCode handles a bit of text copying faster than it handles doing snapshots. From kevin at stallibrass.com Sat May 14 13:21:47 2011 From: kevin at stallibrass.com (Kevin Stallibrass) Date: Sat, 14 May 2011 18:21:47 +0100 Subject: Internet explorer 9 and 'answer folder' Message-ID: <000001cc125b$680b80d0$38228270$@com> Hi, Anyone have experience of 'answer folder' not working in IE9 on win7 ? I'm using it (answer folder) in a revlet to set a path then FTP downloading a preselected file to that location. With IE9, no windows pops up to locate a folder and the script continues, a progress bar reporting the download progress works but the download never appears anywhere on the pc so it does not appear to be using a default path. The same revlet works fine on the same PC using IE8 32bit Regards Kevin From jiml at netrin.com Sat May 14 13:26:55 2011 From: jiml at netrin.com (Jim Lambert) Date: Sat, 14 May 2011 10:26:55 -0700 Subject: link to my #22 event presentation In-Reply-To: References: Message-ID: <6DE577DB-64E7-4FE6-B338-289541E790BF@netrin.com> colin wrote: > I tried putting that technique into my makepiece handler, and the image was somewhat scrambled, and it took a lot longer to run. For some reason your example shapes don't keep the alpha intact either. > > I suspect that LiveCode handles a bit of text copying faster than it handles doing snapshots. Odd. it works here as they say! ;) http://netrin.on-rev.com/misc/stamps/sample.png Jim Lambert From lfredricks at proactive-intl.com Sat May 14 13:50:18 2011 From: lfredricks at proactive-intl.com (Lynn Fredricks) Date: Sat, 14 May 2011 10:50:18 -0700 Subject: Omegabundle for LiveCode Ending Soon; Scott Rossi's Building Beautiful Buttons Article Message-ID: Hello all, Just a quick note if you've expressed interest in this bundle. We've posted Scott Rossi's Building Beautiful Buttons with tmColor and tmGradient over on the Omegabundle website at Omegabundle.com. If you've been thinking about this bundle - don't think too long! Our slated end date is May 23, 2011. Don't forget that there are solutions for new users of LiveCode, and others for those who already have it. For the same price as buying LiveCode Pro Mobile (one desktop platform and one mobile platform), you are getting over $4000 of the best plugins, externals and related products. Best regards, Lynn Fredricks President Paradigma Software http://www.paradigmasoft.com Valentina SQL Server: The Ultra-fast, Royalty Free Database Server From mcgrath3 at mac.com Sat May 14 15:52:10 2011 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Sat, 14 May 2011 15:52:10 -0400 Subject: delete files and folders on-rev.com Message-ID: I am having problems deleting files and or folders via script. I have searched and found that revdeleteFolder does not work. But what does? I keep getting errors saying can't delete that file etc. I looked through the lessons online and searched the list but did not find any tuts yet. Any one have a tut on this? Thanks -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net From bvg at mac.com Sat May 14 16:08:10 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Sat, 14 May 2011 22:08:10 +0200 Subject: delete files and folders on-rev.com In-Reply-To: References: Message-ID: delete folder but you need to recoursively delete stuff folder needs to be empty On 14 May 2011, at 21:52, Thomas McGrath III wrote: > I am having problems deleting files and or folders via script. > > I have searched and found that revdeleteFolder does not work. But what does? > > I keep getting errors saying can't delete that file etc. > > I looked through the lessons online and searched the list but did not find any tuts yet. > > Any one have a tut on this? > > Thanks > > -- Tom McGrath III > http://lazyriver.on-rev.com > 3mcgrath at comcast.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 sanke at hrz.uni-kassel.de Sat May 14 17:28:46 2011 From: sanke at hrz.uni-kassel.de (Wilhelm Sanke) Date: Sat, 14 May 2011 23:28:46 +0200 Subject: Discussing image filters for Livecode (was: "Blurred vision" ...) Message-ID: <4DCEF40E.8080208@hrz.uni-kassel.de> On Wed May 11, 2011, Hanson hanson at runrev.com wrote (in post "Re: "Blurred vision" of Rev newsletter, Apr 21"): : > ...thank you very much for your great contributions to image processing > with LiveCode and for sharing your work with us. Your e-mail, reviewing > some of the history of image processing with LiveCode is fascinating and > your stacks are extremely interesting... > > Mit Freundlichen Gruessen, > > Hanson Schmidt-Cornelius > LiveCode Team Hello Hanson, Thank you very much for your well-meant - if somewhat exuberant - words. We need to remind us that many developments by Livecode users often rely on the cooperation with others and on the sometimes lively discussions in the Rev lists. This does of course not exclude the possibility that now and then somebody invents a really new wheel. For my part, quite a number of projects or stacks were collaborative ones, and in many other cases I profited by ideas and practical proposals from list members and elsewhere, to which latter point also belong attempts to port Lua scripts to Livecode and to reverse-engineer a couple of Gimp filters. "More about Masks" ("MoreAboutMasksRev3.zip") is another such example, a stack produced in close cooperation with Bernd Niggemann and including the discussion of ideas and proposals by Jim Hurley and Scott Rossi. The fact that you, as a member of the Livecode team, placed an article about image processing in a Rev newsletter is surely an indication of a renewed interest in this area on the side of Livecode. Livecode - as an authoring tool - is so multi-faceted in its possibilities and - as image processing comprises only a small part of its potential - image processing with Livecode is therefore of limited interest to the majority of its users, especially as there are so many useful image programs around from other parties. I personally hope that this new interest of the Livecode team will result in improved conditions for image processing in the medium future. Especially I hope that a number of bugs impeding image processing that have been around for quite a time will eventually be fixed and the way imagedata are handled in Livecode will be improved and speeded up, maybe following the example of the Lua language with its simpler and elegant structure for image handling. Lua, like Livecode, is based on "C", so it must not be too difficult to incorporate Lua-like procedures into Livecode as an added alternative. I have updated the "Blurred Vision" stack to and added 8 more blur-like filters, so the total sum is 16 now, and some other non-blur filters like two "Seurat" filters under the "noise" button (The French painter Seurat was the inventor of "pointillistic painting", using pixels of the main colors to create paintings that are best viewed from some distance). The new blur filters are: - "Gaussian blur", a standard matrix filter - "Jitter Lua" and "Jitterblur Lua", which exchange pixels ramdomly from a chosen range and produce very nice effects - "Pick", reverse-engineered from Gimp, which "picks" randomly one pixel out of 9 (3x3 matrix) or out of 25 (5x5 matrix) and sets this pixel as the center one - "Wet paint", which creates the impression of paint trickling down on a canvas - "Random shapes" in three versions. "Ovals", "Rects", and "cubism (polygons)", which are placed randomly and with a chosen maximum size on an image, where the color of these graphics is being determined by the center pixel underneath the respective graphics. By using the "cubism" filter you can achieve effects that come very close to those of the Lua "Voronoi" filter-- A few recommendations to achieve special effects: - Apply "despeckle extreme" (from the median filters) twice to an image and then use "colorful lithography" under "lithography". You will surely be impressed by the results. - Apply "Seurat color" with a density of 100 or higher, then "simple despeckle" and "lithography", after that set the image to "grayscale" under "colors". The result is sort of an "halftone" image, similar to one of the most complex Lua filters of the same name. - Select "ovals" from "Random shapes", choose a distortion width of "3" and "7000" or "10000" repetitions. Apply "basic despeckle", then "lithography" and possibly after that "simple despeckle". You will get a nice painting-like image. You might also apply "increase saturation" (under "colors") here twice for a better looking picture. One last remark concerning a statement in Hanson's newsletter article. You had written that the blur filter > "introduces an algorithm that can be used to smooth images in order to > remove fine detail texture or noise. This is often useful when > applying image processing algorithms that look at larger detail > objects in an image." This is surely partially true, but what you need here is a very special blur filter, like an extended "Gaussian blur" filter (The "Gaussian blur" I added to my stack is not sufficient here). The best way to remove "fine detail texture or noise" is to use a median/despeckle filter, this is what the name stands for. You can try out that for yourself: - Use "add noise" from the noise button, then apply the "Rev blur" filter. You will see that some pixels may be removed, but on the whole the noise pixels are just blurred like all other pixels. - Now again "add noise" to a new or reset image, then apply "simple despeckle". Now the added noise will have been completely removed, despite the fact that the "simple despeckle" filter works on the basis of a rect of only 2x2 pixels of which the median value is then set. The main thing with such an assortment of filters is to experiment, to try to produce various effects, and possibly, too, to modify the scripts of the filter buttons to create new ones. Enjoy, in case you are interested. Kind regards, Wilhelm Sanke From runrev260805 at m-r-d.de Sat May 14 19:04:25 2011 From: runrev260805 at m-r-d.de (Matthias Rebbe) Date: Sun, 15 May 2011 01:04:25 +0200 Subject: delete files and folders on-rev.com In-Reply-To: References: Message-ID: <46F2906A-2FD9-4C3C-808E-36DACDA4B198@m-r-d.de> Hi Thomas, as Bj?rnke already said you can use delete folder. But this only works if the folder is empty. To delete folders and their contents (files and also subofolders) i am using get shell("rm -r "& quote&xArg"e) where xArg contains the name of the folder i want to delete. Regards, Matthias Am 14.05.2011 um 21:52 schrieb Thomas McGrath III: > I am having problems deleting files and or folders via script. > > I have searched and found that revdeleteFolder does not work. But what does? > > I keep getting errors saying can't delete that file etc. > > I looked through the lessons online and searched the list but did not find any tuts yet. > > Any one have a tut on this? > > Thanks > > -- Tom McGrath III > http://lazyriver.on-rev.com > 3mcgrath at comcast.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 mcgrath3 at mac.com Sat May 14 20:54:26 2011 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Sat, 14 May 2011 20:54:26 -0400 Subject: delete files and folders on-rev.com In-Reply-To: <46F2906A-2FD9-4C3C-808E-36DACDA4B198@m-r-d.de> References: <46F2906A-2FD9-4C3C-808E-36DACDA4B198@m-r-d.de> Message-ID: <89FF50FB-5F55-43A2-8B4E-9558427DC186@mac.com> I'm sorry I stated in the subject but I should have stated in the email that I want to do this from the desktop for folders in my subdomain on on-rev server. I think I am having permission problems even though I created the folder from the same app and want to delete it I get both the "folder is not empty" error and when I tried to walk through the contents I get the "can't delete this file" error. put "FolderName" into tName put "ftp://***************%40lazyriver.on-rev.com:**************@liveconnectonline.com/liveconnectonline/" into tPath put tPath & tName & "/" into tFolder put the itemDelimiter into myItemDelimiter put URL tFolder into tresult delete line 1 to 2 of tresult -- first two lines end in . and .. repeat with x = 1 to the number of lines of tresult if the last char of line x of tresult is not ". " then set the itemDelimiter to space put item -1 of line x of tresult into tFile put tFolder & tFile into tDelete delete URL tDelete -- "Can't delete that file" put "Result:" && the result & cr after field "Results" end if end repeat set the itemDelimiter to myItemDelimiter delete URL tFolder -- "Folder is not empty" --revDeleteFolder tFolder -- doesn't work put "Result:" && the result after field "All Clients Results" -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On May 14, 2011, at 7:04 PM, Matthias Rebbe wrote: > Hi Thomas, > > as Bj?rnke already said you can use delete folder. But this only works if the folder is empty. > > To delete folders and their contents (files and also subofolders) i am using > > get shell("rm -r "& quote&xArg"e) > > where xArg contains the name of the folder i want to delete. > > Regards, > > Matthias > > > Am 14.05.2011 um 21:52 schrieb Thomas McGrath III: > >> I am having problems deleting files and or folders via script. >> >> I have searched and found that revdeleteFolder does not work. But what does? >> >> I keep getting errors saying can't delete that file etc. >> >> I looked through the lessons online and searched the list but did not find any tuts yet. >> >> Any one have a tut on this? >> >> Thanks >> >> -- Tom McGrath III >> http://lazyriver.on-rev.com >> 3mcgrath at comcast.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 mcgrath3 at mac.com Sat May 14 20:59:10 2011 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Sat, 14 May 2011 20:59:10 -0400 Subject: delete files and folders on-rev.com In-Reply-To: <89FF50FB-5F55-43A2-8B4E-9558427DC186@mac.com> References: <46F2906A-2FD9-4C3C-808E-36DACDA4B198@m-r-d.de> <89FF50FB-5F55-43A2-8B4E-9558427DC186@mac.com> Message-ID: GOT it. There was some artifact left over at the end of the file name. Looked like either a _ or something Is there a better way to get a list of the items in a folder on the server with out all getting all of the permissions and other junk? thanks -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On May 14, 2011, at 8:54 PM, Thomas McGrath III wrote: > I'm sorry I stated in the subject but I should have stated in the email that I want to do this from the desktop for folders in my subdomain on on-rev server. > > I think I am having permission problems even though I created the folder from the same app and want to delete it I get both the "folder is not empty" error and when I tried to walk through the contents I get the "can't delete this file" error. > > > put "FolderName" into tName > put "ftp://***************%40lazyriver.on-rev.com:**************@liveconnectonline.com/liveconnectonline/" into tPath > put tPath & tName & "/" into tFolder > put the itemDelimiter into myItemDelimiter > > put URL tFolder into tresult > delete line 1 to 2 of tresult -- first two lines end in . and .. > > repeat with x = 1 to the number of lines of tresult > if the last char of line x of tresult is not ". " then > set the itemDelimiter to space > put item -1 of line x of tresult into tFile > put tFolder & tFile into tDelete > > delete URL tDelete -- "Can't delete that file" > put "Result:" && the result & cr after field "Results" > end if > end repeat > > set the itemDelimiter to myItemDelimiter > delete URL tFolder -- "Folder is not empty" > --revDeleteFolder tFolder -- doesn't work > put "Result:" && the result after field "All Clients Results" > > > -- Tom McGrath III > http://lazyriver.on-rev.com > 3mcgrath at comcast.net > > On May 14, 2011, at 7:04 PM, Matthias Rebbe wrote: > >> Hi Thomas, >> >> as Bj?rnke already said you can use delete folder. But this only works if the folder is empty. >> >> To delete folders and their contents (files and also subofolders) i am using >> >> get shell("rm -r "& quote&xArg"e) >> >> where xArg contains the name of the folder i want to delete. >> >> Regards, >> >> Matthias >> >> >> Am 14.05.2011 um 21:52 schrieb Thomas McGrath III: >> >>> I am having problems deleting files and or folders via script. >>> >>> I have searched and found that revdeleteFolder does not work. But what does? >>> >>> I keep getting errors saying can't delete that file etc. >>> >>> I looked through the lessons online and searched the list but did not find any tuts yet. >>> >>> Any one have a tut on this? >>> >>> Thanks >>> >>> -- Tom McGrath III >>> http://lazyriver.on-rev.com >>> 3mcgrath at comcast.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 andre at andregarzia.com Sat May 14 23:53:24 2011 From: andre at andregarzia.com (Andre Garzia) Date: Sat, 14 May 2011 17:53:24 -1000 Subject: [OT] fon.nu feature set is getting famous Message-ID: Hello Folks, During RunRevLive.11, more precisely at 4:00 AM in the morning, I created fon.nu, a minimalist url shortening service. I created that because at 9:00 AM on the same day, I was going to give a presentation on social networks and wanted the URLs on my slides to be short. So, fon.nu domain was cheap and I quickly created some easy code. In the following weeks, I've been using my own url shortening service more and more and added more features to it. Today I was checking my referrals in Google Analytics and I saw traffic comming from yourls project page. Yourls is an open source project for url shortening, you can install it on your own service and create your own version of a bitly-like service for example. When I went to the referral link to see how people were being driven from there to my own fon.nuservice, I saw something that made me very happy. One of their users saw value in some features that I think may be unique do fon.nu such as single use URLs and the like so he opened an enhancement request in yourls project page to add features from fon.nu to yourls. The developers refused with a very good answer, yourls has a plugin architecture so those features could easily be made into a plugin and thus the enhancement was rejected but still, seeing my little toy project used with an enhancement request for a major open source project made me smile. http://fon.nu is created with LiveCode server deployment, it is just 2 files of LiveCode code and the RevSpark libraries. It works great and now it is inspiring some people... check out the enhancement request at: http://code.google.com/p/yourls/issues/detail?id=798&can=1&q=fon.nu :-D -- http://www.andregarzia.com All We Do Is Code. From warrenkuhl at gmail.com Sun May 15 01:26:31 2011 From: warrenkuhl at gmail.com (Warren Kuhl) Date: Sun, 15 May 2011 00:26:31 -0500 Subject: Zip Files (revZipAddItemWithData) Message-ID: I have articles which I am saving. The user has the option of saving the files individually or in a zip file. When I save them individually, the articles seem to get saved with carriage returns so the paragraphs are separated. When I save into a zip file, the articles seem to be saved without carriage returns. Below is the code I am using to save either as individual files or in a zip file. tArticle is my variable with the article. I have added breakpoints to confirm the carriage returns. Any reason why they would be removed when adding to a zip file? if hilite of button "Zip File" Of card is true then put (tFileName & tArticleCount & ".txt") into tFile revZipAddItemWithData tZipFile, tFile, "tArticle" else put tArticle into URL ("File:" & tSaveFile & tArticleCount & ".txt") end if Thanks, Warren From jimaultwins at yahoo.com Sun May 15 02:08:27 2011 From: jimaultwins at yahoo.com (Jim Ault) Date: Sat, 14 May 2011 23:08:27 -0700 Subject: [OT] fon.nu feature set is getting famous In-Reply-To: References: Message-ID: <6A74AF3E-205C-4948-B79C-CB10102EAB45@yahoo.com> Way to go, Andre. My feature request is a way of shortening spam to way less than 2 characters :-) On May 14, 2011, at 8:53 PM, Andre Garzia wrote: > Hello Folks, > > During RunRevLive.11, more precisely at 4:00 AM in the morning, I > created > fon.nu, a minimalist url shortening service. I created that because > at 9:00 > AM on the same day, I was going to give a presentation on social > networks > and wanted the URLs on my slides to be short. So, fon.nu domain was > cheap > and I quickly created some easy code. In the following weeks, I've > been > using my own url shortening service more and more and added more > features to > it. > > check out the enhancement request at: > http://code.google.com/p/yourls/issues/detail?id=798&can=1&q=fon.nu > Jim Ault Las Vegas From m.schonewille at economy-x-talk.com Sun May 15 05:25:22 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Sun, 15 May 2011 11:25:22 +0200 Subject: Zip Files (revZipAddItemWithData) In-Reply-To: References: Message-ID: <7FA8F589-76E0-4C80-8CD2-47817015797C@economy-x-talk.com> Hi Warren, Are you trying to read the files on a windows machine? Probably you need to replace cr with crlf before saving the data. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce On 15 mei 2011, at 07:26, Warren Kuhl wrote: > I have articles which I am saving. The user has the option of saving > the files individually or in a zip file. When I save them > individually, the articles seem to get saved with carriage returns so > the paragraphs are separated. When I save into a zip file, the > articles seem to be saved without carriage returns. > > Below is the code I am using to save either as individual files or in > a zip file. tArticle is my variable with the article. I have added > breakpoints to confirm the carriage returns. Any reason why they > would be removed when adding to a zip file? > > if hilite of button "Zip File" Of card is true then > put (tFileName & tArticleCount & ".txt") into tFile > revZipAddItemWithData tZipFile, tFile, "tArticle" > else > put tArticle into URL ("File:" & tSaveFile & tArticleCount > & ".txt") > end if > > Thanks, > Warren From warrenkuhl at gmail.com Sun May 15 11:07:00 2011 From: warrenkuhl at gmail.com (Warren Kuhl) Date: Sun, 15 May 2011 10:07:00 -0500 Subject: Zip Files (revZipAddItemWithData) In-Reply-To: <7FA8F589-76E0-4C80-8CD2-47817015797C@economy-x-talk.com> References: <7FA8F589-76E0-4C80-8CD2-47817015797C@economy-x-talk.com> Message-ID: Mark, Thanks...that is exactly what the issue is. Much appreciated! Warren On Sun, May 15, 2011 at 4:25 AM, Mark Schonewille wrote: > Hi Warren, > > Are you trying to read the files on a windows machine? Probably you need to replace cr with crlf before saving the data. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce > > On 15 mei 2011, at 07:26, Warren Kuhl wrote: > >> I have articles which I am saving. ?The user has the option of saving >> the files individually or in a zip file. ?When I save them >> individually, the articles seem to get saved with carriage returns so >> the paragraphs are separated. ?When I save into a zip file, the >> articles seem to be saved without carriage returns. >> >> Below is the code I am using to save either as individual files or in >> a zip file. ?tArticle is my variable with the article. ?I have added >> breakpoints to confirm the carriage returns. ?Any reason why they >> would be removed when adding to a zip file? >> >> ? ? ? ? if hilite of button "Zip File" Of card is true then >> ? ? ? ? ? ?put (tFileName & tArticleCount & ".txt") into tFile >> ? ? ? ? ? ?revZipAddItemWithData tZipFile, ?tFile, "tArticle" >> ? ? ? ? else >> ? ? ? ? ? ?put tArticle into URL ("File:" & tSaveFile & tArticleCount >> & ".txt") >> ? ? ? ? end if >> >> Thanks, >> 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 rabit at dimensionB.de Sun May 15 13:24:05 2011 From: rabit at dimensionB.de (Ralf Bitter) Date: Sun, 15 May 2011 19:24:05 +0200 Subject: [ANN] revIgniter v1.3.21b Message-ID: <4A5BD083-194A-4BE7-928A-07C7D1A5CFEA@dimensionB.de> revIgniter v1.3.21b has been released. This version includes a minor modification of the Output library. If you ever asked yourself what the Hooks feature of revIgniter could be used for, you might be interested in an addition to the Hooks section of the User Guide which describes how to use this feature to make revIgniter automatically minify output just before it is displayed. As the Quartam PDF Library recently went opensource I thought this is a good opportunity to add an example to the Creating Libraries section of the User Guide which describes how to integrate a custom library, in this case the Quartam PDF Library, into revIgniter. Ralf From slava at lexiconbridge.com Sun May 15 13:27:06 2011 From: slava at lexiconbridge.com (Slava Paperno) Date: Sun, 15 May 2011 13:27:06 -0400 Subject: selectable property of button? Message-ID: <000001cc1325$535fb280$fa1f1780$@com> I think I have a button with the "selectable" property set to false. This button remains active (i.e. runs its script when you click it) even when I am in the Browse mode and every other object in the card can be selected and edited. In the Application Browser, this is the only button with no check mark in the "sort by selectable" column. But I can't find the term "selectable" in the PDF User Guide or the Dictionary, and in the Properties Inspector for this button everything looks the same as for all other buttons. There's no property "selectable." It's probably a dumb question, but I hope someone can point me in the right direction. Thanks! Slava From bonnmike at gmail.com Sun May 15 13:43:03 2011 From: bonnmike at gmail.com (Mike Bonner) Date: Sun, 15 May 2011 11:43:03 -0600 Subject: selectable property of button? In-Reply-To: <000001cc1325$535fb280$fa1f1780$@com> References: <000001cc1325$535fb280$fa1f1780$@com> Message-ID: There is a cantSelect property which will keep you from being able to 'select' it (Ie. grab it, showing handles for moving and resizing) but this doesn't make it unclickable. It does make it so that you can't choose it with the edit tool. I think what you're looking for is the enabled property. set the enabled of button 1 to false. Or set the disabled of button 1 to true. Both do the same thing. On Sun, May 15, 2011 at 11:27 AM, Slava Paperno wrote: > I think I have a button with the "selectable" property set to false. This > button remains active (i.e. runs its script when you click it) even when I > am in the Browse mode and every other object in the card can be selected > and > edited. In the Application Browser, this is the only button with no check > mark in the "sort by selectable" column. But I can't find the term > "selectable" in the PDF User Guide or the Dictionary, and in the Properties > Inspector for this button everything looks the same as for all other > buttons. There's no property "selectable." It's probably a dumb question, > but I hope someone can point me in the right direction. Thanks! > > Slava > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From slava at lexiconbridge.com Sun May 15 14:13:43 2011 From: slava at lexiconbridge.com (Slava Paperno) Date: Sun, 15 May 2011 14:13:43 -0400 Subject: selectable property of button? In-Reply-To: References: <000001cc1325$535fb280$fa1f1780$@com> Message-ID: <000401cc132b$d6e36510$84aa2f30$@com> Many thanks, Mike. "cantSelect" was the culprit, and I have now discovered that clicking in that column of Application Browser has consequences :) I am a better LC user now than I was ten minutes ago! Gratefully, Slava > -----Original Message----- > From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode- > bounces at lists.runrev.com] On Behalf Of Mike Bonner > Sent: Sunday, May 15, 2011 1:43 PM > To: How to use LiveCode > Subject: Re: selectable property of button? > > There is a cantSelect property which will keep you from being able to > 'select' it (Ie. grab it, showing handles for moving and resizing) but > this > doesn't make it unclickable. It does make it so that you can't choose > it > with the edit tool. > > I think what you're looking for is the enabled property. set the > enabled of > button 1 to false. Or set the disabled of button 1 to true. Both do > the > same thing. > > On Sun, May 15, 2011 at 11:27 AM, Slava Paperno > wrote: > > > I think I have a button with the "selectable" property set to false. > This > > button remains active (i.e. runs its script when you click it) even > when I > > am in the Browse mode and every other object in the card can be > selected > > and > > edited. In the Application Browser, this is the only button with no > check > > mark in the "sort by selectable" column. But I can't find the term > > "selectable" in the PDF User Guide or the Dictionary, and in the > Properties > > Inspector for this button everything looks the same as for all other > > buttons. There's no property "selectable." It's probably a dumb > question, > > but I hope someone can point me in the right direction. Thanks! > > > > Slava > http://lists.runrev.com/mailman/listinfo/use-livecode From jacque at hyperactivesw.com Sun May 15 14:26:33 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 15 May 2011 13:26:33 -0500 Subject: selectable property of button? In-Reply-To: <000001cc1325$535fb280$fa1f1780$@com> References: <000001cc1325$535fb280$fa1f1780$@com> Message-ID: <4DD01AD9.1030400@hyperactivesw.com> On 5/15/11 12:27 PM, Slava Paperno wrote: > I think I have a button with the "selectable" property set to false. This > button remains active (i.e. runs its script when you click it) even when I > am in the Browse mode and every other object in the card can be selected and > edited. In the Application Browser, this is the only button with no check > mark in the "sort by selectable" column. But I can't find the term > "selectable" in the PDF User Guide or the Dictionary, and in the Properties > Inspector for this button everything looks the same as for all other > buttons. There's no property "selectable." It's probably a dumb question, > but I hope someone can point me in the right direction. Thanks! There's a "cantSelect" property that doesn't appear in the property inspector but you can toggle the value on or off in the app browser. Just click on the column where the checkmark should be. This property just prevents you from selecting the control with the mouse, it doesn't interfere with any other behaviors. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Sun May 15 14:27:15 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Sun, 15 May 2011 13:27:15 -0500 Subject: selectable property of button? In-Reply-To: <000401cc132b$d6e36510$84aa2f30$@com> References: <000001cc1325$535fb280$fa1f1780$@com> <000401cc132b$d6e36510$84aa2f30$@com> Message-ID: <4DD01B03.8060400@hyperactivesw.com> On 5/15/11 1:13 PM, Slava Paperno wrote: > Many thanks, Mike. "cantSelect" was the culprit, and I have now discovered > that clicking in that column of Application Browser has consequences :) > > I am a better LC user now than I was ten minutes ago! Oops, I was too slow. :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From slava at lexiconbridge.com Sun May 15 14:35:46 2011 From: slava at lexiconbridge.com (Slava Paperno) Date: Sun, 15 May 2011 14:35:46 -0400 Subject: selectable property of button? In-Reply-To: <4DD01B03.8060400@hyperactivesw.com> References: <000001cc1325$535fb280$fa1f1780$@com> <000401cc132b$d6e36510$84aa2f30$@com> <4DD01B03.8060400@hyperactivesw.com> Message-ID: <000501cc132e$eb1f4460$c15dcd20$@com> Thanks, J. Landman Gay! We won't hold it against you :) > From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode- > Oops, I was too slow. :) From andre at andregarzia.com Sun May 15 15:48:20 2011 From: andre at andregarzia.com (Andre Garzia) Date: Sun, 15 May 2011 09:48:20 -1000 Subject: [OT] fon.nu feature set is getting famous In-Reply-To: <6A74AF3E-205C-4948-B79C-CB10102EAB45@yahoo.com> References: <6A74AF3E-205C-4948-B79C-CB10102EAB45@yahoo.com> Message-ID: Jim, Want to learn a trick that will cut spam a lot. NEVER NEVER NEVER allow a marketing email to load any image. Images are tagged with unique identifiers, so if you allow them to load, they basically ping back the server with a message: "Hey Master, do you know email id 2398562965 that went to Jim Ault? Yeah, he opened it, we can send more, he is an 'active reader'".... Bouncing will also be regarded as positive, like: "hey, there is someone there". The most useful thing is to ignore and report as spam. When I worked in such business, we made sure our opt out worked correctly. Once you opted out, then you would not receive more email. We also had hardcoded limits on how many emails you could receive per week and per month. Other players in the field are not so honest... ignore and report to spam. never open it, never open it, never allow it to phone home. On Sat, May 14, 2011 at 8:08 PM, Jim Ault wrote: > Way to go, Andre. > My feature request is a way of shortening spam to way less than 2 > characters :-) > > > > On May 14, 2011, at 8:53 PM, Andre Garzia wrote: > > Hello Folks, >> >> During RunRevLive.11, more precisely at 4:00 AM in the morning, I created >> fon.nu, a minimalist url shortening service. I created that because at >> 9:00 >> AM on the same day, I was going to give a presentation on social networks >> and wanted the URLs on my slides to be short. So, fon.nu domain was cheap >> and I quickly created some easy code. In the following weeks, I've been >> using my own url shortening service more and more and added more features >> to >> it. >> >> >> check out the enhancement request at: >> http://code.google.com/p/yourls/issues/detail?id=798&can=1&q=fon.nu >> >> > 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 > -- http://www.andregarzia.com All We Do Is Code. From runrev260805 at m-r-d.de Sun May 15 16:09:34 2011 From: runrev260805 at m-r-d.de (Matthias Rebbe) Date: Sun, 15 May 2011 22:09:34 +0200 Subject: [OT] fon.nu feature set is getting famous In-Reply-To: References: Message-ID: Hi Andre, very very impressive. I have done something similar, but only for inhouse use. I created a desktop app, which creates for each "long url" a short url e.g http://m-r-d.de/x where x is a number. For each new short url the number increases. I then create a folder (with the name of the increased number) under that domain and place a .htaccess file with a "mod_rewrite" in it. For that i am using ftp. The long and short url and some other information are also stored in a database, so i can list all redirections in my desktop app for modification like deletion, enable or disable or change them. Are you also using .htaccess?. How did you solve that e-mail thing? Are you doing a redirection through an .irev file instead of using .htaccess, so you can include also the mail alert function? It would very nice, if you could share that information with us. Regards, Matthias Am 15.05.2011 um 05:53 schrieb Andre Garzia: > Hello Folks, > > During RunRevLive.11, more precisely at 4:00 AM in the morning, I created > fon.nu, a minimalist url shortening service. I created that because at 9:00 > AM on the same day, I was going to give a presentation on social networks > and wanted the URLs on my slides to be short. So, fon.nu domain was cheap > and I quickly created some easy code. In the following weeks, I've been > using my own url shortening service more and more and added more features to > it. > > Today I was checking my referrals in Google Analytics and I saw traffic > comming from yourls project page. Yourls is an open source project for url > shortening, you can install it on your own service and create your own > version of a bitly-like service for example. When I went to the referral > link to see how people were being driven from there to my own > fon.nuservice, I saw something that made me very happy. One of their > users saw > value in some features that I think may be unique do fon.nu such as single > use URLs and the like so he opened an enhancement request in yourls project > page to add features from fon.nu to yourls. The developers refused with a > very good answer, yourls has a plugin architecture so those features could > easily be made into a plugin and thus the enhancement was rejected but > still, seeing my little toy project used with an enhancement request for a > major open source project made me smile. > > http://fon.nu is created with LiveCode server deployment, it is just 2 files > of LiveCode code and the RevSpark libraries. It works great and now it is > inspiring some people... > > check out the enhancement request at: > http://code.google.com/p/yourls/issues/detail?id=798&can=1&q=fon.nu > > :-D > > > -- > 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 jperryl at ecs.fullerton.edu Sun May 15 16:12:52 2011 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Sun, 15 May 2011 13:12:52 -0700 (PDT) Subject: Incredibly slow revlet in Win 7 In-Reply-To: References: <4D93511C.5010703@hyperactivesw.com> <4D9398D3.7080304@tweedly.net> <31CFEDC9-E4AF-42F9-8631-13E9AD315ED7@twft.com> <4DCD66EC.5060107@hyperactivesw.com> Message-ID: Okay, this is only tangentially-related, but, I was wondering this just the other day -- Now that it's no longer called "Revolution," are the web-deployable thingies still called "revlets"? Judy Read the wrap-up of the San Jose conference education sessions here: http://revined.blogspot.com From stephenREVOLUTION2 at barncard.com Sun May 15 16:14:40 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sun, 15 May 2011 13:14:40 -0700 Subject: [OT] fon.nu feature set is getting famous In-Reply-To: References: <6A74AF3E-205C-4948-B79C-CB10102EAB45@yahoo.com> Message-ID: True, I could get very hurt if I ever decided to break away from gmail. I've been quite dependent on their filtering. Their filters are really good. When stuff is in the spam bucket, no images can show and the links are mitigated. Few false negatives or false positives. I used to use different email addresses for every thing I registered or signed into so I could see who was sending me spam. Now I can use email addresses I haven't been able to use for years, like stephen at barncard.com. On 15 May 2011 12:48, Andre Garzia wrote: > Jim, > > Want to learn a trick that will cut spam a lot. NEVER NEVER NEVER allow a > marketing email to load any image. Images are tagged with unique > identifiers, so if you allow them to load, they basically ping back the > server with a message: "Hey Master, do you know email id 2398562965 that > went to Jim Ault? Yeah, he opened it, we can send more, he is an 'active > reader'".... > > Bouncing will also be regarded as positive, like: "hey, there is someone > there". The most useful thing is to ignore and report as spam. When I > worked > in such business, we made sure our opt out worked correctly. Once you opted > out, then you would not receive more email. We also had hardcoded limits on > how many emails you could receive per week and per month. > > Other players in the field are not so honest... ignore and report to spam. > never open it, never open it, never allow it to phone home. > > On Sat, May 14, 2011 at 8:08 PM, Jim Ault wrote: > > > Way to go, Andre. > > My feature request is a way of shortening spam to way less than 2 > > characters :-) > > > > > > > > On May 14, 2011, at 8:53 PM, Andre Garzia wrote: > > > > Hello Folks, > >> > >> During RunRevLive.11, more precisely at 4:00 AM in the morning, I > created > >> fon.nu, a minimalist url shortening service. I created that because at > >> 9:00 > >> AM on the same day, I was going to give a presentation on social > networks > >> and wanted the URLs on my slides to be short. So, fon.nu domain was > cheap > >> and I quickly created some easy code. In the following weeks, I've been > >> using my own url shortening service more and more and added more > features > >> to > >> it. > >> > >> > >> check out the enhancement request at: > >> http://code.google.com/p/yourls/issues/detail?id=798&can=1&q=fon.nu > >> > >> > > 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 > > > > > > -- > 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 > -- Stephen Barncard San Francisco Ca. USA more about sqb From stephenREVOLUTION2 at barncard.com Sun May 15 16:17:18 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Sun, 15 May 2011 13:17:18 -0700 Subject: Incredibly slow revlet in Win 7 In-Reply-To: References: <4D93511C.5010703@hyperactivesw.com> <4D9398D3.7080304@tweedly.net> <31CFEDC9-E4AF-42F9-8631-13E9AD315ED7@twft.com> <4DCD66EC.5060107@hyperactivesw.com> Message-ID: perhaps they are now to be called Livelets, or CodeLets. I like Codelets better. sqb On 15 May 2011 13:12, Judy Perry wrote: > Okay, this is only tangentially-related, but, I was wondering this just the > other day -- Now that it's no longer called "Revolution," are the > web-deployable thingies still called "revlets"? > > Judy > Read the wrap-up of the San Jose conference education sessions here: > http://revined.blogspot.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 andre at andregarzia.com Sun May 15 16:58:58 2011 From: andre at andregarzia.com (Andre Garzia) Date: Sun, 15 May 2011 10:58:58 -1000 Subject: [OT] fon.nu feature set is getting famous In-Reply-To: References: Message-ID: Matthias, Fon.nu works fairly easy. When we want to shorten a URL, we compute an md5 of the url then we convert it to base 23 so that is becomes something like A123FG and the short url is something like http://fon.nu/A123FG, so for a given URL always generate the same small code. This code is stored as a text file inside a data folder in the server, the first line of that folder is the long URL. When someone tries to access http://fon.nu/something the irev file picks the something part and checks to see if a file exists, if it exists, then it issues a "301 Location changed HTTP header" pointing to the long URL. The other lines in the text files are used for the single use feature and the email sending feature but it is all very basic. An .htaccess file is used in the fon.nu domain to map the /code part to a specific GET request case but that is all. You can get all the source code from here: http://hg.andregarzia.com/fon.nu/ :-D On Sun, May 15, 2011 at 10:09 AM, Matthias Rebbe wrote: > Hi Andre, > > very very impressive. I have done something similar, but only for inhouse > use. > I created a desktop app, which creates for each "long url" a short url e.g > http://m-r-d.de/x where x is a number. For each new short url the > number increases. > I then create a folder (with the name of the increased number) under that > domain and place a .htaccess file with a "mod_rewrite" in it. For that i am > using ftp. > The long and short url and some other information are also stored in a > database, so i can list all redirections in my desktop app for modification > like deletion, > enable or disable or change them. > > Are you also using .htaccess?. How did you solve that e-mail thing? > Are you doing a redirection through an .irev file instead of using > .htaccess, so you can include also the mail alert function? > > It would very nice, if you could share that information with us. > > > Regards, > > Matthias > > > > > Am 15.05.2011 um 05:53 schrieb Andre Garzia: > > > Hello Folks, > > > > During RunRevLive.11, more precisely at 4:00 AM in the morning, I created > > fon.nu, a minimalist url shortening service. I created that because at > 9:00 > > AM on the same day, I was going to give a presentation on social networks > > and wanted the URLs on my slides to be short. So, fon.nu domain was > cheap > > and I quickly created some easy code. In the following weeks, I've been > > using my own url shortening service more and more and added more features > to > > it. > > > > Today I was checking my referrals in Google Analytics and I saw traffic > > comming from yourls project page. Yourls is an open source project for > url > > shortening, you can install it on your own service and create your own > > version of a bitly-like service for example. When I went to the referral > > link to see how people were being driven from there to my own > > fon.nuservice, I saw something that made me very happy. One of their > > users saw > > value in some features that I think may be unique do fon.nu such as > single > > use URLs and the like so he opened an enhancement request in yourls > project > > page to add features from fon.nu to yourls. The developers refused with > a > > very good answer, yourls has a plugin architecture so those features > could > > easily be made into a plugin and thus the enhancement was rejected but > > still, seeing my little toy project used with an enhancement request for > a > > major open source project made me smile. > > > > http://fon.nu is created with LiveCode server deployment, it is just 2 > files > > of LiveCode code and the RevSpark libraries. It works great and now it is > > inspiring some people... > > > > check out the enhancement request at: > > http://code.google.com/p/yourls/issues/detail?id=798&can=1&q=fon.nu > > > > :-D > > > > > > -- > > 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 mwieder at ahsoftware.net Sun May 15 17:51:09 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Sun, 15 May 2011 14:51:09 -0700 Subject: Incredibly slow revlet in Win 7 In-Reply-To: References: <4D93511C.5010703@hyperactivesw.com> <4D9398D3.7080304@tweedly.net> <31CFEDC9-E4AF-42F9-8631-13E9AD315ED7@twft.com> <4DCD66EC.5060107@hyperactivesw.com> Message-ID: <171660057640.20110515145109@ahsoftware.net> stephen- Sunday, May 15, 2011, 1:17:18 PM, you wrote: > perhaps they are now to be called Livelets, or CodeLets. I like Codelets > better. If they're that slow, maybe they should be PigLets... -- -Mark Wieder mwieder at ahsoftware.net From bvlahos at mac.com Sun May 15 19:53:44 2011 From: bvlahos at mac.com (Bill Vlahos) Date: Sun, 15 May 2011 16:53:44 -0700 Subject: {ANN} InfoWallet 1.3.14 Released Message-ID: <93C6C748-443D-47AE-96D8-192E88C2798B@mac.com> Thanks for everyone's help and suggestions. I was able to incorporate them in the new release of InfoWallet. Bill Vlahos _________________ InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. From jimaultwins at yahoo.com Sun May 15 21:25:32 2011 From: jimaultwins at yahoo.com (Jim Ault) Date: Sun, 15 May 2011 18:25:32 -0700 Subject: {ANN} InfoWallet 1.3.14 Released In-Reply-To: <93C6C748-443D-47AE-96D8-192E88C2798B@mac.com> References: <93C6C748-443D-47AE-96D8-192E88C2798B@mac.com> Message-ID: Congratulations on getting all the work done :-) On May 15, 2011, at 4:53 PM, Bill Vlahos wrote: > Thanks for everyone's help and suggestions. I was able to > incorporate them in the new release of InfoWallet. > > Bill Vlahos > _________________ > InfoWallet (http://www.infowallet.com) is about keeping your > important life information with you, accessible, and secure. Jim Ault Las Vegas From revdev at pdslabs.net Sun May 15 22:42:21 2011 From: revdev at pdslabs.net (Phil Davis) Date: Sun, 15 May 2011 19:42:21 -0700 Subject: [OT] fon.nu feature set is getting famous In-Reply-To: References: Message-ID: <4DD08F0D.7040607@pdslabs.net> Thanks for sharing the whole enchilada, Andre! I imagine a lot of people (like myself) learn best by studying examples and tinkering with them to suit our needs. Great job! Phil On 5/15/11 1:58 PM, Andre Garzia wrote: > Matthias, > > Fon.nu works fairly easy. When we want to shorten a URL, we compute an md5 > of the url then we convert it to base 23 so that is becomes something like > A123FG and the short url is something like http://fon.nu/A123FG, so for a > given URL always generate the same small code. This code is stored as a text > file inside a data folder in the server, the first line of that folder is > the long URL. When someone tries to access http://fon.nu/something the irev > file picks the something part and checks to see if a file exists, if it > exists, then it issues a "301 Location changed HTTP header" pointing to the > long URL. The other lines in the text files are used for the single use > feature and the email sending feature but it is all very basic. An .htaccess > file is used in the fon.nu domain to map the /code part to a specific GET > request case but that is all. > > You can get all the source code from here: http://hg.andregarzia.com/fon.nu/ > > :-D > > > > On Sun, May 15, 2011 at 10:09 AM, Matthias Rebbewrote: > >> Hi Andre, >> >> very very impressive. I have done something similar, but only for inhouse >> use. >> I created a desktop app, which creates for each "long url" a short url e.g >> http://m-r-d.de/x where x is a number. For each new short url the >> number increases. >> I then create a folder (with the name of the increased number) under that >> domain and place a .htaccess file with a "mod_rewrite" in it. For that i am >> using ftp. >> The long and short url and some other information are also stored in a >> database, so i can list all redirections in my desktop app for modification >> like deletion, >> enable or disable or change them. >> >> Are you also using .htaccess?. How did you solve that e-mail thing? >> Are you doing a redirection through an .irev file instead of using >> .htaccess, so you can include also the mail alert function? >> >> It would very nice, if you could share that information with us. >> >> >> Regards, >> >> Matthias >> >> >> >> >> Am 15.05.2011 um 05:53 schrieb Andre Garzia: >> >>> Hello Folks, >>> >>> During RunRevLive.11, more precisely at 4:00 AM in the morning, I created >>> fon.nu, a minimalist url shortening service. I created that because at >> 9:00 >>> AM on the same day, I was going to give a presentation on social networks >>> and wanted the URLs on my slides to be short. So, fon.nu domain was >> cheap >>> and I quickly created some easy code. In the following weeks, I've been >>> using my own url shortening service more and more and added more features >> to >>> it. >>> >>> Today I was checking my referrals in Google Analytics and I saw traffic >>> comming from yourls project page. Yourls is an open source project for >> url >>> shortening, you can install it on your own service and create your own >>> version of a bitly-like service for example. When I went to the referral >>> link to see how people were being driven from there to my own >>> fon.nuservice, I saw something that made me very happy. One of their >>> users saw >>> value in some features that I think may be unique do fon.nu such as >> single >>> use URLs and the like so he opened an enhancement request in yourls >> project >>> page to add features from fon.nu to yourls. The developers refused with >> a >>> very good answer, yourls has a plugin architecture so those features >> could >>> easily be made into a plugin and thus the enhancement was rejected but >>> still, seeing my little toy project used with an enhancement request for >> a >>> major open source project made me smile. >>> >>> http://fon.nu is created with LiveCode server deployment, it is just 2 >> files >>> of LiveCode code and the RevSpark libraries. It works great and now it is >>> inspiring some people... >>> >>> check out the enhancement request at: >>> http://code.google.com/p/yourls/issues/detail?id=798&can=1&q=fon.nu >>> >>> :-D >>> >>> >>> -- >>> 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 >> > > -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net From bvg at mac.com Mon May 16 05:42:56 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Mon, 16 May 2011 11:42:56 +0200 Subject: Live LiveCode code event #23 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> Message-ID: <76F16ED1-57E4-4576-81F3-EFFC014D4F6C@mac.com> Past event was a blast. For the future, we need: Presenters People that help with organisation People that help with making streaming easier (it's already decent, but not super easy) Contact me, or mark, or post to the site: http://livecode.tv/participate/ Andreas has delivered free, native iPhone widgets, and is constantly updating them. Presentation: http://www.ustream.tv/recorded/14701243 Stack for your use (constantly updating while work progresses): http://www.andreas-rozek.de/iPhoneControlKit/iPhoneControlKit.livecode.zip Image of what it will become: http://www.andreas-rozek.de/iPhoneControlKit/iPhoneControlKit.jpg Alternate but static URLs: http://blog.livecode.tv/wp-content/uploads/2011/05/iPhoneControlKit.jpg http://blog.livecode.tv/wp-content/uploads/2011/05/iPhoneControlKit.livecode-1.zip Note that you're supposed to send Andreas amendments you make to the code, and if you publish your edits, make sure to clearly label them as your own with comments. The code is using the MIT license. Bjoernke (me) has made another basic introduction, this time it's "the 4 kinds of things that are named stacks in livecode", I hope this allows people to understand the very weird overuse of the term "stack" in our beloved language and ide. Presentation: http://www.ustream.tv/recorded/14702348 Presentation "slides": http://blog.livecode.tv/wp-content/uploads/2011/05/stacks.pdf cheers Bjoernke On 13 May 2011, at 21:52, Bj?rnke von Gierke wrote: > Next event is tomorrow. > > Due to horrible Jet Lag problems for me, and Marks ability to only do the work of 2 people at once (but not 3), we still desperately need other people ready to do organisation of these events. On a related note, we also need presenters, for all future weekends (not tomorrow tho). > > Tomorrow, Andreas will update us with more information about his complete HIG conforming widget library for iOS. Every iOS deploying LiveCode user needs it, especially those wanting to become viable in the iOS business market. > http://livecode.tv/andreas/ > > I will show a very basic intro to something in LiveCode, but I have no clue what yet. Maybe message path, or explaining the 5 different things that are named 'stack'. As mentioned in another event, I do love surprises. Sorry for that. > http://livecode.tv/bvg/ > > To watch these presentations, please join chatrev (you can find it at http://bjoernke.com/chatrev/ ) at 20:00 CET which some website tells me translates to this: > > Edinburgh 19:00 > Boston 14:00 > Los Angeles 11:00 > Hong Kong 02:00 (Sun) > > Same info and past presentations can be found on http://livecode.tv . > > > Cheers > 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 From lists at mangomultimedia.com Mon May 16 10:29:24 2011 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 16 May 2011 10:29:24 -0400 Subject: Obscuring password data in a data grid In-Reply-To: References: <79393C12-C377-4927-AB45-CE684B91F467@clarkeandclarke.co.uk> <38E5125B-1863-4F4E-ABAB-817AD4150577@clarkeandclarke.co.uk> Message-ID: On Fri, May 13, 2011 at 9:55 AM, Nonsanity wrote: > Careful with a password protect font. It may not be readable, but someone > can select, copy, and paste somewhere else to read it. As the developer of an application you have control over what can be selected, cut or copied to the clipboard. You can just disable these features for Password fields and use the font for display. -- Trevor DeVore Blue Mango Learning Systems LiveCode Resources for Developers: http://livecode.bluemangolearning.com Get SQL Yoga as part of the Omegabundle for LiveCode 2011: Save 85% on essential tools for LiveCode development - omegabundle.com. From m.schonewille at economy-x-talk.com Mon May 16 10:36:20 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 16 May 2011 16:36:20 +0200 Subject: Obscuring password data in a data grid In-Reply-To: References: <79393C12-C377-4927-AB45-CE684B91F467@clarkeandclarke.co.uk> <38E5125B-1863-4F4E-ABAB-817AD4150577@clarkeandclarke.co.uk> Message-ID: <493799DC-9AC6-474A-9AE6-3B64C7FBEC2A@economy-x-talk.com> Until a clever bloke writes an AppleScript that gets all the strings from the current card. Can't control that :-) -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce On 16 mei 2011, at 16:29, Trevor DeVore wrote: > On Fri, May 13, 2011 at 9:55 AM, Nonsanity wrote: > >> Careful with a password protect font. It may not be readable, but someone >> can select, copy, and paste somewhere else to read it. > > > As the developer of an application you have control over what can be > selected, cut or copied to the clipboard. You can just disable these > features for Password fields and use the font for display. > > -- > > Trevor DeVore > > Blue Mango Learning Systems From lists at mangomultimedia.com Mon May 16 10:53:24 2011 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 16 May 2011 10:53:24 -0400 Subject: Obscuring password data in a data grid In-Reply-To: <493799DC-9AC6-474A-9AE6-3B64C7FBEC2A@economy-x-talk.com> References: <79393C12-C377-4927-AB45-CE684B91F467@clarkeandclarke.co.uk> <38E5125B-1863-4F4E-ABAB-817AD4150577@clarkeandclarke.co.uk> <493799DC-9AC6-474A-9AE6-3B64C7FBEC2A@economy-x-talk.com> Message-ID: On Mon, May 16, 2011 at 10:36 AM, Mark Schonewille < m.schonewille at economy-x-talk.com> wrote: > Until a clever bloke writes an AppleScript that gets all the strings from > the current card. Can't control that :-) > Can AppleScript access the text in LiveCode fields? -- Trevor DeVore Blue Mango Learning Systems LiveCode Resources for Developers: http://livecode.bluemangolearning.com Get SQL Yoga as part of the Omegabundle for LiveCode 2011: Save 85% on essential tools for LiveCode development - omegabundle.com. From m.schonewille at economy-x-talk.com Mon May 16 11:05:44 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 16 May 2011 17:05:44 +0200 Subject: Obscuring password data in a data grid In-Reply-To: References: <79393C12-C377-4927-AB45-CE684B91F467@clarkeandclarke.co.uk> <38E5125B-1863-4F4E-ABAB-817AD4150577@clarkeandclarke.co.uk> <493799DC-9AC6-474A-9AE6-3B64C7FBEC2A@economy-x-talk.com> Message-ID: Yes. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce On 16 mei 2011, at 16:53, Trevor DeVore wrote: > On Mon, May 16, 2011 at 10:36 AM, Mark Schonewille < > m.schonewille at economy-x-talk.com> wrote: > >> Until a clever bloke writes an AppleScript that gets all the strings from >> the current card. Can't control that :-) >> > > Can AppleScript access the text in LiveCode fields? > > -- > > Trevor DeVore > > Blue Mango Learning Systems > > > LiveCode Resources for Developers: http://livecode.bluemangolearning.com > > > Get SQL Yoga as part of the Omegabundle for LiveCode 2011: Save 85% on > essential tools for LiveCode development - omegabundle.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 Mon May 16 11:09:56 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Mon, 16 May 2011 08:09:56 -0700 Subject: Obscuring password data in a data grid In-Reply-To: References: Message-ID: <4DD13E44.6060008@fourthworld.com> Mark Schonewille wrote: > On 16 mei 2011, at 16:53, Trevor DeVore wrote: > >> Can AppleScript access the text in LiveCode fields? >> > Yes. How? I had thought the AE dictionary was limited to DOSC and EVAL, thereby limited access to only those things the scripter has implemented (or at least not blocked). What AppleScript would one use to access field content in a way that cannot be blocked by LiveCode? -- 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 lists at mangomultimedia.com Mon May 16 11:16:03 2011 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 16 May 2011 11:16:03 -0400 Subject: Obscuring password data in a data grid In-Reply-To: References: <79393C12-C377-4927-AB45-CE684B91F467@clarkeandclarke.co.uk> <38E5125B-1863-4F4E-ABAB-817AD4150577@clarkeandclarke.co.uk> <493799DC-9AC6-474A-9AE6-3B64C7FBEC2A@economy-x-talk.com> Message-ID: On Mon, May 16, 2011 at 11:05 AM, Mark Schonewille < m.schonewille at economy-x-talk.com> wrote: > Yes. This is good to know. Can you point me towards some example scripts so that I can experiment with this in applications built with LiveCode? -- Trevor DeVore Blue Mango Learning Systems LiveCode Resources for Developers: http://livecode.bluemangolearning.com Get SQL Yoga as part of the Omegabundle for LiveCode 2011: Save 85% on essential tools for LiveCode development - omegabundle.com. From m.schonewille at economy-x-talk.com Mon May 16 11:32:01 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 16 May 2011 17:32:01 +0200 Subject: Obscuring password data in a data grid In-Reply-To: <4DD13E44.6060008@fourthworld.com> References: <4DD13E44.6060008@fourthworld.com> Message-ID: Richard, Make a stack with the following script in the stack script: on openStack insert script of btn 3 of me into back end openStack The back script should be: on bla return the text of fld 1 of stack "x" end bla and the AppleScript: tell application "LiveCode 4.6.1" set x to choose file set thePath to the POSIX path of x do script "go stack \"" & thePath & "\"" do script "bla; return the result" end tell Run the AppleScript, choose your "hack" stack, excute whatever you like and retrieve the result. You can do this with standalones, too. There might be a much simpler solution, but I know this works. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce On 16 mei 2011, at 17:09, Richard Gaskin wrote: > Mark Schonewille wrote: > >> On 16 mei 2011, at 16:53, Trevor DeVore wrote: >> >>> Can AppleScript access the text in LiveCode fields? >>> >> Yes. > > How? > > I had thought the AE dictionary was limited to DOSC and EVAL, thereby limited access to only those things the scripter has implemented (or at least not blocked). > > What AppleScript would one use to access field content in a way that cannot be blocked by LiveCode? > > -- > 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 m.schonewille at economy-x-talk.com Mon May 16 11:33:43 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 16 May 2011 17:33:43 +0200 Subject: Obscuring password data in a data grid In-Reply-To: References: <79393C12-C377-4927-AB45-CE684B91F467@clarkeandclarke.co.uk> <38E5125B-1863-4F4E-ABAB-817AD4150577@clarkeandclarke.co.uk> <493799DC-9AC6-474A-9AE6-3B64C7FBEC2A@economy-x-talk.com> Message-ID: <4402F2B1-9187-4336-B7D2-19CAC13C34F7@economy-x-talk.com> Trevor, I've just posted one possible solution. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce On 16 mei 2011, at 17:16, Trevor DeVore wrote: > > > This is good to know. Can you point me towards some example scripts so that > I can experiment with this in applications built with LiveCode? > > -- > > Trevor DeVore > > Blue Mango Learning Systems > From lists at mangomultimedia.com Mon May 16 11:42:03 2011 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 16 May 2011 11:42:03 -0400 Subject: Obscuring password data in a data grid In-Reply-To: <4402F2B1-9187-4336-B7D2-19CAC13C34F7@economy-x-talk.com> References: <79393C12-C377-4927-AB45-CE684B91F467@clarkeandclarke.co.uk> <38E5125B-1863-4F4E-ABAB-817AD4150577@clarkeandclarke.co.uk> <493799DC-9AC6-474A-9AE6-3B64C7FBEC2A@economy-x-talk.com> <4402F2B1-9187-4336-B7D2-19CAC13C34F7@economy-x-talk.com> Message-ID: On Mon, May 16, 2011 at 11:33 AM, Mark Schonewille < m.schonewille at economy-x-talk.com> wrote: I've just posted one possible solution. Thanks. The developer can block these actions with the following line in an appleEvent handler placed in a library stack, however: ## Don't let user execute random scripts if pClass & pID is among the items of "miscDOSC,miscEVAL" then exit appleEvent -- Trevor DeVore Blue Mango Learning Systems LiveCode Resources for Developers: http://livecode.bluemangolearning.com Get SQL Yoga as part of the Omegabundle for LiveCode 2011: Save 85% on essential tools for LiveCode development - omegabundle.com. From m.schonewille at economy-x-talk.com Mon May 16 11:47:50 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 16 May 2011 17:47:50 +0200 Subject: Obscuring password data in a data grid In-Reply-To: References: <79393C12-C377-4927-AB45-CE684B91F467@clarkeandclarke.co.uk> <38E5125B-1863-4F4E-ABAB-817AD4150577@clarkeandclarke.co.uk> <493799DC-9AC6-474A-9AE6-3B64C7FBEC2A@economy-x-talk.com> <4402F2B1-9187-4336-B7D2-19CAC13C34F7@economy-x-talk.com> Message-ID: <6B9D5F44-0FA0-4120-A022-AC30E01F17B3@economy-x-talk.com> Hi Trevor, Does that prevent AppleScript also from opening another stack in a standalone and executing the openStack handler? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce On 16 mei 2011, at 17:42, Trevor DeVore wrote: > On Mon, May 16, 2011 at 11:33 AM, Mark Schonewille < > m.schonewille at economy-x-talk.com> wrote: > I've just posted one possible solution. > > Thanks. The developer can block these actions with the following line in an > appleEvent handler placed in a library stack, however: > > ## Don't let user execute random scripts > if pClass & pID is among the items of "miscDOSC,miscEVAL" then exit > appleEvent > > -- > Trevor DeVore > Blue Mango Learning Systems > > LiveCode Resources for Developers: http://livecode.bluemangolearning.com > > Get SQL Yoga as part of the Omegabundle for LiveCode 2011: Save 85% on > essential tools for LiveCode development - omegabundle.com. From lists at mangomultimedia.com Mon May 16 12:02:54 2011 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 16 May 2011 12:02:54 -0400 Subject: Obscuring password data in a data grid In-Reply-To: <6B9D5F44-0FA0-4120-A022-AC30E01F17B3@economy-x-talk.com> References: <79393C12-C377-4927-AB45-CE684B91F467@clarkeandclarke.co.uk> <38E5125B-1863-4F4E-ABAB-817AD4150577@clarkeandclarke.co.uk> <493799DC-9AC6-474A-9AE6-3B64C7FBEC2A@economy-x-talk.com> <4402F2B1-9187-4336-B7D2-19CAC13C34F7@economy-x-talk.com> <6B9D5F44-0FA0-4120-A022-AC30E01F17B3@economy-x-talk.com> Message-ID: On Mon, May 16, 2011 at 11:47 AM, Mark Schonewille < m.schonewille at economy-x-talk.com> wrote: > Does that prevent AppleScript also from opening another stack in a > standalone and executing the openStack handler? No. But your code that process the AppleScript events for opening files handles that (assuming the LiveCode engine will open stacks automatically in applications built with LiveCode). If your application uses stacks for data storage I wouldn't recommending implementing it in such a way that allows random code execution. You should just load the stack into memory using something like `if there is a stack "/path/to/stack"`. That way no messages are sent and no code is executed. -- Trevor DeVore Blue Mango Learning Systems LiveCode Resources for Developers: http://livecode.bluemangolearning.com Get SQL Yoga as part of the Omegabundle for LiveCode 2011: Save 85% on essential tools for LiveCode development - omegabundle.com. From bvg at mac.com Mon May 16 12:28:12 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Mon, 16 May 2011 18:28:12 +0200 Subject: Obscuring password data in a data grid In-Reply-To: References: <79393C12-C377-4927-AB45-CE684B91F467@clarkeandclarke.co.uk> <38E5125B-1863-4F4E-ABAB-817AD4150577@clarkeandclarke.co.uk> <493799DC-9AC6-474A-9AE6-3B64C7FBEC2A@economy-x-talk.com> <4402F2B1-9187-4336-B7D2-19CAC13C34F7@economy-x-talk.com> <6B9D5F44-0FA0-4120-A022-AC30E01F17B3@economy-x-talk.com> Message-ID: <5E8ED601-64DB-4FA2-9090-C90D3EB9F63A@mac.com> you can open any arbitrary stack with any livecode made standalone. just drag drop the stack file onto the standalone, or use the file association dialog of the OS (for example right click "open with..." on windows, then select any standalone). On 16 May 2011, at 18:02, Trevor DeVore wrote: > On Mon, May 16, 2011 at 11:47 AM, Mark Schonewille < > m.schonewille at economy-x-talk.com> wrote: > >> Does that prevent AppleScript also from opening another stack in a >> standalone and executing the openStack handler? > > > No. But your code that process the AppleScript events for opening files > handles that (assuming the LiveCode engine will open stacks automatically in > applications built with LiveCode). > > If your application uses stacks for data storage I wouldn't recommending > implementing it in such a way that allows random code execution. You should > just load the stack into memory using something like `if there is a stack > "/path/to/stack"`. That way no messages are sent and no code is executed. > > -- > Trevor DeVore > Blue Mango Learning Systems > > LiveCode Resources for Developers: http://livecode.bluemangolearning.com > > Get SQL Yoga as part of the Omegabundle for LiveCode 2011: Save 85% on > essential tools for LiveCode development - omegabundle.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 lists at mangomultimedia.com Mon May 16 12:32:41 2011 From: lists at mangomultimedia.com (Trevor DeVore) Date: Mon, 16 May 2011 12:32:41 -0400 Subject: Obscuring password data in a data grid In-Reply-To: <5E8ED601-64DB-4FA2-9090-C90D3EB9F63A@mac.com> References: <79393C12-C377-4927-AB45-CE684B91F467@clarkeandclarke.co.uk> <38E5125B-1863-4F4E-ABAB-817AD4150577@clarkeandclarke.co.uk> <493799DC-9AC6-474A-9AE6-3B64C7FBEC2A@economy-x-talk.com> <4402F2B1-9187-4336-B7D2-19CAC13C34F7@economy-x-talk.com> <6B9D5F44-0FA0-4120-A022-AC30E01F17B3@economy-x-talk.com> <5E8ED601-64DB-4FA2-9090-C90D3EB9F63A@mac.com> Message-ID: 2011/5/16 Bj?rnke von Gierke > you can open any arbitrary stack with any livecode made standalone. just > drag drop the stack file onto the standalone, or use the file association > dialog of the OS (for example right click "open with..." on windows, then > select any standalone). Doing so will trigger the appleEvent message which means you control what happens when the file is dropped on your application. -- Trevor DeVore Blue Mango Learning Systems LiveCode Resources for Developers: http://livecode.bluemangolearning.com Get SQL Yoga as part of the Omegabundle for LiveCode 2011: Save 85% on essential tools for LiveCode development - omegabundle.com. From webmaster at dreamscapesoftware.com Mon May 16 13:11:50 2011 From: webmaster at dreamscapesoftware.com (Derek Bump - Dreamscape Software) Date: Mon, 16 May 2011 12:11:50 -0500 Subject: Suggestions for releasing to Open Source Message-ID: <4DD15AD6.4010603@dreamscapesoftware.com> Does anyone have any suggestions for an easy way that I can release a project as Open Source? Do I just put the code up on sourceforge or freshmeat? The project already includes TightVNC functionality, and as such, forces me to release the project as Open Source. Also, I'm not looking to actively develop the project any further, I just want to release what I've got so far and let anyone else take it and run with it. Any ideas are greatly appreciated. Thanks! Derek Bump Dreamscape Software http://www.dreamscapesoftware.com From richmondmathewson at gmail.com Mon May 16 13:33:52 2011 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Mon, 16 May 2011 20:33:52 +0300 Subject: Suggestions for releasing to Open Source In-Reply-To: <4DD15AD6.4010603@dreamscapesoftware.com> References: <4DD15AD6.4010603@dreamscapesoftware.com> Message-ID: <4DD16000.1000707@gmail.com> On 05/16/2011 08:11 PM, Derek Bump - Dreamscape Software wrote: > Does anyone have any suggestions for an easy way that I can release a > project as Open Source? > > Do I just put the code up on sourceforge or freshmeat? > > The project already includes TightVNC functionality, and as such, > forces me to release the project as Open Source. Also, I'm not > looking to actively develop the project any further, I just want to > release what I've got so far and let anyone else take it and run with it. > > Any ideas are greatly appreciated. Thanks! > If your project involves Livecode/Runtime Revolution it CANNOT be released as Open Source as the Livecode engine is Closed Source. I fell foul of this about 5 years ago when I offered a slew of my EFL programs as freebies to the Edubuntu arm of Ubuntu; they turned them down flat because they were not completely open source (even though I was prepared to bundle the original stacks with them). In fact IFF your project involves some sort of code (such as TightVNC) that obliges you to release your end product as Open Source, and also involves the Livecode engine, you are, to be rather coarse, 'sha**ed' (whatever consonants you supply you will end up with something fairly filthy), as Livecode stuff ISN'T Open Source; and sitting on a fence is rather uncomfortable, and it is difficult to see exactly how you could do that in that sort of situation. Until someone develops an Open Source clone of the Livecode engine (all rather too much work for precious little reward) ALL stuff developed with Liecode cannot be described as Open Source. Sorry. From webmaster at dreamscapesoftware.com Mon May 16 14:07:13 2011 From: webmaster at dreamscapesoftware.com (Derek Bump - Dreamscape Software) Date: Mon, 16 May 2011 13:07:13 -0500 Subject: Suggestions for releasing to Open Source In-Reply-To: <4DD16000.1000707@gmail.com> References: <4DD15AD6.4010603@dreamscapesoftware.com> <4DD16000.1000707@gmail.com> Message-ID: <4DD167D1.9030206@dreamscapesoftware.com> On 5/16/11 12:33 PM, Richmond Mathewson wrote: > If your project involves Livecode/Runtime Revolution it CANNOT be > released as Open Source as the > Livecode engine is Closed Source. > > I fell foul of this about 5 years ago when I offered a slew of my EFL > programs as freebies to > the Edubuntu arm of Ubuntu; they turned them down flat because they were > not completely > open source (even though I was prepared to bundle the original stacks > with them). > > In fact IFF your project involves some sort of code (such as TightVNC) > that obliges you to > release your end product as Open Source, and also involves the Livecode > engine, you are, to be rather > coarse, 'sha**ed' (whatever consonants you supply you will end up with > something fairly > filthy), as Livecode stuff ISN'T Open Source; and sitting on a fence is > rather uncomfortable, and it is > difficult to see exactly how you could do that in that sort of situation. > > Until someone develops an Open Source clone of the Livecode engine (all > rather too much work > for precious little reward) ALL stuff developed with Liecode cannot be > described as Open Source. > > Sorry. Wow! That is pretty disappointing. Yeah, the whole thing is pretty much written in LiveCode. There is a little PHP in there, and then of course the TightVNC implementation. So at this point should I just release the source to Rev Online? I'm going to contact the folks at TightVNC and see if they'll allow me to bundle their VNC app with the 'openly available code' submitted to Rev Online. Who knows, maybe they'll make an exception. Thanks Richmond! Derek Bump Dreamscape Software http://www.dreamscapesoftware.com From m.schonewille at economy-x-talk.com Mon May 16 14:13:32 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 16 May 2011 20:13:32 +0200 Subject: Suggestions for releasing to Open Source In-Reply-To: <4DD16000.1000707@gmail.com> References: <4DD15AD6.4010603@dreamscapesoftware.com> <4DD16000.1000707@gmail.com> Message-ID: <849B016E-5963-461A-9AD7-48B19C2FD579@economy-x-talk.com> Richmond, That's not true. You could at least release your source code as open-source. There are open-source licenses that allow this. If you think no license fits, then simply invent your own. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce On 16 mei 2011, at 19:33, Richmond Mathewson wrote: > On 05/16/2011 08:11 PM, Derek Bump - Dreamscape Software wrote: >> Does anyone have any suggestions for an easy way that I can release a project as Open Source? >> >> Do I just put the code up on sourceforge or freshmeat? >> >> The project already includes TightVNC functionality, and as such, forces me to release the project as Open Source. Also, I'm not looking to actively develop the project any further, I just want to release what I've got so far and let anyone else take it and run with it. >> >> Any ideas are greatly appreciated. Thanks! >> > If your project involves Livecode/Runtime Revolution it CANNOT be released as Open Source as the > Livecode engine is Closed Source. > From richmondmathewson at gmail.com Mon May 16 14:42:43 2011 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Mon, 16 May 2011 21:42:43 +0300 Subject: Suggestions for releasing to Open Source In-Reply-To: <849B016E-5963-461A-9AD7-48B19C2FD579@economy-x-talk.com> References: <4DD15AD6.4010603@dreamscapesoftware.com> <4DD16000.1000707@gmail.com> <849B016E-5963-461A-9AD7-48B19C2FD579@economy-x-talk.com> Message-ID: <4DD17023.5040407@gmail.com> On 05/16/2011 09:13 PM, Mark Schonewille wrote: > Richmond, > > That's not true. You could at least release your source code as open-source. There are open-source licenses that allow this. If you think no license fits, then simply invent your own. > > -- > Best regards, > > Mark Schonewille > What's not true? Certainly the Livecode engine IS Closed Source, certainly Ubuntu went "all funny" when I offered them 25 RunRev standalones for Linux because of the closed nature of the engine. Now, as far as I understood Derek Bump's posting; he has developed something which contains Open Source software, and part of the licensing attached to that software requires anything developed with it to also be Open Source . . . From bmeriaho at gmail.com Mon May 16 15:10:59 2011 From: bmeriaho at gmail.com (Brian Meriaho) Date: Mon, 16 May 2011 15:10:59 -0400 Subject: get URL from inside firewall using automatic configuration script Message-ID: Anyone have any luck getting LiveCode apps to connect to a website from within a corporate network that is set up to use an automatic configuration script? I have done quite a bit of looking but am only able to find solutions that require my app to know the address of the proxy server. With the automatic configuration script, I can't figure a way to find a pointer to the proxy. I am able to get it to work from an external connection, just not inside the firewall. Thanks, -Brian From andre at andregarzia.com Mon May 16 15:21:41 2011 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 16 May 2011 09:21:41 -1000 Subject: Suggestions for releasing to Open Source In-Reply-To: <4DD17023.5040407@gmail.com> References: <4DD15AD6.4010603@dreamscapesoftware.com> <4DD16000.1000707@gmail.com> <849B016E-5963-461A-9AD7-48B19C2FD579@economy-x-talk.com> <4DD17023.5040407@gmail.com> Message-ID: Folks, First, the expert here on the list is David, he'll probably chime in soon. In the meanwhile let me give a couple information here. LiveCode stacks can be released as FOSS. We're over the linking with proprietary engine trouble, that has been discussed a lot and in the end, the stack is yours to distribute as you see fit. I recommend bitbucket as an online repo or if you want to do it on your own server then go fossil-scm. Now, onto Richmond's trouble and why the ubuntu project rejected his tools. Ubuntu needs all its bundled tools to be opensource including their dependencies because it needs to be able to rebuild itself from source with nothing but gcc. So open source that require a proprietary engine such as LiveCode is not acceptable because their users will not be able to rebuild it from source unless they have a license for lc. So it is about been able to rebuild more than it is about the linking issue. Unless the coordinators there are being particularly purists regarding the linking issues but I don't expect that from canonical, from debian or the fsf maybe. So in the end, you can release your software as open source, just don't expect big foss to pickit up because the source is of limited usefulness without an engine license. My two bananas Andre enviado do meu Nexus S andregarzia.com :: all we do is code On May 16, 2011 8:45 AM, "Richmond Mathewson" wrote: > On 05/16/2011 09:13 PM, Mark Schonewille wrote: >> Richmond, >> >> That's not true. You could at least release your source code as open-source. There are open-source licenses that allow this. If you think no license fits, then simply invent your own. >> >> -- >> Best regards, >> >> Mark Schonewille >> > What's not true? Certainly the Livecode engine IS Closed Source, > certainly Ubuntu went > "all funny" when I offered them 25 RunRev standalones for Linux because > of the closed nature of the > engine. > > Now, as far as I understood Derek Bump's posting; he has developed > something which contains > Open Source software, and part of the licensing attached to that > software requires anything developed with it to also be Open Source . . . > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 May 16 15:48:16 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 16 May 2011 21:48:16 +0200 Subject: Suggestions for releasing to Open Source In-Reply-To: <4DD17023.5040407@gmail.com> References: <4DD15AD6.4010603@dreamscapesoftware.com> <4DD16000.1000707@gmail.com> <849B016E-5963-461A-9AD7-48B19C2FD579@economy-x-talk.com> <4DD17023.5040407@gmail.com> Message-ID: Richmond, Andre, Derek, It is not true that you can't release your LiveCode stacks as open source, because the LiveCode development tool is not open source. Unless the license explicitly states that the development tool has to be open source, you can safely release your LiveCode stack as open source. The fact that the Ubuntu people don't like the need for a commercial tool doesn't mean that there is no way to release your stacks as open source. Within the LiveCode community, stacks released as open source can be very valuable. TightVNC is GNU GPL. This includes an obligation to offer the source code. Derek can offer his version of TightVNC together with the source code of his stacks as GNU GPL. Anyone who happens to have a LiveCode license can take this source code and work with it. It might be necessary to include a special permission to link source code with non-system libraries (GNU GPL v3:7) or to include your own text, an example of which you may find http://qery.us/qb here (GNU GPL v2). It is a real shame that GNU GPL has become that complicated. If you're making something from scratch and are not bound to GNU GPL, I'd use Creative Commons or invent something simple of your own. Andre is right that stacks can be released as FOSS, but Derek still needs a solution to release his stacks as FOSS while connected to a GNU GPL product as well as a proprietary product. An exception added to his own GNU GPL should sort that out. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce On 16 mei 2011, at 20:42, Richmond Mathewson wrote: > On 05/16/2011 09:13 PM, Mark Schonewille wrote: >> Richmond, >> >> That's not true. You could at least release your source code as open-source. There are open-source licenses that allow this. If you think no license fits, then simply invent your own. >> >> -- >> Best regards, >> >> Mark Schonewille >> > What's not true? Certainly the Livecode engine IS Closed Source, certainly Ubuntu went > "all funny" when I offered them 25 RunRev standalones for Linux because of the closed nature of the > engine. > > Now, as far as I understood Derek Bump's posting; he has developed something which contains > Open Source software, and part of the licensing attached to that software requires anything developed with it to also be Open Source . . . From andre at andregarzia.com Mon May 16 16:01:24 2011 From: andre at andregarzia.com (Andre Garzia) Date: Mon, 16 May 2011 10:01:24 -1000 Subject: Suggestions for releasing to Open Source In-Reply-To: References: <4DD15AD6.4010603@dreamscapesoftware.com> <4DD16000.1000707@gmail.com> <849B016E-5963-461A-9AD7-48B19C2FD579@economy-x-talk.com> <4DD17023.5040407@gmail.com> Message-ID: Mark, Please correct me if I am wrong but if he isn't linking against tightvnc libs then he can simply offer the tightvnc source and license his souurce as MIT or BSD. Bundling gpl software along with your own is ok as long as you distribute the source for the gpl part. If he is not bundling but has an external made then the external source must be gpl as well but since externals are dynamically loaded, the stack doesn't need to be gpl. Right? -- enviado do meu Nexus S - android is freedom. http://andregarzia.com :: all we do is code http://fon.nu :: minimalist url shortening On May 16, 2011 9:51 AM, "Mark Schonewille" < m.schonewille at economy-x-talk.com> wrote: > Richmond, Andre, Derek, > > It is not true that you can't release your LiveCode stacks as open source, because the LiveCode development tool is not open source. Unless the license explicitly states that the development tool has to be open source, you can safely release your LiveCode stack as open source. The fact that the Ubuntu people don't like the need for a commercial tool doesn't mean that there is no way to release your stacks as open source. Within the LiveCode community, stacks released as open source can be very valuable. > > TightVNC is GNU GPL. This includes an obligation to offer the source code. Derek can offer his version of TightVNC together with the source code of his stacks as GNU GPL. Anyone who happens to have a LiveCode license can take this source code and work with it. It might be necessary to include a special permission to link source code with non-system libraries (GNU GPL v3:7) or to include your own text, an example of which you may find http://qery.us/qb here (GNU GPL v2). > > It is a real shame that GNU GPL has become that complicated. If you're making something from scratch and are not bound to GNU GPL, I'd use Creative Commons or invent something simple of your own. > > Andre is right that stacks can be released as FOSS, but Derek still needs a solution to release his stacks as FOSS while connected to a GNU GPL product as well as a proprietary product. An exception added to his own GNU GPL should sort that out. > > -- > Best regards, > > Mark Schonewille > > Economy-x-Talk Consulting and Software Engineering > Homepage: http://economy-x-talk.com > Twitter: http://twitter.com/xtalkprogrammer > KvK: 50277553 > > New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce > > On 16 mei 2011, at 20:42, Richmond Mathewson wrote: > >> On 05/16/2011 09:13 PM, Mark Schonewille wrote: >>> Richmond, >>> >>> That's not true. You could at least release your source code as open-source. There are open-source licenses that allow this. If you think no license fits, then simply invent your own. >>> >>> -- >>> Best regards, >>> >>> Mark Schonewille >>> >> What's not true? Certainly the Livecode engine IS Closed Source, certainly Ubuntu went >> "all funny" when I offered them 25 RunRev standalones for Linux because of the closed nature of the >> engine. >> >> Now, as far as I understood Derek Bump's posting; he has developed something which contains >> Open Source software, and part of the licensing attached to that software requires anything developed with it to also be Open Source . . . > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 May 16 16:05:53 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 16 May 2011 22:05:53 +0200 Subject: get URL from inside firewall using automatic configuration script In-Reply-To: References: Message-ID: <8774C755-E18C-4442-8D06-F7E001476377@economy-x-talk.com> Hi Brian, It would be very interesting to me to find out about a solution for your problem. How do you connect? What exactly happens when you try to connect? Do you get any error messages? What do it and the result contain? -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce On 16 mei 2011, at 21:10, Brian Meriaho wrote: > Anyone have any luck getting LiveCode apps to connect to a website from > within a corporate network that is set up to use an automatic configuration > script? > > I have done quite a bit of looking but am only able to find solutions that > require my app to know the address of the proxy server. With the automatic > configuration script, I can't figure a way to find a pointer to the proxy. > > I am able to get it to work from an external connection, just not inside the > firewall. > > Thanks, > > -Brian > _______________________________________________ > use-livecode mailing list > use-livecode at 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 May 16 16:07:37 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 16 May 2011 22:07:37 +0200 Subject: Suggestions for releasing to Open Source In-Reply-To: References: <4DD15AD6.4010603@dreamscapesoftware.com> <4DD16000.1000707@gmail.com> <849B016E-5963-461A-9AD7-48B19C2FD579@economy-x-talk.com> <4DD17023.5040407@gmail.com> Message-ID: Hi Andre, You're right (AFAIK) but the problem is that LiveCode may be considered a non-system library that is linked to. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce On 16 mei 2011, at 22:01, Andre Garzia wrote: > Mark, > > Please correct me if I am wrong but if he isn't linking against tightvnc > libs then he can simply offer the tightvnc source and license his souurce as > MIT or BSD. Bundling gpl software along with your own is ok as long as you > distribute the source for the gpl part. If he is not bundling but has an > external made then the external source must be gpl as well but since > externals are dynamically loaded, the stack doesn't need to be gpl. Right? > From webmaster at dreamscapesoftware.com Mon May 16 16:30:24 2011 From: webmaster at dreamscapesoftware.com (Derek Bump - Dreamscape Software) Date: Mon, 16 May 2011 15:30:24 -0500 Subject: Suggestions for releasing to Open Source In-Reply-To: References: <4DD15AD6.4010603@dreamscapesoftware.com> <4DD16000.1000707@gmail.com> <849B016E-5963-461A-9AD7-48B19C2FD579@economy-x-talk.com> <4DD17023.5040407@gmail.com> Message-ID: <4DD18960.5030500@dreamscapesoftware.com> Thank you to everyone for your help on this. I hate to say it, but I'm spending too much time on this. Add to that, the GPL, FOSS and Open Source concept is a bit confusing (to me anyways). I'm going to remove TightVNC from the code and not include that functionality. Then I don't have to fear any legal action, or pay the $12k they want for a license. All I want to do is bundle the thing up into a zip file and offer it to the world for free. I think the project is a great project, it just needs a few talented people with some free time to make it even better. I also don't want to host it or maintain it anymore. I just want to upload it somewhere and give people access to it. Would Google Project Hosting give me this? Derek Bump Dreamscape Software http://www.dreamscapesoftware.com From richmondmathewson at gmail.com Mon May 16 16:49:12 2011 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Mon, 16 May 2011 23:49:12 +0300 Subject: Suggestions for releasing to Open Source In-Reply-To: <4DD18960.5030500@dreamscapesoftware.com> References: <4DD15AD6.4010603@dreamscapesoftware.com> <4DD16000.1000707@gmail.com> <849B016E-5963-461A-9AD7-48B19C2FD579@economy-x-talk.com> <4DD17023.5040407@gmail.com> <4DD18960.5030500@dreamscapesoftware.com> Message-ID: <4DD18DC8.3020904@gmail.com> On 05/16/2011 11:30 PM, Derek Bump - Dreamscape Software wrote: > Thank you to everyone for your help on this. > > I hate to say it, but I'm spending too much time on this. Add to > that, the GPL, FOSS and Open Source concept is a bit confusing (to me > anyways). > > I'm going to remove TightVNC from the code and not include that > functionality. Then I don't have to fear any legal action, or pay the > $12k they want for a license. $12k and a license seems to contradict Open Source. Oh, well, Richmond is probably missing something again . . . :( > > All I want to do is bundle the thing up into a zip file and offer it > to the world for free. I think the project is a great project, it > just needs a few talented people with some free time to make it even > better. > > I also don't want to host it or maintain it anymore. I just want to > upload it somewhere and give people access to it. Would Google > Project Hosting give me this? > > > Derek Bump > Dreamscape Software > http://www.dreamscapesoftware.com > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From m.schonewille at economy-x-talk.com Mon May 16 16:54:50 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Mon, 16 May 2011 22:54:50 +0200 Subject: Suggestions for releasing to Open Source In-Reply-To: <4DD18DC8.3020904@gmail.com> References: <4DD15AD6.4010603@dreamscapesoftware.com> <4DD16000.1000707@gmail.com> <849B016E-5963-461A-9AD7-48B19C2FD579@economy-x-talk.com> <4DD17023.5040407@gmail.com> <4DD18960.5030500@dreamscapesoftware.com> <4DD18DC8.3020904@gmail.com> Message-ID: <344B7B22-3010-4CCD-B553-809F7A09ACF7@economy-x-talk.com> Hi Richmond, That's called a dual license, I think. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce On 16 mei 2011, at 22:49, Richmond Mathewson wrote: > On 05/16/2011 11:30 PM, Derek Bump - Dreamscape Software wrote: >> Thank you to everyone for your help on this. >> >> I hate to say it, but I'm spending too much time on this. Add to that, the GPL, FOSS and Open Source concept is a bit confusing (to me anyways). >> >> I'm going to remove TightVNC from the code and not include that functionality. Then I don't have to fear any legal action, or pay the $12k they want for a license. > > $12k and a license seems to contradict Open Source. Oh, well, Richmond is probably missing > something again . . . :( > From webmaster at dreamscapesoftware.com Mon May 16 17:01:23 2011 From: webmaster at dreamscapesoftware.com (Derek Bump - Dreamscape Software) Date: Mon, 16 May 2011 16:01:23 -0500 Subject: Suggestions for releasing to Open Source In-Reply-To: <4DD18DC8.3020904@gmail.com> References: <4DD15AD6.4010603@dreamscapesoftware.com> <4DD16000.1000707@gmail.com> <849B016E-5963-461A-9AD7-48B19C2FD579@economy-x-talk.com> <4DD17023.5040407@gmail.com> <4DD18960.5030500@dreamscapesoftware.com> <4DD18DC8.3020904@gmail.com> Message-ID: <4DD190A3.3050006@dreamscapesoftware.com> On 5/16/11 3:49 PM, Richmond Mathewson wrote: > $12k and a license seems to contradict Open Source. Oh, well, Richmond > is probably missing > something again . . . :( The $12k pricetag is if you want to write a commercial program and include TightVNC functionality (which was my original plan). I don't agree with it at all, seeing how using the program "in" a commercial environment is OK, but using the program "for" commercial purposes is not OK. Either way, you're making money. Derek Bump Dreamscape Software http://www.dreamscapesoftware.com From williamdesmet at gmail.com Tue May 17 04:17:30 2011 From: williamdesmet at gmail.com (William de Smet) Date: Tue, 17 May 2011 10:17:30 +0200 Subject: Webcam screenshot trouble Message-ID: <41F00E77-F9AF-477F-B3AB-B888B23C9B5D@gmail.com> Hi there, I am playing with the Video Capture stack on Windows 7. Webcam works but the grabbed image shows colored pixels over the entire image (don't know the right word for this). I am using VFW as video option. Is this a known problem? Any suggestions on this one? Greetings, William ----- Verstuurd vanaf mijn iPhone! From runrev260805 at m-r-d.de Tue May 17 05:34:42 2011 From: runrev260805 at m-r-d.de (Matthias Rebbe) Date: Tue, 17 May 2011 11:34:42 +0200 Subject: [OT] fon.nu feature set is getting famous In-Reply-To: References: Message-ID: Andre, thank you very much for sharing this! ! ! Matthias Am 15.05.2011 um 22:58 schrieb Andre Garzia: > Matthias, > > Fon.nu works fairly easy. When we want to shorten a URL, we compute an md5 > of the url then we convert it to base 23 so that is becomes something like > A123FG and the short url is something like http://fon.nu/A123FG, so for a > given URL always generate the same small code. This code is stored as a text > file inside a data folder in the server, the first line of that folder is > the long URL. When someone tries to access http://fon.nu/something the irev > file picks the something part and checks to see if a file exists, if it > exists, then it issues a "301 Location changed HTTP header" pointing to the > long URL. The other lines in the text files are used for the single use > feature and the email sending feature but it is all very basic. An .htaccess > file is used in the fon.nu domain to map the /code part to a specific GET > request case but that is all. > > You can get all the source code from here: http://hg.andregarzia.com/fon.nu/ > > :-D > > > > On Sun, May 15, 2011 at 10:09 AM, Matthias Rebbe wrote: > >> Hi Andre, >> >> very very impressive. I have done something similar, but only for inhouse >> use. >> I created a desktop app, which creates for each "long url" a short url e.g >> http://m-r-d.de/x where x is a number. For each new short url the >> number increases. >> I then create a folder (with the name of the increased number) under that >> domain and place a .htaccess file with a "mod_rewrite" in it. For that i am >> using ftp. >> The long and short url and some other information are also stored in a >> database, so i can list all redirections in my desktop app for modification >> like deletion, >> enable or disable or change them. >> >> Are you also using .htaccess?. How did you solve that e-mail thing? >> Are you doing a redirection through an .irev file instead of using >> .htaccess, so you can include also the mail alert function? >> >> It would very nice, if you could share that information with us. >> >> >> Regards, >> >> Matthias >> >> >> >> >> Am 15.05.2011 um 05:53 schrieb Andre Garzia: >> >>> Hello Folks, >>> >>> During RunRevLive.11, more precisely at 4:00 AM in the morning, I created >>> fon.nu, a minimalist url shortening service. I created that because at >> 9:00 >>> AM on the same day, I was going to give a presentation on social networks >>> and wanted the URLs on my slides to be short. So, fon.nu domain was >> cheap >>> and I quickly created some easy code. In the following weeks, I've been >>> using my own url shortening service more and more and added more features >> to >>> it. >>> >>> Today I was checking my referrals in Google Analytics and I saw traffic >>> comming from yourls project page. Yourls is an open source project for >> url >>> shortening, you can install it on your own service and create your own >>> version of a bitly-like service for example. When I went to the referral >>> link to see how people were being driven from there to my own >>> fon.nuservice, I saw something that made me very happy. One of their >>> users saw >>> value in some features that I think may be unique do fon.nu such as >> single >>> use URLs and the like so he opened an enhancement request in yourls >> project >>> page to add features from fon.nu to yourls. The developers refused with >> a >>> very good answer, yourls has a plugin architecture so those features >> could >>> easily be made into a plugin and thus the enhancement was rejected but >>> still, seeing my little toy project used with an enhancement request for >> a >>> major open source project made me smile. >>> >>> http://fon.nu is created with LiveCode server deployment, it is just 2 >> files >>> of LiveCode code and the RevSpark libraries. It works great and now it is >>> inspiring some people... >>> >>> check out the enhancement request at: >>> http://code.google.com/p/yourls/issues/detail?id=798&can=1&q=fon.nu >>> >>> :-D >>> >>> >>> -- >>> 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. > _______________________________________________ > use-livecode mailing list > use-livecode at 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 May 17 07:52:23 2011 From: lists at mangomultimedia.com (Trevor DeVore) Date: Tue, 17 May 2011 07:52:23 -0400 Subject: get URL from inside firewall using automatic configuration script In-Reply-To: References: Message-ID: On Mon, May 16, 2011 at 3:10 PM, Brian Meriaho wrote: > Anyone have any luck getting LiveCode apps to connect to a website from > within a corporate network that is set up to use an automatic configuration > script? > Implementing support for PAC files in LiveCode isn't trivial but it can be done. There is a function in the engine named httpProxyForURL that was documented in the engine release notes at one time. When provided with the PAC file (JavaScript) and some JavaScript containing some support functions, httpProxyForURL will determine the proper proxy IP address to use for any given URL. To properly implement PAC support httpProxyForURL needs to be integrated into libURL (the library that handles HTTP/HTTPS/FTP communication for LiveCode). At this point the libURL library included with LiveCode does not integrate httpProxyForURL. The custom version of libURL that is included with the GLX Application Framework has httpProxyForURL built in. The framework itself has handlers that determine the proxy URL or PAC file in use on the system and sets up libURL accordingly. You could use the custom libURL library and extract the relevant handlers from the framework for use in your project if you wanted (or just use the framework for your project). During the last month I've fixed some bugs in my custom libURL library relating to PAC files and cookie processing. I haven't posted an update to the framework yet that contains the fixes but I can email them to you the relevant files if you would like. -- Trevor DeVore Blue Mango Learning Systems LiveCode Resources for Developers: http://livecode.bluemangolearning.com Get SQL Yoga as part of the Omegabundle for LiveCode 2011: Save 85% on essential tools for LiveCode development - omegabundle.com. From bobs at twft.com Tue May 17 12:22:26 2011 From: bobs at twft.com (Bob Sneidar) Date: Tue, 17 May 2011 09:22:26 -0700 Subject: [OT] fon.nu feature set is getting famous In-Reply-To: References: Message-ID: So's you know, this will wreak havoc with a lot of browsers and firewall software. Bob On May 17, 2011, at 2:34 AM, Matthias Rebbe wrote: >> This code is stored as a text >> file inside a data folder in the server, the first line of that folder is >> the long URL. When someone tries to access http://fon.nu/something the irev >> file picks the something part and checks to see if a file exists, if it >> exists, then it issues a "301 Location changed HTTP header" pointing to the >> long URL. From richmondmathewson at gmail.com Tue May 17 12:50:55 2011 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Tue, 17 May 2011 19:50:55 +0300 Subject: [OT] fon.nu feature set is getting famous In-Reply-To: References: Message-ID: <4DD2A76F.4010405@gmail.com> On 05/17/2011 07:22 PM, Bob Sneidar wrote: > So's you know, this will wreak havoc with a lot of browsers and firewall software. > > Bob > > That's what makes it so appealing . . . :) From cphillips at earthlink.net Tue May 17 13:25:42 2011 From: cphillips at earthlink.net (Charles Phillips) Date: Tue, 17 May 2011 13:25:42 -0400 Subject: [OT] fon.nu feature set is getting famous In-Reply-To: <4DD2A76F.4010405@gmail.com> References: <4DD2A76F.4010405@gmail.com> Message-ID: <069D6C6F-BEF8-4E0B-8228-BD157302D986@earthlink.net> Sicko On May 17, 2011, at 12:50 PM, Richmond Mathewson wrote: > On 05/17/2011 07:22 PM, Bob Sneidar wrote: >> So's you know, this will wreak havoc with a lot of browsers and >> firewall software. >> >> Bob >> >> > That's what makes it so appealing . . . :) > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Tue May 17 13:56:04 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Tue, 17 May 2011 10:56:04 -0700 Subject: [OT] fon.nu feature set is getting famous In-Reply-To: References: Message-ID: <4DD2B6B4.50207@fourthworld.com> Bob Sneidar wrote: > On May 17, 2011, at 2:34 AM, Matthias Rebbe wrote: > >>> This code is stored as a text file inside a data folder in >>> the server, the first line of that folder is >>> the long URL. When someone tries to access http://fon.nu/something >>> the irev file picks the something part and checks to see if a file >>> exists, if it exists, then it issues a "301 Location changed HTTP >>> header" pointing to the long URL. > > So's you know, this will wreak havoc with a lot of browsers and > firewall software. I would imagine redirects are far more common than systems that don't support them, no? -- 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 Tue May 17 14:04:06 2011 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Tue, 17 May 2011 21:04:06 +0300 Subject: [OT] fon.nu feature set is getting famous In-Reply-To: <069D6C6F-BEF8-4E0B-8228-BD157302D986@earthlink.net> References: <4DD2A76F.4010405@gmail.com> <069D6C6F-BEF8-4E0B-8228-BD157302D986@earthlink.net> Message-ID: <4DD2B896.2060808@gmail.com> On 05/17/2011 08:25 PM, Charles Phillips wrote: > Sicko Frankly if this plays "merry hell" with browsers and firewall software, that tells you that the browsers and firewall software aren't much good. All types of security need to be continually tested. If you are feeling "anti-Richmond" just download my 30-day demo of my Devawriter Pro and see how long it takes you to crack the 30 day limit (probably about 5 minutes). In the light of this thread I will be deleting it and putting something, supposedly, more robust up on my website: http://andregarzia.on-rev.com/richmond/dwriterpro.html you've got about 24 hours left . . . :) > On May 17, 2011, at 12:50 PM, Richmond Mathewson wrote: > >> On 05/17/2011 07:22 PM, Bob Sneidar wrote: >>> So's you know, this will wreak havoc with a lot of browsers and >>> firewall software. >>> >>> Bob >>> >>> >> That's what makes it so appealing . . . :) >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 Tue May 17 14:05:28 2011 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Tue, 17 May 2011 21:05:28 +0300 Subject: [OT] fon.nu feature set is getting famous In-Reply-To: <4DD2B6B4.50207@fourthworld.com> References: <4DD2B6B4.50207@fourthworld.com> Message-ID: <4DD2B8E8.2030704@gmail.com> On 05/17/2011 08:56 PM, Richard Gaskin wrote: > Bob Sneidar wrote: > > > On May 17, 2011, at 2:34 AM, Matthias Rebbe wrote: > > > >>> This code is stored as a text file inside a data folder in > >>> the server, the first line of that folder is > >>> the long URL. When someone tries to access http://fon.nu/something > >>> the irev file picks the something part and checks to see if a file > >>> exists, if it exists, then it issues a "301 Location changed HTTP > >>> header" pointing to the long URL. > > > > So's you know, this will wreak havoc with a lot of browsers and > > firewall software. > > I would imagine redirects are far more common than systems that don't > support them, no? According to Firefox 4, Ubuntu 11.04 they are all over the place, as I keep getting "prevented redirection". > > -- > 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 cphillips at earthlink.net Tue May 17 14:17:57 2011 From: cphillips at earthlink.net (Charles Phillips) Date: Tue, 17 May 2011 14:17:57 -0400 Subject: [OT] fon.nu feature set is getting famous In-Reply-To: <4DD2B896.2060808@gmail.com> References: <4DD2A76F.4010405@gmail.com> <069D6C6F-BEF8-4E0B-8228-BD157302D986@earthlink.net> <4DD2B896.2060808@gmail.com> Message-ID: <8F8030CD-CBD5-4455-82EA-82135E4DCFE8@earthlink.net> Thanks for the clarification and the rationale. I dislike the behavior of people who do ill just because they can. On May 17, 2011, at 2:04 PM, Richmond Mathewson wrote: > On 05/17/2011 08:25 PM, Charles Phillips wrote: >> Sicko > > Frankly if this plays "merry hell" with browsers and firewall > software, that tells you that the > browsers and firewall software aren't much good. All types of > security need to be continually > tested. If you are feeling "anti-Richmond" just download my 30-day > demo of my Devawriter Pro and > see how long it takes you to crack the 30 day limit (probably about > 5 minutes). In the light of this > thread I will be deleting it and putting something, supposedly, > more robust up on my website: > > http://andregarzia.on-rev.com/richmond/dwriterpro.html > > you've got about 24 hours left . . . :) > >> On May 17, 2011, at 12:50 PM, Richmond Mathewson wrote: >> >>> On 05/17/2011 07:22 PM, Bob Sneidar wrote: >>>> So's you know, this will wreak havoc with a lot of browsers and >>>> firewall software. >>>> >>>> Bob >>>> >>>> >>> That's what makes it so appealing . . . :) >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode 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 Tue May 17 14:20:45 2011 From: bobs at twft.com (Bob Sneidar) Date: Tue, 17 May 2011 11:20:45 -0700 Subject: [OT] fon.nu feature set is getting famous In-Reply-To: <4DD2B6B4.50207@fourthworld.com> References: <4DD2B6B4.50207@fourthworld.com> Message-ID: <0E85D071-72FA-45A7-950E-7EF0DB77364A@twft.com> Well it's kind of like web proxies. Many use them as a way to firewall off their site, or do load balancing with multiple servers. But they are also used to bypass content filters that are required by law in school environments. It's the old, "Fire, BAD! No wait, fire GOOD!" conundrum. If you try to block the bad, you also break the good. Bob On May 17, 2011, at 10:56 AM, Richard Gaskin wrote: > Bob Sneidar wrote: > > > On May 17, 2011, at 2:34 AM, Matthias Rebbe wrote: > > > >>> This code is stored as a text file inside a data folder in > >>> the server, the first line of that folder is > >>> the long URL. When someone tries to access http://fon.nu/something > >>> the irev file picks the something part and checks to see if a file > >>> exists, if it exists, then it issues a "301 Location changed HTTP > >>> header" pointing to the long URL. > > > > So's you know, this will wreak havoc with a lot of browsers and > > firewall software. > > I would imagine redirects are far more common than systems that don't support them, no? > > -- > 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 richmondmathewson at gmail.com Tue May 17 14:24:05 2011 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Tue, 17 May 2011 21:24:05 +0300 Subject: [OT] fon.nu feature set is getting famous In-Reply-To: <0E85D071-72FA-45A7-950E-7EF0DB77364A@twft.com> References: <4DD2B6B4.50207@fourthworld.com> <0E85D071-72FA-45A7-950E-7EF0DB77364A@twft.com> Message-ID: <4DD2BD45.2000809@gmail.com> On 05/17/2011 09:20 PM, Bob Sneidar wrote: > Well it's kind of like web proxies. Many use them as a way to firewall off their site, or do load balancing with multiple servers. But they are also used to bypass content filters that are required by law in school environments. It's the old, "Fire, BAD! No wait, fire GOOD!" conundrum. If you try to block the bad, you also break the good. > Nuclear physics gives us wonderful medical tools, it also gives us atom bombs. The internet and computers give us Livecode, they also give us online poker . . . it seems that it is very difficult to have one without the other; I suppose that is why God gave us brains . . . :) From bobs at twft.com Tue May 17 14:39:34 2011 From: bobs at twft.com (Bob Sneidar) Date: Tue, 17 May 2011 11:39:34 -0700 Subject: [OT] fon.nu feature set is getting famous In-Reply-To: <4DD2BD45.2000809@gmail.com> References: <4DD2B6B4.50207@fourthworld.com> <0E85D071-72FA-45A7-950E-7EF0DB77364A@twft.com> <4DD2BD45.2000809@gmail.com> Message-ID: <1662A161-EED2-4E6D-816D-C1F4EFE13202@twft.com> True enough. But the redirect and proxy issues are more complex. Proxies for instance are commonly encrypted, which means by the time it gets to the firewall, it's garbldygook. You can't do deep packet inspection on an encrypted stream. So I think saying that firewalls are not good enough is a bit simplistic, no offense. Bob On May 17, 2011, at 11:24 AM, Richmond Mathewson wrote: > On 05/17/2011 09:20 PM, Bob Sneidar wrote: >> Well it's kind of like web proxies. Many use them as a way to firewall off their site, or do load balancing with multiple servers. But they are also used to bypass content filters that are required by law in school environments. It's the old, "Fire, BAD! No wait, fire GOOD!" conundrum. If you try to block the bad, you also break the good. >> > Nuclear physics gives us wonderful medical tools, it also gives us atom bombs. > > The internet and computers give us Livecode, they also give us online poker . . . > > it seems that it is very difficult to have one without the other; I suppose > that is why God gave us brains . . . :) > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 May 17 15:05:45 2011 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Tue, 17 May 2011 22:05:45 +0300 Subject: [OT] fon.nu feature set is getting famous In-Reply-To: <1662A161-EED2-4E6D-816D-C1F4EFE13202@twft.com> References: <4DD2B6B4.50207@fourthworld.com> <0E85D071-72FA-45A7-950E-7EF0DB77364A@twft.com> <4DD2BD45.2000809@gmail.com> <1662A161-EED2-4E6D-816D-C1F4EFE13202@twft.com> Message-ID: <4DD2C709.906@gmail.com> On 05/17/2011 09:39 PM, Bob Sneidar wrote: > True enough. But the redirect and proxy issues are more complex. Proxies for instance are commonly encrypted, which means by the time it gets to the firewall, it's garbldygook. You can't do deep packet inspection on an encrypted stream. So I think saying that firewalls are not good enough is a bit simplistic, no offense. > No offense taken . . . :) AND; I suspect, unlike what all sorts of 'religious types' would have us believe, God is not particularly simplistic either! However; firewalls are meant to be rather more than "Beneath the Planet of the Apes". From runrev260805 at m-r-d.de Tue May 17 15:18:36 2011 From: runrev260805 at m-r-d.de (Matthias Rebbe) Date: Tue, 17 May 2011 21:18:36 +0200 Subject: OT] how to update 2 values in each of 3000 records in MySQL DB Message-ID: Hi, I have to update 3000 records in a mysql db very often. I just have to change only 2 values in each of the 3000 records. I have a desktop app, which creates the values which then have to be put in that mysql database. This db is not local, but resides on an on-rev server. I could activate remote access for the mysql db and could limit this access to our static ip address which our isp assigne to us to let the standalone app to update the values directly. But is that the right way? Should i do it directly from my standalone or should i do it through an irev script? If 2nd, how would i parse the values to the script. I know how to connect from an irev script to a mysql db. That would be no problem. But i never sent data from a standalone to an irev script. Should i update record after record or can i update lets say 50 records in one step? Even with different values? Could someone help? Regards, Matthias From jimschaubeck at yahoo.com Tue May 17 22:28:52 2011 From: jimschaubeck at yahoo.com (Jim Schaubeck) Date: Tue, 17 May 2011 19:28:52 -0700 Subject: Livecode for Digital Signage Message-ID: <059d01cc1503$543ab300$fcb01900$@yahoo.com> I would like to develop an in-house digital signage app that uses video, animation and smooth scrolling words (like a stock ticker). I can figure out the video and the animation but I'm having trouble with smooth scrolling text. Is this better suited for Animation Engine (have not tried it) or is there a trick to getting text to flow Right-to-Left smoothly. The best that I can see is the move command but it's still too jerky for displaying in a store. Thank you for any feedback jim schaubeck 714-321-4499 From tsj at unimelb.edu.au Tue May 17 22:55:39 2011 From: tsj at unimelb.edu.au (Terry Judd) Date: Wed, 18 May 2011 12:55:39 +1000 Subject: Livecode for Digital Signage In-Reply-To: <059d01cc1503$543ab300$fcb01900$@yahoo.com> Message-ID: How about using a fixed width font in a right aligned field with its dontWrap property set to false and then inserting a string one character at a time from the end of the field. If you use an appropriate delay between the insertion of each character then you might get the effect you're looking for. Terry... On 18/05/2011 12:28 PM, "Jim Schaubeck" wrote: > I would like to develop an in-house digital signage app that uses video, > animation and smooth scrolling words (like a stock ticker). I can figure > out the video and the animation but I'm having trouble with smooth scrolling > text. Is this better suited for Animation Engine (have not tried it) or is > there a trick to getting text to flow Right-to-Left smoothly. The best that > I can see is the move command but it's still too jerky for displaying in a > store. > > > > Thank you for any feedback > > > > jim schaubeck > > 714-321-4499 > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Dr Terry Judd | Senior Lecturer in Medical Education Medical Education Unit Melbourne Medical School The University of Melbourne From jimschaubeck at yahoo.com Tue May 17 23:14:18 2011 From: jimschaubeck at yahoo.com (Jim Schaubeck) Date: Tue, 17 May 2011 20:14:18 -0700 Subject: Livecode for Digital Signage In-Reply-To: References: <059d01cc1503$543ab300$fcb01900$@yahoo.com> Message-ID: <05ab01cc1509$ad0a63d0$071f2b70$@yahoo.com> Thanks Terry, I've tried that approach and the text is too uncomfortable to read. The sudden addition of a character jerks the enter message over too quickly. The move command works much better but is still far from a real Digital Signage app or Stock Quote display you would see on a financial TV station for example. 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 Terry Judd Sent: Tuesday, May 17, 2011 7:56 PM To: How to use LiveCode Subject: Re: Livecode for Digital Signage How about using a fixed width font in a right aligned field with its dontWrap property set to false and then inserting a string one character at a time from the end of the field. If you use an appropriate delay between the insertion of each character then you might get the effect you're looking for. Terry... On 18/05/2011 12:28 PM, "Jim Schaubeck" wrote: > I would like to develop an in-house digital signage app that uses > video, animation and smooth scrolling words (like a stock ticker). I > can figure out the video and the animation but I'm having trouble with > smooth scrolling text. Is this better suited for Animation Engine > (have not tried it) or is there a trick to getting text to flow > Right-to-Left smoothly. The best that I can see is the move command > but it's still too jerky for displaying in a store. > > > > Thank you for any feedback > > > > jim schaubeck > > 714-321-4499 > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription > preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Dr Terry Judd | Senior Lecturer in Medical Education Medical Education Unit Melbourne Medical School The University of Melbourne _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From webmaster at dreamscapesoftware.com Tue May 17 23:39:45 2011 From: webmaster at dreamscapesoftware.com (Derek Bump - Dreamscape Software) Date: Tue, 17 May 2011 22:39:45 -0500 Subject: Livecode for Digital Signage In-Reply-To: <059d01cc1503$543ab300$fcb01900$@yahoo.com> References: <059d01cc1503$543ab300$fcb01900$@yahoo.com> Message-ID: <4DD33F81.8090004@dreamscapesoftware.com> Hello Jim, What you could do is place the field inside of a group and change the group's Horizontal Scroll incrementally. Then once it reaches the end, lock the screen, reset the scroll, and start again. Derek Bump Dreamscape Software http://www.dreamscapesoftware.com On 5/17/11 9:28 PM, Jim Schaubeck wrote: > I would like to develop an in-house digital signage app that uses video, > animation and smooth scrolling words (like a stock ticker). I can figure > out the video and the animation but I'm having trouble with smooth scrolling > text. Is this better suited for Animation Engine (have not tried it) or is > there a trick to getting text to flow Right-to-Left smoothly. The best that > I can see is the move command but it's still too jerky for displaying in a > store. > > > > Thank you for any feedback > > > > jim schaubeck > > 714-321-4499 > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jimschaubeck at yahoo.com Wed May 18 00:22:24 2011 From: jimschaubeck at yahoo.com (Jim Schaubeck) Date: Tue, 17 May 2011 21:22:24 -0700 Subject: Livecode for Digital Signage In-Reply-To: <4DD33F81.8090004@dreamscapesoftware.com> References: <059d01cc1503$543ab300$fcb01900$@yahoo.com> <4DD33F81.8090004@dreamscapesoftware.com> Message-ID: <05b201cc1513$30403d20$90c0b760$@yahoo.com> Derek, That was something I have not tried so Thank You for the idea!! When I polished it up as best I could, the result was exactly the same as the move command. Here's my 'move' setup: cd fld named "test" line graphic named "move" Some background stuff to polish the look A button with this code: On mouseup put someText into cd fld "test" set the width of cd fld "test" to the formattedWidth of cd fld "test" move cd fld "test" along the points of graphic "move"-- Move speed was set to 300 end mouseup The movement I see with this solution is the exact movement I see when I tried your hScroll solution. It's still too jerky for prime time. Both are getting close but I'm hoping for a much smoother solution. 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 Derek Bump - Dreamscape Software Sent: Tuesday, May 17, 2011 8:40 PM To: How to use LiveCode Subject: Re: Livecode for Digital Signage Hello Jim, What you could do is place the field inside of a group and change the group's Horizontal Scroll incrementally. Then once it reaches the end, lock the screen, reset the scroll, and start again. Derek Bump Dreamscape Software http://www.dreamscapesoftware.com On 5/17/11 9:28 PM, Jim Schaubeck wrote: > I would like to develop an in-house digital signage app that uses > video, animation and smooth scrolling words (like a stock ticker). I > can figure out the video and the animation but I'm having trouble with > smooth scrolling text. Is this better suited for Animation Engine > (have not tried it) or is there a trick to getting text to flow > Right-to-Left smoothly. The best that I can see is the move command > but it's still too jerky for displaying in a store. > > > > Thank you for any feedback > > > > jim schaubeck > > 714-321-4499 > > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 webmaster at dreamscapesoftware.com Wed May 18 00:51:55 2011 From: webmaster at dreamscapesoftware.com (Derek Bump - Dreamscape Software) Date: Tue, 17 May 2011 23:51:55 -0500 Subject: Livecode for Digital Signage In-Reply-To: <05b201cc1513$30403d20$90c0b760$@yahoo.com> References: <059d01cc1503$543ab300$fcb01900$@yahoo.com> <4DD33F81.8090004@dreamscapesoftware.com> <05b201cc1513$30403d20$90c0b760$@yahoo.com> Message-ID: <4DD3506B.7070506@dreamscapesoftware.com> Jim, Now this is just me think'n out loud here, but what if you were to have 1 or 2 duplicate fields directly underneath the primary field, but each one is offset by 1 pixel to the right, and is 20-30% lighter in color than the field above it. That way, when you change the hscroll of the group, the lighter colored fields create a type of "motion-blur". Could be easier on the eyes and make the "jerkiness" seem less apparent. Just an untested thought! :) Derek Bump Dreamscape Software http://www.dreamscapesoftware.com On 5/17/11 11:22 PM, Jim Schaubeck wrote: > Derek, > That was something I have not tried so Thank You for the idea!! When I > polished it up as best I could, the result was exactly the same as the move > command. > > Here's my 'move' setup: > > cd fld named "test" > line graphic named "move" > Some background stuff to polish the look > A button with this code: > > On mouseup > put someText into cd fld "test" > set the width of cd fld "test" to the formattedWidth of cd fld "test" > move cd fld "test" along the points of graphic "move"-- Move speed was set > to 300 > end mouseup > > The movement I see with this solution is the exact movement I see when I > tried your hScroll solution. It's still too jerky for prime time. Both are > getting close but I'm hoping for a much smoother solution. > > > 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 Derek Bump - > Dreamscape Software > Sent: Tuesday, May 17, 2011 8:40 PM > To: How to use LiveCode > Subject: Re: Livecode for Digital Signage > > Hello Jim, > > What you could do is place the field inside of a group and change the > group's Horizontal Scroll incrementally. Then once it reaches the end, lock > the screen, reset the scroll, and start again. > > > Derek Bump > Dreamscape Software > http://www.dreamscapesoftware.com > > On 5/17/11 9:28 PM, Jim Schaubeck wrote: >> I would like to develop an in-house digital signage app that uses >> video, animation and smooth scrolling words (like a stock ticker). I >> can figure out the video and the animation but I'm having trouble with >> smooth scrolling text. Is this better suited for Animation Engine >> (have not tried it) or is there a trick to getting text to flow >> Right-to-Left smoothly. The best that I can see is the move command >> but it's still too jerky for displaying in a store. >> >> >> >> Thank you for any feedback >> >> >> >> jim schaubeck >> >> 714-321-4499 >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 form at nonsanity.com Wed May 18 01:05:02 2011 From: form at nonsanity.com (Nonsanity) Date: Wed, 18 May 2011 01:05:02 -0400 Subject: Livecode for Digital Signage In-Reply-To: <059d01cc1503$543ab300$fcb01900$@yahoo.com> References: <059d01cc1503$543ab300$fcb01900$@yahoo.com> Message-ID: Using hscroll of a field and the send in time command, I got very smooth text scroll on my Macbook Pro. Here's the stack I tested with: https://dl.dropbox.com/s/l4gc4mp0401j6se/Smooth%20Scrolling%20Text.livecode?dl=1 Let me know how it works for you. ~ Chris Innanen ~ Nonsanity On Tue, May 17, 2011 at 10:28 PM, Jim Schaubeck wrote: > I would like to develop an in-house digital signage app that uses video, > animation and smooth scrolling words (like a stock ticker). I can figure > out the video and the animation but I'm having trouble with smooth > scrolling > text. Is this better suited for Animation Engine (have not tried it) or is > there a trick to getting text to flow Right-to-Left smoothly. The best > that > I can see is the move command but it's still too jerky for displaying in a > store. > > > > Thank you for any feedback > > > > jim schaubeck > > 714-321-4499 > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jimschaubeck at yahoo.com Wed May 18 01:07:28 2011 From: jimschaubeck at yahoo.com (Jim Schaubeck) Date: Tue, 17 May 2011 22:07:28 -0700 Subject: Livecode for Digital Signage In-Reply-To: <4DD3506B.7070506@dreamscapesoftware.com> References: <059d01cc1503$543ab300$fcb01900$@yahoo.com> <4DD33F81.8090004@dreamscapesoftware.com> <05b201cc1513$30403d20$90c0b760$@yahoo.com> <4DD3506B.7070506@dreamscapesoftware.com> Message-ID: <05b901cc1519$7c202970$74607c50$@yahoo.com> Nice ideas Derek !!!...I tried with enthusiasm but the effect is still too jerky. I think I'm going to try multiple cards with a swiping effect going from cd to cd with a lockscreen here and there and see what happens. I think I'm sleep-coding (10pm and still going) 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 Derek Bump - Dreamscape Software Sent: Tuesday, May 17, 2011 9:52 PM To: How to use LiveCode Subject: Re: Livecode for Digital Signage Jim, Now this is just me think'n out loud here, but what if you were to have 1 or 2 duplicate fields directly underneath the primary field, but each one is offset by 1 pixel to the right, and is 20-30% lighter in color than the field above it. That way, when you change the hscroll of the group, the lighter colored fields create a type of "motion-blur". Could be easier on the eyes and make the "jerkiness" seem less apparent. Just an untested thought! :) Derek Bump Dreamscape Software http://www.dreamscapesoftware.com On 5/17/11 11:22 PM, Jim Schaubeck wrote: > Derek, > That was something I have not tried so Thank You for the idea!! When > I polished it up as best I could, the result was exactly the same as > the move command. > > Here's my 'move' setup: > > cd fld named "test" > line graphic named "move" > Some background stuff to polish the look A button with this code: > > On mouseup > put someText into cd fld "test" > set the width of cd fld "test" to the formattedWidth of cd fld "test" > move cd fld "test" along the points of graphic "move"-- Move speed > was set to 300 end mouseup > > The movement I see with this solution is the exact movement I see when > I tried your hScroll solution. It's still too jerky for prime time. > Both are getting close but I'm hoping for a much smoother solution. > > > 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 Derek Bump > - Dreamscape Software > Sent: Tuesday, May 17, 2011 8:40 PM > To: How to use LiveCode > Subject: Re: Livecode for Digital Signage > > Hello Jim, > > What you could do is place the field inside of a group and change the > group's Horizontal Scroll incrementally. Then once it reaches the > end, lock the screen, reset the scroll, and start again. > > > Derek Bump > Dreamscape Software > http://www.dreamscapesoftware.com > > On 5/17/11 9:28 PM, Jim Schaubeck wrote: >> I would like to develop an in-house digital signage app that uses >> video, animation and smooth scrolling words (like a stock ticker). I >> can figure out the video and the animation but I'm having trouble >> with smooth scrolling text. Is this better suited for Animation >> Engine (have not tried it) or is there a trick to getting text to >> flow Right-to-Left smoothly. The best that I can see is the move >> command but it's still too jerky for displaying in a store. >> >> >> >> Thank you for any feedback >> >> >> >> jim schaubeck >> >> 714-321-4499 >> >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 webmaster at dreamscapesoftware.com Wed May 18 01:10:14 2011 From: webmaster at dreamscapesoftware.com (Derek Bump - Dreamscape Software) Date: Wed, 18 May 2011 00:10:14 -0500 Subject: Livecode for Digital Signage In-Reply-To: <4DD3506B.7070506@dreamscapesoftware.com> References: <059d01cc1503$543ab300$fcb01900$@yahoo.com> <4DD33F81.8090004@dreamscapesoftware.com> <05b201cc1513$30403d20$90c0b760$@yahoo.com> <4DD3506B.7070506@dreamscapesoftware.com> Message-ID: <4DD354B6.3000302@dreamscapesoftware.com> Jim, Here is an example of what I'm talking about... http://www.dreamscapesoftware.com/hscrolltest.livecode Derek Bump Dreamscape Software http://www.dreamscapesoftware.com On 5/17/11 11:51 PM, Derek Bump - Dreamscape Software wrote: > Jim, > > Now this is just me think'n out loud here, but what if you were to have > 1 or 2 duplicate fields directly underneath the primary field, but each > one is offset by 1 pixel to the right, and is 20-30% lighter in color > than the field above it. > > That way, when you change the hscroll of the group, the lighter colored > fields create a type of "motion-blur". Could be easier on the eyes and > make the "jerkiness" seem less apparent. > > Just an untested thought! :) > > > Derek Bump > Dreamscape Software > http://www.dreamscapesoftware.com > > On 5/17/11 11:22 PM, Jim Schaubeck wrote: >> Derek, >> That was something I have not tried so Thank You for the idea!! When I >> polished it up as best I could, the result was exactly the same as the >> move >> command. >> >> Here's my 'move' setup: >> >> cd fld named "test" >> line graphic named "move" >> Some background stuff to polish the look >> A button with this code: >> >> On mouseup >> put someText into cd fld "test" >> set the width of cd fld "test" to the formattedWidth of cd fld "test" >> move cd fld "test" along the points of graphic "move"-- Move speed was >> set >> to 300 >> end mouseup >> >> The movement I see with this solution is the exact movement I see when I >> tried your hScroll solution. It's still too jerky for prime time. Both >> are >> getting close but I'm hoping for a much smoother solution. >> >> >> 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 Derek Bump - >> Dreamscape Software >> Sent: Tuesday, May 17, 2011 8:40 PM >> To: How to use LiveCode >> Subject: Re: Livecode for Digital Signage >> >> Hello Jim, >> >> What you could do is place the field inside of a group and change the >> group's Horizontal Scroll incrementally. Then once it reaches the end, >> lock >> the screen, reset the scroll, and start again. >> >> >> Derek Bump >> Dreamscape Software >> http://www.dreamscapesoftware.com >> >> On 5/17/11 9:28 PM, Jim Schaubeck wrote: >>> I would like to develop an in-house digital signage app that uses >>> video, animation and smooth scrolling words (like a stock ticker). I >>> can figure out the video and the animation but I'm having trouble with >>> smooth scrolling text. Is this better suited for Animation Engine >>> (have not tried it) or is there a trick to getting text to flow >>> Right-to-Left smoothly. The best that I can see is the move command >>> but it's still too jerky for displaying in a store. >>> >>> >>> >>> Thank you for any feedback >>> >>> >>> >>> jim schaubeck >>> >>> 714-321-4499 >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode 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 jimschaubeck at yahoo.com Wed May 18 01:17:07 2011 From: jimschaubeck at yahoo.com (Jim Schaubeck) Date: Tue, 17 May 2011 22:17:07 -0700 Subject: Livecode for Digital Signage In-Reply-To: References: <059d01cc1503$543ab300$fcb01900$@yahoo.com> Message-ID: <05ba01cc151a$d577e840$8067b8c0$@yahoo.com> Chris, Thank you for sending your sample !!! I worked with your code a bit and changed this line: put dTime / 300 into pTime-- changed to 300 This made the test move a similar speed (faster than your speed) to a stock ticker tape but I still have the jerkiness. I will save your project for future reference though, thanks again! 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 Nonsanity Sent: Tuesday, May 17, 2011 10:05 PM To: How to use LiveCode Subject: Re: Livecode for Digital Signage Using hscroll of a field and the send in time command, I got very smooth text scroll on my Macbook Pro. Here's the stack I tested with: https://dl.dropbox.com/s/l4gc4mp0401j6se/Smooth%20Scrolling%20Text.livecode? dl=1 Let me know how it works for you. ~ Chris Innanen ~ Nonsanity On Tue, May 17, 2011 at 10:28 PM, Jim Schaubeck wrote: > I would like to develop an in-house digital signage app that uses > video, animation and smooth scrolling words (like a stock ticker). I > can figure out the video and the animation but I'm having trouble with > smooth scrolling text. Is this better suited for Animation Engine > (have not tried it) or is there a trick to getting text to flow > Right-to-Left smoothly. The best that I can see is the move command > but it's still too jerky for displaying in a store. > > > > Thank you for any feedback > > > > jim schaubeck > > 714-321-4499 > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From scott at tactilemedia.com Wed May 18 01:18:21 2011 From: scott at tactilemedia.com (Scott Rossi) Date: Tue, 17 May 2011 22:18:21 -0700 Subject: Livecode for Digital Signage In-Reply-To: <4DD3506B.7070506@dreamscapesoftware.com> Message-ID: Recently, Derek Bump - Dreamscape Software wrote: > The movement I see with this solution is the exact movement I see when I > tried your hScroll solution. It's still too jerky for prime time. Both are > getting close but I'm hoping for a much smoother solution. In terms of built-in movement, I don't believe there are any other solutions. But one thing you might try is messing with the syncRate property. I only recently learned about this and haven't figured out how to best make use of it, but changing its value might get you closer to the smooth movement you're trying to achieve, at the possible expense of heavier processor use. On my Mac system, INCREASING the syncRate makes for jerkier movement, which seems to be the opposite of the docs, so you might need to try higher and lower values. ---------- syncRate Summary: Specifies how often the display is updated during visual effect, drag, and move commands. Examples: set the syncRate to 12 Use the syncRate property to specify how often the screen is redrawn. Value: The syncRate is a positive integer. Comments: Decreasing the syncRate reduces the load on the system, but may make the display of movements and visual effects more jerky. The default value of syncRate is 20. ---------- Regards, Scott Rossi Creative Director Tactile Media, UX Design From jimschaubeck at yahoo.com Wed May 18 01:27:20 2011 From: jimschaubeck at yahoo.com (Jim Schaubeck) Date: Tue, 17 May 2011 22:27:20 -0700 Subject: Livecode for Digital Signage In-Reply-To: <4DD354B6.3000302@dreamscapesoftware.com> References: <059d01cc1503$543ab300$fcb01900$@yahoo.com> <4DD33F81.8090004@dreamscapesoftware.com> <05b201cc1513$30403d20$90c0b760$@yahoo.com> <4DD3506B.7070506@dreamscapesoftware.com> <4DD354B6.3000302@dreamscapesoftware.com> Message-ID: <05be01cc151c$4268be10$c73a3a30$@yahoo.com> Hey Derek...thanks again, man. Great feedback. 1) I added a wait command of 16 millisecs to get the flow to stock ticker speed 2) I surrounded the "set the hScroll of grp "test" to x with lock and unlock screen commands in an attempt to smooth it out But I just cannot get rid of the jerkiness. Just want you to know I appreciate the effort !!! I can just see this cool Digital Signage app working in my store but the smooth motion has to be there before I use it! I'm not giving up...already dropped 500.00 on the 40" monitor :-) Thanks again sir! 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 Derek Bump - Dreamscape Software Sent: Tuesday, May 17, 2011 10:10 PM To: How to use LiveCode Subject: Re: Livecode for Digital Signage Jim, Here is an example of what I'm talking about... http://www.dreamscapesoftware.com/hscrolltest.livecode Derek Bump Dreamscape Software http://www.dreamscapesoftware.com On 5/17/11 11:51 PM, Derek Bump - Dreamscape Software wrote: > Jim, > > Now this is just me think'n out loud here, but what if you were to > have > 1 or 2 duplicate fields directly underneath the primary field, but > each one is offset by 1 pixel to the right, and is 20-30% lighter in > color than the field above it. > > That way, when you change the hscroll of the group, the lighter > colored fields create a type of "motion-blur". Could be easier on the > eyes and make the "jerkiness" seem less apparent. > > Just an untested thought! :) > > > Derek Bump > Dreamscape Software > http://www.dreamscapesoftware.com > > On 5/17/11 11:22 PM, Jim Schaubeck wrote: >> Derek, >> That was something I have not tried so Thank You for the idea!! When >> I polished it up as best I could, the result was exactly the same as >> the move command. >> >> Here's my 'move' setup: >> >> cd fld named "test" >> line graphic named "move" >> Some background stuff to polish the look A button with this code: >> >> On mouseup >> put someText into cd fld "test" >> set the width of cd fld "test" to the formattedWidth of cd fld "test" >> move cd fld "test" along the points of graphic "move"-- Move speed >> was set to 300 end mouseup >> >> The movement I see with this solution is the exact movement I see >> when I tried your hScroll solution. It's still too jerky for prime >> time. Both are getting close but I'm hoping for a much smoother >> solution. >> >> >> 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 Derek >> Bump - Dreamscape Software >> Sent: Tuesday, May 17, 2011 8:40 PM >> To: How to use LiveCode >> Subject: Re: Livecode for Digital Signage >> >> Hello Jim, >> >> What you could do is place the field inside of a group and change the >> group's Horizontal Scroll incrementally. Then once it reaches the >> end, lock the screen, reset the scroll, and start again. >> >> >> Derek Bump >> Dreamscape Software >> http://www.dreamscapesoftware.com >> >> On 5/17/11 9:28 PM, Jim Schaubeck wrote: >>> I would like to develop an in-house digital signage app that uses >>> video, animation and smooth scrolling words (like a stock ticker). I >>> can figure out the video and the animation but I'm having trouble >>> with smooth scrolling text. Is this better suited for Animation >>> Engine (have not tried it) or is there a trick to getting text to >>> flow Right-to-Left smoothly. The best that I can see is the move >>> command but it's still too jerky for displaying in a store. >>> >>> >>> >>> Thank you for any feedback >>> >>> >>> >>> jim schaubeck >>> >>> 714-321-4499 >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode 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 jimschaubeck at yahoo.com Wed May 18 01:36:00 2011 From: jimschaubeck at yahoo.com (Jim Schaubeck) Date: Tue, 17 May 2011 22:36:00 -0700 Subject: Livecode for Digital Signage In-Reply-To: References: <4DD3506B.7070506@dreamscapesoftware.com> Message-ID: <05bf01cc151d$788a0d90$699e28b0$@yahoo.com> Thank you Scott !! I know what I'll be doing till midnight! I'll let you know if it has an impact. As far as the processor usage goes, I can dedicate a powerful machine to the digital Signage effort if I can get this worked out. The dev machine I'm using should be strong enough to mess with the syncRate parameter. Much appreciated! 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 Scott Rossi Sent: Tuesday, May 17, 2011 10:18 PM To: LiveCode Mail List Subject: Re: Livecode for Digital Signage Recently, Derek Bump - Dreamscape Software wrote: > The movement I see with this solution is the exact movement I see when > I tried your hScroll solution. It's still too jerky for prime time. > Both are getting close but I'm hoping for a much smoother solution. In terms of built-in movement, I don't believe there are any other solutions. But one thing you might try is messing with the syncRate property. I only recently learned about this and haven't figured out how to best make use of it, but changing its value might get you closer to the smooth movement you're trying to achieve, at the possible expense of heavier processor use. On my Mac system, INCREASING the syncRate makes for jerkier movement, which seems to be the opposite of the docs, so you might need to try higher and lower values. ---------- syncRate Summary: Specifies how often the display is updated during visual effect, drag, and move commands. Examples: set the syncRate to 12 Use the syncRate property to specify how often the screen is redrawn. Value: The syncRate is a positive integer. Comments: Decreasing the syncRate reduces the load on the system, but may make the display of movements and visual effects more jerky. The default value of syncRate is 20. ---------- 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 jimschaubeck at yahoo.com Wed May 18 01:56:53 2011 From: jimschaubeck at yahoo.com (Jim Schaubeck) Date: Tue, 17 May 2011 22:56:53 -0700 Subject: Livecode for Digital Signage In-Reply-To: References: <4DD3506B.7070506@dreamscapesoftware.com> Message-ID: <000601cc1520$6381a7c0$2a84f740$@yahoo.com> Scott, When I use a syncRate of 0, I get very close!!! However, about every second, I get a 'jerk' in the flow. It's still enough of a pest to keep me looking but the syncRate definitely helps. I have noticed that the higher the number, the worse it gets except if I move the cursor around while the text was scrolling. But this will be a standalone app so right now, 0 for syncRate is the best so far. Thanks Scott! 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 Scott Rossi Sent: Tuesday, May 17, 2011 10:18 PM To: LiveCode Mail List Subject: Re: Livecode for Digital Signage Recently, Derek Bump - Dreamscape Software wrote: > The movement I see with this solution is the exact movement I see when > I tried your hScroll solution. It's still too jerky for prime time. > Both are getting close but I'm hoping for a much smoother solution. In terms of built-in movement, I don't believe there are any other solutions. But one thing you might try is messing with the syncRate property. I only recently learned about this and haven't figured out how to best make use of it, but changing its value might get you closer to the smooth movement you're trying to achieve, at the possible expense of heavier processor use. On my Mac system, INCREASING the syncRate makes for jerkier movement, which seems to be the opposite of the docs, so you might need to try higher and lower values. ---------- syncRate Summary: Specifies how often the display is updated during visual effect, drag, and move commands. Examples: set the syncRate to 12 Use the syncRate property to specify how often the screen is redrawn. Value: The syncRate is a positive integer. Comments: Decreasing the syncRate reduces the load on the system, but may make the display of movements and visual effects more jerky. The default value of syncRate is 20. ---------- 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 yvescoppe at skynet.be Wed May 18 02:23:39 2011 From: yvescoppe at skynet.be (Yves COPPE) Date: Wed, 18 May 2011 08:23:39 +0200 Subject: Deselection of lines Message-ID: <43FF4196-1BCD-4C88-BCC2-4605EA9AC49A@skynet.be> Hi list I want to make a deselection of the selected lines of a fld something like : set the selectedLine of fld "xxx" to "0" but it doesn't luck Has anyone another script to perform that ? Thanks. Greetings. Yves COPPE yvescoppe at skynet.be From jimaultwins at yahoo.com Wed May 18 02:47:51 2011 From: jimaultwins at yahoo.com (Jim Ault) Date: Tue, 17 May 2011 23:47:51 -0700 Subject: Deselection of lines In-Reply-To: <43FF4196-1BCD-4C88-BCC2-4605EA9AC49A@skynet.be> References: <43FF4196-1BCD-4C88-BCC2-4605EA9AC49A@skynet.be> Message-ID: On May 17, 2011, at 11:23 PM, Yves COPPE wrote: > I want to make a deselection of the selected lines of a fld > something like : > set the selectedLine of fld "xxx" to "0" > but it doesn't luck > Has anyone another script to perform that ? try select empty or select char 0 of fld mmm or select before fld mmm Jim Ault Las Vegas From tvogelaar at de-mare.nl Wed May 18 02:56:44 2011 From: tvogelaar at de-mare.nl (Terry Vogelaar) Date: Wed, 18 May 2011 08:56:44 +0200 Subject: OT] how to update 2 values in each of 3000 records in MySQL In-Reply-To: References: Message-ID: <7DB392E3-519E-4268-9118-919299DDCBA5@de-mare.nl> Hi Matthias, I don't think you should call this OT; sounds on topic to me. Of course it is hard to come up with a solution when we know so little about this particular database and the goal you try to accomplish with it. But you might reconsider the architecture of the database. If the 3000 records have 3000 different values in these columns; your approach is fine. But when there is a lot of overlap in those values, you might be benefitted making optimal use of relational databases. For example, if you have 60 value pairs, repeated over and over again in these columns, you replace the 2 columns with 1, containing an ID number for another table. In that other table, you put 60 records with an ID and a value pair in each record. So when you change 1 record in this table, all of the 3000 records linked to this one, change with it. Again, it is hard to determine if this tip makes any sense in your case, but it might be useful. It should be possible to access an online DB from a standalone. Never done it personally, though. Using irev for it can be used as well. You can exchange data between the standalone and the irev file using POST (take a look at the post command in the LiveCode dictionary). In other words, you can fake a HTML form in the standalone. So the irev file handles the data as if it receives a filled in web form. It then can process it and put it in the database. Whether you change record after record, or 50 in one step, depends on the values. It is certainly possible to write a massive SQL instruction. But it might save your sanity when you change them one by one in a repeat loop, with a much simpler SQL query. However, if those 50 records can be filtered easily, and if they share values, combining might make sense. Hard to say. Terry Op 18 mei 2011, om 07:36 heeft use-livecode-request at lists.runrev.com het volgende geschreven: > Hi, > > I have to update 3000 records in a mysql db very often. I just have to change only 2 values in each of the 3000 records. > I have a desktop app, which creates the values which then have to be put in that mysql database. This db is not local, but resides on an on-rev server. > I could activate remote access for the mysql db and could limit this access to our static ip address which our isp assigne to us to let the standalone > app to update the values directly. But is that the right way? Should i do it directly from my standalone or should i do it through an irev script? > > If 2nd, how would i parse the values to the script. I know how to connect from an irev script to a mysql db. That would be no problem. > But i never sent data from a standalone to an irev script. > > Should i update record after record or can i update lets say 50 records in one step? Even with different values? > > Could someone help? > > > Regards, > > Matthias From gwolfgang at gaich.de Wed May 18 03:01:37 2011 From: gwolfgang at gaich.de (G. Wolfgang Gaich) Date: Wed, 18 May 2011 09:01:37 +0200 Subject: Deselection of lines In-Reply-To: <43FF4196-1BCD-4C88-BCC2-4605EA9AC49A@skynet.be> References: <43FF4196-1BCD-4C88-BCC2-4605EA9AC49A@skynet.be> Message-ID: <4DD36ED1.5030705@gaich.de> I do it this way: lock screen disable fld "xxx" set the hilitedlines of fld "xxx" to empty enable fld "xxx" unlock screen Best regards Wolfgang Am 18.05.2011 08:23, schrieb Yves COPPE: > Hi list > > I want to make a deselection of the selected lines of a fld > > something like : > > set the selectedLine of fld "xxx" to "0" > > but it doesn't luck > > Has anyone another script to perform that ? > > Thanks. > > > > Greetings. > > Yves COPPE > yvescoppe at skynet.be > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From yvescoppe at skynet.be Wed May 18 03:35:43 2011 From: yvescoppe at skynet.be (Yves COPPE) Date: Wed, 18 May 2011 09:35:43 +0200 Subject: Deselection of lines In-Reply-To: <4DD36ED1.5030705@gaich.de> References: <43FF4196-1BCD-4C88-BCC2-4605EA9AC49A@skynet.be> <4DD36ED1.5030705@gaich.de> Message-ID: Le 18 mai 2011 ? 09:01, G. Wolfgang Gaich a ?crit : > I do it this way: > > lock screen > disable fld "xxx" > set the hilitedlines of fld "xxx" to empty > enable fld "xxx" > unlock screen > > > Best regards > Wolfgang > > re, Thanks ! Greetings. Yves COPPE yvescoppe at skynet.be From keith.clarke at clarkeandclarke.co.uk Wed May 18 06:18:13 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Wed, 18 May 2011 11:18:13 +0100 Subject: Drag & drop lines between list fields Message-ID: Hi folks, To help with some XML file analysis, I've created a pair of list fields that display the current node's children. The 'left' field is filled with all the child nodes and I filter this list down to just the nodes I will investigate further, by dragging into the 'right' list the nodes I will ignore. I thought I'd use this opportunity to learn about drag & drop, so the script below sits in each field and allows me to move fields back and forth between 'monitor' and 'ignore' lists - well, nearly! It's working but in an overall 'copy' mode - not 'move'. My problem is with the 'line -3' which should check that the drop was successful and then delete the line from the source field. Any clues as to what I'm doing wrong? /* Drag and drop control for managing parameters between 'Monitor' and 'Ignore' lists */ on dragStart ---Start dragging a Parameter put the hilitedLine of me into tLine --a line number reference and not the text put the line tLine of me into tParameter --gets the text from the referenced line number set the allowableDragActions to "move" set the dragAction to "move" set the dragData["text"] to tParameter --creates the 'payload' for the drag & drop action pass dragStart end dragStart on dragEnter --Enable as a receiving field set the dragAction to "copy" pass dragEnter end dragEnter on dragDrop --Put some dragsource logic in here - exit if dragSource is not the expected field or the dragData payload is empty --Deposit the drag 'payload' put the dragData["text"] into tDraggedArray if me is not empty then put return after me --adds a return after the last item when the destination list is not empty put line 1 of tDraggedArray after me --adds the Parameter to the list sort lines of me --sorts a-z if the dragDestination contains tParameter then delete line tLine of me pass dragDrop end dragDrop Oh, and a minor point - dragAction is set to 'move' but I get the OSX 'plus' icon attached to the drag action, which implies copy?!? Best, Keith.. From jimaultwins at yahoo.com Wed May 18 06:43:20 2011 From: jimaultwins at yahoo.com (Jim Ault) Date: Wed, 18 May 2011 03:43:20 -0700 Subject: Drag & drop lines between list fields In-Reply-To: References: Message-ID: How would the dragDrop handler know the value of tLine? Also, it seems like 'me' has two different meanings in the dragDrop handler. Try this for adding lines to fields that may be empty or need a return, etc: put cr & line 1 of tDraggedArray & cr after me filter me without empty You also might consider with the syntax if tParameter is among the lines of the dragDestination then Hope this helps, Jim Ault Las Vegas On May 18, 2011, at 3:18 AM, Keith Clarke wrote: > Hi folks, > To help with some XML file analysis, I've created a pair of list > fields that display the current node's children. The 'left' field is > filled with all the child nodes and I filter this list down to just > the nodes I will investigate further, by dragging into the 'right' > list the nodes I will ignore. > > I thought I'd use this opportunity to learn about drag & drop, so > the script below sits in each field and allows me to move fields > back and forth between 'monitor' and 'ignore' lists - well, nearly! > It's working but in an overall 'copy' mode - not 'move'. > > My problem is with the 'line -3' which should check that the drop > was successful and then delete the line from the source field. > > Any clues as to what I'm doing wrong? > > /* > Drag and drop control for managing parameters between 'Monitor' and > 'Ignore' lists > */ > on dragStart > ---Start dragging a Parameter > put the hilitedLine of me into tLine --a line number reference and > not the text > put the line tLine of me into tParameter --gets the text from the > referenced line number > set the allowableDragActions to "move" > set the dragAction to "move" > set the dragData["text"] to tParameter --creates the 'payload' for > the drag & drop action > pass dragStart > end dragStart > > on dragEnter > --Enable as a receiving field > set the dragAction to "copy" > pass dragEnter > end dragEnter > > on dragDrop > --Put some dragsource logic in here - exit if dragSource is not > the expected field or the dragData payload is empty > --Deposit the drag 'payload' > put the dragData["text"] into tDraggedArray > if me is not empty then put return after me --adds a return after > the last item when the destination list is not empty > put line 1 of tDraggedArray after me --adds the Parameter to the > list > sort lines of me --sorts a-z > if the dragDestination contains tParameter then delete line tLine > of me > pass dragDrop > end dragDrop > > Oh, and a minor point - dragAction is set to 'move' but I get the > OSX 'plus' icon attached to the drag action, which implies copy?!? From keith.clarke at clarkeandclarke.co.uk Wed May 18 07:09:21 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Wed, 18 May 2011 12:09:21 +0100 Subject: Drag & drop lines between list fields In-Reply-To: References: Message-ID: <16E77B95-1C81-44E1-B597-809BD6CA136A@clarkeandclarke.co.uk> Hi Jim, Thanks for the response - and good points well made. I was forgetting that whilst the same script code is common to both fields, at any one time, each field's script is only aware of the start or end-point handlers of the procedure. The tParameter variable should have been declared at script level to make it visible for all handlers in the script (my first mistake!) but as it is needed by both start and end fields' scripts, I have made it a global. Thanks also for the tip on adding returns and filtering - and the 'is among the...' syntax. I was having lots of fun yesterday working through all the mechanisms to check 'is this text in that container' but I had missed this one completely. It's not working but I've a few good tips to run with now. Best, Keith.. On 18 May 2011, at 11:43, Jim Ault wrote: > How would the dragDrop handler know the value of tLine? > Also, it seems like 'me' has two different meanings in the dragDrop handler. > > Try this for adding lines to fields that may be empty or need a return, etc: > > put cr & line 1 of tDraggedArray & cr after me > filter me without empty > > You also might consider with the syntax > > if tParameter is among the lines of the dragDestination then > > Hope this helps, > > Jim Ault > Las Vegas > > On May 18, 2011, at 3:18 AM, Keith Clarke wrote: > >> Hi folks, >> To help with some XML file analysis, I've created a pair of list fields that display the current node's children. The 'left' field is filled with all the child nodes and I filter this list down to just the nodes I will investigate further, by dragging into the 'right' list the nodes I will ignore. >> >> I thought I'd use this opportunity to learn about drag & drop, so the script below sits in each field and allows me to move fields back and forth between 'monitor' and 'ignore' lists - well, nearly! It's working but in an overall 'copy' mode - not 'move'. >> >> My problem is with the 'line -3' which should check that the drop was successful and then delete the line from the source field. >> >> Any clues as to what I'm doing wrong? >> >> /* >> Drag and drop control for managing parameters between 'Monitor' and 'Ignore' lists >> */ >> on dragStart >> ---Start dragging a Parameter >> put the hilitedLine of me into tLine --a line number reference and not the text >> put the line tLine of me into tParameter --gets the text from the referenced line number >> set the allowableDragActions to "move" >> set the dragAction to "move" >> set the dragData["text"] to tParameter --creates the 'payload' for the drag & drop action >> pass dragStart >> end dragStart >> >> on dragEnter >> --Enable as a receiving field >> set the dragAction to "copy" >> pass dragEnter >> end dragEnter >> >> on dragDrop >> --Put some dragsource logic in here - exit if dragSource is not the expected field or the dragData payload is empty >> --Deposit the drag 'payload' >> put the dragData["text"] into tDraggedArray >> if me is not empty then put return after me --adds a return after the last item when the destination list is not empty >> put line 1 of tDraggedArray after me --adds the Parameter to the list >> sort lines of me --sorts a-z >> if the dragDestination contains tParameter then delete line tLine of me >> pass dragDrop >> end dragDrop >> >> Oh, and a minor point - dragAction is set to 'move' but I get the OSX 'plus' icon attached to the drag action, which implies copy?!? From niggemann at uni-wh.de Wed May 18 08:24:58 2011 From: niggemann at uni-wh.de (BNig) Date: Wed, 18 May 2011 05:24:58 -0700 (PDT) Subject: Livecode for Digital Signage In-Reply-To: <000601cc1520$6381a7c0$2a84f740$@yahoo.com> References: <059d01cc1503$543ab300$fcb01900$@yahoo.com> <4DD33F81.8090004@dreamscapesoftware.com> <05b201cc1513$30403d20$90c0b760$@yahoo.com> <4DD3506B.7070506@dreamscapesoftware.com> <000601cc1520$6381a7c0$2a84f740$@yahoo.com> Message-ID: <1305721498670-3532473.post@n4.nabble.com> Hi Jim, you might have a look at Jim Hamlyn's autoCue in RevOnline. http://revonline2.runrev.com/stack/489/AutoCue In my experience setting the syncrate below about 8 does not improve movement anymore though this depends on hardware. The cited example has settings for speed and syncrate. Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Livecode-for-Digital-Signage-tp3531402p3532473.html Sent from the Revolution - User mailing list archive at Nabble.com. From form at nonsanity.com Wed May 18 10:32:40 2011 From: form at nonsanity.com (Nonsanity) Date: Wed, 18 May 2011 10:32:40 -0400 Subject: Livecode for Digital Signage In-Reply-To: <05ba01cc151a$d577e840$8067b8c0$@yahoo.com> References: <059d01cc1503$543ab300$fcb01900$@yahoo.com> <05ba01cc151a$d577e840$8067b8c0$@yahoo.com> Message-ID: I see your problem then. In my sample stack, the text display area is 800 pixels wide. Going by the speed you set it to, that means the text is moving 1 pixel every 4 milliseconds. No WONDER you're getting jerky motion. With the 300 speed setting change you made, I could make it smooth by setting the send in time delay to 10-15 milliseconds. But with the script (simple as it is) executing that often, it is VERY susceptible to upset from any other task running on that computer. Any delay elsewhere inside the computer results in a visible stutter as it misses a few updates. Also at that speed, there's an increased chance of intersecting the screen refresh rate, which results in a momentary sheering effect along the text. The sheer and the stutter combine to keep the text from looking solid when moving that fast. Tickers as seen on TV are sync-locked to the video stream, I believe, which makes them far more stable. They are also usually on dedicated hardware and not a home desktop computer that's running who-knows-what in the background. I don't think you're going to be able to get that fast a speed without temporal artifacting in LiveCode. Can you slow it down? But even at one third that speed, you will still see the occasional sheer (far less frequently) and some stuttering (other tasks are still running, after all) though that is less noticeable because less distance is being skipped at that speed.. the only way I can think of to get a sure-fire smooth scroll at ANY speed would be to offload the work to a graphics card. Then the updates would be synced to the display's refresh rate (no sheer) and no other tasks are running on the graphics card CPU (so no stutter). But you can't do that in LiveCode currently. (OpenGL support on the roadmap, anyone?) ~ Chris Innanen ~ Nonsanity On Wed, May 18, 2011 at 1:17 AM, Jim Schaubeck wrote: > Chris, > Thank you for sending your sample !!! > > I worked with your code a bit and changed this line: > put dTime / 300 into pTime-- changed to 300 > > This made the test move a similar speed (faster than your speed) to a stock > ticker tape but I still have the jerkiness. > > I will save your project for future reference though, thanks again! > > 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 Nonsanity > Sent: Tuesday, May 17, 2011 10:05 PM > To: How to use LiveCode > Subject: Re: Livecode for Digital Signage > > Using hscroll of a field and the send in time command, I got very smooth > text scroll on my Macbook Pro. Here's the stack I tested with: > > > https://dl.dropbox.com/s/l4gc4mp0401j6se/Smooth%20Scrolling%20Text.livecode? > dl=1 > > Let me know how it works for you. > > ~ Chris Innanen > ~ Nonsanity > > > > On Tue, May 17, 2011 at 10:28 PM, Jim Schaubeck > wrote: > > > I would like to develop an in-house digital signage app that uses > > video, animation and smooth scrolling words (like a stock ticker). I > > can figure out the video and the animation but I'm having trouble with > > smooth scrolling text. Is this better suited for Animation Engine > > (have not tried it) or is there a trick to getting text to flow > > Right-to-Left smoothly. The best that I can see is the move command > > but it's still too jerky for displaying in a store. > > > > > > > > Thank you for any feedback > > > > > > > > jim schaubeck > > > > 714-321-4499 > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode 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 jimschaubeck at yahoo.com Wed May 18 11:35:01 2011 From: jimschaubeck at yahoo.com (Jim Schaubeck) Date: Wed, 18 May 2011 08:35:01 -0700 Subject: Livecode for Digital Signage In-Reply-To: <1305721498670-3532473.post@n4.nabble.com> References: <059d01cc1503$543ab300$fcb01900$@yahoo.com> <4DD33F81.8090004@dreamscapesoftware.com> <05b201cc1513$30403d20$90c0b760$@yahoo.com> <4DD3506B.7070506@dreamscapesoftware.com> <000601cc1520$6381a7c0$2a84f740$@yahoo.com> <1305721498670-3532473.post@n4.nabble.com> Message-ID: <002701cc1571$275c2620$76147260$@yahoo.com> Thank you Bernd, I tried the project you sent me. The 'move' command is used which is what I seem to have the best luck with. The same 'jerkiness' appears in that project as well. When I set the syncRate to 0, I had the best smooth flow but still had a jerk every second. Thank you for your suggestions!!! Overall, I must say that Digital Signage would be a great product for livecode developers to market to their existing clients. 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 BNig Sent: Wednesday, May 18, 2011 5:25 AM To: use-revolution at lists.runrev.com Subject: RE: Livecode for Digital Signage Hi Jim, you might have a look at Jim Hamlyn's autoCue in RevOnline. http://revonline2.runrev.com/stack/489/AutoCue In my experience setting the syncrate below about 8 does not improve movement anymore though this depends on hardware. The cited example has settings for speed and syncrate. Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Livecode-for-Digital-Signage- tp3531402p3532473.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 jimschaubeck at yahoo.com Wed May 18 11:35:01 2011 From: jimschaubeck at yahoo.com (Jim Schaubeck) Date: Wed, 18 May 2011 08:35:01 -0700 Subject: Livecode for Digital Signage In-Reply-To: <1305721498670-3532473.post@n4.nabble.com> References: <059d01cc1503$543ab300$fcb01900$@yahoo.com> <4DD33F81.8090004@dreamscapesoftware.com> <05b201cc1513$30403d20$90c0b760$@yahoo.com> <4DD3506B.7070506@dreamscapesoftware.com> <000601cc1520$6381a7c0$2a84f740$@yahoo.com> <1305721498670-3532473.post@n4.nabble.com> Message-ID: <002701cc1571$275c2620$76147260$@yahoo.com> Thank you Bernd, I tried the project you sent me. The 'move' command is used which is what I seem to have the best luck with. The same 'jerkiness' appears in that project as well. When I set the syncRate to 0, I had the best smooth flow but still had a jerk every second. Thank you for your suggestions!!! Overall, I must say that Digital Signage would be a great product for livecode developers to market to their existing clients. 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 BNig Sent: Wednesday, May 18, 2011 5:25 AM To: use-revolution at lists.runrev.com Subject: RE: Livecode for Digital Signage Hi Jim, you might have a look at Jim Hamlyn's autoCue in RevOnline. http://revonline2.runrev.com/stack/489/AutoCue In my experience setting the syncrate below about 8 does not improve movement anymore though this depends on hardware. The cited example has settings for speed and syncrate. Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Livecode-for-Digital-Signage- tp3531402p3532473.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 jimschaubeck at yahoo.com Wed May 18 11:52:58 2011 From: jimschaubeck at yahoo.com (Jim Schaubeck) Date: Wed, 18 May 2011 08:52:58 -0700 Subject: Livecode for Digital Signage In-Reply-To: References: <059d01cc1503$543ab300$fcb01900$@yahoo.com> <05ba01cc151a$d577e840$8067b8c0$@yahoo.com> Message-ID: <002801cc1573$a8f1c120$fad54360$@yahoo.com> Thank you Chris!! I agree that currently, any other action within the computer would translate to a 'stutter' or 'flicker' on the ticker tape. In my app there will be a polling script to grab fresh data from an external db about every 5 or 10 minutes. During the database poll, I would take the ticker stream off of the screen so I'm not worried about any extra processing that I ask the computer to do. You are describing all of my problems perfectly but, at least to me, the app is far too appealing to stop trying. From a coding perspective, LiveCode is all I know :-) Every Walmart, doctor's office, Home Depot, restaurant, etc I go into I look at the Digital Signage and say, "I can do that!" Does anyone see a fit for animation Engine? Will it assist in making these types of motion consistent or 'smooth'?? 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 Nonsanity Sent: Wednesday, May 18, 2011 7:33 AM To: How to use LiveCode Subject: Re: Livecode for Digital Signage I see your problem then. In my sample stack, the text display area is 800 pixels wide. Going by the speed you set it to, that means the text is moving 1 pixel every 4 milliseconds. No WONDER you're getting jerky motion. With the 300 speed setting change you made, I could make it smooth by setting the send in time delay to 10-15 milliseconds. But with the script (simple as it is) executing that often, it is VERY susceptible to upset from any other task running on that computer. Any delay elsewhere inside the computer results in a visible stutter as it misses a few updates. Also at that speed, there's an increased chance of intersecting the screen refresh rate, which results in a momentary sheering effect along the text. The sheer and the stutter combine to keep the text from looking solid when moving that fast. Tickers as seen on TV are sync-locked to the video stream, I believe, which makes them far more stable. They are also usually on dedicated hardware and not a home desktop computer that's running who-knows-what in the background. I don't think you're going to be able to get that fast a speed without temporal artifacting in LiveCode. Can you slow it down? But even at one third that speed, you will still see the occasional sheer (far less frequently) and some stuttering (other tasks are still running, after all) though that is less noticeable because less distance is being skipped at that speed.. the only way I can think of to get a sure-fire smooth scroll at ANY speed would be to offload the work to a graphics card. Then the updates would be synced to the display's refresh rate (no sheer) and no other tasks are running on the graphics card CPU (so no stutter). But you can't do that in LiveCode currently. (OpenGL support on the roadmap, anyone?) ~ Chris Innanen ~ Nonsanity On Wed, May 18, 2011 at 1:17 AM, Jim Schaubeck wrote: > Chris, > Thank you for sending your sample !!! > > I worked with your code a bit and changed this line: > put dTime / 300 into pTime-- changed to 300 > > This made the test move a similar speed (faster than your speed) to a > stock ticker tape but I still have the jerkiness. > > I will save your project for future reference though, thanks again! > > 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 Nonsanity > Sent: Tuesday, May 17, 2011 10:05 PM > To: How to use LiveCode > Subject: Re: Livecode for Digital Signage > > Using hscroll of a field and the send in time command, I got very > smooth text scroll on my Macbook Pro. Here's the stack I tested with: > > > https://dl.dropbox.com/s/l4gc4mp0401j6se/Smooth%20Scrolling%20Text.livecode? > dl=1 t.livecode?%0Adl=1> > > Let me know how it works for you. > > ~ Chris Innanen > ~ Nonsanity > > > > On Tue, May 17, 2011 at 10:28 PM, Jim Schaubeck > wrote: > > > I would like to develop an in-house digital signage app that uses > > video, animation and smooth scrolling words (like a stock ticker). > > I can figure out the video and the animation but I'm having trouble > > with smooth scrolling text. Is this better suited for Animation > > Engine (have not tried it) or is there a trick to getting text to > > flow Right-to-Left smoothly. The best that I can see is the move > > command but it's still too jerky for displaying in a store. > > > > > > > > Thank you for any feedback > > > > > > > > jim schaubeck > > > > 714-321-4499 > > > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode 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 May 18 11:55:19 2011 From: bobs at twft.com (Bob Sneidar) Date: Wed, 18 May 2011 08:55:19 -0700 Subject: OT] how to update 2 values in each of 3000 records in MySQL In-Reply-To: <7DB392E3-519E-4268-9118-919299DDCBA5@de-mare.nl> References: <7DB392E3-519E-4268-9118-919299DDCBA5@de-mare.nl> Message-ID: <64430630-AC3B-4387-98AE-6A8A26810C7B@twft.com> I was under the impression you could only update one record at a time in SQL. Sure you can stack queries together and send them all at once (I guess that would be quicker). Is there a limit on the size of a SQL statement? Bob On May 17, 2011, at 11:56 PM, Terry Vogelaar wrote: > Whether you change record after record, or 50 in one step, depends on the values. It is certainly possible to write a massive SQL instruction. But it might save your sanity when you change them one by one in a repeat loop, with a much simpler SQL query. However, if those 50 records can be filtered easily, and if they share values, combining might make sense. Hard to say. > > Terry From bobs at twft.com Wed May 18 11:57:06 2011 From: bobs at twft.com (Bob Sneidar) Date: Wed, 18 May 2011 08:57:06 -0700 Subject: Deselection of lines In-Reply-To: <43FF4196-1BCD-4C88-BCC2-4605EA9AC49A@skynet.be> References: <43FF4196-1BCD-4C88-BCC2-4605EA9AC49A@skynet.be> Message-ID: <965A3357-5CE5-424B-8E6C-F563410C3144@twft.com> Set the selection to empty? Bob On May 17, 2011, at 11:23 PM, Yves COPPE wrote: > Hi list > > I want to make a deselection of the selected lines of a fld > > something like : > > set the selectedLine of fld "xxx" to "0" > > but it doesn't luck > > Has anyone another script to perform that ? > > Thanks. > > > > Greetings. > > Yves COPPE > yvescoppe at skynet.be > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From pete at mollysrevenge.com Wed May 18 12:08:05 2011 From: pete at mollysrevenge.com (Pete) Date: Wed, 18 May 2011 09:08:05 -0700 Subject: OT] how to update 2 values in each of 3000 records in MySQL In-Reply-To: <7DB392E3-519E-4268-9118-919299DDCBA5@de-mare.nl> References: <7DB392E3-519E-4268-9118-919299DDCBA5@de-mare.nl> Message-ID: There shouldn't be any problem accessing a mysql database over a network if the administrator has allowed you access to it. Hard to say whether that's "the right way". Updating values in 3000 records shouldn't be a very time consuming activity but as Terry said, it's hard to say without knowing a lot more about your db structure. Are you putting the same values into all 3000 records? If not, how many different values are there and how do you identify which records are to be updated for each value? Probably would also need to know if you have indexes set up in your database which would speed up the retrieval of the records to be updated. Pete Molly's Revenge On Tue, May 17, 2011 at 11:56 PM, Terry Vogelaar wrote: > Hi Matthias, > > I don't think you should call this OT; sounds on topic to me. > > Of course it is hard to come up with a solution when we know so little > about this particular database and the goal you try to accomplish with it. > But you might reconsider the architecture of the database. If the 3000 > records have 3000 different values in these columns; your approach is fine. > But when there is a lot of overlap in those values, you might be benefitted > making optimal use of relational databases. For example, if you have 60 > value pairs, repeated over and over again in these columns, you replace the > 2 columns with 1, containing an ID number for another table. In that other > table, you put 60 records with an ID and a value pair in each record. So > when you change 1 record in this table, all of the 3000 records linked to > this one, change with it. Again, it is hard to determine if this tip makes > any sense in your case, but it might be useful. > > It should be possible to access an online DB from a standalone. Never done > it personally, though. Using irev for it can be used as well. You can > exchange data between the standalone and the irev file using POST (take a > look at the post command in the LiveCode dictionary). In other words, you > can fake a HTML form in the standalone. So the irev file handles the data as > if it receives a filled in web form. It then can process it and put it in > the database. > > Whether you change record after record, or 50 in one step, depends on the > values. It is certainly possible to write a massive SQL instruction. But it > might save your sanity when you change them one by one in a repeat loop, > with a much simpler SQL query. However, if those 50 records can be filtered > easily, and if they share values, combining might make sense. Hard to say. > > Terry > > Op 18 mei 2011, om 07:36 heeft use-livecode-request at lists.runrev.com het > volgende geschreven: > > > Hi, > > > > I have to update 3000 records in a mysql db very often. I just have to > change only 2 values in each of the 3000 records. > > I have a desktop app, which creates the values which then have to be put > in that mysql database. This db is not local, but resides on an on-rev > server. > > I could activate remote access for the mysql db and could limit this > access to our static ip address which our isp assigne to us to let the > standalone > > app to update the values directly. But is that the right way? Should i > do it directly from my standalone or should i do it through an irev script? > > > > If 2nd, how would i parse the values to the script. I know how to connect > from an irev script to a mysql db. That would be no problem. > > But i never sent data from a standalone to an irev script. > > > > Should i update record after record or can i update lets say 50 records > in one step? Even with different values? > > > > Could someone help? > > > > > > Regards, > > > > Matthias > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 May 18 12:10:22 2011 From: pete at mollysrevenge.com (Pete) Date: Wed, 18 May 2011 09:10:22 -0700 Subject: OT] how to update 2 values in each of 3000 records in MySQL In-Reply-To: <64430630-AC3B-4387-98AE-6A8A26810C7B@twft.com> References: <7DB392E3-519E-4268-9118-919299DDCBA5@de-mare.nl> <64430630-AC3B-4387-98AE-6A8A26810C7B@twft.com> Message-ID: You can update as many records as you want in one instruction as long as you can identify them in a WHERE statement: UPDATE tablea SET field1="newvalue" WHERE tablea.fielda="oldvalue" Pete Molly's Revenge On Wed, May 18, 2011 at 8:55 AM, Bob Sneidar wrote: > I was under the impression you could only update one record at a time in > SQL. Sure you can stack queries together and send them all at once (I guess > that would be quicker). Is there a limit on the size of a SQL statement? > > Bob > > > On May 17, 2011, at 11:56 PM, Terry Vogelaar wrote: > > > Whether you change record after record, or 50 in one step, depends on the > values. It is certainly possible to write a massive SQL instruction. But it > might save your sanity when you change them one by one in a repeat loop, > with a much simpler SQL query. However, if those 50 records can be filtered > easily, and if they share values, combining might make sense. Hard to say. > > > > Terry > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Wed May 18 12:12:26 2011 From: dixonja at hotmail.co.uk (John Dixon) Date: Wed, 18 May 2011 17:12:26 +0100 Subject: Deselection of lines In-Reply-To: <965A3357-5CE5-424B-8E6C-F563410C3144@twft.com> References: <43FF4196-1BCD-4C88-BCC2-4605EA9AC49A@skynet.be>, <965A3357-5CE5-424B-8E6C-F563410C3144@twft.com> Message-ID: set the hilitedLines of fld 1 to empty > On May 17, 2011, at 11:23 PM, Yves COPPE wrote: > > > Hi list > > I want to make a deselection of the selected lines of a fld > > something like : > > > > set the selectedLine of fld "xxx" to "0" > > > > but it doesn't luck > > Has anyone another script to perform that ? > > > > Thanks. > > Yves COPPE > > yvescoppe at skynet.be From livfoss at mac.com Wed May 18 16:06:35 2011 From: livfoss at mac.com (Graham Samuel) Date: Wed, 18 May 2011 22:06:35 +0200 Subject: How to prevent multiple instances of a non-LC Windows app? Message-ID: <50F3FF11-A6E4-445E-A50C-429C0A9C074A@mac.com> Hi The app I'm writing is sometimes required to launch an existing Windows app on quitting. The Dictionary entry for 'launch' says > When the launch command executes, the application being launched comes to the foreground. When the user quits, LiveCode comes to the foreground. > > If the application is already running, the launch command does nothing, and "Process is already open." is placed in the result function. This doesn't seem to be true. I find that if the Windows app is already running, 'launch' will just happily start up a new instance, and nothing will appear in 'the result'. What I want to do is to make sure that if a single instance is running, it comes to the foreground as my LC app quits. I am aware of 'the openProcesses', but this doesn't find processes which were not launched by LC (from the IDE it doesn't even find an instance of an LC standalone running in the same machine, but I suppose this is a digression). Perhaps there is a shell equivalent to the openProcesses which will list whether or not the Windows app is already running, how can I make sure it is frontmost when my LC app quits? Even if 'launch' worked as described, it wouldn't help, since it would apparently do nothing at all. Can anyone say how they solved this problem? Graham From m.schonewille at economy-x-talk.com Wed May 18 16:15:08 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Wed, 18 May 2011 22:15:08 +0200 Subject: How to prevent multiple instances of a non-LC Windows app? In-Reply-To: <50F3FF11-A6E4-445E-A50C-429C0A9C074A@mac.com> References: <50F3FF11-A6E4-445E-A50C-429C0A9C074A@mac.com> Message-ID: Hi Graham, Use tasklist to check if the programme 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 New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce On 18 mei 2011, at 22:06, Graham Samuel wrote: > Hi > > The app I'm writing is sometimes required to launch an existing Windows app on quitting. The Dictionary entry for 'launch' says > >> When the launch command executes, the application being launched comes to the foreground. When the user quits, LiveCode comes to the foreground. >> >> If the application is already running, the launch command does nothing, and "Process is already open." is placed in the result function. > > This doesn't seem to be true. I find that if the Windows app is already running, 'launch' will just happily start up a new instance, and nothing will appear in 'the result'. What I want to do is to make sure that if a single instance is running, it comes to the foreground as my LC app quits. > > I am aware of 'the openProcesses', but this doesn't find processes which were not launched by LC (from the IDE it doesn't even find an instance of an LC standalone running in the same machine, but I suppose this is a digression). Perhaps there is a shell equivalent to the openProcesses which will list whether or not the Windows app is already running, how can I make sure it is frontmost when my LC app quits? Even if 'launch' worked as described, it wouldn't help, since it would apparently do nothing at all. > > Can anyone say how they solved this problem? > > Graham From runrev260805 at m-r-d.de Wed May 18 16:42:26 2011 From: runrev260805 at m-r-d.de (Matthias Rebbe) Date: Wed, 18 May 2011 22:42:26 +0200 Subject: OT] how to update 2 values in each of 3000 records in MySQL In-Reply-To: References: <7DB392E3-519E-4268-9118-919299DDCBA5@de-mare.nl> Message-ID: <48209AF5-94CE-4919-A6B7-84E4BC460103@m-r-d.de> Hi, thanks so far to all for your suggestions. The database is from an online shop (xtCommerce) I have to update the products table which has no indexes: 1. setting a product active/inactive 2. setting the shipping time of a product (on stock, not on stock, ordered) 3. adjust the available quantity of the product. What i have so far: I retrieve a list of all "active" products with available quantity and also the ordered quantity (if ordered from supplieer) from our local merchandise management system (MS SQL server). I retrieve a list of all "active" products with quantity and shipment status from the online store (MySQL server). I then compare both lists and create a list of products which have changed and so have to be updated. I will try both variants: A standalone with direct access to the db and also the combination standalone and .irev. And i will try updating record for record and also 10/20/30 in one step. Regards, Matthias Am 18.05.2011 um 18:08 schrieb Pete: > There shouldn't be any problem accessing a mysql database over a network if > the administrator has allowed you access to it. Hard to say whether that's > "the right way". Updating values in 3000 records shouldn't be a very time > consuming activity but as Terry said, it's hard to say without knowing a lot > more about your db structure. Are you putting the same values into all 3000 > records? If not, how many different values are there and how do you > identify which records are to be updated for each value? Probably would > also need to know if you have indexes set up in your database which would > speed up the retrieval of the records to be updated. > Pete > Molly's Revenge > > > > > On Tue, May 17, 2011 at 11:56 PM, Terry Vogelaar wrote: > >> Hi Matthias, >> >> I don't think you should call this OT; sounds on topic to me. >> >> Of course it is hard to come up with a solution when we know so little >> about this particular database and the goal you try to accomplish with it. >> But you might reconsider the architecture of the database. If the 3000 >> records have 3000 different values in these columns; your approach is fine. >> But when there is a lot of overlap in those values, you might be benefitted >> making optimal use of relational databases. For example, if you have 60 >> value pairs, repeated over and over again in these columns, you replace the >> 2 columns with 1, containing an ID number for another table. In that other >> table, you put 60 records with an ID and a value pair in each record. So >> when you change 1 record in this table, all of the 3000 records linked to >> this one, change with it. Again, it is hard to determine if this tip makes >> any sense in your case, but it might be useful. >> >> It should be possible to access an online DB from a standalone. Never done >> it personally, though. Using irev for it can be used as well. You can >> exchange data between the standalone and the irev file using POST (take a >> look at the post command in the LiveCode dictionary). In other words, you >> can fake a HTML form in the standalone. So the irev file handles the data as >> if it receives a filled in web form. It then can process it and put it in >> the database. >> >> Whether you change record after record, or 50 in one step, depends on the >> values. It is certainly possible to write a massive SQL instruction. But it >> might save your sanity when you change them one by one in a repeat loop, >> with a much simpler SQL query. However, if those 50 records can be filtered >> easily, and if they share values, combining might make sense. Hard to say. >> >> Terry >> >> Op 18 mei 2011, om 07:36 heeft use-livecode-request at lists.runrev.com het >> volgende geschreven: >> >>> Hi, >>> >>> I have to update 3000 records in a mysql db very often. I just have to >> change only 2 values in each of the 3000 records. >>> I have a desktop app, which creates the values which then have to be put >> in that mysql database. This db is not local, but resides on an on-rev >> server. >>> I could activate remote access for the mysql db and could limit this >> access to our static ip address which our isp assigne to us to let the >> standalone >>> app to update the values directly. But is that the right way? Should i >> do it directly from my standalone or should i do it through an irev script? >>> >>> If 2nd, how would i parse the values to the script. I know how to connect >> from an irev script to a mysql db. That would be no problem. >>> But i never sent data from a standalone to an irev script. >>> >>> Should i update record after record or can i update lets say 50 records >> in one step? Even with different values? >>> >>> Could someone help? >>> >>> >>> Regards, >>> >>> Matthias >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 livfoss at mac.com Wed May 18 17:00:27 2011 From: livfoss at mac.com (Graham Samuel) Date: Wed, 18 May 2011 23:00:27 +0200 Subject: OT: why can't I use "tasklist" in the Windows XP Cmd window? Message-ID: <6C95707B-B7CC-4570-8E78-883A4D3BDDDF@mac.com> Since I can't use 'the OpenProcesses' in LC to see what non-LC programs are running in Windows, I thought I'd look for the equivalent command in the cmd.exe command set, hoping in the end to run it via 'shell' from my LC app. The Microsoft documentation explains a function called 'tasklist' which looks promising, but my CMD window keep saying the command is not recognised. Other commands like 'start' and 'ipconfig' work OK. Can anyone with Windows knowledge explain what I'm doing wrong? TIA Graham From pete at mollysrevenge.com Wed May 18 17:00:54 2011 From: pete at mollysrevenge.com (Pete) Date: Wed, 18 May 2011 14:00:54 -0700 Subject: OT] how to update 2 values in each of 3000 records in MySQL In-Reply-To: <48209AF5-94CE-4919-A6B7-84E4BC460103@m-r-d.de> References: <7DB392E3-519E-4268-9118-919299DDCBA5@de-mare.nl> <48209AF5-94CE-4919-A6B7-84E4BC460103@m-r-d.de> Message-ID: OK, sounds like you have to update each record individually based on a product code of some sort which I'd guess is probably the primary key. If that's the case, updating should be very fast. Don't know if updating 1 record at a time would be faster than batching the updates into 10/20/30 at a time. Pete Molly's Revenge On Wed, May 18, 2011 at 1:42 PM, Matthias Rebbe wrote: > Hi, > > thanks so far to all for your suggestions. > > The database is from an online shop (xtCommerce) > I have to update the products table which has no indexes: > > 1. setting a product active/inactive > 2. setting the shipping time of a product (on stock, not on stock, ordered) > 3. adjust the available quantity of the product. > > What i have so far: > > I retrieve a list of all "active" products with available quantity and also > the ordered quantity (if ordered from supplieer) from our local merchandise > management system (MS SQL server). > I retrieve a list of all "active" products with quantity and shipment > status from the online store (MySQL server). > I then compare both lists and create a list of products which have changed > and so have to be updated. > > I will try both variants: A standalone with direct access to the db and > also the combination standalone and .irev. > And i will try updating record for record and also 10/20/30 in one step. > > > Regards, > > Matthias > > > Am 18.05.2011 um 18:08 schrieb Pete: > > > There shouldn't be any problem accessing a mysql database over a network > if > > the administrator has allowed you access to it. Hard to say whether > that's > > "the right way". Updating values in 3000 records shouldn't be a very > time > > consuming activity but as Terry said, it's hard to say without knowing a > lot > > more about your db structure. Are you putting the same values into all > 3000 > > records? If not, how many different values are there and how do you > > identify which records are to be updated for each value? Probably would > > also need to know if you have indexes set up in your database which would > > speed up the retrieval of the records to be updated. > > Pete > > Molly's Revenge > > > > > > > > > > On Tue, May 17, 2011 at 11:56 PM, Terry Vogelaar >wrote: > > > >> Hi Matthias, > >> > >> I don't think you should call this OT; sounds on topic to me. > >> > >> Of course it is hard to come up with a solution when we know so little > >> about this particular database and the goal you try to accomplish with > it. > >> But you might reconsider the architecture of the database. If the 3000 > >> records have 3000 different values in these columns; your approach is > fine. > >> But when there is a lot of overlap in those values, you might be > benefitted > >> making optimal use of relational databases. For example, if you have 60 > >> value pairs, repeated over and over again in these columns, you replace > the > >> 2 columns with 1, containing an ID number for another table. In that > other > >> table, you put 60 records with an ID and a value pair in each record. So > >> when you change 1 record in this table, all of the 3000 records linked > to > >> this one, change with it. Again, it is hard to determine if this tip > makes > >> any sense in your case, but it might be useful. > >> > >> It should be possible to access an online DB from a standalone. Never > done > >> it personally, though. Using irev for it can be used as well. You can > >> exchange data between the standalone and the irev file using POST (take > a > >> look at the post command in the LiveCode dictionary). In other words, > you > >> can fake a HTML form in the standalone. So the irev file handles the > data as > >> if it receives a filled in web form. It then can process it and put it > in > >> the database. > >> > >> Whether you change record after record, or 50 in one step, depends on > the > >> values. It is certainly possible to write a massive SQL instruction. But > it > >> might save your sanity when you change them one by one in a repeat loop, > >> with a much simpler SQL query. However, if those 50 records can be > filtered > >> easily, and if they share values, combining might make sense. Hard to > say. > >> > >> Terry > >> > >> Op 18 mei 2011, om 07:36 heeft use-livecode-request at lists.runrev.comhet > >> volgende geschreven: > >> > >>> Hi, > >>> > >>> I have to update 3000 records in a mysql db very often. I just have to > >> change only 2 values in each of the 3000 records. > >>> I have a desktop app, which creates the values which then have to be > put > >> in that mysql database. This db is not local, but resides on an on-rev > >> server. > >>> I could activate remote access for the mysql db and could limit this > >> access to our static ip address which our isp assigne to us to let the > >> standalone > >>> app to update the values directly. But is that the right way? Should i > >> do it directly from my standalone or should i do it through an irev > script? > >>> > >>> If 2nd, how would i parse the values to the script. I know how to > connect > >> from an irev script to a mysql db. That would be no problem. > >>> But i never sent data from a standalone to an irev script. > >>> > >>> Should i update record after record or can i update lets say 50 records > >> in one step? Even with different values? > >>> > >>> Could someone help? > >>> > >>> > >>> Regards, > >>> > >>> Matthias > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode 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 bonnmike at gmail.com Wed May 18 17:17:37 2011 From: bonnmike at gmail.com (Mike Bonner) Date: Wed, 18 May 2011 15:17:37 -0600 Subject: OT: why can't I use "tasklist" in the Windows XP Cmd window? In-Reply-To: <6C95707B-B7CC-4570-8E78-883A4D3BDDDF@mac.com> References: <6C95707B-B7CC-4570-8E78-883A4D3BDDDF@mac.com> Message-ID: With windows xp, tasklist is only available on xp Pro. vista and 7 should have it in all versions by default. (I think) On Wed, May 18, 2011 at 3:00 PM, Graham Samuel wrote: > Since I can't use 'the OpenProcesses' in LC to see what non-LC programs are > running in Windows, I thought I'd look for the equivalent command in the > cmd.exe command set, hoping in the end to run it via 'shell' from my LC app. > The Microsoft documentation explains a function called 'tasklist' which > looks promising, but my CMD window keep saying the command is not > recognised. Other commands like 'start' and 'ipconfig' work OK. Can anyone > with Windows knowledge explain what I'm doing wrong? > > TIA > > Graham > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From bonnmike at gmail.com Wed May 18 17:39:13 2011 From: bonnmike at gmail.com (Mike Bonner) Date: Wed, 18 May 2011 15:39:13 -0600 Subject: OT: why can't I use "tasklist" in the Windows XP Cmd window? In-Reply-To: References: <6C95707B-B7CC-4570-8E78-883A4D3BDDDF@mac.com> Message-ID: I can't test with win xp, but you might put the following into a .vbs file. *Set WshShell = WScript.CreateObject ("WScript.Shell")* *Set colProcessList = GetObject("Winmgmts:").ExecQuery ("Select * from Win32_Process")* * * *For Each objProcess in colProcessList* *If objProcess.name = "firefox.exe" then* *vFound = True* *End if* *Next* *If vFound = True then* *WshShell.AppActivate "Firefox"* *Else* *WshShell.Run "Firefox.exe"* *End If * In my example, it will check for firefox, if its running it will focus on it, if not it will start a new instance. To use it, do a shell call. get shell("myScript.vbs") I'm sure it could be easily modified so you could pass it the program to find as a parameter, but if its always the same hard coded should be fine. Got the script from here. http://www.tek-tips.com/viewthread.cfm?qid=1492889&page=6 and changed it slightly. Hope it works on xp home, works fine on 7. On Wed, May 18, 2011 at 3:17 PM, Mike Bonner wrote: > With windows xp, tasklist is only available on xp Pro. vista and 7 should > have it in all versions by default. (I think) > > > On Wed, May 18, 2011 at 3:00 PM, Graham Samuel wrote: > >> Since I can't use 'the OpenProcesses' in LC to see what non-LC programs >> are running in Windows, I thought I'd look for the equivalent command in the >> cmd.exe command set, hoping in the end to run it via 'shell' from my LC app. >> The Microsoft documentation explains a function called 'tasklist' which >> looks promising, but my CMD window keep saying the command is not >> recognised. Other commands like 'start' and 'ipconfig' work OK. Can anyone >> with Windows knowledge explain what I'm doing wrong? >> >> TIA >> >> Graham >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-livecode >> > > From revdev at pdslabs.net Wed May 18 18:10:33 2011 From: revdev at pdslabs.net (Phil Davis) Date: Wed, 18 May 2011 15:10:33 -0700 Subject: OT: why can't I use "tasklist" in the Windows XP Cmd window? In-Reply-To: <6C95707B-B7CC-4570-8E78-883A4D3BDDDF@mac.com> References: <6C95707B-B7CC-4570-8E78-883A4D3BDDDF@mac.com> Message-ID: <4DD443D9.4090801@pdslabs.net> Hi Graham, Try the "qprocess" shell command. I struggled with a similar issue in '09 and discovered this. "tasklist" and "qprocess" should cover most if not all versions of Windows. To kill a task, I believe "tskill" and "taskkill" are your choices for killing a process on Windows. I did something like this to discover which command was supported by the OS: function validKillCommand -- handle MacOS if the platform = "MacOS" then return "kill -9" -- handle any flavor of Windows set the hideConsoleWindows to true -- try various 'kill' commands starting with most common get shell("taskkill /?") if the result = empty then return "taskkill /F /T /PID" get shell("tskill /?") if the result = empty then return "tskill" return empty -- no 'kill' command was found end validKillCommand Best - Phil On 5/18/11 2:00 PM, Graham Samuel wrote: > Since I can't use 'the OpenProcesses' in LC to see what non-LC programs are running in Windows, I thought I'd look for the equivalent command in the cmd.exe command set, hoping in the end to run it via 'shell' from my LC app. The Microsoft documentation explains a function called 'tasklist' which looks promising, but my CMD window keep saying the command is not recognised. Other commands like 'start' and 'ipconfig' work OK. Can anyone with Windows knowledge explain what I'm doing wrong? > > TIA > > Graham > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > -- Phil Davis PDS Labs Professional Software Development http://pdslabs.net From bvlahos at mac.com Wed May 18 20:41:52 2011 From: bvlahos at mac.com (Bill Vlahos) Date: Wed, 18 May 2011 17:41:52 -0700 Subject: Livecode for Digital Signage In-Reply-To: <002801cc1573$a8f1c120$fad54360$@yahoo.com> References: <059d01cc1503$543ab300$fcb01900$@yahoo.com> <05ba01cc151a$d577e840$8067b8c0$@yahoo.com> <002801cc1573$a8f1c120$fad54360$@yahoo.com> Message-ID: <5A0DDBF5-479E-4B56-A60D-F4111265D257@mac.com> Thinking out loud here. Could you take an off-screen snapshot of the formatted list and then just scroll the image at whatever speed you want? Bill Vlahos _________________ InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. On May 18, 2011, at 8:52 AM, Jim Schaubeck wrote: > Thank you Chris!! > I agree that currently, any other action within the computer would translate > to a 'stutter' or 'flicker' on the ticker tape. In my app there will be a > polling script to grab fresh data from an external db about every 5 or 10 > minutes. During the database poll, I would take the ticker stream off of > the screen so I'm not worried about any extra processing that I ask the > computer to do. > > You are describing all of my problems perfectly but, at least to me, the app > is far too appealing to stop trying. From a coding perspective, LiveCode is > all I know :-) > > Every Walmart, doctor's office, Home Depot, restaurant, etc I go into I look > at the Digital Signage and say, "I can do that!" > > Does anyone see a fit for animation Engine? Will it assist in making these > types of motion consistent or 'smooth'?? > > 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 Nonsanity > Sent: Wednesday, May 18, 2011 7:33 AM > To: How to use LiveCode > Subject: Re: Livecode for Digital Signage > > I see your problem then. In my sample stack, the text display area is 800 > pixels wide. Going by the speed you set it to, that means the text is moving > 1 pixel every 4 milliseconds. No WONDER you're getting jerky motion. > > With the 300 speed setting change you made, I could make it smooth by > setting the send in time delay to 10-15 milliseconds. But with the script > (simple as it is) executing that often, it is VERY susceptible to upset from > any other task running on that computer. Any delay elsewhere inside the > computer results in a visible stutter as it misses a few updates. > > Also at that speed, there's an increased chance of intersecting the screen > refresh rate, which results in a momentary sheering effect along the text. > The sheer and the stutter combine to keep the text from looking solid when > moving that fast. > > Tickers as seen on TV are sync-locked to the video stream, I believe, which > makes them far more stable. They are also usually on dedicated hardware and > not a home desktop computer that's running who-knows-what in the background. > > I don't think you're going to be able to get that fast a speed without > temporal artifacting in LiveCode. Can you slow it down? > > But even at one third that speed, you will still see the occasional sheer > (far less frequently) and some stuttering (other tasks are still running, > after all) though that is less noticeable because less distance is being > skipped at that speed.. > > the only way I can think of to get a sure-fire smooth scroll at ANY speed > would be to offload the work to a graphics card. Then the updates would be > synced to the display's refresh rate (no sheer) and no other tasks are > running on the graphics card CPU (so no stutter). But you can't do that in > LiveCode currently. (OpenGL support on the roadmap, anyone?) > > ~ Chris Innanen > ~ Nonsanity > > > > On Wed, May 18, 2011 at 1:17 AM, Jim Schaubeck > wrote: > >> Chris, >> Thank you for sending your sample !!! >> >> I worked with your code a bit and changed this line: >> put dTime / 300 into pTime-- changed to 300 >> >> This made the test move a similar speed (faster than your speed) to a >> stock ticker tape but I still have the jerkiness. >> >> I will save your project for future reference though, thanks again! >> >> 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 Nonsanity >> Sent: Tuesday, May 17, 2011 10:05 PM >> To: How to use LiveCode >> Subject: Re: Livecode for Digital Signage >> >> Using hscroll of a field and the send in time command, I got very >> smooth text scroll on my Macbook Pro. Here's the stack I tested with: >> >> >> > https://dl.dropbox.com/s/l4gc4mp0401j6se/Smooth%20Scrolling%20Text.livecode? >> dl=1> t.livecode?%0Adl=1> >> >> Let me know how it works for you. >> >> ~ Chris Innanen >> ~ Nonsanity >> >> >> >> On Tue, May 17, 2011 at 10:28 PM, Jim Schaubeck >> wrote: >> >>> I would like to develop an in-house digital signage app that uses >>> video, animation and smooth scrolling words (like a stock ticker). >>> I can figure out the video and the animation but I'm having trouble >>> with smooth scrolling text. Is this better suited for Animation >>> Engine (have not tried it) or is there a trick to getting text to >>> flow Right-to-Left smoothly. The best that I can see is the move >>> command but it's still too jerky for displaying in a store. >>> >>> >>> >>> Thank you for any feedback >>> >>> >>> >>> jim schaubeck >>> >>> 714-321-4499 >>> >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode 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 May 18 20:53:00 2011 From: mwieder at ahsoftware.net (Mark Wieder) Date: Wed, 18 May 2011 17:53:00 -0700 Subject: Android Arduino Message-ID: <159930168312.20110518175300@ahsoftware.net> Not OT if the subject line drew you in this far... http://developer.android.com/guide/topics/usb/adk.html -- -Mark Wieder mwieder at ahsoftware.net From josh at dvcreators.net Wed May 18 21:30:07 2011 From: josh at dvcreators.net (Josh Mellicker) Date: Wed, 18 May 2011 18:30:07 -0700 Subject: Want to Try Franklin 3D - 3D Engine for Revolution? In-Reply-To: References: Message-ID: <8323C002-F3C3-43D4-9BDA-A190AD303213@dvcreators.net> Hello all, and Ruslan and Lynn in particular, Is anyone using Franklin 3D with Livecode? How is it working? Has anyone deployed an app to the public using it? Thanks for any info! On Sep 16, 2009, at 5:21 PM, Lynn Fredricks wrote: > Hello all, > > Anyone interested in a solid 3D game engine for Revolution? :-) > > What is Franklin 3D? > ----------------------- > Franklin 3D ports the stable, muscular Irrlicht engine so that its > accessible within Runtime Revolution. You will be able to make OpenGL or > DirectX powered games. > > Where to Learn More > ----------------------- > The website is just coming together, here: http://franklin3d.com/. It will > be more polished over the next few days. > > Where Can I Buy it? > ----------------------- > You can pre-order it from the franklin3d.com online store. Anyone who > pre-orders gets a license right away, plus 12 months of updates (or more, > "founders" we may fudge on and give more update time). All our initial sales > go towards paying developers to polish up and complete the Mac OS X version. > All pre-orders folks get access to the private beta list too. > > I can answer some questions on the list - feel free. > > Best regards, > > Lynn Fredricks > Mirye Software Publishing > http://www.mirye.com > > Mirye Community NING > http://miryesoftware.ning.com > > _______________________________________________ > use-revolution mailing list > use-revolution at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution From mcgrath3 at mac.com Wed May 18 21:59:13 2011 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Wed, 18 May 2011 21:59:13 -0400 Subject: Android Arduino In-Reply-To: <159930168312.20110518175300@ahsoftware.net> References: <159930168312.20110518175300@ahsoftware.net> Message-ID: iOS too: Arduino DDS Sinewave Generator Arduino Sine wave Generator using the direct digital synthesis. They describe how to generate sine waves with an Arduino board in a very accurate way. http://interface.khm.de/index.php/lab/experiments/arduino-dds-sinewave-generator... "Also in telecommunication the DDS Method is useful for instance in frequency of phase modulation (FSK PSK)" Code for arduino-iphone-shield Tantalising code labled with "1200bps fsk transmission" though no hardware notes. http://code.google.com/p/arduino-iphone-shield The Tin Can app Takes advantage of the iPhone's audio ports to send and receive messages using sound. This app points the way to jailbreak-free hardware solutions for the iPhone. http://blog.makezine.com/archive/2009/04/send_notes_from_one_iphone_to_anoth.htm... iPhone Keyboard - no Jailbreaking required, using FSK Used a Cypress PSoC microcontroller to emulate a simple modem, and then expanded it to detect an infrared signal or read from a USB host controller, which converts this signal to FSK for transmission to an iPhone. So this ones not arduino specific. http://www.perceptdev.com/labs/content/iphone-keyboard-no-jailbreaking-required-... Connecting Arduino to iPhone/iPod serial On this forum, there's mention of FSK but no actual examples. http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1207058161 -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On May 18, 2011, at 8:53 PM, Mark Wieder wrote: > Not OT if the subject line drew you in this far... > > http://developer.android.com/guide/topics/usb/adk.html > > -- > -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 mcgrath3 at mac.com Wed May 18 22:15:12 2011 From: mcgrath3 at mac.com (Thomas McGrath III) Date: Wed, 18 May 2011 22:15:12 -0400 Subject: Android Arduino In-Reply-To: References: <159930168312.20110518175300@ahsoftware.net> Message-ID: <491822CB-842A-428D-BC40-F3D289F0E586@mac.com> The Tin Can app http://blog.makezine.com/archive/2009/04/send-notes-from-one-iphone-to-anoth.html Arduino iPhone Shields http://code.google.com/p/dmxulate/wiki/HelpFiles http://arduino.cc/playground/DMX/DMXShield -- Tom McGrath III http://lazyriver.on-rev.com 3mcgrath at comcast.net On May 18, 2011, at 9:59 PM, Thomas McGrath III wrote: > iOS too: > > Arduino DDS Sinewave Generator > Arduino Sine wave Generator using the direct digital synthesis. They describe how to generate sine waves with an Arduino board in a very accurate way. > http://interface.khm.de/index.php/lab/experiments/arduino-dds-sinewave-generator... > "Also in telecommunication the DDS Method is useful for instance in frequency of phase modulation (FSK PSK)" > > Code for arduino-iphone-shield > Tantalising code labled with "1200bps fsk transmission" though no hardware notes. > http://code.google.com/p/arduino-iphone-shield > > The Tin Can app > Takes advantage of the iPhone's audio ports to send and receive messages using sound. This app points the way to jailbreak-free hardware solutions for the iPhone. > http://blog.makezine.com/archive/2009/04/send_notes_from_one_iphone_to_anoth.htm... > > iPhone Keyboard - no Jailbreaking required, using FSK > Used a Cypress PSoC microcontroller to emulate a simple modem, and then expanded it to detect an infrared signal or read from a USB host controller, which converts this signal to FSK for transmission to an iPhone. So this ones not arduino specific. > http://www.perceptdev.com/labs/content/iphone-keyboard-no-jailbreaking-required-... > > Connecting Arduino to iPhone/iPod serial > On this forum, there's mention of FSK but no actual examples. > http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1207058161 > > > -- Tom McGrath III > http://lazyriver.on-rev.com > 3mcgrath at comcast.net > > On May 18, 2011, at 8:53 PM, Mark Wieder wrote: > >> Not OT if the subject line drew you in this far... >> >> http://developer.android.com/guide/topics/usb/adk.html >> >> -- >> -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 jacque at hyperactivesw.com Wed May 18 22:23:33 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 18 May 2011 21:23:33 -0500 Subject: OT: why can't I use "tasklist" in the Windows XP Cmd window? In-Reply-To: <4DD443D9.4090801@pdslabs.net> References: <6C95707B-B7CC-4570-8E78-883A4D3BDDDF@mac.com> <4DD443D9.4090801@pdslabs.net> Message-ID: <4DD47F25.1050409@hyperactivesw.com> On 5/18/11 2:00 PM, Graham Samuel wrote: > Since I can't use 'the OpenProcesses' in LC to see what non-LC > programs are running in Windows, I thought I'd look for the equivalent > command in the cmd.exe command set, hoping in the end to run it via > 'shell' from my LC app. The Microsoft documentation explains a > function called 'tasklist' which looks promising, but my CMD window > keep saying the command is not recognised. Other commands like 'start' > and 'ipconfig' work OK. Can anyone with Windows knowledge explain what > I'm doing wrong? Did you try the "launch" command? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Wed May 18 22:34:44 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Wed, 18 May 2011 21:34:44 -0500 Subject: OT: why can't I use "tasklist" in the Windows XP Cmd window? In-Reply-To: <4DD47F25.1050409@hyperactivesw.com> References: <6C95707B-B7CC-4570-8E78-883A4D3BDDDF@mac.com> <4DD443D9.4090801@pdslabs.net> <4DD47F25.1050409@hyperactivesw.com> Message-ID: <4DD481C4.8070400@hyperactivesw.com> On 5/18/11 9:23 PM, J. Landman Gay wrote: > > On 5/18/11 2:00 PM, Graham Samuel wrote: > >> Since I can't use 'the OpenProcesses' in LC to see what non-LC >> programs are running in Windows, I thought I'd look for the equivalent >> command in the cmd.exe command set, hoping in the end to run it via >> 'shell' from my LC app. The Microsoft documentation explains a >> function called 'tasklist' which looks promising, but my CMD window >> keep saying the command is not recognised. Other commands like 'start' >> and 'ipconfig' work OK. Can anyone with Windows knowledge explain what >> I'm doing wrong? > > Did you try the "launch" command? > Re-reading this, I think I mixed up your message with another one where they wanted to run another app but it kept opening in a second instance. Or was that you? I'm so...confused... -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jimschaubeck at yahoo.com Wed May 18 22:54:45 2011 From: jimschaubeck at yahoo.com (Jim Schaubeck) Date: Wed, 18 May 2011 19:54:45 -0700 (PDT) Subject: Livecode for Digital Signage Message-ID: <586596.63535.qm@web161406.mail.bf1.yahoo.com> Thanks Bill! For the first one, that may be a good alternative. I have not tested it but I do appreciate the idea. I'll try it. It complicates the process of updating the text a bit but I may have to figure out a way to automate that part if i can not get the text scrolling smooth. I've had someone tell me it runs smooth on a power Mac so that test is next Appreciate the tip, Bill! Jim... From jimschaubeck at yahoo.com Wed May 18 22:54:45 2011 From: jimschaubeck at yahoo.com (Jim Schaubeck) Date: Wed, 18 May 2011 19:54:45 -0700 (PDT) Subject: Livecode for Digital Signage Message-ID: <586596.63535.qm@web161406.mail.bf1.yahoo.com> Thanks Bill! For the first one, that may be a good alternative. I have not tested it but I do appreciate the idea. I'll try it. It complicates the process of updating the text a bit but I may have to figure out a way to automate that part if i can not get the text scrolling smooth. I've had someone tell me it runs smooth on a power Mac so that test is next Appreciate the tip, Bill! Jim... From form at nonsanity.com Thu May 19 00:35:09 2011 From: form at nonsanity.com (Nonsanity) Date: Thu, 19 May 2011 00:35:09 -0400 Subject: Livecode for Digital Signage In-Reply-To: <586596.63535.qm@web161406.mail.bf1.yahoo.com> References: <586596.63535.qm@web161406.mail.bf1.yahoo.com> Message-ID: I tested mine on Windows and a Mac, and it is SO much smoother on my Mac. No tearing/shearing, and I tweeked the script a bit more so even at your required speed there's no stuttering. There was a small miscalculation in my script that only showed up with a stutter at high rates of speed. I put the string in the field twice and reset the hscroll to 0 when the second repeat has moved to where the first string started from. But when I duplicated the string I added a space between them, and that added a character to the whole thing that the code wasn't set to handle. Easy fix is to put the space as the last char of the string and duplicate it without adding another space. Then the two strings are each exactly half of the text and the code works great. I started it running in the background while I watched some YouTube videos, and even then it was smooth except for a moment when the video was first loading/caching. If you've got a Mac to test on, give it a try. :) ~ Chris Innanen ~ Nonsanity On Wed, May 18, 2011 at 10:54 PM, Jim Schaubeck wrote: > Thanks Bill! > For the first one, that may be a good alternative. I have not tested it but > I do appreciate the idea. I'll try it. It complicates the process of > updating the text a bit but I may have to figure out a way to automate that > part if i can not get the text scrolling smooth. I've had someone tell me it > runs smooth on a power Mac so that test is next > > Appreciate the tip, Bill! > > Jim... > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From jimlyons at earthlink.net Thu May 19 08:22:59 2011 From: jimlyons at earthlink.net (Jim Lyons) Date: Thu, 19 May 2011 08:22:59 -0400 Subject: On-Rev: translating Markdown text to html? Message-ID: Has anyone developed the capability of translating Markdown text (see http://daringfireball.net/projects/markdown/ ) into HTML in LiveCode? Thanks for any pointers. Jim Lyons From richmondmathewson at gmail.com Thu May 19 09:13:33 2011 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Thu, 19 May 2011 16:13:33 +0300 Subject: [OT] MacDefender Message-ID: <4DD5177D.40204@gmail.com> Dangerous sh*t: http://www.bbc.co.uk/news/technology-13453497 From richmondmathewson at gmail.com Thu May 19 09:29:13 2011 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Thu, 19 May 2011 16:29:13 +0300 Subject: RevMedia? Message-ID: <4DD51B28.9060108@gmail.com> http://www.macupdate.com/app/mac/7149/revolution-media are passwords still obtainable for this? is the Windows version still available? From alessandro at system-ini.it Thu May 19 10:14:04 2011 From: alessandro at system-ini.it (Alessandro Pisoni) Date: Thu, 19 May 2011 16:14:04 +0200 Subject: Europe Vs. America Message-ID: how to format a currency column set as such. ?. 1.200,00 formats European and not American? The data comes from a sqlite db if I insert the values ??in a column in the datagrid the values ??are wrong. is there a way to format a datagrid column format in Europe! Not all the world is American thanks Alex From todd at geistinteractive.com Thu May 19 10:46:39 2011 From: todd at geistinteractive.com (Todd Geist) Date: Thu, 19 May 2011 07:46:39 -0700 Subject: Is there an IRC Message-ID: Hello Is there an IRC channel for Live Code? Thanks Todd Todd Geist ------------------------------ geist interactve 805-419-9382 From m.schonewille at economy-x-talk.com Thu May 19 11:03:01 2011 From: m.schonewille at economy-x-talk.com (Mark Schonewille) Date: Thu, 19 May 2011 17:03:01 +0200 Subject: Is there an IRC In-Reply-To: References: Message-ID: Todd, ChatRev is our "IRC". http://bjoernke.com/chatrev -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce On 19 mei 2011, at 16:46, Todd Geist wrote: > Hello > > Is there an IRC channel for Live Code? > > Thanks > > Todd > > > Todd Geist From stevejones at mac.com Thu May 19 11:07:56 2011 From: stevejones at mac.com (Steve Jones) Date: Thu, 19 May 2011 10:07:56 -0500 Subject: Still learning Message-ID: I"m trying to create my first iOS app for a non-profit group I work with. There are several "screens" that contain large sections of text, such as a HISTORY screen, etc. How do I created a card that allows you to show all the text by scrolling by flicking the entire screen up or down and that "bounces" at the end? Much like "Notes" app when you have text in a note longer that a single screen. Or alternately, how do you create a scrolling field in the default iOS style with the slim grey sliding bar to the side? Everything I seem to try looks like a poor Mac version of scrollbars, etc when I run it in the simulator. Is there a tutorial somewhere on how to handle text fields in iOS? Thanks in advance, from a newbie. Steve From bvg at mac.com Thu May 19 11:16:20 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Thu, 19 May 2011 17:16:20 +0200 Subject: Is there an IRC In-Reply-To: References: Message-ID: <49700CAB-7CCD-4D4A-A567-54DF6FB83889@mac.com> Nope, there's only chatrev. > Is there an IRC channel for Live Code? > Thanks > Todd -- official ChatRev page: http://bjoernke.com/chatrev Chat with other RunRev developers: go stack URL "http://bjoernke.com/chatrev/chatrev1.3b3.rev" From bobs at twft.com Thu May 19 11:21:55 2011 From: bobs at twft.com (Bob Sneidar) Date: Thu, 19 May 2011 08:21:55 -0700 Subject: [OT] MacDefender In-Reply-To: <4DD5177D.40204@gmail.com> References: <4DD5177D.40204@gmail.com> Message-ID: <64C05C64-D58E-4574-9C32-F4AAA342E4A1@twft.com> What is scary is that anyone who owns a mac would believe their computer got infected and click the Cleanup button. What is even scarier is that I had to replace the keyboard of an accounting user recently who didn't think it at all odd to pop out staples above her keyboard. She thought it made a nice little staple trap that she shook out from time to time. I am not kidding you. Society doesn't need a whole helluvalotta engineering, now does it? Bob On May 19, 2011, at 6:13 AM, Richmond Mathewson wrote: > Dangerous sh*t: > > http://www.bbc.co.uk/news/technology-13453497 > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From jimschaubeck at yahoo.com Thu May 19 11:22:00 2011 From: jimschaubeck at yahoo.com (Jim Schaubeck) Date: Thu, 19 May 2011 08:22:00 -0700 Subject: Livecode for Digital Signage In-Reply-To: References: <586596.63535.qm@web161406.mail.bf1.yahoo.com> Message-ID: <00c001cc1638$80254e90$806febb0$@yahoo.com> THANK YOU Chris!!! I do have a Mac (Mac mini a couple years old). But if this works smoothly, I have no problem using a mini as the Dig Sign platform for all of the stores. Chris, that's a very big help. Thank you SIR!! I'll work on it today !!! 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 Nonsanity Sent: Wednesday, May 18, 2011 9:35 PM To: How to use LiveCode Subject: Re: Livecode for Digital Signage I tested mine on Windows and a Mac, and it is SO much smoother on my Mac. No tearing/shearing, and I tweeked the script a bit more so even at your required speed there's no stuttering. There was a small miscalculation in my script that only showed up with a stutter at high rates of speed. I put the string in the field twice and reset the hscroll to 0 when the second repeat has moved to where the first string started from. But when I duplicated the string I added a space between them, and that added a character to the whole thing that the code wasn't set to handle. Easy fix is to put the space as the last char of the string and duplicate it without adding another space. Then the two strings are each exactly half of the text and the code works great. I started it running in the background while I watched some YouTube videos, and even then it was smooth except for a moment when the video was first loading/caching. If you've got a Mac to test on, give it a try. :) ~ Chris Innanen ~ Nonsanity On Wed, May 18, 2011 at 10:54 PM, Jim Schaubeck wrote: > Thanks Bill! > For the first one, that may be a good alternative. I have not tested > it but I do appreciate the idea. I'll try it. It complicates the > process of updating the text a bit but I may have to figure out a way > to automate that part if i can not get the text scrolling smooth. I've > had someone tell me it runs smooth on a power Mac so that test is next > > Appreciate the tip, Bill! > > Jim... > _______________________________________________ > use-livecode mailing list > use-livecode 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 May 19 11:23:03 2011 From: bobs at twft.com (Bob Sneidar) Date: Thu, 19 May 2011 08:23:03 -0700 Subject: Europe Vs. America In-Reply-To: References: Message-ID: <4B1E8ADB-CF6B-428D-8B69-4214BE82099A@twft.com> Heresy! Burn the witch!! Bob On May 19, 2011, at 7:14 AM, Alessandro Pisoni wrote: > Not all the world is American From ray at linkit.com Thu May 19 11:28:54 2011 From: ray at linkit.com (Ray Horsley) Date: Thu, 19 May 2011 11:28:54 -0400 Subject: Livecode Crashes with Image Source Set to a URL Message-ID: <009001cc1639$7789ac80$669d0580$@LinkIt.Com> Greetings, I've created a simple stack of 3 cards with Prev and Next buttons to navigate through them. Each card has a single field with a single character whose imageSource is set to a URL, for example: http://linkit.com/Schools/ETS%20Items/ETS%20Item%20Bank/ETS10Q1/01%20Full%20 Bank/06%20Math%20QTI%20with%20GUIDs%20and%2096dpi%20PNG/Grade%2007Math-51/im ages/mml1616474.png To make sure no other handlers are running unnecessarily I've written the button scripts as: on mouseUp lock messages go next card put the short name of this cd into fld "CardName" end mouseUp Nonetheless, if you repeatedly click either the Prev or Next button rapidly Livecode will crash (quit unexpectedly and without warning). In some cases the stack file itself becomes coruppted and can not be re-opened. (I'd love to share this tiny stack with anybody who's interested. Please let me know.) Any ideas anybody? Thanks, Ray From todd at geistinteractive.com Thu May 19 11:44:52 2011 From: todd at geistinteractive.com (Todd Geist) Date: Thu, 19 May 2011 08:44:52 -0700 Subject: Is there an IRC In-Reply-To: <49700CAB-7CCD-4D4A-A567-54DF6FB83889@mac.com> References: <49700CAB-7CCD-4D4A-A567-54DF6FB83889@mac.com> Message-ID: Thanks everyone. Cool! Just logged in Todd 2011/5/19 Bj?rnke von Gierke > Nope, there's only chatrev. > > > Is there an IRC channel for Live Code? > > Thanks > > Todd > > > -- > > official ChatRev page: > http://bjoernke.com/chatrev > > > Chat with other RunRev developers: > go stack URL "http://bjoernke.com/chatrev/chatrev1.3b3.rev" > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > Todd Geist ------------------------------ geist interactve 805-419-9382 From pete at mollysrevenge.com Thu May 19 11:52:22 2011 From: pete at mollysrevenge.com (Pete) Date: Thu, 19 May 2011 08:52:22 -0700 Subject: Europe Vs. America In-Reply-To: References: Message-ID: Hi Alessandro, What is the format of the data in the sqlite db? Does it already have a currency symbol or is it just a number? The way you display data in a datagrid is under your control. You can either put the data into the datagrid (setDataofLine, setdataofIndex, set the dgtext of) with whatever currency symbol you want, or you can put the data into the column as a number with no currency symbol, create a custom column behavior, and put some code into the FillInData handler to format the number the way you want it. Pete Molly's Revenge On Thu, May 19, 2011 at 7:14 AM, Alessandro Pisoni wrote: > how to format a currency column set as such. ?. 1.200,00 formats European > and not American? The data comes from a sqlite db > > if I insert the values in a column in the datagrid the values are wrong. > > is there a way to format a datagrid column format in Europe! > Not all the world is American > > > > thanks > > Alex > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From zellner at tamu.edu Thu May 19 12:18:04 2011 From: zellner at tamu.edu (Ronald Zellner) Date: Thu, 19 May 2011 11:18:04 -0500 Subject: Generating e-mail Message-ID: Hi All, Does anyone have a good example of using LiveCode to generate e-mail? I have a DB of addresses and related information and want to generate a custom e-mail message for each. I think I can manage it but advice and tips from others' experiences would be great to avoid any problems. Thanks, Ron From form at nonsanity.com Thu May 19 12:30:16 2011 From: form at nonsanity.com (Nonsanity) Date: Thu, 19 May 2011 12:30:16 -0400 Subject: Still learning In-Reply-To: References: Message-ID: I think we'd have to run the stack in question to debug the issue. As described, I see no obvious error on your part. ~ Chris Innanen ~ Nonsanity On Thu, May 19, 2011 at 11:07 AM, Steve Jones wrote: > I"m trying to create my first iOS app for a non-profit group I work with. > > There are several "screens" that contain large sections of text, such as a > HISTORY screen, etc. > > How do I created a card that allows you to show all the text by scrolling > by flicking the entire screen up or down and that "bounces" at the end? > Much like "Notes" app when you have text in a note longer that a single > screen. Or alternately, how do you create a scrolling field in the default > iOS style with the slim grey sliding bar to the side? Everything I seem to > try looks like a poor Mac version of scrollbars, etc when I run it in the > simulator. Is there a tutorial somewhere on how to handle text fields in > iOS? > > Thanks in advance, from a newbie. > > Steve > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 Thu May 19 12:33:41 2011 From: form at nonsanity.com (Nonsanity) Date: Thu, 19 May 2011 12:33:41 -0400 Subject: Still learning In-Reply-To: References: Message-ID: Sorry, wrong thread! :P ~ Chris Innanen ~ Nonsanity On Thu, May 19, 2011 at 12:30 PM, Nonsanity wrote: > I think we'd have to run the stack in question to debug the issue. As > described, I see no obvious error on your part. > > ~ Chris Innanen > ~ Nonsanity > > > > On Thu, May 19, 2011 at 11:07 AM, Steve Jones wrote: > >> I"m trying to create my first iOS app for a non-profit group I work with. >> >> There are several "screens" that contain large sections of text, such as a >> HISTORY screen, etc. >> >> How do I created a card that allows you to show all the text by scrolling >> by flicking the entire screen up or down and that "bounces" at the end? >> Much like "Notes" app when you have text in a note longer that a single >> screen. Or alternately, how do you create a scrolling field in the default >> iOS style with the slim grey sliding bar to the side? Everything I seem to >> try looks like a poor Mac version of scrollbars, etc when I run it in the >> simulator. Is there a tutorial somewhere on how to handle text fields in >> iOS? >> >> Thanks in advance, from a newbie. >> >> Steve >> >> >> _______________________________________________ >> use-livecode mailing list >> use-livecode at 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 Thu May 19 12:34:10 2011 From: form at nonsanity.com (Nonsanity) Date: Thu, 19 May 2011 12:34:10 -0400 Subject: Livecode Crashes with Image Source Set to a URL In-Reply-To: <009001cc1639$7789ac80$669d0580$@LinkIt.Com> References: <009001cc1639$7789ac80$669d0580$@LinkIt.Com> Message-ID: I think we'd have to run the stack in question to debug the issue. As described, I see no obvious error on your part. ~ Chris Innanen ~ Nonsanity P.s. Sorry about the repeat due to posting this to the wrong thread at first... On Thu, May 19, 2011 at 11:28 AM, Ray Horsley wrote: > Greetings, > > > > I've created a simple stack of 3 cards with Prev and Next buttons to > navigate through them. Each card has a single field with a single > character > whose imageSource is set to a URL, for example: > > > > > http://linkit.com/Schools/ETS%20Items/ETS%20Item%20Bank/ETS10Q1/01%20Full%20 > > Bank/06%20Math%20QTI%20with%20GUIDs%20and%2096dpi%20PNG/Grade%2007Math-51/im > ages/mml1616474.png > > > > To make sure no other handlers are running unnecessarily I've written the > button scripts as: > > > > on mouseUp > > lock messages > > go next card > > put the short name of this cd into fld "CardName" > > end mouseUp > > > > Nonetheless, if you repeatedly click either the Prev or Next button rapidly > Livecode will crash (quit unexpectedly and without warning). In some cases > the stack file itself becomes coruppted and can not be re-opened. > > > > (I'd love to share this tiny stack with anybody who's interested. Please > let me know.) > > > > Any ideas anybody? > > > > Thanks, > > > > Ray > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > From klaus at major.on-rev.com Thu May 19 12:38:03 2011 From: klaus at major.on-rev.com (Klaus on-rev) Date: Thu, 19 May 2011 18:38:03 +0200 Subject: Still learning In-Reply-To: References: Message-ID: <12DFC746-B4BB-4621-BD77-12D0086FEE8C@major.on-rev.com> Hi Steve, > I"m trying to create my first iOS app for a non-profit group I work with. > > There are several "screens" that contain large sections of text, such as a HISTORY screen, etc. > > How do I created a card that allows you to show all the text by scrolling by flicking the entire screen up or down and that "bounces" at the end? Much like "Notes" app when you have text in a note longer that a single screen. Or alternately, how do you create a scrolling field in the default iOS style with the slim grey sliding bar to the side? Everything I seem to try looks like a poor Mac version of scrollbars, etc when I run it in the simulator. Is there a tutorial somewhere on how to handle text fields in iOS? > > Thanks in advance, from a newbie. you can use a "Scroller control ? UIScrollView" together with your field. Check the "iOS Release Notes" (Menu: Help) for more info. > Steve Best Klaus -- Klaus Major http://www.major-k.de klaus at major.on-rev.com From stephenREVOLUTION2 at barncard.com Thu May 19 12:47:35 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Thu, 19 May 2011 09:47:35 -0700 Subject: On-Rev: translating Markdown text to html? In-Reply-To: References: Message-ID: I don't think so. But it's just about text manipulation, which Livecode is very good at, and shouldn't be that hard to write. Consider it an exercise, add more features and offer the library to others when you're done! If you're on a Mac, you could probably run the PERL code with 'do script as perl' as this supposedly works for any language installed. Haven't tried to actually do this, but it seems possible. On 19 May 2011 05:22, Jim Lyons wrote: > Has anyone developed the capability of translating Markdown text (see > http://daringfireball.net/projects/markdown/ ) into HTML in LiveCode? > Thanks for any pointers. > > Jim Lyons > _______________________________________________ > use-livecode mailing list > use-livecode 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 form at nonsanity.com Thu May 19 12:54:54 2011 From: form at nonsanity.com (Nonsanity) Date: Thu, 19 May 2011 12:54:54 -0400 Subject: Europe Vs. America In-Reply-To: References: Message-ID: Even printing money in English format (commas separating 1000's, period for decimal) requires a homemade function for formatting. Here's one I threw together for Euro format: function PrintAsEuros x set itemdel to "." put item 2 of x into d[0] put 1 into a put trunc( x ) into x repeat until x is empty put char -3 to -1 of x into d[a] delete char -3 to -1 of x add 1 to a end repeat put "?. " into o repeat with b = a-1 down to 1 put d[b] &"." after o end repeat delete last char of o put "," & char 1 to 2 of (d[0] & "00") after o return o end PrintAsEuros Nothing fancy, but it seems to work for me. ~ Chris Innanen ~ Nonsanity On Thu, May 19, 2011 at 10:14 AM, Alessandro Pisoni < alessandro at system-ini.it> wrote: > how to format a currency column set as such. ?. 1.200,00 formats European > and not American? The data comes from a sqlite db > > if I insert the values in a column in the datagrid the values are wrong. > > is there a way to format a datagrid column format in Europe! > Not all the world is American > > > > thanks > > Alex > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ray at linkit.com Thu May 19 13:10:36 2011 From: ray at linkit.com (Ray Horsley) Date: Thu, 19 May 2011 13:10:36 -0400 Subject: Livecode Crashes with Image Source Set to a URL In-Reply-To: References: <009001cc1639$7789ac80$669d0580$@LinkIt.Com> Message-ID: <00a301cc1647$ac4ba730$04e2f590$@LinkIt.Com> OK. I've never tried including attachments on the list before but here it is. Thanks, Ray -----Original Message----- From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Nonsanity Sent: Thursday, May 19, 2011 12:34 PM To: How to use LiveCode Subject: Re: Livecode Crashes with Image Source Set to a URL I think we'd have to run the stack in question to debug the issue. As described, I see no obvious error on your part. ~ Chris Innanen ~ Nonsanity P.s. Sorry about the repeat due to posting this to the wrong thread at first... On Thu, May 19, 2011 at 11:28 AM, Ray Horsley wrote: > Greetings, > > > > I've created a simple stack of 3 cards with Prev and Next buttons to > navigate through them. Each card has a single field with a single > character whose imageSource is set to a URL, for example: > > > > > http://linkit.com/Schools/ETS%20Items/ETS%20Item%20Bank/ETS10Q1/01%20F > ull%20 > > Bank/06%20Math%20QTI%20with%20GUIDs%20and%2096dpi%20PNG/Grade%2007Math > -51/im > ages/mml1616474.png 0Bank/ETS10Q1/01%20Full%20%0ABank/06%20Math%20QTI%20with%20GUIDs%20and > %2096dpi%20PNG/Grade%2007Math-51/im%0Aages/mml1616474.png> > > > > To make sure no other handlers are running unnecessarily I've written > the button scripts as: > > > > on mouseUp > > lock messages > > go next card > > put the short name of this cd into fld "CardName" > > end mouseUp > > > > Nonetheless, if you repeatedly click either the Prev or Next button > rapidly Livecode will crash (quit unexpectedly and without warning). > In some cases the stack file itself becomes coruppted and can not be re-opened. > > > > (I'd love to share this tiny stack with anybody who's interested. > Please let me know.) > > > > Any ideas anybody? > > > > Thanks, > > > > Ray > > > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From jimlyons at earthlink.net Thu May 19 13:29:30 2011 From: jimlyons at earthlink.net (Jim Lyons) Date: Thu, 19 May 2011 13:29:30 -0400 Subject: On-Rev: translating Markdown text to html? In-Reply-To: References: Message-ID: Thanks Stephen. If I do it I will be happy to share it. I'm doing this at On-Rev. After I hit "send" I thought, why can't I just call the perl script? I will try that in a while, but using shell (right?). Any comments, pointers about this welcome. Jim On May 19, 2011, at 12:47 PM, stephen barncard wrote: > I don't think so. But it's just about text manipulation, which Livecode is > very good at, and shouldn't be that hard to write. Consider it an exercise, > add more features and offer the library to others when you're done! > > If you're on a Mac, you could probably run the PERL code with 'do script as > perl' as this supposedly works for any language installed. Haven't tried to > actually do this, but it seems possible. > > On 19 May 2011 05:22, Jim Lyons wrote: > >> Has anyone developed the capability of translating Markdown text (see >> http://daringfireball.net/projects/markdown/ ) into HTML in LiveCode? >> Thanks for any pointers. >> >> Jim Lyons >> _______________________________________________ >> use-livecode mailing list >> use-livecode 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 ambassador at fourthworld.com Thu May 19 13:31:57 2011 From: ambassador at fourthworld.com (Richard Gaskin) Date: Thu, 19 May 2011 10:31:57 -0700 Subject: Livecode Crashes with Image Source Set to a URL In-Reply-To: <00a301cc1647$ac4ba730$04e2f590$@LinkIt.Com> References: <00a301cc1647$ac4ba730$04e2f590$@LinkIt.Com> Message-ID: <4DD5540D.3040506@fourthworld.com> Ray Horsley wrote: > OK. I've never tried including attachments on the list before but here it > is. Your attachment was stripped from the message before delivery to the subscribers, because this list doesn't allow attachments. You'll have to post it to a server or to RevOnline and post the URL here. -- 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 ray at linkit.com Thu May 19 13:39:51 2011 From: ray at linkit.com (Ray Horsley) Date: Thu, 19 May 2011 13:39:51 -0400 Subject: Livecode Crashes with Image Source Set to a URL In-Reply-To: <4DD5540D.3040506@fourthworld.com> References: <00a301cc1647$ac4ba730$04e2f590$@LinkIt.Com> <4DD5540D.3040506@fourthworld.com> Message-ID: <00b501cc164b$c2a05ef0$47e11cd0$@LinkIt.Com> Thanks Richard. I assumed that was the case. Ray -----Original Message----- From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Richard Gaskin Sent: Thursday, May 19, 2011 1:32 PM To: use-livecode at lists.runrev.com Subject: Re: Livecode Crashes with Image Source Set to a URL Ray Horsley wrote: > OK. I've never tried including attachments on the list before but > here it is. Your attachment was stripped from the message before delivery to the subscribers, because this list doesn't allow attachments. You'll have to post it to a server or to RevOnline and post the URL here. -- 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 form at nonsanity.com Thu May 19 13:44:18 2011 From: form at nonsanity.com (Nonsanity) Date: Thu, 19 May 2011 13:44:18 -0400 Subject: Livecode Crashes with Image Source Set to a URL In-Reply-To: <4DD5540D.3040506@fourthworld.com> References: <00a301cc1647$ac4ba730$04e2f590$@LinkIt.Com> <4DD5540D.3040506@fourthworld.com> Message-ID: DropBox, which is free, is another great way to share stacks. I keep many of my works-in-progress in a DropBox folder, which means sharing one to the list is as easy as right-clicking the file and selecting the public link for it from the DropBox menu. (PC and Mac) If you don't want to install it on your computer, you can just use the web interface. ~ Chris Innanen ~ Nonsanity On Thu, May 19, 2011 at 1:31 PM, Richard Gaskin wrote: > Ray Horsley wrote: > >> OK. I've never tried including attachments on the list before but here it >> is. >> > > Your attachment was stripped from the message before delivery to the > subscribers, because this list doesn't allow attachments. > > You'll have to post it to a server or to RevOnline and post the URL here. > > -- > 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 stephenREVOLUTION2 at barncard.com Thu May 19 14:08:42 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Thu, 19 May 2011 11:08:42 -0700 Subject: [OT] MacDefender In-Reply-To: <4DD5177D.40204@gmail.com> References: <4DD5177D.40204@gmail.com> Message-ID: Touched a nerve. Sorry for the soapbox. Actually most mac users are USED to seeing these cheezy popups which always lie and the ads usually refer to Windows (the links are zip files that fail harmlessly). Most mac users are informed enough about this stuff to ignore it anyway. The fact that there was ANY mac virus would be a red flag and send me to google to find out if anyone had already seen this. Most times, I would find out this was old news and scores of reports about this 'virus'. It still requires the user to 'click on something' - to participate. So Surfer Beware. This looks like something that some clever kids did to 'see if they could'. The giveaways were the odd UI and colored buttons. Anyway, if you've downloaded and installed this thing, then you get what you deserve. Any app I'm going to install or buy will have to be investigated first before I let it touch my hard drive. a. Do they have a website? Is it cheezy or well formed? It take time and money to make a real site for a product. It involves professionals and effort. *Snakes and Alligators* *(thanks to Jim Ault for his term for net criminals)* that do this don't care about the fine details - they're just looking for suckers. b. Do they have a 'shopping cart' and other products? Support? c. are there independent, legitimate reviews of the product? Virus protection is just not needed at all on most macs if one just practices safe computing habits and use a firewall. I usually have 3-4 machines running all the time here - no viruses since 1999. I find it absurd that Windows users still have to put up with that annoying McCaffee crap on install.(and how the hell do you remove it forever?) I don't like going through the hassle and time of another Windows install, then being greeted by another app that's asking for protection money. Virus protection should be the job of the Operating system, not some outside outfit. How do I know that 'outside outfit' isn't making the viruses themselves? Isn't that how organized crime works in the neighborhood? Who decided McCaffee was going to be 'the one' ? On 19 May 2011 06:13, Richmond Mathewson wrote: > Dangerous sh*t: > > http://www.bbc.co.uk/news/technology-13453497 > > -- Stephen Barncard San Francisco Ca. USA more about sqb From roger.e.eller at sealedair.com Thu May 19 14:24:29 2011 From: roger.e.eller at sealedair.com (Roger Eller) Date: Thu, 19 May 2011 14:24:29 -0400 Subject: [OT] MacDefender In-Reply-To: References: <4DD5177D.40204@gmail.com> Message-ID: On Thu, May 19, 2011 at 2:08 PM, stephen barncard wrote: > Touched a nerve. Sorry for the soapbox. > > Actually most mac users are USED to seeing these cheezy popups which always > lie and the ads usually refer to Windows (the links are zip files that fail > harmlessly). > > Most mac users are informed enough about this stuff to ignore it anyway. > > Anyway, if you've downloaded and installed this thing, then you get what > you deserve. I don't believe that anyone DESERVES to get a virus. There are newbies (noobs) even to the intuitive Mac OS. There are innocent little grandmothers that got a Mac mini for Mothers Day. Do they deserve to get a virus because they didn't know not to install it? Hmmm... I must have gotten my nerve touched too. ~Roger From ray at linkit.com Thu May 19 14:31:10 2011 From: ray at linkit.com (Ray Horsley) Date: Thu, 19 May 2011 14:31:10 -0400 Subject: Livecode Crashes with Image Source Set to a URL In-Reply-To: References: <00a301cc1647$ac4ba730$04e2f590$@LinkIt.Com> <4DD5540D.3040506@fourthworld.com> Message-ID: <00c701cc1652$edc48370$c94d8a50$@LinkIt.Com> Chris, Cool download - Dropbox. I believe I've set it up right. Do you see my stack? Thanks, Ray -----Original Message----- From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Nonsanity Sent: Thursday, May 19, 2011 1:44 PM To: How to use LiveCode Subject: Re: Livecode Crashes with Image Source Set to a URL DropBox, which is free, is another great way to share stacks. I keep many of my works-in-progress in a DropBox folder, which means sharing one to the list is as easy as right-clicking the file and selecting the public link for it from the DropBox menu. (PC and Mac) If you don't want to install it on your computer, you can just use the web interface. ~ Chris Innanen ~ Nonsanity On Thu, May 19, 2011 at 1:31 PM, Richard Gaskin wrote: > Ray Horsley wrote: > >> OK. I've never tried including attachments on the list before but >> here it is. >> > > Your attachment was stripped from the message before delivery to the > subscribers, because this list doesn't allow attachments. > > You'll have to post it to a server or to RevOnline and post the URL here. > > -- > 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 jacque at hyperactivesw.com Thu May 19 14:38:08 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 19 May 2011 13:38:08 -0500 Subject: [OT] MacDefender In-Reply-To: References: <4DD5177D.40204@gmail.com> Message-ID: <4DD56390.3030202@hyperactivesw.com> On 5/19/11 1:08 PM, stephen barncard wrote: > Anyway, if you've > downloaded and installed this thing, then you get what you deserve. Any app > I'm going to install or buy will have to be investigated first before I let > it touch my hard drive. I want to agree in general, but we're not completely representative of the Mac user base. My mother would have panicked and installed it. She only knows how to use her Mac to get email, and still doesn't understand what Finder does. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From bobs at twft.com Thu May 19 14:39:10 2011 From: bobs at twft.com (Bob Sneidar) Date: Thu, 19 May 2011 11:39:10 -0700 Subject: [OT] MacDefender In-Reply-To: References: <4DD5177D.40204@gmail.com> Message-ID: While I agree mostly with Stephen, I think "deserve" is probably the wrong word. "Inevitable" comes to mind, as in it's inevitable that a person who in this day and age does not know to NOT click anything in a webpage that says he is infected, will get some kind of malware at some point in time. I have recited the schpeel so may time I cannot count them, about not clicking the link in the email that says your bank account is compromised, or click the button in a web page that says "Clean", and STILL there are people here at work that when confronted with such traps, just H A V E T O C L I C K IT! We sadly have become quite ignorant of the technology that both enables us and endangers us. We thought that technology would make things "easier" in the end, but I have been saying all my life, that we only can trade one kind of pain for another. We cannot rid ourselves of pain altogether. The real question to always ask, is the pain I am giving up more manageable then the pain I am taking on? Bob On May 19, 2011, at 11:24 AM, Roger Eller wrote: > On Thu, May 19, 2011 at 2:08 PM, stephen barncard > wrote: >> Touched a nerve. Sorry for the soapbox. >> >> Actually most mac users are USED to seeing these cheezy popups which always >> lie and the ads usually refer to Windows (the links are zip files that fail >> harmlessly). >> >> Most mac users are informed enough about this stuff to ignore it anyway. >> >> Anyway, if you've downloaded and installed this thing, then you get what >> you deserve. > > I don't believe that anyone DESERVES to get a virus. There are > newbies (noobs) even to the intuitive Mac OS. There are innocent > little grandmothers that got a Mac mini for Mothers Day. Do they > deserve to get a virus because they didn't know not to install it? > Hmmm... I must have gotten my nerve touched too. > > ~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 stephenREVOLUTION2 at barncard.com Thu May 19 14:39:39 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Thu, 19 May 2011 11:39:39 -0700 Subject: [OT] MacDefender In-Reply-To: References: <4DD5177D.40204@gmail.com> Message-ID: I meant when one works hard at ignoring the warnings, one gets what one deserves. There are many situations where one can't be protected from one's own errors. On 19 May 2011 11:24, Roger Eller wrote: > On Thu, May 19, 2011 at 2:08 PM, stephen barncard > wrote: > > Touched a nerve. Sorry for the soapbox. > > > > Actually most mac users are USED to seeing these cheezy popups which > always > > lie and the ads usually refer to Windows (the links are zip files that > fail > > harmlessly). > > > > Most mac users are informed enough about this stuff to ignore it anyway. > > > > Anyway, if you've downloaded and installed this thing, then you get what > > you deserve. > > I don't believe that anyone DESERVES to get a virus. There are > newbies (noobs) even to the intuitive Mac OS. There are innocent > little grandmothers that got a Mac mini for Mothers Day. Do they > deserve to get a virus because they didn't know not to install it? > Hmmm... I must have gotten my nerve touched too. > > ~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 May 19 14:39:48 2011 From: bobs at twft.com (Bob Sneidar) Date: Thu, 19 May 2011 11:39:48 -0700 Subject: Livecode Crashes with Image Source Set to a URL In-Reply-To: <00c701cc1652$edc48370$c94d8a50$@LinkIt.Com> References: <00a301cc1647$ac4ba730$04e2f590$@LinkIt.Com> <4DD5540D.3040506@fourthworld.com> <00c701cc1652$edc48370$c94d8a50$@LinkIt.Com> Message-ID: He would need the link to it right? Bob On May 19, 2011, at 11:31 AM, Ray Horsley wrote: > Chris, > > Cool download - Dropbox. I believe I've set it up right. Do you see my > stack? > > Thanks, > > Ray > > > -----Original Message----- > From: use-livecode-bounces at lists.runrev.com > [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Nonsanity > Sent: Thursday, May 19, 2011 1:44 PM > To: How to use LiveCode > Subject: Re: Livecode Crashes with Image Source Set to a URL > > DropBox, which is free, is another great way to share stacks. I keep many of > my works-in-progress in a DropBox folder, which means sharing one to the > list is as easy as right-clicking the file and selecting the public link for > it from the DropBox menu. (PC and Mac) > > If you don't want to install it on your computer, you can just use the web > interface. > > ~ Chris Innanen > ~ Nonsanity > > > On Thu, May 19, 2011 at 1:31 PM, Richard Gaskin > wrote: > >> Ray Horsley wrote: >> >>> OK. I've never tried including attachments on the list before but >>> here it is. >>> >> >> Your attachment was stripped from the message before delivery to the >> subscribers, because this list doesn't allow attachments. >> >> You'll have to post it to a server or to RevOnline and post the URL here. >> >> -- >> 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 May 19 14:44:54 2011 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Thu, 19 May 2011 21:44:54 +0300 Subject: Europe Vs. America In-Reply-To: <4B1E8ADB-CF6B-428D-8B69-4214BE82099A@twft.com> References: <4B1E8ADB-CF6B-428D-8B69-4214BE82099A@twft.com> Message-ID: <4DD56526.2040008@gmail.com> On 05/19/2011 06:23 PM, Bob Sneidar wrote: > Heresy! Burn the witch!! Which one? The American one or the "other" one. > Bob > > > On May 19, 2011, at 7:14 AM, Alessandro Pisoni wrote: > >> Not all the world is American > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From ray at linkit.com Thu May 19 14:45:00 2011 From: ray at linkit.com (Ray Horsley) Date: Thu, 19 May 2011 14:45:00 -0400 Subject: Livecode Crashes with Image Source Set to a URL In-Reply-To: References: <00a301cc1647$ac4ba730$04e2f590$@LinkIt.Com> <4DD5540D.3040506@fourthworld.com> <00c701cc1652$edc48370$c94d8a50$@LinkIt.Com> Message-ID: <00cb01cc1654$dc774650$9565d2f0$@LinkIt.Com> Wouldn't that be my email (Ray at LinkIt.Com)? (stepping out for a few hours.) Thanks, Ray -----Original Message----- From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Bob Sneidar Sent: Thursday, May 19, 2011 2:40 PM To: How to use LiveCode Subject: Re: Livecode Crashes with Image Source Set to a URL He would need the link to it right? Bob On May 19, 2011, at 11:31 AM, Ray Horsley wrote: > Chris, > > Cool download - Dropbox. I believe I've set it up right. Do you see > my stack? > > Thanks, > > Ray > > > -----Original Message----- > From: use-livecode-bounces at lists.runrev.com > [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Nonsanity > Sent: Thursday, May 19, 2011 1:44 PM > To: How to use LiveCode > Subject: Re: Livecode Crashes with Image Source Set to a URL > > DropBox, which is free, is another great way to share stacks. I keep > many of my works-in-progress in a DropBox folder, which means sharing > one to the list is as easy as right-clicking the file and selecting > the public link for it from the DropBox menu. (PC and Mac) > > If you don't want to install it on your computer, you can just use the > web interface. > > ~ Chris Innanen > ~ Nonsanity > > > On Thu, May 19, 2011 at 1:31 PM, Richard Gaskin > wrote: > >> Ray Horsley wrote: >> >>> OK. I've never tried including attachments on the list before but >>> here it is. >>> >> >> Your attachment was stripped from the message before delivery to the >> subscribers, because this list doesn't allow attachments. >> >> You'll have to post it to a server or to RevOnline and post the URL here. >> >> -- >> 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 FlexibleLearning.com Thu May 19 14:48:08 2011 From: admin at FlexibleLearning.com (FlexibleLearning) Date: Thu, 19 May 2011 19:48:08 +0100 Subject: Livecode Crashes with Image Source Set to a URL In-Reply-To: Message-ID: Hi Ray, Just a suggestion... on mouseUp lock messages go next card put the short name of this cd into fld "CardName" --| Add this line... get flushEvents("all") --| And this for completeness... unlock messages end mouseUp Does it solve your problem? You are also not unlocking messages, which (techincally) is a "good thing to do" unless there is a good reason not to do so. Hugh Senior FLCo Ray Horsley wrote: I've created a simple stack of 3 cards with Prev and Next buttons to navigate through them. Each card has a single field with a single character whose imageSource is set to a URL, for example: http://linkit.com/Schools/ETS%20Items/ETS%20Item%20Bank/ETS10Q1/01%20Full%20 Bank/06%20Math%20QTI%20with%20GUIDs%20and%2096dpi%20PNG/Grade%2007Math-51/im ages/mml1616474.png To make sure no other handlers are running unnecessarily I've written the button scripts as: on mouseUp lock messages go next card put the short name of this cd into fld "CardName" end mouseUp Nonetheless, if you repeatedly click either the Prev or Next button rapidly Livecode will crash (quit unexpectedly and without warning). In some cases the stack file itself becomes coruppted and can not be re-opened. (I'd love to share this tiny stack with anybody who's interested. Please let me know.) Any ideas anybody? Thanks, Ray From stephenREVOLUTION2 at barncard.com Thu May 19 14:47:06 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Thu, 19 May 2011 11:47:06 -0700 Subject: [OT] MacDefender In-Reply-To: <4DD56390.3030202@hyperactivesw.com> References: <4DD5177D.40204@gmail.com> <4DD56390.3030202@hyperactivesw.com> Message-ID: I turned off all automatic updates on her machine then I told my mother to NEVER install anything, to always call me first and that I would help her take care of it using screen sharing. She did, and she was very alert for anomalies after that. Screen sharing is a great thing for helping aging parents. She was pretty good online until the last year. On 19 May 2011 11:38, J. Landman Gay wrote: > On 5/19/11 1:08 PM, stephen barncard wrote: > >> Anyway, if you've >> downloaded and installed this thing, then you get what you deserve. Any >> app >> I'm going to install or buy will have to be investigated first before I >> let >> it touch my hard drive. >> > > I want to agree in general, but we're not completely representative of the > Mac user base. My mother would have panicked and installed it. She only > knows how to use her Mac to get email, and still doesn't understand what > Finder does. > > -- > Jacqueline Landman Gay | jacque at hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > Stephen Barncard San Francisco Ca. USA more about sqb From richmondmathewson at gmail.com Thu May 19 14:50:12 2011 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Thu, 19 May 2011 21:50:12 +0300 Subject: [OT] MacDefender In-Reply-To: References: <4DD5177D.40204@gmail.com> <4DD56390.3030202@hyperactivesw.com> Message-ID: <4DD56664.2000506@gmail.com> On 05/19/2011 09:47 PM, stephen barncard wrote: > I turned off all automatic updates on her machine then I told my mother to > NEVER install anything, to always call me first and that I would help her > take care of it using screen sharing. My father (78-9) touched the 'update' thing on Ubuntu and fairly effectively hosed his laptop; now into week 4 of a trans-Europe (England-Bulgaria) e-mail attempt to "unhose" things . . . > She did, and she was very alert for anomalies after that. Screen sharing is > a great thing for helping aging parents. She was pretty good online until > the last year. > > On 19 May 2011 11:38, J. Landman Gay wrote: > >> On 5/19/11 1:08 PM, stephen barncard wrote: >> >>> Anyway, if you've >>> downloaded and installed this thing, then you get what you deserve. Any >>> app >>> I'm going to install or buy will have to be investigated first before I >>> let >>> it touch my hard drive. >>> >> I want to agree in general, but we're not completely representative of the >> Mac user base. My mother would have panicked and installed it. She only >> knows how to use her Mac to get email, and still doesn't understand what >> Finder does. >> >> -- >> Jacqueline Landman Gay | jacque at hyperactivesw.com >> HyperActive Software | http://www.hyperactivesw.com >> >> 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 scott at tactilemedia.com Thu May 19 14:51:33 2011 From: scott at tactilemedia.com (Scott Rossi) Date: Thu, 19 May 2011 11:51:33 -0700 Subject: [OT] MacDefender In-Reply-To: Message-ID: Recently, Roger Eller wrote: >> Anyway, if you've downloaded and installed this thing, then you get what >> you deserve. > > I don't believe that anyone DESERVES to get a virus. There are > newbies (noobs) even to the intuitive Mac OS. There are innocent > little grandmothers that got a Mac mini for Mothers Day. Do they > deserve to get a virus because they didn't know not to install it? > Hmmm... I must have gotten my nerve touched too. Excellent point. This also applies to the comment about having the OS handle virus protection. While in theory this might be a good idea, the fact of the matter is that virus/spam dialogs are designed to LOOK like they are generated by the system and are very convincing in appearance. If you've ever helped folks try to rid their Windows systems of malware, you would see the behavior/appearance of the windows is impressively deceptive. Saying users should just "know" which messages are scams and which are authentic is just unrealistic. My mom has a Mac system and because of my warnings and skepticism, she is leery of even running system updates -- "Is this update message real or fake?" It takes time and experience for folks to be able to distinguish real from scam, and for many users, it's not going to happen any time soon. Regards, Scott Rossi Creative Director Tactile Media, UX Design From jacque at hyperactivesw.com Thu May 19 15:12:09 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 19 May 2011 14:12:09 -0500 Subject: Generating e-mail In-Reply-To: References: Message-ID: <4DD56B89.9080300@hyperactivesw.com> On 5/19/11 11:18 AM, Ronald Zellner wrote: > Hi All, > > Does anyone have a good example of using LiveCode to generate > e-mail? I have a DB of addresses and related information and want to > generate a custom e-mail message for each. I think I can manage it > but advice and tips from others' experiences would be great to avoid > any problems. Have you looked at the revMail command? -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From davidocoker at gmail.com Thu May 19 15:25:00 2011 From: davidocoker at gmail.com (David C.) Date: Thu, 19 May 2011 14:25:00 -0500 Subject: [OT] MacDefender In-Reply-To: References: Message-ID: Touched a different nerve. Sorry for another soapbox.... "What is scary is that anyone who owns a mac would believe their computer got infected ...." "Most mac users are informed enough about this stuff to ignore it anyway...." "Virus protection is just not needed at all on most macs if one just practices safe computing habits and use a firewall...." I often wonder whether people stay up at night, thinking of different ways to sound pompous, arrogant, demeaning and/or condescending in what comes out of their mouths and/or keyboard. Is that something that requires hard work or does it just come naturally? You guys are amazing. Best regards, David C. From toncardona at mac.com Thu May 19 15:30:29 2011 From: toncardona at mac.com (=?iso-8859-1?Q?Melit=F3n_Cardona_Torres?=) Date: Thu, 19 May 2011 21:30:29 +0200 Subject: Number of cards in a stack Message-ID: <83B6F96A-D671-46C8-9586-216344235F87@mac.com> What is the number of cards a stack can safely contain? A thousand? Five hundred? Thanks in advance. Ton From form at nonsanity.com Thu May 19 15:31:00 2011 From: form at nonsanity.com (Nonsanity) Date: Thu, 19 May 2011 15:31:00 -0400 Subject: Livecode Crashes with Image Source Set to a URL In-Reply-To: <00cb01cc1654$dc774650$9565d2f0$@LinkIt.Com> References: <00a301cc1647$ac4ba730$04e2f590$@LinkIt.Com> <4DD5540D.3040506@fourthworld.com> <00c701cc1652$edc48370$c94d8a50$@LinkIt.Com> <00cb01cc1654$dc774650$9565d2f0$@LinkIt.Com> Message-ID: https://www.dropbox.com/help/167 ~ Chris Innanen ~ Nonsanity On Thu, May 19, 2011 at 2:45 PM, Ray Horsley wrote: > Wouldn't that be my email (Ray at LinkIt.Com)? > > (stepping out for a few hours.) > > Thanks, > > Ray > > > -----Original Message----- > From: use-livecode-bounces at lists.runrev.com > [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Bob Sneidar > Sent: Thursday, May 19, 2011 2:40 PM > To: How to use LiveCode > Subject: Re: Livecode Crashes with Image Source Set to a URL > > He would need the link to it right? > > Bob > > > On May 19, 2011, at 11:31 AM, Ray Horsley wrote: > > > Chris, > > > > Cool download - Dropbox. I believe I've set it up right. Do you see > > my stack? > > > > Thanks, > > > > Ray > > > > > > -----Original Message----- > > From: use-livecode-bounces at lists.runrev.com > > [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Nonsanity > > Sent: Thursday, May 19, 2011 1:44 PM > > To: How to use LiveCode > > Subject: Re: Livecode Crashes with Image Source Set to a URL > > > > DropBox, which is free, is another great way to share stacks. I keep > > many of my works-in-progress in a DropBox folder, which means sharing > > one to the list is as easy as right-clicking the file and selecting > > the public link for it from the DropBox menu. (PC and Mac) > > > > If you don't want to install it on your computer, you can just use the > > web interface. > > > > ~ Chris Innanen > > ~ Nonsanity > > > > > > On Thu, May 19, 2011 at 1:31 PM, Richard Gaskin > > wrote: > > > >> Ray Horsley wrote: > >> > >>> OK. I've never tried including attachments on the list before but > >>> here it is. > >>> > >> > >> Your attachment was stripped from the message before delivery to the > >> subscribers, because this list doesn't allow attachments. > >> > >> You'll have to post it to a server or to RevOnline and post the URL > here. > >> > >> -- > >> 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 > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode 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 bvg at mac.com Thu May 19 15:33:32 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Thu, 19 May 2011 21:33:32 +0200 Subject: [OT] MacDefender In-Reply-To: References: Message-ID: I think it's the 23th allele on the Y chromosome at work. Or similar. On 19 May 2011, at 21:25, David C. wrote: > Touched a different nerve. Sorry for another soapbox.... > > "What is scary is that anyone who owns a mac would believe their > computer got infected ...." > > "Most mac users are informed enough about this stuff to ignore it > anyway...." > > "Virus protection is just not needed at all on most macs if one just > practices safe computing habits and use a firewall...." > > I often wonder whether people stay up at night, thinking of different > ways to sound pompous, arrogant, demeaning and/or condescending in > what comes out of their mouths and/or keyboard. Is that something that > requires hard work or does it just come naturally? > > You guys are amazing. > > Best regards, > David C. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From stevejones at mac.com Thu May 19 15:38:03 2011 From: stevejones at mac.com (Steve Jones) Date: Thu, 19 May 2011 14:38:03 -0500 Subject: iPhone font question Message-ID: <8C57F687-FEEC-41D8-9E3C-4F2D08DA03A5@mac.com> First a BIG thanks to Joh Dixon for an assist on my scrolling field question earlier today. All is well there and working good! I am noticing that when I set the font in a field to TIMES and then run it in the simulator, it is switched to HELVETICA. I've looked around online and found a list of fonts on daringfireball.net that the iPhone is said to support - and TIMES is one of them. Any idea why my TIMES is remapping to HELVETICA? Thanks! Steve From richmondmathewson at gmail.com Thu May 19 15:51:07 2011 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Thu, 19 May 2011 22:51:07 +0300 Subject: [OT] MacDefender In-Reply-To: References: Message-ID: <4DD574AB.5020007@gmail.com> On 05/19/2011 10:25 PM, David C. wrote: > Touched a different nerve. Sorry for another soapbox.... > > "What is scary is that anyone who owns a mac would believe their > computer got infected ...." > > "Most mac users are informed enough about this stuff to ignore it > anyway...." > > "Virus protection is just not needed at all on most macs if one just > practices safe computing habits and use a firewall...." > > I often wonder whether people stay up at night, thinking of different > ways to sound pompous, arrogant, demeaning and/or condescending in > what comes out of their mouths and/or keyboard. Is that something that > requires hard work or does it just come naturally? > > You guys are amazing. Speaking as someone who has been programming computers of all sorts for 35 years, I can say that I (thinking I "knew all") have managed to infect and/or hose more computer systems than I care to remember. Pride comes before a fall. > Best regards, > David C. > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 May 19 15:51:46 2011 From: richmondmathewson at gmail.com (Richmond Mathewson) Date: Thu, 19 May 2011 22:51:46 +0300 Subject: [OT] MacDefender In-Reply-To: References: Message-ID: <4DD574D2.9090507@gmail.com> On 05/19/2011 10:33 PM, Bj?rnke von Gierke wrote: > I think it's the 23th allele on the Y chromosome at work. Or similar. > Hairy-chested computers???? From bvg at mac.com Thu May 19 15:53:56 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Thu, 19 May 2011 21:53:56 +0200 Subject: [Ann]Live LiveCode code event #24 In-Reply-To: <093DEF5E-6C0F-4924-A262-F6DBE748ED45@mac.com> 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> Message-ID: <3FB852C9-5675-4A19-9506-543733BB2547@mac.com> Saturday. Time to sit down, and laugh about app in a day. Bring a picture of yourself to be included in the most quickest created (native looking) iOS app that was ever made with LiveCode. Win the prize when John shows his nifty iOS app creation tool (not related to the tool shown last time by Andreas). Don't trust any apps created above of 30 minutes. Be there or be square. http://livecode.tv/john After all that excitement, you might want to relax a bit when Jim uses images, windowshapes, stack objects and properties to enhance a user's viewing of tabular data in his presentation: "Creative use of substacks in data display, data entry and data storage ( Part 1 )" http://livecode.tv/jim To watch these presentations, please join chatrev (you can find it at http://bjoernke.com/chatrev/ ) before the appropriate time this Saturday: Barcelona 20:00 Edinburgh 19:00 Boston 14:00 Los Angeles 11:00 Hong Kong 02:00 (Sun) This information and months of backlog at: http://livecode.tv/ may you live in interesting times Bj?rnke -- official ChatRev page: http://bjoernke.com/chatrev Chat with other RunRev developers: go stack URL "http://bjoernke.com/chatrev/chatrev1.3b3.rev" From stephenREVOLUTION2 at barncard.com Thu May 19 16:27:12 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Thu, 19 May 2011 13:27:12 -0700 Subject: [OT] MacDefender In-Reply-To: References: Message-ID: > > Is that something that requires hard work or does it just come naturally? It requires hard work, my friend. This is about tough love. I was an involuntary mac computer tech support person for 13 years. My attitude after that experience was that people should just eventually learn how to cook or get out of the kitchen. Pleading ignorance in this day and age is no excuse for doing stupid stuff over and over. Look it up! "it" is all over the net, whatever "it" is.. "pompous, arrogant, demeaning and/or condescending" is in the ear of the beholder. If you feel you've been personally offended and demeaned then I apologize. On 19 May 2011 12:25, David C. wrote: > > > I often wonder whether people stay up at night, thinking of different > ways to sound pompous, arrogant, demeaning and/or condescending in > what comes out of their mouths and/or keyboard. Is that something that > requires hard work or does it just come naturally? > > -- Stephen Barncard San Francisco Ca. USA more about sqb From bobs at twft.com Thu May 19 16:34:34 2011 From: bobs at twft.com (Bob Sneidar) Date: Thu, 19 May 2011 13:34:34 -0700 Subject: [OT] MacDefender In-Reply-To: References: Message-ID: <96A128FE-A16F-46BC-B383-6F4F52B4C148@twft.com> Thanks for the personal example on the subject. Bob On May 19, 2011, at 12:25 PM, David C. wrote: > Touched a different nerve. Sorry for another soapbox.... > > "What is scary is that anyone who owns a mac would believe their > computer got infected ...." > > "Most mac users are informed enough about this stuff to ignore it > anyway...." > > "Virus protection is just not needed at all on most macs if one just > practices safe computing habits and use a firewall...." > > I often wonder whether people stay up at night, thinking of different > ways to sound pompous, arrogant, demeaning and/or condescending in > what comes out of their mouths and/or keyboard. Is that something that > requires hard work or does it just come naturally? > > You guys are amazing. > > Best regards, > David C. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From kee at kagi.com Thu May 19 16:37:53 2011 From: kee at kagi.com (Kee Nethery) Date: Thu, 19 May 2011 13:37:53 -0700 Subject: Generating e-mail In-Reply-To: <4DD56B89.9080300@hyperactivesw.com> References: <4DD56B89.9080300@hyperactivesw.com> Message-ID: <0B87A8E0-2711-4C31-841D-326750488916@kagi.com> On May 19, 2011, at 12:12 PM, J. Landman Gay wrote: > On 5/19/11 11:18 AM, Ronald Zellner wrote: >> Hi All, >> >> Does anyone have a good example of using LiveCode to generate >> e-mail? I have a DB of addresses and related information and want to >> generate a custom e-mail message for each. I think I can manage it >> but advice and tips from others' experiences would be great to avoid >> any problems. > > Have you looked at the revMail command? " the message is not sent automatically: the user must explicitly send it (for example, by clicking a "Mail" button in the email program)." He'd have to click send for each and every email. Kee Nethery From jimschaubeck at yahoo.com Thu May 19 16:51:36 2011 From: jimschaubeck at yahoo.com (Jim Schaubeck) Date: Thu, 19 May 2011 13:51:36 -0700 Subject: Livecode for Digital Signage In-Reply-To: References: <586596.63535.qm@web161406.mail.bf1.yahoo.com> Message-ID: <004401cc1666$8b52b3b0$a1f81b10$@yahoo.com> Hey Chris, I just verified that the stock ticker tape app is very smooth on my 2 year old Mac Mini. Good enough for prime time !!! Initial tests look great and that also takes care of the hardware deployment question. Thanks for looking into this !!! Problem solved: Use a Mac 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 Nonsanity Sent: Wednesday, May 18, 2011 9:35 PM To: How to use LiveCode Subject: Re: Livecode for Digital Signage I tested mine on Windows and a Mac, and it is SO much smoother on my Mac. No tearing/shearing, and I tweeked the script a bit more so even at your required speed there's no stuttering. There was a small miscalculation in my script that only showed up with a stutter at high rates of speed. I put the string in the field twice and reset the hscroll to 0 when the second repeat has moved to where the first string started from. But when I duplicated the string I added a space between them, and that added a character to the whole thing that the code wasn't set to handle. Easy fix is to put the space as the last char of the string and duplicate it without adding another space. Then the two strings are each exactly half of the text and the code works great. I started it running in the background while I watched some YouTube videos, and even then it was smooth except for a moment when the video was first loading/caching. If you've got a Mac to test on, give it a try. :) ~ Chris Innanen ~ Nonsanity On Wed, May 18, 2011 at 10:54 PM, Jim Schaubeck wrote: > Thanks Bill! > For the first one, that may be a good alternative. I have not tested > it but I do appreciate the idea. I'll try it. It complicates the > process of updating the text a bit but I may have to figure out a way > to automate that part if i can not get the text scrolling smooth. I've > had someone tell me it runs smooth on a power Mac so that test is next > > Appreciate the tip, Bill! > > Jim... > _______________________________________________ > use-livecode mailing list > use-livecode 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 Thu May 19 17:00:11 2011 From: dixonja at hotmail.co.uk (John Dixon) Date: Thu, 19 May 2011 22:00:11 +0100 Subject: Number of cards in a stack In-Reply-To: <83B6F96A-D671-46C8-9586-216344235F87@mac.com> References: <83B6F96A-D671-46C8-9586-216344235F87@mac.com> Message-ID: Read page 48 of the 'User Guide'... Section 2.2.9 LiveCode Memory Limits > What is the number of cards a stack can safely contain? A thousand? Five hundred? > > Thanks in advance. > > Ton From form at nonsanity.com Thu May 19 17:03:36 2011 From: form at nonsanity.com (Nonsanity) Date: Thu, 19 May 2011 17:03:36 -0400 Subject: Livecode for Digital Signage In-Reply-To: <004401cc1666$8b52b3b0$a1f81b10$@yahoo.com> References: <586596.63535.qm@web161406.mail.bf1.yahoo.com> <004401cc1666$8b52b3b0$a1f81b10$@yahoo.com> Message-ID: On Thu, May 19, 2011 at 4:51 PM, Jim Schaubeck wrote: > > Problem solved: Use a Mac > > I've been saying that for years... ;D ~ Chris Innanen ~ Nonsanity From bobs at twft.com Thu May 19 17:18:54 2011 From: bobs at twft.com (Bob Sneidar) Date: Thu, 19 May 2011 14:18:54 -0700 Subject: Livecode for Digital Signage In-Reply-To: <004401cc1666$8b52b3b0$a1f81b10$@yahoo.com> References: <586596.63535.qm@web161406.mail.bf1.yahoo.com> <004401cc1666$8b52b3b0$a1f81b10$@yahoo.com> Message-ID: I could be wrong, but I am willing to bet that the real issue is the graphics card in the Windows machine. Some cheaper cards use the computer memory for it's video RAM. I wonder if you had a comparable Windows machine how it would fare? And note that I am an Apple aficionado through and through, but also an IT guy and this doesn't sound like a Mac vs Windows thing. That being said, OSX does a very good job at managing the processor tasks so that processes that really need the time get it. Bob On May 19, 2011, at 1:51 PM, Jim Schaubeck wrote: > Hey Chris, I just verified that the stock ticker tape app is very smooth on > my 2 year old Mac Mini. Good enough for prime time !!! Initial tests look > great and that also takes care of the hardware deployment question. > > Thanks for looking into this !!! > > Problem solved: Use a Mac > > jim schaubeck > 714-321-4499 From davidocoker at gmail.com Thu May 19 17:33:01 2011 From: davidocoker at gmail.com (David C.) Date: Thu, 19 May 2011 16:33:01 -0500 Subject: [OT] MacDefender In-Reply-To: <96A128FE-A16F-46BC-B383-6F4F52B4C148@twft.com> References: <96A128FE-A16F-46BC-B383-6F4F52B4C148@twft.com> Message-ID: > Thanks for the personal example on the subject. > > Bob Hey, no problemo, Bob... I knew you would appreciate it. ;) Listen guys... I understand the position that each of you have taken and am not 100% opposed to your theory about relative safety in regards to OS. We *all* live in an age of risk business. ...and I am by no means defending the Windows position. If there is any tech related company that I dislike as much (or perhaps more) than Apple, it is definitely Microsoft. What I am pointing out is that the LiveCode list consists of users from all of the various camps and levels of experience, so whether it is in regard to the OS or the people that use a given OS, making insinuations of grandeur about how much better Apple products are and/or how much more sophisticated it's users are, is just plain rude. ...and pompous sounding. ...and demeaning. ...and condescending. You are welcome to believe whatever you wish and more power to ya. If you make it public in an off topic thread such as this, it's open season. Let's all play nice and have some regard for the feelings and situations of others that we have so much in common with.(LiveCode) Best regards, David C. From pete at mollysrevenge.com Thu May 19 17:34:29 2011 From: pete at mollysrevenge.com (Pete) Date: Thu, 19 May 2011 14:34:29 -0700 Subject: Generating e-mail In-Reply-To: <0B87A8E0-2711-4C31-841D-326750488916@kagi.com> References: <4DD56B89.9080300@hyperactivesw.com> <0B87A8E0-2711-4C31-841D-326750488916@kagi.com> Message-ID: I seem to remember someone has an SMTP stack for Livecode... Shao Shen maybe (probably totally messed up the spelling, sorry). Pete Molly's Revenge On Thu, May 19, 2011 at 1:37 PM, Kee Nethery wrote: > > On May 19, 2011, at 12:12 PM, J. Landman Gay wrote: > > > On 5/19/11 11:18 AM, Ronald Zellner wrote: > >> Hi All, > >> > >> Does anyone have a good example of using LiveCode to generate > >> e-mail? I have a DB of addresses and related information and want to > >> generate a custom e-mail message for each. I think I can manage it > >> but advice and tips from others' experiences would be great to avoid > >> any problems. > > > > Have you looked at the revMail command? > > " the message is not sent automatically: the user must explicitly send it > (for example, by clicking a "Mail" button in the email program)." > > He'd have to click send for each and every email. > > Kee Nethery > > > _______________________________________________ > use-livecode mailing list > use-livecode at 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 May 19 17:41:08 2011 From: bobs at twft.com (Bob Sneidar) Date: Thu, 19 May 2011 14:41:08 -0700 Subject: [OT] MacDefender In-Reply-To: References: <96A128FE-A16F-46BC-B383-6F4F52B4C148@twft.com> Message-ID: <774A3697-017A-4A83-83E7-2228AD324E81@twft.com> Sonds good to me. But I wasn't being condescending. My point was that it scares me that there are so many people who will click that button, even after all the news coverage of malware and the wealth of information out there about how to protect yourself. I guess it scares me because no matter how hard I try, there will always be the "gal who pops staples over her keyboard" analogy I used earlier. Bob On May 19, 2011, at 2:33 PM, David C. wrote: >> Thanks for the personal example on the subject. >> >> Bob > > Hey, no problemo, Bob... I knew you would appreciate it. ;) > > Listen guys... I understand the position that each of you have taken > and am not 100% opposed to your theory about relative safety in > regards to OS. We *all* live in an age of risk business. > > ...and I am by no means defending the Windows position. If there is > any tech related company that I dislike as much (or perhaps more) than > Apple, it is definitely Microsoft. > > What I am pointing out is that the LiveCode list consists of users > from all of the various camps and levels of experience, so whether it > is in regard to the OS or the people that use a given OS, making > insinuations of grandeur about how much better Apple products are > and/or how much more sophisticated it's users are, is just plain rude. > > ...and pompous sounding. > ...and demeaning. > ...and condescending. > > You are welcome to believe whatever you wish and more power to ya. If > you make it public in an off topic thread such as this, it's open > season. Let's all play nice and have some regard for the feelings and > situations of others that we have so much in common with.(LiveCode) > > Best regards, > David C. > > _______________________________________________ > use-livecode mailing list > use-livecode at lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode From dglass at graymattercomputing.com Thu May 19 18:19:34 2011 From: dglass at graymattercomputing.com (David Glass) Date: Thu, 19 May 2011 15:19:34 -0700 Subject: Generating e-mail In-Reply-To: References: <4DD56B89.9080300@hyperactivesw.com> <0B87A8E0-2711-4C31-841D-326750488916@kagi.com> Message-ID: <4DD59776.2010400@graymattercomputing.com> I wasn't able to download her stack from the Sons of Thunder website a couple of days ago. It might have been removed. There's another one at troz.net. http://www.troz.net/rev/index.irev?category=Library#stacks On 05/19/2011 2:34 PM, Pete wrote: > I seem to remember someone has an SMTP stack for Livecode... Shao Shen maybe > (probably totally messed up the spelling, sorry). > > Pete > Molly's Revenge -- David Glass - Gray Matter Computing graymattercomputing.com Help Desk: http://www.graymattercomputing/helpdesk 559-303-4915 From jacque at hyperactivesw.com Thu May 19 18:27:44 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 19 May 2011 17:27:44 -0500 Subject: [OT] MacDefender In-Reply-To: References: Message-ID: <4DD59960.9070502@hyperactivesw.com> On 5/19/11 2:33 PM, Bj?rnke von Gierke wrote: > I think it's the 23th allele on the Y chromosome at work. Or similar. LOL! I knew it was a guy thing. "23th" indeed. :) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From dunbarx at aol.com Thu May 19 18:33:35 2011 From: dunbarx at aol.com (dunbarx at aol.com) Date: Thu, 19 May 2011 18:33:35 -0400 Subject: Number of cards in a stack In-Reply-To: <83B6F96A-D671-46C8-9586-216344235F87@mac.com> References: <83B6F96A-D671-46C8-9586-216344235F87@mac.com> Message-ID: <8CDE48BECC8D126-16E4-6BCE@webmail-d084.sysops.aol.com> I don't think there is a limit, but unlike HC, LC does not handle large card sets expeditiously. Finding and sorting is slower when you get into the several tens of thousands. Below, say, 5000 or 10,000, on modern machines, this should not be an issue. Craig Newman -----Original Message----- From: Melit?n Cardona Torres To: use-livecode-request at lists.runrev.com Sent: Thu, May 19, 2011 3:30 pm Subject: Number of cards in a stack What is the number of cards a stack can safely contain? A thousand? Five hundred? Thanks in advance. Ton _______________________________________________ use-livecode mailing list use-livecode at 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 May 19 18:38:07 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 19 May 2011 17:38:07 -0500 Subject: Generating e-mail In-Reply-To: <0B87A8E0-2711-4C31-841D-326750488916@kagi.com> References: <4DD56B89.9080300@hyperactivesw.com> <0B87A8E0-2711-4C31-841D-326750488916@kagi.com> Message-ID: <4DD59BCF.1040104@hyperactivesw.com> On 5/19/11 3:37 PM, Kee Nethery wrote: > > On May 19, 2011, at 12:12 PM, J. Landman Gay wrote: > >> On 5/19/11 11:18 AM, Ronald Zellner wrote: >>> Hi All, >>> >>> Does anyone have a good example of using LiveCode to generate >>> e-mail? I have a DB of addresses and related information and want to >>> generate a custom e-mail message for each. I think I can manage it >>> but advice and tips from others' experiences would be great to avoid >>> any problems. >> >> Have you looked at the revMail command? > > " the message is not sent automatically: the user must explicitly send it (for example, by clicking a "Mail" button in the email program)." > > He'd have to click send for each and every email. Oops, right. I used Sarah's library a long time ago to automate emails. It's here: (I know you aren't Ronald, but I've already deleted the original; hopefully he'll see this.) -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Thu May 19 18:42:46 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 19 May 2011 17:42:46 -0500 Subject: Number of cards in a stack In-Reply-To: <83B6F96A-D671-46C8-9586-216344235F87@mac.com> References: <83B6F96A-D671-46C8-9586-216344235F87@mac.com> Message-ID: <4DD59CE6.4090903@hyperactivesw.com> On 5/19/11 2:30 PM, Melit?n Cardona Torres wrote: > What is the number of cards a stack can safely contain? A thousand? Five hundred? It depends. In theory: any number as long as the total stack size is under 4 gigs. In practice: anything under 2-3K cards pretty much works okay I've pushed it to 5,000 cards but the stack gets sluggish. Anything more than 5,000 starts to become unusuable. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From ray at linkit.com Thu May 19 18:50:12 2011 From: ray at linkit.com (Ray Horsley) Date: Thu, 19 May 2011 18:50:12 -0400 Subject: Livecode Crashes with Image Source Set to a URL In-Reply-To: References: Message-ID: <001701cc1677$1ef0f950$5cd2ebf0$@LinkIt.Com> Hugh, Thanks for your ideas but this unfortunately doesn't work. I meant to mention that I've tried various locations of the flushEvents function, both in the mouseUp and mouseDown handlers as well as with and without unlocking messages. They all lead to the same crash. Anybody else? Thanks, Ray -----Original Message----- From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of FlexibleLearning Sent: Thursday, May 19, 2011 2:48 PM To: use-livecode at lists.runrev.com Subject: RE: Livecode Crashes with Image Source Set to a URL Hi Ray, Just a suggestion... on mouseUp lock messages go next card put the short name of this cd into fld "CardName" --| Add this line... get flushEvents("all") --| And this for completeness... unlock messages end mouseUp Does it solve your problem? You are also not unlocking messages, which (techincally) is a "good thing to do" unless there is a good reason not to do so. Hugh Senior FLCo Ray Horsley wrote: I've created a simple stack of 3 cards with Prev and Next buttons to navigate through them. Each card has a single field with a single character whose imageSource is set to a URL, for example: http://linkit.com/Schools/ETS%20Items/ETS%20Item%20Bank/ETS10Q1/01%20Full%20 Bank/06%20Math%20QTI%20with%20GUIDs%20and%2096dpi%20PNG/Grade%2007Math-51/im ages/mml1616474.png To make sure no other handlers are running unnecessarily I've written the button scripts as: on mouseUp lock messages go next card put the short name of this cd into fld "CardName" end mouseUp Nonetheless, if you repeatedly click either the Prev or Next button rapidly Livecode will crash (quit unexpectedly and without warning). In some cases the stack file itself becomes coruppted and can not be re-opened. (I'd love to share this tiny stack with anybody who's interested. Please let me know.) Any ideas anybody? Thanks, Ray _______________________________________________ use-livecode mailing list use-livecode at lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode From ray at linkit.com Thu May 19 19:10:14 2011 From: ray at linkit.com (Ray Horsley) Date: Thu, 19 May 2011 19:10:14 -0400 Subject: Livecode Crashes with Image Source Set to a URL In-Reply-To: References: <00a301cc1647$ac4ba730$04e2f590$@LinkIt.Com> <4DD5540D.3040506@fourthworld.com> <00c701cc1652$edc48370$c94d8a50$@LinkIt.Com> <00cb01cc1654$dc774650$9565d2f0$@LinkIt.Com> Message-ID: <002e01cc1679$e9e080c0$bda18240$@LinkIt.Com> Chris, Definitely a cool thing - DropBox. Here's the link: http://dl.dropbox.com/u/29743466/Test.LiveCode I'll also put the same stack on my own server just in case at: http://www.linkit.com/zAccess/Test.zip Please take a look if you have a minute. I can't get anything to keep Livecode from totaling crashing with this rather simple stack. Even if I had some way of knowing when the imageSource's URL has finished downloading I could disable buttons so requests don't seemingly back up and crash Livecode. Thanks, Ray -----Original Message----- From: use-livecode-bounces at lists.runrev.com [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Nonsanity Sent: Thursday, May 19, 2011 3:31 PM To: How to use LiveCode Subject: Re: Livecode Crashes with Image Source Set to a URL https://www.dropbox.com/help/167 ~ Chris Innanen ~ Nonsanity On Thu, May 19, 2011 at 2:45 PM, Ray Horsley wrote: > Wouldn't that be my email (Ray at LinkIt.Com)? > > (stepping out for a few hours.) > > Thanks, > > Ray > > > -----Original Message----- > From: use-livecode-bounces at lists.runrev.com > [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Bob > Sneidar > Sent: Thursday, May 19, 2011 2:40 PM > To: How to use LiveCode > Subject: Re: Livecode Crashes with Image Source Set to a URL > > He would need the link to it right? > > Bob > > > On May 19, 2011, at 11:31 AM, Ray Horsley wrote: > > > Chris, > > > > Cool download - Dropbox. I believe I've set it up right. Do you > > see my stack? > > > > Thanks, > > > > Ray > > > > > > -----Original Message----- > > From: use-livecode-bounces at lists.runrev.com > > [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of > > Nonsanity > > Sent: Thursday, May 19, 2011 1:44 PM > > To: How to use LiveCode > > Subject: Re: Livecode Crashes with Image Source Set to a URL > > > > DropBox, which is free, is another great way to share stacks. I keep > > many of my works-in-progress in a DropBox folder, which means > > sharing one to the list is as easy as right-clicking the file and > > selecting the public link for it from the DropBox menu. (PC and Mac) > > > > If you don't want to install it on your computer, you can just use > > the web interface. > > > > ~ Chris Innanen > > ~ Nonsanity > > > > > > On Thu, May 19, 2011 at 1:31 PM, Richard Gaskin > > wrote: > > > >> Ray Horsley wrote: > >> > >>> OK. I've never tried including attachments on the list before but > >>> here it is. > >>> > >> > >> Your attachment was stripped from the message before delivery to > >> the subscribers, because this list doesn't allow attachments. > >> > >> You'll have to post it to a server or to RevOnline and post the URL > here. > >> > >> -- > >> 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 > > > > > > _______________________________________________ > > use-livecode mailing list > > use-livecode 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 bvg at mac.com Thu May 19 20:04:58 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Fri, 20 May 2011 02:04:58 +0200 Subject: Livecode Crashes with Image Source Set to a URL In-Reply-To: <002e01cc1679$e9e080c0$bda18240$@LinkIt.Com> References: <00a301cc1647$ac4ba730$04e2f590$@LinkIt.Com> <4DD5540D.3040506@fourthworld.com> <00c701cc1652$edc48370$c94d8a50$@LinkIt.Com> <00cb01cc1654$dc774650$9565d2f0$@LinkIt.Com> <002e01cc1679$e9e080c0$bda18240$@LinkIt.Com> Message-ID: <40E72587-C7F2-4D25-9802-D0B123F852ED@mac.com> i don't have time to look at the stack at this time of the day, but generally, try to keep setting and getting of imagesource as simple as possible. crashes in general should go to support at runrev.com , or the quality center. Not that i did that, because interrupting a set of a imagesource does sometimes crash, unfortunately i haven't been able to reproduce it, so i didn't report it. try to download your images into files, then showing those files in your image object. On 20 May 2011, at 01:10, Ray Horsley wrote: > Chris, > > Definitely a cool thing - DropBox. Here's the link: > > http://dl.dropbox.com/u/29743466/Test.LiveCode > > I'll also put the same stack on my own server just in case at: > > http://www.linkit.com/zAccess/Test.zip > > Please take a look if you have a minute. I can't get anything to keep > Livecode from totaling crashing with this rather simple stack. Even if I > had some way of knowing when the imageSource's URL has finished downloading > I could disable buttons so requests don't seemingly back up and crash > Livecode. > > Thanks, > > Ray > > > -----Original Message----- > From: use-livecode-bounces at lists.runrev.com > [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Nonsanity > Sent: Thursday, May 19, 2011 3:31 PM > To: How to use LiveCode > Subject: Re: Livecode Crashes with Image Source Set to a URL > > https://www.dropbox.com/help/167 > > ~ Chris Innanen > ~ Nonsanity > > > On Thu, May 19, 2011 at 2:45 PM, Ray Horsley wrote: > >> Wouldn't that be my email (Ray at LinkIt.Com)? >> >> (stepping out for a few hours.) >> >> Thanks, >> >> Ray >> >> >> -----Original Message----- >> From: use-livecode-bounces at lists.runrev.com >> [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Bob >> Sneidar >> Sent: Thursday, May 19, 2011 2:40 PM >> To: How to use LiveCode >> Subject: Re: Livecode Crashes with Image Source Set to a URL >> >> He would need the link to it right? >> >> Bob >> >> >> On May 19, 2011, at 11:31 AM, Ray Horsley wrote: >> >>> Chris, >>> >>> Cool download - Dropbox. I believe I've set it up right. Do you >>> see my stack? >>> >>> Thanks, >>> >>> Ray >>> >>> >>> -----Original Message----- >>> From: use-livecode-bounces at lists.runrev.com >>> [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of >>> Nonsanity >>> Sent: Thursday, May 19, 2011 1:44 PM >>> To: How to use LiveCode >>> Subject: Re: Livecode Crashes with Image Source Set to a URL >>> >>> DropBox, which is free, is another great way to share stacks. I keep >>> many of my works-in-progress in a DropBox folder, which means >>> sharing one to the list is as easy as right-clicking the file and >>> selecting the public link for it from the DropBox menu. (PC and Mac) >>> >>> If you don't want to install it on your computer, you can just use >>> the web interface. >>> >>> ~ Chris Innanen >>> ~ Nonsanity >>> >>> >>> On Thu, May 19, 2011 at 1:31 PM, Richard Gaskin >>> wrote: >>> >>>> Ray Horsley wrote: >>>> >>>>> OK. I've never tried including attachments on the list before but >>>>> here it is. >>>>> >>>> >>>> Your attachment was stripped from the message before delivery to >>>> the subscribers, because this list doesn't allow attachments. >>>> >>>> You'll have to post it to a server or to RevOnline and post the URL >> here. >>>> >>>> -- >>>> 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 >>> >>> >>> _______________________________________________ >>> use-livecode mailing list >>> use-livecode 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 Thu May 19 20:21:38 2011 From: stephenREVOLUTION2 at barncard.com (stephen barncard) Date: Thu, 19 May 2011 17:21:38 -0700 Subject: Livecode Crashes with Image Source Set to a URL In-Reply-To: <002e01cc1679$e9e080c0$bda18240$@LinkIt.Com> References: <00a301cc1647$ac4ba730$04e2f590$@LinkIt.Com> <4DD5540D.3040506@fourthworld.com> <00c701cc1652$edc48370$c94d8a50$@LinkIt.Com> <00cb01cc1654$dc774650$9565d2f0$@LinkIt.Com> <002e01cc1679$e9e080c0$bda18240$@LinkIt.Com> Message-ID: Confirmed that it crashes on the third card. Ray, a question: Why is 'Radiobehavior' true on group 'Header'? this is usually only used for controlling radio buttons. Just tested after deselecting 'radiobehavior'. No crash. On 19 May 2011 16:10, Ray Horsley wrote: > Chris, > > Definitely a cool thing - DropBox. Here's the link: > > http://dl.dropbox.com/u/29743466/Test.LiveCode > > I'll also put the same stack on my own server just in case at: > > http://www.linkit.com/zAccess/Test.zip > > Please take a look if you have a minute. I can't get anything to keep > Livecode from totaling crashing with this rather simple stack. Even if I > had some way of knowing when the imageSource's URL has finished downloading > I could disable buttons so requests don't seemingly back up and crash > Livecode. > > Thanks, > > Ray > > > -----Original Message----- > From: use-livecode-bounces at lists.runrev.com > [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Nonsanity > Sent: Thursday, May 19, 2011 3:31 PM > To: How to use LiveCode > Subject: Re: Livecode Crashes with Image Source Set to a URL > > https://www.dropbox.com/help/167 > > ~ Chris Innanen > ~ Nonsanity > > > On Thu, May 19, 2011 at 2:45 PM, Ray Horsley wrote: > > > Wouldn't that be my email (Ray at LinkIt.Com)? > > > > (stepping out for a few hours.) > > > > Thanks, > > > > Ray > > > > > > -----Original Message----- > > From: use-livecode-bounces at lists.runrev.com > > [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of Bob > > Sneidar > > Sent: Thursday, May 19, 2011 2:40 PM > > To: How to use LiveCode > > Subject: Re: Livecode Crashes with Image Source Set to a URL > > > > He would need the link to it right? > > > > Bob > > > > > > On May 19, 2011, at 11:31 AM, Ray Horsley wrote: > > > > > Chris, > > > > > > Cool download - Dropbox. I believe I've set it up right. Do you > > > see my stack? > > > > > > Thanks, > > > > > > Ray > > > > > > > > > -----Original Message----- > > > From: use-livecode-bounces at lists.runrev.com > > > [mailto:use-livecode-bounces at lists.runrev.com] On Behalf Of > > > Nonsanity > > > Sent: Thursday, May 19, 2011 1:44 PM > > > To: How to use LiveCode > > > Subject: Re: Livecode Crashes with Image Source Set to a URL > > > > > > DropBox, which is free, is another great way to share stacks. I keep > > > many of my works-in-progress in a DropBox folder, which means > > > sharing one to the list is as easy as right-clicking the file and > > > selecting the public link for it from the DropBox menu. (PC and Mac) > > > > > > If you don't want to install it on your computer, you can just use > > > the web interface. > > > > > > ~ Chris Innanen > > > ~ Nonsanity > > > > > > > > > On Thu, May 19, 2011 at 1:31 PM, Richard Gaskin > > > wrote: > > > > > >> Ray Horsley wrote: > > >> > > >>> OK. I've never tried including attachments on the list before but > > >>> here it is. > > >>> > > >> > > >> Your attachment was stripped from the message before delivery to > > >> the subscribers, because this list doesn't allow attachments. > > >> > > >> You'll have to post it to a server or to RevOnline and post the URL > > here. > > >> > > >> -- > > >> 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 > > > > > > > > > _______________________________________________ > > > use-livecode mailing list > > > use-livecode 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 > -- Stephen Barncard San Francisco Ca. USA more about sqb From andre at andregarzia.com Thu May 19 20:39:49 2011 From: andre at andregarzia.com (Andre Garzia) Date: Thu, 19 May 2011 14:39:49 -1000 Subject: On-Rev: translating Markdown text to html? In-Reply-To: References: Message-ID: Jim, Calling the shell to the markdown command works, I did it too with multimarkdown which is basically markdown on steroids. You can wrap it in a little command with shell and then it just works. Remember to install the markdown scripts though, I don't remember if they are bundled with On-Rev servers Andre On Thu, May 19, 2011 at 7:29 AM, Jim Lyons wrote: > Thanks Stephen. If I do it I will be happy to share it. I'm doing this at > On-Rev. After I hit "send" I thought, why can't I just call the perl script? > I will try that in a while, but using shell (right?). Any comments, pointers > about this welcome. > > Jim > > On May 19, 2011, at 12:47 PM, stephen barncard wrote: > > > I don't think so. But it's just about text manipulation, which Livecode > is > > very good at, and shouldn't be that hard to write. Consider it an > exercise, > > add more features and offer the library to others when you're done! > > > > If you're on a Mac, you could probably run the PERL code with 'do script > as > > perl' as this supposedly works for any language installed. Haven't tried > to > > actually do this, but it seems possible. > > > > On 19 May 2011 05:22, Jim Lyons wrote: > > > >> Has anyone developed the capability of translating Markdown text (see > >> http://daringfireball.net/projects/markdown/ ) into HTML in LiveCode? > >> Thanks for any pointers. > >> > >> Jim Lyons > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode 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 > > > _______________________________________________ > use-livecode mailing list > use-livecode 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 jperryl at ecs.fullerton.edu Thu May 19 20:51:12 2011 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Thu, 19 May 2011 17:51:12 -0700 (PDT) Subject: [OT] MacDefender In-Reply-To: <64C05C64-D58E-4574-9C32-F4AAA342E4A1@twft.com> References: <4DD5177D.40204@gmail.com> <64C05C64-D58E-4574-9C32-F4AAA342E4A1@twft.com> Message-ID: The student stories I could tell you... Judy On Thu, 19 May 2011, Bob Sneidar wrote: > What is scary is that anyone who owns a mac would believe their computer got infected and click the Cleanup button. What is even scarier is that I had to replace the keyboard of an accounting user recently who didn't think it at all odd to pop out staples above her keyboard. She thought it made a nice little staple trap that she shook out from time to time. I am not kidding you. > > Society doesn't need a whole helluvalotta engineering, now does it? From jperryl at ecs.fullerton.edu Thu May 19 21:08:52 2011 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Thu, 19 May 2011 18:08:52 -0700 (PDT) Subject: [OT] MacDefender In-Reply-To: References: Message-ID: While I wouldn't say people deserve to get a virus, every day I show up for work amazes me with the stupid stuff students/consumers think and do with computers. So, this term -- these are non-CS majors -- we talked about doing data backups. Eyes rolled into the backs of their skulls. We talked about numerous studies showing that the ordinary user considerably overrates his or her computer literacy. Among the few that bothered to show up for class, a few were actually asleep or texting or had ear buds in their ears. (I had one today who actually TEXTED during his own group's presentation!!!) Last week a student hands me his paper to review. It had ZERO citations despite the fact that 15% of his overall grade was the annotated bibliography he was supposed to have turned in weeks ago. It also was mostly wrong in its conclusions/conclusions not really supported by available data. I pointed out to him that he needed citations and so he asked me for his bibliography back. I didn't have it with me so I told him to print out another. He tells me he cannot print out another because he decided to reformat his harddrive. Without doing a backup. Then he defends his choice to go with zero citations because 'I'm an expert in this area and so I thought it would be okay to just give you my opinions.' Ten minutes later, the same student, a Windows user, asked me for help because he didn't know how to burn a file to a disc. Sorry -- touched a nerve here too. Judy On Thu, 19 May 2011, stephen barncard wrote: > I was an involuntary mac computer tech support person for 13 years. My > attitude after that experience was that people should just eventually learn > how to cook or get out of the kitchen. Pleading ignorance in this day and > age is no excuse for doing stupid stuff over and over. Look it up! "it" is > all over the net, whatever "it" is.. From zellner at tamu.edu Thu May 19 21:18:46 2011 From: zellner at tamu.edu (Ronald Zellner) Date: Thu, 19 May 2011 20:18:46 -0500 Subject: experience Generating e-mail In-Reply-To: References: Message-ID: On May 19, 2011, at 3:27 PM, use-livecode-request at lists.runrev.com wrote: > Message: 19 > Date: Thu, 19 May 2011 14:12:09 -0500 > From: "J. Landman Gay" > To: How to use LiveCode > Subject: Re: Generating e-mail > Message-ID: <4DD56B89.9080300 at hyperactivesw.com> > Content-Type: text/plain; charset=ISO-8859-1; format=flowed > > On 5/19/11 11:18 AM, Ronald Zellner wrote: >> Hi All, >> >> Does anyone have a good example of using LiveCode to generate >> e-mail? I have a DB of addresses and related information and want to >> generate a custom e-mail message for each. I think I can manage it >> but advice and tips from others' experiences would be great to avoid >> any problems. > > Have you looked at the revMail command? Yes, that's what I was planning on using. I was just looking for cautions or insights that someone might have gleaned through experience. From jacque at hyperactivesw.com Thu May 19 21:53:30 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 19 May 2011 20:53:30 -0500 Subject: Livecode Crashes with Image Source Set to a URL In-Reply-To: <001701cc1677$1ef0f950$5cd2ebf0$@LinkIt.Com> References: <001701cc1677$1ef0f950$5cd2ebf0$@LinkIt.Com> Message-ID: <4DD5C99A.3020006@hyperactivesw.com> On 5/19/11 5:50 PM, Ray Horsley wrote: > Hugh, > > Thanks for your ideas but this unfortunately doesn't work. I meant to > mention that I've tried various locations of the flushEvents function, both > in the mouseUp and mouseDown handlers as well as with and without unlocking > messages. They all lead to the same crash. My guess would be that you're locking messages, and libURL needs messages in order to get the URL from your server. Try not locking messages, then use flushevents if you need to. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Thu May 19 22:24:37 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 19 May 2011 21:24:37 -0500 Subject: experience Generating e-mail In-Reply-To: References: Message-ID: <4DD5D0E5.3040000@hyperactivesw.com> On 5/19/11 8:18 PM, Ronald Zellner wrote: >> >> Have you looked at the revMail command? > > Yes, that's what I was planning on using. I was just looking for > cautions or insights that someone might have gleaned through > experience. I've had good experience with revMail, no particular problems. It's been stable and reliable. But as Kee mentioned, you'll have to click "Send" in your browser for each email, it isn't automatic. All revMail does is fill out an email for you and switch you over to your email client so you can send it. For automatic email sending, you're better off using Sarah's library with a repeat loop. You might have some issues with that if your script sends too many emails at once. Some ISPs think that's spamming and will cut you off. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From jacque at hyperactivesw.com Thu May 19 22:27:21 2011 From: jacque at hyperactivesw.com (J. Landman Gay) Date: Thu, 19 May 2011 21:27:21 -0500 Subject: [OT] MacDefender In-Reply-To: References: Message-ID: <4DD5D189.9060907@hyperactivesw.com> On 5/19/11 8:08 PM, Judy Perry wrote: > So, this term -- You should write a book. Then tell all your students that they have to read it as part of their classwork. And then tell them that if they don't read it, you'll put *them* into the next edition. -- Jacqueline Landman Gay | jacque at hyperactivesw.com HyperActive Software | http://www.hyperactivesw.com From andre at andregarzia.com Thu May 19 23:37:02 2011 From: andre at andregarzia.com (Andre Garzia) Date: Thu, 19 May 2011 17:37:02 -1000 Subject: [OT] MacDefender In-Reply-To: <4DD5D189.9060907@hyperactivesw.com> References: <4DD5D189.9060907@hyperactivesw.com> Message-ID: my father saw one of the executive secretaries to the president of the company staple a floppy disk and some papers together so that they would not go missing... On Thu, May 19, 2011 at 4:27 PM, J. Landman Gay wrote: > On 5/19/11 8:08 PM, Judy Perry wrote: > > So, this term -- >> > > You should write a book. Then tell all your students that they have to read > it as part of their classwork. And then tell them that if they don't read > it, you'll put *them* into the next edition. > > > -- > 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://www.andregarzia.com All We Do Is Code. From andre at andregarzia.com Thu May 19 23:37:54 2011 From: andre at andregarzia.com (Andre Garzia) Date: Thu, 19 May 2011 17:37:54 -1000 Subject: [OT] MacDefender In-Reply-To: References: <4DD5D189.9060907@hyperactivesw.com> Message-ID: oh I also so a student at my university asking the other guy: "how do I download an intel core 2 duo, my processor is too slow and I want to download a better one from the net..." On Thu, May 19, 2011 at 5:37 PM, Andre Garzia wrote: > my father saw one of the executive secretaries to the president of the > company staple a floppy disk and some papers together so that they would not > go missing... > > > On Thu, May 19, 2011 at 4:27 PM, J. Landman Gay wrote: > >> On 5/19/11 8:08 PM, Judy Perry wrote: >> >> So, this term -- >>> >> >> You should write a book. Then tell all your students that they have to >> read it as part of their classwork. And then tell them that if they don't >> read it, you'll put *them* into the next edition. >> >> >> -- >> 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://www.andregarzia.com All We Do Is Code. > -- http://www.andregarzia.com All We Do Is Code. From admin at FlexibleLearning.com Fri May 20 01:57:24 2011 From: admin at FlexibleLearning.com (FlexibleLearning) Date: Fri, 20 May 2011 06:57:24 +0100 Subject: Livecode Crashes with Image Source Set to a URL In-Reply-To: Message-ID: Ray I cannot crash your stack. Works fine. Windows XP w/4.5.2 in the mc IDE. Am suspecting either the version or (heaven forfend) the LC IDE. Why use a url-based imgSrc? Why not store the imgs in a substack instead? If you have to fequently update the imgs, can you 'start using' a url-based stack of the required img references on launch so it's in cache instead? Hugh Senior FLCo Ray wrote: Please take a look if you have a minute. I can't get anything to keep Livecode from totaling crashing with this rather simple stack. Even if I had some way of knowing when the imageSource's URL has finished downloading I could disable buttons so requests don't seemingly back up and crash Livecode. Thanks, Ray From jperryl at ecs.fullerton.edu Fri May 20 02:13:39 2011 From: jperryl at ecs.fullerton.edu (Judy Perry) Date: Thu, 19 May 2011 23:13:39 -0700 (PDT) Subject: [OT] MacDefender In-Reply-To: References: <4DD5D189.9060907@hyperactivesw.com> Message-ID: Ha! I've got that one nearly beat. I worked my way through school doing DOS word processing for real estate appraisers (including that wonderful WordAwful program that dumped you into an entirely blank screen). I'd save project files onto 5-1/4" floppies... that my boss would later put a peel-and-stick label onto AND ROLL THE LABEL, FLOPPY AND ALL into a typewriter to type the floppy's contents. And don't even get me started on how he had to dump EVERY BLOODY FILE into the main C directory (didn't quite grasp sub-directories, no matter how many times I created them and showed him). Judy On Thu, 19 May 2011, Andre Garzia wrote: > my father saw one of the executive secretaries to the president of the > company staple a floppy disk and some papers together so that they would not > go missing... From keith.clarke at clarkeandclarke.co.uk Fri May 20 06:59:41 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Fri, 20 May 2011 11:59:41 +0100 Subject: LiveCode 4.6.1 message path and behaviors Message-ID: <64329A8E-4C60-4B23-B03E-B6A41E0D52E3@clarkeandclarke.co.uk> Hi folks, In attempt to get my head around behaviors, I have revisited Trevor DeVore's Live 09 presentation on Behaviors and Custom Controls and put together my own map of (my understanding of) the 4.6.1 message path with standard and optional objects http://db.tt/dUrt0nL (Having seen great top-down and bottom-up examples, I thought I'd go left-to-right!) Is my map correct concerning the behavior feedback loops? Trevor spoke of the calling object 'getting first dibs' on the behavior's script, but Figure 3 of Richard Gaskin's excellent resource on the message path http://www.fourthworld.com/embassy/articles/revolution_message_path.html shows only flow towards the engine (maybe feedback loops were omitted for clarity?). Best, Keith.. From keith.clarke at clarkeandclarke.co.uk Fri May 20 08:26:23 2011 From: keith.clarke at clarkeandclarke.co.uk (Keith Clarke) Date: Fri, 20 May 2011 13:26:23 +0100 Subject: Data grid not showing array contents? Message-ID: Hi folks, I have an array called tObjectArray, containing a list of objects, in the form tObjectArray[1]["object"]. So, answer tObjectArray[5]["object"] returns the name of object number 5. Meanwhile, I have a data grid 'dg Object List', with a column named 'object', ready to display this list. However, if I 'set the dgData of group "dg Object List" to tObjectArray', the data grid and its 'object' column remain resolutely empty. Have I missed something fundamental here - an array level or data grid property, perhaps? Best, Keith.. From livfoss at mac.com Fri May 20 08:34:45 2011 From: livfoss at mac.com (Graham Samuel) Date: Fri, 20 May 2011 14:34:45 +0200 Subject: How to prevent multiple instances of a non-LC Windows app? Message-ID: Thanks to all who replied to this and my other queries about "tasklist" on Windows (not available on the basic version of XP that most of my users are running). Basically there does seem to be a bug in the LC 'launch' command, and I will report it. Meanwhile I am trying to follow Mike Bonner's advice as shown in the quote below. As I didn't want to use a separate file, I put this (VB) script into a field called "VBScript" in a test stack: Set WshShell = WScript.CreateObject ("WScript.Shell") Set colProcessList = GetObject("Winmgmts:").ExecQuery ("Select * from Win32_Process") For Each objProcess in colProcessList If objProcess.name = firefox.exe" then vFound = True End if Next If vFound = True then WshShell.AppActivate "firefox" Else WshShell.Run "firefox.exe" End If Following Mike, I'm just using FireFox as a test program - in the end I will use the particular program I'm interested in. I then run this LC script from a button of my program which has been compiled as a Windows standalone: local scriptName on mouseUp put "VBScript" into scriptName do fld "VBScript" as scriptName answer "Result is:"&&(the result) end mouseUp (BTW I found that using the word 'VBScript' directly results in a compile error, even tho VBScript is in the list of alternateLanguages - dunno why). Anyway the result is 'execution error'. As I know zilch about VB I am stuck - can anyone suggest what I should have done? Do I **have** to use 'shell' - I am reluctant because it takes me more into unknown regions. Finally, I should say that I do have a copy of FireFox on the PC, although I find that Windows Explorer doesn't show the '.exe' at the end of its name. So a subsidiary question is, how can I know exactly what Windows thinks the entire name of my particular executable program is, particularly if there's a space in the name (eg. "My Program" - does that get called as "My Program.exe" or what?) TIA Graham On Wed, 18 May 2011 15:39:13 -0600, Mike Bonner wrote: > I can't test with win xp, but you might put the following into a .vbs file. > > *Set WshShell = WScript.CreateObject ("WScript.Shell")* > *Set colProcessList = GetObject("Winmgmts:").ExecQuery ("Select * from > Win32_Process")* > * > * > *For Each objProcess in colProcessList* > *If objProcess.name = "firefox.exe" then* > *vFound = True* > *End if* > *Next* > *If vFound = True then* > *WshShell.AppActivate "Firefox"* > *Else* > *WshShell.Run "Firefox.exe"* > *End If * > > In my example, it will check for firefox, if its running it will focus on > it, if not it will start a new instance. To use it, do a shell call. > > get shell("myScript.vbs") > > I'm sure it could be easily modified so you could pass it the program to > find as a parameter, but if its always the same hard coded should be fine. > > Got the script from here. > http://www.tek-tips.com/viewthread.cfm?qid=1492889&page=6 and changed it > slightly. > > Hope it works on xp home, works fine on 7. From lists at mangomultimedia.com Fri May 20 08:38:37 2011 From: lists at mangomultimedia.com (Trevor DeVore) Date: Fri, 20 May 2011 08:38:37 -0400 Subject: LiveCode 4.6.1 message path and behaviors In-Reply-To: <64329A8E-4C60-4B23-B03E-B6A41E0D52E3@clarkeandclarke.co.uk> References: <64329A8E-4C60-4B23-B03E-B6A41E0D52E3@clarkeandclarke.co.uk> Message-ID: On Fri, May 20, 2011 at 6:59 AM, Keith Clarke < keith.clarke at clarkeandclarke.co.uk> wrote: > In attempt to get my head around behaviors, I have revisited Trevor > DeVore's Live 09 presentation on Behaviors and Custom Controls and put > together my own map of (my understanding of) the 4.6.1 message path with > standard and optional objects http://db.tt/dUrt0nL (Having seen great > top-down and bottom-up examples, I thought I'd go left-to-right!) > > Is my map correct concerning the behavior feedback loops? > Yes, that looks right though I'm not quite clear on what 'Calling' Object refers to. The basic idea is that if a control's behavior script calls a handler and that handler is defined in both the control as well as the control's behavior then the definition in the control will be triggered. The behavior's definition of the handler is only triggered if the control passes the message. -- Trevor DeVore Blue Mango Learning Systems LiveCode Resources for Developers: http://livecode.bluemangolearning.com Get SQL Yoga as part of the Omegabundle for LiveCode 2011: Save 85% on essential tools for LiveCode development - omegabundle.com. From bvg at mac.com Fri May 20 08:39:10 2011 From: bvg at mac.com (=?iso-8859-1?Q?Bj=F6rnke_von_Gierke?=) Date: Fri, 20 May 2011 14:39:10 +0200 Subject: LiveCode 4.6.1 message path and behaviors In-Reply-To: <64329A8E-4C60-4B23-B03E-B6A41E0D52E3@clarkeandclarke.co.uk> References: <64329A8E-4C60-4B23-B03E-B6A41E0D52E3@clarkeandclarke.co.uk> Message-ID: I think your example is confusing and unlegible :) generally, nothing ever is skipped, but the arrows in your graph seem to indicate that a lot of things go past controls? Basically you can write the message path as a single line. It is an example where the message goes to the object. Of course messages could also go directly to cards, groups or stacks message goes trough: front scripts, if passed or unhandled goes on to target object script, if passed or unhandled goes on to behaviour script, (if existent) if passed or unhandled goes on to group scripts, (if existent) if passed or unhandled goes on to card script, if passed or unhandled goes on to stack script, if passed or unhandled goes on to background scripts, (only if hcaddressing is on) if passed or unhandled goes on to mainstack script, (if existent) if passed or unhandled goes on to stacks in use scripts, (if existent) if passed or unhandled goes on to back scripts, (if existent) if passed or unhandled goes on to engine, (if handled by it, otherwise error) your "breaking the path" part seems to be correct, but you missed the single most advantage of "send", which is the "in